[2026-09-09 00:00:07] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08247ba70012d1b2480071eec200042012824..."} 
[2026-09-09 00:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08247ba70012d1b2480071eec200042012824..."} 
[2026-09-09 00:00:07] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08247ba70012d1b2480071eec200042012824..."} 
[2026-09-09 00:00:07] local.INFO: Packet analysis {"connection_id":175182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08247"} 
[2026-09-09 00:00:07] local.INFO: Extracted packet for processing {"connection_id":175182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08247"} 
[2026-09-09 00:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756753536,"raw_latitude":119467040,"longitude_deg":75.6753536,"latitude_deg":11.946704,"altitude":66,"angle":296,"satellites":36,"speed":22,"hex_longitude":"2d1b2480","hex_latitude":"071eec20","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956386048001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19060381959847936,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956321487466721280,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00: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-09-09 00:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788892134000,"timestamp_ms":1788892134000,"timestamp_seconds":1788892134,"priority":1,"record_length":96,"hex_timestamp":"000001a08247ba70"} 
[2026-09-09 00:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:00: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-09-09 00: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-09 00:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956386048001,"66":12265,"101":206,"83":41984,"24":22,"16":19060381959847936,"45":1956321487466721280},"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-09-09 00:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956386048001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:00:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19060381959847936,"km_value":19060381959847.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956321487466721280,"description":"Unknown IO ID 45"} 
[2026-09-09 00:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956386048001,"power":12265,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1956321487466721280}} 
[2026-09-09 00:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":175182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:00:08] local.INFO: GPS data processed {"connection_id":175182,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:00:08] local.INFO: Acknowledgment sent {"connection_id":175182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:00:31] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:00:31] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:00:31] local.INFO: IMEI packet received {"connection_id":174922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":174922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:00:36] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:00:36] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:00:36] local.INFO: IMEI packet received {"connection_id":174922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":174922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:00:37] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824881a8012d1af680071f3f20004b014424..."} 
[2026-09-09 00:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824881a8012d1af680071f3f20004b014424..."} 
[2026-09-09 00:00:37] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824881a8012d1af680071f3f20004b014424..."} 
[2026-09-09 00:00:37] local.INFO: Packet analysis {"connection_id":174922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:00:37] local.INFO: Extracted packet for processing {"connection_id":174922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756741760,"raw_latitude":119488288,"longitude_deg":75.674176,"latitude_deg":11.9488288,"altitude":75,"angle":324,"satellites":36,"speed":24,"hex_longitude":"2d1af680","hex_latitude":"071f3f20","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956398592001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19061880903434240,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943936588496500736,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00: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-09-09 00:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892185000,"timestamp_ms":1788892185000,"timestamp_seconds":1788892185,"priority":1,"record_length":96,"hex_timestamp":"000001a0824881a8"} 
[2026-09-09 00:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-09 00:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:00: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-09-09 00:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956398592001,"66":13374,"101":206,"83":41984,"24":24,"16":19061880903434240,"45":1943936588496500736},"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-09-09 00:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956398592001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:00:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19061880903434240,"km_value":19061880903434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943936588496500736,"description":"Unknown IO ID 45"} 
[2026-09-09 00:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956398592001,"power":13374,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1943936588496500736}} 
[2026-09-09 00:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":174922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:00:37] local.INFO: GPS data processed {"connection_id":174922,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:00:37] local.INFO: Acknowledgment sent {"connection_id":174922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:00:40] local.INFO: TCP Data received {"connection_id":177729,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:00:40] local.INFO: Processing buffer {"connection_id":177729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:00:40] local.INFO: IMEI packet received {"connection_id":177729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":177729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:00:46] local.INFO: TCP Data received {"connection_id":177729,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:00:46] local.INFO: Processing buffer {"connection_id":177729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:00:46] local.INFO: IMEI packet received {"connection_id":177729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":177729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:00:47] local.INFO: TCP Data received {"connection_id":177729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:00:47] local.INFO: Processing buffer {"connection_id":177729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:00:47] local.INFO: Packet analysis {"connection_id":177729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:00:47] local.INFO: Extracted packet for processing {"connection_id":177729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":177729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:00:47] local.INFO: GPS data processed {"connection_id":177729,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:00:47] local.INFO: Acknowledgment sent {"connection_id":177729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:00:51] local.INFO: TCP Data received {"connection_id":177729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:00:51] local.INFO: Processing buffer {"connection_id":177729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:00:51] local.INFO: Packet analysis {"connection_id":177729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:00:51] local.INFO: Extracted packet for processing {"connection_id":177729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":177729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:00:51] local.INFO: GPS data processed {"connection_id":177729,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:00:51] local.INFO: Acknowledgment sent {"connection_id":177729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:01:08] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082491618012d1abe80071f74a8003a001824..."} 
[2026-09-09 00:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082491618012d1abe80071f74a8003a001824..."} 
[2026-09-09 00:01:08] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082491618012d1abe80071f74a8003a001824..."} 
[2026-09-09 00:01:08] local.INFO: Packet analysis {"connection_id":174922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08249"} 
[2026-09-09 00:01:08] local.INFO: Extracted packet for processing {"connection_id":174922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08249"} 
[2026-09-09 00:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756727424,"raw_latitude":119501992,"longitude_deg":75.6727424,"latitude_deg":11.9501992,"altitude":58,"angle":24,"satellites":36,"speed":44,"hex_longitude":"2d1abe80","hex_latitude":"071f74a8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956408320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19063255292968960,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925992558734340096,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01: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-09-09 00:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892223000,"timestamp_ms":1788892223000,"timestamp_seconds":1788892223,"priority":1,"record_length":96,"hex_timestamp":"000001a082491618"} 
[2026-09-09 00:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-09 00:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:01: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-09-09 00:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956408320001,"66":13352,"101":206,"83":41984,"24":44,"16":19063255292968960,"45":1925992558734340096},"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-09-09 00:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956408320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:01:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19063255292968960,"km_value":19063255292968.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925992558734340096,"description":"Unknown IO ID 45"} 
[2026-09-09 00:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956408320001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1925992558734340096}} 
[2026-09-09 00:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":174922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:01:08] local.INFO: GPS data processed {"connection_id":174922,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:01:08] local.INFO: Acknowledgment sent {"connection_id":174922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:01:18] local.INFO: TCP Data received {"connection_id":177730,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:01:18] local.INFO: Processing buffer {"connection_id":177730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:01:18] local.INFO: IMEI packet received {"connection_id":177730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":177730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:01:22] local.INFO: TCP Data received {"connection_id":177729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:01:22] local.INFO: Processing buffer {"connection_id":177729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:01:22] local.INFO: Packet analysis {"connection_id":177729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:01:22] local.INFO: Extracted packet for processing {"connection_id":177729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:01:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 00:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 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-09-09 00:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 00:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:01:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:01:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":177729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:01:22] local.INFO: GPS data processed {"connection_id":177729,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:01:22] local.INFO: Acknowledgment sent {"connection_id":177729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:01:36] local.INFO: TCP Data received {"connection_id":177731,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:01:36] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:01:36] local.INFO: IMEI packet received {"connection_id":177731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":177731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:01:36] local.INFO: TCP Data received {"connection_id":177731,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:01:36] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:01:36] local.INFO: IMEI packet received {"connection_id":177731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":177731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:01:38] local.INFO: TCP Data received {"connection_id":177731,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:01:38] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:01:38] local.INFO: IMEI packet received {"connection_id":177731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":177731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:01:38] local.INFO: TCP Data received {"connection_id":177731,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082498760012d1a8100071fbcc00036014625..."} 
[2026-09-09 00:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082498760012d1a8100071fbcc00036014625..."} 
[2026-09-09 00:01:38] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082498760012d1a8100071fbcc00036014625..."} 
[2026-09-09 00:01:38] local.INFO: Packet analysis {"connection_id":177731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08249"} 
[2026-09-09 00:01:38] local.INFO: Extracted packet for processing {"connection_id":177731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08249"} 
[2026-09-09 00:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756711680,"raw_latitude":119520448,"longitude_deg":75.671168,"latitude_deg":11.9520448,"altitude":54,"angle":326,"satellites":37,"speed":43,"hex_longitude":"2d1a8100","hex_latitude":"071fbcc0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956416512001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19064638272438272,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909807747579035648,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01: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-09-09 00:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788892252000,"timestamp_ms":1788892252000,"timestamp_seconds":1788892252,"priority":1,"record_length":96,"hex_timestamp":"000001a082498760"} 
[2026-09-09 00:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-09 00:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:01: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-09-09 00:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956416512001,"66":13363,"101":206,"83":41984,"24":43,"16":19064638272438272,"45":1909807747579035648},"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-09-09 00:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956416512001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:01:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19064638272438272,"km_value":19064638272438.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909807747579035648,"description":"Unknown IO ID 45"} 
[2026-09-09 00:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956416512001,"power":13363,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1909807747579035648}} 
[2026-09-09 00:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":177731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:01:39] local.INFO: GPS data processed {"connection_id":177731,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:01:39] local.INFO: Acknowledgment sent {"connection_id":177731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:01:40] local.INFO: TCP Data received {"connection_id":177731,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082499ed0012d1a7240071fd2d80035013a23..."} 
[2026-09-09 00:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082499ed0012d1a7240071fd2d80035013a23..."} 
[2026-09-09 00:01:40] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082499ed0012d1a7240071fd2d80035013a23..."} 
[2026-09-09 00:01:40] local.INFO: Packet analysis {"connection_id":177731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08249"} 
[2026-09-09 00:01:40] local.INFO: Extracted packet for processing {"connection_id":177731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08249"} 
[2026-09-09 00:01:40] local.INFO: GPS Element Parsed {"raw_longitude":756707904,"raw_latitude":119526104,"longitude_deg":75.6707904,"latitude_deg":11.9526104,"altitude":53,"angle":314,"satellites":35,"speed":44,"hex_longitude":"2d1a7240","hex_latitude":"071fd2d8","is_valid_coordinates":true} 
[2026-09-09 00:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956416512001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19064968984920064,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909807747579035648,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788892258000,"timestamp_ms":1788892258000,"timestamp_seconds":1788892258,"priority":1,"record_length":96,"hex_timestamp":"000001a082499ed0"} 
[2026-09-09 00:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-09 00:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:01: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-09-09 00:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956416512001,"66":13396,"101":206,"83":41984,"24":44,"16":19064968984920064,"45":1909807747579035648},"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-09-09 00:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956416512001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:01:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:01:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19064968984920064,"km_value":19064968984920.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909807747579035648,"description":"Unknown IO ID 45"} 
[2026-09-09 00:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956416512001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1909807747579035648}} 
[2026-09-09 00:01:40] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:01:40] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:01:40] local.INFO: IMEI packet received {"connection_id":174923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":174923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":177731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:01:40] local.INFO: GPS data processed {"connection_id":177731,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:01:40] local.INFO: Acknowledgment sent {"connection_id":177731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:01:43] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:01:43] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:01:43] local.INFO: IMEI packet received {"connection_id":175183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":175183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:01:45] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:01:45] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:01:45] local.INFO: IMEI packet received {"connection_id":174923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":174923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:01:46] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:01:46] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:01:46] local.INFO: Packet analysis {"connection_id":174923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:01:46] local.INFO: Extracted packet for processing {"connection_id":174923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":174923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:01:46] local.INFO: GPS data processed {"connection_id":174923,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:01:46] local.INFO: Acknowledgment sent {"connection_id":174923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:02:11] local.INFO: TCP Data received {"connection_id":177731,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08249a6a0012d1a6b80071fd8200034012d24..."} 
[2026-09-09 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08249a6a0012d1a6b80071fd8200034012d24..."} 
[2026-09-09 00:02:11] local.INFO: Processing buffer {"connection_id":177731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08249a6a0012d1a6b80071fd8200034012d24..."} 
[2026-09-09 00:02:11] local.INFO: Packet analysis {"connection_id":177731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08249"} 
[2026-09-09 00:02:11] local.INFO: Extracted packet for processing {"connection_id":177731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08249"} 
[2026-09-09 00:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119527456,"longitude_deg":75.6706176,"latitude_deg":11.9527456,"altitude":52,"angle":301,"satellites":36,"speed":44,"hex_longitude":"2d1a6b80","hex_latitude":"071fd820","is_valid_coordinates":true} 
[2026-09-09 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956418048001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19065072064135168,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905655991674001408,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02: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-09-09 00:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788892260000,"timestamp_ms":1788892260000,"timestamp_seconds":1788892260,"priority":1,"record_length":96,"hex_timestamp":"000001a08249a6a0"} 
[2026-09-09 00:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-09 00:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:02: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-09-09 00:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956418048001,"66":13254,"101":206,"83":41984,"24":44,"16":19065072064135168,"45":1905655991674001408},"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-09-09 00:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956418048001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:02:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19065072064135168,"km_value":19065072064135.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905655991674001408,"description":"Unknown IO ID 45"} 
[2026-09-09 00:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956418048001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1905655991674001408}} 
[2026-09-09 00:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":177731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:02:11] local.INFO: GPS data processed {"connection_id":177731,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:02:11] local.INFO: Acknowledgment sent {"connection_id":177731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:02:18] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:02:18] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:02:18] local.INFO: Packet analysis {"connection_id":174923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:02:18] local.INFO: Extracted packet for processing {"connection_id":174923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:02:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":174923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:02:18] local.INFO: GPS data processed {"connection_id":174923,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:02:18] local.INFO: Acknowledgment sent {"connection_id":174923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:02:28] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:28] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:28] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:02:31] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:31] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:31] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:02:31] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:31] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:31] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:02:32] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:32] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:02:32] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:02:32] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824a42e0012d19dec0072008a8002e011425..."} 
[2026-09-09 00:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824a42e0012d19dec0072008a8002e011425..."} 
[2026-09-09 00:02:32] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824a42e0012d19dec0072008a8002e011425..."} 
[2026-09-09 00:02:32] local.INFO: Packet analysis {"connection_id":174924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:02:32] local.INFO: Extracted packet for processing {"connection_id":174924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119539880,"longitude_deg":75.6670144,"latitude_deg":11.953988,"altitude":46,"angle":276,"satellites":37,"speed":9,"hex_longitude":"2d19dec0","hex_latitude":"072008a8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956428544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19066931784974336,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864419907589392384,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788892300000,"timestamp_ms":1788892300000,"timestamp_seconds":1788892300,"priority":1,"record_length":96,"hex_timestamp":"000001a0824a42e0"} 
[2026-09-09 00:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-09 00:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956428544001,"66":12287,"101":206,"83":41984,"24":9,"16":19066931784974336,"45":1864419907589392384},"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-09-09 00:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956428544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:02:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19066931784974336,"km_value":19066931784974.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864419907589392384,"description":"Unknown IO ID 45"} 
[2026-09-09 00:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956428544001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1864419907589392384}} 
[2026-09-09 00:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":174924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:02:33] local.INFO: GPS data processed {"connection_id":174924,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:02:33] local.INFO: Acknowledgment sent {"connection_id":174924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:02:35] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824a46c8012d19de4007200860002e00ea26..."} 
[2026-09-09 00:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824a46c8012d19de4007200860002e00ea26..."} 
[2026-09-09 00:02:35] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824a46c8012d19de4007200860002e00ea26..."} 
[2026-09-09 00:02:35] local.INFO: Packet analysis {"connection_id":174924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:02:35] local.INFO: Extracted packet for processing {"connection_id":174924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119539808,"longitude_deg":75.6670016,"latitude_deg":11.9539808,"altitude":46,"angle":234,"satellites":38,"speed":9,"hex_longitude":"2d19de40","hex_latitude":"07200860","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956428800001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19066940374908928,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612706304,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788892301000,"timestamp_ms":1788892301000,"timestamp_seconds":1788892301,"priority":1,"record_length":96,"hex_timestamp":"000001a0824a46c8"} 
[2026-09-09 00:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 00:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:02: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-09-09 00:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956428800001,"66":12287,"101":206,"83":41984,"24":9,"16":19066940374908928,"45":1864138432612706304},"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-09-09 00:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956428800001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:02:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19066940374908928,"km_value":19066940374908.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612706304,"description":"Unknown IO ID 45"} 
[2026-09-09 00:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956428800001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1864138432612706304}} 
[2026-09-09 00:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":174924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:02:35] local.INFO: GPS data processed {"connection_id":174924,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:02:35] local.INFO: Acknowledgment sent {"connection_id":174924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:02:40] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:02:40] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:02:40] local.INFO: IMEI packet received {"connection_id":175184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":175184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:02:45] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:02:45] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:02:45] local.INFO: IMEI packet received {"connection_id":175184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":175184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:02:46] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:02:46] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:02:46] local.INFO: Packet analysis {"connection_id":175184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:02:46] local.INFO: Extracted packet for processing {"connection_id":175184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":175184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:02:46] local.INFO: GPS data processed {"connection_id":175184,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:02:46] local.INFO: Acknowledgment sent {"connection_id":175184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:03:07] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824adb38012d19a380071ff1e8003400ff24..."} 
[2026-09-09 00:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824adb38012d19a380071ff1e8003400ff24..."} 
[2026-09-09 00:03:07] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824adb38012d19a380071ff1e8003400ff24..."} 
[2026-09-09 00:03:07] local.INFO: Packet analysis {"connection_id":174924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:03:07] local.INFO: Extracted packet for processing {"connection_id":174924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119534056,"longitude_deg":75.6654976,"latitude_deg":11.9534056,"altitude":52,"angle":255,"satellites":36,"speed":8,"hex_longitude":"2d19a380","hex_latitude":"071ff1e8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 00:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956438528001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19067786483466240,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146473656320,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03: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-09-09 00:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788892339000,"timestamp_ms":1788892339000,"timestamp_seconds":1788892339,"priority":1,"record_length":96,"hex_timestamp":"000001a0824adb38"} 
[2026-09-09 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-09-09 00:03: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-09-09 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-09 00:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 00:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:03: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-09-09 00:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956438528001,"66":13504,"101":206,"83":41984,"24":8,"16":19067786483466240,"45":1847672146473656320},"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-09-09 00:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956438528001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:03:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19067786483466240,"km_value":19067786483466.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146473656320,"description":"Unknown IO ID 45"} 
[2026-09-09 00:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956438528001,"power":13504,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1847672146473656320}} 
[2026-09-09 00:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":174924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:03:07] local.INFO: GPS data processed {"connection_id":174924,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:03:07] local.INFO: Acknowledgment sent {"connection_id":174924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:03:17] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:03:17] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:03:17] local.INFO: Packet analysis {"connection_id":175184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:03:17] local.INFO: Extracted packet for processing {"connection_id":175184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":175184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:03:17] local.INFO: GPS data processed {"connection_id":175184,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:03:17] local.INFO: Acknowledgment sent {"connection_id":175184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:03:31] local.INFO: TCP Data received {"connection_id":177733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:03:31] local.INFO: Processing buffer {"connection_id":177733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:03:31] local.INFO: IMEI packet received {"connection_id":177733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":177733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:03:36] local.INFO: TCP Data received {"connection_id":177733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:03:36] local.INFO: Processing buffer {"connection_id":177733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:03:36] local.INFO: IMEI packet received {"connection_id":177733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":177733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:03:37] local.INFO: TCP Data received {"connection_id":177733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824adf20012d19a2c0071ff190003400f025..."} 
[2026-09-09 00:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824adf20012d19a2c0071ff190003400f025..."} 
[2026-09-09 00:03:37] local.INFO: Processing buffer {"connection_id":177733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824adf20012d19a2c0071ff190003400f025..."} 
[2026-09-09 00:03:37] local.INFO: Packet analysis {"connection_id":177733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:03:37] local.INFO: Extracted packet for processing {"connection_id":177733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119533968,"longitude_deg":75.6654784,"latitude_deg":11.9533968,"altitude":52,"angle":240,"satellites":37,"speed":8,"hex_longitude":"2d19a2c0","hex_latitude":"071ff190","is_valid_coordinates":true} 
[2026-09-09 00:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956438784001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19067795073400832,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040241108992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03: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-09-09 00:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892340000,"timestamp_ms":1788892340000,"timestamp_seconds":1788892340,"priority":1,"record_length":96,"hex_timestamp":"000001a0824adf20"} 
[2026-09-09 00:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-09 00:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:03: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-09-09 00:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956438784001,"66":13015,"101":206,"83":41984,"24":8,"16":19067795073400832,"45":1847461040241108992},"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-09-09 00:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956438784001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:03:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19067795073400832,"km_value":19067795073400.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040241108992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956438784001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1847461040241108992}} 
[2026-09-09 00:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":177733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:03:37] local.INFO: GPS data processed {"connection_id":177733,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:03:37] local.INFO: Acknowledgment sent {"connection_id":177733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:03:40] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:03:40] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:03:40] local.INFO: IMEI packet received {"connection_id":175185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":175185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:03:45] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:03:45] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:03:45] local.INFO: IMEI packet received {"connection_id":175185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":175185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:03:46] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:03:46] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:03:46] local.INFO: Packet analysis {"connection_id":175185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:03:46] local.INFO: Extracted packet for processing {"connection_id":175185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":175185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:03:46] local.INFO: GPS data processed {"connection_id":175185,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:03:46] local.INFO: Acknowledgment sent {"connection_id":175185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:04:08] local.INFO: TCP Data received {"connection_id":177733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824aeec0012d199ec0071fefd00036010a25..."} 
[2026-09-09 00:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824aeec0012d199ec0071fefd00036010a25..."} 
[2026-09-09 00:04:08] local.INFO: Processing buffer {"connection_id":177733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824aeec0012d199ec0071fefd00036010a25..."} 
[2026-09-09 00:04:08] local.INFO: Packet analysis {"connection_id":177733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:04:08] local.INFO: Extracted packet for processing {"connection_id":177733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824a"} 
[2026-09-09 00:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756653760,"raw_latitude":119533520,"longitude_deg":75.665376,"latitude_deg":11.953352,"altitude":54,"angle":266,"satellites":37,"speed":13,"hex_longitude":"2d199ec0","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-09-09 00:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956439040001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19067855202942976,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008553472,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04: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-09-09 00:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892344000,"timestamp_ms":1788892344000,"timestamp_seconds":1788892344,"priority":1,"record_length":96,"hex_timestamp":"000001a0824aeec0"} 
[2026-09-09 00:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-09 00:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:04: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-09-09 00:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956439040001,"66":12950,"101":206,"83":41984,"24":13,"16":19067855202942976,"45":1847249934008553472},"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-09-09 00:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956439040001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:04:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 00:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19067855202942976,"km_value":19067855202942.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008553472,"description":"Unknown IO ID 45"} 
[2026-09-09 00:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956439040001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1847249934008553472}} 
[2026-09-09 00:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":177733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:04:08] local.INFO: GPS data processed {"connection_id":177733,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:04:08] local.INFO: Acknowledgment sent {"connection_id":177733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:04:18] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:04:18] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:04:18] local.INFO: Packet analysis {"connection_id":175185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:04:18] local.INFO: Extracted packet for processing {"connection_id":175185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:04:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":175185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:04:18] local.INFO: GPS data processed {"connection_id":175185,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:04:18] local.INFO: Acknowledgment sent {"connection_id":175185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:04:31] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:04:31] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:04:31] local.INFO: IMEI packet received {"connection_id":174926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":174926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:04:36] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:04:36] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:04:36] local.INFO: IMEI packet received {"connection_id":174926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":174926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:04:37] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0824b0248012d1996c0071ff0a80038011624..."} 
[2026-09-09 00:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824b0248012d1996c0071ff0a80038011624..."} 
[2026-09-09 00:04:37] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824b0248012d1996c0071ff0a80038011624..."} 
[2026-09-09 00:04:37] local.INFO: Packet analysis {"connection_id":174926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:04:37] local.INFO: Extracted packet for processing {"connection_id":174926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756651712,"raw_latitude":119533736,"longitude_deg":75.6651712,"latitude_deg":11.9533736,"altitude":56,"angle":278,"satellites":36,"speed":16,"hex_longitude":"2d1996c0","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956440064001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19067949692223488,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846124034101596160,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892349000,"timestamp_ms":1788892349000,"timestamp_seconds":1788892349,"priority":1,"record_length":96,"hex_timestamp":"000001a0824b0248"} 
[2026-09-09 00:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-09 00:04: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-09-09 00: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-09-09 00:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:04: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-09-09 00:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956440064001,"66":13450,"102":206,"83":41984,"24":16,"16":19067949692223488,"45":1846124034101596160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956440064001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:04:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19067949692223488,"km_value":19067949692223.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846124034101596160,"description":"Unknown IO ID 45"} 
[2026-09-09 00:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956440064001,"power":13450,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1846124034101596160}} 
[2026-09-09 00:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":174926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:04:37] local.INFO: GPS data processed {"connection_id":174926,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:04:37] local.INFO: Acknowledgment sent {"connection_id":174926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:04:45] local.INFO: TCP Data received {"connection_id":177734,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:04:45] local.INFO: Processing buffer {"connection_id":177734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:04:45] local.INFO: IMEI packet received {"connection_id":177734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":177734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:04:50] local.INFO: TCP Data received {"connection_id":177734,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:04:50] local.INFO: Processing buffer {"connection_id":177734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:04:50] local.INFO: IMEI packet received {"connection_id":177734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":177734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:04:51] local.INFO: TCP Data received {"connection_id":177734,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:04:51] local.INFO: Processing buffer {"connection_id":177734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:04:51] local.INFO: Packet analysis {"connection_id":177734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:04:51] local.INFO: Extracted packet for processing {"connection_id":177734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:04:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":177734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:04:51] local.INFO: GPS data processed {"connection_id":177734,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:04:51] local.INFO: Acknowledgment sent {"connection_id":177734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:04:56] local.INFO: TCP Data received {"connection_id":177734,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:04:56] local.INFO: Processing buffer {"connection_id":177734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082489d00012d34c38006aa42c80005005d27..."} 
[2026-09-09 00:04:56] local.INFO: Packet analysis {"connection_id":177734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:04:56] local.INFO: Extracted packet for processing {"connection_id":177734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08248"} 
[2026-09-09 00:04:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956324096001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788892192000,"timestamp_ms":1788892192000,"timestamp_seconds":1788892192,"priority":1,"record_length":96,"hex_timestamp":"000001a082489d00"} 
[2026-09-09 00:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956324096001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956324096001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:04:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:04:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956324096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":177734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:04:56] local.INFO: GPS data processed {"connection_id":177734,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:04:56] local.INFO: Acknowledgment sent {"connection_id":177734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:05:08] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0824b0e00012d199200071ff100003a010724..."} 
[2026-09-09 00:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824b0e00012d199200071ff100003a010724..."} 
[2026-09-09 00:05:08] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824b0e00012d199200071ff100003a010724..."} 
[2026-09-09 00:05:08] local.INFO: Packet analysis {"connection_id":174926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:05:08] local.INFO: Extracted packet for processing {"connection_id":174926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756650496,"raw_latitude":119533824,"longitude_deg":75.6650496,"latitude_deg":11.9533824,"altitude":58,"angle":263,"satellites":36,"speed":15,"hex_longitude":"2d199200","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956441344001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068009821765632,"note":"Value kept but may cause issues"} 
[2026-09-09 00:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843872234287966208,"note":"Value kept but may cause issues"} 
[2026-09-09 00:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892352000,"timestamp_ms":1788892352000,"timestamp_seconds":1788892352,"priority":1,"record_length":96,"hex_timestamp":"000001a0824b0e00"} 
[2026-09-09 00:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-09 00:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956441344001,"66":13439,"102":206,"83":41984,"24":15,"16":19068009821765632,"45":1843872234287966208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956441344001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:05:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068009821765632,"km_value":19068009821765.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843872234287966208,"description":"Unknown IO ID 45"} 
[2026-09-09 00:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956441344001,"power":13439,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1843872234287966208}} 
[2026-09-09 00:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":174926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:05:08] local.INFO: GPS data processed {"connection_id":174926,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:05:08] local.INFO: Acknowledgment sent {"connection_id":174926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:05:31] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:05:31] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:05:31] local.INFO: IMEI packet received {"connection_id":175186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":175186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:05:36] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:05:36] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:05:36] local.INFO: IMEI packet received {"connection_id":175186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":175186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:05:37] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824b2958012d198500071ff048003c00f924..."} 
[2026-09-09 00:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824b2958012d198500071ff048003c00f924..."} 
[2026-09-09 00:05:37] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824b2958012d198500071ff048003c00f924..."} 
[2026-09-09 00:05:37] local.INFO: Packet analysis {"connection_id":175186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:05:37] local.INFO: Extracted packet for processing {"connection_id":175186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119533640,"longitude_deg":75.6647168,"latitude_deg":11.953364,"altitude":60,"angle":249,"satellites":36,"speed":19,"hex_longitude":"2d198500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956442112001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068168735555584,"note":"Value kept but may cause issues"} 
[2026-09-09 00:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842535228148613120,"note":"Value kept but may cause issues"} 
[2026-09-09 00:05: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-09-09 00:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892359000,"timestamp_ms":1788892359000,"timestamp_seconds":1788892359,"priority":1,"record_length":96,"hex_timestamp":"000001a0824b2958"} 
[2026-09-09 00:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-09 00:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:05: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-09-09 00:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956442112001,"66":13580,"102":206,"83":41984,"24":19,"16":19068168735555584,"45":1842535228148613120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956442112001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:05:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068168735555584,"km_value":19068168735555.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842535228148613120,"description":"Unknown IO ID 45"} 
[2026-09-09 00:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956442112001,"power":13580,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1842535228148613120}} 
[2026-09-09 00:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":175186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:05:37] local.INFO: GPS data processed {"connection_id":175186,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:05:37] local.INFO: Acknowledgment sent {"connection_id":175186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:05:40] local.INFO: TCP Data received {"connection_id":177736,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:05:40] local.INFO: Processing buffer {"connection_id":177736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:05:40] local.INFO: IMEI packet received {"connection_id":177736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":177736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:05:45] local.INFO: TCP Data received {"connection_id":177736,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:05:45] local.INFO: Processing buffer {"connection_id":177736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:05:45] local.INFO: IMEI packet received {"connection_id":177736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":177736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:05:46] local.INFO: TCP Data received {"connection_id":177736,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:05:46] local.INFO: Processing buffer {"connection_id":177736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:05:46] local.INFO: Packet analysis {"connection_id":177736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:05:46] local.INFO: Extracted packet for processing {"connection_id":177736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":177736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:05:46] local.INFO: GPS data processed {"connection_id":177736,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:05:46] local.INFO: Acknowledgment sent {"connection_id":177736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:06:08] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824b2d40012d198340071fef78003c00ed25..."} 
[2026-09-09 00:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824b2d40012d198340071fef78003c00ed25..."} 
[2026-09-09 00:06:08] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824b2d40012d198340071fef78003c00ed25..."} 
[2026-09-09 00:06:08] local.INFO: Packet analysis {"connection_id":175186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:06:08] local.INFO: Extracted packet for processing {"connection_id":175186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756646720,"raw_latitude":119533432,"longitude_deg":75.664672,"latitude_deg":11.9533432,"altitude":60,"angle":237,"satellites":37,"speed":18,"hex_longitude":"2d198340","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956443904001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068190210392064,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06: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-09-09 00:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892360000,"timestamp_ms":1788892360000,"timestamp_seconds":1788892360,"priority":1,"record_length":96,"hex_timestamp":"000001a0824b2d40"} 
[2026-09-09 00:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751530941,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185942864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1811854523870740490,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4052746292,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635347714734181,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359791169107,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3188523008,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5836657283326541776,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,190,160,14,45,58,36,10,66,2,192,240,56,238,1,150,227,130,31,4,113,205,8,219,163,232,239,52,101,67,7,51,9,25,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-09 00:06:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323729575291060224,"timestamp_seconds":4323729575291060.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:06: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-09-09 00:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956443904001,"66":12928,"102":206,"83":41984,"24":18,"16":19068190210392064,"45":1838876053451327488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956443904001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:06:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068190210392064,"km_value":19068190210392.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-09-09 00:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956443904001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-09-09 00:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":175186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:06:08] local.INFO: GPS data processed {"connection_id":175186,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:06:08] local.INFO: Acknowledgment sent {"connection_id":175186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:06:18] local.INFO: TCP Data received {"connection_id":177736,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:06:18] local.INFO: Processing buffer {"connection_id":177736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:06:18] local.INFO: Packet analysis {"connection_id":177736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:06:18] local.INFO: Extracted packet for processing {"connection_id":177736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":177736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:06:18] local.INFO: GPS data processed {"connection_id":177736,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:06:18] local.INFO: Acknowledgment sent {"connection_id":177736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:06:31] local.INFO: TCP Data received {"connection_id":176270,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:06:31] local.INFO: Processing buffer {"connection_id":176270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:06:31] local.INFO: IMEI packet received {"connection_id":176270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":176270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:06:36] local.INFO: TCP Data received {"connection_id":176270,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:06:36] local.INFO: Processing buffer {"connection_id":176270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:06:36] local.INFO: IMEI packet received {"connection_id":176270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":176270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:06:37] local.INFO: TCP Data received {"connection_id":176270,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824b40c8012d197bc0071feb48003c010824..."} 
[2026-09-09 00:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824b40c8012d197bc0071feb48003c010824..."} 
[2026-09-09 00:06:37] local.INFO: Processing buffer {"connection_id":176270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824b40c8012d197bc0071feb48003c010824..."} 
[2026-09-09 00:06:37] local.INFO: Packet analysis {"connection_id":176270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:06:37] local.INFO: Extracted packet for processing {"connection_id":176270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756644800,"raw_latitude":119532360,"longitude_deg":75.66448,"latitude_deg":11.953236,"altitude":60,"angle":264,"satellites":36,"speed":15,"hex_longitude":"2d197bc0","hex_latitude":"071feb48","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956444160001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068297584574464,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838383472242030592,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06: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-09-09 00:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892365000,"timestamp_ms":1788892365000,"timestamp_seconds":1788892365,"priority":1,"record_length":96,"hex_timestamp":"000001a0824b40c8"} 
[2026-09-09 00:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-09 00:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:06: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-09-09 00:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956444160001,"66":12939,"102":206,"83":41984,"24":15,"16":19068297584574464,"45":1838383472242030592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956444160001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:06:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068297584574464,"km_value":19068297584574.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838383472242030592,"description":"Unknown IO ID 45"} 
[2026-09-09 00:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956444160001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1838383472242030592}} 
[2026-09-09 00:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":176270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:06:37] local.INFO: GPS data processed {"connection_id":176270,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:06:37] local.INFO: Acknowledgment sent {"connection_id":176270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:06:40] local.INFO: TCP Data received {"connection_id":177738,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:06:40] local.INFO: Processing buffer {"connection_id":177738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:06:40] local.INFO: IMEI packet received {"connection_id":177738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":177738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:06:45] local.INFO: TCP Data received {"connection_id":177738,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:06:45] local.INFO: Processing buffer {"connection_id":177738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:06:45] local.INFO: IMEI packet received {"connection_id":177738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":177738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:06:47] local.INFO: TCP Data received {"connection_id":177738,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:06:47] local.INFO: Processing buffer {"connection_id":177738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:06:47] local.INFO: Packet analysis {"connection_id":177738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:06:47] local.INFO: Extracted packet for processing {"connection_id":177738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:06:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":177738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:06:47] local.INFO: GPS data processed {"connection_id":177738,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:06:47] local.INFO: Acknowledgment sent {"connection_id":177738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:06:48] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:06:48] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:06:48] local.INFO: IMEI packet received {"connection_id":176271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":176271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:07:08] local.INFO: TCP Data received {"connection_id":176270,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824b4c80012d197680071feb48003c011024..."} 
[2026-09-09 00:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824b4c80012d197680071feb48003c011024..."} 
[2026-09-09 00:07:08] local.INFO: Processing buffer {"connection_id":176270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824b4c80012d197680071feb48003c011024..."} 
[2026-09-09 00:07:08] local.INFO: Packet analysis {"connection_id":176270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:07:08] local.INFO: Extracted packet for processing {"connection_id":176270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119532360,"longitude_deg":75.6643456,"latitude_deg":11.953236,"altitude":60,"angle":272,"satellites":36,"speed":16,"hex_longitude":"2d197680","hex_latitude":"071feb48","is_valid_coordinates":true} 
[2026-09-09 00:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836272409916426240,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07: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-09-09 00:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892368000,"timestamp_ms":1788892368000,"timestamp_seconds":1788892368,"priority":1,"record_length":96,"hex_timestamp":"000001a0824b4c80"} 
[2026-09-09 00:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 00: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 00:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:07: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-09-09 00:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956445440001,"66":12809,"102":206,"83":41984,"24":16,"16":19068362009083904,"45":1836272409916426240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:07:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836272409916426240,"description":"Unknown IO ID 45"} 
[2026-09-09 00:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956445440001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1836272409916426240}} 
[2026-09-09 00:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":176270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:07:08] local.INFO: GPS data processed {"connection_id":176270,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:07:08] local.INFO: Acknowledgment sent {"connection_id":176270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:07:18] local.INFO: TCP Data received {"connection_id":177738,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:07:18] local.INFO: Processing buffer {"connection_id":177738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:07:18] local.INFO: Packet analysis {"connection_id":177738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:07:18] local.INFO: Extracted packet for processing {"connection_id":177738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:07:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":177738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:07:18] local.INFO: GPS data processed {"connection_id":177738,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:07:18] local.INFO: Acknowledgment sent {"connection_id":177738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:07:31] local.INFO: TCP Data received {"connection_id":174927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:07:31] local.INFO: Processing buffer {"connection_id":174927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:07:31] local.INFO: IMEI packet received {"connection_id":174927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":174927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:07:36] local.INFO: TCP Data received {"connection_id":174927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:07:36] local.INFO: Processing buffer {"connection_id":174927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:07:36] local.INFO: IMEI packet received {"connection_id":174927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":174927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:07:37] local.INFO: TCP Data received {"connection_id":174927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824b4c80012d197680071feb48003c011024..."} 
[2026-09-09 00:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824b4c80012d197680071feb48003c011024..."} 
[2026-09-09 00:07:37] local.INFO: Processing buffer {"connection_id":174927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824b4c80012d197680071feb48003c011024..."} 
[2026-09-09 00:07:37] local.INFO: Packet analysis {"connection_id":174927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:07:37] local.INFO: Extracted packet for processing {"connection_id":174927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119532360,"longitude_deg":75.6643456,"latitude_deg":11.953236,"altitude":60,"angle":272,"satellites":36,"speed":16,"hex_longitude":"2d197680","hex_latitude":"071feb48","is_valid_coordinates":true} 
[2026-09-09 00:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892368000,"timestamp_ms":1788892368000,"timestamp_seconds":1788892368,"priority":1,"record_length":96,"hex_timestamp":"000001a0824b4c80"} 
[2026-09-09 00:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:07: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-09-09 00: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185948864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5395066068036854464,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4043309114,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3221692400,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308408,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3191013376,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301779215109910565,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051046039981,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,190,160,64,45,192,235,60,36,10,66,239,37,41,1,240,12,227,130,31,4,113,205,15,2,150,168,52,67,7,54,13,50,164,29],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:07:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302703,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:07: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-09-09 00:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":12809,"102":206,"83":41984,"24":16,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:07:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":174927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:07:37] local.INFO: GPS data processed {"connection_id":174927,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:07:37] local.INFO: Acknowledgment sent {"connection_id":174927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:07:40] local.INFO: TCP Data received {"connection_id":177739,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:07:40] local.INFO: Processing buffer {"connection_id":177739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:07:40] local.INFO: IMEI packet received {"connection_id":177739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":177739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:07:45] local.INFO: TCP Data received {"connection_id":177739,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:07:45] local.INFO: Processing buffer {"connection_id":177739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:07:45] local.INFO: IMEI packet received {"connection_id":177739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":177739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:07:46] local.INFO: TCP Data received {"connection_id":177739,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:07:46] local.INFO: Processing buffer {"connection_id":177739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:07:46] local.INFO: Packet analysis {"connection_id":177739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:07:46] local.INFO: Extracted packet for processing {"connection_id":177739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":177739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:07:46] local.INFO: GPS data processed {"connection_id":177739,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:07:46] local.INFO: Acknowledgment sent {"connection_id":177739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:08:08] local.INFO: TCP Data received {"connection_id":174927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824b4c80012d197680071feb48003c011024..."} 
[2026-09-09 00:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824b4c80012d197680071feb48003c011024..."} 
[2026-09-09 00:08:08] local.INFO: Processing buffer {"connection_id":174927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824b4c80012d197680071feb48003c011024..."} 
[2026-09-09 00:08:08] local.INFO: Packet analysis {"connection_id":174927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:08:08] local.INFO: Extracted packet for processing {"connection_id":174927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824b"} 
[2026-09-09 00:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119532360,"longitude_deg":75.6643456,"latitude_deg":11.953236,"altitude":60,"angle":272,"satellites":36,"speed":16,"hex_longitude":"2d197680","hex_latitude":"071feb48","is_valid_coordinates":true} 
[2026-09-09 00:08: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-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08: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-09-09 00:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892368000,"timestamp_ms":1788892368000,"timestamp_seconds":1788892368,"priority":1,"record_length":96,"hex_timestamp":"000001a0824b4c80"} 
[2026-09-09 00:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185953864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5399464114547957440,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4031250492,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570179484397997,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3191930880,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301286633934228005,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,227,130,31,4,113,205,19,14,146,239,52,2,67,7,56,164,51],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:08:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302495,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:08: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-09-09 00:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":12809,"102":206,"83":41984,"24":16,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:08:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":174927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:08:08] local.INFO: GPS data processed {"connection_id":174927,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:08:08] local.INFO: Acknowledgment sent {"connection_id":174927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:08:17] local.INFO: TCP Data received {"connection_id":177739,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:08:18] local.INFO: Processing buffer {"connection_id":177739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:08:18] local.INFO: Packet analysis {"connection_id":177739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:08:18] local.INFO: Extracted packet for processing {"connection_id":177739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:08:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":177739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:08:18] local.INFO: GPS data processed {"connection_id":177739,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:08:18] local.INFO: Acknowledgment sent {"connection_id":177739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:08:32] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:08:32] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:08:32] local.INFO: IMEI packet received {"connection_id":176272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":176272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:08:36] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:08:36] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:08:36] local.INFO: IMEI packet received {"connection_id":176272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":176272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:08:40] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:08:40] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:08:40] local.INFO: IMEI packet received {"connection_id":176273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":176273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:08:41] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:08:41] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:08:41] local.INFO: IMEI packet received {"connection_id":176272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":176272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:08:41] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:08:41] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:08:41] local.INFO: Packet analysis {"connection_id":176272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:08:41] local.INFO: Extracted packet for processing {"connection_id":176272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08: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-09-09 00:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 00:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:41] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:08:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:08: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-09-09 00:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:08:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":176272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:08:41] local.INFO: GPS data processed {"connection_id":176272,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:08:41] local.INFO: Acknowledgment sent {"connection_id":176272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:08:45] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:08:45] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:08:45] local.INFO: IMEI packet received {"connection_id":176273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":176273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:08:46] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:08:46] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:08:46] local.INFO: Packet analysis {"connection_id":176273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:08:46] local.INFO: Extracted packet for processing {"connection_id":176273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":176273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:08:46] local.INFO: GPS data processed {"connection_id":176273,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:08:46] local.INFO: Acknowledgment sent {"connection_id":176273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:08:46] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:08:46] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:08:46] local.INFO: Packet analysis {"connection_id":176272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:08:46] local.INFO: Extracted packet for processing {"connection_id":176272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 00:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:08:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:08:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:08:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":176272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:08:46] local.INFO: GPS data processed {"connection_id":176272,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:08:46] local.INFO: Acknowledgment sent {"connection_id":176272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:09:18] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:09:18] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:09:18] local.INFO: Packet analysis {"connection_id":176273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:09:18] local.INFO: Extracted packet for processing {"connection_id":176273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:09:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":176273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:09:18] local.INFO: GPS data processed {"connection_id":176273,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:09:18] local.INFO: Acknowledgment sent {"connection_id":176273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:09:31] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:09:31] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:09:31] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:09:36] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:09:36] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:09:36] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:09:37] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:09:37] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:09:37] local.INFO: Packet analysis {"connection_id":174928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:09:37] local.INFO: Extracted packet for processing {"connection_id":174928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 00:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:09: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-09-09 00: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:09:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:09:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":174928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:09:37] local.INFO: GPS data processed {"connection_id":174928,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:09:37] local.INFO: Acknowledgment sent {"connection_id":174928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:09:45] local.INFO: TCP Data received {"connection_id":176274,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:09:45] local.INFO: Processing buffer {"connection_id":176274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:09:45] local.INFO: IMEI packet received {"connection_id":176274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":176274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:09:50] local.INFO: TCP Data received {"connection_id":176274,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:09:50] local.INFO: Processing buffer {"connection_id":176274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:09:50] local.INFO: IMEI packet received {"connection_id":176274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":176274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:09:51] local.INFO: TCP Data received {"connection_id":176274,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:09:51] local.INFO: Processing buffer {"connection_id":176274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:09:51] local.INFO: Packet analysis {"connection_id":176274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:09:51] local.INFO: Extracted packet for processing {"connection_id":176274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:09:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":176274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:09:51] local.INFO: GPS data processed {"connection_id":176274,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:09:51] local.INFO: Acknowledgment sent {"connection_id":176274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:09:57] local.INFO: TCP Data received {"connection_id":176274,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:09:57] local.INFO: Processing buffer {"connection_id":176274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824d34c8012d34c38006aa42c80005005d28..."} 
[2026-09-09 00:09:57] local.INFO: Packet analysis {"connection_id":176274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:09:57] local.INFO: Extracted packet for processing {"connection_id":176274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824d"} 
[2026-09-09 00:09:57] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956401152001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788892493000,"timestamp_ms":1788892493000,"timestamp_seconds":1788892493,"priority":1,"record_length":96,"hex_timestamp":"000001a0824d34c8"} 
[2026-09-09 00:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956401152001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956401152001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:09:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:09:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956401152001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":176274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:09:57] local.INFO: GPS data processed {"connection_id":176274,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:09:57] local.INFO: Acknowledgment sent {"connection_id":176274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:10:08] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:10:08] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:10:08] local.INFO: Packet analysis {"connection_id":174928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:10:08] local.INFO: Extracted packet for processing {"connection_id":174928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10: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-09-09 00:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 00:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:10:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:10:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":174928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:10:08] local.INFO: GPS data processed {"connection_id":174928,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:10:08] local.INFO: Acknowledgment sent {"connection_id":174928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:10:31] local.INFO: TCP Data received {"connection_id":177741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:10:31] local.INFO: Processing buffer {"connection_id":177741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:10:31] local.INFO: IMEI packet received {"connection_id":177741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":177741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:10:36] local.INFO: TCP Data received {"connection_id":177741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:10:36] local.INFO: Processing buffer {"connection_id":177741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:10:36] local.INFO: IMEI packet received {"connection_id":177741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":177741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:10:37] local.INFO: TCP Data received {"connection_id":177741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:10:37] local.INFO: Processing buffer {"connection_id":177741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:10:37] local.INFO: Packet analysis {"connection_id":177741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:10:37] local.INFO: Extracted packet for processing {"connection_id":177741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 00:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:10: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-09-09 00: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:10:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:10: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-09-09 00:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:10:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":177741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:10:37] local.INFO: GPS data processed {"connection_id":177741,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:10:37] local.INFO: Acknowledgment sent {"connection_id":177741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:10:40] local.INFO: TCP Data received {"connection_id":177742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:10:40] local.INFO: Processing buffer {"connection_id":177742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:10:40] local.INFO: IMEI packet received {"connection_id":177742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":177742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:10:45] local.INFO: TCP Data received {"connection_id":177742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:10:45] local.INFO: Processing buffer {"connection_id":177742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:10:45] local.INFO: IMEI packet received {"connection_id":177742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":177742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:10:47] local.INFO: TCP Data received {"connection_id":177742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:10:47] local.INFO: Processing buffer {"connection_id":177742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:10:47] local.INFO: Packet analysis {"connection_id":177742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:10:47] local.INFO: Extracted packet for processing {"connection_id":177742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":177742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:10:47] local.INFO: GPS data processed {"connection_id":177742,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:10:47] local.INFO: Acknowledgment sent {"connection_id":177742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:11:08] local.INFO: TCP Data received {"connection_id":177741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:11:08] local.INFO: Processing buffer {"connection_id":177741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:11:08] local.INFO: Packet analysis {"connection_id":177741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:11:08] local.INFO: Extracted packet for processing {"connection_id":177741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11: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-09-09 00:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 00:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:11:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:11: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-09-09 00:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:11:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":177741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:11:08] local.INFO: GPS data processed {"connection_id":177741,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:11:08] local.INFO: Acknowledgment sent {"connection_id":177741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:11:18] local.INFO: TCP Data received {"connection_id":177742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:11:18] local.INFO: Processing buffer {"connection_id":177742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:11:18] local.INFO: Packet analysis {"connection_id":177742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:11:18] local.INFO: Extracted packet for processing {"connection_id":177742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:11:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":177742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:11:18] local.INFO: GPS data processed {"connection_id":177742,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:11:18] local.INFO: Acknowledgment sent {"connection_id":177742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:11:32] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:11:32] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:11:32] local.INFO: IMEI packet received {"connection_id":176276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":176276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:11:36] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:11:36] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:11:36] local.INFO: IMEI packet received {"connection_id":176276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":176276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:11:37] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:11:37] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:11:37] local.INFO: Packet analysis {"connection_id":176276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:11:37] local.INFO: Extracted packet for processing {"connection_id":176276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 00:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:11: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-09-09 00: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:11:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:11: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-09-09 00:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:11:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":176276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:11:37] local.INFO: GPS data processed {"connection_id":176276,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:11:37] local.INFO: Acknowledgment sent {"connection_id":176276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:11:40] local.INFO: TCP Data received {"connection_id":177743,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:11:40] local.INFO: Processing buffer {"connection_id":177743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:11:40] local.INFO: IMEI packet received {"connection_id":177743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":177743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:11:45] local.INFO: TCP Data received {"connection_id":177743,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:11:45] local.INFO: Processing buffer {"connection_id":177743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:11:45] local.INFO: IMEI packet received {"connection_id":177743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":177743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:11:46] local.INFO: TCP Data received {"connection_id":177743,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:11:46] local.INFO: Processing buffer {"connection_id":177743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:11:46] local.INFO: Packet analysis {"connection_id":177743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:11:46] local.INFO: Extracted packet for processing {"connection_id":177743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":177743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:11:46] local.INFO: GPS data processed {"connection_id":177743,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:11:46] local.INFO: Acknowledgment sent {"connection_id":177743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:12:08] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:12:08] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:12:08] local.INFO: Packet analysis {"connection_id":176276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:12:08] local.INFO: Extracted packet for processing {"connection_id":176276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12: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-09-09 00:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 00:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:12:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:12: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-09-09 00:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:12:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":176276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:12:08] local.INFO: GPS data processed {"connection_id":176276,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:12:08] local.INFO: Acknowledgment sent {"connection_id":176276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:12:18] local.INFO: TCP Data received {"connection_id":177743,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:12:18] local.INFO: Processing buffer {"connection_id":177743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:12:18] local.INFO: Packet analysis {"connection_id":177743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:12:18] local.INFO: Extracted packet for processing {"connection_id":177743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:12:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":177743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:12:18] local.INFO: GPS data processed {"connection_id":177743,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:12:18] local.INFO: Acknowledgment sent {"connection_id":177743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:12:22] local.INFO: TCP Data received {"connection_id":175189,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:12:22] local.INFO: Processing buffer {"connection_id":175189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:12:22] local.INFO: IMEI packet received {"connection_id":175189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":175189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:12:31] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:12:31] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:12:31] local.INFO: IMEI packet received {"connection_id":174929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":174929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:12:36] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:12:36] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:12:36] local.INFO: IMEI packet received {"connection_id":174929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":174929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:12:37] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:12:37] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:12:37] local.INFO: Packet analysis {"connection_id":174929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:12:37] local.INFO: Extracted packet for processing {"connection_id":174929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 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-09-09 00:12: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-09-09 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:12:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 00:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:12: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-09-09 00:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:12:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":174929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:12:37] local.INFO: GPS data processed {"connection_id":174929,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:12:37] local.INFO: Acknowledgment sent {"connection_id":174929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:12:40] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:12:40] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:12:40] local.INFO: IMEI packet received {"connection_id":176277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":176277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:12:45] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:12:45] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:12:45] local.INFO: IMEI packet received {"connection_id":176277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":176277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:12:47] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:12:47] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:12:47] local.INFO: Packet analysis {"connection_id":176277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:12:47] local.INFO: Extracted packet for processing {"connection_id":176277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":176277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:12:47] local.INFO: GPS data processed {"connection_id":176277,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:12:47] local.INFO: Acknowledgment sent {"connection_id":176277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:12:48] local.INFO: TCP Data received {"connection_id":175190,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:12:48] local.INFO: Processing buffer {"connection_id":175190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:12:48] local.INFO: IMEI packet received {"connection_id":175190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":175190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:13:08] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:13:08] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824ff7d0012d1965c0071fefb00040011125..."} 
[2026-09-09 00:13:08] local.INFO: Packet analysis {"connection_id":174929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:13:08] local.INFO: Extracted packet for processing {"connection_id":174929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0824f"} 
[2026-09-09 00:13:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956446208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288695296,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13: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-09-09 00:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892674000,"timestamp_ms":1788892674000,"timestamp_seconds":1788892674,"priority":1,"record_length":96,"hex_timestamp":"000001a0824ff7d0"} 
[2026-09-09 00:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185956864,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5404961672686835392,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4017619004,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3194355712,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301524128479385124,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359807946323,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,190,160,76,45,128,235,60,36,10,66,64,192,1,240,139,227,130,31,4,113,205,18,41,133,72,239,53,2,67,7,58,15,52,164,65],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 00:13:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323754864058302530,"timestamp_seconds":4323754864058302.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 00:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:13: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-09-09 00:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956446208001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1834794666288695296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956446208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:13:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:13:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288695296,"description":"Unknown IO ID 45"} 
[2026-09-09 00:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956446208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666288695296}} 
[2026-09-09 00:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":174929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:13:08] local.INFO: GPS data processed {"connection_id":174929,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:13:08] local.INFO: Acknowledgment sent {"connection_id":174929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:13:18] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:13:18] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:13:18] local.INFO: Packet analysis {"connection_id":176277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:13:18] local.INFO: Extracted packet for processing {"connection_id":176277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":176277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:13:18] local.INFO: GPS data processed {"connection_id":176277,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:13:18] local.INFO: Acknowledgment sent {"connection_id":176277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:13:34] local.INFO: TCP Data received {"connection_id":177744,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:13:34] local.INFO: Processing buffer {"connection_id":177744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:13:34] local.INFO: IMEI packet received {"connection_id":177744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":177744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:13:36] local.INFO: TCP Data received {"connection_id":177744,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:13:36] local.INFO: Processing buffer {"connection_id":177744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:13:36] local.INFO: IMEI packet received {"connection_id":177744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":177744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:13:41] local.INFO: TCP Data received {"connection_id":177744,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:13:41] local.INFO: Processing buffer {"connection_id":177744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:13:41] local.INFO: IMEI packet received {"connection_id":177744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":177744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:13:41] local.INFO: TCP Data received {"connection_id":177744,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:13:41] local.INFO: Processing buffer {"connection_id":177744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:13:41] local.INFO: Packet analysis {"connection_id":177744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:13:41] local.INFO: Extracted packet for processing {"connection_id":177744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13: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-09-09 00:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:13:41] 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-09-09 00:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:13: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-09-09 00:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:13: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-09-09 00:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:13:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":177744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:13:41] local.INFO: GPS data processed {"connection_id":177744,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:13:41] local.INFO: Acknowledgment sent {"connection_id":177744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:13:45] local.INFO: TCP Data received {"connection_id":177746,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:13:45] local.INFO: Processing buffer {"connection_id":177746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:13:45] local.INFO: IMEI packet received {"connection_id":177746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":177746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:13:46] local.INFO: TCP Data received {"connection_id":177744,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:13:46] local.INFO: Processing buffer {"connection_id":177744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:13:46] local.INFO: Packet analysis {"connection_id":177744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:13:46] local.INFO: Extracted packet for processing {"connection_id":177744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:13:46] 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-09-09 00:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:13:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":177744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:13:46] local.INFO: GPS data processed {"connection_id":177744,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:13:46] local.INFO: Acknowledgment sent {"connection_id":177744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:13:50] local.INFO: TCP Data received {"connection_id":177746,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:13:50] local.INFO: Processing buffer {"connection_id":177746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:13:50] local.INFO: IMEI packet received {"connection_id":177746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":177746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:13:51] local.INFO: TCP Data received {"connection_id":177746,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:13:51] local.INFO: Processing buffer {"connection_id":177746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:13:51] local.INFO: Packet analysis {"connection_id":177746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:13:51] local.INFO: Extracted packet for processing {"connection_id":177746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":177746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:13:51] local.INFO: GPS data processed {"connection_id":177746,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:13:51] local.INFO: Acknowledgment sent {"connection_id":177746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:13:56] local.INFO: TCP Data received {"connection_id":177746,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:13:56] local.INFO: Processing buffer {"connection_id":177746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:13:56] local.INFO: Packet analysis {"connection_id":177746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:13:56] local.INFO: Extracted packet for processing {"connection_id":177746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:13:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:13:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:13:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":177746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:13:56] local.INFO: GPS data processed {"connection_id":177746,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:13:56] local.INFO: Acknowledgment sent {"connection_id":177746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:14:03] local.INFO: TCP Data received {"connection_id":177746,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:14:03] local.INFO: Processing buffer {"connection_id":177746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:14:03] local.INFO: Packet analysis {"connection_id":177746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:14:03] local.INFO: Extracted packet for processing {"connection_id":177746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00: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-09-09 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:14: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-09-09 00:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":177746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:14:03] local.INFO: GPS data processed {"connection_id":177746,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:14:03] local.INFO: Acknowledgment sent {"connection_id":177746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:14:31] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:14:31] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:14:31] local.INFO: IMEI packet received {"connection_id":174930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":174930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:14:36] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:14:36] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:14:36] local.INFO: IMEI packet received {"connection_id":174930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":174930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:14:37] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:14:37] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:14:37] local.INFO: Packet analysis {"connection_id":174930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:14:37] local.INFO: Extracted packet for processing {"connection_id":174930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:14: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-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:14: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-09-09 00:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:14:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":174930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:14:37] local.INFO: GPS data processed {"connection_id":174930,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:14:37] local.INFO: Acknowledgment sent {"connection_id":174930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:14:41] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:14:41] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:14:41] local.INFO: IMEI packet received {"connection_id":174931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":174931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:14:45] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:14:45] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:14:45] local.INFO: IMEI packet received {"connection_id":174931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":174931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:14:47] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:14:47] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:14:47] local.INFO: Packet analysis {"connection_id":174931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:14:47] local.INFO: Extracted packet for processing {"connection_id":174931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":174931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:14:47] local.INFO: GPS data processed {"connection_id":174931,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:14:47] local.INFO: Acknowledgment sent {"connection_id":174931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:14:52] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:14:52] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:14:52] local.INFO: Packet analysis {"connection_id":174931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:14:52] local.INFO: Extracted packet for processing {"connection_id":174931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":174931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:14:52] local.INFO: GPS data processed {"connection_id":174931,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:14:52] local.INFO: Acknowledgment sent {"connection_id":174931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:15:08] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:15:08] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:15:08] local.INFO: Packet analysis {"connection_id":174930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:15:08] local.INFO: Extracted packet for processing {"connection_id":174930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15: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-09-09 00:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:15: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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:15: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-09-09 00: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-09-09 00:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:15:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":174930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:15:08] local.INFO: GPS data processed {"connection_id":174930,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:15:08] local.INFO: Acknowledgment sent {"connection_id":174930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:15:23] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:15:23] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08251cc90012d34c38006aa42c80005005d2c..."} 
[2026-09-09 00:15:23] local.INFO: Packet analysis {"connection_id":174931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:15:23] local.INFO: Extracted packet for processing {"connection_id":174931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08251"} 
[2026-09-09 00:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788892794000,"timestamp_ms":1788892794000,"timestamp_seconds":1788892794,"priority":1,"record_length":96,"hex_timestamp":"000001a08251cc90"} 
[2026-09-09 00:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956478208001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956478208001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":174931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:15:23] local.INFO: GPS data processed {"connection_id":174931,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:15:23] local.INFO: Acknowledgment sent {"connection_id":174931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:15:31] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:15:31] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:15:31] local.INFO: IMEI packet received {"connection_id":174932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":174932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:15:36] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:15:36] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:15:36] local.INFO: IMEI packet received {"connection_id":174932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":174932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:15:37] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:15:37] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:15:37] local.INFO: Packet analysis {"connection_id":174932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:15:37] local.INFO: Extracted packet for processing {"connection_id":174932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:15: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-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:15: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-09-09 00:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:15:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":174932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:15:37] local.INFO: GPS data processed {"connection_id":174932,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:15:37] local.INFO: Acknowledgment sent {"connection_id":174932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:15:40] local.INFO: TCP Data received {"connection_id":177748,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:15:40] local.INFO: Processing buffer {"connection_id":177748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:15:40] local.INFO: IMEI packet received {"connection_id":177748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":177748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:15:45] local.INFO: TCP Data received {"connection_id":177748,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:15:45] local.INFO: Processing buffer {"connection_id":177748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:15:45] local.INFO: IMEI packet received {"connection_id":177748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":177748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:15:47] local.INFO: TCP Data received {"connection_id":177748,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:15:47] local.INFO: Processing buffer {"connection_id":177748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:15:47] local.INFO: Packet analysis {"connection_id":177748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:15:47] local.INFO: Extracted packet for processing {"connection_id":177748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":177748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:15:47] local.INFO: GPS data processed {"connection_id":177748,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:15:47] local.INFO: Acknowledgment sent {"connection_id":177748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:16:08] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:16:08] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:16:08] local.INFO: Packet analysis {"connection_id":174932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:16:08] local.INFO: Extracted packet for processing {"connection_id":174932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16: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-09-09 00:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:16: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-09-09 00:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:16: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-09-09 00:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:16: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-09-09 00:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:16:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":174932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:16:08] local.INFO: GPS data processed {"connection_id":174932,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:16:08] local.INFO: Acknowledgment sent {"connection_id":174932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:16:18] local.INFO: TCP Data received {"connection_id":177748,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:16:18] local.INFO: Processing buffer {"connection_id":177748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:16:18] local.INFO: Packet analysis {"connection_id":177748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:16:18] local.INFO: Extracted packet for processing {"connection_id":177748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:16:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":177748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:16:18] local.INFO: GPS data processed {"connection_id":177748,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:16:18] local.INFO: Acknowledgment sent {"connection_id":177748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:16:31] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:16:31] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:16:31] local.INFO: IMEI packet received {"connection_id":175191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":175191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:16:36] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:16:36] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:16:36] local.INFO: IMEI packet received {"connection_id":175191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":175191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:16:37] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:16:37] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:16:37] local.INFO: Packet analysis {"connection_id":175191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:16:37] local.INFO: Extracted packet for processing {"connection_id":175191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:16: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-09-09 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:16: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-09-09 00:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:16: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-09-09 00:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:16:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":175191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:16:37] local.INFO: GPS data processed {"connection_id":175191,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:16:37] local.INFO: Acknowledgment sent {"connection_id":175191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:16:40] local.INFO: TCP Data received {"connection_id":177750,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:16:40] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:16:40] local.INFO: IMEI packet received {"connection_id":177750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":177750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:16:45] local.INFO: TCP Data received {"connection_id":177750,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:16:45] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:16:45] local.INFO: IMEI packet received {"connection_id":177750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":177750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:16:47] local.INFO: TCP Data received {"connection_id":177750,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:16:47] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:16:47] local.INFO: Packet analysis {"connection_id":177750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:16:47] local.INFO: Extracted packet for processing {"connection_id":177750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":177750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:16:47] local.INFO: GPS data processed {"connection_id":177750,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:16:47] local.INFO: Acknowledgment sent {"connection_id":177750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:17:08] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:17:08] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:17:08] local.INFO: Packet analysis {"connection_id":175191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:17:08] local.INFO: Extracted packet for processing {"connection_id":175191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17: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-09-09 00:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:17: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-09-09 00:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:17: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-09-09 00:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:17: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-09-09 00:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:17:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":175191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:17:08] local.INFO: GPS data processed {"connection_id":175191,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:17:08] local.INFO: Acknowledgment sent {"connection_id":175191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:17:19] local.INFO: TCP Data received {"connection_id":177750,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:17:19] local.INFO: Processing buffer {"connection_id":177750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:17:19] local.INFO: Packet analysis {"connection_id":177750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:17:19] local.INFO: Extracted packet for processing {"connection_id":177750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":177750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:17:19] local.INFO: GPS data processed {"connection_id":177750,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:17:19] local.INFO: Acknowledgment sent {"connection_id":177750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:17:31] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:17:31] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:17:31] local.INFO: IMEI packet received {"connection_id":175192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":175192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:17:36] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:17:36] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:17:36] local.INFO: IMEI packet received {"connection_id":175192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":175192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:17:37] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:17:37] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:17:37] local.INFO: Packet analysis {"connection_id":175192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:17:37] local.INFO: Extracted packet for processing {"connection_id":175192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17: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-09-09 00:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:17: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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:17: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-09-09 00: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-09-09 00:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:17: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-09-09 00:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:17:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":175192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:17:37] local.INFO: GPS data processed {"connection_id":175192,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:17:37] local.INFO: Acknowledgment sent {"connection_id":175192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:17:40] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:17:40] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:17:40] local.INFO: IMEI packet received {"connection_id":176279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":176279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:17:45] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:17:45] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:17:45] local.INFO: IMEI packet received {"connection_id":176279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":176279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:17:46] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:17:46] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:17:46] local.INFO: Packet analysis {"connection_id":176279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:17:46] local.INFO: Extracted packet for processing {"connection_id":176279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":176279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:17:46] local.INFO: GPS data processed {"connection_id":176279,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:17:46] local.INFO: Acknowledgment sent {"connection_id":176279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:18:08] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:18:08] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082548f98012d1965c0071fefb00040011127..."} 
[2026-09-09 00:18:08] local.INFO: Packet analysis {"connection_id":175192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:18:08] local.INFO: Extracted packet for processing {"connection_id":175192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08254"} 
[2026-09-09 00:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788892975000,"timestamp_ms":1788892975000,"timestamp_seconds":1788892975,"priority":1,"record_length":96,"hex_timestamp":"000001a082548f98"} 
[2026-09-09 00:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:18: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-09-09 00:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:18: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-09-09 00:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:18: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-09-09 00:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956524544001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:18:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956524544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":175192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:18:08] local.INFO: GPS data processed {"connection_id":175192,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:18:08] local.INFO: Acknowledgment sent {"connection_id":175192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:18:18] local.INFO: TCP Data received {"connection_id":176279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:18:18] local.INFO: Processing buffer {"connection_id":176279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:18:18] local.INFO: Packet analysis {"connection_id":176279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:18:18] local.INFO: Extracted packet for processing {"connection_id":176279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":176279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:18:18] local.INFO: GPS data processed {"connection_id":176279,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:18:18] local.INFO: Acknowledgment sent {"connection_id":176279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:18:34] local.INFO: TCP Data received {"connection_id":177751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:18:34] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:18:34] local.INFO: IMEI packet received {"connection_id":177751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":177751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:18:36] local.INFO: TCP Data received {"connection_id":177751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:18:36] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:18:36] local.INFO: IMEI packet received {"connection_id":177751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":177751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:18:40] local.INFO: TCP Data received {"connection_id":176281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:18:40] local.INFO: Processing buffer {"connection_id":176281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:18:40] local.INFO: IMEI packet received {"connection_id":176281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":176281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:18:41] local.INFO: TCP Data received {"connection_id":177751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:18:41] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:18:41] local.INFO: IMEI packet received {"connection_id":177751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":177751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:18:42] local.INFO: TCP Data received {"connection_id":177751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:18:42] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:18:42] local.INFO: Packet analysis {"connection_id":177751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:18:42] local.INFO: Extracted packet for processing {"connection_id":177751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18: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-09-09 00:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:18: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-09-09 00:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:18: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-09-09 00:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:18:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":177751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:18:42] local.INFO: GPS data processed {"connection_id":177751,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:18:42] local.INFO: Acknowledgment sent {"connection_id":177751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:18:43] local.INFO: TCP Data received {"connection_id":174933,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:18:43] local.INFO: Processing buffer {"connection_id":174933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:18:43] local.INFO: IMEI packet received {"connection_id":174933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":174933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:18:45] local.INFO: TCP Data received {"connection_id":176281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:18:45] local.INFO: Processing buffer {"connection_id":176281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:18:45] local.INFO: IMEI packet received {"connection_id":176281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":176281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:18:47] local.INFO: TCP Data received {"connection_id":177751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:18:47] local.INFO: Processing buffer {"connection_id":177751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:18:47] local.INFO: Packet analysis {"connection_id":177751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:18:47] local.INFO: Extracted packet for processing {"connection_id":177751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:18:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:18:47] local.INFO: TCP Data received {"connection_id":176281,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:18:47] local.INFO: Processing buffer {"connection_id":176281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:18:47] local.INFO: Packet analysis {"connection_id":176281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:18:47] local.INFO: Extracted packet for processing {"connection_id":176281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":176281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:18:47] local.INFO: GPS data processed {"connection_id":176281,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:18:47] local.INFO: Acknowledgment sent {"connection_id":176281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":177751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:18:47] local.INFO: GPS data processed {"connection_id":177751,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:18:47] local.INFO: Acknowledgment sent {"connection_id":177751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:19:18] local.INFO: TCP Data received {"connection_id":176281,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:19:18] local.INFO: Processing buffer {"connection_id":176281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:19:18] local.INFO: Packet analysis {"connection_id":176281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:19:18] local.INFO: Extracted packet for processing {"connection_id":176281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:19: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-09-09 00:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":176281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:19:19] local.INFO: GPS data processed {"connection_id":176281,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:19:19] local.INFO: Acknowledgment sent {"connection_id":176281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:19:31] local.INFO: TCP Data received {"connection_id":175193,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:19:31] local.INFO: Processing buffer {"connection_id":175193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:19:31] local.INFO: IMEI packet received {"connection_id":175193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":175193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:19:36] local.INFO: TCP Data received {"connection_id":175193,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:19:36] local.INFO: Processing buffer {"connection_id":175193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:19:36] local.INFO: IMEI packet received {"connection_id":175193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":175193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:19:37] local.INFO: TCP Data received {"connection_id":175193,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:19:37] local.INFO: Processing buffer {"connection_id":175193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:19:37] local.INFO: Packet analysis {"connection_id":175193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:19:37] local.INFO: Extracted packet for processing {"connection_id":175193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19: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-09-09 00:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:19: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-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:19: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-09-09 00:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:19: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-09-09 00:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:19:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":175193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:19:37] local.INFO: GPS data processed {"connection_id":175193,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:19:37] local.INFO: Acknowledgment sent {"connection_id":175193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:19:45] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:19:45] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:19:45] local.INFO: IMEI packet received {"connection_id":174934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":174934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:19:50] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:19:50] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:19:50] local.INFO: IMEI packet received {"connection_id":174934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":174934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:19:51] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:19:51] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:19:51] local.INFO: Packet analysis {"connection_id":174934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:19:51] local.INFO: Extracted packet for processing {"connection_id":174934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:19:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":174934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:19:51] local.INFO: GPS data processed {"connection_id":174934,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:19:51] local.INFO: Acknowledgment sent {"connection_id":174934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:19:56] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:19:56] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082566458012d34c38006aa42c80005005d29..."} 
[2026-09-09 00:19:56] local.INFO: Packet analysis {"connection_id":174934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:19:56] local.INFO: Extracted packet for processing {"connection_id":174934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08256"} 
[2026-09-09 00:19:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956555264001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788893095000,"timestamp_ms":1788893095000,"timestamp_seconds":1788893095,"priority":1,"record_length":96,"hex_timestamp":"000001a082566458"} 
[2026-09-09 00:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956555264001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956555264001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:19:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:19:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956555264001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":174934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:19:56] local.INFO: GPS data processed {"connection_id":174934,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:19:56] local.INFO: Acknowledgment sent {"connection_id":174934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:20:08] local.INFO: TCP Data received {"connection_id":175193,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:20:08] local.INFO: Processing buffer {"connection_id":175193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:20:08] local.INFO: Packet analysis {"connection_id":175193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:20:08] local.INFO: Extracted packet for processing {"connection_id":175193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20: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-09-09 00:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:20: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-09-09 00: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-09-09 00:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:20: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-09-09 00:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:20:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:20:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":175193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:20:08] local.INFO: GPS data processed {"connection_id":175193,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:20:08] local.INFO: Acknowledgment sent {"connection_id":175193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:20:31] local.INFO: TCP Data received {"connection_id":177753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:20:31] local.INFO: Processing buffer {"connection_id":177753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:20:31] local.INFO: IMEI packet received {"connection_id":177753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":177753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:20:36] local.INFO: TCP Data received {"connection_id":177753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:20:36] local.INFO: Processing buffer {"connection_id":177753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:20:36] local.INFO: IMEI packet received {"connection_id":177753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":177753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:20:37] local.INFO: TCP Data received {"connection_id":177753,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:20:37] local.INFO: Processing buffer {"connection_id":177753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:20:37] local.INFO: Packet analysis {"connection_id":177753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:20:37] local.INFO: Extracted packet for processing {"connection_id":177753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:20: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-09-09 00:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:20:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":177753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:20:37] local.INFO: GPS data processed {"connection_id":177753,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:20:37] local.INFO: Acknowledgment sent {"connection_id":177753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:20:41] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:20:41] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:20:41] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:20:45] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:20:45] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:20:45] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:20:46] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:20:46] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:20:46] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:20:46] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:20:46] 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-09-09 00:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:20:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:20:46] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:20:46] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:20:51] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:20:51] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:20:51] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:20:51] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:20:51] 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-09-09 00:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:20:51] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:20:51] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:21:08] local.INFO: TCP Data received {"connection_id":177753,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:21:08] local.INFO: Processing buffer {"connection_id":177753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:21:08] local.INFO: Packet analysis {"connection_id":177753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:21:08] local.INFO: Extracted packet for processing {"connection_id":177753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21: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-09-09 00:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:21: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-09-09 00:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:21:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":177753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:21:08] local.INFO: GPS data processed {"connection_id":177753,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:21:08] local.INFO: Acknowledgment sent {"connection_id":177753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:21:23] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:21:23] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:21:23] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:21:23] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:21:23] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:21:23] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:21:31] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:21:31] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:21:31] local.INFO: IMEI packet received {"connection_id":174935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":174935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:21:36] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:21:36] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:21:36] local.INFO: IMEI packet received {"connection_id":174935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":174935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:21:37] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:21:37] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:21:37] local.INFO: Packet analysis {"connection_id":174935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:21:37] local.INFO: Extracted packet for processing {"connection_id":174935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21: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-09-09 00:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:21: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-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:21: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-09-09 00: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-09-09 00:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:21: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-09-09 00:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:21:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":174935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:21:37] local.INFO: GPS data processed {"connection_id":174935,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:21:37] local.INFO: Acknowledgment sent {"connection_id":174935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:21:40] local.INFO: TCP Data received {"connection_id":177755,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:21:40] local.INFO: Processing buffer {"connection_id":177755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:21:40] local.INFO: IMEI packet received {"connection_id":177755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":177755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:21:45] local.INFO: TCP Data received {"connection_id":177755,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:21:45] local.INFO: Processing buffer {"connection_id":177755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:21:45] local.INFO: IMEI packet received {"connection_id":177755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":177755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:21:47] local.INFO: TCP Data received {"connection_id":177755,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:21:47] local.INFO: Processing buffer {"connection_id":177755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:21:47] local.INFO: Packet analysis {"connection_id":177755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:21:47] local.INFO: Extracted packet for processing {"connection_id":177755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:21:47] 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-09-09 00:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":177755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:21:47] local.INFO: GPS data processed {"connection_id":177755,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:21:47] local.INFO: Acknowledgment sent {"connection_id":177755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:22:08] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:22:08] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:22:08] local.INFO: Packet analysis {"connection_id":174935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:22:08] local.INFO: Extracted packet for processing {"connection_id":174935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22: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-09-09 00:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:22: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-09-09 00: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-09-09 00:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:22: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-09-09 00:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:22:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":174935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:22:08] local.INFO: GPS data processed {"connection_id":174935,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:22:08] local.INFO: Acknowledgment sent {"connection_id":174935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:22:19] local.INFO: TCP Data received {"connection_id":177755,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:22:19] local.INFO: Processing buffer {"connection_id":177755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:22:19] local.INFO: Packet analysis {"connection_id":177755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:22:19] local.INFO: Extracted packet for processing {"connection_id":177755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:22:19] 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-09-09 00:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:22:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":177755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:22:19] local.INFO: GPS data processed {"connection_id":177755,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:22:19] local.INFO: Acknowledgment sent {"connection_id":177755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:22:31] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:22:31] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:22:31] local.INFO: IMEI packet received {"connection_id":176283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":176283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:22:36] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:22:36] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:22:36] local.INFO: IMEI packet received {"connection_id":176283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":176283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:22:37] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:22:37] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:22:37] local.INFO: Packet analysis {"connection_id":176283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:22:37] local.INFO: Extracted packet for processing {"connection_id":176283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22: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-09-09 00:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:22: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-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:22: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-09-09 00: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-09-09 00:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:22:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":176283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:22:37] local.INFO: GPS data processed {"connection_id":176283,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:22:37] local.INFO: Acknowledgment sent {"connection_id":176283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:22:40] local.INFO: TCP Data received {"connection_id":175195,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:22:40] local.INFO: Processing buffer {"connection_id":175195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:22:40] local.INFO: IMEI packet received {"connection_id":175195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":175195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:22:45] local.INFO: TCP Data received {"connection_id":175195,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:22:45] local.INFO: Processing buffer {"connection_id":175195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:22:45] local.INFO: IMEI packet received {"connection_id":175195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":175195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:22:46] local.INFO: TCP Data received {"connection_id":175195,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:22:46] local.INFO: Processing buffer {"connection_id":175195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:22:46] local.INFO: Packet analysis {"connection_id":175195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:22:46] local.INFO: Extracted packet for processing {"connection_id":175195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:22:46] 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-09-09 00:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":175195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:22:46] local.INFO: GPS data processed {"connection_id":175195,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:22:46] local.INFO: Acknowledgment sent {"connection_id":175195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:23:08] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:23:08] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082592760012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:23:08] local.INFO: Packet analysis {"connection_id":176283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:23:08] local.INFO: Extracted packet for processing {"connection_id":176283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08259"} 
[2026-09-09 00:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956601600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23: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-09-09 00:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893276000,"timestamp_ms":1788893276000,"timestamp_seconds":1788893276,"priority":1,"record_length":96,"hex_timestamp":"000001a082592760"} 
[2026-09-09 00:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:23: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-09-09 00: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-09-09 00:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956601600001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956601600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:23:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956601600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":176283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:23:09] local.INFO: GPS data processed {"connection_id":176283,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:23:09] local.INFO: Acknowledgment sent {"connection_id":176283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:23:18] local.INFO: TCP Data received {"connection_id":175195,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:23:18] local.INFO: Processing buffer {"connection_id":175195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:23:18] local.INFO: Packet analysis {"connection_id":175195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:23:18] local.INFO: Extracted packet for processing {"connection_id":175195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:23:18] 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-09-09 00:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:23:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":175195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:23:18] local.INFO: GPS data processed {"connection_id":175195,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:23:18] local.INFO: Acknowledgment sent {"connection_id":175195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:23:31] local.INFO: TCP Data received {"connection_id":177757,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:23:31] local.INFO: Processing buffer {"connection_id":177757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:23:31] local.INFO: IMEI packet received {"connection_id":177757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":177757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:23:35] local.INFO: TCP Data received {"connection_id":177757,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:23:35] local.INFO: Processing buffer {"connection_id":177757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:23:35] local.INFO: IMEI packet received {"connection_id":177757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":177757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:23:36] local.INFO: TCP Data received {"connection_id":177757,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:23:36] local.INFO: Processing buffer {"connection_id":177757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:23:36] local.INFO: IMEI packet received {"connection_id":177757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":177757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:23:36] local.INFO: TCP Data received {"connection_id":177757,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:23:36] local.INFO: Processing buffer {"connection_id":177757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:23:36] local.INFO: Packet analysis {"connection_id":177757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:23:36] local.INFO: Extracted packet for processing {"connection_id":177757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:23:36] 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-09-09 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:23:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":177757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:23:36] local.INFO: GPS data processed {"connection_id":177757,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:23:36] local.INFO: Acknowledgment sent {"connection_id":177757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:23:40] local.INFO: TCP Data received {"connection_id":174936,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:23:40] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:23:40] local.INFO: IMEI packet received {"connection_id":174936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":174936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:23:45] local.INFO: TCP Data received {"connection_id":174936,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:23:45] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:23:45] local.INFO: IMEI packet received {"connection_id":174936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":174936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:23:46] local.INFO: TCP Data received {"connection_id":174936,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:23:46] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:23:46] local.INFO: Packet analysis {"connection_id":174936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:23:46] local.INFO: Extracted packet for processing {"connection_id":174936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:23:46] 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-09-09 00:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":174936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:23:46] local.INFO: GPS data processed {"connection_id":174936,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:23:46] local.INFO: Acknowledgment sent {"connection_id":174936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:24:07] local.INFO: TCP Data received {"connection_id":177757,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:24:07] local.INFO: Processing buffer {"connection_id":177757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:24:07] local.INFO: Packet analysis {"connection_id":177757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:24:07] local.INFO: Extracted packet for processing {"connection_id":177757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:24: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-09-09 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:24: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-09-09 00: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-09-09 00:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:24:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":177757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:24:07] local.INFO: GPS data processed {"connection_id":177757,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:24:07] local.INFO: Acknowledgment sent {"connection_id":177757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:24:13] local.INFO: TCP Data received {"connection_id":176284,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:24:13] local.INFO: Processing buffer {"connection_id":176284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:24:13] local.INFO: IMEI packet received {"connection_id":176284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":176284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:24:19] local.INFO: TCP Data received {"connection_id":174936,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:24:19] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:24:19] local.INFO: Packet analysis {"connection_id":174936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:24:19] local.INFO: Extracted packet for processing {"connection_id":174936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:24:19] 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-09-09 00: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-09-09 00:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:24:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":174936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:24:19] local.INFO: GPS data processed {"connection_id":174936,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:24:19] local.INFO: Acknowledgment sent {"connection_id":174936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:24:31] local.INFO: TCP Data received {"connection_id":177758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:24:31] local.INFO: Processing buffer {"connection_id":177758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:24:31] local.INFO: IMEI packet received {"connection_id":177758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":177758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:24:36] local.INFO: TCP Data received {"connection_id":177758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:24:36] local.INFO: Processing buffer {"connection_id":177758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:24:36] local.INFO: IMEI packet received {"connection_id":177758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":177758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:24:37] local.INFO: TCP Data received {"connection_id":177758,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:24:37] local.INFO: Processing buffer {"connection_id":177758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:24:37] local.INFO: Packet analysis {"connection_id":177758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:24:37] local.INFO: Extracted packet for processing {"connection_id":177758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24: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-09-09 00:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:24: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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:24: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-09-09 00: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-09-09 00:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:24: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-09-09 00:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:24:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":177758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:24:37] local.INFO: GPS data processed {"connection_id":177758,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:24:37] local.INFO: Acknowledgment sent {"connection_id":177758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:24:43] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:24:43] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:24:43] local.INFO: IMEI packet received {"connection_id":176286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":176286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:24:45] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:24:45] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:24:45] local.INFO: IMEI packet received {"connection_id":176285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":176285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:24:51] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:24:51] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:24:51] local.INFO: IMEI packet received {"connection_id":176285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":176285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:24:52] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:24:52] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:24:52] local.INFO: Packet analysis {"connection_id":176285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:24:52] local.INFO: Extracted packet for processing {"connection_id":176285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":176285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:24:52] local.INFO: GPS data processed {"connection_id":176285,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:24:52] local.INFO: Acknowledgment sent {"connection_id":176285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:24:56] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:24:56] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825afc20012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:24:56] local.INFO: Packet analysis {"connection_id":176285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:24:56] local.INFO: Extracted packet for processing {"connection_id":176285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825a"} 
[2026-09-09 00:24:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956632320001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788893396000,"timestamp_ms":1788893396000,"timestamp_seconds":1788893396,"priority":1,"record_length":96,"hex_timestamp":"000001a0825afc20"} 
[2026-09-09 00:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:24:56] 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-09-09 00: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-09-09 00:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956632320001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956632320001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:24:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:24:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956632320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":176285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:24:56] local.INFO: GPS data processed {"connection_id":176285,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:24:56] local.INFO: Acknowledgment sent {"connection_id":176285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:25:08] local.INFO: TCP Data received {"connection_id":177758,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:25:08] local.INFO: Processing buffer {"connection_id":177758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:25:08] local.INFO: Packet analysis {"connection_id":177758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:25:08] local.INFO: Extracted packet for processing {"connection_id":177758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:25: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-09-09 00:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:25:08] 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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:25: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-09-09 00: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-09-09 00:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:25: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-09-09 00:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:25:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":177758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:25:08] local.INFO: GPS data processed {"connection_id":177758,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:25:08] local.INFO: Acknowledgment sent {"connection_id":177758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:25:31] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:25:31] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:25:31] local.INFO: IMEI packet received {"connection_id":175196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":175196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:25:36] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:25:36] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:25:36] local.INFO: IMEI packet received {"connection_id":175196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":175196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:25:37] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:25:37] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:25:37] local.INFO: Packet analysis {"connection_id":175196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:25:37] local.INFO: Extracted packet for processing {"connection_id":175196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00: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-09-09 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:25: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-09-09 00: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-09-09 00:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:25: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-09-09 00:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:25:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":175196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:25:37] local.INFO: GPS data processed {"connection_id":175196,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:25:37] local.INFO: Acknowledgment sent {"connection_id":175196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:25:40] local.INFO: TCP Data received {"connection_id":175197,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:25:40] local.INFO: Processing buffer {"connection_id":175197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:25:40] local.INFO: IMEI packet received {"connection_id":175197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":175197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:25:45] local.INFO: TCP Data received {"connection_id":175197,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:25:45] local.INFO: Processing buffer {"connection_id":175197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:25:45] local.INFO: IMEI packet received {"connection_id":175197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":175197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:25:46] local.INFO: TCP Data received {"connection_id":175197,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:25:46] local.INFO: Processing buffer {"connection_id":175197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:25:46] local.INFO: Packet analysis {"connection_id":175197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:25:46] local.INFO: Extracted packet for processing {"connection_id":175197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":175197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:25:46] local.INFO: GPS data processed {"connection_id":175197,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:25:46] local.INFO: Acknowledgment sent {"connection_id":175197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:26:08] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:26:08] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:26:08] local.INFO: Packet analysis {"connection_id":175196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:26:08] local.INFO: Extracted packet for processing {"connection_id":175196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26: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-09-09 00:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:26:08] 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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:26: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-09-09 00: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-09-09 00:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:26: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-09-09 00:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:26:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":175196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:26:08] local.INFO: GPS data processed {"connection_id":175196,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:26:08] local.INFO: Acknowledgment sent {"connection_id":175196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:26:18] local.INFO: TCP Data received {"connection_id":175197,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:26:18] local.INFO: Processing buffer {"connection_id":175197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:26:18] local.INFO: Packet analysis {"connection_id":175197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:26:18] local.INFO: Extracted packet for processing {"connection_id":175197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:26:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":175197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:26:18] local.INFO: GPS data processed {"connection_id":175197,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:26:18] local.INFO: Acknowledgment sent {"connection_id":175197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:26:31] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:26:31] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:26:31] local.INFO: IMEI packet received {"connection_id":174937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":174937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:26:36] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:26:36] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:26:36] local.INFO: IMEI packet received {"connection_id":174937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":174937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:26:37] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:26:37] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:26:37] local.INFO: Packet analysis {"connection_id":174937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:26:37] local.INFO: Extracted packet for processing {"connection_id":174937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:26: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-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:26: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-09-09 00:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:26:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":174937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:26:37] local.INFO: GPS data processed {"connection_id":174937,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:26:37] local.INFO: Acknowledgment sent {"connection_id":174937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:26:40] local.INFO: TCP Data received {"connection_id":177760,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:26:40] local.INFO: Processing buffer {"connection_id":177760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:26:40] local.INFO: IMEI packet received {"connection_id":177760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":177760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:26:45] local.INFO: TCP Data received {"connection_id":177760,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:26:45] local.INFO: Processing buffer {"connection_id":177760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:26:45] local.INFO: IMEI packet received {"connection_id":177760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":177760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:26:46] local.INFO: TCP Data received {"connection_id":177760,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:26:46] local.INFO: Processing buffer {"connection_id":177760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:26:46] local.INFO: Packet analysis {"connection_id":177760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:26:46] local.INFO: Extracted packet for processing {"connection_id":177760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":177760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:26:46] local.INFO: GPS data processed {"connection_id":177760,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:26:46] local.INFO: Acknowledgment sent {"connection_id":177760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:27:08] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:27:08] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:27:08] local.INFO: Packet analysis {"connection_id":174937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:27:08] local.INFO: Extracted packet for processing {"connection_id":174937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27: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-09-09 00:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:27:08] 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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:27: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-09-09 00: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-09-09 00:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:27: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-09-09 00:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:27:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":174937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:27:08] local.INFO: GPS data processed {"connection_id":174937,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:27:08] local.INFO: Acknowledgment sent {"connection_id":174937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:27:17] local.INFO: TCP Data received {"connection_id":177760,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:27:17] local.INFO: Processing buffer {"connection_id":177760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:27:17] local.INFO: Packet analysis {"connection_id":177760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:27:17] local.INFO: Extracted packet for processing {"connection_id":177760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":177760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:27:17] local.INFO: GPS data processed {"connection_id":177760,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:27:17] local.INFO: Acknowledgment sent {"connection_id":177760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:27:36] local.INFO: TCP Data received {"connection_id":177762,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:27:36] local.INFO: Processing buffer {"connection_id":177762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:27:36] local.INFO: IMEI packet received {"connection_id":177762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":177762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:27:40] local.INFO: TCP Data received {"connection_id":176287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:27:40] local.INFO: Processing buffer {"connection_id":176287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:27:40] local.INFO: IMEI packet received {"connection_id":176287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":176287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:27:41] local.INFO: TCP Data received {"connection_id":177762,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:27:41] local.INFO: Processing buffer {"connection_id":177762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:27:41] local.INFO: IMEI packet received {"connection_id":177762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":177762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:27:41] local.INFO: TCP Data received {"connection_id":177762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:27:41] local.INFO: Processing buffer {"connection_id":177762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:27:41] local.INFO: Packet analysis {"connection_id":177762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:27:41] local.INFO: Extracted packet for processing {"connection_id":177762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27: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-09-09 00:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:27:41] 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-09-09 00:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:27: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-09-09 00:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:27: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-09-09 00:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:27:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":177762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:27:41] local.INFO: GPS data processed {"connection_id":177762,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:27:41] local.INFO: Acknowledgment sent {"connection_id":177762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:27:45] local.INFO: TCP Data received {"connection_id":176287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:27:45] local.INFO: Processing buffer {"connection_id":176287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:27:45] local.INFO: IMEI packet received {"connection_id":176287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":176287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:27:46] local.INFO: TCP Data received {"connection_id":177762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:27:46] local.INFO: Processing buffer {"connection_id":177762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825dbf28012d1965c0071fefb00040011129..."} 
[2026-09-09 00:27:46] local.INFO: Packet analysis {"connection_id":177762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:27:46] local.INFO: Extracted packet for processing {"connection_id":177762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825d"} 
[2026-09-09 00:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956678656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893577000,"timestamp_ms":1788893577000,"timestamp_seconds":1788893577,"priority":1,"record_length":96,"hex_timestamp":"000001a0825dbf28"} 
[2026-09-09 00:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:27:46] 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-09-09 00:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956678656001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956678656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:27:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956678656001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":177762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:27:46] local.INFO: GPS data processed {"connection_id":177762,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:27:46] local.INFO: Acknowledgment sent {"connection_id":177762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:27:46] local.INFO: TCP Data received {"connection_id":176287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:27:46] local.INFO: Processing buffer {"connection_id":176287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:27:46] local.INFO: Packet analysis {"connection_id":176287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:27:46] local.INFO: Extracted packet for processing {"connection_id":176287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":176287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:27:46] local.INFO: GPS data processed {"connection_id":176287,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:27:46] local.INFO: Acknowledgment sent {"connection_id":176287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:28:18] local.INFO: TCP Data received {"connection_id":176287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:28:18] local.INFO: Processing buffer {"connection_id":176287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:28:18] local.INFO: Packet analysis {"connection_id":176287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:28:18] local.INFO: Extracted packet for processing {"connection_id":176287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:28:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":176287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:28:18] local.INFO: GPS data processed {"connection_id":176287,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:28:18] local.INFO: Acknowledgment sent {"connection_id":176287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:28:31] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:28:31] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:28:31] local.INFO: IMEI packet received {"connection_id":176288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":176288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:28:36] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:28:36] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:28:36] local.INFO: IMEI packet received {"connection_id":176288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":176288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:28:37] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:28:37] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:28:37] local.INFO: Packet analysis {"connection_id":176288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:28:37] local.INFO: Extracted packet for processing {"connection_id":176288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28: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-09-09 00:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:28:37] 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-09-09 00:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:28: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-09-09 00:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:28:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":176288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:28:37] local.INFO: GPS data processed {"connection_id":176288,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:28:37] local.INFO: Acknowledgment sent {"connection_id":176288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:28:45] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:28:45] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:28:45] local.INFO: IMEI packet received {"connection_id":175198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":175198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:28:50] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:28:50] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:28:50] local.INFO: IMEI packet received {"connection_id":175198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":175198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:28:51] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:28:51] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:28:51] local.INFO: Packet analysis {"connection_id":175198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:28:51] local.INFO: Extracted packet for processing {"connection_id":175198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:28: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-09-09 00:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":175198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:28:51] local.INFO: GPS data processed {"connection_id":175198,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:28:51] local.INFO: Acknowledgment sent {"connection_id":175198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:28:56] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:28:56] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:28:56] local.INFO: Packet analysis {"connection_id":175198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:28:56] local.INFO: Extracted packet for processing {"connection_id":175198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:28:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:28:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":175198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:28:56] local.INFO: GPS data processed {"connection_id":175198,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:28:56] local.INFO: Acknowledgment sent {"connection_id":175198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:29:08] local.INFO: TCP Data received {"connection_id":176288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:29:08] local.INFO: Processing buffer {"connection_id":176288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:29:08] local.INFO: Packet analysis {"connection_id":176288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:29:08] local.INFO: Extracted packet for processing {"connection_id":176288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:29: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-09-09 00:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:29:08] 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-09-09 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:29:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":176288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:29:08] local.INFO: GPS data processed {"connection_id":176288,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:29:08] local.INFO: Acknowledgment sent {"connection_id":176288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:29:31] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:29:31] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:29:31] local.INFO: IMEI packet received {"connection_id":176290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":176290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:29:36] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:29:36] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:29:36] local.INFO: IMEI packet received {"connection_id":176290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":176290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:29:37] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:29:37] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:29:37] local.INFO: Packet analysis {"connection_id":176290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:29:37] local.INFO: Extracted packet for processing {"connection_id":176290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:29: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-09-09 00:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:29:37] 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-09-09 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:29: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-09-09 00:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:29: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-09-09 00:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:29:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":176290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:29:37] local.INFO: GPS data processed {"connection_id":176290,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:29:37] local.INFO: Acknowledgment sent {"connection_id":176290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:29:40] local.INFO: TCP Data received {"connection_id":175199,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:29:40] local.INFO: Processing buffer {"connection_id":175199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:29:40] local.INFO: IMEI packet received {"connection_id":175199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":175199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:29:45] local.INFO: TCP Data received {"connection_id":175199,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:29:45] local.INFO: Processing buffer {"connection_id":175199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:29:45] local.INFO: IMEI packet received {"connection_id":175199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":175199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:29:48] local.INFO: TCP Data received {"connection_id":177764,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:29:48] local.INFO: Processing buffer {"connection_id":177764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:29:48] local.INFO: IMEI packet received {"connection_id":177764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":177764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:29:48] local.INFO: TCP Data received {"connection_id":175199,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:29:48] local.INFO: Processing buffer {"connection_id":175199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:29:48] local.INFO: Packet analysis {"connection_id":175199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:29:48] local.INFO: Extracted packet for processing {"connection_id":175199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":175199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:29:48] local.INFO: GPS data processed {"connection_id":175199,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:29:48] local.INFO: Acknowledgment sent {"connection_id":175199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:30:08] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:30:08] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:30:08] local.INFO: Packet analysis {"connection_id":176290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:30:08] local.INFO: Extracted packet for processing {"connection_id":176290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30: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-09-09 00:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:30:08] 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-09-09 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:30: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-09-09 00:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:30:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":176290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:30:08] local.INFO: GPS data processed {"connection_id":176290,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:30:08] local.INFO: Acknowledgment sent {"connection_id":176290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:30:20] local.INFO: TCP Data received {"connection_id":175199,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:30:20] local.INFO: Processing buffer {"connection_id":175199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0825f93e8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:30:20] local.INFO: Packet analysis {"connection_id":175199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:30:20] local.INFO: Extracted packet for processing {"connection_id":175199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0825f"} 
[2026-09-09 00:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956709376001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788893697000,"timestamp_ms":1788893697000,"timestamp_seconds":1788893697,"priority":1,"record_length":96,"hex_timestamp":"000001a0825f93e8"} 
[2026-09-09 00:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956709376001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956709376001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:30:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956709376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":175199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:30:20] local.INFO: GPS data processed {"connection_id":175199,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:30:20] local.INFO: Acknowledgment sent {"connection_id":175199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:30:31] local.INFO: TCP Data received {"connection_id":177765,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:30:31] local.INFO: Processing buffer {"connection_id":177765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:30:31] local.INFO: IMEI packet received {"connection_id":177765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":177765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:30:36] local.INFO: TCP Data received {"connection_id":177765,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:30:36] local.INFO: Processing buffer {"connection_id":177765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:30:36] local.INFO: IMEI packet received {"connection_id":177765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":177765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:30:37] local.INFO: TCP Data received {"connection_id":177765,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:30:37] local.INFO: Processing buffer {"connection_id":177765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:30:37] local.INFO: Packet analysis {"connection_id":177765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:30:37] local.INFO: Extracted packet for processing {"connection_id":177765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:30:37] 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-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:30: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-09-09 00:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:30:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":177765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:30:37] local.INFO: GPS data processed {"connection_id":177765,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:30:37] local.INFO: Acknowledgment sent {"connection_id":177765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:30:40] local.INFO: TCP Data received {"connection_id":174938,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:30:40] local.INFO: Processing buffer {"connection_id":174938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:30:40] local.INFO: IMEI packet received {"connection_id":174938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":174938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:30:45] local.INFO: TCP Data received {"connection_id":174938,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:30:45] local.INFO: Processing buffer {"connection_id":174938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:30:45] local.INFO: IMEI packet received {"connection_id":174938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:30:47] local.INFO: TCP Data received {"connection_id":174938,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:30:47] local.INFO: Processing buffer {"connection_id":174938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:30:47] local.INFO: Packet analysis {"connection_id":174938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:30:47] local.INFO: Extracted packet for processing {"connection_id":174938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:30:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":174938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:30:47] local.INFO: GPS data processed {"connection_id":174938,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:30:47] local.INFO: Acknowledgment sent {"connection_id":174938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:31:08] local.INFO: TCP Data received {"connection_id":177765,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:31:08] local.INFO: Processing buffer {"connection_id":177765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:31:08] local.INFO: Packet analysis {"connection_id":177765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:31:08] local.INFO: Extracted packet for processing {"connection_id":177765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:31:08] 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-09-09 00: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":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:31: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-09-09 00:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:31:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":177765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:31:08] local.INFO: GPS data processed {"connection_id":177765,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:31:08] local.INFO: Acknowledgment sent {"connection_id":177765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:31:18] local.INFO: TCP Data received {"connection_id":174938,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:31:18] local.INFO: Processing buffer {"connection_id":174938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:31:18] local.INFO: Packet analysis {"connection_id":174938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:31:18] local.INFO: Extracted packet for processing {"connection_id":174938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:31:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":174938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:31:18] local.INFO: GPS data processed {"connection_id":174938,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:31:18] local.INFO: Acknowledgment sent {"connection_id":174938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:31:31] local.INFO: TCP Data received {"connection_id":177766,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:31:31] local.INFO: Processing buffer {"connection_id":177766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:31:31] local.INFO: IMEI packet received {"connection_id":177766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":177766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:31:36] local.INFO: TCP Data received {"connection_id":177766,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:31:36] local.INFO: Processing buffer {"connection_id":177766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:31:36] local.INFO: IMEI packet received {"connection_id":177766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":177766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:31:37] local.INFO: TCP Data received {"connection_id":177766,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:31:37] local.INFO: Processing buffer {"connection_id":177766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:31:37] local.INFO: Packet analysis {"connection_id":177766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:31:37] local.INFO: Extracted packet for processing {"connection_id":177766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:31:37] 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-09-09 00: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":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:31: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-09-09 00: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-09-09 00:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:31: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-09-09 00:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:31:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":177766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:31:37] local.INFO: GPS data processed {"connection_id":177766,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:31:37] local.INFO: Acknowledgment sent {"connection_id":177766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:31:40] local.INFO: TCP Data received {"connection_id":177767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:31:40] local.INFO: Processing buffer {"connection_id":177767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:31:40] local.INFO: IMEI packet received {"connection_id":177767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":177767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:31:45] local.INFO: TCP Data received {"connection_id":177767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:31:45] local.INFO: Processing buffer {"connection_id":177767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:31:45] local.INFO: IMEI packet received {"connection_id":177767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":177767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:31:47] local.INFO: TCP Data received {"connection_id":177767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:31:47] local.INFO: Processing buffer {"connection_id":177767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:31:47] local.INFO: Packet analysis {"connection_id":177767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:31:47] local.INFO: Extracted packet for processing {"connection_id":177767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":177767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:31:47] local.INFO: GPS data processed {"connection_id":177767,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:31:47] local.INFO: Acknowledgment sent {"connection_id":177767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:32:08] local.INFO: TCP Data received {"connection_id":177766,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:08] local.INFO: Processing buffer {"connection_id":177766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:08] local.INFO: Packet analysis {"connection_id":177766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:32:08] local.INFO: Extracted packet for processing {"connection_id":177766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:32:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32: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-09-09 00:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:32:08] 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-09-09 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:32: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-09-09 00:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:32:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:32:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":177766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:32:08] local.INFO: GPS data processed {"connection_id":177766,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:32:08] local.INFO: Acknowledgment sent {"connection_id":177766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:32:18] local.INFO: TCP Data received {"connection_id":177767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:32:18] local.INFO: Processing buffer {"connection_id":177767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:32:18] local.INFO: Packet analysis {"connection_id":177767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:32:18] local.INFO: Extracted packet for processing {"connection_id":177767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":177767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:32:18] local.INFO: GPS data processed {"connection_id":177767,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:32:18] local.INFO: Acknowledgment sent {"connection_id":177767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:32:36] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:32:36] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:32:36] local.INFO: IMEI packet received {"connection_id":174939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":174939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:32:40] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:32:40] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:32:40] local.INFO: IMEI packet received {"connection_id":175201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":175201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:32:41] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:32:41] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:32:41] local.INFO: IMEI packet received {"connection_id":174939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":174939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:32:42] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:42] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:42] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:32:42] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32: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-09-09 00:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:32:42] 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-09-09 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:32: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-09-09 00: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-09-09 00:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:32: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-09-09 00:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:32:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:32:42] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:32:42] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:32:45] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:32:45] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:32:45] local.INFO: IMEI packet received {"connection_id":175201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":175201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:32:46] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:32:46] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:32:46] local.INFO: Packet analysis {"connection_id":175201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:32:46] local.INFO: Extracted packet for processing {"connection_id":175201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":175201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:32:46] local.INFO: GPS data processed {"connection_id":175201,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:32:46] local.INFO: Acknowledgment sent {"connection_id":175201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:32:46] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:46] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:46] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:32:46] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:32:46] 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-09-09 00:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:32:46] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:32:46] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:32:51] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:51] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:32:51] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:32:51] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:32:51] 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-09-09 00:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:32:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:32:51] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:32:51] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:33:17] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:33:17] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:33:17] local.INFO: Packet analysis {"connection_id":175201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:33:17] local.INFO: Extracted packet for processing {"connection_id":175201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":175201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:33:17] local.INFO: GPS data processed {"connection_id":175201,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:33:17] local.INFO: Acknowledgment sent {"connection_id":175201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:33:31] local.INFO: TCP Data received {"connection_id":177769,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:33:31] local.INFO: Processing buffer {"connection_id":177769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:33:31] local.INFO: IMEI packet received {"connection_id":177769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":177769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:33:36] local.INFO: TCP Data received {"connection_id":177769,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:33:36] local.INFO: Processing buffer {"connection_id":177769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:33:36] local.INFO: IMEI packet received {"connection_id":177769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":177769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:33:37] local.INFO: TCP Data received {"connection_id":177769,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:33:37] local.INFO: Processing buffer {"connection_id":177769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826256f0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:33:37] local.INFO: Packet analysis {"connection_id":177769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:33:37] local.INFO: Extracted packet for processing {"connection_id":177769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08262"} 
[2026-09-09 00:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956755712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33: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-09-09 00:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788893878000,"timestamp_ms":1788893878000,"timestamp_seconds":1788893878,"priority":1,"record_length":96,"hex_timestamp":"000001a0826256f0"} 
[2026-09-09 00:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:33:37] 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-09-09 00:33: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-09-09 00:33: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-09-09 00:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:33: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-09-09 00:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956755712001,"66":2155,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956755712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:33:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956755712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":177769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:33:37] local.INFO: GPS data processed {"connection_id":177769,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:33:37] local.INFO: Acknowledgment sent {"connection_id":177769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:33:45] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:33:45] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:33:45] local.INFO: IMEI packet received {"connection_id":175203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":175203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:33:51] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:33:51] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:33:51] local.INFO: IMEI packet received {"connection_id":175203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":175203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:33:53] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:33:53] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:33:53] local.INFO: Packet analysis {"connection_id":175203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:33:53] local.INFO: Extracted packet for processing {"connection_id":175203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:33:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":175203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:33:53] local.INFO: GPS data processed {"connection_id":175203,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:33:53] local.INFO: Acknowledgment sent {"connection_id":175203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:33:56] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:33:56] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:33:56] local.INFO: Packet analysis {"connection_id":175203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:33:56] local.INFO: Extracted packet for processing {"connection_id":175203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:33:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:33:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:33:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":175203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:33:56] local.INFO: GPS data processed {"connection_id":175203,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:33:56] local.INFO: Acknowledgment sent {"connection_id":175203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:34:08] local.INFO: TCP Data received {"connection_id":177769,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:34:08] local.INFO: Processing buffer {"connection_id":177769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:34:08] local.INFO: Packet analysis {"connection_id":177769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:34:08] local.INFO: Extracted packet for processing {"connection_id":177769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:34: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-09-09 00:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:34: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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:34: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-09-09 00: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-09-09 00:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:34: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-09-09 00:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:34:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:34:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":177769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:34:08] local.INFO: GPS data processed {"connection_id":177769,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:34:08] local.INFO: Acknowledgment sent {"connection_id":177769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:34:31] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:34:31] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:34:31] local.INFO: IMEI packet received {"connection_id":176291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":176291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:34:36] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:34:36] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:34:36] local.INFO: IMEI packet received {"connection_id":176291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":176291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:34:37] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:34:37] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:34:37] local.INFO: Packet analysis {"connection_id":176291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:34:37] local.INFO: Extracted packet for processing {"connection_id":176291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:34: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-09-09 00:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:34: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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:34: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-09-09 00: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-09-09 00:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:34:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":176291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:34:37] local.INFO: GPS data processed {"connection_id":176291,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:34:37] local.INFO: Acknowledgment sent {"connection_id":176291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:34:40] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:34:40] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:34:40] local.INFO: IMEI packet received {"connection_id":176292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":176292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:34:45] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:34:45] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:34:45] local.INFO: IMEI packet received {"connection_id":176292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":176292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:34:47] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:34:47] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:34:47] local.INFO: Packet analysis {"connection_id":176292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:34:47] local.INFO: Extracted packet for processing {"connection_id":176292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":176292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:34:47] local.INFO: GPS data processed {"connection_id":176292,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:34:47] local.INFO: Acknowledgment sent {"connection_id":176292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:35:08] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:35:08] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:35:08] local.INFO: Packet analysis {"connection_id":176291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:35:08] local.INFO: Extracted packet for processing {"connection_id":176291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35: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-09-09 00:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:35: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-09-09 00:35: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-09-09 00:35: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-09-09 00:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:35:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:35:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":176291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:35:08] local.INFO: GPS data processed {"connection_id":176291,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:35:08] local.INFO: Acknowledgment sent {"connection_id":176291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:35:18] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:35:18] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082642bb0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:35:18] local.INFO: Packet analysis {"connection_id":176292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:35:18] local.INFO: Extracted packet for processing {"connection_id":176292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08264"} 
[2026-09-09 00:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956786432001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788893998000,"timestamp_ms":1788893998000,"timestamp_seconds":1788893998,"priority":1,"record_length":96,"hex_timestamp":"000001a082642bb0"} 
[2026-09-09 00:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956786432001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956786432001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:35:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956786432001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":176292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:35:18] local.INFO: GPS data processed {"connection_id":176292,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:35:18] local.INFO: Acknowledgment sent {"connection_id":176292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:35:23] local.INFO: TCP Data received {"connection_id":177770,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:35:23] local.INFO: Processing buffer {"connection_id":177770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:35:23] local.INFO: IMEI packet received {"connection_id":177770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":177770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:35:31] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:35:31] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:35:31] local.INFO: IMEI packet received {"connection_id":175205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":175205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:35:36] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:35:36] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:35:36] local.INFO: IMEI packet received {"connection_id":175205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":175205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:35:37] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:35:37] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:35:37] local.INFO: Packet analysis {"connection_id":175205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:35:37] local.INFO: Extracted packet for processing {"connection_id":175205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:35: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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:35: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-09-09 00: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-09-09 00:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:35:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":175205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:35:37] local.INFO: GPS data processed {"connection_id":175205,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:35:37] local.INFO: Acknowledgment sent {"connection_id":175205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:35:37] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:35:37] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:35:37] local.INFO: IMEI packet received {"connection_id":175206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":175206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:35:40] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:35:40] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:35:40] local.INFO: IMEI packet received {"connection_id":175206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":175206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:35:43] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:35:43] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:35:43] local.INFO: IMEI packet received {"connection_id":176293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":176293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:35:45] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:35:45] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:35:45] local.INFO: IMEI packet received {"connection_id":175206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":175206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:35:46] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:35:46] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:35:46] local.INFO: Packet analysis {"connection_id":175206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:35:46] local.INFO: Extracted packet for processing {"connection_id":175206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:35:46] 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-09-09 00:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":175206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:35:46] local.INFO: GPS data processed {"connection_id":175206,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:35:46] local.INFO: Acknowledgment sent {"connection_id":175206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:36:08] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:36:08] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:36:08] local.INFO: Packet analysis {"connection_id":175205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:36:08] local.INFO: Extracted packet for processing {"connection_id":175205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36: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-09-09 00:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:36: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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:36: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-09-09 00: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-09-09 00:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:36:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":175205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:36:08] local.INFO: GPS data processed {"connection_id":175205,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:36:08] local.INFO: Acknowledgment sent {"connection_id":175205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:36:18] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:36:18] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:36:18] local.INFO: Packet analysis {"connection_id":175206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:36:18] local.INFO: Extracted packet for processing {"connection_id":175206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:36:18] 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-09-09 00:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":175206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:36:18] local.INFO: GPS data processed {"connection_id":175206,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:36:18] local.INFO: Acknowledgment sent {"connection_id":175206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:36:36] local.INFO: TCP Data received {"connection_id":177771,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:36:36] local.INFO: Processing buffer {"connection_id":177771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:36:36] local.INFO: IMEI packet received {"connection_id":177771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":177771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:36:40] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:36:40] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:36:40] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:36:41] local.INFO: TCP Data received {"connection_id":177771,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:36:41] local.INFO: Processing buffer {"connection_id":177771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:36:41] local.INFO: IMEI packet received {"connection_id":177771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":177771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:36:42] local.INFO: TCP Data received {"connection_id":177771,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:36:42] local.INFO: Processing buffer {"connection_id":177771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:36:42] local.INFO: Packet analysis {"connection_id":177771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:36:42] local.INFO: Extracted packet for processing {"connection_id":177771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36: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-09-09 00:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:36:42] 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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:36:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":177771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:36:42] local.INFO: GPS data processed {"connection_id":177771,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:36:42] local.INFO: Acknowledgment sent {"connection_id":177771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:36:45] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:36:45] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:36:45] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:36:46] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:36:46] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:36:46] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:36:46] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:36:46] 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-09-09 00:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:36: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-09-09 00:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:36:46] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:36:46] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:36:46] local.INFO: TCP Data received {"connection_id":177771,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:36:46] local.INFO: Processing buffer {"connection_id":177771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:36:46] local.INFO: Packet analysis {"connection_id":177771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:36:46] local.INFO: Extracted packet for processing {"connection_id":177771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:36: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-09-09 00:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:36:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":177771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:36:46] local.INFO: GPS data processed {"connection_id":177771,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:36:46] local.INFO: Acknowledgment sent {"connection_id":177771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:37:17] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:37:17] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:37:17] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:37:17] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:37:17] 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-09-09 00:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:37: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-09-09 00:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:37:17] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:37:17] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:37:31] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:37:31] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:37:31] local.INFO: IMEI packet received {"connection_id":176294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":176294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:37:36] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:37:36] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:37:36] local.INFO: IMEI packet received {"connection_id":176294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":176294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:37:37] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:37:37] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:37:37] local.INFO: Packet analysis {"connection_id":176294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:37:37] local.INFO: Extracted packet for processing {"connection_id":176294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:37: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-09-09 00:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:37: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-09-09 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:37: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-09-09 00: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-09-09 00:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:37: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-09-09 00:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:37:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":176294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:37:37] local.INFO: GPS data processed {"connection_id":176294,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:37:37] local.INFO: Acknowledgment sent {"connection_id":176294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:37:40] local.INFO: TCP Data received {"connection_id":174942,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:37:40] local.INFO: Processing buffer {"connection_id":174942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:37:40] local.INFO: IMEI packet received {"connection_id":174942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":174942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:37:46] local.INFO: TCP Data received {"connection_id":174942,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:37:46] local.INFO: Processing buffer {"connection_id":174942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:37:46] local.INFO: IMEI packet received {"connection_id":174942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":174942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:37:47] local.INFO: TCP Data received {"connection_id":174942,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:37:47] local.INFO: Processing buffer {"connection_id":174942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:37:47] local.INFO: Packet analysis {"connection_id":174942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:37:47] local.INFO: Extracted packet for processing {"connection_id":174942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:37: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-09-09 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:37:47] 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-09-09 00: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-09-09 00:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":174942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:37:47] local.INFO: GPS data processed {"connection_id":174942,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:37:47] local.INFO: Acknowledgment sent {"connection_id":174942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:38:08] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:38:08] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:38:08] local.INFO: Packet analysis {"connection_id":176294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:38:08] local.INFO: Extracted packet for processing {"connection_id":176294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38: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-09-09 00:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:38: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-09-09 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 00:38: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-09-09 00:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:38: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-09-09 00:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:38:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":176294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:38:08] local.INFO: GPS data processed {"connection_id":176294,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:38:08] local.INFO: Acknowledgment sent {"connection_id":176294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:38:19] local.INFO: TCP Data received {"connection_id":174942,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:38:19] local.INFO: Processing buffer {"connection_id":174942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:38:19] local.INFO: Packet analysis {"connection_id":174942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:38:19] local.INFO: Extracted packet for processing {"connection_id":174942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:38:19] 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-09-09 00:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":174942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:38:19] local.INFO: GPS data processed {"connection_id":174942,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:38:19] local.INFO: Acknowledgment sent {"connection_id":174942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:38:31] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:38:31] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:38:31] local.INFO: IMEI packet received {"connection_id":176295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":176295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:38:36] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:38:36] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:38:36] local.INFO: IMEI packet received {"connection_id":176295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":176295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:38:37] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:38:37] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08266eeb8012d1965c0071fefb00040011129..."} 
[2026-09-09 00:38:37] local.INFO: Packet analysis {"connection_id":176295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:38:37] local.INFO: Extracted packet for processing {"connection_id":176295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08266"} 
[2026-09-09 00:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956832768001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894179000,"timestamp_ms":1788894179000,"timestamp_seconds":1788894179,"priority":1,"record_length":96,"hex_timestamp":"000001a08266eeb8"} 
[2026-09-09 00:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:38: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-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956832768001,"66":2144,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956832768001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:38:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956832768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":176295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:38:37] local.INFO: GPS data processed {"connection_id":176295,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:38:37] local.INFO: Acknowledgment sent {"connection_id":176295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:38:45] local.INFO: TCP Data received {"connection_id":175208,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:38:45] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:38:45] local.INFO: IMEI packet received {"connection_id":175208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":175208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:38:50] local.INFO: TCP Data received {"connection_id":175208,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:38:50] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:38:50] local.INFO: IMEI packet received {"connection_id":175208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":175208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:38:51] local.INFO: TCP Data received {"connection_id":175208,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:38:51] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:38:51] local.INFO: Packet analysis {"connection_id":175208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:38:51] local.INFO: Extracted packet for processing {"connection_id":175208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:38:51] 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-09-09 00:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:38:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":175208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:38:51] local.INFO: GPS data processed {"connection_id":175208,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:38:51] local.INFO: Acknowledgment sent {"connection_id":175208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:38:56] local.INFO: TCP Data received {"connection_id":175208,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:38:56] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:38:56] local.INFO: Packet analysis {"connection_id":175208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:38:56] local.INFO: Extracted packet for processing {"connection_id":175208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:38:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:38:56] 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-09-09 00:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:38:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:38:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":175208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:38:56] local.INFO: GPS data processed {"connection_id":175208,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:38:56] local.INFO: Acknowledgment sent {"connection_id":175208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:39:08] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:39:08] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:39:08] local.INFO: Packet analysis {"connection_id":176295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:39:08] local.INFO: Extracted packet for processing {"connection_id":176295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956909824001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:39: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-09-09 00:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894480000,"timestamp_ms":1788894480000,"timestamp_seconds":1788894480,"priority":1,"record_length":96,"hex_timestamp":"000001a0826b8680"} 
[2026-09-09 00:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956909824001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956909824001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:39:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956909824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":176295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:39:08] local.INFO: GPS data processed {"connection_id":176295,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:39:08] local.INFO: Acknowledgment sent {"connection_id":176295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:39:31] local.INFO: TCP Data received {"connection_id":174943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:39:31] local.INFO: Processing buffer {"connection_id":174943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:39:31] local.INFO: IMEI packet received {"connection_id":174943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":174943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:39:36] local.INFO: TCP Data received {"connection_id":174943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:39:36] local.INFO: Processing buffer {"connection_id":174943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:39:36] local.INFO: IMEI packet received {"connection_id":174943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":174943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:39:37] local.INFO: TCP Data received {"connection_id":174943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:39:37] local.INFO: Processing buffer {"connection_id":174943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:39:37] local.INFO: Packet analysis {"connection_id":174943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:39:37] local.INFO: Extracted packet for processing {"connection_id":174943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956909824001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:39: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-09-09 00:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894480000,"timestamp_ms":1788894480000,"timestamp_seconds":1788894480,"priority":1,"record_length":96,"hex_timestamp":"000001a0826b8680"} 
[2026-09-09 00:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:39: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-09-09 00:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:39: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-09-09 00:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956909824001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956909824001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:39:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956909824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":174943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:39:37] local.INFO: GPS data processed {"connection_id":174943,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:39:37] local.INFO: Acknowledgment sent {"connection_id":174943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:39:40] local.INFO: TCP Data received {"connection_id":177773,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:39:40] local.INFO: Processing buffer {"connection_id":177773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:39:40] local.INFO: IMEI packet received {"connection_id":177773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":177773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:39:45] local.INFO: TCP Data received {"connection_id":177773,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:39:45] local.INFO: Processing buffer {"connection_id":177773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:39:45] local.INFO: IMEI packet received {"connection_id":177773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":177773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:39:46] local.INFO: TCP Data received {"connection_id":177773,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:39:46] local.INFO: Processing buffer {"connection_id":177773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:39:46] local.INFO: Packet analysis {"connection_id":177773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:39:46] local.INFO: Extracted packet for processing {"connection_id":177773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:39:46] 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-09-09 00:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":177773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:39:46] local.INFO: GPS data processed {"connection_id":177773,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:39:46] local.INFO: Acknowledgment sent {"connection_id":177773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:40:08] local.INFO: TCP Data received {"connection_id":174943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:40:08] local.INFO: Processing buffer {"connection_id":174943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:40:08] local.INFO: Packet analysis {"connection_id":174943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:40:08] local.INFO: Extracted packet for processing {"connection_id":174943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956909824001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40: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-09-09 00:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894480000,"timestamp_ms":1788894480000,"timestamp_seconds":1788894480,"priority":1,"record_length":96,"hex_timestamp":"000001a0826b8680"} 
[2026-09-09 00:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:40: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-09-09 00:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956909824001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956909824001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:40:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956909824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":174943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:40:08] local.INFO: GPS data processed {"connection_id":174943,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:40:08] local.INFO: Acknowledgment sent {"connection_id":174943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:40:18] local.INFO: TCP Data received {"connection_id":177773,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:40:18] local.INFO: Processing buffer {"connection_id":177773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08268c378012d34c38006aa42c80005005d2f..."} 
[2026-09-09 00:40:18] local.INFO: Packet analysis {"connection_id":177773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:40:18] local.INFO: Extracted packet for processing {"connection_id":177773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08268"} 
[2026-09-09 00:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956863488001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788894299000,"timestamp_ms":1788894299000,"timestamp_seconds":1788894299,"priority":1,"record_length":96,"hex_timestamp":"000001a08268c378"} 
[2026-09-09 00:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 00:40:18] 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-09-09 00: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-09-09 00:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956863488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956863488001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956863488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":177773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:40:18] local.INFO: GPS data processed {"connection_id":177773,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:40:18] local.INFO: Acknowledgment sent {"connection_id":177773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:40:31] local.INFO: TCP Data received {"connection_id":176297,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:40:31] local.INFO: Processing buffer {"connection_id":176297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:40:31] local.INFO: IMEI packet received {"connection_id":176297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":176297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:40:36] local.INFO: TCP Data received {"connection_id":176297,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:40:36] local.INFO: Processing buffer {"connection_id":176297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:40:36] local.INFO: IMEI packet received {"connection_id":176297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":176297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:40:37] local.INFO: TCP Data received {"connection_id":176297,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:40:37] local.INFO: Processing buffer {"connection_id":176297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:40:37] local.INFO: Packet analysis {"connection_id":176297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:40:37] local.INFO: Extracted packet for processing {"connection_id":176297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956909824001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40: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-09-09 00:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894480000,"timestamp_ms":1788894480000,"timestamp_seconds":1788894480,"priority":1,"record_length":96,"hex_timestamp":"000001a0826b8680"} 
[2026-09-09 00:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:40: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-09-09 00:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956909824001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956909824001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:40:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956909824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":176297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:40:37] local.INFO: GPS data processed {"connection_id":176297,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:40:37] local.INFO: Acknowledgment sent {"connection_id":176297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:40:38] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:40:38] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:40:38] local.INFO: IMEI packet received {"connection_id":176298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":176298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:40:40] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:40:40] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:40:40] local.INFO: IMEI packet received {"connection_id":176298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":176298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:40:45] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:40:45] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:40:45] local.INFO: IMEI packet received {"connection_id":176298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":176298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:40:46] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:40:46] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:40:46] local.INFO: Packet analysis {"connection_id":176298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:40:46] local.INFO: Extracted packet for processing {"connection_id":176298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":176298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:40:46] local.INFO: GPS data processed {"connection_id":176298,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:40:46] local.INFO: Acknowledgment sent {"connection_id":176298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:41:08] local.INFO: TCP Data received {"connection_id":176297,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:41:08] local.INFO: Processing buffer {"connection_id":176297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:41:08] local.INFO: Packet analysis {"connection_id":176297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:41:08] local.INFO: Extracted packet for processing {"connection_id":176297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:41:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956909824001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41: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-09-09 00:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894480000,"timestamp_ms":1788894480000,"timestamp_seconds":1788894480,"priority":1,"record_length":96,"hex_timestamp":"000001a0826b8680"} 
[2026-09-09 00:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956909824001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956909824001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:41:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956909824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":176297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:41:08] local.INFO: GPS data processed {"connection_id":176297,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:41:08] local.INFO: Acknowledgment sent {"connection_id":176297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:41:08] local.INFO: TCP Data received {"connection_id":174944,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:41:08] local.INFO: Processing buffer {"connection_id":174944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:41:08] local.INFO: IMEI packet received {"connection_id":174944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":174944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:41:17] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:41:17] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:41:17] local.INFO: Packet analysis {"connection_id":176298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:41:17] local.INFO: Extracted packet for processing {"connection_id":176298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":176298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:41:17] local.INFO: GPS data processed {"connection_id":176298,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:41:17] local.INFO: Acknowledgment sent {"connection_id":176298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:41:31] local.INFO: TCP Data received {"connection_id":176299,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:41:31] local.INFO: Processing buffer {"connection_id":176299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:41:31] local.INFO: IMEI packet received {"connection_id":176299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":176299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:41:36] local.INFO: TCP Data received {"connection_id":176299,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:41:36] local.INFO: Processing buffer {"connection_id":176299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:41:36] local.INFO: IMEI packet received {"connection_id":176299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":176299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:41:37] local.INFO: TCP Data received {"connection_id":176299,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:41:37] local.INFO: Processing buffer {"connection_id":176299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:41:37] local.INFO: Packet analysis {"connection_id":176299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:41:37] local.INFO: Extracted packet for processing {"connection_id":176299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956909824001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894480000,"timestamp_ms":1788894480000,"timestamp_seconds":1788894480,"priority":1,"record_length":96,"hex_timestamp":"000001a0826b8680"} 
[2026-09-09 00:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:41: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-09-09 00: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-09-09 00:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:41: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-09-09 00:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956909824001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956909824001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:41:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956909824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":176299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:41:37] local.INFO: GPS data processed {"connection_id":176299,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:41:37] local.INFO: Acknowledgment sent {"connection_id":176299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:41:40] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:41:40] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:41:40] local.INFO: IMEI packet received {"connection_id":177774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":177774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:41:45] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:41:45] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:41:45] local.INFO: IMEI packet received {"connection_id":177774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":177774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:41:46] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:41:46] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:41:46] local.INFO: Packet analysis {"connection_id":177774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:41:46] local.INFO: Extracted packet for processing {"connection_id":177774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":177774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:41:46] local.INFO: GPS data processed {"connection_id":177774,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:41:46] local.INFO: Acknowledgment sent {"connection_id":177774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:42:08] local.INFO: TCP Data received {"connection_id":176299,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:42:08] local.INFO: Processing buffer {"connection_id":176299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:42:08] local.INFO: Packet analysis {"connection_id":176299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:42:08] local.INFO: Extracted packet for processing {"connection_id":176299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956909824001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894480000,"timestamp_ms":1788894480000,"timestamp_seconds":1788894480,"priority":1,"record_length":96,"hex_timestamp":"000001a0826b8680"} 
[2026-09-09 00:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956909824001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956909824001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:42:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956909824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":176299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:42:08] local.INFO: GPS data processed {"connection_id":176299,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:42:08] local.INFO: Acknowledgment sent {"connection_id":176299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:42:17] local.INFO: TCP Data received {"connection_id":177774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:42:17] local.INFO: Processing buffer {"connection_id":177774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:42:17] local.INFO: Packet analysis {"connection_id":177774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:42:17] local.INFO: Extracted packet for processing {"connection_id":177774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":177774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:42:17] local.INFO: GPS data processed {"connection_id":177774,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:42:17] local.INFO: Acknowledgment sent {"connection_id":177774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:42:31] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:42:31] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:42:31] local.INFO: IMEI packet received {"connection_id":175210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":175210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:42:36] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:42:36] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:42:36] local.INFO: IMEI packet received {"connection_id":175210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":175210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:42:37] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:42:37] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:42:37] local.INFO: Packet analysis {"connection_id":175210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:42:37] local.INFO: Extracted packet for processing {"connection_id":175210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956909824001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894480000,"timestamp_ms":1788894480000,"timestamp_seconds":1788894480,"priority":1,"record_length":96,"hex_timestamp":"000001a0826b8680"} 
[2026-09-09 00:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:42: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-09-09 00:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956909824001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956909824001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:42:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956909824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":175210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:42:37] local.INFO: GPS data processed {"connection_id":175210,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:42:37] local.INFO: Acknowledgment sent {"connection_id":175210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:42:40] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:42:40] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:42:40] local.INFO: IMEI packet received {"connection_id":176300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":176300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:42:45] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:42:45] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:42:45] local.INFO: IMEI packet received {"connection_id":176300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":176300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:42:46] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:42:46] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:42:46] local.INFO: Packet analysis {"connection_id":176300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:42:46] local.INFO: Extracted packet for processing {"connection_id":176300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":176300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:42:46] local.INFO: GPS data processed {"connection_id":176300,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:42:46] local.INFO: Acknowledgment sent {"connection_id":176300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:43:08] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:43:08] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826b8680012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:43:08] local.INFO: Packet analysis {"connection_id":175210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:43:08] local.INFO: Extracted packet for processing {"connection_id":175210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826b"} 
[2026-09-09 00:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956909824001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43: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-09-09 00:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894480000,"timestamp_ms":1788894480000,"timestamp_seconds":1788894480,"priority":1,"record_length":96,"hex_timestamp":"000001a0826b8680"} 
[2026-09-09 00:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 00:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956909824001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956909824001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:43:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956909824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":175210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:43:08] local.INFO: GPS data processed {"connection_id":175210,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:43:08] local.INFO: Acknowledgment sent {"connection_id":175210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:43:18] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:43:18] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:43:18] local.INFO: Packet analysis {"connection_id":176300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:43:18] local.INFO: Extracted packet for processing {"connection_id":176300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:43:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":176300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:43:18] local.INFO: GPS data processed {"connection_id":176300,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:43:18] local.INFO: Acknowledgment sent {"connection_id":176300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:43:36] local.INFO: TCP Data received {"connection_id":177775,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:43:36] local.INFO: Processing buffer {"connection_id":177775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:43:36] local.INFO: IMEI packet received {"connection_id":177775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":177775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:43:39] local.INFO: TCP Data received {"connection_id":177775,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:43:39] local.INFO: Processing buffer {"connection_id":177775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:43:39] local.INFO: IMEI packet received {"connection_id":177775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":177775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:43:40] local.INFO: TCP Data received {"connection_id":177775,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:43:40] local.INFO: Processing buffer {"connection_id":177775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:43:40] local.INFO: Packet analysis {"connection_id":177775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:43:40] local.INFO: Extracted packet for processing {"connection_id":177775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:43:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43: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-09-09 00:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:43: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-09-09 00:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:43: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-09-09 00:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:43:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:43:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":177775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:43:40] local.INFO: GPS data processed {"connection_id":177775,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:43:40] local.INFO: Acknowledgment sent {"connection_id":177775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:43:41] local.INFO: TCP Data received {"connection_id":177775,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:43:41] local.INFO: Processing buffer {"connection_id":177775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:43:41] local.INFO: Packet analysis {"connection_id":177775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:43:41] local.INFO: Extracted packet for processing {"connection_id":177775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:43: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-09-09 00:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:43: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-09-09 00:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:43: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-09-09 00:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:43:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":177775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:43:41] local.INFO: GPS data processed {"connection_id":177775,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:43:41] local.INFO: Acknowledgment sent {"connection_id":177775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:43:45] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:43:45] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:43:45] local.INFO: IMEI packet received {"connection_id":175212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":175212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:43:50] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:43:50] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:43:50] local.INFO: IMEI packet received {"connection_id":175212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":175212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:43:51] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:43:51] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:43:51] local.INFO: Packet analysis {"connection_id":175212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:43:51] local.INFO: Extracted packet for processing {"connection_id":175212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":175212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:43:51] local.INFO: GPS data processed {"connection_id":175212,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:43:51] local.INFO: Acknowledgment sent {"connection_id":175212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:43:55] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:43:55] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:43:55] local.INFO: Packet analysis {"connection_id":175212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:43:55] local.INFO: Extracted packet for processing {"connection_id":175212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:43:55] 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-09-09 00:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:43:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:43:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":175212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:43:55] local.INFO: GPS data processed {"connection_id":175212,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:43:55] local.INFO: Acknowledgment sent {"connection_id":175212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:44:12] local.INFO: TCP Data received {"connection_id":177775,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:44:12] local.INFO: Processing buffer {"connection_id":177775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:44:12] local.INFO: Packet analysis {"connection_id":177775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:44:12] local.INFO: Extracted packet for processing {"connection_id":177775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44: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-09-09 00:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:44: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-09-09 00: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-09-09 00:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:44: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-09-09 00:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:44:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":177775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:44:12] local.INFO: GPS data processed {"connection_id":177775,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:44:12] local.INFO: Acknowledgment sent {"connection_id":177775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:44:31] local.INFO: TCP Data received {"connection_id":176301,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:44:31] local.INFO: Processing buffer {"connection_id":176301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:44:31] local.INFO: IMEI packet received {"connection_id":176301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":176301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:44:36] local.INFO: TCP Data received {"connection_id":176301,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:44:36] local.INFO: Processing buffer {"connection_id":176301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:44:36] local.INFO: IMEI packet received {"connection_id":176301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":176301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:44:37] local.INFO: TCP Data received {"connection_id":176301,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:44:37] local.INFO: Processing buffer {"connection_id":176301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:44:37] local.INFO: Packet analysis {"connection_id":176301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:44:37] local.INFO: Extracted packet for processing {"connection_id":176301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44: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-09-09 00:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:44: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-09-09 00:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:44: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-09-09 00:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:44:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":176301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:44:37] local.INFO: GPS data processed {"connection_id":176301,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:44:37] local.INFO: Acknowledgment sent {"connection_id":176301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:44:40] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:44:40] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:44:40] local.INFO: IMEI packet received {"connection_id":176302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":176302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:44:45] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:44:45] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:44:45] local.INFO: IMEI packet received {"connection_id":176302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":176302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:44:46] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:44:46] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:44:46] local.INFO: Packet analysis {"connection_id":176302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:44:46] local.INFO: Extracted packet for processing {"connection_id":176302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":176302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:44:46] local.INFO: GPS data processed {"connection_id":176302,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:44:46] local.INFO: Acknowledgment sent {"connection_id":176302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:44:51] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:44:51] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:44:51] local.INFO: Packet analysis {"connection_id":176302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:44:51] local.INFO: Extracted packet for processing {"connection_id":176302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":176302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:44:51] local.INFO: GPS data processed {"connection_id":176302,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:44:51] local.INFO: Acknowledgment sent {"connection_id":176302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:45:08] local.INFO: TCP Data received {"connection_id":176301,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:45:08] local.INFO: Processing buffer {"connection_id":176301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:45:08] local.INFO: Packet analysis {"connection_id":176301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:45:08] local.INFO: Extracted packet for processing {"connection_id":176301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45: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-09-09 00:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:45: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-09-09 00: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-09-09 00:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:45: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-09-09 00:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:45:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":176301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:45:08] local.INFO: GPS data processed {"connection_id":176301,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:45:08] local.INFO: Acknowledgment sent {"connection_id":176301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:45:22] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:45:22] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0826d5b40012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:45:22] local.INFO: Packet analysis {"connection_id":176302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:45:22] local.INFO: Extracted packet for processing {"connection_id":176302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0826d"} 
[2026-09-09 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956940544001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788894600000,"timestamp_ms":1788894600000,"timestamp_seconds":1788894600,"priority":1,"record_length":96,"hex_timestamp":"000001a0826d5b40"} 
[2026-09-09 00:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 00:45:22] 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-09-09 00:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956940544001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956940544001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:45:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:45:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956940544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":176302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:45:22] local.INFO: GPS data processed {"connection_id":176302,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:45:22] local.INFO: Acknowledgment sent {"connection_id":176302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:45:32] local.INFO: TCP Data received {"connection_id":176303,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:45:32] local.INFO: Processing buffer {"connection_id":176303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:45:32] local.INFO: IMEI packet received {"connection_id":176303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":176303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:45:36] local.INFO: TCP Data received {"connection_id":176303,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:45:36] local.INFO: Processing buffer {"connection_id":176303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:45:36] local.INFO: IMEI packet received {"connection_id":176303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":176303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:45:37] local.INFO: TCP Data received {"connection_id":176303,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:45:37] local.INFO: Processing buffer {"connection_id":176303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:45:37] local.INFO: Packet analysis {"connection_id":176303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:45:37] local.INFO: Extracted packet for processing {"connection_id":176303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:45:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":176303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:45:37] local.INFO: GPS data processed {"connection_id":176303,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:45:37] local.INFO: Acknowledgment sent {"connection_id":176303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:45:39] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:45:39] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:45:39] local.INFO: IMEI packet received {"connection_id":175213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":175213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:45:40] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:45:40] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:45:40] local.INFO: IMEI packet received {"connection_id":175213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":175213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:45:45] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:45:45] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:45:45] local.INFO: IMEI packet received {"connection_id":175213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":175213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:45:46] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:45:46] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:45:46] local.INFO: Packet analysis {"connection_id":175213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:45:46] local.INFO: Extracted packet for processing {"connection_id":175213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":175213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:45:46] local.INFO: GPS data processed {"connection_id":175213,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:45:46] local.INFO: Acknowledgment sent {"connection_id":175213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:46:07] local.INFO: TCP Data received {"connection_id":176303,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:46:07] local.INFO: Processing buffer {"connection_id":176303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:46:07] local.INFO: Packet analysis {"connection_id":176303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:46:07] local.INFO: Extracted packet for processing {"connection_id":176303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:46: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-09-09 00:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:46: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-09-09 00:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:46:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":176303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:46:08] local.INFO: GPS data processed {"connection_id":176303,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:46:08] local.INFO: Acknowledgment sent {"connection_id":176303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:46:17] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:46:17] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:46:17] local.INFO: Packet analysis {"connection_id":175213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:46:17] local.INFO: Extracted packet for processing {"connection_id":175213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":175213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:46:17] local.INFO: GPS data processed {"connection_id":175213,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:46:17] local.INFO: Acknowledgment sent {"connection_id":175213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:46:31] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:46:31] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:46:31] local.INFO: IMEI packet received {"connection_id":176304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":176304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:46:36] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:46:36] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:46:36] local.INFO: IMEI packet received {"connection_id":176304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":176304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:46:37] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:46:37] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:46:37] local.INFO: Packet analysis {"connection_id":176304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:46:37] local.INFO: Extracted packet for processing {"connection_id":176304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:46: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-09-09 00: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-09-09 00:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:46: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-09-09 00:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:46:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":176304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:46:37] local.INFO: GPS data processed {"connection_id":176304,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:46:37] local.INFO: Acknowledgment sent {"connection_id":176304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:46:40] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:46:40] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:46:40] local.INFO: IMEI packet received {"connection_id":174947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":174947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:46:43] local.INFO: TCP Data received {"connection_id":177777,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:46:43] local.INFO: Processing buffer {"connection_id":177777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:46:43] local.INFO: IMEI packet received {"connection_id":177777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":177777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:46:45] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:46:46] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:46:46] local.INFO: IMEI packet received {"connection_id":174947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":174947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:46:47] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:46:47] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:46:47] local.INFO: Packet analysis {"connection_id":174947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:46:47] local.INFO: Extracted packet for processing {"connection_id":174947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":174947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:46:47] local.INFO: GPS data processed {"connection_id":174947,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:46:47] local.INFO: Acknowledgment sent {"connection_id":174947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:47:08] local.INFO: TCP Data received {"connection_id":176304,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:47:08] local.INFO: Processing buffer {"connection_id":176304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:47:08] local.INFO: Packet analysis {"connection_id":176304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:47:08] local.INFO: Extracted packet for processing {"connection_id":176304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47: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-09-09 00:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:47: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-09-09 00: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-09-09 00:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:47: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-09-09 00:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:47:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":176304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:47:08] local.INFO: GPS data processed {"connection_id":176304,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:47:08] local.INFO: Acknowledgment sent {"connection_id":176304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:47:18] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:47:18] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:47:18] local.INFO: Packet analysis {"connection_id":174947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:47:18] local.INFO: Extracted packet for processing {"connection_id":174947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":174947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:47:18] local.INFO: GPS data processed {"connection_id":174947,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:47:18] local.INFO: Acknowledgment sent {"connection_id":174947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:47:36] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:47:36] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:47:36] local.INFO: IMEI packet received {"connection_id":174948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":174948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:47:40] local.INFO: TCP Data received {"connection_id":176305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:47:40] local.INFO: Processing buffer {"connection_id":176305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:47:40] local.INFO: IMEI packet received {"connection_id":176305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":176305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:47:41] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:47:41] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:47:41] local.INFO: IMEI packet received {"connection_id":174948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":174948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:47:41] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:47:41] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:47:41] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:47:41] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:47: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-09-09 00:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:47: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-09-09 00:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:47:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:47:41] local.INFO: GPS data processed {"connection_id":174948,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:47:41] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:47:45] local.INFO: TCP Data received {"connection_id":176305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:47:45] local.INFO: Processing buffer {"connection_id":176305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:47:45] local.INFO: IMEI packet received {"connection_id":176305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":176305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:47:46] local.INFO: TCP Data received {"connection_id":176305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:47:46] local.INFO: Processing buffer {"connection_id":176305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:47:46] local.INFO: Packet analysis {"connection_id":176305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:47:46] local.INFO: Extracted packet for processing {"connection_id":176305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":176305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:47:46] local.INFO: GPS data processed {"connection_id":176305,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:47:46] local.INFO: Acknowledgment sent {"connection_id":176305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:47:46] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:47:46] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:47:46] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:47:46] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:47:46] local.INFO: GPS data processed {"connection_id":174948,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:47:46] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:48:17] local.INFO: TCP Data received {"connection_id":176305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:48:17] local.INFO: Processing buffer {"connection_id":176305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:48:17] local.INFO: Packet analysis {"connection_id":176305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:48:17] local.INFO: Extracted packet for processing {"connection_id":176305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":176305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:48:17] local.INFO: GPS data processed {"connection_id":176305,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:48:17] local.INFO: Acknowledgment sent {"connection_id":176305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:48:31] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:48:31] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:48:31] local.INFO: IMEI packet received {"connection_id":175215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":175215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:48:36] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:48:36] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:48:36] local.INFO: IMEI packet received {"connection_id":175215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":175215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:48:37] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:48:37] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082701e48012d1965c0071fefb00040011129..."} 
[2026-09-09 00:48:37] local.INFO: Packet analysis {"connection_id":175215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:48:37] local.INFO: Extracted packet for processing {"connection_id":175215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08270"} 
[2026-09-09 00:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956986880001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788894781000,"timestamp_ms":1788894781000,"timestamp_seconds":1788894781,"priority":1,"record_length":96,"hex_timestamp":"000001a082701e48"} 
[2026-09-09 00:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:48: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-09-09 00:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956986880001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956986880001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:48:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956986880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":175215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:48:37] local.INFO: GPS data processed {"connection_id":175215,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:48:37] local.INFO: Acknowledgment sent {"connection_id":175215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:48:40] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:48:40] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:48:40] local.INFO: IMEI packet received {"connection_id":174949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":174949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:48:45] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:48:45] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:48:45] local.INFO: IMEI packet received {"connection_id":174949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":174949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:48:46] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:48:46] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:48:46] local.INFO: Packet analysis {"connection_id":174949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:48:46] local.INFO: Extracted packet for processing {"connection_id":174949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":174949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:48:46] local.INFO: GPS data processed {"connection_id":174949,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:48:46] local.INFO: Acknowledgment sent {"connection_id":174949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:49:08] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:49:08] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:49:08] local.INFO: Packet analysis {"connection_id":175215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:49:08] local.INFO: Extracted packet for processing {"connection_id":175215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49: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-09-09 00:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:49:08] 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-09-09 00:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:49: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-09-09 00: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-09-09 00:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:49:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":175215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:49:08] local.INFO: GPS data processed {"connection_id":175215,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:49:08] local.INFO: Acknowledgment sent {"connection_id":175215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:49:17] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:49:17] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:49:17] local.INFO: Packet analysis {"connection_id":174949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:49:17] local.INFO: Extracted packet for processing {"connection_id":174949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:49:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":174949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:49:17] local.INFO: GPS data processed {"connection_id":174949,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:49:17] local.INFO: Acknowledgment sent {"connection_id":174949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:49:31] local.INFO: TCP Data received {"connection_id":174950,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:49:31] local.INFO: Processing buffer {"connection_id":174950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:49:31] local.INFO: IMEI packet received {"connection_id":174950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":174950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:49:36] local.INFO: TCP Data received {"connection_id":174950,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:49:36] local.INFO: Processing buffer {"connection_id":174950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:49:36] local.INFO: IMEI packet received {"connection_id":174950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":174950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:49:37] local.INFO: TCP Data received {"connection_id":174950,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:49:37] local.INFO: Processing buffer {"connection_id":174950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:49:37] local.INFO: Packet analysis {"connection_id":174950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:49:37] local.INFO: Extracted packet for processing {"connection_id":174950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:49:37] 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-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:49: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-09-09 00: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-09-09 00:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:49:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":174950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:49:37] local.INFO: GPS data processed {"connection_id":174950,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:49:37] local.INFO: Acknowledgment sent {"connection_id":174950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:49:40] local.INFO: TCP Data received {"connection_id":177779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:49:40] local.INFO: Processing buffer {"connection_id":177779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:49:40] local.INFO: IMEI packet received {"connection_id":177779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":177779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:49:45] local.INFO: TCP Data received {"connection_id":177779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:49:45] local.INFO: Processing buffer {"connection_id":177779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:49:45] local.INFO: IMEI packet received {"connection_id":177779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":177779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:49:46] local.INFO: TCP Data received {"connection_id":177779,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:49:46] local.INFO: Processing buffer {"connection_id":177779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:49:46] local.INFO: Packet analysis {"connection_id":177779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:49:46] local.INFO: Extracted packet for processing {"connection_id":177779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":177779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:49:46] local.INFO: GPS data processed {"connection_id":177779,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:49:46] local.INFO: Acknowledgment sent {"connection_id":177779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:50:08] local.INFO: TCP Data received {"connection_id":174950,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:50:08] local.INFO: Processing buffer {"connection_id":174950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:50:08] local.INFO: Packet analysis {"connection_id":174950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:50:08] local.INFO: Extracted packet for processing {"connection_id":174950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50: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-09-09 00:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:50:08] 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-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:50: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-09-09 00: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-09-09 00:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:50:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":174950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:50:08] local.INFO: GPS data processed {"connection_id":174950,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:50:08] local.INFO: Acknowledgment sent {"connection_id":174950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:50:17] local.INFO: TCP Data received {"connection_id":177779,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:50:17] local.INFO: Processing buffer {"connection_id":177779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08271f308012d34c38006aa42c80005005d2e..."} 
[2026-09-09 00:50:17] local.INFO: Packet analysis {"connection_id":177779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:50:17] local.INFO: Extracted packet for processing {"connection_id":177779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08271"} 
[2026-09-09 00:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957017600001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788894901000,"timestamp_ms":1788894901000,"timestamp_seconds":1788894901,"priority":1,"record_length":96,"hex_timestamp":"000001a08271f308"} 
[2026-09-09 00:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 00:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957017600001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957017600001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957017600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":177779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:50:17] local.INFO: GPS data processed {"connection_id":177779,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:50:17] local.INFO: Acknowledgment sent {"connection_id":177779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:50:31] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:50:31] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:50:31] local.INFO: IMEI packet received {"connection_id":175216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":175216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:50:36] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:50:36] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:50:36] local.INFO: IMEI packet received {"connection_id":175216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":175216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:50:37] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:50:37] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:50:37] local.INFO: Packet analysis {"connection_id":175216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:50:37] local.INFO: Extracted packet for processing {"connection_id":175216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:50:37] 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-09-09 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:50: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-09-09 00: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-09-09 00:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:50:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":175216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:50:37] local.INFO: GPS data processed {"connection_id":175216,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:50:37] local.INFO: Acknowledgment sent {"connection_id":175216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:50:50] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:50:50] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:50:50] local.INFO: IMEI packet received {"connection_id":174951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":174951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:50:55] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:50:55] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:50:55] local.INFO: IMEI packet received {"connection_id":174951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":174951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:50:56] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:50:56] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:50:56] local.INFO: Packet analysis {"connection_id":174951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:50:56] local.INFO: Extracted packet for processing {"connection_id":174951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:50:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957094656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788895202000,"timestamp_ms":1788895202000,"timestamp_seconds":1788895202,"priority":1,"record_length":96,"hex_timestamp":"000001a082768ad0"} 
[2026-09-09 00:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957094656001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957094656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:50:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:50:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957094656001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":174951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:50:56] local.INFO: GPS data processed {"connection_id":174951,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:50:56] local.INFO: Acknowledgment sent {"connection_id":174951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:51:08] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:51:08] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:51:08] local.INFO: Packet analysis {"connection_id":175216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:51:08] local.INFO: Extracted packet for processing {"connection_id":175216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:51: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-09-09 00:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:51:08] 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-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:51: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-09-09 00: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-09-09 00:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:51:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":175216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:51:08] local.INFO: GPS data processed {"connection_id":175216,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:51:08] local.INFO: Acknowledgment sent {"connection_id":175216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:51:31] local.INFO: TCP Data received {"connection_id":177781,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:51:31] local.INFO: Processing buffer {"connection_id":177781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:51:31] local.INFO: IMEI packet received {"connection_id":177781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":177781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:51:36] local.INFO: TCP Data received {"connection_id":177781,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:51:36] local.INFO: Processing buffer {"connection_id":177781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:51:36] local.INFO: IMEI packet received {"connection_id":177781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":177781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:51:37] local.INFO: TCP Data received {"connection_id":177781,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:51:37] local.INFO: Processing buffer {"connection_id":177781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:51:37] local.INFO: Packet analysis {"connection_id":177781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:51:37] local.INFO: Extracted packet for processing {"connection_id":177781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:51:37] 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-09-09 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:51: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-09-09 00: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-09-09 00:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:51:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":177781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:51:37] local.INFO: GPS data processed {"connection_id":177781,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:51:37] local.INFO: Acknowledgment sent {"connection_id":177781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:51:40] local.INFO: TCP Data received {"connection_id":177782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:51:40] local.INFO: Processing buffer {"connection_id":177782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:51:40] local.INFO: IMEI packet received {"connection_id":177782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":177782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:51:45] local.INFO: TCP Data received {"connection_id":177782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:51:45] local.INFO: Processing buffer {"connection_id":177782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:51:45] local.INFO: IMEI packet received {"connection_id":177782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":177782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:51:47] local.INFO: TCP Data received {"connection_id":177782,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:51:47] local.INFO: Processing buffer {"connection_id":177782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:51:47] local.INFO: Packet analysis {"connection_id":177782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:51:47] local.INFO: Extracted packet for processing {"connection_id":177782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957094656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788895202000,"timestamp_ms":1788895202000,"timestamp_seconds":1788895202,"priority":1,"record_length":96,"hex_timestamp":"000001a082768ad0"} 
[2026-09-09 00:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:51: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-09-09 00:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:51: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-09-09 00:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957094656001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957094656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957094656001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":177782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:51:47] local.INFO: GPS data processed {"connection_id":177782,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:51:47] local.INFO: Acknowledgment sent {"connection_id":177782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:52:08] local.INFO: TCP Data received {"connection_id":177781,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:52:08] local.INFO: Processing buffer {"connection_id":177781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:52:08] local.INFO: Packet analysis {"connection_id":177781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:52:08] local.INFO: Extracted packet for processing {"connection_id":177781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:52:08] 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-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:52:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":177781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:52:08] local.INFO: GPS data processed {"connection_id":177781,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:52:08] local.INFO: Acknowledgment sent {"connection_id":177781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:52:18] local.INFO: TCP Data received {"connection_id":177782,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:52:18] local.INFO: Processing buffer {"connection_id":177782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:52:18] local.INFO: Packet analysis {"connection_id":177782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:52:18] local.INFO: Extracted packet for processing {"connection_id":177782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957094656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895202000,"timestamp_ms":1788895202000,"timestamp_seconds":1788895202,"priority":1,"record_length":96,"hex_timestamp":"000001a082768ad0"} 
[2026-09-09 00:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957094656001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957094656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:52:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957094656001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":177782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:52:18] local.INFO: GPS data processed {"connection_id":177782,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:52:18] local.INFO: Acknowledgment sent {"connection_id":177782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:52:36] local.INFO: TCP Data received {"connection_id":176308,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:52:36] local.INFO: Processing buffer {"connection_id":176308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:52:36] local.INFO: IMEI packet received {"connection_id":176308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":176308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:52:41] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:52:41] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:52:41] local.INFO: IMEI packet received {"connection_id":175217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":175217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:52:41] local.INFO: TCP Data received {"connection_id":176308,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:52:41] local.INFO: Processing buffer {"connection_id":176308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:52:41] local.INFO: IMEI packet received {"connection_id":176308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:52:42] local.INFO: TCP Data received {"connection_id":176308,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:52:42] local.INFO: Processing buffer {"connection_id":176308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:52:42] local.INFO: Packet analysis {"connection_id":176308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:52:42] local.INFO: Extracted packet for processing {"connection_id":176308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52: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-09-09 00:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:52: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-09-09 00:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:52: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-09-09 00:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:52:42] 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-09-09 00:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"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-09-09 00:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:52:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":176308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:52:42] local.INFO: GPS data processed {"connection_id":176308,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:52:42] local.INFO: Acknowledgment sent {"connection_id":176308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:52:43] local.INFO: TCP Data received {"connection_id":175218,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:52:43] local.INFO: Processing buffer {"connection_id":175218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:52:43] local.INFO: IMEI packet received {"connection_id":175218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":175218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:52:45] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:52:45] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:52:45] local.INFO: IMEI packet received {"connection_id":175217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":175217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:52:46] local.INFO: TCP Data received {"connection_id":176308,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:52:46] local.INFO: Processing buffer {"connection_id":176308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:52:46] local.INFO: Packet analysis {"connection_id":176308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:52:46] local.INFO: Extracted packet for processing {"connection_id":176308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:52:46] 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-09-09 00:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:52:46] 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-09-09 00:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"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-09-09 00:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:52:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":176308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:52:46] local.INFO: GPS data processed {"connection_id":176308,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:52:46] local.INFO: Acknowledgment sent {"connection_id":176308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:52:48] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:52:48] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:52:48] local.INFO: Packet analysis {"connection_id":175217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:52:48] local.INFO: Extracted packet for processing {"connection_id":175217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957094656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788895202000,"timestamp_ms":1788895202000,"timestamp_seconds":1788895202,"priority":1,"record_length":96,"hex_timestamp":"000001a082768ad0"} 
[2026-09-09 00:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957094656001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957094656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957094656001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":175217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:52:48] local.INFO: GPS data processed {"connection_id":175217,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:52:48] local.INFO: Acknowledgment sent {"connection_id":175217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:53:19] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:53:19] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:53:19] local.INFO: Packet analysis {"connection_id":175217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:53:19] local.INFO: Extracted packet for processing {"connection_id":175217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957094656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788895202000,"timestamp_ms":1788895202000,"timestamp_seconds":1788895202,"priority":1,"record_length":96,"hex_timestamp":"000001a082768ad0"} 
[2026-09-09 00:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957094656001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957094656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957094656001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":175217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:53:19] local.INFO: GPS data processed {"connection_id":175217,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:53:19] local.INFO: Acknowledgment sent {"connection_id":175217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:53:31] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:53:31] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:53:31] local.INFO: IMEI packet received {"connection_id":175219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":175219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:53:36] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:53:36] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:53:36] local.INFO: IMEI packet received {"connection_id":175219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":175219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:53:37] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:53:37] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08274b610012d1965c0071fefb0004001112b..."} 
[2026-09-09 00:53:37] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:53:37] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08274"} 
[2026-09-09 00:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:53: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-09-09 00:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895082000,"timestamp_ms":1788895082000,"timestamp_seconds":1788895082,"priority":1,"record_length":96,"hex_timestamp":"000001a08274b610"} 
[2026-09-09 00:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:53:37] 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-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:53: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-09-09 00: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-09-09 00:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957063936001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:53:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957063936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:53:37] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:53:37] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:53:40] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:53:40] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:53:40] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:53:45] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:53:45] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:53:45] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:53:46] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:53:46] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:53:46] local.INFO: Packet analysis {"connection_id":176309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:53:46] local.INFO: Extracted packet for processing {"connection_id":176309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957094656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895202000,"timestamp_ms":1788895202000,"timestamp_seconds":1788895202,"priority":1,"record_length":96,"hex_timestamp":"000001a082768ad0"} 
[2026-09-09 00:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957094656001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957094656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957094656001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":176309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:53:46] local.INFO: GPS data processed {"connection_id":176309,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:53:46] local.INFO: Acknowledgment sent {"connection_id":176309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:54:08] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:54:08] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:54:08] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:54:08] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54: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-09-09 00:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:54: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-09-09 00:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:54:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:54:08] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:54:08] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:54:18] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:54:18] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:54:18] local.INFO: Packet analysis {"connection_id":176309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:54:18] local.INFO: Extracted packet for processing {"connection_id":176309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957094656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895202000,"timestamp_ms":1788895202000,"timestamp_seconds":1788895202,"priority":1,"record_length":96,"hex_timestamp":"000001a082768ad0"} 
[2026-09-09 00:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957094656001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957094656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957094656001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":176309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:54:18] local.INFO: GPS data processed {"connection_id":176309,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:54:18] local.INFO: Acknowledgment sent {"connection_id":176309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:54:31] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:54:31] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:54:31] local.INFO: IMEI packet received {"connection_id":174953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":174953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:54:36] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:54:36] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:54:36] local.INFO: IMEI packet received {"connection_id":174953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":174953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:54:37] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:54:37] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:54:37] local.INFO: Packet analysis {"connection_id":174953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:54:37] local.INFO: Extracted packet for processing {"connection_id":174953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:54: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-09-09 00: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-09-09 00:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:54:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":174953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:54:37] local.INFO: GPS data processed {"connection_id":174953,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:54:37] local.INFO: Acknowledgment sent {"connection_id":174953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:54:40] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:54:40] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:54:40] local.INFO: IMEI packet received {"connection_id":176310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":176310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:54:45] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:54:45] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:54:45] local.INFO: IMEI packet received {"connection_id":176310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":176310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:54:46] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:54:46] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:54:46] local.INFO: Packet analysis {"connection_id":176310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:54:46] local.INFO: Extracted packet for processing {"connection_id":176310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957094656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895202000,"timestamp_ms":1788895202000,"timestamp_seconds":1788895202,"priority":1,"record_length":96,"hex_timestamp":"000001a082768ad0"} 
[2026-09-09 00:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957094656001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957094656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957094656001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":176310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:54:46] local.INFO: GPS data processed {"connection_id":176310,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:54:46] local.INFO: Acknowledgment sent {"connection_id":176310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:55:08] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:55:08] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:55:08] local.INFO: Packet analysis {"connection_id":174953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:55:08] local.INFO: Extracted packet for processing {"connection_id":174953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55: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-09-09 00:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:55: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-09-09 00: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-09-09 00:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:55:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":174953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:55:08] local.INFO: GPS data processed {"connection_id":174953,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:55:08] local.INFO: Acknowledgment sent {"connection_id":174953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:55:18] local.INFO: TCP Data received {"connection_id":176310,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:55:18] local.INFO: Processing buffer {"connection_id":176310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082768ad0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 00:55:18] local.INFO: Packet analysis {"connection_id":176310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:55:18] local.INFO: Extracted packet for processing {"connection_id":176310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08276"} 
[2026-09-09 00:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957094656001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895202000,"timestamp_ms":1788895202000,"timestamp_seconds":1788895202,"priority":1,"record_length":96,"hex_timestamp":"000001a082768ad0"} 
[2026-09-09 00:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 00:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00: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-09-09 00:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957094656001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957094656001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:55:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957094656001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":176310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:55:18] local.INFO: GPS data processed {"connection_id":176310,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:55:18] local.INFO: Acknowledgment sent {"connection_id":176310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:55:31] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:55:31] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:55:31] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:55:36] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:55:36] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:55:36] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:55:37] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:55:37] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:55:37] local.INFO: Packet analysis {"connection_id":176311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:55:37] local.INFO: Extracted packet for processing {"connection_id":176311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55: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-09-09 00:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:55: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-09-09 00: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-09-09 00:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:55:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":176311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:55:37] local.INFO: GPS data processed {"connection_id":176311,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:55:37] local.INFO: Acknowledgment sent {"connection_id":176311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:55:40] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:55:40] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:55:40] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:55:41] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:55:41] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:55:41] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:55:45] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:55:45] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:55:45] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:55:46] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:55:46] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:55:46] local.INFO: Packet analysis {"connection_id":174954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:55:46] local.INFO: Extracted packet for processing {"connection_id":174954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 00:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":174954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:55:46] local.INFO: GPS data processed {"connection_id":174954,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:55:46] local.INFO: Acknowledgment sent {"connection_id":174954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:56:08] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:56:08] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:56:08] local.INFO: Packet analysis {"connection_id":176311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:56:08] local.INFO: Extracted packet for processing {"connection_id":176311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56: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-09-09 00:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:56: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-09-09 00: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-09-09 00:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:56:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:56:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":176311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:56:08] local.INFO: GPS data processed {"connection_id":176311,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:56:08] local.INFO: Acknowledgment sent {"connection_id":176311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:56:18] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:56:18] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:56:18] local.INFO: Packet analysis {"connection_id":174954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:56:18] local.INFO: Extracted packet for processing {"connection_id":174954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 00:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":174954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:56:18] local.INFO: GPS data processed {"connection_id":174954,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:56:18] local.INFO: Acknowledgment sent {"connection_id":174954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:56:31] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:56:31] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:56:31] local.INFO: IMEI packet received {"connection_id":176312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":176312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:56:36] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:56:36] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:56:36] local.INFO: IMEI packet received {"connection_id":176312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":176312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:56:37] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:56:37] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:56:37] local.INFO: Packet analysis {"connection_id":176312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:56:37] local.INFO: Extracted packet for processing {"connection_id":176312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:56:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":176312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:56:37] local.INFO: GPS data processed {"connection_id":176312,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:56:37] local.INFO: Acknowledgment sent {"connection_id":176312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:56:40] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:56:40] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:56:40] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:56:45] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:56:45] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:56:45] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:56:46] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:56:46] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:56:46] local.INFO: Packet analysis {"connection_id":176313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:56:46] local.INFO: Extracted packet for processing {"connection_id":176313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 00:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":176313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:56:46] local.INFO: GPS data processed {"connection_id":176313,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:56:46] local.INFO: Acknowledgment sent {"connection_id":176313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:57:08] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:57:08] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:57:08] local.INFO: Packet analysis {"connection_id":176312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:57:08] local.INFO: Extracted packet for processing {"connection_id":176312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57: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-09-09 00:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:57: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-09-09 00:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:57:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":176312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:57:08] local.INFO: GPS data processed {"connection_id":176312,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:57:08] local.INFO: Acknowledgment sent {"connection_id":176312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:57:18] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:57:18] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:57:18] local.INFO: Packet analysis {"connection_id":176313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:57:18] local.INFO: Extracted packet for processing {"connection_id":176313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 00:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:57:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":176313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:57:18] local.INFO: GPS data processed {"connection_id":176313,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:57:18] local.INFO: Acknowledgment sent {"connection_id":176313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:57:36] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:57:36] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:57:36] local.INFO: IMEI packet received {"connection_id":174955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":174955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:57:40] local.INFO: TCP Data received {"connection_id":174956,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:57:40] local.INFO: Processing buffer {"connection_id":174956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:57:40] local.INFO: IMEI packet received {"connection_id":174956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":174956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:57:41] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:57:41] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:57:41] local.INFO: IMEI packet received {"connection_id":174955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":174955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:57:41] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:57:41] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:57:41] local.INFO: Packet analysis {"connection_id":174955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:57:41] local.INFO: Extracted packet for processing {"connection_id":174955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57: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-09-09 00:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:57: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-09-09 00:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:57: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-09-09 00:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:57:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":174955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:57:41] local.INFO: GPS data processed {"connection_id":174955,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:57:41] local.INFO: Acknowledgment sent {"connection_id":174955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:57:45] local.INFO: TCP Data received {"connection_id":174956,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:57:45] local.INFO: Processing buffer {"connection_id":174956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:57:45] local.INFO: IMEI packet received {"connection_id":174956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":174956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:57:46] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:57:46] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:57:46] local.INFO: Packet analysis {"connection_id":174955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:57:46] local.INFO: Extracted packet for processing {"connection_id":174955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:57:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":174955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:57:46] local.INFO: GPS data processed {"connection_id":174955,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:57:46] local.INFO: Acknowledgment sent {"connection_id":174955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:57:46] local.INFO: TCP Data received {"connection_id":174956,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:57:46] local.INFO: Processing buffer {"connection_id":174956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:57:46] local.INFO: Packet analysis {"connection_id":174956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:57:46] local.INFO: Extracted packet for processing {"connection_id":174956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 00:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:57: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-09-09 00:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":174956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:57:46] local.INFO: GPS data processed {"connection_id":174956,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:57:46] local.INFO: Acknowledgment sent {"connection_id":174956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:58:08] local.INFO: TCP Data received {"connection_id":177786,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:58:08] local.INFO: Processing buffer {"connection_id":177786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:58:08] local.INFO: IMEI packet received {"connection_id":177786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":177786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:58:18] local.INFO: TCP Data received {"connection_id":174956,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:58:18] local.INFO: Processing buffer {"connection_id":174956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:58:18] local.INFO: Packet analysis {"connection_id":174956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:58:18] local.INFO: Extracted packet for processing {"connection_id":174956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 00:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:58: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-09-09 00:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":174956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:58:18] local.INFO: GPS data processed {"connection_id":174956,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:58:18] local.INFO: Acknowledgment sent {"connection_id":174956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:58:31] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:58:31] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:58:31] local.INFO: IMEI packet received {"connection_id":174957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":174957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:58:36] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:58:36] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:58:36] local.INFO: IMEI packet received {"connection_id":174957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":174957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:58:37] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:58:37] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082794dd8012d1965c0071fefb0004001112a..."} 
[2026-09-09 00:58:37] local.INFO: Packet analysis {"connection_id":174957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:58:37] local.INFO: Extracted packet for processing {"connection_id":174957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08279"} 
[2026-09-09 00:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957140992001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:58: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-09-09 00:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895383000,"timestamp_ms":1788895383000,"timestamp_seconds":1788895383,"priority":1,"record_length":96,"hex_timestamp":"000001a082794dd8"} 
[2026-09-09 00:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 00:58: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-09-09 00: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-09-09 00:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957140992001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957140992001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:58:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957140992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":174957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:58:37] local.INFO: GPS data processed {"connection_id":174957,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:58:37] local.INFO: Acknowledgment sent {"connection_id":174957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:58:40] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:58:40] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:58:40] local.INFO: IMEI packet received {"connection_id":175220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":175220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:58:43] local.INFO: TCP Data received {"connection_id":175221,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:58:43] local.INFO: Processing buffer {"connection_id":175221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 00:58:43] local.INFO: IMEI packet received {"connection_id":175221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 00:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":175221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:58:45] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:58:45] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:58:45] local.INFO: IMEI packet received {"connection_id":175220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":175220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:58:46] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:58:46] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:58:46] local.INFO: Packet analysis {"connection_id":175220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:58:46] local.INFO: Extracted packet for processing {"connection_id":175220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 00:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":175220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:58:46] local.INFO: GPS data processed {"connection_id":175220,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:58:46] local.INFO: Acknowledgment sent {"connection_id":175220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:59:07] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:59:07] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:59:07] local.INFO: Packet analysis {"connection_id":174957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 00:59:07] local.INFO: Extracted packet for processing {"connection_id":174957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 00:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957218048001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788895684000,"timestamp_ms":1788895684000,"timestamp_seconds":1788895684,"priority":1,"record_length":96,"hex_timestamp":"000001a0827de5a0"} 
[2026-09-09 00:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00: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-09-09 00:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957218048001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957218048001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:59:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957218048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":174957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:59:08] local.INFO: GPS data processed {"connection_id":174957,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:59:08] local.INFO: Acknowledgment sent {"connection_id":174957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:59:18] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:59:18] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:59:18] local.INFO: Packet analysis {"connection_id":175220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:59:18] local.INFO: Extracted packet for processing {"connection_id":175220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 00:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":175220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:59:18] local.INFO: GPS data processed {"connection_id":175220,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:59:18] local.INFO: Acknowledgment sent {"connection_id":175220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:59:32] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:59:32] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:59:32] local.INFO: IMEI packet received {"connection_id":176314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 00:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":176314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:59:36] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:59:36] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 00:59:36] local.INFO: IMEI packet received {"connection_id":176314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 00:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":176314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:59:37] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:59:37] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 00:59:37] local.INFO: Packet analysis {"connection_id":176314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 00:59:37] local.INFO: Extracted packet for processing {"connection_id":176314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 00:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957218048001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 00: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-09-09 00:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895684000,"timestamp_ms":1788895684000,"timestamp_seconds":1788895684,"priority":1,"record_length":96,"hex_timestamp":"000001a0827de5a0"} 
[2026-09-09 00:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00: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-09-09 00: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-09-09 00: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-09-09 00:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 00:59: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-09-09 00:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 00:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 00:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957218048001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 00:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 00:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 00:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957218048001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:59:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 00:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 00:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 00:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957218048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 00:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":176314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:59:37] local.INFO: GPS data processed {"connection_id":176314,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:59:37] local.INFO: Acknowledgment sent {"connection_id":176314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 00:59:40] local.INFO: TCP Data received {"connection_id":177787,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:59:40] local.INFO: Processing buffer {"connection_id":177787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:59:40] local.INFO: IMEI packet received {"connection_id":177787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 00:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":177787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 00:59:45] local.INFO: TCP Data received {"connection_id":177787,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:59:45] local.INFO: Processing buffer {"connection_id":177787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 00:59:45] local.INFO: IMEI packet received {"connection_id":177787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 00:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":177787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 00:59:46] local.INFO: TCP Data received {"connection_id":177787,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:59:46] local.INFO: Processing buffer {"connection_id":177787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 00:59:46] local.INFO: Packet analysis {"connection_id":177787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:59:46] local.INFO: Extracted packet for processing {"connection_id":177787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 00:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 00:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 00:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 00:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 00:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 00:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 00:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 00:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 00:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 00:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 00:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 00:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 00:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 00:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 00:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 00:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 00:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 00:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 00:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 00:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 00:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 00:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 00:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 00:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 00:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 00:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 00:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":177787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 00:59:46] local.INFO: GPS data processed {"connection_id":177787,"processed":1,"errors":0,"total":1} 
[2026-09-09 00:59:46] local.INFO: Acknowledgment sent {"connection_id":177787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:00:08] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:00:08] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:00:08] local.INFO: Packet analysis {"connection_id":176314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:00:08] local.INFO: Extracted packet for processing {"connection_id":176314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 01:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957218048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00: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-09-09 01:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895684000,"timestamp_ms":1788895684000,"timestamp_seconds":1788895684,"priority":1,"record_length":96,"hex_timestamp":"000001a0827de5a0"} 
[2026-09-09 01:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 01:00: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-09-09 01:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:00: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-09-09 01:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 01:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 01:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957218048001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 01:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 01:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 01:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957218048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:00:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 01:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 01:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 01:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957218048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 01:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":176314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:00:08] local.INFO: GPS data processed {"connection_id":176314,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:00:08] local.INFO: Acknowledgment sent {"connection_id":176314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:00:18] local.INFO: TCP Data received {"connection_id":177787,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 01:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 01:00:18] local.INFO: Processing buffer {"connection_id":177787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827b2298012d34c38006aa42c80005005d2b..."} 
[2026-09-09 01:00:18] local.INFO: Packet analysis {"connection_id":177787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 01:00:18] local.INFO: Extracted packet for processing {"connection_id":177787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827b"} 
[2026-09-09 01:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957171712001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895503000,"timestamp_ms":1788895503000,"timestamp_seconds":1788895503,"priority":1,"record_length":96,"hex_timestamp":"000001a0827b2298"} 
[2026-09-09 01:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 01:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957171712001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957171712001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:00:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957171712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":177787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:00:18] local.INFO: GPS data processed {"connection_id":177787,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:00:18] local.INFO: Acknowledgment sent {"connection_id":177787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:00:31] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:00:31] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:00:31] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 01:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:00:36] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:00:36] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:00:36] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 01:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:00:37] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:00:37] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:00:37] local.INFO: Packet analysis {"connection_id":175222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:00:37] local.INFO: Extracted packet for processing {"connection_id":175222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957218048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 01: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-09-09 01:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895684000,"timestamp_ms":1788895684000,"timestamp_seconds":1788895684,"priority":1,"record_length":96,"hex_timestamp":"000001a0827de5a0"} 
[2026-09-09 01:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01: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-09-09 01: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-09-09 01:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 01:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 01:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957218048001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 01:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 01:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 01:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957218048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:00:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 01:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 01:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 01:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957218048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 01:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":175222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:00:37] local.INFO: GPS data processed {"connection_id":175222,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:00:37] local.INFO: Acknowledgment sent {"connection_id":175222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:00:40] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:00:40] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:00:40] local.INFO: IMEI packet received {"connection_id":176315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":176315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:00:42] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:00:42] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:00:42] local.INFO: IMEI packet received {"connection_id":176315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":176315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:00:45] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:00:45] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:00:45] local.INFO: IMEI packet received {"connection_id":176315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":176315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:00:46] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:00:46] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:00:46] local.INFO: Packet analysis {"connection_id":176315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:00:46] local.INFO: Extracted packet for processing {"connection_id":176315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":176315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:00:46] local.INFO: GPS data processed {"connection_id":176315,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:00:46] local.INFO: Acknowledgment sent {"connection_id":176315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:01:08] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:01:08] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:01:08] local.INFO: Packet analysis {"connection_id":175222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:01:08] local.INFO: Extracted packet for processing {"connection_id":175222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957218048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01: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-09-09 01:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895684000,"timestamp_ms":1788895684000,"timestamp_seconds":1788895684,"priority":1,"record_length":96,"hex_timestamp":"000001a0827de5a0"} 
[2026-09-09 01:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 01:01: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-09-09 01: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-09-09 01:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 01:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 01:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957218048001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 01:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 01:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 01:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957218048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:01:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 01:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 01:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 01:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957218048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 01:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":175222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:01:08] local.INFO: GPS data processed {"connection_id":175222,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:01:08] local.INFO: Acknowledgment sent {"connection_id":175222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:01:18] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:01:18] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:01:18] local.INFO: Packet analysis {"connection_id":176315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:01:18] local.INFO: Extracted packet for processing {"connection_id":176315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:01:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":176315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:01:18] local.INFO: GPS data processed {"connection_id":176315,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:01:18] local.INFO: Acknowledgment sent {"connection_id":176315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:01:36] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:01:36] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:01:36] local.INFO: IMEI packet received {"connection_id":174959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 01:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":174959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:01:40] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:01:40] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:01:40] local.INFO: IMEI packet received {"connection_id":175223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":175223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:01:41] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:01:41] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:01:41] local.INFO: IMEI packet received {"connection_id":174959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 01:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":174959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:01:41] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:01:41] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:01:41] local.INFO: Packet analysis {"connection_id":174959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:01:41] local.INFO: Extracted packet for processing {"connection_id":174959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 01:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957218048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01: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-09-09 01:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788895684000,"timestamp_ms":1788895684000,"timestamp_seconds":1788895684,"priority":1,"record_length":96,"hex_timestamp":"000001a0827de5a0"} 
[2026-09-09 01:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 01:01: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-09-09 01:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:01: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-09-09 01:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 01:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 01:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957218048001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 01:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 01:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 01:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957218048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:01:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 01:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 01:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 01:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957218048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 01:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":174959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:01:41] local.INFO: GPS data processed {"connection_id":174959,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:01:41] local.INFO: Acknowledgment sent {"connection_id":174959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:01:45] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:01:45] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:01:45] local.INFO: IMEI packet received {"connection_id":175223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":175223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:01:46] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:01:46] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:01:46] local.INFO: Packet analysis {"connection_id":174959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:01:46] local.INFO: Extracted packet for processing {"connection_id":174959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 01:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957218048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895684000,"timestamp_ms":1788895684000,"timestamp_seconds":1788895684,"priority":1,"record_length":96,"hex_timestamp":"000001a0827de5a0"} 
[2026-09-09 01:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 01:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 01:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 01:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957218048001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 01:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 01:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 01:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957218048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:01:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 01:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 01:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 01:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957218048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 01:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":174959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:01:46] local.INFO: GPS data processed {"connection_id":174959,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:01:46] local.INFO: Acknowledgment sent {"connection_id":174959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:01:46] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:01:46] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:01:46] local.INFO: Packet analysis {"connection_id":175223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:01:46] local.INFO: Extracted packet for processing {"connection_id":175223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":175223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:01:46] local.INFO: GPS data processed {"connection_id":175223,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:01:46] local.INFO: Acknowledgment sent {"connection_id":175223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:02:18] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:02:18] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:02:18] local.INFO: Packet analysis {"connection_id":175223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:02:18] local.INFO: Extracted packet for processing {"connection_id":175223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:02:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":175223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:02:19] local.INFO: GPS data processed {"connection_id":175223,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:02:19] local.INFO: Acknowledgment sent {"connection_id":175223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:02:31] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:02:31] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:02:31] local.INFO: IMEI packet received {"connection_id":174961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 01:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":174961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:02:36] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:02:36] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 01:02:36] local.INFO: IMEI packet received {"connection_id":174961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 01:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":174961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:02:37] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:02:37] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:02:37] local.INFO: Packet analysis {"connection_id":174961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:02:37] local.INFO: Extracted packet for processing {"connection_id":174961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 01:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957218048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 01:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 01: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-09-09 01:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788895684000,"timestamp_ms":1788895684000,"timestamp_seconds":1788895684,"priority":1,"record_length":96,"hex_timestamp":"000001a0827de5a0"} 
[2026-09-09 01:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01: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-09-09 01:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:02:37] 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-09-09 01:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 01:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 01:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957218048001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"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-09-09 01:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 01:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 01:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957218048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:02:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 01:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 01:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 01:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957218048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 01:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":174961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:02:37] local.INFO: GPS data processed {"connection_id":174961,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:02:37] local.INFO: Acknowledgment sent {"connection_id":174961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:02:41] local.INFO: TCP Data received {"connection_id":176317,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:02:41] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:02:41] local.INFO: IMEI packet received {"connection_id":176317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":176317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:02:45] local.INFO: TCP Data received {"connection_id":176317,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:02:45] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:02:45] local.INFO: IMEI packet received {"connection_id":176317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":176317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:02:46] local.INFO: TCP Data received {"connection_id":176317,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:02:46] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:02:46] local.INFO: Packet analysis {"connection_id":176317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:02:46] local.INFO: Extracted packet for processing {"connection_id":176317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":176317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:02:46] local.INFO: GPS data processed {"connection_id":176317,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:02:46] local.INFO: Acknowledgment sent {"connection_id":176317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:03:08] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:03:08] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827de5a0012d1965c0071fefb00040011129..."} 
[2026-09-09 01:03:08] local.INFO: Packet analysis {"connection_id":174961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:03:08] local.INFO: Extracted packet for processing {"connection_id":174961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827d"} 
[2026-09-09 01:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533488,"longitude_deg":75.6639168,"latitude_deg":11.9533488,"altitude":64,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957218048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068362009083904,"note":"Value kept but may cause issues"} 
[2026-09-09 01:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429080576,"note":"Value kept but may cause issues"} 
[2026-09-09 01:03: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-09-09 01:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788895684000,"timestamp_ms":1788895684000,"timestamp_seconds":1788895684,"priority":1,"record_length":96,"hex_timestamp":"000001a0827de5a0"} 
[2026-09-09 01:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 01:03: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-09-09 01: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-09-09 01:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 01:03:08] 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-09-09 01:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 01:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 01:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957218048001,"66":2166,"102":206,"83":41984,"24":0,"16":19068362009083904,"45":1830079960429080576},"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-09-09 01:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 01:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 01:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957218048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:03:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 01:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 01:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068362009083904,"km_value":19068362009083.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429080576,"description":"Unknown IO ID 45"} 
[2026-09-09 01:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957218048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429080576}} 
[2026-09-09 01:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":174961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:03:08] local.INFO: GPS data processed {"connection_id":174961,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:03:08] local.INFO: Acknowledgment sent {"connection_id":174961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:03:18] local.INFO: TCP Data received {"connection_id":176317,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:03:18] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:03:18] local.INFO: Packet analysis {"connection_id":176317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:03:18] local.INFO: Extracted packet for processing {"connection_id":176317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":176317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:03:18] local.INFO: GPS data processed {"connection_id":176317,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:03:18] local.INFO: Acknowledgment sent {"connection_id":176317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:03:40] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:03:40] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:03:40] local.INFO: IMEI packet received {"connection_id":177789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":177789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:03:45] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:03:45] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:03:45] local.INFO: IMEI packet received {"connection_id":177789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":177789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:03:47] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:03:47] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:03:47] local.INFO: Packet analysis {"connection_id":177789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:03:47] local.INFO: Extracted packet for processing {"connection_id":177789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:03:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":177789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:03:47] local.INFO: GPS data processed {"connection_id":177789,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:03:47] local.INFO: Acknowledgment sent {"connection_id":177789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:04:13] local.INFO: TCP Data received {"connection_id":176318,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:04:13] local.INFO: Processing buffer {"connection_id":176318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:04:13] local.INFO: IMEI packet received {"connection_id":176318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":176318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:04:19] local.INFO: TCP Data received {"connection_id":177789,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:04:19] local.INFO: Processing buffer {"connection_id":177789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:04:19] local.INFO: Packet analysis {"connection_id":177789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:04:19] local.INFO: Extracted packet for processing {"connection_id":177789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:04:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":177789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:04:19] local.INFO: GPS data processed {"connection_id":177789,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:04:19] local.INFO: Acknowledgment sent {"connection_id":177789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:04:40] local.INFO: TCP Data received {"connection_id":175225,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:04:40] local.INFO: Processing buffer {"connection_id":175225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:04:40] local.INFO: IMEI packet received {"connection_id":175225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":175225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:04:43] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:04:43] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:04:43] local.INFO: IMEI packet received {"connection_id":175224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":175224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:04:45] local.INFO: TCP Data received {"connection_id":175225,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:04:45] local.INFO: Processing buffer {"connection_id":175225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:04:45] local.INFO: IMEI packet received {"connection_id":175225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":175225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:04:46] local.INFO: TCP Data received {"connection_id":175225,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:04:46] local.INFO: Processing buffer {"connection_id":175225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:04:46] local.INFO: Packet analysis {"connection_id":175225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:04:46] local.INFO: Extracted packet for processing {"connection_id":175225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":175225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:04:46] local.INFO: GPS data processed {"connection_id":175225,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:04:46] local.INFO: Acknowledgment sent {"connection_id":175225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:05:18] local.INFO: TCP Data received {"connection_id":175225,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:05:18] local.INFO: Processing buffer {"connection_id":175225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0827fba60012d34c38006aa42c80005005d2c..."} 
[2026-09-09 01:05:18] local.INFO: Packet analysis {"connection_id":175225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:05:18] local.INFO: Extracted packet for processing {"connection_id":175225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0827f"} 
[2026-09-09 01:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957248768001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788895804000,"timestamp_ms":1788895804000,"timestamp_seconds":1788895804,"priority":1,"record_length":96,"hex_timestamp":"000001a0827fba60"} 
[2026-09-09 01:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957248768001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957248768001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:05:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957248768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":175225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:05:18] local.INFO: GPS data processed {"connection_id":175225,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:05:18] local.INFO: Acknowledgment sent {"connection_id":175225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:05:40] local.INFO: TCP Data received {"connection_id":177790,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:05:40] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:05:40] local.INFO: IMEI packet received {"connection_id":177790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":177790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:05:43] local.INFO: TCP Data received {"connection_id":177790,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:05:43] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:05:43] local.INFO: IMEI packet received {"connection_id":177790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":177790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:05:45] local.INFO: TCP Data received {"connection_id":177790,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:05:45] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:05:45] local.INFO: IMEI packet received {"connection_id":177790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":177790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:05:46] local.INFO: TCP Data received {"connection_id":177790,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:05:46] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:05:46] local.INFO: Packet analysis {"connection_id":177790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:05:46] local.INFO: Extracted packet for processing {"connection_id":177790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":177790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:05:46] local.INFO: GPS data processed {"connection_id":177790,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:05:46] local.INFO: Acknowledgment sent {"connection_id":177790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:06:17] local.INFO: TCP Data received {"connection_id":177790,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:06:17] local.INFO: Processing buffer {"connection_id":177790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:06:17] local.INFO: Packet analysis {"connection_id":177790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:06:17] local.INFO: Extracted packet for processing {"connection_id":177790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":177790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:06:17] local.INFO: GPS data processed {"connection_id":177790,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:06:17] local.INFO: Acknowledgment sent {"connection_id":177790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:06:40] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:06:40] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:06:40] local.INFO: IMEI packet received {"connection_id":176319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":176319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:06:45] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:06:45] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:06:45] local.INFO: IMEI packet received {"connection_id":176319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":176319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:06:46] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:06:46] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:06:46] local.INFO: Packet analysis {"connection_id":176319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:06:46] local.INFO: Extracted packet for processing {"connection_id":176319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":176319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:06:46] local.INFO: GPS data processed {"connection_id":176319,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:06:46] local.INFO: Acknowledgment sent {"connection_id":176319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:07:18] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:07:18] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:07:18] local.INFO: Packet analysis {"connection_id":176319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:07:18] local.INFO: Extracted packet for processing {"connection_id":176319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:07:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":176319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:07:18] local.INFO: GPS data processed {"connection_id":176319,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:07:18] local.INFO: Acknowledgment sent {"connection_id":176319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:07:40] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:07:40] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:07:40] local.INFO: IMEI packet received {"connection_id":176320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":176320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:07:45] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:07:45] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:07:45] local.INFO: IMEI packet received {"connection_id":176320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":176320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:07:46] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:07:46] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:07:46] local.INFO: Packet analysis {"connection_id":176320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:07:46] local.INFO: Extracted packet for processing {"connection_id":176320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":176320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:07:46] local.INFO: GPS data processed {"connection_id":176320,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:07:46] local.INFO: Acknowledgment sent {"connection_id":176320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:08:19] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:08:19] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:08:19] local.INFO: Packet analysis {"connection_id":176320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:08:19] local.INFO: Extracted packet for processing {"connection_id":176320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:08:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":176320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:08:19] local.INFO: GPS data processed {"connection_id":176320,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:08:19] local.INFO: Acknowledgment sent {"connection_id":176320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:08:40] local.INFO: TCP Data received {"connection_id":177791,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:08:40] local.INFO: Processing buffer {"connection_id":177791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:08:40] local.INFO: IMEI packet received {"connection_id":177791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":177791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:08:45] local.INFO: TCP Data received {"connection_id":177791,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:08:45] local.INFO: Processing buffer {"connection_id":177791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:08:45] local.INFO: IMEI packet received {"connection_id":177791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":177791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:08:46] local.INFO: TCP Data received {"connection_id":177791,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:08:46] local.INFO: Processing buffer {"connection_id":177791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:08:46] local.INFO: Packet analysis {"connection_id":177791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:08:46] local.INFO: Extracted packet for processing {"connection_id":177791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":177791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:08:46] local.INFO: GPS data processed {"connection_id":177791,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:08:46] local.INFO: Acknowledgment sent {"connection_id":177791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:09:18] local.INFO: TCP Data received {"connection_id":177791,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:09:18] local.INFO: Processing buffer {"connection_id":177791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:09:18] local.INFO: Packet analysis {"connection_id":177791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:09:18] local.INFO: Extracted packet for processing {"connection_id":177791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:09:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":177791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:09:18] local.INFO: GPS data processed {"connection_id":177791,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:09:18] local.INFO: Acknowledgment sent {"connection_id":177791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:09:40] local.INFO: TCP Data received {"connection_id":177792,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:09:40] local.INFO: Processing buffer {"connection_id":177792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:09:40] local.INFO: IMEI packet received {"connection_id":177792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":177792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:09:45] local.INFO: TCP Data received {"connection_id":177792,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:09:45] local.INFO: Processing buffer {"connection_id":177792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:09:45] local.INFO: IMEI packet received {"connection_id":177792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":177792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:09:46] local.INFO: TCP Data received {"connection_id":177792,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:09:46] local.INFO: Processing buffer {"connection_id":177792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:09:46] local.INFO: Packet analysis {"connection_id":177792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:09:46] local.INFO: Extracted packet for processing {"connection_id":177792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":177792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:09:46] local.INFO: GPS data processed {"connection_id":177792,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:09:46] local.INFO: Acknowledgment sent {"connection_id":177792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:10:08] local.INFO: TCP Data received {"connection_id":175231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:10:08] local.INFO: Processing buffer {"connection_id":175231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:10:08] local.INFO: IMEI packet received {"connection_id":175231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":175231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:10:17] local.INFO: TCP Data received {"connection_id":177792,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:10:17] local.INFO: Processing buffer {"connection_id":177792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082845228012d34c38006aa42c80005005d28..."} 
[2026-09-09 01:10:17] local.INFO: Packet analysis {"connection_id":177792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:10:17] local.INFO: Extracted packet for processing {"connection_id":177792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08284"} 
[2026-09-09 01:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957325824001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788896105000,"timestamp_ms":1788896105000,"timestamp_seconds":1788896105,"priority":1,"record_length":96,"hex_timestamp":"000001a082845228"} 
[2026-09-09 01:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957325824001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957325824001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957325824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":177792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:10:17] local.INFO: GPS data processed {"connection_id":177792,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:10:17] local.INFO: Acknowledgment sent {"connection_id":177792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:10:40] local.INFO: TCP Data received {"connection_id":177793,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:10:40] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:10:40] local.INFO: IMEI packet received {"connection_id":177793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":177793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:10:43] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:10:43] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:10:43] local.INFO: IMEI packet received {"connection_id":175232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":175232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:10:44] local.INFO: TCP Data received {"connection_id":177793,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:10:44] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:10:44] local.INFO: IMEI packet received {"connection_id":177793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":177793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:10:45] local.INFO: TCP Data received {"connection_id":177793,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:10:45] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:10:45] local.INFO: IMEI packet received {"connection_id":177793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":177793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:10:46] local.INFO: TCP Data received {"connection_id":177793,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:10:46] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:10:46] local.INFO: Packet analysis {"connection_id":177793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:10:46] local.INFO: Extracted packet for processing {"connection_id":177793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":177793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:10:46] local.INFO: GPS data processed {"connection_id":177793,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:10:46] local.INFO: Acknowledgment sent {"connection_id":177793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:10:51] local.INFO: TCP Data received {"connection_id":177793,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:10:51] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:10:51] local.INFO: Packet analysis {"connection_id":177793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:10:51] local.INFO: Extracted packet for processing {"connection_id":177793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:10:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":177793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:10:51] local.INFO: GPS data processed {"connection_id":177793,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:10:51] local.INFO: Acknowledgment sent {"connection_id":177793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:11:24] local.INFO: TCP Data received {"connection_id":177793,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:11:24] local.INFO: Processing buffer {"connection_id":177793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:11:24] local.INFO: Packet analysis {"connection_id":177793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:11:24] local.INFO: Extracted packet for processing {"connection_id":177793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":177793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:11:24] local.INFO: GPS data processed {"connection_id":177793,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:11:24] local.INFO: Acknowledgment sent {"connection_id":177793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:11:40] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:11:40] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:11:40] local.INFO: IMEI packet received {"connection_id":175233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":175233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:11:45] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:11:45] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:11:45] local.INFO: IMEI packet received {"connection_id":175233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":175233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:11:46] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:11:46] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:11:46] local.INFO: Packet analysis {"connection_id":175233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:11:46] local.INFO: Extracted packet for processing {"connection_id":175233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:11: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-09-09 01:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":175233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:11:46] local.INFO: GPS data processed {"connection_id":175233,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:11:46] local.INFO: Acknowledgment sent {"connection_id":175233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:12:18] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:12:18] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:12:18] local.INFO: Packet analysis {"connection_id":175233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:12:18] local.INFO: Extracted packet for processing {"connection_id":175233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:12: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-09-09 01:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:12:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":175233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:12:18] local.INFO: GPS data processed {"connection_id":175233,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:12:18] local.INFO: Acknowledgment sent {"connection_id":175233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:12:40] local.INFO: TCP Data received {"connection_id":177794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:12:40] local.INFO: Processing buffer {"connection_id":177794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:12:40] local.INFO: IMEI packet received {"connection_id":177794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":177794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:12:45] local.INFO: TCP Data received {"connection_id":177794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:12:45] local.INFO: Processing buffer {"connection_id":177794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:12:45] local.INFO: IMEI packet received {"connection_id":177794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":177794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:12:46] local.INFO: TCP Data received {"connection_id":177794,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:12:46] local.INFO: Processing buffer {"connection_id":177794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:12:46] local.INFO: Packet analysis {"connection_id":177794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:12:46] local.INFO: Extracted packet for processing {"connection_id":177794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":177794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:12:46] local.INFO: GPS data processed {"connection_id":177794,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:12:46] local.INFO: Acknowledgment sent {"connection_id":177794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:13:20] local.INFO: TCP Data received {"connection_id":177794,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:13:20] local.INFO: Processing buffer {"connection_id":177794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:13:20] local.INFO: Packet analysis {"connection_id":177794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:13:20] local.INFO: Extracted packet for processing {"connection_id":177794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:13:20] 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-09-09 01:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":177794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:13:20] local.INFO: GPS data processed {"connection_id":177794,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:13:20] local.INFO: Acknowledgment sent {"connection_id":177794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:13:40] local.INFO: TCP Data received {"connection_id":174962,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:13:40] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:13:40] local.INFO: IMEI packet received {"connection_id":174962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":174962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:13:45] local.INFO: TCP Data received {"connection_id":174962,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:13:45] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:13:45] local.INFO: IMEI packet received {"connection_id":174962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":174962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:13:46] local.INFO: TCP Data received {"connection_id":174962,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:13:46] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:13:46] local.INFO: Packet analysis {"connection_id":174962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:13:46] local.INFO: Extracted packet for processing {"connection_id":174962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":174962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:13:46] local.INFO: GPS data processed {"connection_id":174962,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:13:46] local.INFO: Acknowledgment sent {"connection_id":174962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:14:19] local.INFO: TCP Data received {"connection_id":174962,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:14:19] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:14:19] local.INFO: Packet analysis {"connection_id":174962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:14:19] local.INFO: Extracted packet for processing {"connection_id":174962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":174962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:14:19] local.INFO: GPS data processed {"connection_id":174962,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:14:19] local.INFO: Acknowledgment sent {"connection_id":174962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:14:40] local.INFO: TCP Data received {"connection_id":174963,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:14:40] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:14:40] local.INFO: IMEI packet received {"connection_id":174963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":174963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:14:45] local.INFO: TCP Data received {"connection_id":174963,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:14:45] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:14:45] local.INFO: IMEI packet received {"connection_id":174963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":174963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:14:46] local.INFO: TCP Data received {"connection_id":174963,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:14:46] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:14:46] local.INFO: Packet analysis {"connection_id":174963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:14:46] local.INFO: Extracted packet for processing {"connection_id":174963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":174963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:14:46] local.INFO: GPS data processed {"connection_id":174963,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:14:46] local.INFO: Acknowledgment sent {"connection_id":174963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:15:18] local.INFO: TCP Data received {"connection_id":174963,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:15:18] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08288e9f0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:15:18] local.INFO: Packet analysis {"connection_id":174963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:15:18] local.INFO: Extracted packet for processing {"connection_id":174963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08288"} 
[2026-09-09 01:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957402880001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788896406000,"timestamp_ms":1788896406000,"timestamp_seconds":1788896406,"priority":1,"record_length":96,"hex_timestamp":"000001a08288e9f0"} 
[2026-09-09 01:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957402880001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957402880001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:15:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957402880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":174963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:15:18] local.INFO: GPS data processed {"connection_id":174963,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:15:18] local.INFO: Acknowledgment sent {"connection_id":174963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:15:40] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:15:40] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:15:40] local.INFO: IMEI packet received {"connection_id":176322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":176322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:15:45] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:15:45] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:15:45] local.INFO: IMEI packet received {"connection_id":176322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":176322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:15:46] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:15:46] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:15:46] local.INFO: Packet analysis {"connection_id":176322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:15:46] local.INFO: Extracted packet for processing {"connection_id":176322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":176322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:15:46] local.INFO: GPS data processed {"connection_id":176322,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:15:46] local.INFO: Acknowledgment sent {"connection_id":176322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:16:19] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:16:19] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:16:19] local.INFO: Packet analysis {"connection_id":176322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:16:19] local.INFO: Extracted packet for processing {"connection_id":176322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":176322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:16:19] local.INFO: GPS data processed {"connection_id":176322,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:16:19] local.INFO: Acknowledgment sent {"connection_id":176322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:16:20] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:16:20] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:16:20] local.INFO: IMEI packet received {"connection_id":174965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":174965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:16:40] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:16:40] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:16:40] local.INFO: IMEI packet received {"connection_id":176323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":176323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:16:43] local.INFO: TCP Data received {"connection_id":174966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:16:43] local.INFO: Processing buffer {"connection_id":174966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:16:43] local.INFO: IMEI packet received {"connection_id":174966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":174966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:16:45] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:16:45] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:16:45] local.INFO: IMEI packet received {"connection_id":176323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":176323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:16:47] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:16:47] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:16:47] local.INFO: Packet analysis {"connection_id":176323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:16:47] local.INFO: Extracted packet for processing {"connection_id":176323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:16: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-09-09 01:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":176323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:16:47] local.INFO: GPS data processed {"connection_id":176323,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:16:47] local.INFO: Acknowledgment sent {"connection_id":176323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:17:18] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:17:18] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:17:18] local.INFO: Packet analysis {"connection_id":176323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:17:18] local.INFO: Extracted packet for processing {"connection_id":176323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:17:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":176323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:17:18] local.INFO: GPS data processed {"connection_id":176323,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:17:18] local.INFO: Acknowledgment sent {"connection_id":176323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:17:41] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:17:41] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:17:41] local.INFO: IMEI packet received {"connection_id":176324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":176324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:17:45] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:17:45] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:17:45] local.INFO: IMEI packet received {"connection_id":176324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":176324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:17:46] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:17:46] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:17:46] local.INFO: Packet analysis {"connection_id":176324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:17:46] local.INFO: Extracted packet for processing {"connection_id":176324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":176324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:17:46] local.INFO: GPS data processed {"connection_id":176324,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:17:46] local.INFO: Acknowledgment sent {"connection_id":176324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:18:18] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:18:18] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:18:18] local.INFO: Packet analysis {"connection_id":176324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:18:18] local.INFO: Extracted packet for processing {"connection_id":176324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:18: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-09-09 01:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":176324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:18:18] local.INFO: GPS data processed {"connection_id":176324,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:18:18] local.INFO: Acknowledgment sent {"connection_id":176324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:18:40] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:18:40] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:18:40] local.INFO: IMEI packet received {"connection_id":176326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":176326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:18:45] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:18:45] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:18:45] local.INFO: IMEI packet received {"connection_id":176326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":176326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:18:46] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:18:46] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:18:46] local.INFO: Packet analysis {"connection_id":176326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:18:46] local.INFO: Extracted packet for processing {"connection_id":176326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:18:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":176326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:18:46] local.INFO: GPS data processed {"connection_id":176326,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:18:46] local.INFO: Acknowledgment sent {"connection_id":176326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:19:18] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:19:18] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:19:18] local.INFO: Packet analysis {"connection_id":176326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:19:18] local.INFO: Extracted packet for processing {"connection_id":176326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":176326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:19:18] local.INFO: GPS data processed {"connection_id":176326,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:19:18] local.INFO: Acknowledgment sent {"connection_id":176326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:19:40] local.INFO: TCP Data received {"connection_id":175236,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:19:40] local.INFO: Processing buffer {"connection_id":175236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:19:40] local.INFO: IMEI packet received {"connection_id":175236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":175236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:19:45] local.INFO: TCP Data received {"connection_id":175236,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:19:45] local.INFO: Processing buffer {"connection_id":175236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:19:45] local.INFO: IMEI packet received {"connection_id":175236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":175236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:19:46] local.INFO: TCP Data received {"connection_id":175236,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:19:46] local.INFO: Processing buffer {"connection_id":175236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:19:46] local.INFO: Packet analysis {"connection_id":175236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:19:46] local.INFO: Extracted packet for processing {"connection_id":175236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":175236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:19:46] local.INFO: GPS data processed {"connection_id":175236,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:19:46] local.INFO: Acknowledgment sent {"connection_id":175236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:20:17] local.INFO: TCP Data received {"connection_id":175236,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:20:17] local.INFO: Processing buffer {"connection_id":175236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:20:17] local.INFO: Packet analysis {"connection_id":175236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:20:17] local.INFO: Extracted packet for processing {"connection_id":175236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":175236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:20:17] local.INFO: GPS data processed {"connection_id":175236,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:20:17] local.INFO: Acknowledgment sent {"connection_id":175236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:20:40] local.INFO: TCP Data received {"connection_id":177797,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:20:40] local.INFO: Processing buffer {"connection_id":177797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:20:40] local.INFO: IMEI packet received {"connection_id":177797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":177797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:20:45] local.INFO: TCP Data received {"connection_id":177797,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:20:45] local.INFO: Processing buffer {"connection_id":177797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:20:45] local.INFO: IMEI packet received {"connection_id":177797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":177797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:20:47] local.INFO: TCP Data received {"connection_id":177797,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:20:47] local.INFO: Processing buffer {"connection_id":177797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0828d81b8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:20:47] local.INFO: Packet analysis {"connection_id":177797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:20:47] local.INFO: Extracted packet for processing {"connection_id":177797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0828d"} 
[2026-09-09 01:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957479936001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788896707000,"timestamp_ms":1788896707000,"timestamp_seconds":1788896707,"priority":1,"record_length":96,"hex_timestamp":"000001a0828d81b8"} 
[2026-09-09 01:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:20: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-09-09 01:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:20: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-09-09 01:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957479936001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957479936001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:20:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957479936001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":177797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:20:47] local.INFO: GPS data processed {"connection_id":177797,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:20:47] local.INFO: Acknowledgment sent {"connection_id":177797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:21:19] local.INFO: TCP Data received {"connection_id":177797,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:21:19] local.INFO: Processing buffer {"connection_id":177797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:21:19] local.INFO: Packet analysis {"connection_id":177797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:21:19] local.INFO: Extracted packet for processing {"connection_id":177797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":177797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:21:19] local.INFO: GPS data processed {"connection_id":177797,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:21:19] local.INFO: Acknowledgment sent {"connection_id":177797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:21:40] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:21:40] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:21:40] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:21:45] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:21:45] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:21:45] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:21:46] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:21:46] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:21:46] local.INFO: Packet analysis {"connection_id":175237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:21:46] local.INFO: Extracted packet for processing {"connection_id":175237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":175237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:21:46] local.INFO: GPS data processed {"connection_id":175237,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:21:46] local.INFO: Acknowledgment sent {"connection_id":175237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:22:08] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:22:08] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:22:08] local.INFO: IMEI packet received {"connection_id":175238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":175238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:22:19] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:22:19] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:22:19] local.INFO: Packet analysis {"connection_id":175237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:22:19] local.INFO: Extracted packet for processing {"connection_id":175237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:22:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":175237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:22:20] local.INFO: GPS data processed {"connection_id":175237,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:22:20] local.INFO: Acknowledgment sent {"connection_id":175237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:22:41] local.INFO: TCP Data received {"connection_id":177798,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:22:41] local.INFO: Processing buffer {"connection_id":177798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:22:41] local.INFO: IMEI packet received {"connection_id":177798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":177798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:22:43] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:22:43] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:22:43] local.INFO: IMEI packet received {"connection_id":176327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":176327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:22:45] local.INFO: TCP Data received {"connection_id":177798,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:22:45] local.INFO: Processing buffer {"connection_id":177798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:22:45] local.INFO: IMEI packet received {"connection_id":177798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":177798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:22:47] local.INFO: TCP Data received {"connection_id":177798,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:22:47] local.INFO: Processing buffer {"connection_id":177798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:22:47] local.INFO: Packet analysis {"connection_id":177798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:22:47] local.INFO: Extracted packet for processing {"connection_id":177798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:22: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-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":177798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:22:47] local.INFO: GPS data processed {"connection_id":177798,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:22:47] local.INFO: Acknowledgment sent {"connection_id":177798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:23:19] local.INFO: TCP Data received {"connection_id":177798,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:23:19] local.INFO: Processing buffer {"connection_id":177798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:23:19] local.INFO: Packet analysis {"connection_id":177798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:23:19] local.INFO: Extracted packet for processing {"connection_id":177798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":177798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:23:19] local.INFO: GPS data processed {"connection_id":177798,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:23:19] local.INFO: Acknowledgment sent {"connection_id":177798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:23:40] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:23:40] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:23:40] local.INFO: IMEI packet received {"connection_id":176328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":176328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:23:45] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:23:45] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:23:45] local.INFO: IMEI packet received {"connection_id":176328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":176328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:23:46] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:23:46] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:23:46] local.INFO: Packet analysis {"connection_id":176328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:23:46] local.INFO: Extracted packet for processing {"connection_id":176328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":176328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:23:46] local.INFO: GPS data processed {"connection_id":176328,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:23:46] local.INFO: Acknowledgment sent {"connection_id":176328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:24:18] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:24:18] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:24:18] local.INFO: Packet analysis {"connection_id":176328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:24:18] local.INFO: Extracted packet for processing {"connection_id":176328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":176328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:24:18] local.INFO: GPS data processed {"connection_id":176328,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:24:18] local.INFO: Acknowledgment sent {"connection_id":176328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:24:40] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:24:40] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:24:40] local.INFO: IMEI packet received {"connection_id":175239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":175239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:24:45] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:24:45] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:24:45] local.INFO: IMEI packet received {"connection_id":175239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":175239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:24:46] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:24:46] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:24:46] local.INFO: Packet analysis {"connection_id":175239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:24:46] local.INFO: Extracted packet for processing {"connection_id":175239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":175239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:24:46] local.INFO: GPS data processed {"connection_id":175239,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:24:46] local.INFO: Acknowledgment sent {"connection_id":175239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:25:17] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:25:17] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:25:17] local.INFO: Packet analysis {"connection_id":175239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:25:17] local.INFO: Extracted packet for processing {"connection_id":175239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":175239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:25:17] local.INFO: GPS data processed {"connection_id":175239,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:25:17] local.INFO: Acknowledgment sent {"connection_id":175239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:25:40] local.INFO: TCP Data received {"connection_id":174969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:25:40] local.INFO: Processing buffer {"connection_id":174969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:25:40] local.INFO: IMEI packet received {"connection_id":174969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":174969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:25:46] local.INFO: TCP Data received {"connection_id":174969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:25:46] local.INFO: Processing buffer {"connection_id":174969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:25:46] local.INFO: IMEI packet received {"connection_id":174969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":174969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:25:48] local.INFO: TCP Data received {"connection_id":174969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:25:48] local.INFO: Processing buffer {"connection_id":174969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082921980012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:25:48] local.INFO: Packet analysis {"connection_id":174969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:25:48] local.INFO: Extracted packet for processing {"connection_id":174969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08292"} 
[2026-09-09 01:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957556992001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788897008000,"timestamp_ms":1788897008000,"timestamp_seconds":1788897008,"priority":1,"record_length":96,"hex_timestamp":"000001a082921980"} 
[2026-09-09 01:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957556992001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957556992001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957556992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":174969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:25:48] local.INFO: GPS data processed {"connection_id":174969,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:25:48] local.INFO: Acknowledgment sent {"connection_id":174969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:26:19] local.INFO: TCP Data received {"connection_id":174969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:26:19] local.INFO: Processing buffer {"connection_id":174969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:26:19] local.INFO: Packet analysis {"connection_id":174969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:26:19] local.INFO: Extracted packet for processing {"connection_id":174969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:26:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":174969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:26:19] local.INFO: GPS data processed {"connection_id":174969,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:26:19] local.INFO: Acknowledgment sent {"connection_id":174969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:26:45] local.INFO: TCP Data received {"connection_id":177801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:26:45] local.INFO: Processing buffer {"connection_id":177801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:26:45] local.INFO: IMEI packet received {"connection_id":177801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":177801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:26:50] local.INFO: TCP Data received {"connection_id":177801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:26:50] local.INFO: Processing buffer {"connection_id":177801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:26:50] local.INFO: IMEI packet received {"connection_id":177801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":177801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:26:51] local.INFO: TCP Data received {"connection_id":177801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:26:51] local.INFO: Processing buffer {"connection_id":177801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:26:51] local.INFO: Packet analysis {"connection_id":177801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:26:51] local.INFO: Extracted packet for processing {"connection_id":177801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:26:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":177801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:26:51] local.INFO: GPS data processed {"connection_id":177801,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:26:51] local.INFO: Acknowledgment sent {"connection_id":177801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:26:56] local.INFO: TCP Data received {"connection_id":177801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:26:56] local.INFO: Processing buffer {"connection_id":177801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:26:56] local.INFO: Packet analysis {"connection_id":177801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:26:56] local.INFO: Extracted packet for processing {"connection_id":177801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:26:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:26:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":177801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:26:56] local.INFO: GPS data processed {"connection_id":177801,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:26:56] local.INFO: Acknowledgment sent {"connection_id":177801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:27:40] local.INFO: TCP Data received {"connection_id":174970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:27:40] local.INFO: Processing buffer {"connection_id":174970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:27:40] local.INFO: IMEI packet received {"connection_id":174970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":174970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:27:45] local.INFO: TCP Data received {"connection_id":174970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:27:45] local.INFO: Processing buffer {"connection_id":174970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:27:45] local.INFO: IMEI packet received {"connection_id":174970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":174970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:27:46] local.INFO: TCP Data received {"connection_id":174970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:27:46] local.INFO: Processing buffer {"connection_id":174970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:27:46] local.INFO: Packet analysis {"connection_id":174970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:27:46] local.INFO: Extracted packet for processing {"connection_id":174970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":174970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:27:46] local.INFO: GPS data processed {"connection_id":174970,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:27:46] local.INFO: Acknowledgment sent {"connection_id":174970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:28:08] local.INFO: TCP Data received {"connection_id":176330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:28:08] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:28:08] local.INFO: IMEI packet received {"connection_id":176330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":176330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:28:17] local.INFO: TCP Data received {"connection_id":174970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:28:17] local.INFO: Processing buffer {"connection_id":174970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:28:17] local.INFO: Packet analysis {"connection_id":174970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:28:17] local.INFO: Extracted packet for processing {"connection_id":174970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":174970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:28:17] local.INFO: GPS data processed {"connection_id":174970,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:28:17] local.INFO: Acknowledgment sent {"connection_id":174970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:28:41] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:28:41] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:28:41] local.INFO: IMEI packet received {"connection_id":174971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":174971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:28:43] local.INFO: TCP Data received {"connection_id":174972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:28:43] local.INFO: Processing buffer {"connection_id":174972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:28:43] local.INFO: IMEI packet received {"connection_id":174972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":174972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:28:45] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:28:45] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:28:45] local.INFO: IMEI packet received {"connection_id":174971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":174971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:28:46] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:28:46] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:28:46] local.INFO: Packet analysis {"connection_id":174971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:28:46] local.INFO: Extracted packet for processing {"connection_id":174971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":174971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:28:46] local.INFO: GPS data processed {"connection_id":174971,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:28:46] local.INFO: Acknowledgment sent {"connection_id":174971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:29:17] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:29:17] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:29:17] local.INFO: Packet analysis {"connection_id":174971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:29:17] local.INFO: Extracted packet for processing {"connection_id":174971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":174971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:29:17] local.INFO: GPS data processed {"connection_id":174971,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:29:17] local.INFO: Acknowledgment sent {"connection_id":174971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:29:40] local.INFO: TCP Data received {"connection_id":177803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:29:40] local.INFO: Processing buffer {"connection_id":177803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:29:40] local.INFO: IMEI packet received {"connection_id":177803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":177803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:29:45] local.INFO: TCP Data received {"connection_id":177803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:29:45] local.INFO: Processing buffer {"connection_id":177803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:29:45] local.INFO: IMEI packet received {"connection_id":177803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":177803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:29:46] local.INFO: TCP Data received {"connection_id":177803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:29:46] local.INFO: Processing buffer {"connection_id":177803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:29:46] local.INFO: Packet analysis {"connection_id":177803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:29:46] local.INFO: Extracted packet for processing {"connection_id":177803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":177803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:29:46] local.INFO: GPS data processed {"connection_id":177803,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:29:46] local.INFO: Acknowledgment sent {"connection_id":177803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:30:17] local.INFO: TCP Data received {"connection_id":177803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:30:17] local.INFO: Processing buffer {"connection_id":177803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:30:17] local.INFO: Packet analysis {"connection_id":177803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:30:17] local.INFO: Extracted packet for processing {"connection_id":177803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:30:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":177803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:30:17] local.INFO: GPS data processed {"connection_id":177803,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:30:17] local.INFO: Acknowledgment sent {"connection_id":177803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:30:40] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:30:40] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:30:40] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:30:45] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:30:45] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:30:45] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:30:46] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:30:46] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08296b148012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:30:46] local.INFO: Packet analysis {"connection_id":176331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:30:46] local.INFO: Extracted packet for processing {"connection_id":176331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08296"} 
[2026-09-09 01:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957634048001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897309000,"timestamp_ms":1788897309000,"timestamp_seconds":1788897309,"priority":1,"record_length":96,"hex_timestamp":"000001a08296b148"} 
[2026-09-09 01:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957634048001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957634048001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957634048001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":176331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:30:46] local.INFO: GPS data processed {"connection_id":176331,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:30:46] local.INFO: Acknowledgment sent {"connection_id":176331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:31:18] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:31:18] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:31:18] local.INFO: Packet analysis {"connection_id":176331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:31:18] local.INFO: Extracted packet for processing {"connection_id":176331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:31:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":176331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:31:18] local.INFO: GPS data processed {"connection_id":176331,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:31:18] local.INFO: Acknowledgment sent {"connection_id":176331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:31:45] local.INFO: TCP Data received {"connection_id":174975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:31:45] local.INFO: Processing buffer {"connection_id":174975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:31:45] local.INFO: IMEI packet received {"connection_id":174975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":174975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:31:50] local.INFO: TCP Data received {"connection_id":174975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:31:50] local.INFO: Processing buffer {"connection_id":174975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:31:50] local.INFO: IMEI packet received {"connection_id":174975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":174975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:31:51] local.INFO: TCP Data received {"connection_id":174975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:31:51] local.INFO: Processing buffer {"connection_id":174975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:31:51] local.INFO: Packet analysis {"connection_id":174975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:31:51] local.INFO: Extracted packet for processing {"connection_id":174975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":174975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:31:51] local.INFO: GPS data processed {"connection_id":174975,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:31:51] local.INFO: Acknowledgment sent {"connection_id":174975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:31:56] local.INFO: TCP Data received {"connection_id":174975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:31:56] local.INFO: Processing buffer {"connection_id":174975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:31:56] local.INFO: Packet analysis {"connection_id":174975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:31:56] local.INFO: Extracted packet for processing {"connection_id":174975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:31:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:31:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:31:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":174975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:31:56] local.INFO: GPS data processed {"connection_id":174975,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:31:56] local.INFO: Acknowledgment sent {"connection_id":174975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:32:40] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:32:40] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:32:40] local.INFO: IMEI packet received {"connection_id":176332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":176332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:32:45] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:32:45] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:32:45] local.INFO: IMEI packet received {"connection_id":176332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":176332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:32:46] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:32:46] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:32:46] local.INFO: Packet analysis {"connection_id":176332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:32:46] local.INFO: Extracted packet for processing {"connection_id":176332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":176332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:32:46] local.INFO: GPS data processed {"connection_id":176332,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:32:46] local.INFO: Acknowledgment sent {"connection_id":176332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:32:51] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:32:51] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:32:51] local.INFO: Packet analysis {"connection_id":176332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:32:51] local.INFO: Extracted packet for processing {"connection_id":176332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:32:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":176332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:32:51] local.INFO: GPS data processed {"connection_id":176332,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:32:51] local.INFO: Acknowledgment sent {"connection_id":176332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:33:22] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:33:22] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:33:22] local.INFO: Packet analysis {"connection_id":176332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:33:22] local.INFO: Extracted packet for processing {"connection_id":176332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:33:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:33:22] 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-09-09 01: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-09-09 01:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:33:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:33:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":176332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:33:22] local.INFO: GPS data processed {"connection_id":176332,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:33:22] local.INFO: Acknowledgment sent {"connection_id":176332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:33:40] local.INFO: TCP Data received {"connection_id":174977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:33:40] local.INFO: Processing buffer {"connection_id":174977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:33:40] local.INFO: IMEI packet received {"connection_id":174977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":174977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:33:45] local.INFO: TCP Data received {"connection_id":174977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:33:45] local.INFO: Processing buffer {"connection_id":174977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:33:45] local.INFO: IMEI packet received {"connection_id":174977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":174977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:33:46] local.INFO: TCP Data received {"connection_id":174977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:33:46] local.INFO: Processing buffer {"connection_id":174977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:33:46] local.INFO: Packet analysis {"connection_id":174977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:33:46] local.INFO: Extracted packet for processing {"connection_id":174977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":174977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:33:46] local.INFO: GPS data processed {"connection_id":174977,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:33:46] local.INFO: Acknowledgment sent {"connection_id":174977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:34:03] local.INFO: TCP Data received {"connection_id":177806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:34:03] local.INFO: Processing buffer {"connection_id":177806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:34:03] local.INFO: IMEI packet received {"connection_id":177806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":177806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:34:18] local.INFO: TCP Data received {"connection_id":174977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:34:18] local.INFO: Processing buffer {"connection_id":174977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:34:18] local.INFO: Packet analysis {"connection_id":174977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:34:18] local.INFO: Extracted packet for processing {"connection_id":174977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:34:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":174977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:34:18] local.INFO: GPS data processed {"connection_id":174977,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:34:18] local.INFO: Acknowledgment sent {"connection_id":174977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:34:40] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:34:40] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:34:40] local.INFO: IMEI packet received {"connection_id":175240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":175240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:34:43] local.INFO: TCP Data received {"connection_id":176333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:34:43] local.INFO: Processing buffer {"connection_id":176333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:34:43] local.INFO: IMEI packet received {"connection_id":176333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":176333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:34:45] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:34:45] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:34:45] local.INFO: IMEI packet received {"connection_id":175240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":175240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:34:46] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:34:46] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:34:46] local.INFO: Packet analysis {"connection_id":175240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:34:46] local.INFO: Extracted packet for processing {"connection_id":175240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":175240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:34:46] local.INFO: GPS data processed {"connection_id":175240,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:34:46] local.INFO: Acknowledgment sent {"connection_id":175240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:35:17] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:35:17] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:35:17] local.INFO: Packet analysis {"connection_id":175240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:35:17] local.INFO: Extracted packet for processing {"connection_id":175240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":175240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:35:17] local.INFO: GPS data processed {"connection_id":175240,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:35:17] local.INFO: Acknowledgment sent {"connection_id":175240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:35:40] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:35:40] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:35:40] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:35:45] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:35:45] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:35:45] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:35:46] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:35:46] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829b4910012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:35:46] local.INFO: Packet analysis {"connection_id":174978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:35:46] local.INFO: Extracted packet for processing {"connection_id":174978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829b"} 
[2026-09-09 01:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957711104001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897610000,"timestamp_ms":1788897610000,"timestamp_seconds":1788897610,"priority":1,"record_length":96,"hex_timestamp":"000001a0829b4910"} 
[2026-09-09 01:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957711104001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957711104001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957711104001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":174978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:35:46] local.INFO: GPS data processed {"connection_id":174978,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:35:46] local.INFO: Acknowledgment sent {"connection_id":174978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:36:17] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:36:17] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:36:17] local.INFO: Packet analysis {"connection_id":174978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:36:17] local.INFO: Extracted packet for processing {"connection_id":174978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:36:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":174978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:36:17] local.INFO: GPS data processed {"connection_id":174978,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:36:17] local.INFO: Acknowledgment sent {"connection_id":174978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:36:40] local.INFO: TCP Data received {"connection_id":175241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:36:40] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:36:40] local.INFO: IMEI packet received {"connection_id":175241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":175241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:36:45] local.INFO: TCP Data received {"connection_id":175241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:36:45] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:36:45] local.INFO: IMEI packet received {"connection_id":175241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":175241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:36:47] local.INFO: TCP Data received {"connection_id":175241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:36:47] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:36:47] local.INFO: Packet analysis {"connection_id":175241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:36:47] local.INFO: Extracted packet for processing {"connection_id":175241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:36: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-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":175241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:36:47] local.INFO: GPS data processed {"connection_id":175241,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:36:47] local.INFO: Acknowledgment sent {"connection_id":175241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:37:18] local.INFO: TCP Data received {"connection_id":175241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:37:18] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:37:18] local.INFO: Packet analysis {"connection_id":175241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:37:18] local.INFO: Extracted packet for processing {"connection_id":175241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:37:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":175241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:37:18] local.INFO: GPS data processed {"connection_id":175241,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:37:18] local.INFO: Acknowledgment sent {"connection_id":175241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:37:40] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:37:40] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:37:40] local.INFO: IMEI packet received {"connection_id":174980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":174980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:37:45] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:37:45] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:37:45] local.INFO: IMEI packet received {"connection_id":174980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":174980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:37:46] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:37:46] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:37:46] local.INFO: Packet analysis {"connection_id":174980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:37:46] local.INFO: Extracted packet for processing {"connection_id":174980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:37:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":174980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:37:46] local.INFO: GPS data processed {"connection_id":174980,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:37:46] local.INFO: Acknowledgment sent {"connection_id":174980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:38:17] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:38:17] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:38:17] local.INFO: Packet analysis {"connection_id":174980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:38:17] local.INFO: Extracted packet for processing {"connection_id":174980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":174980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:38:17] local.INFO: GPS data processed {"connection_id":174980,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:38:17] local.INFO: Acknowledgment sent {"connection_id":174980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:38:40] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:38:40] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:38:40] local.INFO: IMEI packet received {"connection_id":175243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":175243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:38:45] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:38:45] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:38:45] local.INFO: IMEI packet received {"connection_id":175243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":175243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:38:46] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:38:46] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:38:46] local.INFO: Packet analysis {"connection_id":175243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:38:46] local.INFO: Extracted packet for processing {"connection_id":175243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":175243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:38:46] local.INFO: GPS data processed {"connection_id":175243,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:38:46] local.INFO: Acknowledgment sent {"connection_id":175243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:39:17] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:39:17] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:39:17] local.INFO: Packet analysis {"connection_id":175243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:39:17] local.INFO: Extracted packet for processing {"connection_id":175243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:39:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":175243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:39:17] local.INFO: GPS data processed {"connection_id":175243,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:39:17] local.INFO: Acknowledgment sent {"connection_id":175243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:39:45] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:39:45] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:39:45] local.INFO: IMEI packet received {"connection_id":174981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":174981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:39:50] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:39:50] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:39:50] local.INFO: IMEI packet received {"connection_id":174981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":174981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:39:51] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:39:51] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:39:51] local.INFO: Packet analysis {"connection_id":174981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:39:51] local.INFO: Extracted packet for processing {"connection_id":174981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:39:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":174981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:39:51] local.INFO: GPS data processed {"connection_id":174981,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:39:51] local.INFO: Acknowledgment sent {"connection_id":174981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:39:56] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:39:56] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:39:56] local.INFO: Packet analysis {"connection_id":174981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:39:56] local.INFO: Extracted packet for processing {"connection_id":174981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:39:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:39:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":174981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:39:56] local.INFO: GPS data processed {"connection_id":174981,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:39:56] local.INFO: Acknowledgment sent {"connection_id":174981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:40:03] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:40:03] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:40:03] local.INFO: IMEI packet received {"connection_id":174982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":174982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:40:41] local.INFO: TCP Data received {"connection_id":176336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:40:41] local.INFO: Processing buffer {"connection_id":176336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:40:41] local.INFO: IMEI packet received {"connection_id":176336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":176336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:40:45] local.INFO: TCP Data received {"connection_id":176336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:40:45] local.INFO: Processing buffer {"connection_id":176336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:40:45] local.INFO: IMEI packet received {"connection_id":176336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":176336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:40:46] local.INFO: TCP Data received {"connection_id":176336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:40:46] local.INFO: Processing buffer {"connection_id":176336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:40:46] local.INFO: Packet analysis {"connection_id":176336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:40:46] local.INFO: Extracted packet for processing {"connection_id":176336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":176336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:40:46] local.INFO: GPS data processed {"connection_id":176336,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:40:46] local.INFO: Acknowledgment sent {"connection_id":176336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:40:50] local.INFO: TCP Data received {"connection_id":176336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:40:50] local.INFO: Processing buffer {"connection_id":176336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0829fe0d8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:40:50] local.INFO: Packet analysis {"connection_id":176336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:40:50] local.INFO: Extracted packet for processing {"connection_id":176336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0829f"} 
[2026-09-09 01:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957788160001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788897911000,"timestamp_ms":1788897911000,"timestamp_seconds":1788897911,"priority":1,"record_length":96,"hex_timestamp":"000001a0829fe0d8"} 
[2026-09-09 01:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 01:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957788160001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957788160001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:40:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957788160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":176336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:40:50] local.INFO: GPS data processed {"connection_id":176336,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:40:50] local.INFO: Acknowledgment sent {"connection_id":176336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:41:21] local.INFO: TCP Data received {"connection_id":176336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:41:21] local.INFO: Processing buffer {"connection_id":176336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:41:21] local.INFO: Packet analysis {"connection_id":176336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:41:21] local.INFO: Extracted packet for processing {"connection_id":176336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:41:21] 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-09-09 01:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:41:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":176336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:41:21] local.INFO: GPS data processed {"connection_id":176336,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:41:21] local.INFO: Acknowledgment sent {"connection_id":176336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:41:40] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:41:40] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:41:40] local.INFO: IMEI packet received {"connection_id":174983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":174983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:41:45] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:41:45] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:41:45] local.INFO: IMEI packet received {"connection_id":174983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":174983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:41:46] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:41:46] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:41:46] local.INFO: Packet analysis {"connection_id":174983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:41:46] local.INFO: Extracted packet for processing {"connection_id":174983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":174983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:41:46] local.INFO: GPS data processed {"connection_id":174983,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:41:46] local.INFO: Acknowledgment sent {"connection_id":174983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:42:17] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:42:17] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:42:17] local.INFO: Packet analysis {"connection_id":174983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:42:17] local.INFO: Extracted packet for processing {"connection_id":174983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":174983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:42:17] local.INFO: GPS data processed {"connection_id":174983,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:42:17] local.INFO: Acknowledgment sent {"connection_id":174983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:42:40] local.INFO: TCP Data received {"connection_id":177809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:42:40] local.INFO: Processing buffer {"connection_id":177809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:42:40] local.INFO: IMEI packet received {"connection_id":177809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":177809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:42:45] local.INFO: TCP Data received {"connection_id":177809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:42:45] local.INFO: Processing buffer {"connection_id":177809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:42:45] local.INFO: IMEI packet received {"connection_id":177809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":177809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:42:46] local.INFO: TCP Data received {"connection_id":177809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:42:46] local.INFO: Processing buffer {"connection_id":177809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:42:46] local.INFO: Packet analysis {"connection_id":177809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:42:46] local.INFO: Extracted packet for processing {"connection_id":177809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":177809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:42:46] local.INFO: GPS data processed {"connection_id":177809,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:42:46] local.INFO: Acknowledgment sent {"connection_id":177809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:43:19] local.INFO: TCP Data received {"connection_id":177809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:43:19] local.INFO: Processing buffer {"connection_id":177809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:43:19] local.INFO: Packet analysis {"connection_id":177809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:43:19] local.INFO: Extracted packet for processing {"connection_id":177809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":177809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:43:19] local.INFO: GPS data processed {"connection_id":177809,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:43:19] local.INFO: Acknowledgment sent {"connection_id":177809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:43:40] local.INFO: TCP Data received {"connection_id":174984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:43:40] local.INFO: Processing buffer {"connection_id":174984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:43:40] local.INFO: IMEI packet received {"connection_id":174984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":174984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:43:45] local.INFO: TCP Data received {"connection_id":174984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:43:45] local.INFO: Processing buffer {"connection_id":174984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:43:45] local.INFO: IMEI packet received {"connection_id":174984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":174984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:43:46] local.INFO: TCP Data received {"connection_id":174984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:43:46] local.INFO: Processing buffer {"connection_id":174984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:43:46] local.INFO: Packet analysis {"connection_id":174984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:43:46] local.INFO: Extracted packet for processing {"connection_id":174984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":174984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:43:46] local.INFO: GPS data processed {"connection_id":174984,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:43:46] local.INFO: Acknowledgment sent {"connection_id":174984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:44:17] local.INFO: TCP Data received {"connection_id":174984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:44:17] local.INFO: Processing buffer {"connection_id":174984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:44:17] local.INFO: Packet analysis {"connection_id":174984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:44:17] local.INFO: Extracted packet for processing {"connection_id":174984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":174984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:44:17] local.INFO: GPS data processed {"connection_id":174984,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:44:17] local.INFO: Acknowledgment sent {"connection_id":174984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:44:40] local.INFO: TCP Data received {"connection_id":177811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:44:40] local.INFO: Processing buffer {"connection_id":177811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:44:40] local.INFO: IMEI packet received {"connection_id":177811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":177811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:44:45] local.INFO: TCP Data received {"connection_id":177811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:44:45] local.INFO: Processing buffer {"connection_id":177811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:44:45] local.INFO: IMEI packet received {"connection_id":177811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":177811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:44:46] local.INFO: TCP Data received {"connection_id":177811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:44:46] local.INFO: Processing buffer {"connection_id":177811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:44:46] local.INFO: Packet analysis {"connection_id":177811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:44:46] local.INFO: Extracted packet for processing {"connection_id":177811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":177811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:44:46] local.INFO: GPS data processed {"connection_id":177811,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:44:46] local.INFO: Acknowledgment sent {"connection_id":177811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:45:17] local.INFO: TCP Data received {"connection_id":177811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:45:17] local.INFO: Processing buffer {"connection_id":177811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:45:17] local.INFO: Packet analysis {"connection_id":177811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:45:17] local.INFO: Extracted packet for processing {"connection_id":177811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:45:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":177811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:45:17] local.INFO: GPS data processed {"connection_id":177811,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:45:17] local.INFO: Acknowledgment sent {"connection_id":177811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:45:42] local.INFO: TCP Data received {"connection_id":175246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:45:42] local.INFO: Processing buffer {"connection_id":175246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:45:42] local.INFO: IMEI packet received {"connection_id":175246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":175246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:45:45] local.INFO: TCP Data received {"connection_id":177812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:45:45] local.INFO: Processing buffer {"connection_id":177812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:45:45] local.INFO: IMEI packet received {"connection_id":177812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":177812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:45:50] local.INFO: TCP Data received {"connection_id":177812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:45:50] local.INFO: Processing buffer {"connection_id":177812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:45:50] local.INFO: IMEI packet received {"connection_id":177812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":177812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:45:51] local.INFO: TCP Data received {"connection_id":177812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:45:51] local.INFO: Processing buffer {"connection_id":177812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a478a0012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:45:51] local.INFO: Packet analysis {"connection_id":177812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:45:51] local.INFO: Extracted packet for processing {"connection_id":177812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a4"} 
[2026-09-09 01:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788898212000,"timestamp_ms":1788898212000,"timestamp_seconds":1788898212,"priority":1,"record_length":96,"hex_timestamp":"000001a082a478a0"} 
[2026-09-09 01:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 01:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957865216001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957865216001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":177812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:45:51] local.INFO: GPS data processed {"connection_id":177812,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:45:51] local.INFO: Acknowledgment sent {"connection_id":177812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:46:22] local.INFO: TCP Data received {"connection_id":177812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:46:22] local.INFO: Processing buffer {"connection_id":177812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:46:22] local.INFO: Packet analysis {"connection_id":177812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:46:22] local.INFO: Extracted packet for processing {"connection_id":177812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:46:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:46:22] 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-09-09 01: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-09-09 01:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:46:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:46:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":177812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:46:22] local.INFO: GPS data processed {"connection_id":177812,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:46:22] local.INFO: Acknowledgment sent {"connection_id":177812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:46:40] local.INFO: TCP Data received {"connection_id":175247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:46:40] local.INFO: Processing buffer {"connection_id":175247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:46:40] local.INFO: IMEI packet received {"connection_id":175247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":175247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:46:45] local.INFO: TCP Data received {"connection_id":175247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:46:45] local.INFO: Processing buffer {"connection_id":175247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:46:45] local.INFO: IMEI packet received {"connection_id":175247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":175247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:46:46] local.INFO: TCP Data received {"connection_id":175247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:46:46] local.INFO: Processing buffer {"connection_id":175247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:46:46] local.INFO: Packet analysis {"connection_id":175247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:46:46] local.INFO: Extracted packet for processing {"connection_id":175247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:46:46] 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-09-09 01:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":175247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:46:46] local.INFO: GPS data processed {"connection_id":175247,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:46:46] local.INFO: Acknowledgment sent {"connection_id":175247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:47:17] local.INFO: TCP Data received {"connection_id":175247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:47:17] local.INFO: Processing buffer {"connection_id":175247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:47:17] local.INFO: Packet analysis {"connection_id":175247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:47:17] local.INFO: Extracted packet for processing {"connection_id":175247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:47:17] 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-09-09 01:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":175247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:47:17] local.INFO: GPS data processed {"connection_id":175247,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:47:17] local.INFO: Acknowledgment sent {"connection_id":175247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:47:40] local.INFO: TCP Data received {"connection_id":174985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:47:40] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:47:40] local.INFO: IMEI packet received {"connection_id":174985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":174985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:47:45] local.INFO: TCP Data received {"connection_id":174985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:47:45] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:47:45] local.INFO: IMEI packet received {"connection_id":174985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":174985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:47:46] local.INFO: TCP Data received {"connection_id":174985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:47:46] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:47:46] local.INFO: Packet analysis {"connection_id":174985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:47:46] local.INFO: Extracted packet for processing {"connection_id":174985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:47:46] 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-09-09 01:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":174985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:47:46] local.INFO: GPS data processed {"connection_id":174985,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:47:46] local.INFO: Acknowledgment sent {"connection_id":174985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:48:17] local.INFO: TCP Data received {"connection_id":174985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:48:17] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:48:17] local.INFO: Packet analysis {"connection_id":174985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:48:17] local.INFO: Extracted packet for processing {"connection_id":174985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:48:17] 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-09-09 01:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":174985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:48:17] local.INFO: GPS data processed {"connection_id":174985,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:48:17] local.INFO: Acknowledgment sent {"connection_id":174985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:48:45] local.INFO: TCP Data received {"connection_id":177814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:48:45] local.INFO: Processing buffer {"connection_id":177814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:48:45] local.INFO: IMEI packet received {"connection_id":177814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":177814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:48:50] local.INFO: TCP Data received {"connection_id":177814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:48:50] local.INFO: Processing buffer {"connection_id":177814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:48:50] local.INFO: IMEI packet received {"connection_id":177814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":177814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:48:51] local.INFO: TCP Data received {"connection_id":177814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:48:51] local.INFO: Processing buffer {"connection_id":177814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:48:51] local.INFO: Packet analysis {"connection_id":177814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:48:51] local.INFO: Extracted packet for processing {"connection_id":177814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":177814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:48:51] local.INFO: GPS data processed {"connection_id":177814,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:48:51] local.INFO: Acknowledgment sent {"connection_id":177814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:48:56] local.INFO: TCP Data received {"connection_id":177814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:48:56] local.INFO: Processing buffer {"connection_id":177814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:48:56] local.INFO: Packet analysis {"connection_id":177814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:48:56] local.INFO: Extracted packet for processing {"connection_id":177814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:48:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:48:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:48:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":177814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:48:56] local.INFO: GPS data processed {"connection_id":177814,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:48:56] local.INFO: Acknowledgment sent {"connection_id":177814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:49:40] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:49:40] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:49:40] local.INFO: IMEI packet received {"connection_id":176338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":176338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:49:45] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:49:45] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:49:45] local.INFO: IMEI packet received {"connection_id":176338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":176338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:49:46] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:49:46] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:49:46] local.INFO: Packet analysis {"connection_id":176338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:49:46] local.INFO: Extracted packet for processing {"connection_id":176338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:49:46] 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-09-09 01:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":176338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:49:47] local.INFO: GPS data processed {"connection_id":176338,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:49:47] local.INFO: Acknowledgment sent {"connection_id":176338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:50:18] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:50:18] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:50:18] local.INFO: Packet analysis {"connection_id":176338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:50:18] local.INFO: Extracted packet for processing {"connection_id":176338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:50:18] 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-09-09 01:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:50:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":176338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:50:18] local.INFO: GPS data processed {"connection_id":176338,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:50:18] local.INFO: Acknowledgment sent {"connection_id":176338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:50:40] local.INFO: TCP Data received {"connection_id":175250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:50:40] local.INFO: Processing buffer {"connection_id":175250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:50:40] local.INFO: IMEI packet received {"connection_id":175250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":175250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:50:45] local.INFO: TCP Data received {"connection_id":175250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:50:45] local.INFO: Processing buffer {"connection_id":175250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:50:45] local.INFO: IMEI packet received {"connection_id":175250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":175250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:50:46] local.INFO: TCP Data received {"connection_id":175250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:50:46] local.INFO: Processing buffer {"connection_id":175250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082a91068012d34c38006aa42c80005005d30..."} 
[2026-09-09 01:50:46] local.INFO: Packet analysis {"connection_id":175250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:50:46] local.INFO: Extracted packet for processing {"connection_id":175250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082a9"} 
[2026-09-09 01:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457957942272001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898513000,"timestamp_ms":1788898513000,"timestamp_seconds":1788898513,"priority":1,"record_length":96,"hex_timestamp":"000001a082a91068"} 
[2026-09-09 01:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 01:50:46] 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-09-09 01:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457957942272001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457957942272001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457957942272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":175250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:50:46] local.INFO: GPS data processed {"connection_id":175250,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:50:46] local.INFO: Acknowledgment sent {"connection_id":175250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:51:08] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:51:08] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:51:08] local.INFO: IMEI packet received {"connection_id":175251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":175251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:51:17] local.INFO: TCP Data received {"connection_id":175250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:51:17] local.INFO: Processing buffer {"connection_id":175250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:51:17] local.INFO: Packet analysis {"connection_id":175250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:51:17] local.INFO: Extracted packet for processing {"connection_id":175250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:51:17] 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-09-09 01: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-09-09 01:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":175250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:51:17] local.INFO: GPS data processed {"connection_id":175250,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:51:17] local.INFO: Acknowledgment sent {"connection_id":175250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:51:40] local.INFO: TCP Data received {"connection_id":176339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:51:40] local.INFO: Processing buffer {"connection_id":176339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:51:40] local.INFO: IMEI packet received {"connection_id":176339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":176339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:51:45] local.INFO: TCP Data received {"connection_id":176339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:51:45] local.INFO: Processing buffer {"connection_id":176339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:51:45] local.INFO: IMEI packet received {"connection_id":176339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":176339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:51:46] local.INFO: TCP Data received {"connection_id":176339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:51:46] local.INFO: Processing buffer {"connection_id":176339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:51:46] local.INFO: Packet analysis {"connection_id":176339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:51:46] local.INFO: Extracted packet for processing {"connection_id":176339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:51:46] 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-09-09 01:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":176339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:51:46] local.INFO: GPS data processed {"connection_id":176339,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:51:46] local.INFO: Acknowledgment sent {"connection_id":176339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:52:17] local.INFO: TCP Data received {"connection_id":176339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:52:17] local.INFO: Processing buffer {"connection_id":176339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:52:17] local.INFO: Packet analysis {"connection_id":176339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:52:17] local.INFO: Extracted packet for processing {"connection_id":176339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:52:17] 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-09-09 01: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-09-09 01:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":176339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:52:17] local.INFO: GPS data processed {"connection_id":176339,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:52:17] local.INFO: Acknowledgment sent {"connection_id":176339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:52:40] local.INFO: TCP Data received {"connection_id":177815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:52:40] local.INFO: Processing buffer {"connection_id":177815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:52:40] local.INFO: IMEI packet received {"connection_id":177815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":177815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:52:45] local.INFO: TCP Data received {"connection_id":177815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:52:45] local.INFO: Processing buffer {"connection_id":177815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:52:45] local.INFO: IMEI packet received {"connection_id":177815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":177815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:52:46] local.INFO: TCP Data received {"connection_id":177815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:52:46] local.INFO: Processing buffer {"connection_id":177815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:52:46] local.INFO: Packet analysis {"connection_id":177815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:52:46] local.INFO: Extracted packet for processing {"connection_id":177815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:52:46] 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-09-09 01:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":177815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:52:46] local.INFO: GPS data processed {"connection_id":177815,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:52:46] local.INFO: Acknowledgment sent {"connection_id":177815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:53:17] local.INFO: TCP Data received {"connection_id":177815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:53:17] local.INFO: Processing buffer {"connection_id":177815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:53:17] local.INFO: Packet analysis {"connection_id":177815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:53:17] local.INFO: Extracted packet for processing {"connection_id":177815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:53:17] 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-09-09 01:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":177815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:53:17] local.INFO: GPS data processed {"connection_id":177815,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:53:17] local.INFO: Acknowledgment sent {"connection_id":177815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:53:40] local.INFO: TCP Data received {"connection_id":177816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:53:40] local.INFO: Processing buffer {"connection_id":177816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:53:40] local.INFO: IMEI packet received {"connection_id":177816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":177816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:53:45] local.INFO: TCP Data received {"connection_id":177816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:53:45] local.INFO: Processing buffer {"connection_id":177816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:53:45] local.INFO: IMEI packet received {"connection_id":177816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":177816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:53:46] local.INFO: TCP Data received {"connection_id":177816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:53:46] local.INFO: Processing buffer {"connection_id":177816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:53:46] local.INFO: Packet analysis {"connection_id":177816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:53:46] local.INFO: Extracted packet for processing {"connection_id":177816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:53:46] 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-09-09 01:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":177816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:53:46] local.INFO: GPS data processed {"connection_id":177816,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:53:46] local.INFO: Acknowledgment sent {"connection_id":177816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:54:17] local.INFO: TCP Data received {"connection_id":177816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:54:17] local.INFO: Processing buffer {"connection_id":177816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:54:17] local.INFO: Packet analysis {"connection_id":177816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:54:17] local.INFO: Extracted packet for processing {"connection_id":177816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:54:17] 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-09-09 01:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":177816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:54:17] local.INFO: GPS data processed {"connection_id":177816,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:54:17] local.INFO: Acknowledgment sent {"connection_id":177816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:54:45] local.INFO: TCP Data received {"connection_id":177817,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:54:45] local.INFO: Processing buffer {"connection_id":177817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:54:45] local.INFO: IMEI packet received {"connection_id":177817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":177817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:54:50] local.INFO: TCP Data received {"connection_id":177817,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:54:50] local.INFO: Processing buffer {"connection_id":177817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:54:50] local.INFO: IMEI packet received {"connection_id":177817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":177817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:54:51] local.INFO: TCP Data received {"connection_id":177817,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:54:51] local.INFO: Processing buffer {"connection_id":177817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:54:51] local.INFO: Packet analysis {"connection_id":177817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:54:51] local.INFO: Extracted packet for processing {"connection_id":177817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:54:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":177817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:54:51] local.INFO: GPS data processed {"connection_id":177817,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:54:51] local.INFO: Acknowledgment sent {"connection_id":177817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:54:56] local.INFO: TCP Data received {"connection_id":177817,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:54:56] local.INFO: Processing buffer {"connection_id":177817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:54:56] local.INFO: Packet analysis {"connection_id":177817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:54:56] local.INFO: Extracted packet for processing {"connection_id":177817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:54:56] 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-09-09 01:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:54:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:54:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":177817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:54:56] local.INFO: GPS data processed {"connection_id":177817,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:54:56] local.INFO: Acknowledgment sent {"connection_id":177817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:55:40] local.INFO: TCP Data received {"connection_id":175252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:55:40] local.INFO: Processing buffer {"connection_id":175252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:55:40] local.INFO: IMEI packet received {"connection_id":175252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":175252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:55:45] local.INFO: TCP Data received {"connection_id":175252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:55:45] local.INFO: Processing buffer {"connection_id":175252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:55:45] local.INFO: IMEI packet received {"connection_id":175252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":175252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:55:46] local.INFO: TCP Data received {"connection_id":175252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:55:46] local.INFO: Processing buffer {"connection_id":175252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:55:46] local.INFO: Packet analysis {"connection_id":175252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:55:46] local.INFO: Extracted packet for processing {"connection_id":175252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:55:46] 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-09-09 01:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":175252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:55:46] local.INFO: GPS data processed {"connection_id":175252,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:55:46] local.INFO: Acknowledgment sent {"connection_id":175252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:55:51] local.INFO: TCP Data received {"connection_id":175252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:55:51] local.INFO: Processing buffer {"connection_id":175252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082ada830012d34c38006aa42c80005005d2e..."} 
[2026-09-09 01:55:51] local.INFO: Packet analysis {"connection_id":175252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:55:51] local.INFO: Extracted packet for processing {"connection_id":175252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ad"} 
[2026-09-09 01:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958019328001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788898814000,"timestamp_ms":1788898814000,"timestamp_seconds":1788898814,"priority":1,"record_length":96,"hex_timestamp":"000001a082ada830"} 
[2026-09-09 01:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 01:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958019328001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958019328001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958019328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":175252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:55:51] local.INFO: GPS data processed {"connection_id":175252,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:55:51] local.INFO: Acknowledgment sent {"connection_id":175252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:56:22] local.INFO: TCP Data received {"connection_id":175252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:56:22] local.INFO: Processing buffer {"connection_id":175252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:56:22] local.INFO: Packet analysis {"connection_id":175252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:56:22] local.INFO: Extracted packet for processing {"connection_id":175252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01: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-09-09 01:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 01:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01: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-09-09 01:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:56:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":175252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:56:22] local.INFO: GPS data processed {"connection_id":175252,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:56:22] local.INFO: Acknowledgment sent {"connection_id":175252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:56:40] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:56:40] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:56:40] local.INFO: IMEI packet received {"connection_id":176343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":176343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:56:42] local.INFO: TCP Data received {"connection_id":176344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:56:42] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 01:56:42] local.INFO: IMEI packet received {"connection_id":176344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 01:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":176344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:56:45] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:56:45] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:56:45] local.INFO: IMEI packet received {"connection_id":176343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":176343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:56:47] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:56:47] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:56:47] local.INFO: Packet analysis {"connection_id":176343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:56:47] local.INFO: Extracted packet for processing {"connection_id":176343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 01:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":176343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:56:47] local.INFO: GPS data processed {"connection_id":176343,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:56:47] local.INFO: Acknowledgment sent {"connection_id":176343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:57:19] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:57:19] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:57:19] local.INFO: Packet analysis {"connection_id":176343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:57:19] local.INFO: Extracted packet for processing {"connection_id":176343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 01:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":176343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:57:19] local.INFO: GPS data processed {"connection_id":176343,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:57:19] local.INFO: Acknowledgment sent {"connection_id":176343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:57:40] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:57:40] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:57:40] local.INFO: IMEI packet received {"connection_id":175253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":175253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:57:45] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:57:45] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:57:45] local.INFO: IMEI packet received {"connection_id":175253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":175253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:57:46] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:57:46] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:57:46] local.INFO: Packet analysis {"connection_id":175253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:57:46] local.INFO: Extracted packet for processing {"connection_id":175253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 01:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":175253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:57:46] local.INFO: GPS data processed {"connection_id":175253,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:57:46] local.INFO: Acknowledgment sent {"connection_id":175253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:58:17] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:58:17] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:58:17] local.INFO: Packet analysis {"connection_id":175253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:58:17] local.INFO: Extracted packet for processing {"connection_id":175253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 01:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":175253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:58:17] local.INFO: GPS data processed {"connection_id":175253,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:58:17] local.INFO: Acknowledgment sent {"connection_id":175253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:58:40] local.INFO: TCP Data received {"connection_id":177819,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:58:40] local.INFO: Processing buffer {"connection_id":177819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:58:40] local.INFO: IMEI packet received {"connection_id":177819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":177819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:58:45] local.INFO: TCP Data received {"connection_id":177819,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:58:45] local.INFO: Processing buffer {"connection_id":177819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:58:45] local.INFO: IMEI packet received {"connection_id":177819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":177819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:58:46] local.INFO: TCP Data received {"connection_id":177819,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:58:46] local.INFO: Processing buffer {"connection_id":177819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:58:46] local.INFO: Packet analysis {"connection_id":177819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:58:46] local.INFO: Extracted packet for processing {"connection_id":177819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 01:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":177819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:58:46] local.INFO: GPS data processed {"connection_id":177819,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:58:46] local.INFO: Acknowledgment sent {"connection_id":177819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:59:17] local.INFO: TCP Data received {"connection_id":177819,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:59:17] local.INFO: Processing buffer {"connection_id":177819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:59:17] local.INFO: Packet analysis {"connection_id":177819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:59:17] local.INFO: Extracted packet for processing {"connection_id":177819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 01:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":177819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:59:17] local.INFO: GPS data processed {"connection_id":177819,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:59:17] local.INFO: Acknowledgment sent {"connection_id":177819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 01:59:40] local.INFO: TCP Data received {"connection_id":175254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:59:40] local.INFO: Processing buffer {"connection_id":175254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:59:40] local.INFO: IMEI packet received {"connection_id":175254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 01:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":175254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 01:59:45] local.INFO: TCP Data received {"connection_id":175254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:59:45] local.INFO: Processing buffer {"connection_id":175254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 01:59:45] local.INFO: IMEI packet received {"connection_id":175254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 01:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":175254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 01:59:46] local.INFO: TCP Data received {"connection_id":175254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:59:46] local.INFO: Processing buffer {"connection_id":175254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 01:59:46] local.INFO: Packet analysis {"connection_id":175254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:59:46] local.INFO: Extracted packet for processing {"connection_id":175254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 01:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 01:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 01:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 01:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 01:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 01:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 01:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 01:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 01:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 01:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 01:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 01:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 01:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 01:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 01:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 01:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 01:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 01:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 01:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 01:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 01:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 01:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 01:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 01:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 01:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 01:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 01:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 01:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 01:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":175254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 01:59:46] local.INFO: GPS data processed {"connection_id":175254,"processed":1,"errors":0,"total":1} 
[2026-09-09 01:59:46] local.INFO: Acknowledgment sent {"connection_id":175254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:00:17] local.INFO: TCP Data received {"connection_id":175254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 02:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 02:00:17] local.INFO: Processing buffer {"connection_id":175254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 02:00:17] local.INFO: Packet analysis {"connection_id":175254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 02:00:17] local.INFO: Extracted packet for processing {"connection_id":175254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 02:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 02:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":175254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:00:17] local.INFO: GPS data processed {"connection_id":175254,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:00:17] local.INFO: Acknowledgment sent {"connection_id":175254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:00:40] local.INFO: TCP Data received {"connection_id":177821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:00:40] local.INFO: Processing buffer {"connection_id":177821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:00:40] local.INFO: IMEI packet received {"connection_id":177821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":177821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:00:45] local.INFO: TCP Data received {"connection_id":177821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:00:45] local.INFO: Processing buffer {"connection_id":177821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:00:45] local.INFO: IMEI packet received {"connection_id":177821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":177821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:00:46] local.INFO: TCP Data received {"connection_id":177821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 02:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 02:00:46] local.INFO: Processing buffer {"connection_id":177821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b23ff8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 02:00:46] local.INFO: Packet analysis {"connection_id":177821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 02:00:46] local.INFO: Extracted packet for processing {"connection_id":177821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b2"} 
[2026-09-09 02:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899115000,"timestamp_ms":1788899115000,"timestamp_seconds":1788899115,"priority":1,"record_length":96,"hex_timestamp":"000001a082b23ff8"} 
[2026-09-09 02:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958096384001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958096384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":177821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:00:46] local.INFO: GPS data processed {"connection_id":177821,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:00:46] local.INFO: Acknowledgment sent {"connection_id":177821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:01:19] local.INFO: TCP Data received {"connection_id":177821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:01:19] local.INFO: Processing buffer {"connection_id":177821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:01:19] local.INFO: Packet analysis {"connection_id":177821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:01:19] local.INFO: Extracted packet for processing {"connection_id":177821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":177821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:01:19] local.INFO: GPS data processed {"connection_id":177821,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:01:19] local.INFO: Acknowledgment sent {"connection_id":177821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:01:42] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:01:42] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:01:42] local.INFO: IMEI packet received {"connection_id":175256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":175256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:01:45] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:01:45] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:01:45] local.INFO: IMEI packet received {"connection_id":175256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":175256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:01:46] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:01:46] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:01:46] local.INFO: Packet analysis {"connection_id":175256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:01:46] local.INFO: Extracted packet for processing {"connection_id":175256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":175256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:01:46] local.INFO: GPS data processed {"connection_id":175256,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:01:46] local.INFO: Acknowledgment sent {"connection_id":175256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:01:51] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:01:51] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:01:51] local.INFO: Packet analysis {"connection_id":175256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:01:51] local.INFO: Extracted packet for processing {"connection_id":175256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":175256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:01:51] local.INFO: GPS data processed {"connection_id":175256,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:01:51] local.INFO: Acknowledgment sent {"connection_id":175256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:02:18] local.INFO: TCP Data received {"connection_id":176345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:02:18] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:02:18] local.INFO: IMEI packet received {"connection_id":176345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":176345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:02:22] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:02:22] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:02:22] local.INFO: Packet analysis {"connection_id":175256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:02:22] local.INFO: Extracted packet for processing {"connection_id":175256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:02:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:02:22] 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-09-09 02: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-09-09 02:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:02:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":175256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:02:22] local.INFO: GPS data processed {"connection_id":175256,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:02:22] local.INFO: Acknowledgment sent {"connection_id":175256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:02:42] local.INFO: TCP Data received {"connection_id":174991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:02:43] local.INFO: Processing buffer {"connection_id":174991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:02:43] local.INFO: IMEI packet received {"connection_id":174991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":174991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:02:43] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:02:43] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:02:43] local.INFO: IMEI packet received {"connection_id":174990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":174990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:02:45] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:02:45] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:02:45] local.INFO: IMEI packet received {"connection_id":174990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":174990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:02:46] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:02:47] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:02:47] local.INFO: Packet analysis {"connection_id":174990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:02:47] local.INFO: Extracted packet for processing {"connection_id":174990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:02:47] 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-09-09 02:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:02:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":174990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:02:47] local.INFO: GPS data processed {"connection_id":174990,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:02:47] local.INFO: Acknowledgment sent {"connection_id":174990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:02:51] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:02:51] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:02:51] local.INFO: Packet analysis {"connection_id":174990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:02:51] local.INFO: Extracted packet for processing {"connection_id":174990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":174990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:02:51] local.INFO: GPS data processed {"connection_id":174990,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:02:51] local.INFO: Acknowledgment sent {"connection_id":174990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:03:22] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:03:22] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:03:22] local.INFO: Packet analysis {"connection_id":174990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:03:22] local.INFO: Extracted packet for processing {"connection_id":174990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:03:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:03:22] 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-09-09 02: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-09-09 02:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:03:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:03:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":174990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:03:22] local.INFO: GPS data processed {"connection_id":174990,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:03:22] local.INFO: Acknowledgment sent {"connection_id":174990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:03:45] local.INFO: TCP Data received {"connection_id":174992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:03:45] local.INFO: Processing buffer {"connection_id":174992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:03:45] local.INFO: IMEI packet received {"connection_id":174992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":174992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:03:50] local.INFO: TCP Data received {"connection_id":174992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:03:50] local.INFO: Processing buffer {"connection_id":174992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:03:50] local.INFO: IMEI packet received {"connection_id":174992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":174992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:03:53] local.INFO: TCP Data received {"connection_id":174992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:03:53] local.INFO: Processing buffer {"connection_id":174992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:03:53] local.INFO: Packet analysis {"connection_id":174992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:03:53] local.INFO: Extracted packet for processing {"connection_id":174992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":174992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:03:53] local.INFO: GPS data processed {"connection_id":174992,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:03:53] local.INFO: Acknowledgment sent {"connection_id":174992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:04:24] local.INFO: TCP Data received {"connection_id":174992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:04:24] local.INFO: Processing buffer {"connection_id":174992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:04:24] local.INFO: Packet analysis {"connection_id":174992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:04:24] local.INFO: Extracted packet for processing {"connection_id":174992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":174992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:04:24] local.INFO: GPS data processed {"connection_id":174992,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:04:24] local.INFO: Acknowledgment sent {"connection_id":174992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:04:40] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:04:40] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:04:40] local.INFO: IMEI packet received {"connection_id":174994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":174994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:04:45] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:04:45] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:04:45] local.INFO: IMEI packet received {"connection_id":174994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":174994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:04:46] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:04:46] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:04:46] local.INFO: Packet analysis {"connection_id":174994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:04:46] local.INFO: Extracted packet for processing {"connection_id":174994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":174994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:04:46] local.INFO: GPS data processed {"connection_id":174994,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:04:46] local.INFO: Acknowledgment sent {"connection_id":174994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:05:19] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:05:19] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:05:19] local.INFO: Packet analysis {"connection_id":174994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:05:19] local.INFO: Extracted packet for processing {"connection_id":174994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":174994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:05:19] local.INFO: GPS data processed {"connection_id":174994,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:05:19] local.INFO: Acknowledgment sent {"connection_id":174994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:05:40] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:05:40] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:05:40] local.INFO: IMEI packet received {"connection_id":176346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":176346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:05:45] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:05:45] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:05:45] local.INFO: IMEI packet received {"connection_id":176346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":176346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:05:46] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:05:46] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082b6d7c0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:05:46] local.INFO: Packet analysis {"connection_id":176346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:05:46] local.INFO: Extracted packet for processing {"connection_id":176346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082b6"} 
[2026-09-09 02:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958173440001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899416000,"timestamp_ms":1788899416000,"timestamp_seconds":1788899416,"priority":1,"record_length":96,"hex_timestamp":"000001a082b6d7c0"} 
[2026-09-09 02:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958173440001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958173440001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958173440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":176346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:05:46] local.INFO: GPS data processed {"connection_id":176346,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:05:46] local.INFO: Acknowledgment sent {"connection_id":176346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:06:17] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:06:17] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:06:17] local.INFO: Packet analysis {"connection_id":176346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:06:17] local.INFO: Extracted packet for processing {"connection_id":176346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":176346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:06:17] local.INFO: GPS data processed {"connection_id":176346,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:06:17] local.INFO: Acknowledgment sent {"connection_id":176346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:06:40] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:06:40] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:06:40] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:06:45] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:06:45] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:06:45] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:06:46] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:06:46] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:06:46] local.INFO: Packet analysis {"connection_id":174996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:06:46] local.INFO: Extracted packet for processing {"connection_id":174996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":174996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:06:46] local.INFO: GPS data processed {"connection_id":174996,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:06:46] local.INFO: Acknowledgment sent {"connection_id":174996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:07:18] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:07:18] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:07:18] local.INFO: Packet analysis {"connection_id":174996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:07:18] local.INFO: Extracted packet for processing {"connection_id":174996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:07:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":174996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:07:18] local.INFO: GPS data processed {"connection_id":174996,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:07:18] local.INFO: Acknowledgment sent {"connection_id":174996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:07:40] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:07:40] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:07:40] local.INFO: IMEI packet received {"connection_id":176347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":176347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:07:45] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:07:45] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:07:45] local.INFO: IMEI packet received {"connection_id":176347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":176347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:07:46] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:07:46] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:07:46] local.INFO: Packet analysis {"connection_id":176347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:07:46] local.INFO: Extracted packet for processing {"connection_id":176347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":176347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:07:46] local.INFO: GPS data processed {"connection_id":176347,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:07:46] local.INFO: Acknowledgment sent {"connection_id":176347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:07:47] local.INFO: TCP Data received {"connection_id":176348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:07:47] local.INFO: Processing buffer {"connection_id":176348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:07:47] local.INFO: IMEI packet received {"connection_id":176348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":176348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:08:17] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:08:17] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:08:17] local.INFO: Packet analysis {"connection_id":176347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:08:17] local.INFO: Extracted packet for processing {"connection_id":176347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":176347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:08:17] local.INFO: GPS data processed {"connection_id":176347,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:08:17] local.INFO: Acknowledgment sent {"connection_id":176347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:08:45] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:08:45] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:08:45] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:08:51] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:08:51] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:08:51] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:08:52] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:08:52] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:08:52] local.INFO: Packet analysis {"connection_id":176349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:08:52] local.INFO: Extracted packet for processing {"connection_id":176349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":176349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:08:52] local.INFO: GPS data processed {"connection_id":176349,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:08:52] local.INFO: Acknowledgment sent {"connection_id":176349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:08:56] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:08:56] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:08:56] local.INFO: Packet analysis {"connection_id":176349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:08:56] local.INFO: Extracted packet for processing {"connection_id":176349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:08:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:08:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:08:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":176349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:08:56] local.INFO: GPS data processed {"connection_id":176349,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:08:56] local.INFO: Acknowledgment sent {"connection_id":176349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:09:40] local.INFO: TCP Data received {"connection_id":177823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:09:40] local.INFO: Processing buffer {"connection_id":177823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:09:40] local.INFO: IMEI packet received {"connection_id":177823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":177823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:09:45] local.INFO: TCP Data received {"connection_id":177823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:09:45] local.INFO: Processing buffer {"connection_id":177823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:09:45] local.INFO: IMEI packet received {"connection_id":177823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":177823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:09:46] local.INFO: TCP Data received {"connection_id":177823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:09:46] local.INFO: Processing buffer {"connection_id":177823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:09:46] local.INFO: Packet analysis {"connection_id":177823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:09:46] local.INFO: Extracted packet for processing {"connection_id":177823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":177823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:09:46] local.INFO: GPS data processed {"connection_id":177823,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:09:46] local.INFO: Acknowledgment sent {"connection_id":177823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:10:17] local.INFO: TCP Data received {"connection_id":177823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:10:17] local.INFO: Processing buffer {"connection_id":177823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:10:17] local.INFO: Packet analysis {"connection_id":177823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:10:17] local.INFO: Extracted packet for processing {"connection_id":177823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":177823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:10:17] local.INFO: GPS data processed {"connection_id":177823,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:10:17] local.INFO: Acknowledgment sent {"connection_id":177823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:10:40] local.INFO: TCP Data received {"connection_id":175260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:10:40] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:10:40] local.INFO: IMEI packet received {"connection_id":175260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":175260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:10:45] local.INFO: TCP Data received {"connection_id":175260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:10:45] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:10:45] local.INFO: IMEI packet received {"connection_id":175260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":175260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:10:46] local.INFO: TCP Data received {"connection_id":175260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:10:46] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082bb6f88012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:10:46] local.INFO: Packet analysis {"connection_id":175260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:10:46] local.INFO: Extracted packet for processing {"connection_id":175260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082bb"} 
[2026-09-09 02:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958250496001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788899717000,"timestamp_ms":1788899717000,"timestamp_seconds":1788899717,"priority":1,"record_length":96,"hex_timestamp":"000001a082bb6f88"} 
[2026-09-09 02:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958250496001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958250496001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958250496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":175260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:10:46] local.INFO: GPS data processed {"connection_id":175260,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:10:46] local.INFO: Acknowledgment sent {"connection_id":175260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:11:17] local.INFO: TCP Data received {"connection_id":175260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:11:17] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:11:17] local.INFO: Packet analysis {"connection_id":175260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:11:17] local.INFO: Extracted packet for processing {"connection_id":175260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":175260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:11:17] local.INFO: GPS data processed {"connection_id":175260,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:11:17] local.INFO: Acknowledgment sent {"connection_id":175260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:11:40] local.INFO: TCP Data received {"connection_id":174997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:11:40] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:11:40] local.INFO: IMEI packet received {"connection_id":174997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":174997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:11:45] local.INFO: TCP Data received {"connection_id":174997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:11:45] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:11:45] local.INFO: IMEI packet received {"connection_id":174997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":174997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:11:46] local.INFO: TCP Data received {"connection_id":174997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:11:46] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:11:46] local.INFO: Packet analysis {"connection_id":174997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:11:46] local.INFO: Extracted packet for processing {"connection_id":174997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":174997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:11:46] local.INFO: GPS data processed {"connection_id":174997,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:11:46] local.INFO: Acknowledgment sent {"connection_id":174997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:12:17] local.INFO: TCP Data received {"connection_id":174997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:12:17] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:12:17] local.INFO: Packet analysis {"connection_id":174997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:12:17] local.INFO: Extracted packet for processing {"connection_id":174997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":174997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:12:17] local.INFO: GPS data processed {"connection_id":174997,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:12:17] local.INFO: Acknowledgment sent {"connection_id":174997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:12:40] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:12:40] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:12:40] local.INFO: IMEI packet received {"connection_id":175262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":175262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:12:45] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:12:45] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:12:45] local.INFO: IMEI packet received {"connection_id":175262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":175262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:12:46] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:12:46] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:12:46] local.INFO: Packet analysis {"connection_id":175262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:12:46] local.INFO: Extracted packet for processing {"connection_id":175262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":175262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:12:46] local.INFO: GPS data processed {"connection_id":175262,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:12:46] local.INFO: Acknowledgment sent {"connection_id":175262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:13:17] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:13:17] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:13:17] local.INFO: Packet analysis {"connection_id":175262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:13:17] local.INFO: Extracted packet for processing {"connection_id":175262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":175262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:13:17] local.INFO: GPS data processed {"connection_id":175262,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:13:17] local.INFO: Acknowledgment sent {"connection_id":175262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:13:22] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:13:22] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:13:22] local.INFO: IMEI packet received {"connection_id":175263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":175263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:13:40] local.INFO: TCP Data received {"connection_id":174998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:13:40] local.INFO: Processing buffer {"connection_id":174998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:13:40] local.INFO: IMEI packet received {"connection_id":174998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":174998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:13:42] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:13:42] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:13:42] local.INFO: IMEI packet received {"connection_id":174999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":174999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:13:45] local.INFO: TCP Data received {"connection_id":174998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:13:45] local.INFO: Processing buffer {"connection_id":174998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:13:45] local.INFO: IMEI packet received {"connection_id":174998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":174998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:13:46] local.INFO: TCP Data received {"connection_id":174998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:13:46] local.INFO: Processing buffer {"connection_id":174998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:13:46] local.INFO: Packet analysis {"connection_id":174998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:13:46] local.INFO: Extracted packet for processing {"connection_id":174998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":174998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:13:46] local.INFO: GPS data processed {"connection_id":174998,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:13:46] local.INFO: Acknowledgment sent {"connection_id":174998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:14:17] local.INFO: TCP Data received {"connection_id":174998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:14:17] local.INFO: Processing buffer {"connection_id":174998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:14:17] local.INFO: Packet analysis {"connection_id":174998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:14:17] local.INFO: Extracted packet for processing {"connection_id":174998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:14:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":174998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:14:17] local.INFO: GPS data processed {"connection_id":174998,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:14:17] local.INFO: Acknowledgment sent {"connection_id":174998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:14:45] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:14:45] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:14:45] local.INFO: IMEI packet received {"connection_id":177824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":177824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:14:50] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:14:50] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:14:50] local.INFO: IMEI packet received {"connection_id":177824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":177824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:14:51] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:14:51] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:14:51] local.INFO: Packet analysis {"connection_id":177824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:14:51] local.INFO: Extracted packet for processing {"connection_id":177824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":177824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:14:51] local.INFO: GPS data processed {"connection_id":177824,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:14:51] local.INFO: Acknowledgment sent {"connection_id":177824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:14:55] local.INFO: TCP Data received {"connection_id":177824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:14:56] local.INFO: Processing buffer {"connection_id":177824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:14:56] local.INFO: Packet analysis {"connection_id":177824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:14:56] local.INFO: Extracted packet for processing {"connection_id":177824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:14:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:14:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:14:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":177824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:14:56] local.INFO: GPS data processed {"connection_id":177824,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:14:56] local.INFO: Acknowledgment sent {"connection_id":177824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:15:40] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:15:40] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:15:40] local.INFO: IMEI packet received {"connection_id":176351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":176351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:15:45] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:15:45] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:15:45] local.INFO: IMEI packet received {"connection_id":176351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":176351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:15:46] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:15:46] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c00750012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:15:46] local.INFO: Packet analysis {"connection_id":176351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:15:46] local.INFO: Extracted packet for processing {"connection_id":176351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c0"} 
[2026-09-09 02:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958327552001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900018000,"timestamp_ms":1788900018000,"timestamp_seconds":1788900018,"priority":1,"record_length":96,"hex_timestamp":"000001a082c00750"} 
[2026-09-09 02:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958327552001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958327552001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958327552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":176351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:15:46] local.INFO: GPS data processed {"connection_id":176351,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:15:46] local.INFO: Acknowledgment sent {"connection_id":176351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:16:17] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:16:17] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:16:17] local.INFO: Packet analysis {"connection_id":176351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:16:17] local.INFO: Extracted packet for processing {"connection_id":176351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":176351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:16:17] local.INFO: GPS data processed {"connection_id":176351,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:16:17] local.INFO: Acknowledgment sent {"connection_id":176351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:16:40] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:16:40] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:16:40] local.INFO: IMEI packet received {"connection_id":175264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":175264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:16:45] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:16:45] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:16:45] local.INFO: IMEI packet received {"connection_id":175264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":175264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:16:46] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:16:46] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:16:46] local.INFO: Packet analysis {"connection_id":175264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:16:46] local.INFO: Extracted packet for processing {"connection_id":175264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":175264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:16:46] local.INFO: GPS data processed {"connection_id":175264,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:16:46] local.INFO: Acknowledgment sent {"connection_id":175264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:17:17] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:17:17] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:17:17] local.INFO: Packet analysis {"connection_id":175264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:17:17] local.INFO: Extracted packet for processing {"connection_id":175264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":175264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:17:17] local.INFO: GPS data processed {"connection_id":175264,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:17:17] local.INFO: Acknowledgment sent {"connection_id":175264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:17:40] local.INFO: TCP Data received {"connection_id":175001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:17:40] local.INFO: Processing buffer {"connection_id":175001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:17:40] local.INFO: IMEI packet received {"connection_id":175001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":175001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:17:45] local.INFO: TCP Data received {"connection_id":175001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:17:45] local.INFO: Processing buffer {"connection_id":175001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:17:45] local.INFO: IMEI packet received {"connection_id":175001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":175001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:17:46] local.INFO: TCP Data received {"connection_id":175001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:17:46] local.INFO: Processing buffer {"connection_id":175001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:17:46] local.INFO: Packet analysis {"connection_id":175001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:17:46] local.INFO: Extracted packet for processing {"connection_id":175001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":175001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:17:46] local.INFO: GPS data processed {"connection_id":175001,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:17:46] local.INFO: Acknowledgment sent {"connection_id":175001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:18:17] local.INFO: TCP Data received {"connection_id":175001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:18:17] local.INFO: Processing buffer {"connection_id":175001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:18:17] local.INFO: Packet analysis {"connection_id":175001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:18:17] local.INFO: Extracted packet for processing {"connection_id":175001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":175001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:18:17] local.INFO: GPS data processed {"connection_id":175001,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:18:17] local.INFO: Acknowledgment sent {"connection_id":175001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:18:40] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:18:40] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:18:40] local.INFO: IMEI packet received {"connection_id":176354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":176354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:18:45] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:18:45] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:18:45] local.INFO: IMEI packet received {"connection_id":176354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":176354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:18:46] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:18:46] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:18:46] local.INFO: Packet analysis {"connection_id":176354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:18:46] local.INFO: Extracted packet for processing {"connection_id":176354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:18:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":176354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:18:46] local.INFO: GPS data processed {"connection_id":176354,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:18:46] local.INFO: Acknowledgment sent {"connection_id":176354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:19:02] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:19:02] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:19:02] local.INFO: IMEI packet received {"connection_id":175003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":175003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:19:17] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:19:17] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:19:17] local.INFO: Packet analysis {"connection_id":176354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:19:17] local.INFO: Extracted packet for processing {"connection_id":176354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:19:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":176354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:19:17] local.INFO: GPS data processed {"connection_id":176354,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:19:17] local.INFO: Acknowledgment sent {"connection_id":176354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:19:40] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:19:40] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:19:40] local.INFO: IMEI packet received {"connection_id":176355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":176355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:19:45] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:19:45] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:19:45] local.INFO: IMEI packet received {"connection_id":176355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":176355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:19:46] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:19:46] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:19:46] local.INFO: Packet analysis {"connection_id":176355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:19:46] local.INFO: Extracted packet for processing {"connection_id":176355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":176355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:19:46] local.INFO: GPS data processed {"connection_id":176355,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:19:46] local.INFO: Acknowledgment sent {"connection_id":176355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:20:17] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:20:17] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:20:17] local.INFO: Packet analysis {"connection_id":176355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:20:17] local.INFO: Extracted packet for processing {"connection_id":176355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":176355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:20:17] local.INFO: GPS data processed {"connection_id":176355,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:20:17] local.INFO: Acknowledgment sent {"connection_id":176355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:20:40] local.INFO: TCP Data received {"connection_id":177825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:20:40] local.INFO: Processing buffer {"connection_id":177825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:20:40] local.INFO: IMEI packet received {"connection_id":177825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":177825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:20:45] local.INFO: TCP Data received {"connection_id":177825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:20:45] local.INFO: Processing buffer {"connection_id":177825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:20:45] local.INFO: IMEI packet received {"connection_id":177825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":177825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:20:46] local.INFO: TCP Data received {"connection_id":177825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:20:46] local.INFO: Processing buffer {"connection_id":177825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c49f18012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:20:46] local.INFO: Packet analysis {"connection_id":177825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:20:46] local.INFO: Extracted packet for processing {"connection_id":177825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c4"} 
[2026-09-09 02:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958404608001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900319000,"timestamp_ms":1788900319000,"timestamp_seconds":1788900319,"priority":1,"record_length":96,"hex_timestamp":"000001a082c49f18"} 
[2026-09-09 02:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958404608001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958404608001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:20:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958404608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":177825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:20:46] local.INFO: GPS data processed {"connection_id":177825,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:20:46] local.INFO: Acknowledgment sent {"connection_id":177825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:21:17] local.INFO: TCP Data received {"connection_id":177825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:21:17] local.INFO: Processing buffer {"connection_id":177825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:21:17] local.INFO: Packet analysis {"connection_id":177825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:21:17] local.INFO: Extracted packet for processing {"connection_id":177825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 02:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:21:17] 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-09-09 02:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":177825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:21:17] local.INFO: GPS data processed {"connection_id":177825,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:21:17] local.INFO: Acknowledgment sent {"connection_id":177825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:21:40] local.INFO: TCP Data received {"connection_id":176358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:21:40] local.INFO: Processing buffer {"connection_id":176358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:21:40] local.INFO: IMEI packet received {"connection_id":176358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":176358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:21:45] local.INFO: TCP Data received {"connection_id":176358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:21:45] local.INFO: Processing buffer {"connection_id":176358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:21:45] local.INFO: IMEI packet received {"connection_id":176358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":176358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:21:46] local.INFO: TCP Data received {"connection_id":176358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:21:46] local.INFO: Processing buffer {"connection_id":176358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:21:46] local.INFO: Packet analysis {"connection_id":176358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:21:46] local.INFO: Extracted packet for processing {"connection_id":176358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 02:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:21:46] 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-09-09 02:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":176358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:21:46] local.INFO: GPS data processed {"connection_id":176358,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:21:46] local.INFO: Acknowledgment sent {"connection_id":176358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:22:17] local.INFO: TCP Data received {"connection_id":176358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:22:17] local.INFO: Processing buffer {"connection_id":176358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:22:17] local.INFO: Packet analysis {"connection_id":176358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:22:17] local.INFO: Extracted packet for processing {"connection_id":176358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 02:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:22:17] 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-09-09 02:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":176358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:22:17] local.INFO: GPS data processed {"connection_id":176358,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:22:17] local.INFO: Acknowledgment sent {"connection_id":176358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:22:40] local.INFO: TCP Data received {"connection_id":175004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:22:40] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:22:40] local.INFO: IMEI packet received {"connection_id":175004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":175004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:22:45] local.INFO: TCP Data received {"connection_id":175004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:22:45] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:22:45] local.INFO: IMEI packet received {"connection_id":175004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":175004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:22:46] local.INFO: TCP Data received {"connection_id":175004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:22:46] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:22:46] local.INFO: Packet analysis {"connection_id":175004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:22:46] local.INFO: Extracted packet for processing {"connection_id":175004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 02:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:22:46] 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-09-09 02:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":175004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:22:46] local.INFO: GPS data processed {"connection_id":175004,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:22:46] local.INFO: Acknowledgment sent {"connection_id":175004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:23:17] local.INFO: TCP Data received {"connection_id":175004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:23:17] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:23:17] local.INFO: Packet analysis {"connection_id":175004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:23:17] local.INFO: Extracted packet for processing {"connection_id":175004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 02:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:23:17] 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-09-09 02:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":175004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:23:17] local.INFO: GPS data processed {"connection_id":175004,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:23:17] local.INFO: Acknowledgment sent {"connection_id":175004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:23:40] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:23:40] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:23:40] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:23:45] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:23:45] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:23:45] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:23:47] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:23:47] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:23:47] local.INFO: Packet analysis {"connection_id":175265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:23:47] local.INFO: Extracted packet for processing {"connection_id":175265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 02:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:23:47] 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-09-09 02:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":175265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:23:47] local.INFO: GPS data processed {"connection_id":175265,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:23:47] local.INFO: Acknowledgment sent {"connection_id":175265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:24:18] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:24:18] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:24:18] local.INFO: Packet analysis {"connection_id":175265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:24:18] local.INFO: Extracted packet for processing {"connection_id":175265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 02:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":175265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:24:18] local.INFO: GPS data processed {"connection_id":175265,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:24:18] local.INFO: Acknowledgment sent {"connection_id":175265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:24:40] local.INFO: TCP Data received {"connection_id":176361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:24:40] local.INFO: Processing buffer {"connection_id":176361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:24:40] local.INFO: IMEI packet received {"connection_id":176361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":176361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:24:42] local.INFO: TCP Data received {"connection_id":176362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:24:42] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:24:42] local.INFO: IMEI packet received {"connection_id":176362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":176362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:24:45] local.INFO: TCP Data received {"connection_id":176361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:24:45] local.INFO: Processing buffer {"connection_id":176361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:24:45] local.INFO: IMEI packet received {"connection_id":176361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":176361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:24:46] local.INFO: TCP Data received {"connection_id":176361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:24:46] local.INFO: Processing buffer {"connection_id":176361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:24:46] local.INFO: Packet analysis {"connection_id":176361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:24:46] local.INFO: Extracted packet for processing {"connection_id":176361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 02:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:24:46] 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-09-09 02:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":176361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:24:46] local.INFO: GPS data processed {"connection_id":176361,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:24:46] local.INFO: Acknowledgment sent {"connection_id":176361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:25:17] local.INFO: TCP Data received {"connection_id":176361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:25:17] local.INFO: Processing buffer {"connection_id":176361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:25:17] local.INFO: Packet analysis {"connection_id":176361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:25:17] local.INFO: Extracted packet for processing {"connection_id":176361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 02:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:25:17] 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-09-09 02:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":176361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:25:17] local.INFO: GPS data processed {"connection_id":176361,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:25:17] local.INFO: Acknowledgment sent {"connection_id":176361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:25:40] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:25:40] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:25:40] local.INFO: IMEI packet received {"connection_id":175005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":175005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:25:45] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:25:45] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:25:45] local.INFO: IMEI packet received {"connection_id":175005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":175005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:25:46] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:25:46] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082c936e0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:25:46] local.INFO: Packet analysis {"connection_id":175005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:25:46] local.INFO: Extracted packet for processing {"connection_id":175005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082c9"} 
[2026-09-09 02:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 02:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958481664001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900620000,"timestamp_ms":1788900620000,"timestamp_seconds":1788900620,"priority":1,"record_length":96,"hex_timestamp":"000001a082c936e0"} 
[2026-09-09 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-09-09 02:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:25:46] 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-09-09 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-09-09 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-09-09 02:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958481664001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958481664001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958481664001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":175005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:25:46] local.INFO: GPS data processed {"connection_id":175005,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:25:46] local.INFO: Acknowledgment sent {"connection_id":175005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:26:17] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:26:17] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:26:17] local.INFO: Packet analysis {"connection_id":175005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:26:17] local.INFO: Extracted packet for processing {"connection_id":175005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":175005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:26:17] local.INFO: GPS data processed {"connection_id":175005,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:26:17] local.INFO: Acknowledgment sent {"connection_id":175005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:26:40] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:26:40] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:26:40] local.INFO: IMEI packet received {"connection_id":175267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":175267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:26:45] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:26:45] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:26:45] local.INFO: IMEI packet received {"connection_id":175267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":175267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:26:46] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:26:46] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:26:46] local.INFO: Packet analysis {"connection_id":175267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:26:46] local.INFO: Extracted packet for processing {"connection_id":175267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":175267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:26:46] local.INFO: GPS data processed {"connection_id":175267,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:26:46] local.INFO: Acknowledgment sent {"connection_id":175267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:27:17] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:27:17] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:27:17] local.INFO: Packet analysis {"connection_id":175267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:27:17] local.INFO: Extracted packet for processing {"connection_id":175267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":175267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:27:17] local.INFO: GPS data processed {"connection_id":175267,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:27:17] local.INFO: Acknowledgment sent {"connection_id":175267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:27:45] local.INFO: TCP Data received {"connection_id":175006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:27:45] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:27:45] local.INFO: IMEI packet received {"connection_id":175006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":175006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:27:50] local.INFO: TCP Data received {"connection_id":175006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:27:50] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:27:50] local.INFO: IMEI packet received {"connection_id":175006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":175006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:27:51] local.INFO: TCP Data received {"connection_id":175006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:27:51] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:27:51] local.INFO: Packet analysis {"connection_id":175006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:27:51] local.INFO: Extracted packet for processing {"connection_id":175006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:27:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":175006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:27:51] local.INFO: GPS data processed {"connection_id":175006,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:27:51] local.INFO: Acknowledgment sent {"connection_id":175006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:27:56] local.INFO: TCP Data received {"connection_id":175006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:27:56] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:27:56] local.INFO: Packet analysis {"connection_id":175006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:27:56] local.INFO: Extracted packet for processing {"connection_id":175006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:27:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:27:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:27:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":175006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:27:56] local.INFO: GPS data processed {"connection_id":175006,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:27:56] local.INFO: Acknowledgment sent {"connection_id":175006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:28:40] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:28:40] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:28:40] local.INFO: IMEI packet received {"connection_id":176365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":176365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:28:45] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:28:45] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:28:45] local.INFO: IMEI packet received {"connection_id":176365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":176365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:28:46] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:28:46] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:28:46] local.INFO: Packet analysis {"connection_id":176365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:28:46] local.INFO: Extracted packet for processing {"connection_id":176365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":176365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:28:46] local.INFO: GPS data processed {"connection_id":176365,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:28:46] local.INFO: Acknowledgment sent {"connection_id":176365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:28:51] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:28:51] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:28:51] local.INFO: Packet analysis {"connection_id":176365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:28:51] local.INFO: Extracted packet for processing {"connection_id":176365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":176365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:28:51] local.INFO: GPS data processed {"connection_id":176365,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:28:51] local.INFO: Acknowledgment sent {"connection_id":176365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:29:22] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:29:22] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:29:22] local.INFO: Packet analysis {"connection_id":176365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:29:22] local.INFO: Extracted packet for processing {"connection_id":176365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:29:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:29:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:29:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":176365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:29:22] local.INFO: GPS data processed {"connection_id":176365,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:29:22] local.INFO: Acknowledgment sent {"connection_id":176365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:29:40] local.INFO: TCP Data received {"connection_id":175007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:29:40] local.INFO: Processing buffer {"connection_id":175007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:29:40] local.INFO: IMEI packet received {"connection_id":175007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":175007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:29:45] local.INFO: TCP Data received {"connection_id":175007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:29:45] local.INFO: Processing buffer {"connection_id":175007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:29:45] local.INFO: IMEI packet received {"connection_id":175007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":175007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:29:46] local.INFO: TCP Data received {"connection_id":175007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:29:46] local.INFO: Processing buffer {"connection_id":175007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:29:46] local.INFO: Packet analysis {"connection_id":175007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:29:46] local.INFO: Extracted packet for processing {"connection_id":175007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":175007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:29:46] local.INFO: GPS data processed {"connection_id":175007,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:29:46] local.INFO: Acknowledgment sent {"connection_id":175007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:30:07] local.INFO: TCP Data received {"connection_id":175008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:30:07] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:30:07] local.INFO: IMEI packet received {"connection_id":175008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":175008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:30:17] local.INFO: TCP Data received {"connection_id":175007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:30:17] local.INFO: Processing buffer {"connection_id":175007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:30:17] local.INFO: Packet analysis {"connection_id":175007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:30:17] local.INFO: Extracted packet for processing {"connection_id":175007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:30:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":175007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:30:17] local.INFO: GPS data processed {"connection_id":175007,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:30:17] local.INFO: Acknowledgment sent {"connection_id":175007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:30:41] local.INFO: TCP Data received {"connection_id":177827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:30:41] local.INFO: Processing buffer {"connection_id":177827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:30:41] local.INFO: IMEI packet received {"connection_id":177827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":177827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:30:45] local.INFO: TCP Data received {"connection_id":177827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:30:45] local.INFO: Processing buffer {"connection_id":177827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:30:45] local.INFO: IMEI packet received {"connection_id":177827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":177827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:30:46] local.INFO: TCP Data received {"connection_id":177827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:30:46] local.INFO: Processing buffer {"connection_id":177827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082cdcea8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:30:46] local.INFO: Packet analysis {"connection_id":177827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:30:46] local.INFO: Extracted packet for processing {"connection_id":177827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082cd"} 
[2026-09-09 02:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958558720001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788900921000,"timestamp_ms":1788900921000,"timestamp_seconds":1788900921,"priority":1,"record_length":96,"hex_timestamp":"000001a082cdcea8"} 
[2026-09-09 02:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 02:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958558720001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958558720001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958558720001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":177827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:30:46] local.INFO: GPS data processed {"connection_id":177827,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:30:46] local.INFO: Acknowledgment sent {"connection_id":177827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:31:19] local.INFO: TCP Data received {"connection_id":177827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:31:19] local.INFO: Processing buffer {"connection_id":177827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:31:19] local.INFO: Packet analysis {"connection_id":177827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:31:19] local.INFO: Extracted packet for processing {"connection_id":177827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":177827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:31:19] local.INFO: GPS data processed {"connection_id":177827,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:31:19] local.INFO: Acknowledgment sent {"connection_id":177827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:31:40] local.INFO: TCP Data received {"connection_id":175009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:31:40] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:31:40] local.INFO: IMEI packet received {"connection_id":175009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":175009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:31:45] local.INFO: TCP Data received {"connection_id":175009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:31:45] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:31:45] local.INFO: IMEI packet received {"connection_id":175009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":175009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:31:46] local.INFO: TCP Data received {"connection_id":175009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:31:46] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:31:46] local.INFO: Packet analysis {"connection_id":175009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:31:46] local.INFO: Extracted packet for processing {"connection_id":175009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:31:46] 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-09-09 02:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":175009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:31:46] local.INFO: GPS data processed {"connection_id":175009,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:31:46] local.INFO: Acknowledgment sent {"connection_id":175009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:32:17] local.INFO: TCP Data received {"connection_id":175009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:32:17] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:32:17] local.INFO: Packet analysis {"connection_id":175009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:32:17] local.INFO: Extracted packet for processing {"connection_id":175009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:32:17] 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-09-09 02:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":175009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:32:17] local.INFO: GPS data processed {"connection_id":175009,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:32:17] local.INFO: Acknowledgment sent {"connection_id":175009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:32:40] local.INFO: TCP Data received {"connection_id":176366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:32:40] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:32:40] local.INFO: IMEI packet received {"connection_id":176366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":176366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:32:45] local.INFO: TCP Data received {"connection_id":176366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:32:45] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:32:45] local.INFO: IMEI packet received {"connection_id":176366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":176366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:32:46] local.INFO: TCP Data received {"connection_id":176366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:32:46] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:32:46] local.INFO: Packet analysis {"connection_id":176366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:32:46] local.INFO: Extracted packet for processing {"connection_id":176366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:32:46] 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-09-09 02:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":176366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:32:46] local.INFO: GPS data processed {"connection_id":176366,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:32:46] local.INFO: Acknowledgment sent {"connection_id":176366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:33:17] local.INFO: TCP Data received {"connection_id":176366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:33:17] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:33:17] local.INFO: Packet analysis {"connection_id":176366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:33:17] local.INFO: Extracted packet for processing {"connection_id":176366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:33:17] 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-09-09 02:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":176366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:33:17] local.INFO: GPS data processed {"connection_id":176366,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:33:17] local.INFO: Acknowledgment sent {"connection_id":176366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:33:40] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:33:40] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:33:40] local.INFO: IMEI packet received {"connection_id":175270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":175270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:33:45] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:33:45] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:33:45] local.INFO: IMEI packet received {"connection_id":175270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":175270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:33:46] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:33:46] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:33:46] local.INFO: Packet analysis {"connection_id":175270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:33:46] local.INFO: Extracted packet for processing {"connection_id":175270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:33:46] 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-09-09 02:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":175270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:33:46] local.INFO: GPS data processed {"connection_id":175270,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:33:46] local.INFO: Acknowledgment sent {"connection_id":175270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:34:17] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:34:17] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:34:17] local.INFO: Packet analysis {"connection_id":175270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:34:17] local.INFO: Extracted packet for processing {"connection_id":175270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:34:17] 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-09-09 02: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-09-09 02:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":175270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:34:17] local.INFO: GPS data processed {"connection_id":175270,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:34:17] local.INFO: Acknowledgment sent {"connection_id":175270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:34:45] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:34:45] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:34:45] local.INFO: IMEI packet received {"connection_id":176368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":176368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:34:50] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:34:50] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:34:50] local.INFO: IMEI packet received {"connection_id":176368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":176368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:34:51] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:34:51] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:34:51] local.INFO: Packet analysis {"connection_id":176368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:34:51] local.INFO: Extracted packet for processing {"connection_id":176368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":176368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:34:51] local.INFO: GPS data processed {"connection_id":176368,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:34:51] local.INFO: Acknowledgment sent {"connection_id":176368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:34:56] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:34:56] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:34:56] local.INFO: Packet analysis {"connection_id":176368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:34:56] local.INFO: Extracted packet for processing {"connection_id":176368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:34:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:34:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":176368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:34:56] local.INFO: GPS data processed {"connection_id":176368,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:34:56] local.INFO: Acknowledgment sent {"connection_id":176368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:35:40] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:35:40] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:35:40] local.INFO: IMEI packet received {"connection_id":176369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":176369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:35:42] local.INFO: TCP Data received {"connection_id":175012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:35:42] local.INFO: Processing buffer {"connection_id":175012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:35:42] local.INFO: IMEI packet received {"connection_id":175012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":175012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:35:45] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:35:45] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:35:45] local.INFO: IMEI packet received {"connection_id":176369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":176369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:35:46] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:35:46] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:35:46] local.INFO: Packet analysis {"connection_id":176369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:35:46] local.INFO: Extracted packet for processing {"connection_id":176369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:35:46] 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-09-09 02:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":176369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:35:46] local.INFO: GPS data processed {"connection_id":176369,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:35:46] local.INFO: Acknowledgment sent {"connection_id":176369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:35:50] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:35:50] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d26670012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:35:50] local.INFO: Packet analysis {"connection_id":176369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:35:50] local.INFO: Extracted packet for processing {"connection_id":176369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d2"} 
[2026-09-09 02:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958635776001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788901222000,"timestamp_ms":1788901222000,"timestamp_seconds":1788901222,"priority":1,"record_length":96,"hex_timestamp":"000001a082d26670"} 
[2026-09-09 02:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 02:35:50] 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-09-09 02:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958635776001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958635776001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:35:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958635776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":176369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:35:50] local.INFO: GPS data processed {"connection_id":176369,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:35:50] local.INFO: Acknowledgment sent {"connection_id":176369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:36:21] local.INFO: TCP Data received {"connection_id":176369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:36:21] local.INFO: Processing buffer {"connection_id":176369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:36:21] local.INFO: Packet analysis {"connection_id":176369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:36:21] local.INFO: Extracted packet for processing {"connection_id":176369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 02:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":176369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:36:21] local.INFO: GPS data processed {"connection_id":176369,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:36:21] local.INFO: Acknowledgment sent {"connection_id":176369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:36:40] local.INFO: TCP Data received {"connection_id":176370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:36:40] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:36:40] local.INFO: IMEI packet received {"connection_id":176370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":176370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:36:45] local.INFO: TCP Data received {"connection_id":176370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:36:45] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:36:45] local.INFO: IMEI packet received {"connection_id":176370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":176370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:36:46] local.INFO: TCP Data received {"connection_id":176370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:36:46] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:36:46] local.INFO: Packet analysis {"connection_id":176370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:36:46] local.INFO: Extracted packet for processing {"connection_id":176370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 02:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":176370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:36:46] local.INFO: GPS data processed {"connection_id":176370,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:36:46] local.INFO: Acknowledgment sent {"connection_id":176370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:37:17] local.INFO: TCP Data received {"connection_id":176370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:37:17] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:37:17] local.INFO: Packet analysis {"connection_id":176370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:37:17] local.INFO: Extracted packet for processing {"connection_id":176370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 02:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":176370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:37:17] local.INFO: GPS data processed {"connection_id":176370,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:37:17] local.INFO: Acknowledgment sent {"connection_id":176370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:37:40] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:37:40] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:37:40] local.INFO: IMEI packet received {"connection_id":175013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":175013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:37:45] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:37:45] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:37:45] local.INFO: IMEI packet received {"connection_id":175013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":175013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:37:46] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:37:46] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:37:46] local.INFO: Packet analysis {"connection_id":175013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:37:46] local.INFO: Extracted packet for processing {"connection_id":175013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 02:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:37:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":175013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:37:46] local.INFO: GPS data processed {"connection_id":175013,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:37:46] local.INFO: Acknowledgment sent {"connection_id":175013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:38:17] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:38:17] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:38:17] local.INFO: Packet analysis {"connection_id":175013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:38:17] local.INFO: Extracted packet for processing {"connection_id":175013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 02:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":175013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:38:17] local.INFO: GPS data processed {"connection_id":175013,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:38:17] local.INFO: Acknowledgment sent {"connection_id":175013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:38:40] local.INFO: TCP Data received {"connection_id":175271,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:38:40] local.INFO: Processing buffer {"connection_id":175271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:38:40] local.INFO: IMEI packet received {"connection_id":175271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":175271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:38:45] local.INFO: TCP Data received {"connection_id":175271,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:38:45] local.INFO: Processing buffer {"connection_id":175271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:38:45] local.INFO: IMEI packet received {"connection_id":175271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":175271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:38:46] local.INFO: TCP Data received {"connection_id":175271,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:38:46] local.INFO: Processing buffer {"connection_id":175271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:38:46] local.INFO: Packet analysis {"connection_id":175271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:38:46] local.INFO: Extracted packet for processing {"connection_id":175271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 02:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":175271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:38:46] local.INFO: GPS data processed {"connection_id":175271,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:38:46] local.INFO: Acknowledgment sent {"connection_id":175271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:39:17] local.INFO: TCP Data received {"connection_id":175271,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:39:17] local.INFO: Processing buffer {"connection_id":175271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:39:17] local.INFO: Packet analysis {"connection_id":175271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:39:17] local.INFO: Extracted packet for processing {"connection_id":175271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 02:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 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-09-09 02:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 02:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:39:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":175271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:39:17] local.INFO: GPS data processed {"connection_id":175271,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:39:17] local.INFO: Acknowledgment sent {"connection_id":175271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:39:40] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:39:40] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:39:40] local.INFO: IMEI packet received {"connection_id":176372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":176372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:39:45] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:39:45] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:39:45] local.INFO: IMEI packet received {"connection_id":176372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":176372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:39:46] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:39:46] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:39:46] local.INFO: Packet analysis {"connection_id":176372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:39:46] local.INFO: Extracted packet for processing {"connection_id":176372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 02:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":176372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:39:46] local.INFO: GPS data processed {"connection_id":176372,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:39:46] local.INFO: Acknowledgment sent {"connection_id":176372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:40:17] local.INFO: TCP Data received {"connection_id":176372,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:40:17] local.INFO: Processing buffer {"connection_id":176372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:40:17] local.INFO: Packet analysis {"connection_id":176372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:40:17] local.INFO: Extracted packet for processing {"connection_id":176372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 02:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":176372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:40:17] local.INFO: GPS data processed {"connection_id":176372,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:40:17] local.INFO: Acknowledgment sent {"connection_id":176372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:40:40] local.INFO: TCP Data received {"connection_id":175273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:40:40] local.INFO: Processing buffer {"connection_id":175273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:40:40] local.INFO: IMEI packet received {"connection_id":175273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":175273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:40:45] local.INFO: TCP Data received {"connection_id":175273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:40:45] local.INFO: Processing buffer {"connection_id":175273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:40:45] local.INFO: IMEI packet received {"connection_id":175273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":175273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:40:46] local.INFO: TCP Data received {"connection_id":175273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:40:46] local.INFO: Processing buffer {"connection_id":175273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082d6fe38012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:40:46] local.INFO: Packet analysis {"connection_id":175273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:40:46] local.INFO: Extracted packet for processing {"connection_id":175273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082d6"} 
[2026-09-09 02:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958712832001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901523000,"timestamp_ms":1788901523000,"timestamp_seconds":1788901523,"priority":1,"record_length":96,"hex_timestamp":"000001a082d6fe38"} 
[2026-09-09 02:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958712832001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958712832001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958712832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":175273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:40:46] local.INFO: GPS data processed {"connection_id":175273,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:40:46] local.INFO: Acknowledgment sent {"connection_id":175273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:41:08] local.INFO: TCP Data received {"connection_id":177831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:41:08] local.INFO: Processing buffer {"connection_id":177831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:41:08] local.INFO: IMEI packet received {"connection_id":177831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":177831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:41:17] local.INFO: TCP Data received {"connection_id":175273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:41:17] local.INFO: Processing buffer {"connection_id":175273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:41:17] local.INFO: Packet analysis {"connection_id":175273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:41:17] local.INFO: Extracted packet for processing {"connection_id":175273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":175273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:41:17] local.INFO: GPS data processed {"connection_id":175273,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:41:17] local.INFO: Acknowledgment sent {"connection_id":175273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:41:40] local.INFO: TCP Data received {"connection_id":175014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:41:40] local.INFO: Processing buffer {"connection_id":175014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:41:40] local.INFO: IMEI packet received {"connection_id":175014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":175014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:41:45] local.INFO: TCP Data received {"connection_id":175014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:41:45] local.INFO: Processing buffer {"connection_id":175014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:41:45] local.INFO: IMEI packet received {"connection_id":175014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":175014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:41:46] local.INFO: TCP Data received {"connection_id":175014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:41:46] local.INFO: Processing buffer {"connection_id":175014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:41:46] local.INFO: Packet analysis {"connection_id":175014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:41:46] local.INFO: Extracted packet for processing {"connection_id":175014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":175014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:41:46] local.INFO: GPS data processed {"connection_id":175014,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:41:46] local.INFO: Acknowledgment sent {"connection_id":175014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:42:17] local.INFO: TCP Data received {"connection_id":175014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:42:17] local.INFO: Processing buffer {"connection_id":175014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:42:17] local.INFO: Packet analysis {"connection_id":175014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:42:17] local.INFO: Extracted packet for processing {"connection_id":175014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":175014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:42:17] local.INFO: GPS data processed {"connection_id":175014,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:42:17] local.INFO: Acknowledgment sent {"connection_id":175014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:42:40] local.INFO: TCP Data received {"connection_id":175015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:42:40] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:42:40] local.INFO: IMEI packet received {"connection_id":175015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":175015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:42:45] local.INFO: TCP Data received {"connection_id":175015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:42:45] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:42:45] local.INFO: IMEI packet received {"connection_id":175015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:42:46] local.INFO: TCP Data received {"connection_id":175015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:42:46] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:42:46] local.INFO: Packet analysis {"connection_id":175015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:42:46] local.INFO: Extracted packet for processing {"connection_id":175015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":175015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:42:46] local.INFO: GPS data processed {"connection_id":175015,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:42:46] local.INFO: Acknowledgment sent {"connection_id":175015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:43:17] local.INFO: TCP Data received {"connection_id":175015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:43:17] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:43:17] local.INFO: Packet analysis {"connection_id":175015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:43:17] local.INFO: Extracted packet for processing {"connection_id":175015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":175015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:43:17] local.INFO: GPS data processed {"connection_id":175015,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:43:17] local.INFO: Acknowledgment sent {"connection_id":175015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:43:40] local.INFO: TCP Data received {"connection_id":175275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:43:40] local.INFO: Processing buffer {"connection_id":175275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:43:40] local.INFO: IMEI packet received {"connection_id":175275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":175275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:43:45] local.INFO: TCP Data received {"connection_id":175275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:43:45] local.INFO: Processing buffer {"connection_id":175275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:43:45] local.INFO: IMEI packet received {"connection_id":175275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":175275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:43:45] local.INFO: TCP Data received {"connection_id":175275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:43:45] local.INFO: Processing buffer {"connection_id":175275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:43:45] local.INFO: Packet analysis {"connection_id":175275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:43:45] local.INFO: Extracted packet for processing {"connection_id":175275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:43:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":175275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:43:46] local.INFO: GPS data processed {"connection_id":175275,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:43:46] local.INFO: Acknowledgment sent {"connection_id":175275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:44:16] local.INFO: TCP Data received {"connection_id":175275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:44:16] local.INFO: Processing buffer {"connection_id":175275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:44:16] local.INFO: Packet analysis {"connection_id":175275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:44:16] local.INFO: Extracted packet for processing {"connection_id":175275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:44:16] 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-09-09 02:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":175275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:44:16] local.INFO: GPS data processed {"connection_id":175275,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:44:16] local.INFO: Acknowledgment sent {"connection_id":175275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:44:40] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:44:40] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:44:40] local.INFO: IMEI packet received {"connection_id":176373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":176373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:44:45] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:44:45] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:44:45] local.INFO: IMEI packet received {"connection_id":176373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":176373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:44:46] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:44:46] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:44:46] local.INFO: Packet analysis {"connection_id":176373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:44:46] local.INFO: Extracted packet for processing {"connection_id":176373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":176373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:44:46] local.INFO: GPS data processed {"connection_id":176373,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:44:46] local.INFO: Acknowledgment sent {"connection_id":176373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:45:18] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:45:18] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:45:18] local.INFO: Packet analysis {"connection_id":176373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:45:18] local.INFO: Extracted packet for processing {"connection_id":176373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":176373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:45:18] local.INFO: GPS data processed {"connection_id":176373,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:45:18] local.INFO: Acknowledgment sent {"connection_id":176373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:45:40] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:45:40] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:45:40] local.INFO: IMEI packet received {"connection_id":175019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":175019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:45:45] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:45:45] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:45:45] local.INFO: IMEI packet received {"connection_id":175019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":175019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:45:46] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:45:46] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082db9600012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:45:46] local.INFO: Packet analysis {"connection_id":175019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:45:46] local.INFO: Extracted packet for processing {"connection_id":175019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082db"} 
[2026-09-09 02:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958789888001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788901824000,"timestamp_ms":1788901824000,"timestamp_seconds":1788901824,"priority":1,"record_length":96,"hex_timestamp":"000001a082db9600"} 
[2026-09-09 02:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958789888001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958789888001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958789888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":175019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:45:46] local.INFO: GPS data processed {"connection_id":175019,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:45:46] local.INFO: Acknowledgment sent {"connection_id":175019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:46:17] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:46:17] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:46:17] local.INFO: Packet analysis {"connection_id":175019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:46:17] local.INFO: Extracted packet for processing {"connection_id":175019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:46:17] 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-09-09 02:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":175019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:46:17] local.INFO: GPS data processed {"connection_id":175019,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:46:17] local.INFO: Acknowledgment sent {"connection_id":175019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:46:40] local.INFO: TCP Data received {"connection_id":177833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:46:40] local.INFO: Processing buffer {"connection_id":177833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:46:40] local.INFO: IMEI packet received {"connection_id":177833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":177833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:46:42] local.INFO: TCP Data received {"connection_id":177834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:46:42] local.INFO: Processing buffer {"connection_id":177834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:46:42] local.INFO: IMEI packet received {"connection_id":177834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":177834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:46:45] local.INFO: TCP Data received {"connection_id":177833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:46:45] local.INFO: Processing buffer {"connection_id":177833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:46:45] local.INFO: IMEI packet received {"connection_id":177833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":177833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:46:46] local.INFO: TCP Data received {"connection_id":177833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:46:46] local.INFO: Processing buffer {"connection_id":177833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:46:46] local.INFO: Packet analysis {"connection_id":177833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:46:46] local.INFO: Extracted packet for processing {"connection_id":177833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:46:46] 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-09-09 02:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":177833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:46:46] local.INFO: GPS data processed {"connection_id":177833,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:46:46] local.INFO: Acknowledgment sent {"connection_id":177833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:47:17] local.INFO: TCP Data received {"connection_id":177833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:47:17] local.INFO: Processing buffer {"connection_id":177833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:47:17] local.INFO: Packet analysis {"connection_id":177833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:47:17] local.INFO: Extracted packet for processing {"connection_id":177833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:47:17] 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-09-09 02:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":177833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:47:17] local.INFO: GPS data processed {"connection_id":177833,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:47:17] local.INFO: Acknowledgment sent {"connection_id":177833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:47:40] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:47:40] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:47:40] local.INFO: IMEI packet received {"connection_id":176374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":176374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:47:45] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:47:45] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:47:45] local.INFO: IMEI packet received {"connection_id":176374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":176374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:47:46] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:47:46] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:47:46] local.INFO: Packet analysis {"connection_id":176374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:47:46] local.INFO: Extracted packet for processing {"connection_id":176374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:47:46] 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-09-09 02:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":176374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:47:46] local.INFO: GPS data processed {"connection_id":176374,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:47:46] local.INFO: Acknowledgment sent {"connection_id":176374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:48:17] local.INFO: TCP Data received {"connection_id":176374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:48:17] local.INFO: Processing buffer {"connection_id":176374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:48:17] local.INFO: Packet analysis {"connection_id":176374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:48:17] local.INFO: Extracted packet for processing {"connection_id":176374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:48:17] 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-09-09 02:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":176374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:48:17] local.INFO: GPS data processed {"connection_id":176374,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:48:17] local.INFO: Acknowledgment sent {"connection_id":176374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:48:45] local.INFO: TCP Data received {"connection_id":177835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:48:45] local.INFO: Processing buffer {"connection_id":177835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:48:45] local.INFO: IMEI packet received {"connection_id":177835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":177835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:48:46] local.INFO: TCP Data received {"connection_id":177835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:48:46] local.INFO: Processing buffer {"connection_id":177835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:48:46] local.INFO: Packet analysis {"connection_id":177835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:48:46] local.INFO: Extracted packet for processing {"connection_id":177835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:48:46] 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-09-09 02:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":177835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:48:46] local.INFO: GPS data processed {"connection_id":177835,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:48:46] local.INFO: Acknowledgment sent {"connection_id":177835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:49:17] local.INFO: TCP Data received {"connection_id":177835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:49:17] local.INFO: Processing buffer {"connection_id":177835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:49:17] local.INFO: Packet analysis {"connection_id":177835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:49:17] local.INFO: Extracted packet for processing {"connection_id":177835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:49:17] 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-09-09 02:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:49:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":177835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:49:17] local.INFO: GPS data processed {"connection_id":177835,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:49:17] local.INFO: Acknowledgment sent {"connection_id":177835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:49:40] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:49:40] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:49:40] local.INFO: IMEI packet received {"connection_id":175276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":175276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:49:45] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:49:45] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:49:45] local.INFO: IMEI packet received {"connection_id":175276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":175276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:49:46] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:49:46] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:49:46] local.INFO: Packet analysis {"connection_id":175276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:49:46] local.INFO: Extracted packet for processing {"connection_id":175276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:49:46] 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-09-09 02:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":175276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:49:46] local.INFO: GPS data processed {"connection_id":175276,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:49:46] local.INFO: Acknowledgment sent {"connection_id":175276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:50:17] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:50:17] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:50:17] local.INFO: Packet analysis {"connection_id":175276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:50:17] local.INFO: Extracted packet for processing {"connection_id":175276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:50:17] 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-09-09 02:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":175276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:50:17] local.INFO: GPS data processed {"connection_id":175276,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:50:17] local.INFO: Acknowledgment sent {"connection_id":175276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:50:40] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:50:40] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:50:40] local.INFO: IMEI packet received {"connection_id":176376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":176376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:50:45] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:50:45] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:50:45] local.INFO: IMEI packet received {"connection_id":176376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:50:46] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:50:46] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e02dc8012d34c38006aa42c80005005d2a..."} 
[2026-09-09 02:50:46] local.INFO: Packet analysis {"connection_id":176376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:50:46] local.INFO: Extracted packet for processing {"connection_id":176376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e0"} 
[2026-09-09 02:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958866944001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902125000,"timestamp_ms":1788902125000,"timestamp_seconds":1788902125,"priority":1,"record_length":96,"hex_timestamp":"000001a082e02dc8"} 
[2026-09-09 02:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 02:50:46] 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-09-09 02:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958866944001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958866944001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958866944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":176376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:50:46] local.INFO: GPS data processed {"connection_id":176376,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:50:46] local.INFO: Acknowledgment sent {"connection_id":176376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:51:17] local.INFO: TCP Data received {"connection_id":176376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:51:17] local.INFO: Processing buffer {"connection_id":176376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:51:17] local.INFO: Packet analysis {"connection_id":176376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:51:17] local.INFO: Extracted packet for processing {"connection_id":176376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02: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-09-09 02:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":176376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:51:17] local.INFO: GPS data processed {"connection_id":176376,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:51:17] local.INFO: Acknowledgment sent {"connection_id":176376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:51:40] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:51:40] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:51:40] local.INFO: IMEI packet received {"connection_id":176378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":176378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:51:45] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:51:45] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:51:45] local.INFO: IMEI packet received {"connection_id":176378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":176378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:51:46] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:51:46] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:51:46] local.INFO: Packet analysis {"connection_id":176378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:51:46] local.INFO: Extracted packet for processing {"connection_id":176378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":176378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:51:46] local.INFO: GPS data processed {"connection_id":176378,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:51:46] local.INFO: Acknowledgment sent {"connection_id":176378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:52:17] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:52:17] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:52:17] local.INFO: Packet analysis {"connection_id":176378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:52:17] local.INFO: Extracted packet for processing {"connection_id":176378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":176378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:52:17] local.INFO: GPS data processed {"connection_id":176378,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:52:17] local.INFO: Acknowledgment sent {"connection_id":176378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:52:22] local.INFO: TCP Data received {"connection_id":175021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:52:22] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:52:22] local.INFO: IMEI packet received {"connection_id":175021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":175021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:52:40] local.INFO: TCP Data received {"connection_id":177838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:52:40] local.INFO: Processing buffer {"connection_id":177838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:52:40] local.INFO: IMEI packet received {"connection_id":177838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":177838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:52:42] local.INFO: TCP Data received {"connection_id":177837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:52:42] local.INFO: Processing buffer {"connection_id":177837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:52:42] local.INFO: IMEI packet received {"connection_id":177837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":177837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:52:45] local.INFO: TCP Data received {"connection_id":177838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:52:45] local.INFO: Processing buffer {"connection_id":177838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:52:45] local.INFO: IMEI packet received {"connection_id":177838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":177838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:52:46] local.INFO: TCP Data received {"connection_id":177838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:52:46] local.INFO: Processing buffer {"connection_id":177838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:52:46] local.INFO: Packet analysis {"connection_id":177838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:52:46] local.INFO: Extracted packet for processing {"connection_id":177838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":177838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:52:46] local.INFO: GPS data processed {"connection_id":177838,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:52:46] local.INFO: Acknowledgment sent {"connection_id":177838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:53:19] local.INFO: TCP Data received {"connection_id":177838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:53:19] local.INFO: Processing buffer {"connection_id":177838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:53:19] local.INFO: Packet analysis {"connection_id":177838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:53:19] local.INFO: Extracted packet for processing {"connection_id":177838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02: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-09-09 02:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":177838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:53:19] local.INFO: GPS data processed {"connection_id":177838,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:53:19] local.INFO: Acknowledgment sent {"connection_id":177838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:53:40] local.INFO: TCP Data received {"connection_id":177839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:53:40] local.INFO: Processing buffer {"connection_id":177839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:53:40] local.INFO: IMEI packet received {"connection_id":177839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":177839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:53:45] local.INFO: TCP Data received {"connection_id":177839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:53:45] local.INFO: Processing buffer {"connection_id":177839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:53:45] local.INFO: IMEI packet received {"connection_id":177839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":177839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:53:46] local.INFO: TCP Data received {"connection_id":177839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:53:46] local.INFO: Processing buffer {"connection_id":177839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:53:46] local.INFO: Packet analysis {"connection_id":177839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:53:46] local.INFO: Extracted packet for processing {"connection_id":177839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":177839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:53:46] local.INFO: GPS data processed {"connection_id":177839,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:53:46] local.INFO: Acknowledgment sent {"connection_id":177839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:54:18] local.INFO: TCP Data received {"connection_id":177839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:54:18] local.INFO: Processing buffer {"connection_id":177839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:54:18] local.INFO: Packet analysis {"connection_id":177839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:54:18] local.INFO: Extracted packet for processing {"connection_id":177839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":177839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:54:18] local.INFO: GPS data processed {"connection_id":177839,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:54:18] local.INFO: Acknowledgment sent {"connection_id":177839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:54:45] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:54:45] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:54:45] local.INFO: IMEI packet received {"connection_id":175277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":175277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:54:50] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:54:50] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:54:50] local.INFO: IMEI packet received {"connection_id":175277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":175277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:54:51] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:54:51] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:54:51] local.INFO: Packet analysis {"connection_id":175277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:54:51] local.INFO: Extracted packet for processing {"connection_id":175277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:54:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":175277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:54:51] local.INFO: GPS data processed {"connection_id":175277,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:54:51] local.INFO: Acknowledgment sent {"connection_id":175277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:54:56] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:54:56] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:54:56] local.INFO: Packet analysis {"connection_id":175277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:54:56] local.INFO: Extracted packet for processing {"connection_id":175277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:54:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:54:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":175277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:54:56] local.INFO: GPS data processed {"connection_id":175277,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:54:56] local.INFO: Acknowledgment sent {"connection_id":175277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:55:40] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:55:40] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:55:40] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:55:45] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:55:45] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:55:45] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:55:46] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:55:46] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e4c590012d34c38006aa42c80005005d2c..."} 
[2026-09-09 02:55:46] local.INFO: Packet analysis {"connection_id":176380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:55:46] local.INFO: Extracted packet for processing {"connection_id":176380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e4"} 
[2026-09-09 02:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457958944000001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902426000,"timestamp_ms":1788902426000,"timestamp_seconds":1788902426,"priority":1,"record_length":96,"hex_timestamp":"000001a082e4c590"} 
[2026-09-09 02:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 02:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457958944000001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457958944000001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457958944000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":176380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:55:46] local.INFO: GPS data processed {"connection_id":176380,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:55:46] local.INFO: Acknowledgment sent {"connection_id":176380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:56:17] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:56:17] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:56:17] local.INFO: Packet analysis {"connection_id":176380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:56:17] local.INFO: Extracted packet for processing {"connection_id":176380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 02:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":176380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:56:17] local.INFO: GPS data processed {"connection_id":176380,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:56:17] local.INFO: Acknowledgment sent {"connection_id":176380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:56:40] local.INFO: TCP Data received {"connection_id":175278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:56:40] local.INFO: Processing buffer {"connection_id":175278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:56:40] local.INFO: IMEI packet received {"connection_id":175278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":175278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:56:45] local.INFO: TCP Data received {"connection_id":175278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:56:45] local.INFO: Processing buffer {"connection_id":175278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:56:45] local.INFO: IMEI packet received {"connection_id":175278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":175278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:56:47] local.INFO: TCP Data received {"connection_id":175278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:56:47] local.INFO: Processing buffer {"connection_id":175278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:56:47] local.INFO: Packet analysis {"connection_id":175278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:56:47] local.INFO: Extracted packet for processing {"connection_id":175278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 02:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":175278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:56:47] local.INFO: GPS data processed {"connection_id":175278,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:56:47] local.INFO: Acknowledgment sent {"connection_id":175278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:57:18] local.INFO: TCP Data received {"connection_id":175278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:57:18] local.INFO: Processing buffer {"connection_id":175278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:57:18] local.INFO: Packet analysis {"connection_id":175278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:57:18] local.INFO: Extracted packet for processing {"connection_id":175278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 02:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:57:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":175278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:57:18] local.INFO: GPS data processed {"connection_id":175278,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:57:18] local.INFO: Acknowledgment sent {"connection_id":175278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:57:40] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:57:40] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:57:40] local.INFO: IMEI packet received {"connection_id":176381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":176381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:57:45] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:57:45] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:57:45] local.INFO: IMEI packet received {"connection_id":176381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":176381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:57:46] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:57:46] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:57:46] local.INFO: Packet analysis {"connection_id":176381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:57:46] local.INFO: Extracted packet for processing {"connection_id":176381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 02:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":176381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:57:46] local.INFO: GPS data processed {"connection_id":176381,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:57:46] local.INFO: Acknowledgment sent {"connection_id":176381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:58:11] local.INFO: TCP Data received {"connection_id":175024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:58:11] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 02:58:11] local.INFO: IMEI packet received {"connection_id":175024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 02:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":175024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:58:19] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:58:19] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:58:19] local.INFO: Packet analysis {"connection_id":176381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:58:19] local.INFO: Extracted packet for processing {"connection_id":176381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 02:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":176381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:58:19] local.INFO: GPS data processed {"connection_id":176381,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:58:19] local.INFO: Acknowledgment sent {"connection_id":176381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:58:40] local.INFO: TCP Data received {"connection_id":175280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:58:40] local.INFO: Processing buffer {"connection_id":175280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:58:40] local.INFO: IMEI packet received {"connection_id":175280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":175280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:58:45] local.INFO: TCP Data received {"connection_id":175280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:58:45] local.INFO: Processing buffer {"connection_id":175280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:58:45] local.INFO: IMEI packet received {"connection_id":175280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":175280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:58:46] local.INFO: TCP Data received {"connection_id":175280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:58:46] local.INFO: Processing buffer {"connection_id":175280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:58:46] local.INFO: Packet analysis {"connection_id":175280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:58:46] local.INFO: Extracted packet for processing {"connection_id":175280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 02:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":175280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:58:46] local.INFO: GPS data processed {"connection_id":175280,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:58:46] local.INFO: Acknowledgment sent {"connection_id":175280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:59:17] local.INFO: TCP Data received {"connection_id":175280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:59:17] local.INFO: Processing buffer {"connection_id":175280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:59:17] local.INFO: Packet analysis {"connection_id":175280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:59:17] local.INFO: Extracted packet for processing {"connection_id":175280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 02:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:59:17] local.INFO: GPS data processed {"connection_id":175280,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:59:17] local.INFO: Acknowledgment sent {"connection_id":175280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 02:59:40] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:59:40] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:59:40] local.INFO: IMEI packet received {"connection_id":176382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 02:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":176382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 02:59:45] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:59:45] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 02:59:45] local.INFO: IMEI packet received {"connection_id":176382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 02:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":176382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 02:59:46] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:59:46] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 02:59:46] local.INFO: Packet analysis {"connection_id":176382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:59:46] local.INFO: Extracted packet for processing {"connection_id":176382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 02:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 02:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 02:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 02:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 02:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 02:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 02:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 02:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 02:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 02:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 02:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 02:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 02:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 02:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 02:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 02:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 02:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 02:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 02:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 02:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 02:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 02:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 02:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 02:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 02:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 02:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 02:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 02:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 02:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":176382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 02:59:46] local.INFO: GPS data processed {"connection_id":176382,"processed":1,"errors":0,"total":1} 
[2026-09-09 02:59:46] local.INFO: Acknowledgment sent {"connection_id":176382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:00:17] local.INFO: TCP Data received {"connection_id":176382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 03:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 03:00:17] local.INFO: Processing buffer {"connection_id":176382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 03:00:17] local.INFO: Packet analysis {"connection_id":176382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 03:00:17] local.INFO: Extracted packet for processing {"connection_id":176382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 03:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 03:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":176382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:00:17] local.INFO: GPS data processed {"connection_id":176382,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:00:17] local.INFO: Acknowledgment sent {"connection_id":176382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:00:40] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:00:40] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:00:40] local.INFO: IMEI packet received {"connection_id":175281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":175281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:00:45] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:00:45] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:00:45] local.INFO: IMEI packet received {"connection_id":175281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":175281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:00:46] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 03:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 03:00:46] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082e95d58012d34c38006aa42c80005005d2b..."} 
[2026-09-09 03:00:46] local.INFO: Packet analysis {"connection_id":175281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 03:00:46] local.INFO: Extracted packet for processing {"connection_id":175281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082e9"} 
[2026-09-09 03:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959021056001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788902727000,"timestamp_ms":1788902727000,"timestamp_seconds":1788902727,"priority":1,"record_length":96,"hex_timestamp":"000001a082e95d58"} 
[2026-09-09 03:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959021056001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959021056001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959021056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":175281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:00:46] local.INFO: GPS data processed {"connection_id":175281,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:00:46] local.INFO: Acknowledgment sent {"connection_id":175281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:01:17] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:01:17] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:01:17] local.INFO: Packet analysis {"connection_id":175281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:01:17] local.INFO: Extracted packet for processing {"connection_id":175281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:01:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":175281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:01:17] local.INFO: GPS data processed {"connection_id":175281,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:01:17] local.INFO: Acknowledgment sent {"connection_id":175281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:01:40] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:01:40] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:01:40] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:01:45] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:01:45] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:01:45] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:01:46] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:01:46] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:01:46] local.INFO: Packet analysis {"connection_id":176384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:01:46] local.INFO: Extracted packet for processing {"connection_id":176384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":176384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:01:46] local.INFO: GPS data processed {"connection_id":176384,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:01:46] local.INFO: Acknowledgment sent {"connection_id":176384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:02:17] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:02:17] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:02:17] local.INFO: Packet analysis {"connection_id":176384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:02:17] local.INFO: Extracted packet for processing {"connection_id":176384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:02:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":176384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:02:17] local.INFO: GPS data processed {"connection_id":176384,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:02:17] local.INFO: Acknowledgment sent {"connection_id":176384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:02:40] local.INFO: TCP Data received {"connection_id":175026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:02:40] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:02:40] local.INFO: IMEI packet received {"connection_id":175026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":175026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:02:45] local.INFO: TCP Data received {"connection_id":175026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:02:45] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:02:45] local.INFO: IMEI packet received {"connection_id":175026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":175026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:02:46] local.INFO: TCP Data received {"connection_id":175026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:02:46] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:02:46] local.INFO: Packet analysis {"connection_id":175026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:02:46] local.INFO: Extracted packet for processing {"connection_id":175026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":175026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:02:46] local.INFO: GPS data processed {"connection_id":175026,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:02:46] local.INFO: Acknowledgment sent {"connection_id":175026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:03:17] local.INFO: TCP Data received {"connection_id":175026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:03:17] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:03:17] local.INFO: Packet analysis {"connection_id":175026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:03:17] local.INFO: Extracted packet for processing {"connection_id":175026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":175026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:03:17] local.INFO: GPS data processed {"connection_id":175026,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:03:17] local.INFO: Acknowledgment sent {"connection_id":175026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:03:40] local.INFO: TCP Data received {"connection_id":176386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:03:40] local.INFO: Processing buffer {"connection_id":176386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:03:40] local.INFO: IMEI packet received {"connection_id":176386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":176386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:03:42] local.INFO: TCP Data received {"connection_id":175282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:03:42] local.INFO: Processing buffer {"connection_id":175282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:03:42] local.INFO: IMEI packet received {"connection_id":175282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":175282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:03:45] local.INFO: TCP Data received {"connection_id":176386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:03:45] local.INFO: Processing buffer {"connection_id":176386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:03:45] local.INFO: IMEI packet received {"connection_id":176386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":176386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:03:46] local.INFO: TCP Data received {"connection_id":176386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:03:46] local.INFO: Processing buffer {"connection_id":176386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:03:46] local.INFO: Packet analysis {"connection_id":176386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:03:46] local.INFO: Extracted packet for processing {"connection_id":176386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":176386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:03:46] local.INFO: GPS data processed {"connection_id":176386,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:03:46] local.INFO: Acknowledgment sent {"connection_id":176386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:04:17] local.INFO: TCP Data received {"connection_id":176386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:04:17] local.INFO: Processing buffer {"connection_id":176386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:04:17] local.INFO: Packet analysis {"connection_id":176386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:04:17] local.INFO: Extracted packet for processing {"connection_id":176386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":176386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:04:17] local.INFO: GPS data processed {"connection_id":176386,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:04:17] local.INFO: Acknowledgment sent {"connection_id":176386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:04:40] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:04:40] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:04:40] local.INFO: IMEI packet received {"connection_id":175283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":175283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:04:45] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:04:45] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:04:45] local.INFO: IMEI packet received {"connection_id":175283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":175283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:04:46] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:04:46] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:04:46] local.INFO: Packet analysis {"connection_id":175283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:04:46] local.INFO: Extracted packet for processing {"connection_id":175283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":175283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:04:46] local.INFO: GPS data processed {"connection_id":175283,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:04:46] local.INFO: Acknowledgment sent {"connection_id":175283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:05:17] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:05:17] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:05:17] local.INFO: Packet analysis {"connection_id":175283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:05:17] local.INFO: Extracted packet for processing {"connection_id":175283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":175283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:05:17] local.INFO: GPS data processed {"connection_id":175283,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:05:17] local.INFO: Acknowledgment sent {"connection_id":175283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:05:40] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:05:40] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:05:40] local.INFO: IMEI packet received {"connection_id":175285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":175285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:05:45] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:05:45] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:05:45] local.INFO: IMEI packet received {"connection_id":175285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":175285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:05:47] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:05:47] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082edf520012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:05:47] local.INFO: Packet analysis {"connection_id":175285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:05:47] local.INFO: Extracted packet for processing {"connection_id":175285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082ed"} 
[2026-09-09 03:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788903028000,"timestamp_ms":1788903028000,"timestamp_seconds":1788903028,"priority":1,"record_length":96,"hex_timestamp":"000001a082edf520"} 
[2026-09-09 03:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:05:47] 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-09-09 03:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959098112001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959098112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":175285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:05:47] local.INFO: GPS data processed {"connection_id":175285,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:05:47] local.INFO: Acknowledgment sent {"connection_id":175285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:06:18] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:06:18] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:06:18] local.INFO: Packet analysis {"connection_id":175285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:06:18] local.INFO: Extracted packet for processing {"connection_id":175285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":175285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:06:18] local.INFO: GPS data processed {"connection_id":175285,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:06:18] local.INFO: Acknowledgment sent {"connection_id":175285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:06:40] local.INFO: TCP Data received {"connection_id":177843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:06:40] local.INFO: Processing buffer {"connection_id":177843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:06:40] local.INFO: IMEI packet received {"connection_id":177843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":177843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:06:46] local.INFO: TCP Data received {"connection_id":177843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:06:46] local.INFO: Processing buffer {"connection_id":177843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:06:46] local.INFO: IMEI packet received {"connection_id":177843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":177843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:06:48] local.INFO: TCP Data received {"connection_id":177843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:06:48] local.INFO: Processing buffer {"connection_id":177843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:06:48] local.INFO: Packet analysis {"connection_id":177843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:06:48] local.INFO: Extracted packet for processing {"connection_id":177843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:06:48] 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-09-09 03:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":177843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:06:48] local.INFO: GPS data processed {"connection_id":177843,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:06:48] local.INFO: Acknowledgment sent {"connection_id":177843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:07:19] local.INFO: TCP Data received {"connection_id":177843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:07:19] local.INFO: Processing buffer {"connection_id":177843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:07:19] local.INFO: Packet analysis {"connection_id":177843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:07:19] local.INFO: Extracted packet for processing {"connection_id":177843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":177843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:07:19] local.INFO: GPS data processed {"connection_id":177843,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:07:19] local.INFO: Acknowledgment sent {"connection_id":177843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:07:45] local.INFO: TCP Data received {"connection_id":177844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:07:45] local.INFO: Processing buffer {"connection_id":177844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:07:45] local.INFO: IMEI packet received {"connection_id":177844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":177844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:07:50] local.INFO: TCP Data received {"connection_id":177844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:07:50] local.INFO: Processing buffer {"connection_id":177844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:07:50] local.INFO: IMEI packet received {"connection_id":177844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":177844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:07:51] local.INFO: TCP Data received {"connection_id":177844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:07:51] local.INFO: Processing buffer {"connection_id":177844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:07:51] local.INFO: Packet analysis {"connection_id":177844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:07:51] local.INFO: Extracted packet for processing {"connection_id":177844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:07:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":177844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:07:51] local.INFO: GPS data processed {"connection_id":177844,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:07:51] local.INFO: Acknowledgment sent {"connection_id":177844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:07:55] local.INFO: TCP Data received {"connection_id":177844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:07:55] local.INFO: Processing buffer {"connection_id":177844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:07:55] local.INFO: Packet analysis {"connection_id":177844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:07:55] local.INFO: Extracted packet for processing {"connection_id":177844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:07:55] 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-09-09 03:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:07:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:07:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":177844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:07:56] local.INFO: GPS data processed {"connection_id":177844,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:07:56] local.INFO: Acknowledgment sent {"connection_id":177844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:08:40] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:08:40] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:08:40] local.INFO: IMEI packet received {"connection_id":175286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":175286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:08:45] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:08:45] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:08:45] local.INFO: IMEI packet received {"connection_id":175286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":175286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:08:46] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:08:46] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:08:46] local.INFO: Packet analysis {"connection_id":175286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:08:46] local.INFO: Extracted packet for processing {"connection_id":175286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":175286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:08:46] local.INFO: GPS data processed {"connection_id":175286,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:08:46] local.INFO: Acknowledgment sent {"connection_id":175286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:08:51] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:08:51] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:08:51] local.INFO: Packet analysis {"connection_id":175286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:08:51] local.INFO: Extracted packet for processing {"connection_id":175286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":175286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:08:51] local.INFO: GPS data processed {"connection_id":175286,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:08:51] local.INFO: Acknowledgment sent {"connection_id":175286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:09:08] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:09:08] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:09:08] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:09:22] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:09:22] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:09:22] local.INFO: Packet analysis {"connection_id":175286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:09:22] local.INFO: Extracted packet for processing {"connection_id":175286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:09:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:09:22] 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-09-09 03: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-09-09 03:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:09:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:09:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":175286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:09:22] local.INFO: GPS data processed {"connection_id":175286,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:09:22] local.INFO: Acknowledgment sent {"connection_id":175286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:09:40] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:09:40] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:09:40] local.INFO: IMEI packet received {"connection_id":175287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":175287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:09:42] local.INFO: TCP Data received {"connection_id":175288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:09:42] local.INFO: Processing buffer {"connection_id":175288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:09:42] local.INFO: IMEI packet received {"connection_id":175288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":175288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:09:45] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:09:45] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:09:45] local.INFO: IMEI packet received {"connection_id":175287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":175287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:09:46] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:09:46] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:09:46] local.INFO: Packet analysis {"connection_id":175287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:09:46] local.INFO: Extracted packet for processing {"connection_id":175287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":175287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:09:46] local.INFO: GPS data processed {"connection_id":175287,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:09:46] local.INFO: Acknowledgment sent {"connection_id":175287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:10:17] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:10:17] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:10:17] local.INFO: Packet analysis {"connection_id":175287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:10:17] local.INFO: Extracted packet for processing {"connection_id":175287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":175287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:10:17] local.INFO: GPS data processed {"connection_id":175287,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:10:17] local.INFO: Acknowledgment sent {"connection_id":175287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:10:40] local.INFO: TCP Data received {"connection_id":176389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:10:40] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:10:40] local.INFO: IMEI packet received {"connection_id":176389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":176389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:10:45] local.INFO: TCP Data received {"connection_id":176389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:10:45] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:10:45] local.INFO: IMEI packet received {"connection_id":176389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":176389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:10:46] local.INFO: TCP Data received {"connection_id":176389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:10:46] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f28ce8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 03:10:46] local.INFO: Packet analysis {"connection_id":176389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:10:46] local.INFO: Extracted packet for processing {"connection_id":176389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f2"} 
[2026-09-09 03:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959175168001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903329000,"timestamp_ms":1788903329000,"timestamp_seconds":1788903329,"priority":1,"record_length":96,"hex_timestamp":"000001a082f28ce8"} 
[2026-09-09 03:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959175168001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959175168001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959175168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":176389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:10:46] local.INFO: GPS data processed {"connection_id":176389,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:10:46] local.INFO: Acknowledgment sent {"connection_id":176389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:11:18] local.INFO: TCP Data received {"connection_id":176389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:11:18] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:11:18] local.INFO: Packet analysis {"connection_id":176389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:11:18] local.INFO: Extracted packet for processing {"connection_id":176389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:11:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":176389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:11:18] local.INFO: GPS data processed {"connection_id":176389,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:11:18] local.INFO: Acknowledgment sent {"connection_id":176389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:11:40] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:11:40] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:11:40] local.INFO: IMEI packet received {"connection_id":176392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":176392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:11:45] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:11:45] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:11:45] local.INFO: IMEI packet received {"connection_id":176392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":176392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:11:46] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:11:46] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:11:46] local.INFO: Packet analysis {"connection_id":176392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:11:46] local.INFO: Extracted packet for processing {"connection_id":176392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":176392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:11:46] local.INFO: GPS data processed {"connection_id":176392,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:11:46] local.INFO: Acknowledgment sent {"connection_id":176392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:12:17] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:12:17] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:12:17] local.INFO: Packet analysis {"connection_id":176392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:12:17] local.INFO: Extracted packet for processing {"connection_id":176392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":176392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:12:17] local.INFO: GPS data processed {"connection_id":176392,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:12:17] local.INFO: Acknowledgment sent {"connection_id":176392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:12:40] local.INFO: TCP Data received {"connection_id":177845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:12:40] local.INFO: Processing buffer {"connection_id":177845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:12:40] local.INFO: IMEI packet received {"connection_id":177845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":177845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:12:45] local.INFO: TCP Data received {"connection_id":177845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:12:45] local.INFO: Processing buffer {"connection_id":177845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:12:45] local.INFO: IMEI packet received {"connection_id":177845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":177845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:12:46] local.INFO: TCP Data received {"connection_id":177845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:12:46] local.INFO: Processing buffer {"connection_id":177845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:12:46] local.INFO: Packet analysis {"connection_id":177845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:12:46] local.INFO: Extracted packet for processing {"connection_id":177845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":177845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:12:46] local.INFO: GPS data processed {"connection_id":177845,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:12:46] local.INFO: Acknowledgment sent {"connection_id":177845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:13:18] local.INFO: TCP Data received {"connection_id":177845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:13:18] local.INFO: Processing buffer {"connection_id":177845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:13:18] local.INFO: Packet analysis {"connection_id":177845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:13:18] local.INFO: Extracted packet for processing {"connection_id":177845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":177845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:13:18] local.INFO: GPS data processed {"connection_id":177845,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:13:18] local.INFO: Acknowledgment sent {"connection_id":177845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:13:45] local.INFO: TCP Data received {"connection_id":175029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:13:45] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:13:45] local.INFO: IMEI packet received {"connection_id":175029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":175029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:13:50] local.INFO: TCP Data received {"connection_id":175029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:13:50] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:13:50] local.INFO: IMEI packet received {"connection_id":175029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":175029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:13:51] local.INFO: TCP Data received {"connection_id":175029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:13:51] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:13:51] local.INFO: Packet analysis {"connection_id":175029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:13:51] local.INFO: Extracted packet for processing {"connection_id":175029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":175029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:13:51] local.INFO: GPS data processed {"connection_id":175029,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:13:51] local.INFO: Acknowledgment sent {"connection_id":175029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:13:55] local.INFO: TCP Data received {"connection_id":175029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:13:55] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:13:55] local.INFO: Packet analysis {"connection_id":175029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:13:55] local.INFO: Extracted packet for processing {"connection_id":175029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:13:55] 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-09-09 03:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:13:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":175029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:13:55] local.INFO: GPS data processed {"connection_id":175029,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:13:55] local.INFO: Acknowledgment sent {"connection_id":175029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:14:40] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:14:40] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:14:40] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:14:45] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:14:45] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:14:45] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:14:46] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:14:46] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:14:46] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:14:46] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:14:46] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:14:46] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:14:50] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:14:50] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:14:50] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:14:50] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:14:50] 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-09-09 03:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:14:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:14:50] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:14:50] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:15:13] local.INFO: TCP Data received {"connection_id":177846,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:15:13] local.INFO: Processing buffer {"connection_id":177846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:15:13] local.INFO: IMEI packet received {"connection_id":177846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":177846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:15:21] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:15:21] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:15:21] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:15:21] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:15:21] 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-09-09 03:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:15:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:15:22] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:15:22] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:15:40] local.INFO: TCP Data received {"connection_id":175290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:15:40] local.INFO: Processing buffer {"connection_id":175290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:15:40] local.INFO: IMEI packet received {"connection_id":175290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":175290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:15:45] local.INFO: TCP Data received {"connection_id":175290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:15:45] local.INFO: Processing buffer {"connection_id":175290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:15:45] local.INFO: IMEI packet received {"connection_id":175290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":175290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:15:46] local.INFO: TCP Data received {"connection_id":175290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:15:46] local.INFO: Processing buffer {"connection_id":175290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082f724b0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:15:46] local.INFO: Packet analysis {"connection_id":175290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:15:46] local.INFO: Extracted packet for processing {"connection_id":175290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082f7"} 
[2026-09-09 03:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959252224001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903630000,"timestamp_ms":1788903630000,"timestamp_seconds":1788903630,"priority":1,"record_length":96,"hex_timestamp":"000001a082f724b0"} 
[2026-09-09 03:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959252224001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959252224001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959252224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":175290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:15:46] local.INFO: GPS data processed {"connection_id":175290,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:15:46] local.INFO: Acknowledgment sent {"connection_id":175290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:16:17] local.INFO: TCP Data received {"connection_id":175290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:16:17] local.INFO: Processing buffer {"connection_id":175290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:16:17] local.INFO: Packet analysis {"connection_id":175290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:16:17] local.INFO: Extracted packet for processing {"connection_id":175290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:16:17] 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-09-09 03:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":175290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:16:17] local.INFO: GPS data processed {"connection_id":175290,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:16:17] local.INFO: Acknowledgment sent {"connection_id":175290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:16:40] local.INFO: TCP Data received {"connection_id":177847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:16:40] local.INFO: Processing buffer {"connection_id":177847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:16:40] local.INFO: IMEI packet received {"connection_id":177847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":177847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:16:45] local.INFO: TCP Data received {"connection_id":177847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:16:45] local.INFO: Processing buffer {"connection_id":177847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:16:45] local.INFO: IMEI packet received {"connection_id":177847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":177847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:16:47] local.INFO: TCP Data received {"connection_id":177847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:16:47] local.INFO: Processing buffer {"connection_id":177847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:16:47] local.INFO: Packet analysis {"connection_id":177847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:16:47] local.INFO: Extracted packet for processing {"connection_id":177847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:16:47] 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-09-09 03:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":177847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:16:47] local.INFO: GPS data processed {"connection_id":177847,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:16:47] local.INFO: Acknowledgment sent {"connection_id":177847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:17:18] local.INFO: TCP Data received {"connection_id":177847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:17:18] local.INFO: Processing buffer {"connection_id":177847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:17:18] local.INFO: Packet analysis {"connection_id":177847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:17:18] local.INFO: Extracted packet for processing {"connection_id":177847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:17:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":177847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:17:18] local.INFO: GPS data processed {"connection_id":177847,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:17:18] local.INFO: Acknowledgment sent {"connection_id":177847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:17:40] local.INFO: TCP Data received {"connection_id":177848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:17:40] local.INFO: Processing buffer {"connection_id":177848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:17:40] local.INFO: IMEI packet received {"connection_id":177848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":177848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:17:45] local.INFO: TCP Data received {"connection_id":177848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:17:45] local.INFO: Processing buffer {"connection_id":177848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:17:45] local.INFO: IMEI packet received {"connection_id":177848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":177848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:17:46] local.INFO: TCP Data received {"connection_id":177848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:17:46] local.INFO: Processing buffer {"connection_id":177848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:17:46] local.INFO: Packet analysis {"connection_id":177848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:17:46] local.INFO: Extracted packet for processing {"connection_id":177848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:17:46] 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-09-09 03:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":177848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:17:46] local.INFO: GPS data processed {"connection_id":177848,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:17:46] local.INFO: Acknowledgment sent {"connection_id":177848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:18:18] local.INFO: TCP Data received {"connection_id":177848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:18:18] local.INFO: Processing buffer {"connection_id":177848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:18:18] local.INFO: Packet analysis {"connection_id":177848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:18:18] local.INFO: Extracted packet for processing {"connection_id":177848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":177848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:18:18] local.INFO: GPS data processed {"connection_id":177848,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:18:18] local.INFO: Acknowledgment sent {"connection_id":177848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:18:40] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:18:40] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:18:40] local.INFO: IMEI packet received {"connection_id":176395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":176395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:18:45] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:18:45] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:18:45] local.INFO: IMEI packet received {"connection_id":176395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":176395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:18:47] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:18:47] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:18:47] local.INFO: Packet analysis {"connection_id":176395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:18:47] local.INFO: Extracted packet for processing {"connection_id":176395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:18:47] 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-09-09 03: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-09-09 03:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":176395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:18:47] local.INFO: GPS data processed {"connection_id":176395,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:18:47] local.INFO: Acknowledgment sent {"connection_id":176395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:19:18] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:19:18] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:19:18] local.INFO: Packet analysis {"connection_id":176395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:19:18] local.INFO: Extracted packet for processing {"connection_id":176395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":176395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:19:18] local.INFO: GPS data processed {"connection_id":176395,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:19:18] local.INFO: Acknowledgment sent {"connection_id":176395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:19:40] local.INFO: TCP Data received {"connection_id":175032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:19:40] local.INFO: Processing buffer {"connection_id":175032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:19:40] local.INFO: IMEI packet received {"connection_id":175032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":175032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:19:45] local.INFO: TCP Data received {"connection_id":175032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:19:45] local.INFO: Processing buffer {"connection_id":175032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:19:45] local.INFO: IMEI packet received {"connection_id":175032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":175032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:19:45] local.INFO: TCP Data received {"connection_id":175032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:19:45] local.INFO: Processing buffer {"connection_id":175032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:19:45] local.INFO: Packet analysis {"connection_id":175032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:19:45] local.INFO: Extracted packet for processing {"connection_id":175032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:19:45] 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-09-09 03:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":175032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:19:46] local.INFO: GPS data processed {"connection_id":175032,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:19:46] local.INFO: Acknowledgment sent {"connection_id":175032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:20:17] local.INFO: TCP Data received {"connection_id":175032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:20:17] local.INFO: Processing buffer {"connection_id":175032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:20:17] local.INFO: Packet analysis {"connection_id":175032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:20:17] local.INFO: Extracted packet for processing {"connection_id":175032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:20:17] 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-09-09 03:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":175032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:20:17] local.INFO: GPS data processed {"connection_id":175032,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:20:17] local.INFO: Acknowledgment sent {"connection_id":175032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:20:45] local.INFO: TCP Data received {"connection_id":175292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:20:45] local.INFO: Processing buffer {"connection_id":175292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:20:45] local.INFO: IMEI packet received {"connection_id":175292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":175292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:20:48] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:20:48] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:20:48] local.INFO: IMEI packet received {"connection_id":176396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":176396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:20:50] local.INFO: TCP Data received {"connection_id":175292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:20:50] local.INFO: Processing buffer {"connection_id":175292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:20:50] local.INFO: IMEI packet received {"connection_id":175292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":175292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:20:51] local.INFO: TCP Data received {"connection_id":175292,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:20:51] local.INFO: Processing buffer {"connection_id":175292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:20:51] local.INFO: Packet analysis {"connection_id":175292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:20:51] local.INFO: Extracted packet for processing {"connection_id":175292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":175292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:20:51] local.INFO: GPS data processed {"connection_id":175292,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:20:51] local.INFO: Acknowledgment sent {"connection_id":175292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:20:55] local.INFO: TCP Data received {"connection_id":175292,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:20:55] local.INFO: Processing buffer {"connection_id":175292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082fbbc78012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:20:55] local.INFO: Packet analysis {"connection_id":175292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:20:55] local.INFO: Extracted packet for processing {"connection_id":175292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a082fb"} 
[2026-09-09 03:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959329280001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788903931000,"timestamp_ms":1788903931000,"timestamp_seconds":1788903931,"priority":1,"record_length":96,"hex_timestamp":"000001a082fbbc78"} 
[2026-09-09 03:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:20:55] 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-09-09 03:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959329280001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959329280001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:20:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:20:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959329280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":175292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:20:55] local.INFO: GPS data processed {"connection_id":175292,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:20:55] local.INFO: Acknowledgment sent {"connection_id":175292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:21:40] local.INFO: TCP Data received {"connection_id":175293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:21:40] local.INFO: Processing buffer {"connection_id":175293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:21:40] local.INFO: IMEI packet received {"connection_id":175293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":175293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:21:45] local.INFO: TCP Data received {"connection_id":175293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:21:45] local.INFO: Processing buffer {"connection_id":175293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:21:45] local.INFO: IMEI packet received {"connection_id":175293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":175293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:21:46] local.INFO: TCP Data received {"connection_id":175293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:21:46] local.INFO: Processing buffer {"connection_id":175293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:21:46] local.INFO: Packet analysis {"connection_id":175293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:21:46] local.INFO: Extracted packet for processing {"connection_id":175293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959406336001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904232000,"timestamp_ms":1788904232000,"timestamp_seconds":1788904232,"priority":1,"record_length":96,"hex_timestamp":"000001a083005440"} 
[2026-09-09 03:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959406336001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959406336001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959406336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":175293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:21:46] local.INFO: GPS data processed {"connection_id":175293,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:21:46] local.INFO: Acknowledgment sent {"connection_id":175293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:22:16] local.INFO: TCP Data received {"connection_id":175293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:22:16] local.INFO: Processing buffer {"connection_id":175293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:22:16] local.INFO: Packet analysis {"connection_id":175293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:22:16] local.INFO: Extracted packet for processing {"connection_id":175293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959406336001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788904232000,"timestamp_ms":1788904232000,"timestamp_seconds":1788904232,"priority":1,"record_length":96,"hex_timestamp":"000001a083005440"} 
[2026-09-09 03:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:22:16] 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-09-09 03:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959406336001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959406336001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959406336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":175293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:22:16] local.INFO: GPS data processed {"connection_id":175293,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:22:16] local.INFO: Acknowledgment sent {"connection_id":175293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:22:41] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:22:41] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:22:41] local.INFO: IMEI packet received {"connection_id":175034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":175034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:22:45] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:22:45] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:22:45] local.INFO: IMEI packet received {"connection_id":175034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":175034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:22:46] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:22:46] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:22:46] local.INFO: Packet analysis {"connection_id":175034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:22:46] local.INFO: Extracted packet for processing {"connection_id":175034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959406336001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904232000,"timestamp_ms":1788904232000,"timestamp_seconds":1788904232,"priority":1,"record_length":96,"hex_timestamp":"000001a083005440"} 
[2026-09-09 03:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959406336001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959406336001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959406336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":175034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:22:46] local.INFO: GPS data processed {"connection_id":175034,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:22:46] local.INFO: Acknowledgment sent {"connection_id":175034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:23:17] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:23:17] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:23:17] local.INFO: Packet analysis {"connection_id":175034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:23:17] local.INFO: Extracted packet for processing {"connection_id":175034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959406336001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788904232000,"timestamp_ms":1788904232000,"timestamp_seconds":1788904232,"priority":1,"record_length":96,"hex_timestamp":"000001a083005440"} 
[2026-09-09 03:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959406336001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959406336001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959406336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":175034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:23:17] local.INFO: GPS data processed {"connection_id":175034,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:23:17] local.INFO: Acknowledgment sent {"connection_id":175034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:23:40] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:23:40] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:23:40] local.INFO: IMEI packet received {"connection_id":175294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":175294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:23:45] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:23:45] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:23:45] local.INFO: IMEI packet received {"connection_id":175294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":175294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:23:46] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:23:46] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:23:46] local.INFO: Packet analysis {"connection_id":175294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:23:46] local.INFO: Extracted packet for processing {"connection_id":175294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959406336001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904232000,"timestamp_ms":1788904232000,"timestamp_seconds":1788904232,"priority":1,"record_length":96,"hex_timestamp":"000001a083005440"} 
[2026-09-09 03:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959406336001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959406336001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959406336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":175294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:23:46] local.INFO: GPS data processed {"connection_id":175294,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:23:46] local.INFO: Acknowledgment sent {"connection_id":175294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:24:17] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:24:17] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:24:17] local.INFO: Packet analysis {"connection_id":175294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:24:17] local.INFO: Extracted packet for processing {"connection_id":175294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959406336001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788904232000,"timestamp_ms":1788904232000,"timestamp_seconds":1788904232,"priority":1,"record_length":96,"hex_timestamp":"000001a083005440"} 
[2026-09-09 03:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959406336001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959406336001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959406336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":175294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:24:17] local.INFO: GPS data processed {"connection_id":175294,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:24:17] local.INFO: Acknowledgment sent {"connection_id":175294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:24:40] local.INFO: TCP Data received {"connection_id":177850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:24:40] local.INFO: Processing buffer {"connection_id":177850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:24:40] local.INFO: IMEI packet received {"connection_id":177850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":177850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:24:45] local.INFO: TCP Data received {"connection_id":177850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:24:45] local.INFO: Processing buffer {"connection_id":177850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:24:45] local.INFO: IMEI packet received {"connection_id":177850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":177850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:24:46] local.INFO: TCP Data received {"connection_id":177850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:24:46] local.INFO: Processing buffer {"connection_id":177850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:24:46] local.INFO: Packet analysis {"connection_id":177850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:24:46] local.INFO: Extracted packet for processing {"connection_id":177850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959406336001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904232000,"timestamp_ms":1788904232000,"timestamp_seconds":1788904232,"priority":1,"record_length":96,"hex_timestamp":"000001a083005440"} 
[2026-09-09 03:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959406336001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959406336001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959406336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":177850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:24:46] local.INFO: GPS data processed {"connection_id":177850,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:24:46] local.INFO: Acknowledgment sent {"connection_id":177850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:25:17] local.INFO: TCP Data received {"connection_id":177850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:25:17] local.INFO: Processing buffer {"connection_id":177850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:25:17] local.INFO: Packet analysis {"connection_id":177850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:25:17] local.INFO: Extracted packet for processing {"connection_id":177850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959406336001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788904232000,"timestamp_ms":1788904232000,"timestamp_seconds":1788904232,"priority":1,"record_length":96,"hex_timestamp":"000001a083005440"} 
[2026-09-09 03:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959406336001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959406336001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959406336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":177850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:25:17] local.INFO: GPS data processed {"connection_id":177850,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:25:17] local.INFO: Acknowledgment sent {"connection_id":177850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:25:40] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:25:40] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:25:40] local.INFO: IMEI packet received {"connection_id":175037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":175037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:25:45] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:25:45] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:25:45] local.INFO: IMEI packet received {"connection_id":175037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":175037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:25:45] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:25:45] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083005440012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:25:45] local.INFO: Packet analysis {"connection_id":175037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:25:45] local.INFO: Extracted packet for processing {"connection_id":175037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08300"} 
[2026-09-09 03:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959406336001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788904232000,"timestamp_ms":1788904232000,"timestamp_seconds":1788904232,"priority":1,"record_length":96,"hex_timestamp":"000001a083005440"} 
[2026-09-09 03:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959406336001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959406336001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:25:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959406336001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":175037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:25:46] local.INFO: GPS data processed {"connection_id":175037,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:25:46] local.INFO: Acknowledgment sent {"connection_id":175037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:26:16] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:26:16] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:26:16] local.INFO: Packet analysis {"connection_id":175037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:26:16] local.INFO: Extracted packet for processing {"connection_id":175037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":175037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:26:16] local.INFO: GPS data processed {"connection_id":175037,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:26:16] local.INFO: Acknowledgment sent {"connection_id":175037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:26:18] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:26:18] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:26:18] local.INFO: IMEI packet received {"connection_id":175295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":175295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:26:42] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:26:42] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:26:42] local.INFO: IMEI packet received {"connection_id":176399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":176399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:26:45] local.INFO: TCP Data received {"connection_id":176400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:26:45] local.INFO: Processing buffer {"connection_id":176400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:26:45] local.INFO: IMEI packet received {"connection_id":176400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":176400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:26:50] local.INFO: TCP Data received {"connection_id":176400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:26:50] local.INFO: Processing buffer {"connection_id":176400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:26:50] local.INFO: IMEI packet received {"connection_id":176400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":176400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:26:51] local.INFO: TCP Data received {"connection_id":176400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:26:51] local.INFO: Processing buffer {"connection_id":176400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:26:51] local.INFO: Packet analysis {"connection_id":176400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:26:51] local.INFO: Extracted packet for processing {"connection_id":176400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:26:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":176400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:26:51] local.INFO: GPS data processed {"connection_id":176400,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:26:51] local.INFO: Acknowledgment sent {"connection_id":176400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:27:22] local.INFO: TCP Data received {"connection_id":176400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:27:22] local.INFO: Processing buffer {"connection_id":176400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:27:22] local.INFO: Packet analysis {"connection_id":176400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:27:22] local.INFO: Extracted packet for processing {"connection_id":176400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:27:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:27:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:27:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":176400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:27:22] local.INFO: GPS data processed {"connection_id":176400,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:27:22] local.INFO: Acknowledgment sent {"connection_id":176400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:27:40] local.INFO: TCP Data received {"connection_id":177851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:27:40] local.INFO: Processing buffer {"connection_id":177851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:27:40] local.INFO: IMEI packet received {"connection_id":177851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":177851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:27:45] local.INFO: TCP Data received {"connection_id":177851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:27:45] local.INFO: Processing buffer {"connection_id":177851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:27:45] local.INFO: IMEI packet received {"connection_id":177851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":177851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:27:46] local.INFO: TCP Data received {"connection_id":177851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:27:46] local.INFO: Processing buffer {"connection_id":177851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:27:46] local.INFO: Packet analysis {"connection_id":177851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:27:46] local.INFO: Extracted packet for processing {"connection_id":177851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":177851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:27:46] local.INFO: GPS data processed {"connection_id":177851,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:27:46] local.INFO: Acknowledgment sent {"connection_id":177851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:28:17] local.INFO: TCP Data received {"connection_id":177851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:28:17] local.INFO: Processing buffer {"connection_id":177851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:28:17] local.INFO: Packet analysis {"connection_id":177851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:28:17] local.INFO: Extracted packet for processing {"connection_id":177851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":177851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:28:17] local.INFO: GPS data processed {"connection_id":177851,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:28:17] local.INFO: Acknowledgment sent {"connection_id":177851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:28:40] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:28:40] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:28:40] local.INFO: IMEI packet received {"connection_id":176401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":176401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:28:45] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:28:45] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:28:45] local.INFO: IMEI packet received {"connection_id":176401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":176401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:28:46] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:28:46] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:28:46] local.INFO: Packet analysis {"connection_id":176401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:28:46] local.INFO: Extracted packet for processing {"connection_id":176401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":176401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:28:46] local.INFO: GPS data processed {"connection_id":176401,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:28:46] local.INFO: Acknowledgment sent {"connection_id":176401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:29:17] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:29:17] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:29:17] local.INFO: Packet analysis {"connection_id":176401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:29:17] local.INFO: Extracted packet for processing {"connection_id":176401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":176401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:29:17] local.INFO: GPS data processed {"connection_id":176401,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:29:17] local.INFO: Acknowledgment sent {"connection_id":176401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:29:40] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:29:40] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:29:40] local.INFO: IMEI packet received {"connection_id":175039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":175039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:29:45] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:29:45] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:29:45] local.INFO: IMEI packet received {"connection_id":175039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":175039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:29:46] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:29:46] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:29:46] local.INFO: Packet analysis {"connection_id":175039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:29:46] local.INFO: Extracted packet for processing {"connection_id":175039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":175039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:29:46] local.INFO: GPS data processed {"connection_id":175039,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:29:46] local.INFO: Acknowledgment sent {"connection_id":175039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:30:17] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:30:17] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:30:17] local.INFO: Packet analysis {"connection_id":175039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:30:17] local.INFO: Extracted packet for processing {"connection_id":175039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:30:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":175039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:30:17] local.INFO: GPS data processed {"connection_id":175039,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:30:17] local.INFO: Acknowledgment sent {"connection_id":175039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:30:40] local.INFO: TCP Data received {"connection_id":176402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:30:40] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:30:40] local.INFO: IMEI packet received {"connection_id":176402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":176402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:30:45] local.INFO: TCP Data received {"connection_id":176402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:30:45] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:30:45] local.INFO: IMEI packet received {"connection_id":176402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":176402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:30:46] local.INFO: TCP Data received {"connection_id":176402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:30:46] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08304ec08012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:30:46] local.INFO: Packet analysis {"connection_id":176402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:30:46] local.INFO: Extracted packet for processing {"connection_id":176402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08304"} 
[2026-09-09 03:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959483392001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904533000,"timestamp_ms":1788904533000,"timestamp_seconds":1788904533,"priority":1,"record_length":96,"hex_timestamp":"000001a08304ec08"} 
[2026-09-09 03:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 03:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959483392001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959483392001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959483392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":176402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:30:46] local.INFO: GPS data processed {"connection_id":176402,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:30:46] local.INFO: Acknowledgment sent {"connection_id":176402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:31:17] local.INFO: TCP Data received {"connection_id":176402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:31:17] local.INFO: Processing buffer {"connection_id":176402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:31:17] local.INFO: Packet analysis {"connection_id":176402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:31:17] local.INFO: Extracted packet for processing {"connection_id":176402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:31:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":176402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:31:17] local.INFO: GPS data processed {"connection_id":176402,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:31:17] local.INFO: Acknowledgment sent {"connection_id":176402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:31:40] local.INFO: TCP Data received {"connection_id":177854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:31:40] local.INFO: Processing buffer {"connection_id":177854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:31:40] local.INFO: IMEI packet received {"connection_id":177854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":177854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:31:45] local.INFO: TCP Data received {"connection_id":177854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:31:45] local.INFO: Processing buffer {"connection_id":177854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:31:45] local.INFO: IMEI packet received {"connection_id":177854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":177854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:31:46] local.INFO: TCP Data received {"connection_id":177854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:31:46] local.INFO: Processing buffer {"connection_id":177854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:31:46] local.INFO: Packet analysis {"connection_id":177854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:31:46] local.INFO: Extracted packet for processing {"connection_id":177854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":177854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:31:46] local.INFO: GPS data processed {"connection_id":177854,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:31:46] local.INFO: Acknowledgment sent {"connection_id":177854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:32:08] local.INFO: TCP Data received {"connection_id":175296,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:32:08] local.INFO: Processing buffer {"connection_id":175296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:32:08] local.INFO: IMEI packet received {"connection_id":175296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":175296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:32:17] local.INFO: TCP Data received {"connection_id":177854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:32:17] local.INFO: Processing buffer {"connection_id":177854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:32:17] local.INFO: Packet analysis {"connection_id":177854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:32:17] local.INFO: Extracted packet for processing {"connection_id":177854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":177854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:32:17] local.INFO: GPS data processed {"connection_id":177854,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:32:17] local.INFO: Acknowledgment sent {"connection_id":177854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:32:45] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:32:45] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:32:45] local.INFO: IMEI packet received {"connection_id":175040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":175040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:32:50] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:32:50] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:32:50] local.INFO: IMEI packet received {"connection_id":175040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":175040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:32:51] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:32:51] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:32:51] local.INFO: Packet analysis {"connection_id":175040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:32:51] local.INFO: Extracted packet for processing {"connection_id":175040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:32:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":175040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:32:51] local.INFO: GPS data processed {"connection_id":175040,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:32:51] local.INFO: Acknowledgment sent {"connection_id":175040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:32:55] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:32:55] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:32:55] local.INFO: Packet analysis {"connection_id":175040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:32:55] local.INFO: Extracted packet for processing {"connection_id":175040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:32:55] 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-09-09 03:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:32:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:32:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":175040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:32:55] local.INFO: GPS data processed {"connection_id":175040,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:32:55] local.INFO: Acknowledgment sent {"connection_id":175040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:33:40] local.INFO: TCP Data received {"connection_id":175041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:33:40] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:33:40] local.INFO: IMEI packet received {"connection_id":175041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":175041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:33:45] local.INFO: TCP Data received {"connection_id":175041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:33:45] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:33:45] local.INFO: IMEI packet received {"connection_id":175041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":175041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:33:46] local.INFO: TCP Data received {"connection_id":175041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:33:46] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:33:46] local.INFO: Packet analysis {"connection_id":175041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:33:46] local.INFO: Extracted packet for processing {"connection_id":175041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":175041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:33:46] local.INFO: GPS data processed {"connection_id":175041,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:33:46] local.INFO: Acknowledgment sent {"connection_id":175041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:34:19] local.INFO: TCP Data received {"connection_id":175041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:34:19] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:34:19] local.INFO: Packet analysis {"connection_id":175041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:34:19] local.INFO: Extracted packet for processing {"connection_id":175041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:34:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":175041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:34:19] local.INFO: GPS data processed {"connection_id":175041,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:34:19] local.INFO: Acknowledgment sent {"connection_id":175041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:34:40] local.INFO: TCP Data received {"connection_id":175298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:34:40] local.INFO: Processing buffer {"connection_id":175298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:34:40] local.INFO: IMEI packet received {"connection_id":175298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":175298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:34:45] local.INFO: TCP Data received {"connection_id":175298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:34:45] local.INFO: Processing buffer {"connection_id":175298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:34:45] local.INFO: IMEI packet received {"connection_id":175298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":175298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:34:46] local.INFO: TCP Data received {"connection_id":175298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:34:46] local.INFO: Processing buffer {"connection_id":175298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:34:46] local.INFO: Packet analysis {"connection_id":175298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:34:46] local.INFO: Extracted packet for processing {"connection_id":175298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":175298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:34:46] local.INFO: GPS data processed {"connection_id":175298,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:34:46] local.INFO: Acknowledgment sent {"connection_id":175298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:35:17] local.INFO: TCP Data received {"connection_id":175298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:35:17] local.INFO: Processing buffer {"connection_id":175298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:35:17] local.INFO: Packet analysis {"connection_id":175298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:35:17] local.INFO: Extracted packet for processing {"connection_id":175298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":175298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:35:17] local.INFO: GPS data processed {"connection_id":175298,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:35:17] local.INFO: Acknowledgment sent {"connection_id":175298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:35:40] local.INFO: TCP Data received {"connection_id":177855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:35:40] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:35:40] local.INFO: IMEI packet received {"connection_id":177855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":177855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:35:45] local.INFO: TCP Data received {"connection_id":177855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:35:45] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:35:45] local.INFO: IMEI packet received {"connection_id":177855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":177855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:35:46] local.INFO: TCP Data received {"connection_id":177855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:35:46] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830983d0012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:35:46] local.INFO: Packet analysis {"connection_id":177855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:35:46] local.INFO: Extracted packet for processing {"connection_id":177855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08309"} 
[2026-09-09 03:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959560448001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788904834000,"timestamp_ms":1788904834000,"timestamp_seconds":1788904834,"priority":1,"record_length":96,"hex_timestamp":"000001a0830983d0"} 
[2026-09-09 03:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959560448001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959560448001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959560448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":177855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:35:46] local.INFO: GPS data processed {"connection_id":177855,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:35:46] local.INFO: Acknowledgment sent {"connection_id":177855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:36:18] local.INFO: TCP Data received {"connection_id":177855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:36:18] local.INFO: Processing buffer {"connection_id":177855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:36:18] local.INFO: Packet analysis {"connection_id":177855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:36:18] local.INFO: Extracted packet for processing {"connection_id":177855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":177855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:36:18] local.INFO: GPS data processed {"connection_id":177855,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:36:18] local.INFO: Acknowledgment sent {"connection_id":177855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:36:40] local.INFO: TCP Data received {"connection_id":175300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:36:40] local.INFO: Processing buffer {"connection_id":175300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:36:40] local.INFO: IMEI packet received {"connection_id":175300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":175300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:36:45] local.INFO: TCP Data received {"connection_id":175300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:36:45] local.INFO: Processing buffer {"connection_id":175300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:36:45] local.INFO: IMEI packet received {"connection_id":175300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":175300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:36:46] local.INFO: TCP Data received {"connection_id":175300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:36:46] local.INFO: Processing buffer {"connection_id":175300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:36:46] local.INFO: Packet analysis {"connection_id":175300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:36:46] local.INFO: Extracted packet for processing {"connection_id":175300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":175300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:36:46] local.INFO: GPS data processed {"connection_id":175300,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:36:46] local.INFO: Acknowledgment sent {"connection_id":175300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:37:17] local.INFO: TCP Data received {"connection_id":175300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:37:17] local.INFO: Processing buffer {"connection_id":175300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:37:17] local.INFO: Packet analysis {"connection_id":175300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:37:17] local.INFO: Extracted packet for processing {"connection_id":175300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":175300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:37:17] local.INFO: GPS data processed {"connection_id":175300,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:37:17] local.INFO: Acknowledgment sent {"connection_id":175300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:37:40] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:37:40] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:37:40] local.INFO: IMEI packet received {"connection_id":176406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":176406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:37:42] local.INFO: TCP Data received {"connection_id":175043,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:37:42] local.INFO: Processing buffer {"connection_id":175043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:37:42] local.INFO: IMEI packet received {"connection_id":175043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":175043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:37:45] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:37:45] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:37:45] local.INFO: IMEI packet received {"connection_id":176406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":176406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:37:46] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:37:46] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:37:46] local.INFO: Packet analysis {"connection_id":176406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:37:46] local.INFO: Extracted packet for processing {"connection_id":176406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:37:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":176406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:37:46] local.INFO: GPS data processed {"connection_id":176406,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:37:46] local.INFO: Acknowledgment sent {"connection_id":176406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:38:17] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:38:17] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:38:17] local.INFO: Packet analysis {"connection_id":176406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:38:17] local.INFO: Extracted packet for processing {"connection_id":176406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":176406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:38:17] local.INFO: GPS data processed {"connection_id":176406,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:38:17] local.INFO: Acknowledgment sent {"connection_id":176406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:38:40] local.INFO: TCP Data received {"connection_id":176407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:38:40] local.INFO: Processing buffer {"connection_id":176407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:38:40] local.INFO: IMEI packet received {"connection_id":176407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":176407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:38:45] local.INFO: TCP Data received {"connection_id":176407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:38:45] local.INFO: Processing buffer {"connection_id":176407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:38:45] local.INFO: IMEI packet received {"connection_id":176407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":176407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:38:46] local.INFO: TCP Data received {"connection_id":176407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:38:46] local.INFO: Processing buffer {"connection_id":176407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:38:46] local.INFO: Packet analysis {"connection_id":176407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:38:46] local.INFO: Extracted packet for processing {"connection_id":176407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":176407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:38:46] local.INFO: GPS data processed {"connection_id":176407,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:38:46] local.INFO: Acknowledgment sent {"connection_id":176407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:39:17] local.INFO: TCP Data received {"connection_id":176407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:39:17] local.INFO: Processing buffer {"connection_id":176407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:39:17] local.INFO: Packet analysis {"connection_id":176407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:39:17] local.INFO: Extracted packet for processing {"connection_id":176407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:39:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":176407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:39:17] local.INFO: GPS data processed {"connection_id":176407,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:39:17] local.INFO: Acknowledgment sent {"connection_id":176407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:39:45] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:39:45] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:39:45] local.INFO: IMEI packet received {"connection_id":175044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":175044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:39:50] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:39:50] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:39:50] local.INFO: IMEI packet received {"connection_id":175044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":175044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:39:51] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:39:51] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:39:51] local.INFO: Packet analysis {"connection_id":175044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:39:51] local.INFO: Extracted packet for processing {"connection_id":175044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:39:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":175044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:39:51] local.INFO: GPS data processed {"connection_id":175044,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:39:51] local.INFO: Acknowledgment sent {"connection_id":175044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:39:55] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:39:55] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:39:55] local.INFO: Packet analysis {"connection_id":175044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:39:55] local.INFO: Extracted packet for processing {"connection_id":175044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:39:55] 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-09-09 03:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:39:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:39:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":175044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:39:55] local.INFO: GPS data processed {"connection_id":175044,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:39:55] local.INFO: Acknowledgment sent {"connection_id":175044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:40:40] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:40:40] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:40:40] local.INFO: IMEI packet received {"connection_id":175301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":175301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:40:45] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:40:45] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:40:45] local.INFO: IMEI packet received {"connection_id":175301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":175301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:40:45] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:40:45] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0830e1b98012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:40:45] local.INFO: Packet analysis {"connection_id":175301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:40:45] local.INFO: Extracted packet for processing {"connection_id":175301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0830e"} 
[2026-09-09 03:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959637504001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788905135000,"timestamp_ms":1788905135000,"timestamp_seconds":1788905135,"priority":1,"record_length":96,"hex_timestamp":"000001a0830e1b98"} 
[2026-09-09 03:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959637504001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959637504001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:40:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959637504001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":175301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:40:46] local.INFO: GPS data processed {"connection_id":175301,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:40:46] local.INFO: Acknowledgment sent {"connection_id":175301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:41:17] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:41:17] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:41:17] local.INFO: Packet analysis {"connection_id":175301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:41:17] local.INFO: Extracted packet for processing {"connection_id":175301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":175301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:41:17] local.INFO: GPS data processed {"connection_id":175301,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:41:17] local.INFO: Acknowledgment sent {"connection_id":175301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:41:40] local.INFO: TCP Data received {"connection_id":177857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:41:40] local.INFO: Processing buffer {"connection_id":177857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:41:40] local.INFO: IMEI packet received {"connection_id":177857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":177857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:41:46] local.INFO: TCP Data received {"connection_id":177857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:41:46] local.INFO: Processing buffer {"connection_id":177857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:41:46] local.INFO: IMEI packet received {"connection_id":177857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":177857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:41:47] local.INFO: TCP Data received {"connection_id":177857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:41:47] local.INFO: Processing buffer {"connection_id":177857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:41:47] local.INFO: Packet analysis {"connection_id":177857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:41:47] local.INFO: Extracted packet for processing {"connection_id":177857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":177857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:41:47] local.INFO: GPS data processed {"connection_id":177857,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:41:47] local.INFO: Acknowledgment sent {"connection_id":177857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:42:17] local.INFO: TCP Data received {"connection_id":177857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:42:17] local.INFO: Processing buffer {"connection_id":177857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:42:17] local.INFO: Packet analysis {"connection_id":177857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:42:17] local.INFO: Extracted packet for processing {"connection_id":177857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":177857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:42:17] local.INFO: GPS data processed {"connection_id":177857,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:42:17] local.INFO: Acknowledgment sent {"connection_id":177857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:42:40] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:42:40] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:42:40] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:42:45] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:42:45] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:42:45] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:42:45] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:42:45] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:42:45] local.INFO: Packet analysis {"connection_id":176409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:42:45] local.INFO: Extracted packet for processing {"connection_id":176409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:42:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":176409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:42:45] local.INFO: GPS data processed {"connection_id":176409,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:42:45] local.INFO: Acknowledgment sent {"connection_id":176409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:43:03] local.INFO: TCP Data received {"connection_id":175303,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:43:03] local.INFO: Processing buffer {"connection_id":175303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:43:03] local.INFO: IMEI packet received {"connection_id":175303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":175303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:43:16] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:43:16] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:43:16] local.INFO: Packet analysis {"connection_id":176409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:43:16] local.INFO: Extracted packet for processing {"connection_id":176409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":176409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:43:16] local.INFO: GPS data processed {"connection_id":176409,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:43:16] local.INFO: Acknowledgment sent {"connection_id":176409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:43:40] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:43:40] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:43:40] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:43:45] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:43:45] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:43:45] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:43:46] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:43:46] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:43:46] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:43:46] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:43:46] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:43:46] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:44:17] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:44:17] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:44:17] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:44:17] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03: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-09-09 03:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:44:17] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:44:17] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:44:40] local.INFO: TCP Data received {"connection_id":177859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:44:40] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:44:40] local.INFO: IMEI packet received {"connection_id":177859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":177859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:44:45] local.INFO: TCP Data received {"connection_id":177859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:44:45] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:44:45] local.INFO: IMEI packet received {"connection_id":177859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":177859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:44:46] local.INFO: TCP Data received {"connection_id":177859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:44:46] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:44:46] local.INFO: Packet analysis {"connection_id":177859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:44:46] local.INFO: Extracted packet for processing {"connection_id":177859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":177859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:44:46] local.INFO: GPS data processed {"connection_id":177859,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:44:46] local.INFO: Acknowledgment sent {"connection_id":177859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:45:18] local.INFO: TCP Data received {"connection_id":177859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:45:18] local.INFO: Processing buffer {"connection_id":177859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:45:18] local.INFO: Packet analysis {"connection_id":177859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:45:18] local.INFO: Extracted packet for processing {"connection_id":177859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":177859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:45:18] local.INFO: GPS data processed {"connection_id":177859,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:45:18] local.INFO: Acknowledgment sent {"connection_id":177859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:45:40] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:45:40] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:45:40] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:45:45] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:45:45] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:45:45] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:45:45] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:45:45] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08312b360012d34c38006aa42c80005005d2f..."} 
[2026-09-09 03:45:45] local.INFO: Packet analysis {"connection_id":176412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:45:45] local.INFO: Extracted packet for processing {"connection_id":176412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08312"} 
[2026-09-09 03:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959714560001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788905436000,"timestamp_ms":1788905436000,"timestamp_seconds":1788905436,"priority":1,"record_length":96,"hex_timestamp":"000001a08312b360"} 
[2026-09-09 03:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 03:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959714560001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959714560001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959714560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":176412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:45:45] local.INFO: GPS data processed {"connection_id":176412,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:45:45] local.INFO: Acknowledgment sent {"connection_id":176412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:46:16] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:46:16] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:46:16] local.INFO: Packet analysis {"connection_id":176412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:46:16] local.INFO: Extracted packet for processing {"connection_id":176412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:46:16] 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-09-09 03:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":176412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:46:17] local.INFO: GPS data processed {"connection_id":176412,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:46:17] local.INFO: Acknowledgment sent {"connection_id":176412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:46:45] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:46:45] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:46:45] local.INFO: IMEI packet received {"connection_id":176413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":176413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:46:50] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:46:50] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:46:50] local.INFO: IMEI packet received {"connection_id":176413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":176413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:46:51] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:46:51] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:46:51] local.INFO: Packet analysis {"connection_id":176413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:46:51] local.INFO: Extracted packet for processing {"connection_id":176413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:46:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":176413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:46:51] local.INFO: GPS data processed {"connection_id":176413,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:46:51] local.INFO: Acknowledgment sent {"connection_id":176413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:46:56] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:46:56] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:46:56] local.INFO: Packet analysis {"connection_id":176413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:46:56] local.INFO: Extracted packet for processing {"connection_id":176413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:46:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:46:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:46:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":176413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:46:56] local.INFO: GPS data processed {"connection_id":176413,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:46:56] local.INFO: Acknowledgment sent {"connection_id":176413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:47:40] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:47:40] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:47:40] local.INFO: IMEI packet received {"connection_id":177860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":177860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:47:45] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:47:45] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:47:45] local.INFO: IMEI packet received {"connection_id":177860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":177860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:47:46] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:47:46] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:47:46] local.INFO: Packet analysis {"connection_id":177860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:47:46] local.INFO: Extracted packet for processing {"connection_id":177860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":177860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:47:46] local.INFO: GPS data processed {"connection_id":177860,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:47:46] local.INFO: Acknowledgment sent {"connection_id":177860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:48:18] local.INFO: TCP Data received {"connection_id":177860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:48:18] local.INFO: Processing buffer {"connection_id":177860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:48:18] local.INFO: Packet analysis {"connection_id":177860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:48:18] local.INFO: Extracted packet for processing {"connection_id":177860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":177860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:48:18] local.INFO: GPS data processed {"connection_id":177860,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:48:18] local.INFO: Acknowledgment sent {"connection_id":177860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:48:40] local.INFO: TCP Data received {"connection_id":175304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:48:40] local.INFO: Processing buffer {"connection_id":175304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:48:40] local.INFO: IMEI packet received {"connection_id":175304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":175304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:48:42] local.INFO: TCP Data received {"connection_id":177861,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:48:42] local.INFO: Processing buffer {"connection_id":177861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:48:42] local.INFO: IMEI packet received {"connection_id":177861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":177861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:48:45] local.INFO: TCP Data received {"connection_id":175304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:48:45] local.INFO: Processing buffer {"connection_id":175304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:48:45] local.INFO: IMEI packet received {"connection_id":175304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":175304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:48:46] local.INFO: TCP Data received {"connection_id":175304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:48:46] local.INFO: Processing buffer {"connection_id":175304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:48:46] local.INFO: Packet analysis {"connection_id":175304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:48:46] local.INFO: Extracted packet for processing {"connection_id":175304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":175304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:48:46] local.INFO: GPS data processed {"connection_id":175304,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:48:46] local.INFO: Acknowledgment sent {"connection_id":175304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:49:17] local.INFO: TCP Data received {"connection_id":175304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:49:17] local.INFO: Processing buffer {"connection_id":175304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:49:17] local.INFO: Packet analysis {"connection_id":175304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:49:17] local.INFO: Extracted packet for processing {"connection_id":175304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:49:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":175304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:49:17] local.INFO: GPS data processed {"connection_id":175304,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:49:17] local.INFO: Acknowledgment sent {"connection_id":175304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:49:40] local.INFO: TCP Data received {"connection_id":177862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:49:40] local.INFO: Processing buffer {"connection_id":177862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:49:40] local.INFO: IMEI packet received {"connection_id":177862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":177862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:49:45] local.INFO: TCP Data received {"connection_id":177862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:49:45] local.INFO: Processing buffer {"connection_id":177862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:49:45] local.INFO: IMEI packet received {"connection_id":177862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":177862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:49:46] local.INFO: TCP Data received {"connection_id":177862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:49:46] local.INFO: Processing buffer {"connection_id":177862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:49:46] local.INFO: Packet analysis {"connection_id":177862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:49:46] local.INFO: Extracted packet for processing {"connection_id":177862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":177862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:49:46] local.INFO: GPS data processed {"connection_id":177862,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:49:46] local.INFO: Acknowledgment sent {"connection_id":177862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:50:17] local.INFO: TCP Data received {"connection_id":177862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:50:17] local.INFO: Processing buffer {"connection_id":177862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:50:17] local.INFO: Packet analysis {"connection_id":177862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:50:17] local.INFO: Extracted packet for processing {"connection_id":177862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":177862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:50:17] local.INFO: GPS data processed {"connection_id":177862,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:50:17] local.INFO: Acknowledgment sent {"connection_id":177862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:50:40] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:50:40] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:50:40] local.INFO: IMEI packet received {"connection_id":175047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":175047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:50:45] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:50:45] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:50:45] local.INFO: IMEI packet received {"connection_id":175047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":175047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:50:46] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:50:46] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083174b28012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:50:46] local.INFO: Packet analysis {"connection_id":175047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:50:46] local.INFO: Extracted packet for processing {"connection_id":175047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08317"} 
[2026-09-09 03:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959791616001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788905737000,"timestamp_ms":1788905737000,"timestamp_seconds":1788905737,"priority":1,"record_length":96,"hex_timestamp":"000001a083174b28"} 
[2026-09-09 03:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959791616001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959791616001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959791616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":175047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:50:46] local.INFO: GPS data processed {"connection_id":175047,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:50:46] local.INFO: Acknowledgment sent {"connection_id":175047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:51:18] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:51:18] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:51:18] local.INFO: Packet analysis {"connection_id":175047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:51:18] local.INFO: Extracted packet for processing {"connection_id":175047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":175047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:51:18] local.INFO: GPS data processed {"connection_id":175047,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:51:18] local.INFO: Acknowledgment sent {"connection_id":175047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:51:40] local.INFO: TCP Data received {"connection_id":175306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:51:40] local.INFO: Processing buffer {"connection_id":175306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:51:40] local.INFO: IMEI packet received {"connection_id":175306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":175306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:51:45] local.INFO: TCP Data received {"connection_id":175306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:51:45] local.INFO: Processing buffer {"connection_id":175306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:51:45] local.INFO: IMEI packet received {"connection_id":175306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":175306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:51:46] local.INFO: TCP Data received {"connection_id":175306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:51:46] local.INFO: Processing buffer {"connection_id":175306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:51:46] local.INFO: Packet analysis {"connection_id":175306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:51:46] local.INFO: Extracted packet for processing {"connection_id":175306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:51:46] 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-09-09 03:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":175306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:51:46] local.INFO: GPS data processed {"connection_id":175306,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:51:46] local.INFO: Acknowledgment sent {"connection_id":175306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:52:17] local.INFO: TCP Data received {"connection_id":175306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:52:17] local.INFO: Processing buffer {"connection_id":175306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:52:17] local.INFO: Packet analysis {"connection_id":175306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:52:17] local.INFO: Extracted packet for processing {"connection_id":175306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:52:17] 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-09-09 03:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":175306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:52:17] local.INFO: GPS data processed {"connection_id":175306,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:52:17] local.INFO: Acknowledgment sent {"connection_id":175306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:52:40] local.INFO: TCP Data received {"connection_id":175048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:52:40] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:52:40] local.INFO: IMEI packet received {"connection_id":175048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":175048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:52:45] local.INFO: TCP Data received {"connection_id":175048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:52:45] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:52:45] local.INFO: IMEI packet received {"connection_id":175048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":175048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:52:46] local.INFO: TCP Data received {"connection_id":175048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:52:46] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:52:46] local.INFO: Packet analysis {"connection_id":175048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:52:46] local.INFO: Extracted packet for processing {"connection_id":175048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:52:46] 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-09-09 03:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":175048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:52:46] local.INFO: GPS data processed {"connection_id":175048,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:52:46] local.INFO: Acknowledgment sent {"connection_id":175048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:53:17] local.INFO: TCP Data received {"connection_id":175048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:53:17] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:53:17] local.INFO: Packet analysis {"connection_id":175048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:53:17] local.INFO: Extracted packet for processing {"connection_id":175048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:53:17] 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-09-09 03:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":175048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:53:17] local.INFO: GPS data processed {"connection_id":175048,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:53:17] local.INFO: Acknowledgment sent {"connection_id":175048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:53:45] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:53:45] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:53:45] local.INFO: IMEI packet received {"connection_id":175049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":175049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:53:50] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:53:50] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:53:50] local.INFO: IMEI packet received {"connection_id":175049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":175049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:53:51] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:53:51] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:53:51] local.INFO: Packet analysis {"connection_id":175049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:53:51] local.INFO: Extracted packet for processing {"connection_id":175049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03: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-09-09 03:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":175049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:53:51] local.INFO: GPS data processed {"connection_id":175049,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:53:51] local.INFO: Acknowledgment sent {"connection_id":175049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:53:55] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:53:55] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:53:55] local.INFO: Packet analysis {"connection_id":175049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:53:55] local.INFO: Extracted packet for processing {"connection_id":175049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:53:55] 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-09-09 03:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:53:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:53:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":175049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:53:55] local.INFO: GPS data processed {"connection_id":175049,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:53:55] local.INFO: Acknowledgment sent {"connection_id":175049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:54:13] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:54:13] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:54:13] local.INFO: IMEI packet received {"connection_id":175307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":175307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:54:40] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:54:40] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:54:40] local.INFO: IMEI packet received {"connection_id":175050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":175050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:54:45] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:54:45] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:54:45] local.INFO: IMEI packet received {"connection_id":175050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":175050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:54:46] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:54:46] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:54:46] local.INFO: Packet analysis {"connection_id":175050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:54:46] local.INFO: Extracted packet for processing {"connection_id":175050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:54:46] 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-09-09 03:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":175050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:54:46] local.INFO: GPS data processed {"connection_id":175050,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:54:46] local.INFO: Acknowledgment sent {"connection_id":175050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:54:50] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:54:50] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:54:50] local.INFO: Packet analysis {"connection_id":175050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:54:50] local.INFO: Extracted packet for processing {"connection_id":175050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:54:50] 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-09-09 03:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:54:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":175050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:54:50] local.INFO: GPS data processed {"connection_id":175050,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:54:50] local.INFO: Acknowledgment sent {"connection_id":175050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:55:21] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:55:21] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:55:21] local.INFO: Packet analysis {"connection_id":175050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:55:21] local.INFO: Extracted packet for processing {"connection_id":175050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:55:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":175050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:55:21] local.INFO: GPS data processed {"connection_id":175050,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:55:21] local.INFO: Acknowledgment sent {"connection_id":175050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:55:40] local.INFO: TCP Data received {"connection_id":177866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:55:40] local.INFO: Processing buffer {"connection_id":177866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:55:40] local.INFO: IMEI packet received {"connection_id":177866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":177866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:55:45] local.INFO: TCP Data received {"connection_id":177866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:55:45] local.INFO: Processing buffer {"connection_id":177866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:55:45] local.INFO: IMEI packet received {"connection_id":177866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":177866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:55:46] local.INFO: TCP Data received {"connection_id":177866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:55:46] local.INFO: Processing buffer {"connection_id":177866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:55:46] local.INFO: Packet analysis {"connection_id":177866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:55:46] local.INFO: Extracted packet for processing {"connection_id":177866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:55:46] 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-09-09 03:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":177866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:55:46] local.INFO: GPS data processed {"connection_id":177866,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:55:46] local.INFO: Acknowledgment sent {"connection_id":177866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:56:17] local.INFO: TCP Data received {"connection_id":177866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:56:17] local.INFO: Processing buffer {"connection_id":177866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0831be2f0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 03:56:17] local.INFO: Packet analysis {"connection_id":177866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:56:17] local.INFO: Extracted packet for processing {"connection_id":177866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0831b"} 
[2026-09-09 03:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959868672001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906038000,"timestamp_ms":1788906038000,"timestamp_seconds":1788906038,"priority":1,"record_length":96,"hex_timestamp":"000001a0831be2f0"} 
[2026-09-09 03:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 03:56:17] 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-09-09 03:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959868672001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959868672001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959868672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":177866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:56:17] local.INFO: GPS data processed {"connection_id":177866,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:56:17] local.INFO: Acknowledgment sent {"connection_id":177866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:56:41] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:56:41] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:56:41] local.INFO: IMEI packet received {"connection_id":175051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":175051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:56:45] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:56:45] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:56:45] local.INFO: IMEI packet received {"connection_id":175051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":175051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:56:46] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:56:46] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:56:46] local.INFO: Packet analysis {"connection_id":175051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:56:46] local.INFO: Extracted packet for processing {"connection_id":175051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 03:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":175051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:56:46] local.INFO: GPS data processed {"connection_id":175051,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:56:46] local.INFO: Acknowledgment sent {"connection_id":175051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:57:17] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:57:17] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:57:17] local.INFO: Packet analysis {"connection_id":175051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:57:17] local.INFO: Extracted packet for processing {"connection_id":175051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 03:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":175051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:57:17] local.INFO: GPS data processed {"connection_id":175051,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:57:17] local.INFO: Acknowledgment sent {"connection_id":175051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:57:40] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:57:40] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:57:40] local.INFO: IMEI packet received {"connection_id":176417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":176417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:57:45] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:57:45] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:57:45] local.INFO: IMEI packet received {"connection_id":176417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":176417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:57:46] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:57:46] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:57:46] local.INFO: Packet analysis {"connection_id":176417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:57:46] local.INFO: Extracted packet for processing {"connection_id":176417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 03:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":176417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:57:46] local.INFO: GPS data processed {"connection_id":176417,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:57:46] local.INFO: Acknowledgment sent {"connection_id":176417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:58:17] local.INFO: TCP Data received {"connection_id":176417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:58:17] local.INFO: Processing buffer {"connection_id":176417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:58:17] local.INFO: Packet analysis {"connection_id":176417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:58:17] local.INFO: Extracted packet for processing {"connection_id":176417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 03:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":176417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:58:17] local.INFO: GPS data processed {"connection_id":176417,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:58:17] local.INFO: Acknowledgment sent {"connection_id":176417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:58:40] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:58:40] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:58:40] local.INFO: IMEI packet received {"connection_id":175053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":175053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:58:45] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:58:45] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:58:45] local.INFO: IMEI packet received {"connection_id":175053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":175053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:58:46] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:58:46] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:58:46] local.INFO: Packet analysis {"connection_id":175053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:58:46] local.INFO: Extracted packet for processing {"connection_id":175053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 03:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":175053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:58:46] local.INFO: GPS data processed {"connection_id":175053,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:58:46] local.INFO: Acknowledgment sent {"connection_id":175053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:59:17] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:59:17] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:59:17] local.INFO: Packet analysis {"connection_id":175053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:59:17] local.INFO: Extracted packet for processing {"connection_id":175053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 03:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:59:17] local.INFO: GPS data processed {"connection_id":175053,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:59:17] local.INFO: Acknowledgment sent {"connection_id":175053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:59:40] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:59:40] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:59:40] local.INFO: IMEI packet received {"connection_id":175308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 03:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":175308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:59:42] local.INFO: TCP Data received {"connection_id":175309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:59:42] local.INFO: Processing buffer {"connection_id":175309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:59:42] local.INFO: IMEI packet received {"connection_id":175309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 03:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":175309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 03:59:45] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:59:45] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 03:59:45] local.INFO: IMEI packet received {"connection_id":175308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 03:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":175308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:59:46] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:59:46] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 03:59:46] local.INFO: Packet analysis {"connection_id":175308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:59:46] local.INFO: Extracted packet for processing {"connection_id":175308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 03:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 03:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 03:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 03:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 03:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 03:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 03:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 03:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 03:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 03:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 03:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 03:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 03:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 03:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 03:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 03:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 03:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":175308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:59:46] local.INFO: GPS data processed {"connection_id":175308,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:59:46] local.INFO: Acknowledgment sent {"connection_id":175308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 03:59:48] local.INFO: TCP Data received {"connection_id":175309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:59:48] local.INFO: Processing buffer {"connection_id":175309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 03:59:48] local.INFO: IMEI packet received {"connection_id":175309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 03:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":175309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 03:59:49] local.INFO: TCP Data received {"connection_id":175309,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a083220d10012bf89d000b08a8700260008531..."} 
[2026-09-09 03:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083220d10012bf89d000b08a8700260008531..."} 
[2026-09-09 03:59:49] local.INFO: Processing buffer {"connection_id":175309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083220d10012bf89d000b08a8700260008531..."} 
[2026-09-09 03:59:49] local.INFO: Packet analysis {"connection_id":175309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08322"} 
[2026-09-09 03:59:49] local.INFO: Extracted packet for processing {"connection_id":175309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08322"} 
[2026-09-09 03:59:49] local.INFO: GPS Element Parsed {"raw_longitude":737713408,"raw_latitude":185116784,"longitude_deg":73.7713408,"latitude_deg":18.5116784,"altitude":608,"angle":133,"satellites":49,"speed":58,"hex_longitude":"2bf89d00","hex_latitude":"0b08a870","is_valid_coordinates":true} 
[2026-09-09 03:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 03:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960045056001,"note":"Value kept but may cause issues"} 
[2026-09-09 03:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 03:59:49] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-548453944725811198,"note":"Value kept but may cause issues"} 
[2026-09-09 03:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,238,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 03:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788906442000,"timestamp_ms":1788906442000,"timestamp_seconds":1788906442,"priority":1,"record_length":96,"hex_timestamp":"000001a083220d10"} 
[2026-09-09 03:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 03:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 03:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 03:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 03:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 03:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 03:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 03:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 03:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 03:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 03:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 03:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 03:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 03:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960045056001,"66":27441,"109":206,"238":5632,"24":58,"16":3892954062127104,"43":-548453944725811198},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,238,24,16,43]} 
[2026-09-09 03:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 03:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 03:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960045056001,"description":"Unknown IO ID 0"} 
[2026-09-09 03:59:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 03:59:49] local.INFO: Unknown IO ID detected {"io_id":238,"value":5632,"description":"Unknown IO ID 238"} 
[2026-09-09 03:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 03:59:49] local.INFO: Unknown IO ID detected {"io_id":43,"value":-548453944725811198,"description":"Unknown IO ID 43"} 
[2026-09-09 03:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960045056001,"power":27441,"unknown_109":206,"unknown_238":5632,"ignition":58,"odometer":null,"unknown_43":-548453944725811198}} 
[2026-09-09 03:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":175309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 03:59:49] local.INFO: GPS data processed {"connection_id":175309,"processed":1,"errors":0,"total":1} 
[2026-09-09 03:59:49] local.INFO: Acknowledgment sent {"connection_id":175309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:00:17] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:00:17] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:00:17] local.INFO: Packet analysis {"connection_id":175308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 04:00:17] local.INFO: Extracted packet for processing {"connection_id":175308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 04:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 04:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":175308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:00:17] local.INFO: GPS data processed {"connection_id":175308,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:00:17] local.INFO: Acknowledgment sent {"connection_id":175308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:00:40] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:00:40] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:00:40] local.INFO: IMEI packet received {"connection_id":175311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":175311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:00:42] local.INFO: TCP Data received {"connection_id":175310,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:00:42] local.INFO: Processing buffer {"connection_id":175310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:00:42] local.INFO: IMEI packet received {"connection_id":175310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":175310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:00:45] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:00:45] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:00:45] local.INFO: IMEI packet received {"connection_id":175311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":175311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:00:46] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:00:46] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:00:46] local.INFO: Packet analysis {"connection_id":175311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 04:00:46] local.INFO: Extracted packet for processing {"connection_id":175311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 04:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 04:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":175311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:00:46] local.INFO: GPS data processed {"connection_id":175311,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:00:46] local.INFO: Acknowledgment sent {"connection_id":175311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:01:17] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:01:17] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083207ab8012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:01:17] local.INFO: Packet analysis {"connection_id":175311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 04:01:17] local.INFO: Extracted packet for processing {"connection_id":175311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08320"} 
[2026-09-09 04:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457959945728001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906339000,"timestamp_ms":1788906339000,"timestamp_seconds":1788906339,"priority":1,"record_length":96,"hex_timestamp":"000001a083207ab8"} 
[2026-09-09 04:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457959945728001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457959945728001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:01:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457959945728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":175311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:01:17] local.INFO: GPS data processed {"connection_id":175311,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:01:17] local.INFO: Acknowledgment sent {"connection_id":175311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:01:45] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:01:45] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:01:45] local.INFO: IMEI packet received {"connection_id":176418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":176418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:01:50] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:01:50] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:01:50] local.INFO: IMEI packet received {"connection_id":176418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":176418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:01:50] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:01:50] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:01:50] local.INFO: Packet analysis {"connection_id":176418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:01:50] local.INFO: Extracted packet for processing {"connection_id":176418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:01:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":176418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:01:50] local.INFO: GPS data processed {"connection_id":176418,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:01:50] local.INFO: Acknowledgment sent {"connection_id":176418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:02:22] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:02:22] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:02:22] local.INFO: Packet analysis {"connection_id":176418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:02:22] local.INFO: Extracted packet for processing {"connection_id":176418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:02:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:02:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":176418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:02:22] local.INFO: GPS data processed {"connection_id":176418,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:02:22] local.INFO: Acknowledgment sent {"connection_id":176418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:02:41] local.INFO: TCP Data received {"connection_id":176420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:02:41] local.INFO: Processing buffer {"connection_id":176420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:02:41] local.INFO: IMEI packet received {"connection_id":176420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":176420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:02:45] local.INFO: TCP Data received {"connection_id":176420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:02:45] local.INFO: Processing buffer {"connection_id":176420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:02:45] local.INFO: IMEI packet received {"connection_id":176420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":176420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:02:46] local.INFO: TCP Data received {"connection_id":176420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:02:46] local.INFO: Processing buffer {"connection_id":176420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:02:46] local.INFO: Packet analysis {"connection_id":176420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:02:46] local.INFO: Extracted packet for processing {"connection_id":176420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":176420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:02:46] local.INFO: GPS data processed {"connection_id":176420,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:02:46] local.INFO: Acknowledgment sent {"connection_id":176420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:03:17] local.INFO: TCP Data received {"connection_id":176420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:03:17] local.INFO: Processing buffer {"connection_id":176420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:03:17] local.INFO: Packet analysis {"connection_id":176420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:03:17] local.INFO: Extracted packet for processing {"connection_id":176420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":176420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:03:17] local.INFO: GPS data processed {"connection_id":176420,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:03:17] local.INFO: Acknowledgment sent {"connection_id":176420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:03:40] local.INFO: TCP Data received {"connection_id":177871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:03:40] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:03:40] local.INFO: IMEI packet received {"connection_id":177871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":177871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:03:45] local.INFO: TCP Data received {"connection_id":177871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:03:45] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:03:45] local.INFO: IMEI packet received {"connection_id":177871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":177871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:03:46] local.INFO: TCP Data received {"connection_id":177871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:03:46] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:03:46] local.INFO: Packet analysis {"connection_id":177871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:03:46] local.INFO: Extracted packet for processing {"connection_id":177871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":177871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:03:46] local.INFO: GPS data processed {"connection_id":177871,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:03:46] local.INFO: Acknowledgment sent {"connection_id":177871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:04:17] local.INFO: TCP Data received {"connection_id":177871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:04:17] local.INFO: Processing buffer {"connection_id":177871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:04:17] local.INFO: Packet analysis {"connection_id":177871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:04:17] local.INFO: Extracted packet for processing {"connection_id":177871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":177871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:04:17] local.INFO: GPS data processed {"connection_id":177871,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:04:17] local.INFO: Acknowledgment sent {"connection_id":177871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:04:40] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:04:40] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:04:40] local.INFO: IMEI packet received {"connection_id":175312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":175312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:04:45] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:04:45] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:04:45] local.INFO: IMEI packet received {"connection_id":175312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":175312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:04:46] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:04:46] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:04:46] local.INFO: Packet analysis {"connection_id":175312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:04:46] local.INFO: Extracted packet for processing {"connection_id":175312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":175312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:04:46] local.INFO: GPS data processed {"connection_id":175312,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:04:46] local.INFO: Acknowledgment sent {"connection_id":175312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:05:17] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:05:17] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:05:17] local.INFO: Packet analysis {"connection_id":175312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:05:17] local.INFO: Extracted packet for processing {"connection_id":175312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":175312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:05:17] local.INFO: GPS data processed {"connection_id":175312,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:05:17] local.INFO: Acknowledgment sent {"connection_id":175312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:05:39] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:05:39] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:05:39] local.INFO: IMEI packet received {"connection_id":175055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":175055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:05:45] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:05:45] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:05:45] local.INFO: IMEI packet received {"connection_id":175055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":175055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:05:46] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:05:46] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:05:46] local.INFO: Packet analysis {"connection_id":175055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:05:46] local.INFO: Extracted packet for processing {"connection_id":175055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":175055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:05:46] local.INFO: GPS data processed {"connection_id":175055,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:05:46] local.INFO: Acknowledgment sent {"connection_id":175055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:06:04] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:06:04] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:06:04] local.INFO: IMEI packet received {"connection_id":176422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":176422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:06:17] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:06:17] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083251280012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:06:17] local.INFO: Packet analysis {"connection_id":175055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:06:17] local.INFO: Extracted packet for processing {"connection_id":175055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08325"} 
[2026-09-09 04:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960022784001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906640000,"timestamp_ms":1788906640000,"timestamp_seconds":1788906640,"priority":1,"record_length":96,"hex_timestamp":"000001a083251280"} 
[2026-09-09 04:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 04:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960022784001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960022784001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960022784001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":175055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:06:17] local.INFO: GPS data processed {"connection_id":175055,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:06:17] local.INFO: Acknowledgment sent {"connection_id":175055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:06:45] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:06:45] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:06:45] local.INFO: IMEI packet received {"connection_id":175313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":175313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:06:47] local.INFO: TCP Data received {"connection_id":175314,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:06:47] local.INFO: Processing buffer {"connection_id":175314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:06:47] local.INFO: IMEI packet received {"connection_id":175314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":175314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:06:50] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:06:50] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:06:50] local.INFO: IMEI packet received {"connection_id":175313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":175313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:06:52] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:06:52] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:06:52] local.INFO: Packet analysis {"connection_id":175313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:06:52] local.INFO: Extracted packet for processing {"connection_id":175313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":175313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:06:52] local.INFO: GPS data processed {"connection_id":175313,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:06:52] local.INFO: Acknowledgment sent {"connection_id":175313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:07:23] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:07:23] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:07:23] local.INFO: Packet analysis {"connection_id":175313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:07:23] local.INFO: Extracted packet for processing {"connection_id":175313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":175313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:07:23] local.INFO: GPS data processed {"connection_id":175313,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:07:23] local.INFO: Acknowledgment sent {"connection_id":175313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:07:40] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:07:40] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:07:40] local.INFO: IMEI packet received {"connection_id":176424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":176424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:07:45] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:07:45] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:07:45] local.INFO: IMEI packet received {"connection_id":176424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":176424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:07:45] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:07:45] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:07:45] local.INFO: Packet analysis {"connection_id":176424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:07:45] local.INFO: Extracted packet for processing {"connection_id":176424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:07:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":176424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:07:45] local.INFO: GPS data processed {"connection_id":176424,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:07:45] local.INFO: Acknowledgment sent {"connection_id":176424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:08:17] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:08:17] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:08:17] local.INFO: Packet analysis {"connection_id":176424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:08:17] local.INFO: Extracted packet for processing {"connection_id":176424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":176424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:08:17] local.INFO: GPS data processed {"connection_id":176424,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:08:17] local.INFO: Acknowledgment sent {"connection_id":176424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:08:41] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:08:41] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:08:41] local.INFO: IMEI packet received {"connection_id":175315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":175315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:08:45] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:08:45] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:08:45] local.INFO: IMEI packet received {"connection_id":175315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":175315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:08:46] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:08:46] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:08:46] local.INFO: Packet analysis {"connection_id":175315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:08:46] local.INFO: Extracted packet for processing {"connection_id":175315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":175315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:08:46] local.INFO: GPS data processed {"connection_id":175315,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:08:46] local.INFO: Acknowledgment sent {"connection_id":175315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:09:17] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:09:17] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:09:17] local.INFO: Packet analysis {"connection_id":175315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:09:17] local.INFO: Extracted packet for processing {"connection_id":175315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":175315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:09:17] local.INFO: GPS data processed {"connection_id":175315,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:09:17] local.INFO: Acknowledgment sent {"connection_id":175315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:09:40] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:09:40] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:09:40] local.INFO: IMEI packet received {"connection_id":175056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":175056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:09:44] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:09:44] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:09:44] local.INFO: IMEI packet received {"connection_id":175056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":175056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:09:45] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:09:45] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:09:45] local.INFO: Packet analysis {"connection_id":175056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:09:45] local.INFO: Extracted packet for processing {"connection_id":175056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":175056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:09:46] local.INFO: GPS data processed {"connection_id":175056,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:09:46] local.INFO: Acknowledgment sent {"connection_id":175056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:10:16] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:10:16] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:10:16] local.INFO: Packet analysis {"connection_id":175056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:10:16] local.INFO: Extracted packet for processing {"connection_id":175056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":175056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:10:16] local.INFO: GPS data processed {"connection_id":175056,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:10:16] local.INFO: Acknowledgment sent {"connection_id":175056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:10:40] local.INFO: TCP Data received {"connection_id":177873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:10:40] local.INFO: Processing buffer {"connection_id":177873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:10:40] local.INFO: IMEI packet received {"connection_id":177873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":177873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:10:45] local.INFO: TCP Data received {"connection_id":177873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:10:45] local.INFO: Processing buffer {"connection_id":177873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:10:45] local.INFO: IMEI packet received {"connection_id":177873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":177873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:10:46] local.INFO: TCP Data received {"connection_id":177873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:10:46] local.INFO: Processing buffer {"connection_id":177873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:10:46] local.INFO: Packet analysis {"connection_id":177873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:10:46] local.INFO: Extracted packet for processing {"connection_id":177873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":177873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:10:46] local.INFO: GPS data processed {"connection_id":177873,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:10:46] local.INFO: Acknowledgment sent {"connection_id":177873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:11:17] local.INFO: TCP Data received {"connection_id":177873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:11:17] local.INFO: Processing buffer {"connection_id":177873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08329aa48012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:11:17] local.INFO: Packet analysis {"connection_id":177873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:11:17] local.INFO: Extracted packet for processing {"connection_id":177873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08329"} 
[2026-09-09 04:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960099840001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788906941000,"timestamp_ms":1788906941000,"timestamp_seconds":1788906941,"priority":1,"record_length":96,"hex_timestamp":"000001a08329aa48"} 
[2026-09-09 04:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 04:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960099840001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960099840001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960099840001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":177873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:11:17] local.INFO: GPS data processed {"connection_id":177873,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:11:17] local.INFO: Acknowledgment sent {"connection_id":177873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:11:45] local.INFO: TCP Data received {"connection_id":175057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:11:45] local.INFO: Processing buffer {"connection_id":175057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:11:45] local.INFO: IMEI packet received {"connection_id":175057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":175057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:11:50] local.INFO: TCP Data received {"connection_id":175057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:11:50] local.INFO: Processing buffer {"connection_id":175057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:11:50] local.INFO: IMEI packet received {"connection_id":175057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":175057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:11:51] local.INFO: TCP Data received {"connection_id":175057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:11:51] local.INFO: Processing buffer {"connection_id":175057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:11:51] local.INFO: Packet analysis {"connection_id":175057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:11:51] local.INFO: Extracted packet for processing {"connection_id":175057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:11:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:11:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":175057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:11:51] local.INFO: GPS data processed {"connection_id":175057,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:11:51] local.INFO: Acknowledgment sent {"connection_id":175057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:11:55] local.INFO: TCP Data received {"connection_id":175057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:11:55] local.INFO: Processing buffer {"connection_id":175057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:11:55] local.INFO: Packet analysis {"connection_id":175057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:11:55] local.INFO: Extracted packet for processing {"connection_id":175057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:11:55] 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-09-09 04:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:11:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:11:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":175057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:11:55] local.INFO: GPS data processed {"connection_id":175057,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:11:55] local.INFO: Acknowledgment sent {"connection_id":175057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:11:59] local.INFO: TCP Data received {"connection_id":175058,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:11:59] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:11:59] local.INFO: IMEI packet received {"connection_id":175058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":175058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:12:40] local.INFO: TCP Data received {"connection_id":175317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:12:40] local.INFO: Processing buffer {"connection_id":175317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:12:40] local.INFO: IMEI packet received {"connection_id":175317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":175317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:12:45] local.INFO: TCP Data received {"connection_id":175317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:12:45] local.INFO: Processing buffer {"connection_id":175317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:12:45] local.INFO: IMEI packet received {"connection_id":175317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":175317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:12:46] local.INFO: TCP Data received {"connection_id":175317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:12:46] local.INFO: Processing buffer {"connection_id":175317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:12:46] local.INFO: Packet analysis {"connection_id":175317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:12:46] local.INFO: Extracted packet for processing {"connection_id":175317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":175317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:12:46] local.INFO: GPS data processed {"connection_id":175317,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:12:46] local.INFO: Acknowledgment sent {"connection_id":175317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:13:17] local.INFO: TCP Data received {"connection_id":175317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:13:17] local.INFO: Processing buffer {"connection_id":175317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:13:17] local.INFO: Packet analysis {"connection_id":175317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:13:17] local.INFO: Extracted packet for processing {"connection_id":175317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":175317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:13:17] local.INFO: GPS data processed {"connection_id":175317,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:13:17] local.INFO: Acknowledgment sent {"connection_id":175317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:13:40] local.INFO: TCP Data received {"connection_id":175059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:13:40] local.INFO: Processing buffer {"connection_id":175059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:13:40] local.INFO: IMEI packet received {"connection_id":175059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":175059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:13:45] local.INFO: TCP Data received {"connection_id":175059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:13:45] local.INFO: Processing buffer {"connection_id":175059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:13:45] local.INFO: IMEI packet received {"connection_id":175059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":175059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:13:46] local.INFO: TCP Data received {"connection_id":175059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:13:46] local.INFO: Processing buffer {"connection_id":175059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:13:46] local.INFO: Packet analysis {"connection_id":175059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:13:46] local.INFO: Extracted packet for processing {"connection_id":175059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":175059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:13:46] local.INFO: GPS data processed {"connection_id":175059,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:13:46] local.INFO: Acknowledgment sent {"connection_id":175059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:14:18] local.INFO: TCP Data received {"connection_id":175059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:14:18] local.INFO: Processing buffer {"connection_id":175059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:14:18] local.INFO: Packet analysis {"connection_id":175059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:14:18] local.INFO: Extracted packet for processing {"connection_id":175059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:14:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":175059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:14:18] local.INFO: GPS data processed {"connection_id":175059,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:14:18] local.INFO: Acknowledgment sent {"connection_id":175059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:14:40] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:14:40] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:14:40] local.INFO: IMEI packet received {"connection_id":176427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":176427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:14:45] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:14:45] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:14:45] local.INFO: IMEI packet received {"connection_id":176427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":176427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:14:46] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:14:46] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:14:46] local.INFO: Packet analysis {"connection_id":176427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:14:46] local.INFO: Extracted packet for processing {"connection_id":176427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":176427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:14:46] local.INFO: GPS data processed {"connection_id":176427,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:14:46] local.INFO: Acknowledgment sent {"connection_id":176427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:15:17] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:15:17] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:15:17] local.INFO: Packet analysis {"connection_id":176427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:15:17] local.INFO: Extracted packet for processing {"connection_id":176427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:15:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":176427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:15:17] local.INFO: GPS data processed {"connection_id":176427,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:15:17] local.INFO: Acknowledgment sent {"connection_id":176427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:15:40] local.INFO: TCP Data received {"connection_id":175061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:15:40] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:15:40] local.INFO: IMEI packet received {"connection_id":175061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":175061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:15:44] local.INFO: TCP Data received {"connection_id":175061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:15:44] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:15:44] local.INFO: IMEI packet received {"connection_id":175061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":175061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:15:46] local.INFO: TCP Data received {"connection_id":175061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:15:46] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:15:46] local.INFO: Packet analysis {"connection_id":175061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:15:46] local.INFO: Extracted packet for processing {"connection_id":175061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":175061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:15:46] local.INFO: GPS data processed {"connection_id":175061,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:15:46] local.INFO: Acknowledgment sent {"connection_id":175061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:16:17] local.INFO: TCP Data received {"connection_id":175061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:16:17] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0832e4210012d34c38006aa42c80005005d31..."} 
[2026-09-09 04:16:17] local.INFO: Packet analysis {"connection_id":175061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:16:17] local.INFO: Extracted packet for processing {"connection_id":175061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0832e"} 
[2026-09-09 04:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960176896001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788907242000,"timestamp_ms":1788907242000,"timestamp_seconds":1788907242,"priority":1,"record_length":96,"hex_timestamp":"000001a0832e4210"} 
[2026-09-09 04:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960176896001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960176896001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960176896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":175061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:16:17] local.INFO: GPS data processed {"connection_id":175061,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:16:17] local.INFO: Acknowledgment sent {"connection_id":175061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:16:40] local.INFO: TCP Data received {"connection_id":177874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:16:40] local.INFO: Processing buffer {"connection_id":177874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:16:40] local.INFO: IMEI packet received {"connection_id":177874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":177874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:16:45] local.INFO: TCP Data received {"connection_id":177874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:16:45] local.INFO: Processing buffer {"connection_id":177874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:16:45] local.INFO: IMEI packet received {"connection_id":177874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":177874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:16:46] local.INFO: TCP Data received {"connection_id":177874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:16:46] local.INFO: Processing buffer {"connection_id":177874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:16:46] local.INFO: Packet analysis {"connection_id":177874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:16:46] local.INFO: Extracted packet for processing {"connection_id":177874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":177874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:16:46] local.INFO: GPS data processed {"connection_id":177874,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:16:46] local.INFO: Acknowledgment sent {"connection_id":177874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:17:17] local.INFO: TCP Data received {"connection_id":177874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:17:17] local.INFO: Processing buffer {"connection_id":177874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:17:17] local.INFO: Packet analysis {"connection_id":177874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:17:17] local.INFO: Extracted packet for processing {"connection_id":177874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":177874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:17:17] local.INFO: GPS data processed {"connection_id":177874,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:17:17] local.INFO: Acknowledgment sent {"connection_id":177874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:17:40] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:17:40] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:17:40] local.INFO: IMEI packet received {"connection_id":176428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":176428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:17:42] local.INFO: TCP Data received {"connection_id":177876,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:17:42] local.INFO: Processing buffer {"connection_id":177876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:17:42] local.INFO: IMEI packet received {"connection_id":177876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":177876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:17:44] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:17:44] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:17:44] local.INFO: IMEI packet received {"connection_id":176428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":176428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:17:46] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:17:46] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:17:46] local.INFO: Packet analysis {"connection_id":176428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:17:46] local.INFO: Extracted packet for processing {"connection_id":176428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":176428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:17:46] local.INFO: GPS data processed {"connection_id":176428,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:17:46] local.INFO: Acknowledgment sent {"connection_id":176428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:18:17] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:18:17] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:18:17] local.INFO: Packet analysis {"connection_id":176428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:18:17] local.INFO: Extracted packet for processing {"connection_id":176428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":176428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:18:17] local.INFO: GPS data processed {"connection_id":176428,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:18:17] local.INFO: Acknowledgment sent {"connection_id":176428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:18:45] local.INFO: TCP Data received {"connection_id":175320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:18:45] local.INFO: Processing buffer {"connection_id":175320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:18:45] local.INFO: IMEI packet received {"connection_id":175320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":175320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:18:50] local.INFO: TCP Data received {"connection_id":175320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:18:50] local.INFO: Processing buffer {"connection_id":175320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:18:50] local.INFO: IMEI packet received {"connection_id":175320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":175320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:18:52] local.INFO: TCP Data received {"connection_id":175320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:18:52] local.INFO: Processing buffer {"connection_id":175320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:18:52] local.INFO: Packet analysis {"connection_id":175320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:18:52] local.INFO: Extracted packet for processing {"connection_id":175320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":175320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:18:52] local.INFO: GPS data processed {"connection_id":175320,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:18:52] local.INFO: Acknowledgment sent {"connection_id":175320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:18:55] local.INFO: TCP Data received {"connection_id":175320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:18:55] local.INFO: Processing buffer {"connection_id":175320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:18:55] local.INFO: Packet analysis {"connection_id":175320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:18:55] local.INFO: Extracted packet for processing {"connection_id":175320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:18:55] 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-09-09 04:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:18:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:18:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":175320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:18:55] local.INFO: GPS data processed {"connection_id":175320,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:18:55] local.INFO: Acknowledgment sent {"connection_id":175320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:19:40] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:19:40] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:19:40] local.INFO: IMEI packet received {"connection_id":176429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":176429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:19:45] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:19:45] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:19:45] local.INFO: IMEI packet received {"connection_id":176429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":176429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:19:46] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:19:46] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:19:46] local.INFO: Packet analysis {"connection_id":176429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:19:46] local.INFO: Extracted packet for processing {"connection_id":176429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":176429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:19:46] local.INFO: GPS data processed {"connection_id":176429,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:19:46] local.INFO: Acknowledgment sent {"connection_id":176429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:20:17] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:20:17] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:20:17] local.INFO: Packet analysis {"connection_id":176429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:20:17] local.INFO: Extracted packet for processing {"connection_id":176429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":176429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:20:17] local.INFO: GPS data processed {"connection_id":176429,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:20:17] local.INFO: Acknowledgment sent {"connection_id":176429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:20:40] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:20:40] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:20:40] local.INFO: IMEI packet received {"connection_id":175321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":175321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:20:45] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:20:45] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:20:45] local.INFO: IMEI packet received {"connection_id":175321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":175321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:20:46] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:20:46] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:20:46] local.INFO: Packet analysis {"connection_id":175321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:20:46] local.INFO: Extracted packet for processing {"connection_id":175321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:20:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":175321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:20:46] local.INFO: GPS data processed {"connection_id":175321,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:20:46] local.INFO: Acknowledgment sent {"connection_id":175321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:21:17] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:21:17] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08332d9d8012d34c38006aa42c80005005d2f..."} 
[2026-09-09 04:21:17] local.INFO: Packet analysis {"connection_id":175321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:21:17] local.INFO: Extracted packet for processing {"connection_id":175321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08332"} 
[2026-09-09 04:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960253952001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788907543000,"timestamp_ms":1788907543000,"timestamp_seconds":1788907543,"priority":1,"record_length":96,"hex_timestamp":"000001a08332d9d8"} 
[2026-09-09 04:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960253952001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960253952001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960253952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":175321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:21:17] local.INFO: GPS data processed {"connection_id":175321,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:21:17] local.INFO: Acknowledgment sent {"connection_id":175321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:21:45] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:21:45] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:21:45] local.INFO: IMEI packet received {"connection_id":175063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":175063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:21:50] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:21:50] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:21:50] local.INFO: IMEI packet received {"connection_id":175063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":175063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:21:50] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:21:50] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:21:50] local.INFO: Packet analysis {"connection_id":175063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:21:50] local.INFO: Extracted packet for processing {"connection_id":175063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:21:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:21:50] 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-09-09 04:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:21:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:21:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":175063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:21:50] local.INFO: GPS data processed {"connection_id":175063,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:21:50] local.INFO: Acknowledgment sent {"connection_id":175063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:21:55] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:21:55] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:21:55] local.INFO: Packet analysis {"connection_id":175063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:21:55] local.INFO: Extracted packet for processing {"connection_id":175063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:21:55] 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-09-09 04:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:21:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:21:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":175063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:21:55] local.INFO: GPS data processed {"connection_id":175063,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:21:55] local.INFO: Acknowledgment sent {"connection_id":175063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:22:40] local.INFO: TCP Data received {"connection_id":177879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:22:40] local.INFO: Processing buffer {"connection_id":177879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:22:40] local.INFO: IMEI packet received {"connection_id":177879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":177879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:22:45] local.INFO: TCP Data received {"connection_id":177879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:22:45] local.INFO: Processing buffer {"connection_id":177879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:22:45] local.INFO: IMEI packet received {"connection_id":177879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":177879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:22:46] local.INFO: TCP Data received {"connection_id":177879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:22:46] local.INFO: Processing buffer {"connection_id":177879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:22:46] local.INFO: Packet analysis {"connection_id":177879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:22:46] local.INFO: Extracted packet for processing {"connection_id":177879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":177879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:22:46] local.INFO: GPS data processed {"connection_id":177879,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:22:46] local.INFO: Acknowledgment sent {"connection_id":177879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:23:17] local.INFO: TCP Data received {"connection_id":177879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:23:17] local.INFO: Processing buffer {"connection_id":177879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:23:17] local.INFO: Packet analysis {"connection_id":177879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:23:17] local.INFO: Extracted packet for processing {"connection_id":177879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":177879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:23:17] local.INFO: GPS data processed {"connection_id":177879,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:23:17] local.INFO: Acknowledgment sent {"connection_id":177879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:23:40] local.INFO: TCP Data received {"connection_id":175064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:23:40] local.INFO: Processing buffer {"connection_id":175064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:23:40] local.INFO: IMEI packet received {"connection_id":175064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":175064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:23:44] local.INFO: TCP Data received {"connection_id":175064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:23:44] local.INFO: Processing buffer {"connection_id":175064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:23:44] local.INFO: IMEI packet received {"connection_id":175064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":175064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:23:46] local.INFO: TCP Data received {"connection_id":175064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:23:46] local.INFO: Processing buffer {"connection_id":175064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:23:46] local.INFO: Packet analysis {"connection_id":175064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:23:46] local.INFO: Extracted packet for processing {"connection_id":175064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":175064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:23:46] local.INFO: GPS data processed {"connection_id":175064,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:23:46] local.INFO: Acknowledgment sent {"connection_id":175064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:24:17] local.INFO: TCP Data received {"connection_id":175064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:24:17] local.INFO: Processing buffer {"connection_id":175064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:24:17] local.INFO: Packet analysis {"connection_id":175064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:24:17] local.INFO: Extracted packet for processing {"connection_id":175064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":175064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:24:17] local.INFO: GPS data processed {"connection_id":175064,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:24:17] local.INFO: Acknowledgment sent {"connection_id":175064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:24:40] local.INFO: TCP Data received {"connection_id":175323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:24:40] local.INFO: Processing buffer {"connection_id":175323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:24:40] local.INFO: IMEI packet received {"connection_id":175323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":175323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:24:45] local.INFO: TCP Data received {"connection_id":175323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:24:45] local.INFO: Processing buffer {"connection_id":175323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:24:45] local.INFO: IMEI packet received {"connection_id":175323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":175323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:24:46] local.INFO: TCP Data received {"connection_id":175323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:24:46] local.INFO: Processing buffer {"connection_id":175323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:24:46] local.INFO: Packet analysis {"connection_id":175323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:24:46] local.INFO: Extracted packet for processing {"connection_id":175323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":175323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:24:46] local.INFO: GPS data processed {"connection_id":175323,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:24:46] local.INFO: Acknowledgment sent {"connection_id":175323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:25:16] local.INFO: TCP Data received {"connection_id":175323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:25:16] local.INFO: Processing buffer {"connection_id":175323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:25:16] local.INFO: Packet analysis {"connection_id":175323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:25:16] local.INFO: Extracted packet for processing {"connection_id":175323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:25:16] 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-09-09 04:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":175323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:25:17] local.INFO: GPS data processed {"connection_id":175323,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:25:17] local.INFO: Acknowledgment sent {"connection_id":175323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:25:40] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:25:40] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:25:40] local.INFO: IMEI packet received {"connection_id":176431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":176431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:25:45] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:25:45] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:25:45] local.INFO: IMEI packet received {"connection_id":176431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":176431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:25:46] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:25:46] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:25:46] local.INFO: Packet analysis {"connection_id":176431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:25:46] local.INFO: Extracted packet for processing {"connection_id":176431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":176431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:25:46] local.INFO: GPS data processed {"connection_id":176431,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:25:46] local.INFO: Acknowledgment sent {"connection_id":176431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:26:18] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:26:18] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833771a0012d34c38006aa42c80005005d30..."} 
[2026-09-09 04:26:18] local.INFO: Packet analysis {"connection_id":176431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:26:18] local.INFO: Extracted packet for processing {"connection_id":176431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08337"} 
[2026-09-09 04:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788907844000,"timestamp_ms":1788907844000,"timestamp_seconds":1788907844,"priority":1,"record_length":96,"hex_timestamp":"000001a0833771a0"} 
[2026-09-09 04:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960331008001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:26:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960331008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":176431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:26:18] local.INFO: GPS data processed {"connection_id":176431,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:26:18] local.INFO: Acknowledgment sent {"connection_id":176431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:26:40] local.INFO: TCP Data received {"connection_id":175324,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:26:40] local.INFO: Processing buffer {"connection_id":175324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:26:40] local.INFO: IMEI packet received {"connection_id":175324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":175324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:26:45] local.INFO: TCP Data received {"connection_id":175324,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:26:45] local.INFO: Processing buffer {"connection_id":175324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:26:45] local.INFO: IMEI packet received {"connection_id":175324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":175324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:26:46] local.INFO: TCP Data received {"connection_id":175324,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:26:46] local.INFO: Processing buffer {"connection_id":175324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:26:46] local.INFO: Packet analysis {"connection_id":175324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:26:46] local.INFO: Extracted packet for processing {"connection_id":175324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":175324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:26:46] local.INFO: GPS data processed {"connection_id":175324,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:26:46] local.INFO: Acknowledgment sent {"connection_id":175324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:27:17] local.INFO: TCP Data received {"connection_id":175324,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:27:17] local.INFO: Processing buffer {"connection_id":175324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:27:17] local.INFO: Packet analysis {"connection_id":175324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:27:17] local.INFO: Extracted packet for processing {"connection_id":175324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":175324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:27:17] local.INFO: GPS data processed {"connection_id":175324,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:27:17] local.INFO: Acknowledgment sent {"connection_id":175324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:27:39] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:27:39] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:27:39] local.INFO: IMEI packet received {"connection_id":176432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":176432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:27:44] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:27:44] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:27:44] local.INFO: IMEI packet received {"connection_id":176432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":176432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:27:45] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:27:45] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:27:45] local.INFO: Packet analysis {"connection_id":176432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:27:45] local.INFO: Extracted packet for processing {"connection_id":176432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:27:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":176432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:27:45] local.INFO: GPS data processed {"connection_id":176432,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:27:45] local.INFO: Acknowledgment sent {"connection_id":176432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:28:16] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:28:16] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:28:16] local.INFO: Packet analysis {"connection_id":176432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:28:16] local.INFO: Extracted packet for processing {"connection_id":176432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:28:16] 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-09-09 04:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":176432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:28:16] local.INFO: GPS data processed {"connection_id":176432,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:28:16] local.INFO: Acknowledgment sent {"connection_id":176432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:28:40] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:28:40] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:28:40] local.INFO: IMEI packet received {"connection_id":175065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":175065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:28:45] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:28:45] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:28:45] local.INFO: IMEI packet received {"connection_id":175065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":175065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:28:46] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:28:46] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:28:46] local.INFO: Packet analysis {"connection_id":175065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:28:46] local.INFO: Extracted packet for processing {"connection_id":175065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":175065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:28:46] local.INFO: GPS data processed {"connection_id":175065,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:28:46] local.INFO: Acknowledgment sent {"connection_id":175065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:29:03] local.INFO: TCP Data received {"connection_id":175066,"ip":"117.224.100.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:03] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:03] local.INFO: IMEI packet received {"connection_id":175066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":175066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:29:04] local.INFO: TCP Data received {"connection_id":175066,"ip":"117.224.100.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:04] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:04] local.INFO: IMEI packet received {"connection_id":175066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 04:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":175066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:29:08] local.INFO: TCP Data received {"connection_id":175066,"ip":"117.224.100.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:08] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:08] local.INFO: IMEI packet received {"connection_id":175066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 04:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":175066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:29:11] local.INFO: TCP Data received {"connection_id":175066,"ip":"117.224.100.224","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c05800100000000000000000000000000..."} 
[2026-09-09 04:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c05800100000000000000000000000000..."} 
[2026-09-09 04:29:11] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c05800100000000000000000000000000..."} 
[2026-09-09 04:29:11] local.INFO: Packet analysis {"connection_id":175066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:29:11] local.INFO: Extracted packet for processing {"connection_id":175066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,78,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 04:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788908144000,"timestamp_ms":1788908144000,"timestamp_seconds":1788908144,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0580"} 
[2026-09-09 04:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 04:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 04:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 04:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.100.224","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 04:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 04:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":175066,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 04:29:11] local.INFO: GPS data processed {"connection_id":175066,"processed":0,"errors":0,"total":1} 
[2026-09-09 04:29:11] local.INFO: Acknowledgment sent {"connection_id":175066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:29:17] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:29:17] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:29:17] local.INFO: Packet analysis {"connection_id":175065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:29:17] local.INFO: Extracted packet for processing {"connection_id":175065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":175065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:29:17] local.INFO: GPS data processed {"connection_id":175065,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:29:17] local.INFO: Acknowledgment sent {"connection_id":175065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:29:45] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:29:45] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:29:45] local.INFO: IMEI packet received {"connection_id":175325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":175325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:29:49] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:29:49] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:29:49] local.INFO: IMEI packet received {"connection_id":175325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":175325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:29:50] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:29:50] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:29:50] local.INFO: Packet analysis {"connection_id":175325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:29:50] local.INFO: Extracted packet for processing {"connection_id":175325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:29:50] 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-09-09 04: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-09-09 04:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":175325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:29:50] local.INFO: GPS data processed {"connection_id":175325,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:29:50] local.INFO: Acknowledgment sent {"connection_id":175325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:29:56] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:29:56] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:29:56] local.INFO: Packet analysis {"connection_id":175325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:29:56] local.INFO: Extracted packet for processing {"connection_id":175325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:29:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:29:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:29:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":175325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:29:56] local.INFO: GPS data processed {"connection_id":175325,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:29:56] local.INFO: Acknowledgment sent {"connection_id":175325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:29:58] local.INFO: TCP Data received {"connection_id":176433,"ip":"117.224.100.224","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:58] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:29:58] local.INFO: IMEI packet received {"connection_id":176433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":176433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:30:00] local.INFO: TCP Data received {"connection_id":176433,"ip":"117.224.100.224","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 04:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 04:30:00] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 04:30:00] local.INFO: IMEI packet received {"connection_id":176433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 04:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":176433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:30:40] local.INFO: TCP Data received {"connection_id":176434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:30:40] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:30:40] local.INFO: IMEI packet received {"connection_id":176434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":176434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:30:45] local.INFO: TCP Data received {"connection_id":176434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:30:45] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:30:45] local.INFO: IMEI packet received {"connection_id":176434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":176434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:30:46] local.INFO: TCP Data received {"connection_id":176434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:30:46] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:30:46] local.INFO: Packet analysis {"connection_id":176434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:30:46] local.INFO: Extracted packet for processing {"connection_id":176434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":176434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:30:46] local.INFO: GPS data processed {"connection_id":176434,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:30:46] local.INFO: Acknowledgment sent {"connection_id":176434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:31:17] local.INFO: TCP Data received {"connection_id":176434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:31:17] local.INFO: Processing buffer {"connection_id":176434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0833c0968012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:31:17] local.INFO: Packet analysis {"connection_id":176434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:31:17] local.INFO: Extracted packet for processing {"connection_id":176434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0833c"} 
[2026-09-09 04:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908145000,"timestamp_ms":1788908145000,"timestamp_seconds":1788908145,"priority":1,"record_length":96,"hex_timestamp":"000001a0833c0968"} 
[2026-09-09 04:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 04:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960408064001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:31:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960408064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":176434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:31:17] local.INFO: GPS data processed {"connection_id":176434,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:31:17] local.INFO: Acknowledgment sent {"connection_id":176434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:31:40] local.INFO: TCP Data received {"connection_id":177880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:31:40] local.INFO: Processing buffer {"connection_id":177880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:31:40] local.INFO: IMEI packet received {"connection_id":177880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":177880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:31:44] local.INFO: TCP Data received {"connection_id":177880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:31:44] local.INFO: Processing buffer {"connection_id":177880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:31:44] local.INFO: IMEI packet received {"connection_id":177880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":177880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:31:45] local.INFO: TCP Data received {"connection_id":177880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:31:45] local.INFO: Processing buffer {"connection_id":177880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:31:45] local.INFO: Packet analysis {"connection_id":177880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:31:45] local.INFO: Extracted packet for processing {"connection_id":177880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:31:45] 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-09-09 04:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:31:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":177880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:31:45] local.INFO: GPS data processed {"connection_id":177880,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:31:45] local.INFO: Acknowledgment sent {"connection_id":177880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:32:17] local.INFO: TCP Data received {"connection_id":177880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:32:17] local.INFO: Processing buffer {"connection_id":177880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:32:17] local.INFO: Packet analysis {"connection_id":177880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:32:17] local.INFO: Extracted packet for processing {"connection_id":177880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:32:17] 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-09-09 04:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":177880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:32:17] local.INFO: GPS data processed {"connection_id":177880,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:32:17] local.INFO: Acknowledgment sent {"connection_id":177880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:32:40] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:32:40] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:32:40] local.INFO: IMEI packet received {"connection_id":176437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":176437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:32:45] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:32:45] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:32:45] local.INFO: IMEI packet received {"connection_id":176437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":176437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:32:46] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:32:46] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:32:46] local.INFO: Packet analysis {"connection_id":176437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:32:46] local.INFO: Extracted packet for processing {"connection_id":176437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:32:46] 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-09-09 04:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":176437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:32:46] local.INFO: GPS data processed {"connection_id":176437,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:32:46] local.INFO: Acknowledgment sent {"connection_id":176437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:33:17] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:33:17] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:33:17] local.INFO: Packet analysis {"connection_id":176437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:33:17] local.INFO: Extracted packet for processing {"connection_id":176437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:33:17] 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-09-09 04:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":176437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:33:17] local.INFO: GPS data processed {"connection_id":176437,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:33:17] local.INFO: Acknowledgment sent {"connection_id":176437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:33:40] local.INFO: TCP Data received {"connection_id":177881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:33:40] local.INFO: Processing buffer {"connection_id":177881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:33:40] local.INFO: IMEI packet received {"connection_id":177881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":177881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:33:44] local.INFO: TCP Data received {"connection_id":177881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:33:44] local.INFO: Processing buffer {"connection_id":177881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:33:44] local.INFO: IMEI packet received {"connection_id":177881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":177881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:33:45] local.INFO: TCP Data received {"connection_id":177881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:33:45] local.INFO: Processing buffer {"connection_id":177881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:33:45] local.INFO: Packet analysis {"connection_id":177881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:33:45] local.INFO: Extracted packet for processing {"connection_id":177881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:33:45] 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-09-09 04: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-09-09 04:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":177881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:33:45] local.INFO: GPS data processed {"connection_id":177881,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:33:45] local.INFO: Acknowledgment sent {"connection_id":177881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:34:17] local.INFO: TCP Data received {"connection_id":177881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:34:17] local.INFO: Processing buffer {"connection_id":177881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:34:17] local.INFO: Packet analysis {"connection_id":177881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:34:17] local.INFO: Extracted packet for processing {"connection_id":177881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:34:17] 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-09-09 04: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-09-09 04:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":177881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:34:17] local.INFO: GPS data processed {"connection_id":177881,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:34:17] local.INFO: Acknowledgment sent {"connection_id":177881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:34:40] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:34:40] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:34:40] local.INFO: IMEI packet received {"connection_id":176438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":176438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:34:45] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:34:45] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:34:45] local.INFO: IMEI packet received {"connection_id":176438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":176438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:34:46] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:34:46] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:34:46] local.INFO: Packet analysis {"connection_id":176438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:34:46] local.INFO: Extracted packet for processing {"connection_id":176438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:34:46] 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-09-09 04:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":176438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:34:46] local.INFO: GPS data processed {"connection_id":176438,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:34:46] local.INFO: Acknowledgment sent {"connection_id":176438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:35:17] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:35:17] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:35:17] local.INFO: Packet analysis {"connection_id":176438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:35:17] local.INFO: Extracted packet for processing {"connection_id":176438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:35:17] 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-09-09 04: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-09-09 04:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":176438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:35:17] local.INFO: GPS data processed {"connection_id":176438,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:35:17] local.INFO: Acknowledgment sent {"connection_id":176438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:35:44] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:35:44] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:35:44] local.INFO: IMEI packet received {"connection_id":176439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":176439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:35:49] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:35:49] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:35:49] local.INFO: IMEI packet received {"connection_id":176439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":176439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:35:50] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:35:50] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:35:50] local.INFO: Packet analysis {"connection_id":176439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:35:50] local.INFO: Extracted packet for processing {"connection_id":176439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:35:50] 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-09-09 04:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:35:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":176439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:35:50] local.INFO: GPS data processed {"connection_id":176439,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:35:50] local.INFO: Acknowledgment sent {"connection_id":176439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:35:55] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:35:55] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08340a130012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:35:55] local.INFO: Packet analysis {"connection_id":176439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:35:55] local.INFO: Extracted packet for processing {"connection_id":176439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08340"} 
[2026-09-09 04:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960485120001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788908446000,"timestamp_ms":1788908446000,"timestamp_seconds":1788908446,"priority":1,"record_length":96,"hex_timestamp":"000001a08340a130"} 
[2026-09-09 04:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:35:55] 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-09-09 04:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960485120001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960485120001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:35:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:35:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960485120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":176439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:35:55] local.INFO: GPS data processed {"connection_id":176439,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:35:55] local.INFO: Acknowledgment sent {"connection_id":176439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:36:40] local.INFO: TCP Data received {"connection_id":177882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:36:40] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:36:40] local.INFO: IMEI packet received {"connection_id":177882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":177882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:36:42] local.INFO: TCP Data received {"connection_id":177883,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:36:42] local.INFO: Processing buffer {"connection_id":177883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:36:42] local.INFO: IMEI packet received {"connection_id":177883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":177883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:36:45] local.INFO: TCP Data received {"connection_id":177882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:36:45] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:36:45] local.INFO: IMEI packet received {"connection_id":177882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":177882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:36:46] local.INFO: TCP Data received {"connection_id":177882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:36:46] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:36:46] local.INFO: Packet analysis {"connection_id":177882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:36:46] local.INFO: Extracted packet for processing {"connection_id":177882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":177882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:36:46] local.INFO: GPS data processed {"connection_id":177882,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:36:46] local.INFO: Acknowledgment sent {"connection_id":177882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:37:17] local.INFO: TCP Data received {"connection_id":177882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:37:17] local.INFO: Processing buffer {"connection_id":177882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:37:17] local.INFO: Packet analysis {"connection_id":177882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:37:17] local.INFO: Extracted packet for processing {"connection_id":177882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":177882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:37:17] local.INFO: GPS data processed {"connection_id":177882,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:37:17] local.INFO: Acknowledgment sent {"connection_id":177882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:37:39] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:37:39] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:37:39] local.INFO: IMEI packet received {"connection_id":175326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":175326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:37:44] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:37:44] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:37:44] local.INFO: IMEI packet received {"connection_id":175326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":175326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:37:45] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:37:45] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:37:45] local.INFO: Packet analysis {"connection_id":175326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:37:45] local.INFO: Extracted packet for processing {"connection_id":175326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":175326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:37:45] local.INFO: GPS data processed {"connection_id":175326,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:37:45] local.INFO: Acknowledgment sent {"connection_id":175326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:38:17] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:38:17] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:38:17] local.INFO: Packet analysis {"connection_id":175326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:38:17] local.INFO: Extracted packet for processing {"connection_id":175326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":175326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:38:17] local.INFO: GPS data processed {"connection_id":175326,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:38:17] local.INFO: Acknowledgment sent {"connection_id":175326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:38:40] local.INFO: TCP Data received {"connection_id":177884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:38:40] local.INFO: Processing buffer {"connection_id":177884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:38:40] local.INFO: IMEI packet received {"connection_id":177884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":177884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:38:45] local.INFO: TCP Data received {"connection_id":177884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:38:45] local.INFO: Processing buffer {"connection_id":177884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:38:45] local.INFO: IMEI packet received {"connection_id":177884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":177884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:38:46] local.INFO: TCP Data received {"connection_id":177884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:38:46] local.INFO: Processing buffer {"connection_id":177884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:38:46] local.INFO: Packet analysis {"connection_id":177884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:38:46] local.INFO: Extracted packet for processing {"connection_id":177884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":177884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:38:46] local.INFO: GPS data processed {"connection_id":177884,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:38:46] local.INFO: Acknowledgment sent {"connection_id":177884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:39:16] local.INFO: TCP Data received {"connection_id":177884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:39:16] local.INFO: Processing buffer {"connection_id":177884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:39:16] local.INFO: Packet analysis {"connection_id":177884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:39:16] local.INFO: Extracted packet for processing {"connection_id":177884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:39:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":177884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:39:16] local.INFO: GPS data processed {"connection_id":177884,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:39:16] local.INFO: Acknowledgment sent {"connection_id":177884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:39:40] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:39:40] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:39:40] local.INFO: IMEI packet received {"connection_id":177886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":177886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:39:44] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:39:44] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:39:44] local.INFO: IMEI packet received {"connection_id":177886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":177886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:39:46] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:39:46] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:39:46] local.INFO: Packet analysis {"connection_id":177886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:39:46] local.INFO: Extracted packet for processing {"connection_id":177886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":177886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:39:46] local.INFO: GPS data processed {"connection_id":177886,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:39:46] local.INFO: Acknowledgment sent {"connection_id":177886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:40:17] local.INFO: TCP Data received {"connection_id":177886,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:40:17] local.INFO: Processing buffer {"connection_id":177886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:40:17] local.INFO: Packet analysis {"connection_id":177886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:40:17] local.INFO: Extracted packet for processing {"connection_id":177886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":177886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:40:17] local.INFO: GPS data processed {"connection_id":177886,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:40:17] local.INFO: Acknowledgment sent {"connection_id":177886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:40:40] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:40:40] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:40:40] local.INFO: IMEI packet received {"connection_id":175068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":175068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:40:45] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:40:45] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:40:45] local.INFO: IMEI packet received {"connection_id":175068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":175068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:40:46] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:40:46] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:40:46] local.INFO: Packet analysis {"connection_id":175068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:40:46] local.INFO: Extracted packet for processing {"connection_id":175068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":175068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:40:46] local.INFO: GPS data processed {"connection_id":175068,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:40:46] local.INFO: Acknowledgment sent {"connection_id":175068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:41:16] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:41:16] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834538f8012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:41:16] local.INFO: Packet analysis {"connection_id":175068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:41:16] local.INFO: Extracted packet for processing {"connection_id":175068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08345"} 
[2026-09-09 04:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960562176001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788908747000,"timestamp_ms":1788908747000,"timestamp_seconds":1788908747,"priority":1,"record_length":96,"hex_timestamp":"000001a0834538f8"} 
[2026-09-09 04:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 04:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960562176001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960562176001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960562176001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":175068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:41:16] local.INFO: GPS data processed {"connection_id":175068,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:41:16] local.INFO: Acknowledgment sent {"connection_id":175068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:41:39] local.INFO: TCP Data received {"connection_id":176440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:41:39] local.INFO: Processing buffer {"connection_id":176440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:41:39] local.INFO: IMEI packet received {"connection_id":176440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":176440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:41:44] local.INFO: TCP Data received {"connection_id":176440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:41:44] local.INFO: Processing buffer {"connection_id":176440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:41:44] local.INFO: IMEI packet received {"connection_id":176440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":176440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:41:45] local.INFO: TCP Data received {"connection_id":176440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:41:45] local.INFO: Processing buffer {"connection_id":176440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:41:45] local.INFO: Packet analysis {"connection_id":176440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:41:45] local.INFO: Extracted packet for processing {"connection_id":176440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:41:45] 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-09-09 04:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:41:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":176440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:41:45] local.INFO: GPS data processed {"connection_id":176440,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:41:45] local.INFO: Acknowledgment sent {"connection_id":176440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:42:02] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:42:02] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:42:02] local.INFO: IMEI packet received {"connection_id":175327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":175327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:42:17] local.INFO: TCP Data received {"connection_id":176440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:42:17] local.INFO: Processing buffer {"connection_id":176440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:42:17] local.INFO: Packet analysis {"connection_id":176440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:42:17] local.INFO: Extracted packet for processing {"connection_id":176440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:42:17] 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-09-09 04:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":176440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:42:17] local.INFO: GPS data processed {"connection_id":176440,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:42:17] local.INFO: Acknowledgment sent {"connection_id":176440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:42:45] local.INFO: TCP Data received {"connection_id":175070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:42:45] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:42:45] local.INFO: IMEI packet received {"connection_id":175070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:42:47] local.INFO: TCP Data received {"connection_id":177888,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:42:47] local.INFO: Processing buffer {"connection_id":177888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:42:47] local.INFO: IMEI packet received {"connection_id":177888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":177888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:42:49] local.INFO: TCP Data received {"connection_id":175070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:42:49] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:42:49] local.INFO: IMEI packet received {"connection_id":175070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":175070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:42:51] local.INFO: TCP Data received {"connection_id":175070,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:42:51] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:42:51] local.INFO: Packet analysis {"connection_id":175070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:42:51] local.INFO: Extracted packet for processing {"connection_id":175070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:42:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":175070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:42:51] local.INFO: GPS data processed {"connection_id":175070,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:42:51] local.INFO: Acknowledgment sent {"connection_id":175070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:43:22] local.INFO: TCP Data received {"connection_id":175070,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:43:22] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:43:22] local.INFO: Packet analysis {"connection_id":175070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:43:22] local.INFO: Extracted packet for processing {"connection_id":175070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:43:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":175070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:43:22] local.INFO: GPS data processed {"connection_id":175070,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:43:22] local.INFO: Acknowledgment sent {"connection_id":175070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:43:40] local.INFO: TCP Data received {"connection_id":177889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:43:40] local.INFO: Processing buffer {"connection_id":177889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:43:40] local.INFO: IMEI packet received {"connection_id":177889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":177889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:43:44] local.INFO: TCP Data received {"connection_id":177889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:43:44] local.INFO: Processing buffer {"connection_id":177889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:43:44] local.INFO: IMEI packet received {"connection_id":177889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":177889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:43:46] local.INFO: TCP Data received {"connection_id":177889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:43:46] local.INFO: Processing buffer {"connection_id":177889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:43:46] local.INFO: Packet analysis {"connection_id":177889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:43:46] local.INFO: Extracted packet for processing {"connection_id":177889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:43:46] 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-09-09 04:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":177889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:43:46] local.INFO: GPS data processed {"connection_id":177889,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:43:46] local.INFO: Acknowledgment sent {"connection_id":177889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:44:17] local.INFO: TCP Data received {"connection_id":177889,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:44:17] local.INFO: Processing buffer {"connection_id":177889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:44:17] local.INFO: Packet analysis {"connection_id":177889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:44:17] local.INFO: Extracted packet for processing {"connection_id":177889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:44:17] 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-09-09 04: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-09-09 04:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":177889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:44:17] local.INFO: GPS data processed {"connection_id":177889,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:44:17] local.INFO: Acknowledgment sent {"connection_id":177889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:44:39] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:44:39] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:44:39] local.INFO: IMEI packet received {"connection_id":175071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":175071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:44:44] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:44:44] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:44:44] local.INFO: IMEI packet received {"connection_id":175071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":175071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:44:45] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:44:45] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:44:45] local.INFO: Packet analysis {"connection_id":175071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:44:45] local.INFO: Extracted packet for processing {"connection_id":175071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:44:45] 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-09-09 04:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":175071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:44:45] local.INFO: GPS data processed {"connection_id":175071,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:44:45] local.INFO: Acknowledgment sent {"connection_id":175071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:45:17] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:45:17] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:45:17] local.INFO: Packet analysis {"connection_id":175071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:45:17] local.INFO: Extracted packet for processing {"connection_id":175071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:45:17] 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-09-09 04: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-09-09 04:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:45:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":175071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:45:17] local.INFO: GPS data processed {"connection_id":175071,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:45:17] local.INFO: Acknowledgment sent {"connection_id":175071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:45:39] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:45:39] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:45:39] local.INFO: IMEI packet received {"connection_id":176442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":176442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:45:44] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:45:44] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:45:44] local.INFO: IMEI packet received {"connection_id":176442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":176442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:45:45] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:45:45] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:45:45] local.INFO: Packet analysis {"connection_id":176442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:45:45] local.INFO: Extracted packet for processing {"connection_id":176442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:45:45] 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-09-09 04:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":176442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:45:45] local.INFO: GPS data processed {"connection_id":176442,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:45:45] local.INFO: Acknowledgment sent {"connection_id":176442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:46:17] local.INFO: TCP Data received {"connection_id":176442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:46:17] local.INFO: Processing buffer {"connection_id":176442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08349d0c0012d34c38006aa42c80005005d2e..."} 
[2026-09-09 04:46:17] local.INFO: Packet analysis {"connection_id":176442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:46:17] local.INFO: Extracted packet for processing {"connection_id":176442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08349"} 
[2026-09-09 04:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960639232001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909048000,"timestamp_ms":1788909048000,"timestamp_seconds":1788909048,"priority":1,"record_length":96,"hex_timestamp":"000001a08349d0c0"} 
[2026-09-09 04:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:46:17] 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-09-09 04:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960639232001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960639232001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960639232001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":176442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:46:17] local.INFO: GPS data processed {"connection_id":176442,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:46:17] local.INFO: Acknowledgment sent {"connection_id":176442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:46:39] local.INFO: TCP Data received {"connection_id":177890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:46:39] local.INFO: Processing buffer {"connection_id":177890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:46:39] local.INFO: IMEI packet received {"connection_id":177890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":177890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:46:44] local.INFO: TCP Data received {"connection_id":177890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:46:44] local.INFO: Processing buffer {"connection_id":177890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:46:44] local.INFO: IMEI packet received {"connection_id":177890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":177890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:46:45] local.INFO: TCP Data received {"connection_id":177890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:46:45] local.INFO: Processing buffer {"connection_id":177890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:46:45] local.INFO: Packet analysis {"connection_id":177890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:46:45] local.INFO: Extracted packet for processing {"connection_id":177890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":177890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:46:45] local.INFO: GPS data processed {"connection_id":177890,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:46:45] local.INFO: Acknowledgment sent {"connection_id":177890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:47:16] local.INFO: TCP Data received {"connection_id":177890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:47:16] local.INFO: Processing buffer {"connection_id":177890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:47:16] local.INFO: Packet analysis {"connection_id":177890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:47:16] local.INFO: Extracted packet for processing {"connection_id":177890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":177890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:47:16] local.INFO: GPS data processed {"connection_id":177890,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:47:16] local.INFO: Acknowledgment sent {"connection_id":177890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:47:40] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:47:40] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:47:40] local.INFO: IMEI packet received {"connection_id":176444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":176444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:47:44] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:47:44] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:47:44] local.INFO: IMEI packet received {"connection_id":176444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":176444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:47:46] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:47:46] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:47:46] local.INFO: Packet analysis {"connection_id":176444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:47:46] local.INFO: Extracted packet for processing {"connection_id":176444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":176444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:47:46] local.INFO: GPS data processed {"connection_id":176444,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:47:46] local.INFO: Acknowledgment sent {"connection_id":176444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:48:07] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:48:07] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:48:07] local.INFO: IMEI packet received {"connection_id":175330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":175330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:48:17] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:48:17] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:48:17] local.INFO: Packet analysis {"connection_id":176444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:48:17] local.INFO: Extracted packet for processing {"connection_id":176444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":176444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:48:17] local.INFO: GPS data processed {"connection_id":176444,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:48:17] local.INFO: Acknowledgment sent {"connection_id":176444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:48:39] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:48:39] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:48:39] local.INFO: IMEI packet received {"connection_id":175072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":175072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:48:44] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:48:44] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:48:44] local.INFO: IMEI packet received {"connection_id":175072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":175072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:48:45] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:48:45] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:48:45] local.INFO: Packet analysis {"connection_id":175072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:48:45] local.INFO: Extracted packet for processing {"connection_id":175072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:48:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":175072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:48:45] local.INFO: GPS data processed {"connection_id":175072,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:48:45] local.INFO: Acknowledgment sent {"connection_id":175072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:49:18] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:49:18] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:49:18] local.INFO: Packet analysis {"connection_id":175072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:49:18] local.INFO: Extracted packet for processing {"connection_id":175072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":175072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:49:18] local.INFO: GPS data processed {"connection_id":175072,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:49:18] local.INFO: Acknowledgment sent {"connection_id":175072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:49:39] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:49:39] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:49:39] local.INFO: IMEI packet received {"connection_id":175073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":175073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:49:44] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:49:44] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:49:44] local.INFO: IMEI packet received {"connection_id":175073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":175073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:49:45] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:49:45] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:49:45] local.INFO: Packet analysis {"connection_id":175073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:49:45] local.INFO: Extracted packet for processing {"connection_id":175073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:49:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":175073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:49:45] local.INFO: GPS data processed {"connection_id":175073,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:49:45] local.INFO: Acknowledgment sent {"connection_id":175073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:50:17] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:50:17] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:50:17] local.INFO: Packet analysis {"connection_id":175073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:50:17] local.INFO: Extracted packet for processing {"connection_id":175073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":175073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:50:17] local.INFO: GPS data processed {"connection_id":175073,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:50:17] local.INFO: Acknowledgment sent {"connection_id":175073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:50:44] local.INFO: TCP Data received {"connection_id":176446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:50:44] local.INFO: Processing buffer {"connection_id":176446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:50:44] local.INFO: IMEI packet received {"connection_id":176446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":176446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:50:49] local.INFO: TCP Data received {"connection_id":176446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:50:49] local.INFO: Processing buffer {"connection_id":176446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:50:49] local.INFO: IMEI packet received {"connection_id":176446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":176446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:50:50] local.INFO: TCP Data received {"connection_id":176446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:50:50] local.INFO: Processing buffer {"connection_id":176446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:50:50] local.INFO: Packet analysis {"connection_id":176446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:50:50] local.INFO: Extracted packet for processing {"connection_id":176446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:50:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:50:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":176446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:50:50] local.INFO: GPS data processed {"connection_id":176446,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:50:50] local.INFO: Acknowledgment sent {"connection_id":176446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:50:55] local.INFO: TCP Data received {"connection_id":176446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:50:55] local.INFO: Processing buffer {"connection_id":176446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0834e6888012d34c38006aa42c80005005d2b..."} 
[2026-09-09 04:50:55] local.INFO: Packet analysis {"connection_id":176446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:50:55] local.INFO: Extracted packet for processing {"connection_id":176446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0834e"} 
[2026-09-09 04:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960716288001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788909349000,"timestamp_ms":1788909349000,"timestamp_seconds":1788909349,"priority":1,"record_length":96,"hex_timestamp":"000001a0834e6888"} 
[2026-09-09 04:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 04:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960716288001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960716288001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:50:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:50:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960716288001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":176446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:50:55] local.INFO: GPS data processed {"connection_id":176446,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:50:55] local.INFO: Acknowledgment sent {"connection_id":176446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:51:35] local.INFO: TCP Data received {"connection_id":177891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:51:35] local.INFO: Processing buffer {"connection_id":177891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:51:35] local.INFO: IMEI packet received {"connection_id":177891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":177891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:51:40] local.INFO: TCP Data received {"connection_id":177891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:51:40] local.INFO: Processing buffer {"connection_id":177891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:51:40] local.INFO: IMEI packet received {"connection_id":177891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":177891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:51:41] local.INFO: TCP Data received {"connection_id":177891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:51:41] local.INFO: Processing buffer {"connection_id":177891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:51:41] local.INFO: Packet analysis {"connection_id":177891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:51:41] local.INFO: Extracted packet for processing {"connection_id":177891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:51:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":177891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:51:41] local.INFO: GPS data processed {"connection_id":177891,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:51:41] local.INFO: Acknowledgment sent {"connection_id":177891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:52:12] local.INFO: TCP Data received {"connection_id":177891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:52:12] local.INFO: Processing buffer {"connection_id":177891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:52:12] local.INFO: Packet analysis {"connection_id":177891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:52:12] local.INFO: Extracted packet for processing {"connection_id":177891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:52:12] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:52:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:52:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":177891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:52:12] local.INFO: GPS data processed {"connection_id":177891,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:52:12] local.INFO: Acknowledgment sent {"connection_id":177891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:52:39] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:52:39] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:52:39] local.INFO: IMEI packet received {"connection_id":175075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":175075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:52:45] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:52:45] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:52:45] local.INFO: IMEI packet received {"connection_id":175075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":175075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:52:46] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:52:46] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:52:46] local.INFO: Packet analysis {"connection_id":175075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:52:46] local.INFO: Extracted packet for processing {"connection_id":175075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:52:46] 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-09-09 04:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:52: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-09-09 04:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":175075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:52:46] local.INFO: GPS data processed {"connection_id":175075,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:52:46] local.INFO: Acknowledgment sent {"connection_id":175075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:53:17] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:53:17] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:53:17] local.INFO: Packet analysis {"connection_id":175075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:53:17] local.INFO: Extracted packet for processing {"connection_id":175075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:53:17] 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-09-09 04:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":175075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:53:17] local.INFO: GPS data processed {"connection_id":175075,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:53:17] local.INFO: Acknowledgment sent {"connection_id":175075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:53:39] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:53:39] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:53:39] local.INFO: IMEI packet received {"connection_id":175076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":175076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:53:41] local.INFO: TCP Data received {"connection_id":176448,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:53:41] local.INFO: Processing buffer {"connection_id":176448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:53:41] local.INFO: IMEI packet received {"connection_id":176448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":176448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:53:45] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:53:45] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:53:45] local.INFO: IMEI packet received {"connection_id":175076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":175076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:53:46] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:53:46] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:53:46] local.INFO: Packet analysis {"connection_id":175076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:53:46] local.INFO: Extracted packet for processing {"connection_id":175076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:53:46] 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-09-09 04:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:53: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-09-09 04:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":175076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:53:46] local.INFO: GPS data processed {"connection_id":175076,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:53:46] local.INFO: Acknowledgment sent {"connection_id":175076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:54:17] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:54:17] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:54:17] local.INFO: Packet analysis {"connection_id":175076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:54:17] local.INFO: Extracted packet for processing {"connection_id":175076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:54:17] 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-09-09 04:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":175076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:54:17] local.INFO: GPS data processed {"connection_id":175076,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:54:17] local.INFO: Acknowledgment sent {"connection_id":175076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:54:39] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:54:39] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:54:39] local.INFO: IMEI packet received {"connection_id":175332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":175332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:54:45] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:54:45] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:54:45] local.INFO: IMEI packet received {"connection_id":175332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":175332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:54:46] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:54:46] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:54:46] local.INFO: Packet analysis {"connection_id":175332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:54:46] local.INFO: Extracted packet for processing {"connection_id":175332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:54:46] 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-09-09 04:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:54: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-09-09 04:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":175332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:54:46] local.INFO: GPS data processed {"connection_id":175332,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:54:46] local.INFO: Acknowledgment sent {"connection_id":175332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:55:17] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:55:17] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:55:17] local.INFO: Packet analysis {"connection_id":175332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:55:17] local.INFO: Extracted packet for processing {"connection_id":175332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:55:17] 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-09-09 04:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":175332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:55:17] local.INFO: GPS data processed {"connection_id":175332,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:55:17] local.INFO: Acknowledgment sent {"connection_id":175332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:55:45] local.INFO: TCP Data received {"connection_id":176449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:55:45] local.INFO: Processing buffer {"connection_id":176449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:55:45] local.INFO: IMEI packet received {"connection_id":176449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":176449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:55:50] local.INFO: TCP Data received {"connection_id":176449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:55:50] local.INFO: Processing buffer {"connection_id":176449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:55:50] local.INFO: IMEI packet received {"connection_id":176449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":176449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:55:51] local.INFO: TCP Data received {"connection_id":176449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:55:51] local.INFO: Processing buffer {"connection_id":176449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:55:51] local.INFO: Packet analysis {"connection_id":176449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:55:51] local.INFO: Extracted packet for processing {"connection_id":176449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":176449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:55:51] local.INFO: GPS data processed {"connection_id":176449,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:55:51] local.INFO: Acknowledgment sent {"connection_id":176449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:56:22] local.INFO: TCP Data received {"connection_id":176449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:56:22] local.INFO: Processing buffer {"connection_id":176449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083530050012d34c38006aa42c80005005d2d..."} 
[2026-09-09 04:56:22] local.INFO: Packet analysis {"connection_id":176449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:56:22] local.INFO: Extracted packet for processing {"connection_id":176449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08353"} 
[2026-09-09 04:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960793344001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788909650000,"timestamp_ms":1788909650000,"timestamp_seconds":1788909650,"priority":1,"record_length":96,"hex_timestamp":"000001a083530050"} 
[2026-09-09 04:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04: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-09-09 04:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960793344001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960793344001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:56:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960793344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":176449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:56:22] local.INFO: GPS data processed {"connection_id":176449,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:56:22] local.INFO: Acknowledgment sent {"connection_id":176449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:56:40] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:56:40] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:56:40] local.INFO: IMEI packet received {"connection_id":175077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":175077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:56:45] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:56:45] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:56:45] local.INFO: IMEI packet received {"connection_id":175077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":175077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:56:45] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:56:45] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:56:45] local.INFO: Packet analysis {"connection_id":175077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:56:45] local.INFO: Extracted packet for processing {"connection_id":175077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04: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-09-09 04:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 04:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04: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-09-09 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:56:45] 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-09-09 04:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:56:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":175077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:56:45] local.INFO: GPS data processed {"connection_id":175077,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:56:45] local.INFO: Acknowledgment sent {"connection_id":175077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:57:17] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:57:17] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:57:17] local.INFO: Packet analysis {"connection_id":175077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:57:17] local.INFO: Extracted packet for processing {"connection_id":175077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 04:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:57:17] 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-09-09 04:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":175077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:57:17] local.INFO: GPS data processed {"connection_id":175077,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:57:17] local.INFO: Acknowledgment sent {"connection_id":175077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:57:39] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:57:39] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:57:39] local.INFO: IMEI packet received {"connection_id":176451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":176451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:57:45] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:57:45] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:57:45] local.INFO: IMEI packet received {"connection_id":176451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":176451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:57:46] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:57:46] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:57:46] local.INFO: Packet analysis {"connection_id":176451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:57:46] local.INFO: Extracted packet for processing {"connection_id":176451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 04:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:57:46] 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-09-09 04:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":176451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:57:46] local.INFO: GPS data processed {"connection_id":176451,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:57:46] local.INFO: Acknowledgment sent {"connection_id":176451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:58:17] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:58:17] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:58:17] local.INFO: Packet analysis {"connection_id":176451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:58:17] local.INFO: Extracted packet for processing {"connection_id":176451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 04:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:58:17] 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-09-09 04:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":176451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:58:17] local.INFO: GPS data processed {"connection_id":176451,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:58:17] local.INFO: Acknowledgment sent {"connection_id":176451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:58:39] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:58:39] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:58:39] local.INFO: IMEI packet received {"connection_id":177894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":177894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:58:45] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:58:45] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:58:45] local.INFO: IMEI packet received {"connection_id":177894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":177894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:58:46] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:58:46] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:58:46] local.INFO: Packet analysis {"connection_id":177894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:58:46] local.INFO: Extracted packet for processing {"connection_id":177894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 04:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:58:46] 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-09-09 04:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":177894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:58:46] local.INFO: GPS data processed {"connection_id":177894,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:58:46] local.INFO: Acknowledgment sent {"connection_id":177894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:59:03] local.INFO: TCP Data received {"connection_id":175333,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:59:03] local.INFO: Processing buffer {"connection_id":175333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 04:59:03] local.INFO: IMEI packet received {"connection_id":175333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 04:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":175333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:59:17] local.INFO: TCP Data received {"connection_id":177894,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:59:17] local.INFO: Processing buffer {"connection_id":177894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:59:17] local.INFO: Packet analysis {"connection_id":177894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:59:17] local.INFO: Extracted packet for processing {"connection_id":177894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 04:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:59:17] 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-09-09 04:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":177894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:59:17] local.INFO: GPS data processed {"connection_id":177894,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:59:17] local.INFO: Acknowledgment sent {"connection_id":177894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 04:59:45] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:59:45] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:59:45] local.INFO: IMEI packet received {"connection_id":175079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 04:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":175079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 04:59:50] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:59:50] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 04:59:50] local.INFO: IMEI packet received {"connection_id":175079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 04:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":175079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 04:59:51] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:59:51] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 04:59:51] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:59:51] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 04:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 04:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 04:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 04:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 04:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 04:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 04:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 04:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 04:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 04:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 04:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 04:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 04:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 04:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 04:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 04:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 04:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 04:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 04:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 04:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 04:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 04:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 04:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 04:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 04:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 04:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 04:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 04:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 04:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 04:59:51] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-09 04:59:51] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:00:22] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:00:22] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:00:22] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 05:00:22] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 05:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 05:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:00:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:00:22] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:00:22] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:00:40] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:00:40] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:00:40] local.INFO: IMEI packet received {"connection_id":176453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":176453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:00:45] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:00:45] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:00:45] local.INFO: IMEI packet received {"connection_id":176453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":176453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:00:46] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:00:46] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:00:46] local.INFO: Packet analysis {"connection_id":176453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 05:00:46] local.INFO: Extracted packet for processing {"connection_id":176453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 05:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 05:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:00:46] 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-09-09 05:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":176453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:00:46] local.INFO: GPS data processed {"connection_id":176453,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:00:46] local.INFO: Acknowledgment sent {"connection_id":176453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:01:17] local.INFO: TCP Data received {"connection_id":176453,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:01:17] local.INFO: Processing buffer {"connection_id":176453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083579818012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:01:17] local.INFO: Packet analysis {"connection_id":176453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 05:01:17] local.INFO: Extracted packet for processing {"connection_id":176453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08357"} 
[2026-09-09 05:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960870400001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788909951000,"timestamp_ms":1788909951000,"timestamp_seconds":1788909951,"priority":1,"record_length":96,"hex_timestamp":"000001a083579818"} 
[2026-09-09 05:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:01:17] 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-09-09 05:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960870400001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960870400001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:01:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960870400001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":176453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:01:17] local.INFO: GPS data processed {"connection_id":176453,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:01:17] local.INFO: Acknowledgment sent {"connection_id":176453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:01:40] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:01:40] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:01:40] local.INFO: IMEI packet received {"connection_id":175335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":175335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:01:45] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:01:45] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:01:45] local.INFO: IMEI packet received {"connection_id":175335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":175335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:01:46] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:01:46] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:01:46] local.INFO: Packet analysis {"connection_id":175335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:01:46] local.INFO: Extracted packet for processing {"connection_id":175335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":175335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:01:46] local.INFO: GPS data processed {"connection_id":175335,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:01:46] local.INFO: Acknowledgment sent {"connection_id":175335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:02:17] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:02:17] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:02:17] local.INFO: Packet analysis {"connection_id":175335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:02:17] local.INFO: Extracted packet for processing {"connection_id":175335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:02:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":175335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:02:17] local.INFO: GPS data processed {"connection_id":175335,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:02:17] local.INFO: Acknowledgment sent {"connection_id":175335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:02:39] local.INFO: TCP Data received {"connection_id":177895,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:02:39] local.INFO: Processing buffer {"connection_id":177895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:02:39] local.INFO: IMEI packet received {"connection_id":177895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":177895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:02:45] local.INFO: TCP Data received {"connection_id":177895,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:02:45] local.INFO: Processing buffer {"connection_id":177895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:02:45] local.INFO: IMEI packet received {"connection_id":177895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":177895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:02:45] local.INFO: TCP Data received {"connection_id":177895,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:02:45] local.INFO: Processing buffer {"connection_id":177895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:02:45] local.INFO: Packet analysis {"connection_id":177895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:02:45] local.INFO: Extracted packet for processing {"connection_id":177895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":177895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:02:46] local.INFO: GPS data processed {"connection_id":177895,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:02:46] local.INFO: Acknowledgment sent {"connection_id":177895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:03:17] local.INFO: TCP Data received {"connection_id":177895,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:03:17] local.INFO: Processing buffer {"connection_id":177895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:03:17] local.INFO: Packet analysis {"connection_id":177895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:03:17] local.INFO: Extracted packet for processing {"connection_id":177895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":177895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:03:17] local.INFO: GPS data processed {"connection_id":177895,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:03:17] local.INFO: Acknowledgment sent {"connection_id":177895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:03:45] local.INFO: TCP Data received {"connection_id":177897,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:03:45] local.INFO: Processing buffer {"connection_id":177897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:03:45] local.INFO: IMEI packet received {"connection_id":177897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":177897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:03:50] local.INFO: TCP Data received {"connection_id":177897,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:03:50] local.INFO: Processing buffer {"connection_id":177897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:03:50] local.INFO: IMEI packet received {"connection_id":177897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":177897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:03:50] local.INFO: TCP Data received {"connection_id":177897,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:03:50] local.INFO: Processing buffer {"connection_id":177897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:03:50] local.INFO: Packet analysis {"connection_id":177897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:03:50] local.INFO: Extracted packet for processing {"connection_id":177897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:03:50] 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-09-09 05:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:03:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":177897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:03:51] local.INFO: GPS data processed {"connection_id":177897,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:03:51] local.INFO: Acknowledgment sent {"connection_id":177897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:03:55] local.INFO: TCP Data received {"connection_id":177897,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:03:55] local.INFO: Processing buffer {"connection_id":177897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:03:55] local.INFO: Packet analysis {"connection_id":177897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:03:55] local.INFO: Extracted packet for processing {"connection_id":177897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:03:55] 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-09-09 05:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:03:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:03:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":177897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:03:55] local.INFO: GPS data processed {"connection_id":177897,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:03:55] local.INFO: Acknowledgment sent {"connection_id":177897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:04:40] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:04:40] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:04:40] local.INFO: IMEI packet received {"connection_id":175082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":175082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:04:42] local.INFO: TCP Data received {"connection_id":175336,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:04:42] local.INFO: Processing buffer {"connection_id":175336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:04:42] local.INFO: IMEI packet received {"connection_id":175336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":175336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:04:45] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:04:45] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:04:45] local.INFO: IMEI packet received {"connection_id":175082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":175082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:04:46] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:04:46] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:04:46] local.INFO: Packet analysis {"connection_id":175082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:04:46] local.INFO: Extracted packet for processing {"connection_id":175082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":175082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:04:46] local.INFO: GPS data processed {"connection_id":175082,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:04:46] local.INFO: Acknowledgment sent {"connection_id":175082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:04:47] local.INFO: TCP Data received {"connection_id":175336,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:04:47] local.INFO: Processing buffer {"connection_id":175336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:04:47] local.INFO: IMEI packet received {"connection_id":175336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":175336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:04:48] local.INFO: TCP Data received {"connection_id":175336,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0835d06b8012c0edcc00add48000278008b2f..."} 
[2026-09-09 05:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835d06b8012c0edcc00add48000278008b2f..."} 
[2026-09-09 05:04:48] local.INFO: Processing buffer {"connection_id":175336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835d06b8012c0edcc00add48000278008b2f..."} 
[2026-09-09 05:04:48] local.INFO: Packet analysis {"connection_id":175336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835d"} 
[2026-09-09 05:04:48] local.INFO: Extracted packet for processing {"connection_id":175336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835d"} 
[2026-09-09 05:04:48] local.INFO: GPS Element Parsed {"raw_longitude":739171520,"raw_latitude":182274048,"longitude_deg":73.917152,"latitude_deg":18.2274048,"altitude":632,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2c0edcc0","hex_latitude":"0add4800","is_valid_coordinates":true} 
[2026-09-09 05:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961033216001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:04:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1055953421796044802,"note":"Value kept but may cause issues"} 
[2026-09-09 05:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,234,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788910307000,"timestamp_ms":1788910307000,"timestamp_seconds":1788910307,"priority":1,"record_length":96,"hex_timestamp":"000001a0835d06b8"} 
[2026-09-09 05:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 05:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961033216001,"66":27463,"56":206,"234":57856,"24":0,"16":3892954062127104,"44":1055953421796044802},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,234,24,16,44]} 
[2026-09-09 05:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961033216001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:04:48] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-09 05:04:48] local.INFO: Unknown IO ID detected {"io_id":234,"value":57856,"description":"Unknown IO ID 234"} 
[2026-09-09 05:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:04:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":1055953421796044802,"description":"Unknown IO ID 44"} 
[2026-09-09 05:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961033216001,"power":27463,"unknown_56":206,"unknown_234":57856,"ignition":0,"odometer":null,"unknown_44":1055953421796044802}} 
[2026-09-09 05:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":175336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:04:48] local.INFO: GPS data processed {"connection_id":175336,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:04:48] local.INFO: Acknowledgment sent {"connection_id":175336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:05:17] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:05:17] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:05:17] local.INFO: Packet analysis {"connection_id":175082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:05:17] local.INFO: Extracted packet for processing {"connection_id":175082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":175082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:05:17] local.INFO: GPS data processed {"connection_id":175082,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:05:17] local.INFO: Acknowledgment sent {"connection_id":175082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:05:38] local.INFO: TCP Data received {"connection_id":177898,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:05:38] local.INFO: Processing buffer {"connection_id":177898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:05:38] local.INFO: IMEI packet received {"connection_id":177898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":177898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:05:40] local.INFO: TCP Data received {"connection_id":177899,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:05:40] local.INFO: Processing buffer {"connection_id":177899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:05:40] local.INFO: IMEI packet received {"connection_id":177899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":177899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:05:45] local.INFO: TCP Data received {"connection_id":177899,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:05:45] local.INFO: Processing buffer {"connection_id":177899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:05:45] local.INFO: IMEI packet received {"connection_id":177899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":177899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:05:46] local.INFO: TCP Data received {"connection_id":177899,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:05:46] local.INFO: Processing buffer {"connection_id":177899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:05:46] local.INFO: Packet analysis {"connection_id":177899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:05:46] local.INFO: Extracted packet for processing {"connection_id":177899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":177899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:05:46] local.INFO: GPS data processed {"connection_id":177899,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:05:46] local.INFO: Acknowledgment sent {"connection_id":177899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:06:17] local.INFO: TCP Data received {"connection_id":177899,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:06:17] local.INFO: Processing buffer {"connection_id":177899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0835c2fe0012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:06:17] local.INFO: Packet analysis {"connection_id":177899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:06:17] local.INFO: Extracted packet for processing {"connection_id":177899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0835c"} 
[2026-09-09 05:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457960947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910252000,"timestamp_ms":1788910252000,"timestamp_seconds":1788910252,"priority":1,"record_length":96,"hex_timestamp":"000001a0835c2fe0"} 
[2026-09-09 05:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457960947456001,"66":25528,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457960947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457960947456001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":177899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:06:18] local.INFO: GPS data processed {"connection_id":177899,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:06:18] local.INFO: Acknowledgment sent {"connection_id":177899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:06:40] local.INFO: TCP Data received {"connection_id":176455,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:06:40] local.INFO: Processing buffer {"connection_id":176455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:06:40] local.INFO: IMEI packet received {"connection_id":176455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":176455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:06:45] local.INFO: TCP Data received {"connection_id":176455,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:06:45] local.INFO: Processing buffer {"connection_id":176455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:06:45] local.INFO: IMEI packet received {"connection_id":176455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":176455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:06:46] local.INFO: TCP Data received {"connection_id":176455,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:06:46] local.INFO: Processing buffer {"connection_id":176455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:06:46] local.INFO: Packet analysis {"connection_id":176455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:06:46] local.INFO: Extracted packet for processing {"connection_id":176455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":176455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:06:46] local.INFO: GPS data processed {"connection_id":176455,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:06:46] local.INFO: Acknowledgment sent {"connection_id":176455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:07:17] local.INFO: TCP Data received {"connection_id":176455,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:07:17] local.INFO: Processing buffer {"connection_id":176455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:07:17] local.INFO: Packet analysis {"connection_id":176455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:07:17] local.INFO: Extracted packet for processing {"connection_id":176455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:07:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":176455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:07:17] local.INFO: GPS data processed {"connection_id":176455,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:07:17] local.INFO: Acknowledgment sent {"connection_id":176455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:07:39] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:07:39] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:07:39] local.INFO: IMEI packet received {"connection_id":175083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":175083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:07:45] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:07:45] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:07:45] local.INFO: IMEI packet received {"connection_id":175083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":175083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:07:46] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:07:46] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:07:46] local.INFO: Packet analysis {"connection_id":175083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:07:46] local.INFO: Extracted packet for processing {"connection_id":175083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":175083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:07:46] local.INFO: GPS data processed {"connection_id":175083,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:07:46] local.INFO: Acknowledgment sent {"connection_id":175083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:08:17] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:08:17] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:08:17] local.INFO: Packet analysis {"connection_id":175083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:08:17] local.INFO: Extracted packet for processing {"connection_id":175083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":175083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:08:17] local.INFO: GPS data processed {"connection_id":175083,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:08:17] local.INFO: Acknowledgment sent {"connection_id":175083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:08:45] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:08:45] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:08:45] local.INFO: IMEI packet received {"connection_id":175338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":175338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:08:50] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:08:50] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:08:50] local.INFO: IMEI packet received {"connection_id":175338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":175338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:08:51] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:08:51] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:08:51] local.INFO: Packet analysis {"connection_id":175338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:08:51] local.INFO: Extracted packet for processing {"connection_id":175338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":175338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:08:51] local.INFO: GPS data processed {"connection_id":175338,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:08:51] local.INFO: Acknowledgment sent {"connection_id":175338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:08:55] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:08:55] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:08:55] local.INFO: Packet analysis {"connection_id":175338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:08:55] local.INFO: Extracted packet for processing {"connection_id":175338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:08:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":175338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:08:55] local.INFO: GPS data processed {"connection_id":175338,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:08:55] local.INFO: Acknowledgment sent {"connection_id":175338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:09:40] local.INFO: TCP Data received {"connection_id":177901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:09:40] local.INFO: Processing buffer {"connection_id":177901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:09:40] local.INFO: IMEI packet received {"connection_id":177901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":177901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:09:45] local.INFO: TCP Data received {"connection_id":177901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:09:45] local.INFO: Processing buffer {"connection_id":177901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:09:45] local.INFO: IMEI packet received {"connection_id":177901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":177901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:09:46] local.INFO: TCP Data received {"connection_id":177901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:09:46] local.INFO: Processing buffer {"connection_id":177901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:09:46] local.INFO: Packet analysis {"connection_id":177901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:09:46] local.INFO: Extracted packet for processing {"connection_id":177901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:09: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-09-09 05:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":177901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:09:46] local.INFO: GPS data processed {"connection_id":177901,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:09:46] local.INFO: Acknowledgment sent {"connection_id":177901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:09:50] local.INFO: TCP Data received {"connection_id":177901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:09:50] local.INFO: Processing buffer {"connection_id":177901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:09:50] local.INFO: Packet analysis {"connection_id":177901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:09:50] local.INFO: Extracted packet for processing {"connection_id":177901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:09:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:09:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":177901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:09:50] local.INFO: GPS data processed {"connection_id":177901,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:09:50] local.INFO: Acknowledgment sent {"connection_id":177901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:10:22] local.INFO: TCP Data received {"connection_id":177901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:10:22] local.INFO: Processing buffer {"connection_id":177901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:10:22] local.INFO: Packet analysis {"connection_id":177901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:10:22] local.INFO: Extracted packet for processing {"connection_id":177901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:10:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:10:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:10:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":177901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:10:22] local.INFO: GPS data processed {"connection_id":177901,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:10:22] local.INFO: Acknowledgment sent {"connection_id":177901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:10:41] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:10:41] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:10:41] local.INFO: IMEI packet received {"connection_id":175086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":175086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:10:45] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:10:45] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:10:45] local.INFO: IMEI packet received {"connection_id":175086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":175086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:10:46] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:10:46] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:10:46] local.INFO: Packet analysis {"connection_id":175086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:10:46] local.INFO: Extracted packet for processing {"connection_id":175086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":175086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:10:46] local.INFO: GPS data processed {"connection_id":175086,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:10:46] local.INFO: Acknowledgment sent {"connection_id":175086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:11:07] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:11:07] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:11:07] local.INFO: IMEI packet received {"connection_id":176456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":176456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:11:17] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:11:17] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08360c7a8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:11:17] local.INFO: Packet analysis {"connection_id":175086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:11:17] local.INFO: Extracted packet for processing {"connection_id":175086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08360"} 
[2026-09-09 05:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961024512001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910553000,"timestamp_ms":1788910553000,"timestamp_seconds":1788910553,"priority":1,"record_length":96,"hex_timestamp":"000001a08360c7a8"} 
[2026-09-09 05:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 05:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961024512001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961024512001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961024512001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":175086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:11:17] local.INFO: GPS data processed {"connection_id":175086,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:11:17] local.INFO: Acknowledgment sent {"connection_id":175086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:11:40] local.INFO: TCP Data received {"connection_id":177902,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:11:40] local.INFO: Processing buffer {"connection_id":177902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:11:40] local.INFO: IMEI packet received {"connection_id":177902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":177902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:11:42] local.INFO: TCP Data received {"connection_id":175339,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:11:42] local.INFO: Processing buffer {"connection_id":175339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:11:42] local.INFO: IMEI packet received {"connection_id":175339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":175339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:11:45] local.INFO: TCP Data received {"connection_id":177902,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:11:45] local.INFO: Processing buffer {"connection_id":177902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:11:45] local.INFO: IMEI packet received {"connection_id":177902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":177902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:11:46] local.INFO: TCP Data received {"connection_id":177902,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:11:46] local.INFO: Processing buffer {"connection_id":177902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:11:46] local.INFO: Packet analysis {"connection_id":177902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:11:46] local.INFO: Extracted packet for processing {"connection_id":177902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:11:46] 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-09-09 05:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":177902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:11:46] local.INFO: GPS data processed {"connection_id":177902,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:11:46] local.INFO: Acknowledgment sent {"connection_id":177902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:12:17] local.INFO: TCP Data received {"connection_id":177902,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:12:17] local.INFO: Processing buffer {"connection_id":177902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:12:17] local.INFO: Packet analysis {"connection_id":177902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:12:17] local.INFO: Extracted packet for processing {"connection_id":177902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:12:17] 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-09-09 05: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-09-09 05:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":177902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:12:17] local.INFO: GPS data processed {"connection_id":177902,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:12:17] local.INFO: Acknowledgment sent {"connection_id":177902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:12:40] local.INFO: TCP Data received {"connection_id":176457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:12:40] local.INFO: Processing buffer {"connection_id":176457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:12:40] local.INFO: IMEI packet received {"connection_id":176457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":176457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:12:45] local.INFO: TCP Data received {"connection_id":176457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:12:45] local.INFO: Processing buffer {"connection_id":176457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:12:45] local.INFO: IMEI packet received {"connection_id":176457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":176457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:12:47] local.INFO: TCP Data received {"connection_id":176457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:12:47] local.INFO: Processing buffer {"connection_id":176457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:12:47] local.INFO: Packet analysis {"connection_id":176457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:12:47] local.INFO: Extracted packet for processing {"connection_id":176457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":176457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:12:47] local.INFO: GPS data processed {"connection_id":176457,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:12:47] local.INFO: Acknowledgment sent {"connection_id":176457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:13:19] local.INFO: TCP Data received {"connection_id":176457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:13:19] local.INFO: Processing buffer {"connection_id":176457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:13:19] local.INFO: Packet analysis {"connection_id":176457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:13:19] local.INFO: Extracted packet for processing {"connection_id":176457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:13: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-09-09 05:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":176457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:13:19] local.INFO: GPS data processed {"connection_id":176457,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:13:19] local.INFO: Acknowledgment sent {"connection_id":176457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:13:45] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:13:45] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:13:45] local.INFO: IMEI packet received {"connection_id":176458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":176458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:13:50] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:13:50] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:13:50] local.INFO: IMEI packet received {"connection_id":176458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":176458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:13:51] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:13:51] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:13:51] local.INFO: Packet analysis {"connection_id":176458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:13:51] local.INFO: Extracted packet for processing {"connection_id":176458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":176458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:13:51] local.INFO: GPS data processed {"connection_id":176458,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:13:51] local.INFO: Acknowledgment sent {"connection_id":176458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:13:55] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:13:55] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:13:55] local.INFO: Packet analysis {"connection_id":176458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:13:55] local.INFO: Extracted packet for processing {"connection_id":176458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:13:55] 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-09-09 05:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:13:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":176458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:13:55] local.INFO: GPS data processed {"connection_id":176458,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:13:55] local.INFO: Acknowledgment sent {"connection_id":176458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:14:40] local.INFO: TCP Data received {"connection_id":177903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:14:40] local.INFO: Processing buffer {"connection_id":177903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:14:40] local.INFO: IMEI packet received {"connection_id":177903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":177903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:14:45] local.INFO: TCP Data received {"connection_id":177903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:14:45] local.INFO: Processing buffer {"connection_id":177903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:14:45] local.INFO: IMEI packet received {"connection_id":177903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":177903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:14:46] local.INFO: TCP Data received {"connection_id":177903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:14:46] local.INFO: Processing buffer {"connection_id":177903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:14:46] local.INFO: Packet analysis {"connection_id":177903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:14:46] local.INFO: Extracted packet for processing {"connection_id":177903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:14:46] 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-09-09 05:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":177903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:14:46] local.INFO: GPS data processed {"connection_id":177903,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:14:46] local.INFO: Acknowledgment sent {"connection_id":177903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:15:17] local.INFO: TCP Data received {"connection_id":177903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:15:17] local.INFO: Processing buffer {"connection_id":177903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:15:17] local.INFO: Packet analysis {"connection_id":177903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:15:17] local.INFO: Extracted packet for processing {"connection_id":177903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:15:17] 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-09-09 05:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:15:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":177903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:15:17] local.INFO: GPS data processed {"connection_id":177903,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:15:17] local.INFO: Acknowledgment sent {"connection_id":177903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:15:40] local.INFO: TCP Data received {"connection_id":177904,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:15:40] local.INFO: Processing buffer {"connection_id":177904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:15:40] local.INFO: IMEI packet received {"connection_id":177904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":177904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:15:45] local.INFO: TCP Data received {"connection_id":177904,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:15:45] local.INFO: Processing buffer {"connection_id":177904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:15:45] local.INFO: IMEI packet received {"connection_id":177904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":177904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:15:46] local.INFO: TCP Data received {"connection_id":177904,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:15:46] local.INFO: Processing buffer {"connection_id":177904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:15:46] local.INFO: Packet analysis {"connection_id":177904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:15:46] local.INFO: Extracted packet for processing {"connection_id":177904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:15:46] 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-09-09 05:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":177904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:15:46] local.INFO: GPS data processed {"connection_id":177904,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:15:46] local.INFO: Acknowledgment sent {"connection_id":177904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:16:17] local.INFO: TCP Data received {"connection_id":177904,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:16:17] local.INFO: Processing buffer {"connection_id":177904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083655f70012d34c38006aa42c80005005d29..."} 
[2026-09-09 05:16:17] local.INFO: Packet analysis {"connection_id":177904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:16:17] local.INFO: Extracted packet for processing {"connection_id":177904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08365"} 
[2026-09-09 05:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961101568001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788910854000,"timestamp_ms":1788910854000,"timestamp_seconds":1788910854,"priority":1,"record_length":96,"hex_timestamp":"000001a083655f70"} 
[2026-09-09 05:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:16:17] 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-09-09 05:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961101568001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961101568001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961101568001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":177904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:16:17] local.INFO: GPS data processed {"connection_id":177904,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:16:17] local.INFO: Acknowledgment sent {"connection_id":177904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:16:40] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:16:40] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:16:40] local.INFO: IMEI packet received {"connection_id":175087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":175087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:16:45] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:16:45] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:16:45] local.INFO: IMEI packet received {"connection_id":175087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":175087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:16:45] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:16:45] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:16:45] local.INFO: Packet analysis {"connection_id":175087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:16:45] local.INFO: Extracted packet for processing {"connection_id":175087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:16: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-09-09 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:16:45] 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-09-09 05: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-09-09 05:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":175087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:16:46] local.INFO: GPS data processed {"connection_id":175087,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:16:46] local.INFO: Acknowledgment sent {"connection_id":175087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:16:57] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:16:57] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:16:57] local.INFO: IMEI packet received {"connection_id":175341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":175341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:17:17] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:17:17] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:17:17] local.INFO: Packet analysis {"connection_id":175087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:17:17] local.INFO: Extracted packet for processing {"connection_id":175087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:17:17] 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-09-09 05:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":175087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:17:17] local.INFO: GPS data processed {"connection_id":175087,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:17:17] local.INFO: Acknowledgment sent {"connection_id":175087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:17:39] local.INFO: TCP Data received {"connection_id":177905,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:17:39] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:17:39] local.INFO: IMEI packet received {"connection_id":177905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":177905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:17:45] local.INFO: TCP Data received {"connection_id":177905,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:17:45] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:17:45] local.INFO: IMEI packet received {"connection_id":177905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":177905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:17:46] local.INFO: TCP Data received {"connection_id":177905,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:17:46] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:17:46] local.INFO: Packet analysis {"connection_id":177905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:17:46] local.INFO: Extracted packet for processing {"connection_id":177905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:17:46] 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-09-09 05:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":177905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:17:46] local.INFO: GPS data processed {"connection_id":177905,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:17:46] local.INFO: Acknowledgment sent {"connection_id":177905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:18:18] local.INFO: TCP Data received {"connection_id":177905,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:18:18] local.INFO: Processing buffer {"connection_id":177905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:18:18] local.INFO: Packet analysis {"connection_id":177905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:18:18] local.INFO: Extracted packet for processing {"connection_id":177905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:18: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-09-09 05:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:18:18] 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-09-09 05:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":177905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:18:18] local.INFO: GPS data processed {"connection_id":177905,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:18:18] local.INFO: Acknowledgment sent {"connection_id":177905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:18:45] local.INFO: TCP Data received {"connection_id":175342,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:18:45] local.INFO: Processing buffer {"connection_id":175342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:18:45] local.INFO: IMEI packet received {"connection_id":175342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":175342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:18:50] local.INFO: TCP Data received {"connection_id":175342,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:18:50] local.INFO: Processing buffer {"connection_id":175342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:18:50] local.INFO: IMEI packet received {"connection_id":175342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":175342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:18:51] local.INFO: TCP Data received {"connection_id":175342,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:18:51] local.INFO: Processing buffer {"connection_id":175342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:18:51] local.INFO: Packet analysis {"connection_id":175342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:18:51] local.INFO: Extracted packet for processing {"connection_id":175342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:18:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":175342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:18:51] local.INFO: GPS data processed {"connection_id":175342,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:18:51] local.INFO: Acknowledgment sent {"connection_id":175342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:18:55] local.INFO: TCP Data received {"connection_id":175342,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:18:55] local.INFO: Processing buffer {"connection_id":175342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:18:55] local.INFO: Packet analysis {"connection_id":175342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:18:55] local.INFO: Extracted packet for processing {"connection_id":175342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:18:55] 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-09-09 05:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:18:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:18:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":175342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:18:56] local.INFO: GPS data processed {"connection_id":175342,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:18:56] local.INFO: Acknowledgment sent {"connection_id":175342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:19:40] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:19:40] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:19:40] local.INFO: IMEI packet received {"connection_id":175088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":175088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:19:45] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:19:45] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:19:45] local.INFO: IMEI packet received {"connection_id":175088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":175088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:19:46] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:19:46] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:19:46] local.INFO: Packet analysis {"connection_id":175088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:19:46] local.INFO: Extracted packet for processing {"connection_id":175088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:19:46] 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-09-09 05:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":175088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:19:46] local.INFO: GPS data processed {"connection_id":175088,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:19:46] local.INFO: Acknowledgment sent {"connection_id":175088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:20:17] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:20:17] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:20:17] local.INFO: Packet analysis {"connection_id":175088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:20:17] local.INFO: Extracted packet for processing {"connection_id":175088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:20:17] 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-09-09 05:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":175088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:20:17] local.INFO: GPS data processed {"connection_id":175088,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:20:17] local.INFO: Acknowledgment sent {"connection_id":175088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:20:40] local.INFO: TCP Data received {"connection_id":176463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:20:40] local.INFO: Processing buffer {"connection_id":176463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:20:40] local.INFO: IMEI packet received {"connection_id":176463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":176463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:20:45] local.INFO: TCP Data received {"connection_id":176463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:20:45] local.INFO: Processing buffer {"connection_id":176463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:20:45] local.INFO: IMEI packet received {"connection_id":176463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":176463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:20:46] local.INFO: TCP Data received {"connection_id":176463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:20:46] local.INFO: Processing buffer {"connection_id":176463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:20:46] local.INFO: Packet analysis {"connection_id":176463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:20:46] local.INFO: Extracted packet for processing {"connection_id":176463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:20:46] 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-09-09 05:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:20:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":176463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:20:46] local.INFO: GPS data processed {"connection_id":176463,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:20:46] local.INFO: Acknowledgment sent {"connection_id":176463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:21:17] local.INFO: TCP Data received {"connection_id":176463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:21:17] local.INFO: Processing buffer {"connection_id":176463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08369f738012d34c38006aa42c80005005d2d..."} 
[2026-09-09 05:21:17] local.INFO: Packet analysis {"connection_id":176463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:21:17] local.INFO: Extracted packet for processing {"connection_id":176463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08369"} 
[2026-09-09 05:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961178624001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788911155000,"timestamp_ms":1788911155000,"timestamp_seconds":1788911155,"priority":1,"record_length":96,"hex_timestamp":"000001a08369f738"} 
[2026-09-09 05:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:21:17] 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-09-09 05:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961178624001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961178624001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961178624001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":176463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:21:17] local.INFO: GPS data processed {"connection_id":176463,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:21:17] local.INFO: Acknowledgment sent {"connection_id":176463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:21:40] local.INFO: TCP Data received {"connection_id":177907,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:21:40] local.INFO: Processing buffer {"connection_id":177907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:21:40] local.INFO: IMEI packet received {"connection_id":177907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":177907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:21:45] local.INFO: TCP Data received {"connection_id":177907,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:21:45] local.INFO: Processing buffer {"connection_id":177907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:21:45] local.INFO: IMEI packet received {"connection_id":177907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":177907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:21:46] local.INFO: TCP Data received {"connection_id":177907,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:21:46] local.INFO: Processing buffer {"connection_id":177907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:21:46] local.INFO: Packet analysis {"connection_id":177907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:21:46] local.INFO: Extracted packet for processing {"connection_id":177907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:21: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-09-09 05:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":177907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:21:46] local.INFO: GPS data processed {"connection_id":177907,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:21:46] local.INFO: Acknowledgment sent {"connection_id":177907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:22:18] local.INFO: TCP Data received {"connection_id":177907,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:22:18] local.INFO: Processing buffer {"connection_id":177907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:22:18] local.INFO: Packet analysis {"connection_id":177907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:22:18] local.INFO: Extracted packet for processing {"connection_id":177907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:22:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":177907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:22:18] local.INFO: GPS data processed {"connection_id":177907,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:22:18] local.INFO: Acknowledgment sent {"connection_id":177907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:22:42] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:22:42] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:22:42] local.INFO: IMEI packet received {"connection_id":175343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":175343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:22:45] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:22:45] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:22:45] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:22:50] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:22:50] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:22:50] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:22:51] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:22:51] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:22:51] local.INFO: Packet analysis {"connection_id":175091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:22:51] local.INFO: Extracted packet for processing {"connection_id":175091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:22:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":175091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:22:51] local.INFO: GPS data processed {"connection_id":175091,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:22:51] local.INFO: Acknowledgment sent {"connection_id":175091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:22:55] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:22:55] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:22:55] local.INFO: Packet analysis {"connection_id":175091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:22:55] local.INFO: Extracted packet for processing {"connection_id":175091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:22:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:22:55] 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-09-09 05:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:22:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:22:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":175091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:22:55] local.INFO: GPS data processed {"connection_id":175091,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:22:55] local.INFO: Acknowledgment sent {"connection_id":175091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:23:40] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:23:40] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:23:40] local.INFO: IMEI packet received {"connection_id":176465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":176465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:23:45] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:23:45] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:23:45] local.INFO: IMEI packet received {"connection_id":176465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":176465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:23:46] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:23:46] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:23:46] local.INFO: Packet analysis {"connection_id":176465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:23:46] local.INFO: Extracted packet for processing {"connection_id":176465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":176465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:23:46] local.INFO: GPS data processed {"connection_id":176465,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:23:46] local.INFO: Acknowledgment sent {"connection_id":176465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:24:18] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:24:18] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:24:18] local.INFO: Packet analysis {"connection_id":176465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:24:18] local.INFO: Extracted packet for processing {"connection_id":176465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":176465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:24:18] local.INFO: GPS data processed {"connection_id":176465,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:24:18] local.INFO: Acknowledgment sent {"connection_id":176465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:24:40] local.INFO: TCP Data received {"connection_id":177909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:24:40] local.INFO: Processing buffer {"connection_id":177909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:24:40] local.INFO: IMEI packet received {"connection_id":177909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":177909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:24:45] local.INFO: TCP Data received {"connection_id":177909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:24:45] local.INFO: Processing buffer {"connection_id":177909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:24:45] local.INFO: IMEI packet received {"connection_id":177909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":177909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:24:45] local.INFO: TCP Data received {"connection_id":177909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:24:45] local.INFO: Processing buffer {"connection_id":177909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:24:45] local.INFO: Packet analysis {"connection_id":177909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:24:45] local.INFO: Extracted packet for processing {"connection_id":177909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":177909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:24:45] local.INFO: GPS data processed {"connection_id":177909,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:24:45] local.INFO: Acknowledgment sent {"connection_id":177909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:25:17] local.INFO: TCP Data received {"connection_id":177909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:25:17] local.INFO: Processing buffer {"connection_id":177909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:25:17] local.INFO: Packet analysis {"connection_id":177909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:25:17] local.INFO: Extracted packet for processing {"connection_id":177909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:25: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-09-09 05:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":177909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:25:17] local.INFO: GPS data processed {"connection_id":177909,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:25:17] local.INFO: Acknowledgment sent {"connection_id":177909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:25:39] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:25:39] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:25:39] local.INFO: IMEI packet received {"connection_id":175092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":175092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:25:45] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:25:45] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:25:45] local.INFO: IMEI packet received {"connection_id":175092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":175092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:25:46] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:25:46] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:25:46] local.INFO: Packet analysis {"connection_id":175092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:25:46] local.INFO: Extracted packet for processing {"connection_id":175092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":175092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:25:46] local.INFO: GPS data processed {"connection_id":175092,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:25:46] local.INFO: Acknowledgment sent {"connection_id":175092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:26:18] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:26:18] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0836e8f00012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:26:18] local.INFO: Packet analysis {"connection_id":175092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:26:18] local.INFO: Extracted packet for processing {"connection_id":175092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0836e"} 
[2026-09-09 05:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961255680001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788911456000,"timestamp_ms":1788911456000,"timestamp_seconds":1788911456,"priority":1,"record_length":96,"hex_timestamp":"000001a0836e8f00"} 
[2026-09-09 05:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961255680001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961255680001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:26:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961255680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":175092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:26:18] local.INFO: GPS data processed {"connection_id":175092,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:26:18] local.INFO: Acknowledgment sent {"connection_id":175092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:26:39] local.INFO: TCP Data received {"connection_id":177911,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:26:39] local.INFO: Processing buffer {"connection_id":177911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:26:39] local.INFO: IMEI packet received {"connection_id":177911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":177911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:26:45] local.INFO: TCP Data received {"connection_id":177911,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:26:45] local.INFO: Processing buffer {"connection_id":177911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:26:45] local.INFO: IMEI packet received {"connection_id":177911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":177911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:26:46] local.INFO: TCP Data received {"connection_id":177911,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:26:46] local.INFO: Processing buffer {"connection_id":177911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:26:46] local.INFO: Packet analysis {"connection_id":177911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:26:46] local.INFO: Extracted packet for processing {"connection_id":177911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:26:46] 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-09-09 05:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":177911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:26:46] local.INFO: GPS data processed {"connection_id":177911,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:26:46] local.INFO: Acknowledgment sent {"connection_id":177911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:27:17] local.INFO: TCP Data received {"connection_id":177911,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:27:17] local.INFO: Processing buffer {"connection_id":177911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:27:17] local.INFO: Packet analysis {"connection_id":177911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:27:17] local.INFO: Extracted packet for processing {"connection_id":177911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:27:17] 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-09-09 05:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":177911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:27:17] local.INFO: GPS data processed {"connection_id":177911,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:27:17] local.INFO: Acknowledgment sent {"connection_id":177911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:27:40] local.INFO: TCP Data received {"connection_id":177912,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:27:40] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:27:40] local.INFO: IMEI packet received {"connection_id":177912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":177912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:27:45] local.INFO: TCP Data received {"connection_id":177912,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:27:45] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:27:45] local.INFO: IMEI packet received {"connection_id":177912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":177912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:27:46] local.INFO: TCP Data received {"connection_id":177912,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:27:46] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:27:46] local.INFO: Packet analysis {"connection_id":177912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:27:46] local.INFO: Extracted packet for processing {"connection_id":177912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:27:46] 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-09-09 05:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":177912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:27:46] local.INFO: GPS data processed {"connection_id":177912,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:27:46] local.INFO: Acknowledgment sent {"connection_id":177912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:28:06] local.INFO: TCP Data received {"connection_id":175344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:28:06] local.INFO: Processing buffer {"connection_id":175344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:28:06] local.INFO: IMEI packet received {"connection_id":175344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":175344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:28:18] local.INFO: TCP Data received {"connection_id":177912,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:28:18] local.INFO: Processing buffer {"connection_id":177912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:28:18] local.INFO: Packet analysis {"connection_id":177912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:28:18] local.INFO: Extracted packet for processing {"connection_id":177912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:28: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-09-09 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:28:18] 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-09-09 05: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-09-09 05:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:28:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":177912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:28:18] local.INFO: GPS data processed {"connection_id":177912,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:28:18] local.INFO: Acknowledgment sent {"connection_id":177912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:28:39] local.INFO: TCP Data received {"connection_id":177913,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:28:39] local.INFO: Processing buffer {"connection_id":177913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:28:39] local.INFO: IMEI packet received {"connection_id":177913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":177913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:28:42] local.INFO: TCP Data received {"connection_id":175094,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:28:42] local.INFO: Processing buffer {"connection_id":175094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:28:42] local.INFO: IMEI packet received {"connection_id":175094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":175094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:28:45] local.INFO: TCP Data received {"connection_id":177913,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:28:45] local.INFO: Processing buffer {"connection_id":177913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:28:45] local.INFO: IMEI packet received {"connection_id":177913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":177913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:28:46] local.INFO: TCP Data received {"connection_id":177913,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:28:46] local.INFO: Processing buffer {"connection_id":177913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:28:46] local.INFO: Packet analysis {"connection_id":177913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:28:46] local.INFO: Extracted packet for processing {"connection_id":177913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:28:46] 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-09-09 05:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05: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-09-09 05:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":177913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:28:46] local.INFO: GPS data processed {"connection_id":177913,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:28:46] local.INFO: Acknowledgment sent {"connection_id":177913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:29:17] local.INFO: TCP Data received {"connection_id":177913,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:29:17] local.INFO: Processing buffer {"connection_id":177913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:29:17] local.INFO: Packet analysis {"connection_id":177913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:29:17] local.INFO: Extracted packet for processing {"connection_id":177913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:29:17] 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-09-09 05:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":177913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:29:17] local.INFO: GPS data processed {"connection_id":177913,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:29:17] local.INFO: Acknowledgment sent {"connection_id":177913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:29:39] local.INFO: TCP Data received {"connection_id":175095,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:29:39] local.INFO: Processing buffer {"connection_id":175095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:29:39] local.INFO: IMEI packet received {"connection_id":175095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":175095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:29:45] local.INFO: TCP Data received {"connection_id":175095,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:29:45] local.INFO: Processing buffer {"connection_id":175095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:29:45] local.INFO: IMEI packet received {"connection_id":175095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":175095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:29:46] local.INFO: TCP Data received {"connection_id":175095,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:29:46] local.INFO: Processing buffer {"connection_id":175095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:29:46] local.INFO: Packet analysis {"connection_id":175095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:29:46] local.INFO: Extracted packet for processing {"connection_id":175095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:29:46] 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-09-09 05:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:29: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-09-09 05:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":175095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:29:46] local.INFO: GPS data processed {"connection_id":175095,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:29:46] local.INFO: Acknowledgment sent {"connection_id":175095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:30:17] local.INFO: TCP Data received {"connection_id":175095,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:30:17] local.INFO: Processing buffer {"connection_id":175095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:30:17] local.INFO: Packet analysis {"connection_id":175095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:30:17] local.INFO: Extracted packet for processing {"connection_id":175095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:30:17] 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-09-09 05: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-09-09 05:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:30:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":175095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:30:17] local.INFO: GPS data processed {"connection_id":175095,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:30:17] local.INFO: Acknowledgment sent {"connection_id":175095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:30:39] local.INFO: TCP Data received {"connection_id":177914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:30:39] local.INFO: Processing buffer {"connection_id":177914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:30:39] local.INFO: IMEI packet received {"connection_id":177914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":177914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:30:45] local.INFO: TCP Data received {"connection_id":177914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:30:45] local.INFO: Processing buffer {"connection_id":177914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:30:45] local.INFO: IMEI packet received {"connection_id":177914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":177914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:30:46] local.INFO: TCP Data received {"connection_id":177914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:30:46] local.INFO: Processing buffer {"connection_id":177914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:30:46] local.INFO: Packet analysis {"connection_id":177914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:30:46] local.INFO: Extracted packet for processing {"connection_id":177914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:30:46] 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-09-09 05:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:30: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-09-09 05:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":177914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:30:46] local.INFO: GPS data processed {"connection_id":177914,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:30:46] local.INFO: Acknowledgment sent {"connection_id":177914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:31:17] local.INFO: TCP Data received {"connection_id":177914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:31:17] local.INFO: Processing buffer {"connection_id":177914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837326c8012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:31:17] local.INFO: Packet analysis {"connection_id":177914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:31:17] local.INFO: Extracted packet for processing {"connection_id":177914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08373"} 
[2026-09-09 05:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788911757000,"timestamp_ms":1788911757000,"timestamp_seconds":1788911757,"priority":1,"record_length":96,"hex_timestamp":"000001a0837326c8"} 
[2026-09-09 05:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:31:17] 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-09-09 05:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961332736001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:31:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961332736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":177914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:31:17] local.INFO: GPS data processed {"connection_id":177914,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:31:17] local.INFO: Acknowledgment sent {"connection_id":177914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:31:45] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:31:45] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:31:45] local.INFO: IMEI packet received {"connection_id":176467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":176467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:31:50] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:31:50] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:31:50] local.INFO: IMEI packet received {"connection_id":176467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":176467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:31:51] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:31:51] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:31:51] local.INFO: Packet analysis {"connection_id":176467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:31:51] local.INFO: Extracted packet for processing {"connection_id":176467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":176467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:31:51] local.INFO: GPS data processed {"connection_id":176467,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:31:51] local.INFO: Acknowledgment sent {"connection_id":176467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:31:55] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:31:55] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:31:55] local.INFO: Packet analysis {"connection_id":176467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:31:55] local.INFO: Extracted packet for processing {"connection_id":176467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:31:55] 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-09-09 05:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:31:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:31:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":176467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:31:55] local.INFO: GPS data processed {"connection_id":176467,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:31:55] local.INFO: Acknowledgment sent {"connection_id":176467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:32:39] local.INFO: TCP Data received {"connection_id":176468,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:32:39] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:32:39] local.INFO: IMEI packet received {"connection_id":176468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":176468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:32:45] local.INFO: TCP Data received {"connection_id":176468,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:32:45] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:32:45] local.INFO: IMEI packet received {"connection_id":176468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":176468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:32:46] local.INFO: TCP Data received {"connection_id":176468,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:32:46] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:32:46] local.INFO: Packet analysis {"connection_id":176468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:32:46] local.INFO: Extracted packet for processing {"connection_id":176468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:32:46] 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-09-09 05:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:32: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-09-09 05:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":176468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:32:46] local.INFO: GPS data processed {"connection_id":176468,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:32:46] local.INFO: Acknowledgment sent {"connection_id":176468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:33:17] local.INFO: TCP Data received {"connection_id":176468,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:33:17] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:33:17] local.INFO: Packet analysis {"connection_id":176468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:33:17] local.INFO: Extracted packet for processing {"connection_id":176468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:33:17] 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-09-09 05:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":176468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:33:18] local.INFO: GPS data processed {"connection_id":176468,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:33:18] local.INFO: Acknowledgment sent {"connection_id":176468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:33:39] local.INFO: TCP Data received {"connection_id":177916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:33:39] local.INFO: Processing buffer {"connection_id":177916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:33:39] local.INFO: IMEI packet received {"connection_id":177916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":177916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:33:45] local.INFO: TCP Data received {"connection_id":177916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:33:45] local.INFO: Processing buffer {"connection_id":177916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:33:45] local.INFO: IMEI packet received {"connection_id":177916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":177916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:33:46] local.INFO: TCP Data received {"connection_id":177916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:33:46] local.INFO: Processing buffer {"connection_id":177916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:33:46] local.INFO: Packet analysis {"connection_id":177916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:33:46] local.INFO: Extracted packet for processing {"connection_id":177916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:33:46] 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-09-09 05:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:33: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-09-09 05:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":177916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:33:46] local.INFO: GPS data processed {"connection_id":177916,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:33:46] local.INFO: Acknowledgment sent {"connection_id":177916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:34:17] local.INFO: TCP Data received {"connection_id":177916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:34:17] local.INFO: Processing buffer {"connection_id":177916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:34:17] local.INFO: Packet analysis {"connection_id":177916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:34:17] local.INFO: Extracted packet for processing {"connection_id":177916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:34:17] 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-09-09 05: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-09-09 05:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":177916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:34:17] local.INFO: GPS data processed {"connection_id":177916,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:34:17] local.INFO: Acknowledgment sent {"connection_id":177916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:34:45] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:34:45] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:34:45] local.INFO: IMEI packet received {"connection_id":175345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":175345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:34:50] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:34:50] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:34:50] local.INFO: IMEI packet received {"connection_id":175345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":175345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:34:51] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:34:51] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:34:51] local.INFO: Packet analysis {"connection_id":175345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:34:51] local.INFO: Extracted packet for processing {"connection_id":175345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":175345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:34:51] local.INFO: GPS data processed {"connection_id":175345,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:34:51] local.INFO: Acknowledgment sent {"connection_id":175345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:34:55] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:34:55] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:34:55] local.INFO: Packet analysis {"connection_id":175345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:34:55] local.INFO: Extracted packet for processing {"connection_id":175345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:34:55] 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-09-09 05:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:34:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:34:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":175345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:34:55] local.INFO: GPS data processed {"connection_id":175345,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:34:55] local.INFO: Acknowledgment sent {"connection_id":175345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:35:40] local.INFO: TCP Data received {"connection_id":175346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:35:40] local.INFO: Processing buffer {"connection_id":175346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:35:40] local.INFO: IMEI packet received {"connection_id":175346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":175346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:35:45] local.INFO: TCP Data received {"connection_id":175346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:35:45] local.INFO: Processing buffer {"connection_id":175346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:35:45] local.INFO: IMEI packet received {"connection_id":175346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":175346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:35:46] local.INFO: TCP Data received {"connection_id":175346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:35:46] local.INFO: Processing buffer {"connection_id":175346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:35:46] local.INFO: Packet analysis {"connection_id":175346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:35:46] local.INFO: Extracted packet for processing {"connection_id":175346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:35:46] 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-09-09 05:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:35: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-09-09 05:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":175346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:35:46] local.INFO: GPS data processed {"connection_id":175346,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:35:46] local.INFO: Acknowledgment sent {"connection_id":175346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:36:07] local.INFO: TCP Data received {"connection_id":177917,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:36:07] local.INFO: Processing buffer {"connection_id":177917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:36:07] local.INFO: IMEI packet received {"connection_id":177917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":177917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:36:09] local.INFO: TCP Data received {"connection_id":177917,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:36:09] local.INFO: Processing buffer {"connection_id":177917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:36:09] local.INFO: IMEI packet received {"connection_id":177917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:36:09] local.ERROR: TCP Connection error {"connection_id":177917,"code":2,"message":"client closed"} 
[2026-09-09 05:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":177917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:36:17] local.INFO: TCP Data received {"connection_id":175346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:36:17] local.INFO: Processing buffer {"connection_id":175346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08377be90012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:36:17] local.INFO: Packet analysis {"connection_id":175346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:36:17] local.INFO: Extracted packet for processing {"connection_id":175346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08377"} 
[2026-09-09 05:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961409792001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912058000,"timestamp_ms":1788912058000,"timestamp_seconds":1788912058,"priority":1,"record_length":96,"hex_timestamp":"000001a08377be90"} 
[2026-09-09 05:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 05:36:17] 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-09-09 05:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961409792001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961409792001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:36:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961409792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":175346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:36:17] local.INFO: GPS data processed {"connection_id":175346,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:36:17] local.INFO: Acknowledgment sent {"connection_id":175346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:36:39] local.INFO: TCP Data received {"connection_id":177918,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:36:39] local.INFO: Processing buffer {"connection_id":177918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:36:39] local.INFO: IMEI packet received {"connection_id":177918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":177918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:36:45] local.INFO: TCP Data received {"connection_id":177918,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:36:45] local.INFO: Processing buffer {"connection_id":177918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:36:45] local.INFO: IMEI packet received {"connection_id":177918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":177918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:36:46] local.INFO: TCP Data received {"connection_id":177918,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:36:46] local.INFO: Processing buffer {"connection_id":177918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:36:46] local.INFO: Packet analysis {"connection_id":177918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:36:46] local.INFO: Extracted packet for processing {"connection_id":177918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:36: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-09-09 05:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":177918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:36:46] local.INFO: GPS data processed {"connection_id":177918,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:36:46] local.INFO: Acknowledgment sent {"connection_id":177918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:37:18] local.INFO: TCP Data received {"connection_id":177918,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:37:18] local.INFO: Processing buffer {"connection_id":177918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:37:18] local.INFO: Packet analysis {"connection_id":177918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:37:18] local.INFO: Extracted packet for processing {"connection_id":177918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:37: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-09-09 05:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:37:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":177918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:37:18] local.INFO: GPS data processed {"connection_id":177918,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:37:18] local.INFO: Acknowledgment sent {"connection_id":177918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:37:39] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:37:39] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:37:39] local.INFO: IMEI packet received {"connection_id":176469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":176469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:37:45] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:37:45] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:37:45] local.INFO: IMEI packet received {"connection_id":176469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":176469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:37:46] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:37:46] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:37:46] local.INFO: Packet analysis {"connection_id":176469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:37:46] local.INFO: Extracted packet for processing {"connection_id":176469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:37:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":176469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:37:46] local.INFO: GPS data processed {"connection_id":176469,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:37:46] local.INFO: Acknowledgment sent {"connection_id":176469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:38:17] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:38:17] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:38:17] local.INFO: Packet analysis {"connection_id":176469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:38:17] local.INFO: Extracted packet for processing {"connection_id":176469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:38: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-09-09 05:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":176469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:38:18] local.INFO: GPS data processed {"connection_id":176469,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:38:18] local.INFO: Acknowledgment sent {"connection_id":176469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:38:45] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:38:45] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:38:45] local.INFO: IMEI packet received {"connection_id":175347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":175347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:38:50] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:38:50] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:38:50] local.INFO: IMEI packet received {"connection_id":175347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":175347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:38:51] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:38:51] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:38:51] local.INFO: Packet analysis {"connection_id":175347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:38:51] local.INFO: Extracted packet for processing {"connection_id":175347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:38:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":175347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:38:51] local.INFO: GPS data processed {"connection_id":175347,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:38:51] local.INFO: Acknowledgment sent {"connection_id":175347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:38:55] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:38:55] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:38:55] local.INFO: Packet analysis {"connection_id":175347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:38:55] local.INFO: Extracted packet for processing {"connection_id":175347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:38:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:38:55] 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-09-09 05:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:38:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:38:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":175347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:38:55] local.INFO: GPS data processed {"connection_id":175347,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:38:55] local.INFO: Acknowledgment sent {"connection_id":175347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:39:40] local.INFO: TCP Data received {"connection_id":176470,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:39:40] local.INFO: Processing buffer {"connection_id":176470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:39:40] local.INFO: IMEI packet received {"connection_id":176470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":176470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:39:45] local.INFO: TCP Data received {"connection_id":176470,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:39:45] local.INFO: Processing buffer {"connection_id":176470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:39:45] local.INFO: IMEI packet received {"connection_id":176470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":176470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:39:46] local.INFO: TCP Data received {"connection_id":176470,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:39:46] local.INFO: Processing buffer {"connection_id":176470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:39:46] local.INFO: Packet analysis {"connection_id":176470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:39:46] local.INFO: Extracted packet for processing {"connection_id":176470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":176470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:39:46] local.INFO: GPS data processed {"connection_id":176470,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:39:46] local.INFO: Acknowledgment sent {"connection_id":176470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:40:17] local.INFO: TCP Data received {"connection_id":176470,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:40:17] local.INFO: Processing buffer {"connection_id":176470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:40:17] local.INFO: Packet analysis {"connection_id":176470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:40:17] local.INFO: Extracted packet for processing {"connection_id":176470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":176470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:40:17] local.INFO: GPS data processed {"connection_id":176470,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:40:17] local.INFO: Acknowledgment sent {"connection_id":176470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:40:40] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:40:40] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:40:40] local.INFO: IMEI packet received {"connection_id":175098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":175098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:40:45] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:40:45] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:40:45] local.INFO: IMEI packet received {"connection_id":175098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":175098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:40:46] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:40:46] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:40:46] local.INFO: Packet analysis {"connection_id":175098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:40:46] local.INFO: Extracted packet for processing {"connection_id":175098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":175098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:40:46] local.INFO: GPS data processed {"connection_id":175098,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:40:46] local.INFO: Acknowledgment sent {"connection_id":175098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:41:17] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:41:17] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0837c5658012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:41:17] local.INFO: Packet analysis {"connection_id":175098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:41:17] local.INFO: Extracted packet for processing {"connection_id":175098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0837c"} 
[2026-09-09 05:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961486848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912359000,"timestamp_ms":1788912359000,"timestamp_seconds":1788912359,"priority":1,"record_length":96,"hex_timestamp":"000001a0837c5658"} 
[2026-09-09 05:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:41: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-09-09 05:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961486848001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961486848001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961486848001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":175098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:41:18] local.INFO: GPS data processed {"connection_id":175098,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:41:18] local.INFO: Acknowledgment sent {"connection_id":175098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:41:39] local.INFO: TCP Data received {"connection_id":175348,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:41:39] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:41:39] local.INFO: IMEI packet received {"connection_id":175348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":175348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:41:39] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:41:39] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:41:39] local.INFO: IMEI packet received {"connection_id":176471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":176471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:41:43] local.INFO: TCP Data received {"connection_id":175348,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:41:43] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:41:43] local.INFO: IMEI packet received {"connection_id":175348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":175348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:41:45] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:41:45] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:41:45] local.INFO: IMEI packet received {"connection_id":176471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":176471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:41:45] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:41:45] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:41:45] local.INFO: Packet analysis {"connection_id":176471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:41:45] local.INFO: Extracted packet for processing {"connection_id":176471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:41: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-09-09 05:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:41:45] 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-09-09 05:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:41:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":176471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:41:45] local.INFO: GPS data processed {"connection_id":176471,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:41:45] local.INFO: Acknowledgment sent {"connection_id":176471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:41:46] local.INFO: TCP Data received {"connection_id":175348,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083806950012c1ef8000abd5620032700b621..."} 
[2026-09-09 05:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083806950012c1ef8000abd5620032700b621..."} 
[2026-09-09 05:41:46] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083806950012c1ef8000abd5620032700b621..."} 
[2026-09-09 05:41:46] local.INFO: Packet analysis {"connection_id":175348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:41:46] local.INFO: Extracted packet for processing {"connection_id":175348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:41:46] local.INFO: GPS Element Parsed {"raw_longitude":740227072,"raw_latitude":180180512,"longitude_deg":74.0227072,"latitude_deg":18.0180512,"altitude":807,"angle":182,"satellites":33,"speed":23,"hex_longitude":"2c1ef800","hex_latitude":"0abd5620","is_valid_coordinates":true} 
[2026-09-09 05:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:41:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,247,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912626000,"timestamp_ms":1788912626000,"timestamp_seconds":1788912626,"priority":1,"record_length":96,"hex_timestamp":"000001a083806950"} 
[2026-09-09 05:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:41:46] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 05:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27463,"247":206,"20":2560,"24":23,"16":3892954062127104},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16]} 
[2026-09-09 05:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:41:46] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:41:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27463,"internal_battery_voltage":206,"unknown_20":2560,"ignition":23,"odometer":null}} 
[2026-09-09 05:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":175348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:41:46] local.INFO: GPS data processed {"connection_id":175348,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:41:46] local.INFO: Acknowledgment sent {"connection_id":175348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:42:17] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:42:17] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:42:17] local.INFO: Packet analysis {"connection_id":176471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:42:17] local.INFO: Extracted packet for processing {"connection_id":176471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:42:17] 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-09-09 05:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:42: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-09-09 05:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":176471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:42:17] local.INFO: GPS data processed {"connection_id":176471,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:42:17] local.INFO: Acknowledgment sent {"connection_id":176471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:42:20] local.INFO: TCP Data received {"connection_id":175348,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083814fc80100000000000000000000000000..."} 
[2026-09-09 05:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083814fc80100000000000000000000000000..."} 
[2026-09-09 05:42:20] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083814fc80100000000000000000000000000..."} 
[2026-09-09 05:42:20] local.INFO: Packet analysis {"connection_id":175348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:42:20] local.INFO: Extracted packet for processing {"connection_id":175348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:42:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961632256001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2231533661488291843,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788912685000,"timestamp_ms":1788912685000,"timestamp_seconds":1788912685,"priority":1,"record_length":96,"hex_timestamp":"000001a083814fc8"} 
[2026-09-09 05:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 05:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":175348,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 05:42:20] local.INFO: GPS data processed {"connection_id":175348,"processed":0,"errors":0,"total":1} 
[2026-09-09 05:42:20] local.INFO: Acknowledgment sent {"connection_id":175348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:42:45] local.INFO: TCP Data received {"connection_id":175349,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:42:45] local.INFO: Processing buffer {"connection_id":175349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:42:45] local.INFO: IMEI packet received {"connection_id":175349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:42:48] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:42:48] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:42:48] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:42:49] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:42:49] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:42:49] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:42:50] local.INFO: TCP Data received {"connection_id":175349,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:42:50] local.INFO: Processing buffer {"connection_id":175349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:42:50] local.INFO: IMEI packet received {"connection_id":175349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":175349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:42:51] local.INFO: TCP Data received {"connection_id":175349,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:42:51] local.INFO: Processing buffer {"connection_id":175349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:42:51] local.INFO: Packet analysis {"connection_id":175349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:42:51] local.INFO: Extracted packet for processing {"connection_id":175349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:42:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":175349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:42:51] local.INFO: GPS data processed {"connection_id":175349,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:42:51] local.INFO: Acknowledgment sent {"connection_id":175349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:42:54] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:42:54] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:42:54] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:42:55] local.INFO: TCP Data received {"connection_id":175349,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:42:55] local.INFO: Processing buffer {"connection_id":175349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:42:55] local.INFO: Packet analysis {"connection_id":175349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:42:55] local.INFO: Extracted packet for processing {"connection_id":175349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:42:55] 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-09-09 05:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:42:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:42:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":175349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:42:55] local.INFO: GPS data processed {"connection_id":175349,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:42:55] local.INFO: Acknowledgment sent {"connection_id":175349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:42:58] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08380cee0012c1ed4c00abd3820032f010a20..."} 
[2026-09-09 05:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380cee0012c1ed4c00abd3820032f010a20..."} 
[2026-09-09 05:42:58] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380cee0012c1ed4c00abd3820032f010a20..."} 
[2026-09-09 05:42:58] local.INFO: Packet analysis {"connection_id":176472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:42:58] local.INFO: Extracted packet for processing {"connection_id":176472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:42:58] local.INFO: GPS Element Parsed {"raw_longitude":740218048,"raw_latitude":180172832,"longitude_deg":74.0218048,"latitude_deg":18.0172832,"altitude":815,"angle":266,"satellites":32,"speed":24,"hex_longitude":"2c1ed4c0","hex_latitude":"0abd3820","is_valid_coordinates":true} 
[2026-09-09 05:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:42:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,247,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788912652000,"timestamp_ms":1788912652000,"timestamp_seconds":1788912652,"priority":1,"record_length":96,"hex_timestamp":"000001a08380cee0"} 
[2026-09-09 05:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:42: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 05:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"247":206,"20":2560,"24":24,"16":3892954062127104},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16]} 
[2026-09-09 05:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:42:58] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:42:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"internal_battery_voltage":206,"unknown_20":2560,"ignition":24,"odometer":null}} 
[2026-09-09 05:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":176472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:42:58] local.INFO: GPS data processed {"connection_id":176472,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:42:58] local.INFO: Acknowledgment sent {"connection_id":176472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:43:03] local.INFO: TCP Data received {"connection_id":176472,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08381b5580100000000000000000000000000..."} 
[2026-09-09 05:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08381b5580100000000000000000000000000..."} 
[2026-09-09 05:43:03] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08381b5580100000000000000000000000000..."} 
[2026-09-09 05:43:03] local.INFO: Packet analysis {"connection_id":176472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:43:03] local.INFO: Extracted packet for processing {"connection_id":176472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:43:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 05:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961638912001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:43:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2221611668557275139,"note":"Value kept but may cause issues"} 
[2026-09-09 05:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788912711000,"timestamp_ms":1788912711000,"timestamp_seconds":1788912711,"priority":1,"record_length":96,"hex_timestamp":"000001a08381b558"} 
[2026-09-09 05:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:43: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-09-09 05: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 05:43: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-09-09 05:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":176472,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 05:43:03] local.INFO: GPS data processed {"connection_id":176472,"processed":0,"errors":0,"total":1} 
[2026-09-09 05:43:03] local.INFO: Acknowledgment sent {"connection_id":176472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:43:40] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:43:40] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:43:40] local.INFO: IMEI packet received {"connection_id":175099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":175099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:43:45] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:43:45] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:43:45] local.INFO: IMEI packet received {"connection_id":175099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":175099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:43:46] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:43:46] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:43:46] local.INFO: Packet analysis {"connection_id":175099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:43:46] local.INFO: Extracted packet for processing {"connection_id":175099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:43:46] 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-09-09 05:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":175099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:43:46] local.INFO: GPS data processed {"connection_id":175099,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:43:46] local.INFO: Acknowledgment sent {"connection_id":175099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:43:48] local.INFO: TCP Data received {"connection_id":175350,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:43:48] local.INFO: Processing buffer {"connection_id":175350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:43:48] local.INFO: IMEI packet received {"connection_id":175350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":175350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:43:53] local.INFO: TCP Data received {"connection_id":175350,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:43:53] local.INFO: Processing buffer {"connection_id":175350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:43:53] local.INFO: IMEI packet received {"connection_id":175350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":175350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:43:56] local.INFO: TCP Data received {"connection_id":175350,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838147f8012c1eb2000abd1f80033a011122..."} 
[2026-09-09 05:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838147f8012c1eb2000abd1f80033a011122..."} 
[2026-09-09 05:43:56] local.INFO: Processing buffer {"connection_id":175350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838147f8012c1eb2000abd1f80033a011122..."} 
[2026-09-09 05:43:56] local.INFO: Packet analysis {"connection_id":175350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:43:56] local.INFO: Extracted packet for processing {"connection_id":175350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:43:56] local.INFO: GPS Element Parsed {"raw_longitude":740209152,"raw_latitude":180166528,"longitude_deg":74.0209152,"latitude_deg":18.0166528,"altitude":826,"angle":273,"satellites":34,"speed":21,"hex_longitude":"2c1eb200","hex_latitude":"0abd1f80","is_valid_coordinates":true} 
[2026-09-09 05:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:43:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,247,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788912683000,"timestamp_ms":1788912683000,"timestamp_seconds":1788912683,"priority":1,"record_length":96,"hex_timestamp":"000001a0838147f8"} 
[2026-09-09 05:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-09 05:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"247":206,"20":2560,"24":21,"16":3892954062127104},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16]} 
[2026-09-09 05:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:43:56] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:43:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"internal_battery_voltage":206,"unknown_20":2560,"ignition":21,"odometer":null}} 
[2026-09-09 05:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":175350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:43:56] local.INFO: GPS data processed {"connection_id":175350,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:43:56] local.INFO: Acknowledgment sent {"connection_id":175350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:44:01] local.INFO: TCP Data received {"connection_id":175350,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083822e700100000000000000000000000000..."} 
[2026-09-09 05:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083822e700100000000000000000000000000..."} 
[2026-09-09 05:44:01] local.INFO: Processing buffer {"connection_id":175350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083822e700100000000000000000000000000..."} 
[2026-09-09 05:44:01] local.INFO: Packet analysis {"connection_id":175350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08382"} 
[2026-09-09 05:44:01] local.INFO: Extracted packet for processing {"connection_id":175350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08382"} 
[2026-09-09 05:44:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 05:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961646848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2211830413114966019,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788912742000,"timestamp_ms":1788912742000,"timestamp_seconds":1788912742,"priority":1,"record_length":96,"hex_timestamp":"000001a083822e70"} 
[2026-09-09 05:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 05:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":175350,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 05:44:01] local.INFO: GPS data processed {"connection_id":175350,"processed":0,"errors":0,"total":1} 
[2026-09-09 05:44:01] local.INFO: Acknowledgment sent {"connection_id":175350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:44:16] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:44:16] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:44:16] local.INFO: Packet analysis {"connection_id":175099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:44:16] local.INFO: Extracted packet for processing {"connection_id":175099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":175099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:44:16] local.INFO: GPS data processed {"connection_id":175099,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:44:16] local.INFO: Acknowledgment sent {"connection_id":175099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:44:40] local.INFO: TCP Data received {"connection_id":177919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:44:40] local.INFO: Processing buffer {"connection_id":177919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:44:40] local.INFO: IMEI packet received {"connection_id":177919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":177919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:44:44] local.INFO: TCP Data received {"connection_id":175100,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:44:44] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:44:44] local.INFO: IMEI packet received {"connection_id":175100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":175100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:44:45] local.INFO: TCP Data received {"connection_id":177919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:44:45] local.INFO: Processing buffer {"connection_id":177919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:44:45] local.INFO: IMEI packet received {"connection_id":177919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":177919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:44:46] local.INFO: TCP Data received {"connection_id":177919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:44:46] local.INFO: Processing buffer {"connection_id":177919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:44:46] local.INFO: Packet analysis {"connection_id":177919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:44:46] local.INFO: Extracted packet for processing {"connection_id":177919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:44:46] 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-09-09 05:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":177919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:44:46] local.INFO: GPS data processed {"connection_id":177919,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:44:46] local.INFO: Acknowledgment sent {"connection_id":177919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:44:48] local.INFO: TCP Data received {"connection_id":175100,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:44:48] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:44:48] local.INFO: IMEI packet received {"connection_id":175100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":175100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:44:52] local.INFO: TCP Data received {"connection_id":175100,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08381ad88012c1e80800abd2020034100c926..."} 
[2026-09-09 05:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08381ad88012c1e80800abd2020034100c926..."} 
[2026-09-09 05:44:52] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08381ad88012c1e80800abd2020034100c926..."} 
[2026-09-09 05:44:52] local.INFO: Packet analysis {"connection_id":175100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:44:52] local.INFO: Extracted packet for processing {"connection_id":175100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:44:52] local.INFO: GPS Element Parsed {"raw_longitude":740196480,"raw_latitude":180166688,"longitude_deg":74.019648,"latitude_deg":18.0166688,"altitude":833,"angle":201,"satellites":38,"speed":17,"hex_longitude":"2c1e8080","hex_latitude":"0abd2020","is_valid_coordinates":true} 
[2026-09-09 05:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,247,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788912709000,"timestamp_ms":1788912709000,"timestamp_seconds":1788912709,"priority":1,"record_length":96,"hex_timestamp":"000001a08381ad88"} 
[2026-09-09 05:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:44:52] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 05:44: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-09-09 05:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27321,"247":206,"20":2560,"24":17,"16":3892954062127104},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16]} 
[2026-09-09 05:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:44:52] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:44:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27321,"internal_battery_voltage":206,"unknown_20":2560,"ignition":17,"odometer":null}} 
[2026-09-09 05:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":175100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:44:52] local.INFO: GPS data processed {"connection_id":175100,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:44:52] local.INFO: Acknowledgment sent {"connection_id":175100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:44:58] local.INFO: TCP Data received {"connection_id":175100,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08381ff90012c1e80800abd2020034100c926..."} 
[2026-09-09 05:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08381ff90012c1e80800abd2020034100c926..."} 
[2026-09-09 05:44:58] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08381ff90012c1e80800abd2020034100c926..."} 
[2026-09-09 05:44:58] local.INFO: Packet analysis {"connection_id":175100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:44:58] local.INFO: Extracted packet for processing {"connection_id":175100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08381"} 
[2026-09-09 05:44:58] local.INFO: GPS Element Parsed {"raw_longitude":740196480,"raw_latitude":180166688,"longitude_deg":74.019648,"latitude_deg":18.0166688,"altitude":833,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2c1e8080","hex_latitude":"0abd2020","is_valid_coordinates":true} 
[2026-09-09 05:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961653504001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197897401767829507,"note":"Value kept but may cause issues"} 
[2026-09-09 05:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788912730000,"timestamp_ms":1788912730000,"timestamp_seconds":1788912730,"priority":1,"record_length":96,"hex_timestamp":"000001a08381ff90"} 
[2026-09-09 05:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:44: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-09-09 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 05:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961653504001,"66":27484,"247":206,"20":2560,"24":0,"16":3892954062127104,"44":2197897401767829507},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16,44]} 
[2026-09-09 05:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961653504001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:44:58] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:44:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":2197897401767829507,"description":"Unknown IO ID 44"} 
[2026-09-09 05:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961653504001,"power":27484,"internal_battery_voltage":206,"unknown_20":2560,"ignition":0,"odometer":null,"unknown_44":2197897401767829507}} 
[2026-09-09 05:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":175100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:44:58] local.INFO: GPS data processed {"connection_id":175100,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:44:58] local.INFO: Acknowledgment sent {"connection_id":175100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:45:18] local.INFO: TCP Data received {"connection_id":177919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:45:18] local.INFO: Processing buffer {"connection_id":177919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:45:18] local.INFO: Packet analysis {"connection_id":177919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:45:18] local.INFO: Extracted packet for processing {"connection_id":177919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:45: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-09-09 05:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":177919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:45:18] local.INFO: GPS data processed {"connection_id":177919,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:45:18] local.INFO: Acknowledgment sent {"connection_id":177919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:45:39] local.INFO: TCP Data received {"connection_id":175101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:45:39] local.INFO: Processing buffer {"connection_id":175101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:45:39] local.INFO: IMEI packet received {"connection_id":175101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":175101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:45:45] local.INFO: TCP Data received {"connection_id":175101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:45:45] local.INFO: Processing buffer {"connection_id":175101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:45:45] local.INFO: IMEI packet received {"connection_id":175101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":175101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:45:45] local.INFO: TCP Data received {"connection_id":175101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:45:45] local.INFO: Processing buffer {"connection_id":175101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:45:45] local.INFO: Packet analysis {"connection_id":175101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:45:45] local.INFO: Extracted packet for processing {"connection_id":175101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:45: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-09-09 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:45:45] 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-09-09 05:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":175101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:45:45] local.INFO: GPS data processed {"connection_id":175101,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:45:45] local.INFO: Acknowledgment sent {"connection_id":175101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:45:49] local.INFO: TCP Data received {"connection_id":175351,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:45:49] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:45:49] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:45:52] local.INFO: TCP Data received {"connection_id":175351,"ip":"117.224.6.119","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 05:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 05:45:52] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 05:45:52] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:45:57] local.INFO: TCP Data received {"connection_id":175351,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:45:57] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 05:45:57] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:46:02] local.INFO: TCP Data received {"connection_id":175351,"ip":"117.224.6.119","data_length":1360,"data_hex":"000000000000030f8e0a000001a083823e10012c1e67c00abcfaf00347011121..."} 
[2026-09-09 05:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a083823e10012c1e67c00abcfaf00347011121..."} 
[2026-09-09 05:46:02] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":1377,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a083..."} 
[2026-09-09 05:46:02] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:46:08] local.INFO: TCP Data received {"connection_id":175351,"ip":"117.224.6.119","data_length":1025,"data_hex":"2c1ed4c00abd3820032f010a2000180000000a000400ef0100715000f0010045..."} 
[2026-09-09 05:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":1025,"packet_hex":"2c1ed4c00abd3820032f010a2000180000000a000400ef0100715000f0010045..."} 
[2026-09-09 05:46:08] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a083823e10012c1e67c00abcfaf00347011121..."} 
[2026-09-09 05:46:08] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a08382"} 
[2026-09-09 05:46:08] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08382"} 
[2026-09-09 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":740190144,"raw_latitude":180157168,"longitude_deg":74.0190144,"latitude_deg":18.0157168,"altitude":839,"angle":273,"satellites":33,"speed":16,"hex_longitude":"2c1e67c0","hex_latitude":"0abcfaf0","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961658880001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197897401767829507,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788912746000,"timestamp_ms":1788912746000,"timestamp_seconds":1788912746,"priority":1,"record_length":96,"hex_timestamp":"000001a083823e10"} 
[2026-09-09 05:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 05:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961658880001,"66":27441,"247":206,"20":2560,"24":16,"16":3892954062127104,"44":2197897401767829507},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16,44]} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961658880001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:46:08] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:46:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":2197897401767829507,"description":"Unknown IO ID 44"} 
[2026-09-09 05:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961658880001,"power":27441,"internal_battery_voltage":206,"unknown_20":2560,"ignition":16,"odometer":null,"unknown_44":2197897401767829507}} 
[2026-09-09 05:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:46:08] local.INFO: GPS data processed {"connection_id":175351,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:46:08] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:46:08] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08383"} 
[2026-09-09 05:46:08] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08383"} 
[2026-09-09 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961662976001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2190930896091803651,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788912805000,"timestamp_ms":1788912805000,"timestamp_seconds":1788912805,"priority":1,"record_length":96,"hex_timestamp":"000001a083832488"} 
[2026-09-09 05:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-09 05:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 05:46:08] local.INFO: GPS data processed {"connection_id":175351,"processed":0,"errors":0,"total":1} 
[2026-09-09 05:46:08] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:46:08] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08382"} 
[2026-09-09 05:46:08] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08382"} 
[2026-09-09 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":740178752,"raw_latitude":180160640,"longitude_deg":74.0178752,"latitude_deg":18.016064,"altitude":848,"angle":251,"satellites":36,"speed":17,"hex_longitude":"2c1e3b40","hex_latitude":"0abd0880","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,247,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788912777000,"timestamp_ms":1788912777000,"timestamp_seconds":1788912777,"priority":1,"record_length":96,"hex_timestamp":"000001a08382b728"} 
[2026-09-09 05:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 05:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27267,"247":206,"20":2560,"24":17,"16":3892954062127104},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16]} 
[2026-09-09 05:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:46:08] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:46:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27267,"internal_battery_voltage":206,"unknown_20":2560,"ignition":17,"odometer":null}} 
[2026-09-09 05:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:46:08] local.INFO: GPS data processed {"connection_id":175351,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:46:08] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:46:11] local.INFO: TCP Data received {"connection_id":175351,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083839da00100000000000000000000000000..."} 
[2026-09-09 05:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083839da00100000000000000000000000000..."} 
[2026-09-09 05:46:11] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083839da00100000000000000000000000000..."} 
[2026-09-09 05:46:11] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08383"} 
[2026-09-09 05:46:11] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08383"} 
[2026-09-09 05:46:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961670912001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2178405259629068291,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788912836000,"timestamp_ms":1788912836000,"timestamp_seconds":1788912836,"priority":1,"record_length":96,"hex_timestamp":"000001a083839da0"} 
[2026-09-09 05:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 05:46: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-09-09 05: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-09-09 05:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 05:46:11] local.INFO: GPS data processed {"connection_id":175351,"processed":0,"errors":0,"total":1} 
[2026-09-09 05:46:11] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:46:14] local.INFO: TCP Data received {"connection_id":175351,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083833040012c1e17c00abce6d0035600f220..."} 
[2026-09-09 05:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083833040012c1e17c00abce6d0035600f220..."} 
[2026-09-09 05:46:14] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083833040012c1e17c00abce6d0035600f220..."} 
[2026-09-09 05:46:14] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08383"} 
[2026-09-09 05:46:14] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08383"} 
[2026-09-09 05:46:14] local.INFO: GPS Element Parsed {"raw_longitude":740169664,"raw_latitude":180152016,"longitude_deg":74.0169664,"latitude_deg":18.0152016,"altitude":854,"angle":242,"satellites":32,"speed":14,"hex_longitude":"2c1e17c0","hex_latitude":"0abce6d0","is_valid_coordinates":true} 
[2026-09-09 05:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,247,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788912808000,"timestamp_ms":1788912808000,"timestamp_seconds":1788912808,"priority":1,"record_length":96,"hex_timestamp":"000001a083833040"} 
[2026-09-09 05:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:46:14] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-09-09 05:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"247":206,"20":2560,"24":14,"16":3892954062127104},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16]} 
[2026-09-09 05:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:46:14] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:46:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"internal_battery_voltage":206,"unknown_20":2560,"ignition":14,"odometer":null}} 
[2026-09-09 05:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:46:14] local.INFO: GPS data processed {"connection_id":175351,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:46:14] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:46:17] local.INFO: TCP Data received {"connection_id":175101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:46:17] local.INFO: Processing buffer {"connection_id":175101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08380ee20012d34c38006aa42c80005005d2a..."} 
[2026-09-09 05:46:17] local.INFO: Packet analysis {"connection_id":175101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:46:17] local.INFO: Extracted packet for processing {"connection_id":175101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08380"} 
[2026-09-09 05:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961563904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912660000,"timestamp_ms":1788912660000,"timestamp_seconds":1788912660,"priority":1,"record_length":96,"hex_timestamp":"000001a08380ee20"} 
[2026-09-09 05:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 05:46:17] 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-09-09 05:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961563904001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961563904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961563904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":175101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:46:17] local.INFO: GPS data processed {"connection_id":175101,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:46:17] local.INFO: Acknowledgment sent {"connection_id":175101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:46:39] local.INFO: TCP Data received {"connection_id":177920,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:46:39] local.INFO: Processing buffer {"connection_id":177920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:46:39] local.INFO: IMEI packet received {"connection_id":177920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":177920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:46:45] local.INFO: TCP Data received {"connection_id":177920,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:46:45] local.INFO: Processing buffer {"connection_id":177920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:46:45] local.INFO: IMEI packet received {"connection_id":177920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":177920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:46:46] local.INFO: TCP Data received {"connection_id":177920,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:46:46] local.INFO: Processing buffer {"connection_id":177920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:46:46] local.INFO: Packet analysis {"connection_id":177920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:46:46] local.INFO: Extracted packet for processing {"connection_id":177920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":177920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:46:46] local.INFO: GPS data processed {"connection_id":177920,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:46:46] local.INFO: Acknowledgment sent {"connection_id":177920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:47:03] local.INFO: TCP Data received {"connection_id":175102,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:03] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:03] local.INFO: IMEI packet received {"connection_id":175102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":175102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:47:17] local.INFO: TCP Data received {"connection_id":177920,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:47:17] local.INFO: Processing buffer {"connection_id":177920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:47:17] local.INFO: Packet analysis {"connection_id":177920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:47:17] local.INFO: Extracted packet for processing {"connection_id":177920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":177920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:47:17] local.INFO: GPS data processed {"connection_id":177920,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:47:17] local.INFO: Acknowledgment sent {"connection_id":177920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:47:25] local.INFO: TCP Data received {"connection_id":175102,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:25] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:25] local.INFO: IMEI packet received {"connection_id":175102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":175102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:47:26] local.INFO: TCP Data received {"connection_id":175102,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:26] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:26] local.INFO: IMEI packet received {"connection_id":175102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":175102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:47:27] local.INFO: TCP Data received {"connection_id":175102,"ip":"117.224.6.119","data_length":1360,"data_hex":"000000000000030f8e0a000001a0838416b80100000000000000000000000000..."} 
[2026-09-09 05:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0838416b80100000000000000000000000000..."} 
[2026-09-09 05:47:27] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0838416b80100000000000000000000000000..."} 
[2026-09-09 05:47:27] local.INFO: Packet analysis {"connection_id":175102,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a08384"} 
[2026-09-09 05:47:27] local.INFO: Extracted packet for processing {"connection_id":175102,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a08384"} 
[2026-09-09 05:47:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 05:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961678848001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2168412897953632259,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788912867000,"timestamp_ms":1788912867000,"timestamp_seconds":1788912867,"priority":1,"record_length":96,"hex_timestamp":"000001a0838416b8"} 
[2026-09-09 05:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:47: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-09-09 05:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 05:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":175102,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 05:47:27] local.INFO: GPS data processed {"connection_id":175102,"processed":0,"errors":0,"total":1} 
[2026-09-09 05:47:27] local.INFO: Acknowledgment sent {"connection_id":175102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:47:27] local.INFO: Packet analysis {"connection_id":175102,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a08383"} 
[2026-09-09 05:47:27] local.INFO: Incomplete packet, waiting for more data {"connection_id":175102,"needed":795,"available":565} 
[2026-09-09 05:47:40] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:47:40] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:47:40] local.INFO: IMEI packet received {"connection_id":175352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":175352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:47:45] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:47:45] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:47:45] local.INFO: IMEI packet received {"connection_id":175352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":175352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:47:45] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:47:45] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:47:45] local.INFO: Packet analysis {"connection_id":175352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:47:45] local.INFO: Extracted packet for processing {"connection_id":175352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:47: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-09-09 05:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":175352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:47:45] local.INFO: GPS data processed {"connection_id":175352,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:47:45] local.INFO: Acknowledgment sent {"connection_id":175352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:47:46] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:46] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:46] local.INFO: IMEI packet received {"connection_id":175103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":175103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:47:47] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:47] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:47] local.INFO: IMEI packet received {"connection_id":175103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":175103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:47:53] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:53] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:47:53] local.INFO: IMEI packet received {"connection_id":175103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":175103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:47:55] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083841aa0012c1dcb400abcfc400368014622..."} 
[2026-09-09 05:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083841aa0012c1dcb400abcfc400368014622..."} 
[2026-09-09 05:47:55] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083841aa0012c1dcb400abcfc400368014622..."} 
[2026-09-09 05:47:55] local.INFO: Packet analysis {"connection_id":175103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08384"} 
[2026-09-09 05:47:55] local.INFO: Extracted packet for processing {"connection_id":175103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08384"} 
[2026-09-09 05:47:55] local.INFO: GPS Element Parsed {"raw_longitude":740150080,"raw_latitude":180157504,"longitude_deg":74.015008,"latitude_deg":18.0157504,"altitude":872,"angle":326,"satellites":34,"speed":16,"hex_longitude":"2c1dcb40","hex_latitude":"0abcfc40","is_valid_coordinates":true} 
[2026-09-09 05:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,247,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788912868000,"timestamp_ms":1788912868000,"timestamp_seconds":1788912868,"priority":1,"record_length":96,"hex_timestamp":"000001a083841aa0"} 
[2026-09-09 05:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:47:55] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-09 05:47: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-09-09 05:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"247":206,"20":2560,"24":16,"16":3892954062127104},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16]} 
[2026-09-09 05:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:47:55] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:47:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"internal_battery_voltage":206,"unknown_20":2560,"ignition":16,"odometer":null}} 
[2026-09-09 05:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":175103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:47:55] local.INFO: GPS data processed {"connection_id":175103,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:47:55] local.INFO: Acknowledgment sent {"connection_id":175103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:47:56] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083846ca8012c1dcb400abcfc400368014622..."} 
[2026-09-09 05:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083846ca8012c1dcb400abcfc400368014622..."} 
[2026-09-09 05:47:56] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083846ca8012c1dcb400abcfc400368014622..."} 
[2026-09-09 05:47:56] local.INFO: Packet analysis {"connection_id":175103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08384"} 
[2026-09-09 05:47:56] local.INFO: Extracted packet for processing {"connection_id":175103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08384"} 
[2026-09-09 05:47:56] local.INFO: GPS Element Parsed {"raw_longitude":740150080,"raw_latitude":180157504,"longitude_deg":74.015008,"latitude_deg":18.0157504,"altitude":872,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2c1dcb40","hex_latitude":"0abcfc40","is_valid_coordinates":true} 
[2026-09-09 05:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961694208001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2146880062236672003,"note":"Value kept but may cause issues"} 
[2026-09-09 05:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788912889000,"timestamp_ms":1788912889000,"timestamp_seconds":1788912889,"priority":1,"record_length":96,"hex_timestamp":"000001a083846ca8"} 
[2026-09-09 05:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 05:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961694208001,"66":27343,"247":206,"20":2560,"24":0,"16":3892954062127104,"44":2146880062236672003},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16,44]} 
[2026-09-09 05:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961694208001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:47:56] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:47:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":2146880062236672003,"description":"Unknown IO ID 44"} 
[2026-09-09 05:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961694208001,"power":27343,"internal_battery_voltage":206,"unknown_20":2560,"ignition":0,"odometer":null,"unknown_44":2146880062236672003}} 
[2026-09-09 05:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":175103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:47:56] local.INFO: GPS data processed {"connection_id":175103,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:47:56] local.INFO: Acknowledgment sent {"connection_id":175103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:48:17] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:48:17] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:48:17] local.INFO: Packet analysis {"connection_id":175352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:48:17] local.INFO: Extracted packet for processing {"connection_id":175352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":175352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:48:17] local.INFO: GPS data processed {"connection_id":175352,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:48:17] local.INFO: Acknowledgment sent {"connection_id":175352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:48:29] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838553200100000000000000000000000000..."} 
[2026-09-09 05:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838553200100000000000000000000000000..."} 
[2026-09-09 05:48:29] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838553200100000000000000000000000000..."} 
[2026-09-09 05:48:29] local.INFO: Packet analysis {"connection_id":175103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:48:29] local.INFO: Extracted packet for processing {"connection_id":175103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:48:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 05:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961699584001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2146880062236672003,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788912948000,"timestamp_ms":1788912948000,"timestamp_seconds":1788912948,"priority":1,"record_length":96,"hex_timestamp":"000001a083855320"} 
[2026-09-09 05:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 05:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":175103,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 05:48:29] local.INFO: GPS data processed {"connection_id":175103,"processed":0,"errors":0,"total":1} 
[2026-09-09 05:48:29] local.INFO: Acknowledgment sent {"connection_id":175103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:48:40] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:48:40] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:48:40] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:48:42] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:48:42] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:48:42] local.INFO: IMEI packet received {"connection_id":176474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":176474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:48:43] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:48:43] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:48:43] local.INFO: IMEI packet received {"connection_id":176474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":176474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:48:45] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:48:45] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:48:45] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:48:46] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:48:46] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:48:46] local.INFO: Packet analysis {"connection_id":176473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:48:46] local.INFO: Extracted packet for processing {"connection_id":176473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":176473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:48:46] local.INFO: GPS data processed {"connection_id":176473,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:48:46] local.INFO: Acknowledgment sent {"connection_id":176473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:48:48] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:48:48] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:48:48] local.INFO: IMEI packet received {"connection_id":176474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":176474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:48:50] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08384c298012c1da8400abcdd30037000d421..."} 
[2026-09-09 05:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08384c298012c1da8400abcdd30037000d421..."} 
[2026-09-09 05:48:50] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08384c298012c1da8400abcdd30037000d421..."} 
[2026-09-09 05:48:50] local.INFO: Packet analysis {"connection_id":176474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08384"} 
[2026-09-09 05:48:50] local.INFO: Extracted packet for processing {"connection_id":176474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08384"} 
[2026-09-09 05:48:50] local.INFO: GPS Element Parsed {"raw_longitude":740141120,"raw_latitude":180149552,"longitude_deg":74.014112,"latitude_deg":18.0149552,"altitude":880,"angle":212,"satellites":33,"speed":16,"hex_longitude":"2c1da840","hex_latitude":"0abcdd30","is_valid_coordinates":true} 
[2026-09-09 05:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3892954062127104,"note":"Value kept but may cause issues"} 
[2026-09-09 05:48:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,247,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788912911000,"timestamp_ms":1788912911000,"timestamp_seconds":1788912911,"priority":1,"record_length":96,"hex_timestamp":"000001a08384c298"} 
[2026-09-09 05:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:48:50] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 05:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"247":206,"20":2560,"24":16,"16":3892954062127104},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,20,24,16]} 
[2026-09-09 05:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:48:50] local.INFO: Unknown IO ID detected {"io_id":20,"value":2560,"description":"Unknown IO ID 20"} 
[2026-09-09 05:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3892954062127104,"km_value":3892954062127.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:48:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"internal_battery_voltage":206,"unknown_20":2560,"ignition":16,"odometer":null}} 
[2026-09-09 05:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":176474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:48:50] local.INFO: GPS data processed {"connection_id":176474,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:48:50] local.INFO: Acknowledgment sent {"connection_id":176474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:49:17] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:49:17] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:49:17] local.INFO: Packet analysis {"connection_id":176473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:49:17] local.INFO: Extracted packet for processing {"connection_id":176473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:49:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":176473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:49:17] local.INFO: GPS data processed {"connection_id":176473,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:49:17] local.INFO: Acknowledgment sent {"connection_id":176473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:49:21] local.INFO: TCP Data received {"connection_id":176474,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08387acb0012c1cad800abca4900378013029..."} 
[2026-09-09 05:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08387acb0012c1cad800abca4900378013029..."} 
[2026-09-09 05:49:21] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08387acb0012c1cad800abca4900378013029..."} 
[2026-09-09 05:49:21] local.INFO: Packet analysis {"connection_id":176474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08387"} 
[2026-09-09 05:49:21] local.INFO: Extracted packet for processing {"connection_id":176474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08387"} 
[2026-09-09 05:49:21] local.INFO: GPS Element Parsed {"raw_longitude":740076928,"raw_latitude":180135056,"longitude_deg":74.0076928,"latitude_deg":18.0135056,"altitude":888,"angle":304,"satellites":41,"speed":23,"hex_longitude":"2c1cad80","hex_latitude":"0abca490","is_valid_coordinates":true} 
[2026-09-09 05:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961753344001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893293364543488,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2067926331263303683,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788913102000,"timestamp_ms":1788913102000,"timestamp_seconds":1788913102,"priority":1,"record_length":96,"hex_timestamp":"000001a08387acb0"} 
[2026-09-09 05:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:49: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-09-09 05:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 05:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961753344001,"66":27571,"234":206,"20":1024,"24":23,"16":3893293364543488,"44":2067926331263303683},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16,44]} 
[2026-09-09 05:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961753344001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:49:21] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:49:21] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893293364543488,"km_value":3893293364543.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":2067926331263303683,"description":"Unknown IO ID 44"} 
[2026-09-09 05:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961753344001,"power":27571,"unknown_234":206,"unknown_20":1024,"ignition":23,"odometer":null,"unknown_44":2067926331263303683}} 
[2026-09-09 05:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":176474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:49:21] local.INFO: GPS data processed {"connection_id":176474,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:49:21] local.INFO: Acknowledgment sent {"connection_id":176474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:49:39] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:49:39] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:49:39] local.INFO: IMEI packet received {"connection_id":175353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":175353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:49:42] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:49:42] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:49:42] local.INFO: IMEI packet received {"connection_id":176475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":176475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:49:45] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:49:45] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:49:45] local.INFO: IMEI packet received {"connection_id":175353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":175353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:49:46] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:49:46] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:49:46] local.INFO: Packet analysis {"connection_id":175353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:49:46] local.INFO: Extracted packet for processing {"connection_id":175353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":175353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:49:46] local.INFO: GPS data processed {"connection_id":175353,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:49:46] local.INFO: Acknowledgment sent {"connection_id":175353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:49:48] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:49:48] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:49:48] local.INFO: IMEI packet received {"connection_id":176475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":176475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:49:50] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08387c038012c1ca1c00abcab300376012229..."} 
[2026-09-09 05:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08387c038012c1ca1c00abcab300376012229..."} 
[2026-09-09 05:49:50] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08387c038012c1ca1c00abcab300376012229..."} 
[2026-09-09 05:49:50] local.INFO: Packet analysis {"connection_id":176475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08387"} 
[2026-09-09 05:49:50] local.INFO: Extracted packet for processing {"connection_id":176475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08387"} 
[2026-09-09 05:49:50] local.INFO: GPS Element Parsed {"raw_longitude":740073920,"raw_latitude":180136752,"longitude_deg":74.007392,"latitude_deg":18.0136752,"altitude":886,"angle":290,"satellites":41,"speed":25,"hex_longitude":"2c1ca1c0","hex_latitude":"0abcab30","is_valid_coordinates":true} 
[2026-09-09 05:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961754112001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893452278333440,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2066448587635855363,"note":"Value kept but may cause issues"} 
[2026-09-09 05:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788913107000,"timestamp_ms":1788913107000,"timestamp_seconds":1788913107,"priority":1,"record_length":96,"hex_timestamp":"000001a08387c038"} 
[2026-09-09 05:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 05:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961754112001,"66":27593,"234":206,"20":1024,"24":25,"16":3893452278333440,"44":2066448587635855363},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16,44]} 
[2026-09-09 05:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961754112001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:49:50] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:49:50] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893452278333440,"km_value":3893452278333.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":2066448587635855363,"description":"Unknown IO ID 44"} 
[2026-09-09 05:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961754112001,"power":27593,"unknown_234":206,"unknown_20":1024,"ignition":25,"odometer":null,"unknown_44":2066448587635855363}} 
[2026-09-09 05:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":176475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:49:50] local.INFO: GPS data processed {"connection_id":176475,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:49:50] local.INFO: Acknowledgment sent {"connection_id":176475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:50:18] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:50:18] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:50:18] local.INFO: Packet analysis {"connection_id":175353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:50:18] local.INFO: Extracted packet for processing {"connection_id":175353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:50: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-09-09 05:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:50:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":175353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:50:18] local.INFO: GPS data processed {"connection_id":175353,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:50:18] local.INFO: Acknowledgment sent {"connection_id":175353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:50:23] local.INFO: TCP Data received {"connection_id":176475,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08387c808012c1c9c800abcac400375010f26..."} 
[2026-09-09 05:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08387c808012c1c9c800abcac400375010f26..."} 
[2026-09-09 05:50:23] local.INFO: Processing buffer {"connection_id":176475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08387c808012c1c9c800abcac400375010f26..."} 
[2026-09-09 05:50:23] local.INFO: Packet analysis {"connection_id":176475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08387"} 
[2026-09-09 05:50:23] local.INFO: Extracted packet for processing {"connection_id":176475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08387"} 
[2026-09-09 05:50:23] local.INFO: GPS Element Parsed {"raw_longitude":740072576,"raw_latitude":180137024,"longitude_deg":74.0072576,"latitude_deg":18.0137024,"altitude":885,"angle":271,"satellites":38,"speed":25,"hex_longitude":"2c1c9c80","hex_latitude":"0abcac40","is_valid_coordinates":true} 
[2026-09-09 05:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961755392001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2063141256659939331,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788913109000,"timestamp_ms":1788913109000,"timestamp_seconds":1788913109,"priority":1,"record_length":96,"hex_timestamp":"000001a08387c808"} 
[2026-09-09 05:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 05:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961755392001,"66":27571,"234":206,"20":1024,"24":25,"16":3893516702842880,"44":2063141256659939331},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16,44]} 
[2026-09-09 05:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961755392001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:50:23] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:50:23] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:50:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":2063141256659939331,"description":"Unknown IO ID 44"} 
[2026-09-09 05:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961755392001,"power":27571,"unknown_234":206,"unknown_20":1024,"ignition":25,"odometer":null,"unknown_44":2063141256659939331}} 
[2026-09-09 05:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":176475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:50:23] local.INFO: GPS data processed {"connection_id":176475,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:50:23] local.INFO: Acknowledgment sent {"connection_id":176475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:50:39] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:50:39] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:50:39] local.INFO: IMEI packet received {"connection_id":176476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":176476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:50:45] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:50:45] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:50:45] local.INFO: IMEI packet received {"connection_id":176476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:50:46] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:50:46] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:50:46] local.INFO: Packet analysis {"connection_id":176476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:50:46] local.INFO: Extracted packet for processing {"connection_id":176476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":176476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:50:46] local.INFO: GPS data processed {"connection_id":176476,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:50:46] local.INFO: Acknowledgment sent {"connection_id":176476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:50:49] local.INFO: TCP Data received {"connection_id":175104,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:50:49] local.INFO: Processing buffer {"connection_id":175104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:50:49] local.INFO: IMEI packet received {"connection_id":175104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":175104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:50:54] local.INFO: TCP Data received {"connection_id":175104,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:50:54] local.INFO: Processing buffer {"connection_id":175104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:50:54] local.INFO: IMEI packet received {"connection_id":175104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":175104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:50:56] local.INFO: TCP Data received {"connection_id":175104,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083881a10012c1c55800abca0b0036d010d28..."} 
[2026-09-09 05:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083881a10012c1c55800abca0b0036d010d28..."} 
[2026-09-09 05:50:56] local.INFO: Processing buffer {"connection_id":175104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083881a10012c1c55800abca0b0036d010d28..."} 
[2026-09-09 05:50:56] local.INFO: Packet analysis {"connection_id":175104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08388"} 
[2026-09-09 05:50:56] local.INFO: Extracted packet for processing {"connection_id":175104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08388"} 
[2026-09-09 05:50:56] local.INFO: GPS Element Parsed {"raw_longitude":740054400,"raw_latitude":180134064,"longitude_deg":74.00544,"latitude_deg":18.0134064,"altitude":877,"angle":269,"satellites":40,"speed":36,"hex_longitude":"2c1c5580","hex_latitude":"0abca0b0","is_valid_coordinates":true} 
[2026-09-09 05:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961755904001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2061663513032278019,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788913130000,"timestamp_ms":1788913130000,"timestamp_seconds":1788913130,"priority":1,"record_length":96,"hex_timestamp":"000001a083881a10"} 
[2026-09-09 05:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 05:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961755904001,"66":27180,"234":206,"20":1024,"24":36,"16":3893516702842880,"44":2061663513032278019},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16,44]} 
[2026-09-09 05:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961755904001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:50:56] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:50:56] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:50:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":2061663513032278019,"description":"Unknown IO ID 44"} 
[2026-09-09 05:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961755904001,"power":27180,"unknown_234":206,"unknown_20":1024,"ignition":36,"odometer":null,"unknown_44":2061663513032278019}} 
[2026-09-09 05:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":175104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:50:56] local.INFO: GPS data processed {"connection_id":175104,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:50:56] local.INFO: Acknowledgment sent {"connection_id":175104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:50:58] local.INFO: TCP Data received {"connection_id":175104,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083886448012c1c11c00abc81e0036300e42b..."} 
[2026-09-09 05:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083886448012c1c11c00abc81e0036300e42b..."} 
[2026-09-09 05:50:58] local.INFO: Processing buffer {"connection_id":175104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083886448012c1c11c00abc81e0036300e42b..."} 
[2026-09-09 05:50:58] local.INFO: Packet analysis {"connection_id":175104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08388"} 
[2026-09-09 05:50:58] local.INFO: Extracted packet for processing {"connection_id":175104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08388"} 
[2026-09-09 05:50:58] local.INFO: GPS Element Parsed {"raw_longitude":740037056,"raw_latitude":180126176,"longitude_deg":74.0037056,"latitude_deg":18.0126176,"altitude":867,"angle":228,"satellites":43,"speed":45,"hex_longitude":"2c1c11c0","hex_latitude":"0abc81e0","is_valid_coordinates":true} 
[2026-09-09 05:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961761280001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2041678789685063683,"note":"Value kept but may cause issues"} 
[2026-09-09 05:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788913149000,"timestamp_ms":1788913149000,"timestamp_seconds":1788913149,"priority":1,"record_length":96,"hex_timestamp":"000001a083886448"} 
[2026-09-09 05:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:50: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-09-09 05:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-09 05:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961761280001,"66":27517,"234":206,"20":1024,"24":45,"16":3893516702842880,"44":2041678789685063683},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16,44]} 
[2026-09-09 05:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961761280001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:50:58] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:50:58] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:50:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":2041678789685063683,"description":"Unknown IO ID 44"} 
[2026-09-09 05:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961761280001,"power":27517,"unknown_234":206,"unknown_20":1024,"ignition":45,"odometer":null,"unknown_44":2041678789685063683}} 
[2026-09-09 05:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":175104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:50:58] local.INFO: GPS data processed {"connection_id":175104,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:50:58] local.INFO: Acknowledgment sent {"connection_id":175104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:51:17] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:51:17] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838585e8012d34c38006aa42c80005005d2b..."} 
[2026-09-09 05:51:17] local.INFO: Packet analysis {"connection_id":176476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:51:17] local.INFO: Extracted packet for processing {"connection_id":176476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08385"} 
[2026-09-09 05:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961640960001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788912961000,"timestamp_ms":1788912961000,"timestamp_seconds":1788912961,"priority":1,"record_length":96,"hex_timestamp":"000001a0838585e8"} 
[2026-09-09 05:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961640960001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961640960001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961640960001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":176476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:51:17] local.INFO: GPS data processed {"connection_id":176476,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:51:17] local.INFO: Acknowledgment sent {"connection_id":176476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:51:39] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:51:39] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:51:39] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:51:40] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:51:40] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:51:40] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:51:42] local.INFO: TCP Data received {"connection_id":176478,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:51:42] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:51:42] local.INFO: IMEI packet received {"connection_id":176478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":176478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:51:45] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:51:45] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:51:45] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:51:46] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:51:46] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:51:46] local.INFO: Packet analysis {"connection_id":176477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:51:46] local.INFO: Extracted packet for processing {"connection_id":176477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":176477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:51:46] local.INFO: GPS data processed {"connection_id":176477,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:51:46] local.INFO: Acknowledgment sent {"connection_id":176477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:51:48] local.INFO: TCP Data received {"connection_id":176478,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:51:48] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:51:48] local.INFO: IMEI packet received {"connection_id":176478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":176478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:51:50] local.INFO: TCP Data received {"connection_id":176478,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08388b650012c1bcc000abc46f0035700e42d..."} 
[2026-09-09 05:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08388b650012c1bcc000abc46f0035700e42d..."} 
[2026-09-09 05:51:50] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08388b650012c1bcc000abc46f0035700e42d..."} 
[2026-09-09 05:51:50] local.INFO: Packet analysis {"connection_id":176478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08388"} 
[2026-09-09 05:51:50] local.INFO: Extracted packet for processing {"connection_id":176478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08388"} 
[2026-09-09 05:51:50] local.INFO: GPS Element Parsed {"raw_longitude":740019200,"raw_latitude":180111088,"longitude_deg":74.00192,"latitude_deg":18.0111088,"altitude":855,"angle":228,"satellites":45,"speed":0,"hex_longitude":"2c1bcc00","hex_latitude":"0abc46f0","is_valid_coordinates":true} 
[2026-09-09 05:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961766144001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2022608860010897411,"note":"Value kept but may cause issues"} 
[2026-09-09 05:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788913170000,"timestamp_ms":1788913170000,"timestamp_seconds":1788913170,"priority":1,"record_length":96,"hex_timestamp":"000001a08388b650"} 
[2026-09-09 05:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 05:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961766144001,"66":27397,"234":206,"20":1024,"24":0,"16":3893516702842880,"44":2022608860010897411},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16,44]} 
[2026-09-09 05:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961766144001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:51:50] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:51:50] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":2022608860010897411,"description":"Unknown IO ID 44"} 
[2026-09-09 05:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961766144001,"power":27397,"unknown_234":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":2022608860010897411}} 
[2026-09-09 05:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":176478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:51:50] local.INFO: GPS data processed {"connection_id":176478,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:51:50] local.INFO: Acknowledgment sent {"connection_id":176478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:52:17] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:52:17] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:52:17] local.INFO: Packet analysis {"connection_id":176477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:52:17] local.INFO: Extracted packet for processing {"connection_id":176477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":176477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:52:17] local.INFO: GPS data processed {"connection_id":176477,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:52:17] local.INFO: Acknowledgment sent {"connection_id":176477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:52:23] local.INFO: TCP Data received {"connection_id":176478,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083899cc80100000000000000000000000000..."} 
[2026-09-09 05:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083899cc80100000000000000000000000000..."} 
[2026-09-09 05:52:23] local.INFO: Processing buffer {"connection_id":176478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083899cc80100000000000000000000000000..."} 
[2026-09-09 05:52:23] local.INFO: Packet analysis {"connection_id":176478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08389"} 
[2026-09-09 05:52:23] local.INFO: Extracted packet for processing {"connection_id":176478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08389"} 
[2026-09-09 05:52:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 05:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961771520001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2002975980381466627,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788913229000,"timestamp_ms":1788913229000,"timestamp_seconds":1788913229,"priority":1,"record_length":96,"hex_timestamp":"000001a083899cc8"} 
[2026-09-09 05:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 05:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":176478,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 05:52:23] local.INFO: GPS data processed {"connection_id":176478,"processed":0,"errors":0,"total":1} 
[2026-09-09 05:52:23] local.INFO: Acknowledgment sent {"connection_id":176478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:52:40] local.INFO: TCP Data received {"connection_id":176479,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:52:40] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:52:40] local.INFO: IMEI packet received {"connection_id":176479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":176479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:52:45] local.INFO: TCP Data received {"connection_id":176479,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:52:45] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:52:45] local.INFO: IMEI packet received {"connection_id":176479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":176479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:52:45] local.INFO: TCP Data received {"connection_id":176479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:52:45] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:52:45] local.INFO: Packet analysis {"connection_id":176479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:52:45] local.INFO: Extracted packet for processing {"connection_id":176479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:52: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-09-09 05:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":176479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:52:45] local.INFO: GPS data processed {"connection_id":176479,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:52:45] local.INFO: Acknowledgment sent {"connection_id":176479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:52:48] local.INFO: TCP Data received {"connection_id":176480,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:52:48] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:52:48] local.INFO: IMEI packet received {"connection_id":176480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":176480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:52:49] local.INFO: TCP Data received {"connection_id":176480,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:52:49] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:52:49] local.INFO: IMEI packet received {"connection_id":176480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":176480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:52:52] local.INFO: TCP Data received {"connection_id":176480,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:52:52] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:52:52] local.INFO: IMEI packet received {"connection_id":176480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":176480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:52:54] local.INFO: TCP Data received {"connection_id":176480,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838923b0012c1b40c00abbd320034800e12e..."} 
[2026-09-09 05:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838923b0012c1b40c00abbd320034800e12e..."} 
[2026-09-09 05:52:54] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838923b0012c1b40c00abbd320034800e12e..."} 
[2026-09-09 05:52:54] local.INFO: Packet analysis {"connection_id":176480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08389"} 
[2026-09-09 05:52:54] local.INFO: Extracted packet for processing {"connection_id":176480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08389"} 
[2026-09-09 05:52:54] local.INFO: GPS Element Parsed {"raw_longitude":739983552,"raw_latitude":180081440,"longitude_deg":73.9983552,"latitude_deg":18.008144,"altitude":840,"angle":225,"satellites":46,"speed":46,"hex_longitude":"2c1b40c0","hex_latitude":"0abbd320","is_valid_coordinates":true} 
[2026-09-09 05:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,234,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788913198000,"timestamp_ms":1788913198000,"timestamp_seconds":1788913198,"priority":1,"record_length":96,"hex_timestamp":"000001a0838923b0"} 
[2026-09-09 05:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:52: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 05:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"234":206,"20":1024,"24":46,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16]} 
[2026-09-09 05:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:52:54] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:52:54] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:52:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_234":206,"unknown_20":1024,"ignition":46,"odometer":null}} 
[2026-09-09 05:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":176480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:52:54] local.INFO: GPS data processed {"connection_id":176480,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:52:54] local.INFO: Acknowledgment sent {"connection_id":176480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:52:59] local.INFO: TCP Data received {"connection_id":176480,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083896a00012c1b11c00abb9310033f00ca2f..."} 
[2026-09-09 05:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083896a00012c1b11c00abb9310033f00ca2f..."} 
[2026-09-09 05:52:59] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083896a00012c1b11c00abb9310033f00ca2f..."} 
[2026-09-09 05:52:59] local.INFO: Packet analysis {"connection_id":176480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08389"} 
[2026-09-09 05:52:59] local.INFO: Extracted packet for processing {"connection_id":176480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08389"} 
[2026-09-09 05:52:59] local.INFO: GPS Element Parsed {"raw_longitude":739971520,"raw_latitude":180065040,"longitude_deg":73.997152,"latitude_deg":18.006504,"altitude":831,"angle":202,"satellites":47,"speed":45,"hex_longitude":"2c1b11c0","hex_latitude":"0abb9310","is_valid_coordinates":true} 
[2026-09-09 05:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961778688001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1963780589866917891,"note":"Value kept but may cause issues"} 
[2026-09-09 05:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788913216000,"timestamp_ms":1788913216000,"timestamp_seconds":1788913216,"priority":1,"record_length":96,"hex_timestamp":"000001a083896a00"} 
[2026-09-09 05:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 05:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961778688001,"66":27615,"234":206,"20":1024,"24":45,"16":3893516702842880,"44":1963780589866917891},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16,44]} 
[2026-09-09 05:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961778688001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:52:59] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:52:59] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:52:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":1963780589866917891,"description":"Unknown IO ID 44"} 
[2026-09-09 05:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961778688001,"power":27615,"unknown_234":206,"unknown_20":1024,"ignition":45,"odometer":null,"unknown_44":1963780589866917891}} 
[2026-09-09 05:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":176480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:52:59] local.INFO: GPS data processed {"connection_id":176480,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:52:59] local.INFO: Acknowledgment sent {"connection_id":176480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:53:17] local.INFO: TCP Data received {"connection_id":176479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:53:17] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:53:17] local.INFO: Packet analysis {"connection_id":176479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:53:17] local.INFO: Extracted packet for processing {"connection_id":176479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":176479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:53:17] local.INFO: GPS data processed {"connection_id":176479,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:53:17] local.INFO: Acknowledgment sent {"connection_id":176479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:53:40] local.INFO: TCP Data received {"connection_id":177921,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:53:40] local.INFO: Processing buffer {"connection_id":177921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:53:40] local.INFO: IMEI packet received {"connection_id":177921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":177921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:53:43] local.INFO: TCP Data received {"connection_id":177922,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:53:43] local.INFO: Processing buffer {"connection_id":177922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:53:43] local.INFO: IMEI packet received {"connection_id":177922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":177922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:53:45] local.INFO: TCP Data received {"connection_id":177921,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:53:45] local.INFO: Processing buffer {"connection_id":177921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:53:45] local.INFO: IMEI packet received {"connection_id":177921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":177921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:53:46] local.INFO: TCP Data received {"connection_id":177921,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:53:46] local.INFO: Processing buffer {"connection_id":177921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:53:46] local.INFO: Packet analysis {"connection_id":177921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:53:46] local.INFO: Extracted packet for processing {"connection_id":177921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":177921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:53:46] local.INFO: GPS data processed {"connection_id":177921,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:53:46] local.INFO: Acknowledgment sent {"connection_id":177921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:53:48] local.INFO: TCP Data received {"connection_id":177922,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:53:48] local.INFO: Processing buffer {"connection_id":177922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:53:48] local.INFO: IMEI packet received {"connection_id":177922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":177922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:53:50] local.INFO: TCP Data received {"connection_id":177922,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08389bc08012c1af5000abb4f50033700cd2f..."} 
[2026-09-09 05:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08389bc08012c1af5000abb4f50033700cd2f..."} 
[2026-09-09 05:53:50] local.INFO: Processing buffer {"connection_id":177922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08389bc08012c1af5000abb4f50033700cd2f..."} 
[2026-09-09 05:53:50] local.INFO: Packet analysis {"connection_id":177922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08389"} 
[2026-09-09 05:53:50] local.INFO: Extracted packet for processing {"connection_id":177922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08389"} 
[2026-09-09 05:53:50] local.INFO: GPS Element Parsed {"raw_longitude":739964160,"raw_latitude":180047696,"longitude_deg":73.996416,"latitude_deg":18.0047696,"altitude":823,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2c1af500","hex_latitude":"0abb4f50","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961783296001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1950551265957318659,"note":"Value kept but may cause issues"} 
[2026-09-09 05:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788913237000,"timestamp_ms":1788913237000,"timestamp_seconds":1788913237,"priority":1,"record_length":96,"hex_timestamp":"000001a08389bc08"} 
[2026-09-09 05:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 05:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961783296001,"66":27430,"234":206,"20":1024,"24":0,"16":3893516702842880,"44":1950551265957318659},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16,44]} 
[2026-09-09 05:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961783296001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:53:50] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:53:50] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":1950551265957318659,"description":"Unknown IO ID 44"} 
[2026-09-09 05:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961783296001,"power":27430,"unknown_234":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1950551265957318659}} 
[2026-09-09 05:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":177922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:53:50] local.INFO: GPS data processed {"connection_id":177922,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:53:50] local.INFO: Acknowledgment sent {"connection_id":177922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:54:17] local.INFO: TCP Data received {"connection_id":177921,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:54:17] local.INFO: Processing buffer {"connection_id":177921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:54:17] local.INFO: Packet analysis {"connection_id":177921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:17] local.INFO: Extracted packet for processing {"connection_id":177921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":177921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:54:17] local.INFO: GPS data processed {"connection_id":177921,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:54:17] local.INFO: Acknowledgment sent {"connection_id":177921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:54:23] local.INFO: TCP Data received {"connection_id":177922,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a0e10012c1ad1c00abb0a00033100cd2e..."} 
[2026-09-09 05:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a0e10012c1ad1c00abb0a00033100cd2e..."} 
[2026-09-09 05:54:23] local.INFO: Processing buffer {"connection_id":177922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a0e10012c1ad1c00abb0a00033100cd2e..."} 
[2026-09-09 05:54:23] local.INFO: Packet analysis {"connection_id":177922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:23] local.INFO: Extracted packet for processing {"connection_id":177922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:23] local.INFO: GPS Element Parsed {"raw_longitude":739955136,"raw_latitude":180029952,"longitude_deg":73.9955136,"latitude_deg":18.0029952,"altitude":817,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2c1ad1c0","hex_latitude":"0abb0a00","is_valid_coordinates":true} 
[2026-09-09 05:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1942458860372447235,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788913258000,"timestamp_ms":1788913258000,"timestamp_seconds":1788913258,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a0e10"} 
[2026-09-09 05:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 05:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961788672001,"66":27691,"234":206,"20":1024,"24":0,"16":3893516702842880,"44":1942458860372447235},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,20,24,16,44]} 
[2026-09-09 05:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:54:23] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-09 05:54:23] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:54:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":1942458860372447235,"description":"Unknown IO ID 44"} 
[2026-09-09 05:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961788672001,"power":27691,"unknown_234":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1942458860372447235}} 
[2026-09-09 05:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":177922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:54:23] local.INFO: GPS data processed {"connection_id":177922,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:54:23] local.INFO: Acknowledgment sent {"connection_id":177922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:54:39] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:54:39] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:54:39] local.INFO: IMEI packet received {"connection_id":175105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":175105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:54:45] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:54:45] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:54:45] local.INFO: IMEI packet received {"connection_id":175105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":175105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:54:46] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:54:46] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:54:46] local.INFO: Packet analysis {"connection_id":175105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:46] local.INFO: Extracted packet for processing {"connection_id":175105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":175105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:54:46] local.INFO: GPS data processed {"connection_id":175105,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:54:46] local.INFO: Acknowledgment sent {"connection_id":175105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:54:49] local.INFO: TCP Data received {"connection_id":175354,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:54:49] local.INFO: Processing buffer {"connection_id":175354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:54:49] local.INFO: IMEI packet received {"connection_id":175354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":175354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:54:54] local.INFO: TCP Data received {"connection_id":175354,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:54:54] local.INFO: Processing buffer {"connection_id":175354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:54:54] local.INFO: IMEI packet received {"connection_id":175354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":175354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:54:57] local.INFO: TCP Data received {"connection_id":175354,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a3cf0012c1ab5c00abacc70032e00c12e..."} 
[2026-09-09 05:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a3cf0012c1ab5c00abacc70032e00c12e..."} 
[2026-09-09 05:54:57] local.INFO: Processing buffer {"connection_id":175354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a3cf0012c1ab5c00abacc70032e00c12e..."} 
[2026-09-09 05:54:57] local.INFO: Packet analysis {"connection_id":175354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:57] local.INFO: Extracted packet for processing {"connection_id":175354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:57] local.INFO: GPS Element Parsed {"raw_longitude":739947968,"raw_latitude":180014192,"longitude_deg":73.9947968,"latitude_deg":18.0014192,"altitude":814,"angle":193,"satellites":46,"speed":37,"hex_longitude":"2c1ab5c0","hex_latitude":"0abacc70","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961794048001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1932536867438854147,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788913270000,"timestamp_ms":1788913270000,"timestamp_seconds":1788913270,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a3cf0"} 
[2026-09-09 05:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-09 05:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961794048001,"66":27593,"235":206,"20":1024,"24":37,"16":3893516702842880,"44":1932536867438854147},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,20,24,16,44]} 
[2026-09-09 05:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961794048001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:54:57] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-09 05:54:57] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:54:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":1932536867438854147,"description":"Unknown IO ID 44"} 
[2026-09-09 05:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961794048001,"power":27593,"unknown_235":206,"unknown_20":1024,"ignition":37,"odometer":null,"unknown_44":1932536867438854147}} 
[2026-09-09 05:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":175354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:54:57] local.INFO: GPS data processed {"connection_id":175354,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:54:57] local.INFO: Acknowledgment sent {"connection_id":175354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:54:59] local.INFO: TCP Data received {"connection_id":175354,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a8ef8012c1aa9000aba7fc0032c00ba2a..."} 
[2026-09-09 05:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a8ef8012c1aa9000aba7fc0032c00ba2a..."} 
[2026-09-09 05:54:59] local.INFO: Processing buffer {"connection_id":175354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a8ef8012c1aa9000aba7fc0032c00ba2a..."} 
[2026-09-09 05:54:59] local.INFO: Packet analysis {"connection_id":175354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:59] local.INFO: Extracted packet for processing {"connection_id":175354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:54:59] local.INFO: GPS Element Parsed {"raw_longitude":739944704,"raw_latitude":179994560,"longitude_deg":73.9944704,"latitude_deg":17.999456,"altitude":812,"angle":186,"satellites":42,"speed":0,"hex_longitude":"2c1aa900","hex_latitude":"0aba7fc0","is_valid_coordinates":true} 
[2026-09-09 05:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961797120001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1924655568086921219,"note":"Value kept but may cause issues"} 
[2026-09-09 05:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788913291000,"timestamp_ms":1788913291000,"timestamp_seconds":1788913291,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a8ef8"} 
[2026-09-09 05:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 05:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961797120001,"66":27430,"235":206,"20":1024,"24":0,"16":3893516702842880,"44":1924655568086921219},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,20,24,16,44]} 
[2026-09-09 05:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961797120001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:54:59] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-09 05:54:59] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:54:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":1924655568086921219,"description":"Unknown IO ID 44"} 
[2026-09-09 05:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961797120001,"power":27430,"unknown_235":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1924655568086921219}} 
[2026-09-09 05:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":175354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:54:59] local.INFO: GPS data processed {"connection_id":175354,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:54:59] local.INFO: Acknowledgment sent {"connection_id":175354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:55:17] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:55:17] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:55:17] local.INFO: Packet analysis {"connection_id":175105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:55:17] local.INFO: Extracted packet for processing {"connection_id":175105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":175105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:55:17] local.INFO: GPS data processed {"connection_id":175105,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:55:17] local.INFO: Acknowledgment sent {"connection_id":175105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:55:39] local.INFO: TCP Data received {"connection_id":176481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:55:39] local.INFO: Processing buffer {"connection_id":176481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:55:39] local.INFO: IMEI packet received {"connection_id":176481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":176481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:55:42] local.INFO: TCP Data received {"connection_id":177923,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:55:42] local.INFO: Processing buffer {"connection_id":177923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:55:42] local.INFO: IMEI packet received {"connection_id":177923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":177923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:55:45] local.INFO: TCP Data received {"connection_id":176481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:55:45] local.INFO: Processing buffer {"connection_id":176481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:55:45] local.INFO: IMEI packet received {"connection_id":176481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":176481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:55:45] local.INFO: TCP Data received {"connection_id":176481,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:55:45] local.INFO: Processing buffer {"connection_id":176481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:55:45] local.INFO: Packet analysis {"connection_id":176481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:55:45] local.INFO: Extracted packet for processing {"connection_id":176481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:55: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-09-09 05:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:55:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":176481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:55:45] local.INFO: GPS data processed {"connection_id":176481,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:55:45] local.INFO: Acknowledgment sent {"connection_id":176481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:55:49] local.INFO: TCP Data received {"connection_id":177923,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:55:49] local.INFO: Processing buffer {"connection_id":177923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:55:49] local.INFO: IMEI packet received {"connection_id":177923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":177923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:55:51] local.INFO: TCP Data received {"connection_id":177923,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838d32c0012c19c2000ab80ce0030f00bf2d..."} 
[2026-09-09 05:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838d32c0012c19c2000ab80ce0030f00bf2d..."} 
[2026-09-09 05:55:51] local.INFO: Processing buffer {"connection_id":177923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838d32c0012c19c2000ab80ce0030f00bf2d..."} 
[2026-09-09 05:55:51] local.INFO: Packet analysis {"connection_id":177923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838d"} 
[2026-09-09 05:55:51] local.INFO: Extracted packet for processing {"connection_id":177923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838d"} 
[2026-09-09 05:55:51] local.INFO: GPS Element Parsed {"raw_longitude":739885568,"raw_latitude":179834080,"longitude_deg":73.9885568,"latitude_deg":17.983408,"altitude":783,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2c19c200","hex_latitude":"0ab80ce0","is_valid_coordinates":true} 
[2026-09-09 05:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961841408001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1863082916890976259,"note":"Value kept but may cause issues"} 
[2026-09-09 05:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788913464000,"timestamp_ms":1788913464000,"timestamp_seconds":1788913464,"priority":1,"record_length":96,"hex_timestamp":"000001a0838d32c0"} 
[2026-09-09 05:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-09 05:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961841408001,"66":27441,"236":206,"20":1024,"24":0,"16":3893516702842880,"44":1863082916890976259},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,20,24,16,44]} 
[2026-09-09 05:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961841408001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:55:51] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-09 05:55:51] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":1863082916890976259,"description":"Unknown IO ID 44"} 
[2026-09-09 05:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961841408001,"power":27441,"unknown_236":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1863082916890976259}} 
[2026-09-09 05:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":177923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:55:51] local.INFO: GPS data processed {"connection_id":177923,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:55:51] local.INFO: Acknowledgment sent {"connection_id":177923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:56:17] local.INFO: TCP Data received {"connection_id":176481,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:56:17] local.INFO: Processing buffer {"connection_id":176481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838a1db0012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:56:17] local.INFO: Packet analysis {"connection_id":176481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:56:17] local.INFO: Extracted packet for processing {"connection_id":176481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838a"} 
[2026-09-09 05:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961718016001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788913262000,"timestamp_ms":1788913262000,"timestamp_seconds":1788913262,"priority":1,"record_length":96,"hex_timestamp":"000001a0838a1db0"} 
[2026-09-09 05:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961718016001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961718016001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961718016001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":176481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:56:17] local.INFO: GPS data processed {"connection_id":176481,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:56:17] local.INFO: Acknowledgment sent {"connection_id":176481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:56:23] local.INFO: TCP Data received {"connection_id":177923,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838e19380100000000000000000000000000..."} 
[2026-09-09 05:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838e19380100000000000000000000000000..."} 
[2026-09-09 05:56:23] local.INFO: Processing buffer {"connection_id":177923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838e19380100000000000000000000000000..."} 
[2026-09-09 05:56:23] local.INFO: Packet analysis {"connection_id":177923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:56:23] local.INFO: Extracted packet for processing {"connection_id":177923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:56:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 05:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961846784001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1856046042467590147,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788913523000,"timestamp_ms":1788913523000,"timestamp_seconds":1788913523,"priority":1,"record_length":96,"hex_timestamp":"000001a0838e1938"} 
[2026-09-09 05:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-09 05:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":177923,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 05:56:23] local.INFO: GPS data processed {"connection_id":177923,"processed":0,"errors":0,"total":1} 
[2026-09-09 05:56:23] local.INFO: Acknowledgment sent {"connection_id":177923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:56:40] local.INFO: TCP Data received {"connection_id":175355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:56:40] local.INFO: Processing buffer {"connection_id":175355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:56:40] local.INFO: IMEI packet received {"connection_id":175355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":175355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:56:45] local.INFO: TCP Data received {"connection_id":175355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:56:45] local.INFO: Processing buffer {"connection_id":175355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:56:45] local.INFO: IMEI packet received {"connection_id":175355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":175355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:56:50] local.INFO: TCP Data received {"connection_id":175355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:56:50] local.INFO: Processing buffer {"connection_id":175355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:56:50] local.INFO: IMEI packet received {"connection_id":175355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":175355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:56:50] local.INFO: TCP Data received {"connection_id":175355,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:56:50] local.INFO: Processing buffer {"connection_id":175355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:56:50] local.INFO: Packet analysis {"connection_id":175355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:56:50] local.INFO: Extracted packet for processing {"connection_id":175355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 05:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:56:50] 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-09-09 05:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:56:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":175355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:56:50] local.INFO: GPS data processed {"connection_id":175355,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:56:50] local.INFO: Acknowledgment sent {"connection_id":175355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:56:56] local.INFO: TCP Data received {"connection_id":175355,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:56:56] local.INFO: Processing buffer {"connection_id":175355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:56:56] local.INFO: Packet analysis {"connection_id":175355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:56:56] local.INFO: Extracted packet for processing {"connection_id":175355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:56:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 05:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05: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-09-09 05:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:56:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:56:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":175355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:56:56] local.INFO: GPS data processed {"connection_id":175355,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:56:56] local.INFO: Acknowledgment sent {"connection_id":175355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:57:39] local.INFO: TCP Data received {"connection_id":177924,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:57:39] local.INFO: Processing buffer {"connection_id":177924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:57:39] local.INFO: IMEI packet received {"connection_id":177924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":177924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:57:45] local.INFO: TCP Data received {"connection_id":177924,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:57:45] local.INFO: Processing buffer {"connection_id":177924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:57:45] local.INFO: IMEI packet received {"connection_id":177924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":177924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:57:46] local.INFO: TCP Data received {"connection_id":177924,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:57:46] local.INFO: Processing buffer {"connection_id":177924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:57:46] local.INFO: Packet analysis {"connection_id":177924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:57:46] local.INFO: Extracted packet for processing {"connection_id":177924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 05:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:57: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-09-09 05:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":177924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:57:46] local.INFO: GPS data processed {"connection_id":177924,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:57:46] local.INFO: Acknowledgment sent {"connection_id":177924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:57:53] local.INFO: TCP Data received {"connection_id":175356,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:57:53] local.INFO: Processing buffer {"connection_id":175356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:57:53] local.INFO: IMEI packet received {"connection_id":175356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":175356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:57:58] local.INFO: TCP Data received {"connection_id":175356,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:57:58] local.INFO: Processing buffer {"connection_id":175356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:57:58] local.INFO: IMEI packet received {"connection_id":175356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":175356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:58:01] local.INFO: TCP Data received {"connection_id":175356,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838da020012c19acc00ab758c0030400b92f..."} 
[2026-09-09 05:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838da020012c19acc00ab758c0030400b92f..."} 
[2026-09-09 05:58:01] local.INFO: Processing buffer {"connection_id":175356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838da020012c19acc00ab758c0030400b92f..."} 
[2026-09-09 05:58:01] local.INFO: Packet analysis {"connection_id":175356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838d"} 
[2026-09-09 05:58:01] local.INFO: Extracted packet for processing {"connection_id":175356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838d"} 
[2026-09-09 05:58:01] local.INFO: GPS Element Parsed {"raw_longitude":739880128,"raw_latitude":179787968,"longitude_deg":73.9880128,"latitude_deg":17.9787968,"altitude":772,"angle":185,"satellites":47,"speed":55,"hex_longitude":"2c19acc0","hex_latitude":"0ab758c0","is_valid_coordinates":true} 
[2026-09-09 05:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:58:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,236,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 05:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788913492000,"timestamp_ms":1788913492000,"timestamp_seconds":1788913492,"priority":1,"record_length":96,"hex_timestamp":"000001a0838da020"} 
[2026-09-09 05:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 05: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 05:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"236":206,"20":1024,"24":55,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,20,24,16]} 
[2026-09-09 05:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 05:58:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-09 05:58:01] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:58:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"unknown_236":206,"unknown_20":1024,"ignition":55,"odometer":null}} 
[2026-09-09 05:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":175356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:58:01] local.INFO: GPS data processed {"connection_id":175356,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:58:01] local.INFO: Acknowledgment sent {"connection_id":175356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:58:17] local.INFO: TCP Data received {"connection_id":177924,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:58:17] local.INFO: Processing buffer {"connection_id":177924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:58:17] local.INFO: Packet analysis {"connection_id":177924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:58:17] local.INFO: Extracted packet for processing {"connection_id":177924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 05:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":177924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:58:17] local.INFO: GPS data processed {"connection_id":177924,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:58:17] local.INFO: Acknowledgment sent {"connection_id":177924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:58:39] local.INFO: TCP Data received {"connection_id":177925,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:58:39] local.INFO: Processing buffer {"connection_id":177925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:58:39] local.INFO: IMEI packet received {"connection_id":177925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":177925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:58:45] local.INFO: TCP Data received {"connection_id":177925,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:58:45] local.INFO: Processing buffer {"connection_id":177925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:58:45] local.INFO: IMEI packet received {"connection_id":177925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":177925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:58:46] local.INFO: TCP Data received {"connection_id":177925,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:58:46] local.INFO: Processing buffer {"connection_id":177925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:58:46] local.INFO: Packet analysis {"connection_id":177925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:58:46] local.INFO: Extracted packet for processing {"connection_id":177925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 05:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":177925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:58:46] local.INFO: GPS data processed {"connection_id":177925,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:58:46] local.INFO: Acknowledgment sent {"connection_id":177925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:58:48] local.INFO: TCP Data received {"connection_id":175357,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:58:48] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:58:48] local.INFO: IMEI packet received {"connection_id":175357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 05:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":175357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:58:53] local.INFO: TCP Data received {"connection_id":175357,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:58:53] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 05:58:53] local.INFO: IMEI packet received {"connection_id":175357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 05:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":175357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:59:18] local.INFO: TCP Data received {"connection_id":177925,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:59:18] local.INFO: Processing buffer {"connection_id":177925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:59:18] local.INFO: Packet analysis {"connection_id":177925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:59:18] local.INFO: Extracted packet for processing {"connection_id":177925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 05:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:59: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-09-09 05:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:59: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-09-09 05:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":177925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:59:18] local.INFO: GPS data processed {"connection_id":177925,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:59:18] local.INFO: Acknowledgment sent {"connection_id":177925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:59:36] local.INFO: TCP Data received {"connection_id":175357,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0838df228012c19a3800ab6fda0030100ba2c..."} 
[2026-09-09 05:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838df228012c19a3800ab6fda0030100ba2c..."} 
[2026-09-09 05:59:36] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838df228012c19a3800ab6fda0030100ba2c..."} 
[2026-09-09 05:59:36] local.INFO: Packet analysis {"connection_id":175357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838d"} 
[2026-09-09 05:59:36] local.INFO: Extracted packet for processing {"connection_id":175357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838d"} 
[2026-09-09 05:59:36] local.INFO: GPS Element Parsed {"raw_longitude":739877760,"raw_latitude":179764640,"longitude_deg":73.987776,"latitude_deg":17.976464,"altitude":769,"angle":186,"satellites":44,"speed":0,"hex_longitude":"2c19a380","hex_latitude":"0ab6fda0","is_valid_coordinates":true} 
[2026-09-09 05: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-09-09 05:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961853952001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 05:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1850064699200684035,"note":"Value kept but may cause issues"} 
[2026-09-09 05:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788913513000,"timestamp_ms":1788913513000,"timestamp_seconds":1788913513,"priority":1,"record_length":96,"hex_timestamp":"000001a0838df228"} 
[2026-09-09 05:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:59: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-09-09 05: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 05:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05: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-09-09 05:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 05:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 05:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 05:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961853952001,"66":27517,"236":206,"20":1024,"24":0,"16":3893516702842880,"44":1850064699200684035},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,20,24,16,44]} 
[2026-09-09 05:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 05:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 05:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961853952001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:59:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-09 05:59:36] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 05:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":1850064699200684035,"description":"Unknown IO ID 44"} 
[2026-09-09 05:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961853952001,"power":27517,"unknown_236":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1850064699200684035}} 
[2026-09-09 05:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":175357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:59:36] local.INFO: GPS data processed {"connection_id":175357,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:59:36] local.INFO: Acknowledgment sent {"connection_id":175357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 05:59:39] local.INFO: TCP Data received {"connection_id":177926,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:59:39] local.INFO: Processing buffer {"connection_id":177926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:59:39] local.INFO: IMEI packet received {"connection_id":177926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 05:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":177926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 05:59:45] local.INFO: TCP Data received {"connection_id":177926,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:59:45] local.INFO: Processing buffer {"connection_id":177926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 05:59:45] local.INFO: IMEI packet received {"connection_id":177926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 05:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":177926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 05:59:46] local.INFO: TCP Data received {"connection_id":177926,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:59:46] local.INFO: Processing buffer {"connection_id":177926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 05:59:46] local.INFO: Packet analysis {"connection_id":177926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:59:46] local.INFO: Extracted packet for processing {"connection_id":177926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 05:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 05:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 05:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 05:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 05:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 05:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 05:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 05:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 05:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 05:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 05:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 05:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 05:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 05:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 05:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 05:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 05:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 05:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 05:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 05:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 05:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 05:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 05:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 05:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 05:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 05:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 05:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 05:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 05:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":177926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 05:59:46] local.INFO: GPS data processed {"connection_id":177926,"processed":1,"errors":0,"total":1} 
[2026-09-09 05:59:46] local.INFO: Acknowledgment sent {"connection_id":177926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:00:02] local.INFO: TCP Data received {"connection_id":175357,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839149a00100000000000000000000000000..."} 
[2026-09-09 06:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839149a00100000000000000000000000000..."} 
[2026-09-09 06:00:02] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839149a00100000000000000000000000000..."} 
[2026-09-09 06:00:02] local.INFO: Packet analysis {"connection_id":175357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08391"} 
[2026-09-09 06:00:02] local.INFO: Extracted packet for processing {"connection_id":175357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08391"} 
[2026-09-09 06:00:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1789758685377323010,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788913732000,"timestamp_ms":1788913732000,"timestamp_seconds":1788913732,"priority":1,"record_length":96,"hex_timestamp":"000001a0839149a0"} 
[2026-09-09 06:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:00: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-09-09 06: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 06:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":175357,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:00:02] local.INFO: GPS data processed {"connection_id":175357,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:00:02] local.INFO: Acknowledgment sent {"connection_id":175357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:00:20] local.INFO: TCP Data received {"connection_id":177926,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 06:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 06:00:20] local.INFO: Processing buffer {"connection_id":177926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 06:00:20] local.INFO: Packet analysis {"connection_id":177926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 06:00:20] local.INFO: Extracted packet for processing {"connection_id":177926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 06:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 06:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:00:20] 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-09-09 06:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":177926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:00:20] local.INFO: GPS data processed {"connection_id":177926,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:00:20] local.INFO: Acknowledgment sent {"connection_id":177926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:00:45] local.INFO: TCP Data received {"connection_id":176482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:00:45] local.INFO: Processing buffer {"connection_id":176482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:00:45] local.INFO: IMEI packet received {"connection_id":176482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":176482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:00:50] local.INFO: TCP Data received {"connection_id":176482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:00:50] local.INFO: Processing buffer {"connection_id":176482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:00:50] local.INFO: IMEI packet received {"connection_id":176482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":176482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:00:51] local.INFO: TCP Data received {"connection_id":176482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 06:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 06:00:51] local.INFO: Processing buffer {"connection_id":176482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 06:00:51] local.INFO: Packet analysis {"connection_id":176482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 06:00:51] local.INFO: Extracted packet for processing {"connection_id":176482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 06:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 06:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":176482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:00:51] local.INFO: GPS data processed {"connection_id":176482,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:00:51] local.INFO: Acknowledgment sent {"connection_id":176482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:00:56] local.INFO: TCP Data received {"connection_id":176482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 06:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 06:00:56] local.INFO: Processing buffer {"connection_id":176482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0838eb578012d34c38006aa42c80005005d2c..."} 
[2026-09-09 06:00:56] local.INFO: Packet analysis {"connection_id":176482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 06:00:56] local.INFO: Extracted packet for processing {"connection_id":176482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0838e"} 
[2026-09-09 06:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961795072001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788913563000,"timestamp_ms":1788913563000,"timestamp_seconds":1788913563,"priority":1,"record_length":96,"hex_timestamp":"000001a0838eb578"} 
[2026-09-09 06:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961795072001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961795072001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:00:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:00:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961795072001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":176482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:00:56] local.INFO: GPS data processed {"connection_id":176482,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:00:56] local.INFO: Acknowledgment sent {"connection_id":176482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:01:40] local.INFO: TCP Data received {"connection_id":175358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:01:40] local.INFO: Processing buffer {"connection_id":175358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:01:40] local.INFO: IMEI packet received {"connection_id":175358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":175358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:01:41] local.INFO: TCP Data received {"connection_id":175358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:01:41] local.INFO: Processing buffer {"connection_id":175358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:01:41] local.INFO: IMEI packet received {"connection_id":175358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":175358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:01:42] local.INFO: TCP Data received {"connection_id":175358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:01:42] local.INFO: Processing buffer {"connection_id":175358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:01:42] local.INFO: Packet analysis {"connection_id":175358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:01:42] local.INFO: Extracted packet for processing {"connection_id":175358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 06:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:01: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-09-09 06:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":175358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:01:42] local.INFO: GPS data processed {"connection_id":175358,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:01:42] local.INFO: Acknowledgment sent {"connection_id":175358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:01:56] local.INFO: TCP Data received {"connection_id":175359,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:01:56] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:01:56] local.INFO: IMEI packet received {"connection_id":175359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":175359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:01:57] local.INFO: TCP Data received {"connection_id":175359,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:01:57] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:01:57] local.INFO: IMEI packet received {"connection_id":175359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":175359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:02:02] local.INFO: TCP Data received {"connection_id":175359,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:02] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:02] local.INFO: IMEI packet received {"connection_id":175359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":175359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:02:03] local.INFO: TCP Data received {"connection_id":175359,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08390cca0012c187e800ab2f58002e900d02e..."} 
[2026-09-09 06:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08390cca0012c187e800ab2f58002e900d02e..."} 
[2026-09-09 06:02:03] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08390cca0012c187e800ab2f58002e900d02e..."} 
[2026-09-09 06:02:03] local.INFO: Packet analysis {"connection_id":175359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08390"} 
[2026-09-09 06:02:03] local.INFO: Extracted packet for processing {"connection_id":175359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08390"} 
[2026-09-09 06:02:03] local.INFO: GPS Element Parsed {"raw_longitude":739802752,"raw_latitude":179500416,"longitude_deg":73.9802752,"latitude_deg":17.9500416,"altitude":745,"angle":208,"satellites":46,"speed":57,"hex_longitude":"2c187e80","hex_latitude":"0ab2f580","is_valid_coordinates":true} 
[2026-09-09 06:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788913700000,"timestamp_ms":1788913700000,"timestamp_seconds":1788913700,"priority":1,"record_length":96,"hex_timestamp":"000001a08390cca0"} 
[2026-09-09 06:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:02: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":152,"data_length":795,"current_offset":136} 
[2026-09-09 06:02: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-09-09 06:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"162":206,"20":1024,"24":57,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,20,24,16]} 
[2026-09-09 06:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:02:03] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-09 06:02:03] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:02:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_162":206,"unknown_20":1024,"ignition":57,"odometer":null}} 
[2026-09-09 06:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":175359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:02:03] local.INFO: GPS data processed {"connection_id":175359,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:02:03] local.INFO: Acknowledgment sent {"connection_id":175359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:02:14] local.INFO: TCP Data received {"connection_id":175358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:02:14] local.INFO: Processing buffer {"connection_id":175358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:02:14] local.INFO: Packet analysis {"connection_id":175358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:02:14] local.INFO: Extracted packet for processing {"connection_id":175358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 06:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:02:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":175358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:02:14] local.INFO: GPS data processed {"connection_id":175358,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:02:14] local.INFO: Acknowledgment sent {"connection_id":175358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:02:39] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:02:39] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:02:39] local.INFO: IMEI packet received {"connection_id":175360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":175360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:02:42] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:42] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:42] local.INFO: IMEI packet received {"connection_id":175106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":175106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:02:45] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:02:45] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:02:45] local.INFO: IMEI packet received {"connection_id":175360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":175360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:02:45] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:02:45] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:02:45] local.INFO: Packet analysis {"connection_id":175360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:02:45] local.INFO: Extracted packet for processing {"connection_id":175360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 06:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:02: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-09-09 06:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":175360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:02:46] local.INFO: GPS data processed {"connection_id":175360,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:02:46] local.INFO: Acknowledgment sent {"connection_id":175360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:02:47] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:47] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:47] local.INFO: IMEI packet received {"connection_id":175106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":175106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:02:50] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:50] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:02:50] local.INFO: IMEI packet received {"connection_id":175106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":175106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:02:51] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839383f0012c17c0800aaf398002e200ba2c..."} 
[2026-09-09 06:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839383f0012c17c0800aaf398002e200ba2c..."} 
[2026-09-09 06:02:51] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839383f0012c17c0800aaf398002e200ba2c..."} 
[2026-09-09 06:02:51] local.INFO: Packet analysis {"connection_id":175106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:02:51] local.INFO: Extracted packet for processing {"connection_id":175106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:02:51] local.INFO: GPS Element Parsed {"raw_longitude":739754112,"raw_latitude":179255680,"longitude_deg":73.9754112,"latitude_deg":17.925568,"altitude":738,"angle":186,"satellites":44,"speed":57,"hex_longitude":"2c17c080","hex_latitude":"0aaf3980","is_valid_coordinates":true} 
[2026-09-09 06:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,141,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788913878000,"timestamp_ms":1788913878000,"timestamp_seconds":1788913878,"priority":1,"record_length":96,"hex_timestamp":"000001a0839383f0"} 
[2026-09-09 06:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 06:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27615,"141":206,"20":1024,"24":57,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16]} 
[2026-09-09 06:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:02:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:02:51] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:02:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27615,"unknown_141":206,"unknown_20":1024,"ignition":57,"odometer":null}} 
[2026-09-09 06:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":175106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:02:51] local.INFO: GPS data processed {"connection_id":175106,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:02:51] local.INFO: Acknowledgment sent {"connection_id":175106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:02:52] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08393d5f8012c17b6000aaee37002e600b92d..."} 
[2026-09-09 06:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08393d5f8012c17b6000aaee37002e600b92d..."} 
[2026-09-09 06:02:52] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08393d5f8012c17b6000aaee37002e600b92d..."} 
[2026-09-09 06:02:52] local.INFO: Packet analysis {"connection_id":175106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:02:52] local.INFO: Extracted packet for processing {"connection_id":175106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:02:52] local.INFO: GPS Element Parsed {"raw_longitude":739751424,"raw_latitude":179233648,"longitude_deg":73.9751424,"latitude_deg":17.9233648,"altitude":742,"angle":185,"satellites":45,"speed":0,"hex_longitude":"2c17b600","hex_latitude":"0aaee370","is_valid_coordinates":true} 
[2026-09-09 06:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961952768001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1711508641778597890,"note":"Value kept but may cause issues"} 
[2026-09-09 06:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788913899000,"timestamp_ms":1788913899000,"timestamp_seconds":1788913899,"priority":1,"record_length":96,"hex_timestamp":"000001a08393d5f8"} 
[2026-09-09 06:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 06:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961952768001,"66":27604,"141":206,"20":1024,"24":0,"16":3893516702842880,"44":1711508641778597890},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16,44]} 
[2026-09-09 06:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961952768001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:02:52] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:02:52] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:02:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":1711508641778597890,"description":"Unknown IO ID 44"} 
[2026-09-09 06:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961952768001,"power":27604,"unknown_141":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1711508641778597890}} 
[2026-09-09 06:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":175106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:02:53] local.INFO: GPS data processed {"connection_id":175106,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:02:53] local.INFO: Acknowledgment sent {"connection_id":175106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:03:17] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:03:17] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:03:17] local.INFO: Packet analysis {"connection_id":175360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:03:17] local.INFO: Extracted packet for processing {"connection_id":175360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 06:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":175360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:03:17] local.INFO: GPS data processed {"connection_id":175360,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:03:17] local.INFO: Acknowledgment sent {"connection_id":175360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:03:28] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08394bc700100000000000000000000000000..."} 
[2026-09-09 06:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08394bc700100000000000000000000000000..."} 
[2026-09-09 06:03:28] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08394bc700100000000000000000000000000..."} 
[2026-09-09 06:03:28] local.INFO: Packet analysis {"connection_id":175106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08394"} 
[2026-09-09 06:03:28] local.INFO: Extracted packet for processing {"connection_id":175106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08394"} 
[2026-09-09 06:03:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961958144001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1708553154517495810,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788913958000,"timestamp_ms":1788913958000,"timestamp_seconds":1788913958,"priority":1,"record_length":96,"hex_timestamp":"000001a08394bc70"} 
[2026-09-09 06:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:03: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-09-09 06:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 06:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":175106,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:03:28] local.INFO: GPS data processed {"connection_id":175106,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:03:28] local.INFO: Acknowledgment sent {"connection_id":175106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:03:39] local.INFO: TCP Data received {"connection_id":177927,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:03:39] local.INFO: Processing buffer {"connection_id":177927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:03:39] local.INFO: IMEI packet received {"connection_id":177927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":177927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:03:45] local.INFO: TCP Data received {"connection_id":177927,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:03:45] local.INFO: Processing buffer {"connection_id":177927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:03:45] local.INFO: IMEI packet received {"connection_id":177927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":177927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:03:46] local.INFO: TCP Data received {"connection_id":177927,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:03:46] local.INFO: Processing buffer {"connection_id":177927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:03:46] local.INFO: Packet analysis {"connection_id":177927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:03:46] local.INFO: Extracted packet for processing {"connection_id":177927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 06:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 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-09-09 06:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 06:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":177927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:03:46] local.INFO: GPS data processed {"connection_id":177927,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:03:46] local.INFO: Acknowledgment sent {"connection_id":177927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:03:49] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:03:49] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:03:49] local.INFO: IMEI packet received {"connection_id":176484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":176484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:03:50] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:03:50] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:03:50] local.INFO: IMEI packet received {"connection_id":176484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":176484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:03:54] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:03:54] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:03:54] local.INFO: IMEI packet received {"connection_id":176484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":176484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:03:56] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083944358012c17a7400aae200002d500b92c..."} 
[2026-09-09 06:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083944358012c17a7400aae200002d500b92c..."} 
[2026-09-09 06:03:56] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083944358012c17a7400aae200002d500b92c..."} 
[2026-09-09 06:03:56] local.INFO: Packet analysis {"connection_id":176484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08394"} 
[2026-09-09 06:03:56] local.INFO: Extracted packet for processing {"connection_id":176484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08394"} 
[2026-09-09 06:03:56] local.INFO: GPS Element Parsed {"raw_longitude":739747648,"raw_latitude":179183616,"longitude_deg":73.9747648,"latitude_deg":17.9183616,"altitude":725,"angle":185,"satellites":44,"speed":69,"hex_longitude":"2c17a740","hex_latitude":"0aae2000","is_valid_coordinates":true} 
[2026-09-09 06:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,141,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788913927000,"timestamp_ms":1788913927000,"timestamp_seconds":1788913927,"priority":1,"record_length":96,"hex_timestamp":"000001a083944358"} 
[2026-09-09 06:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 06:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"141":206,"20":1024,"24":69,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16]} 
[2026-09-09 06:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:03:56] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:03:56] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:03:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_141":206,"unknown_20":1024,"ignition":69,"odometer":null}} 
[2026-09-09 06:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":176484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:03:56] local.INFO: GPS data processed {"connection_id":176484,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:03:56] local.INFO: Acknowledgment sent {"connection_id":176484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:03:59] local.INFO: TCP Data received {"connection_id":176484,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839529d00100000000000000000000000000..."} 
[2026-09-09 06:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839529d00100000000000000000000000000..."} 
[2026-09-09 06:03:59] local.INFO: Processing buffer {"connection_id":176484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839529d00100000000000000000000000000..."} 
[2026-09-09 06:03:59] local.INFO: Packet analysis {"connection_id":176484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:03:59] local.INFO: Extracted packet for processing {"connection_id":176484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961965312001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1704401398598205442,"note":"Value kept but may cause issues"} 
[2026-09-09 06:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788913986000,"timestamp_ms":1788913986000,"timestamp_seconds":1788913986,"priority":1,"record_length":96,"hex_timestamp":"000001a0839529d0"} 
[2026-09-09 06:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 06:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":176484,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:03:59] local.INFO: GPS data processed {"connection_id":176484,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:03:59] local.INFO: Acknowledgment sent {"connection_id":176484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:04:18] local.INFO: TCP Data received {"connection_id":177927,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:04:18] local.INFO: Processing buffer {"connection_id":177927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:04:18] local.INFO: Packet analysis {"connection_id":177927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:04:18] local.INFO: Extracted packet for processing {"connection_id":177927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 06:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:04: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-09-09 06:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:04:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":177927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:04:18] local.INFO: GPS data processed {"connection_id":177927,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:04:18] local.INFO: Acknowledgment sent {"connection_id":177927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:04:43] local.INFO: TCP Data received {"connection_id":177929,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:04:43] local.INFO: Processing buffer {"connection_id":177929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:04:43] local.INFO: IMEI packet received {"connection_id":177929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":177929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:04:45] local.INFO: TCP Data received {"connection_id":177928,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:04:45] local.INFO: Processing buffer {"connection_id":177928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:04:45] local.INFO: IMEI packet received {"connection_id":177928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":177928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:04:48] local.INFO: TCP Data received {"connection_id":177929,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:04:48] local.INFO: Processing buffer {"connection_id":177929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:04:48] local.INFO: IMEI packet received {"connection_id":177929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":177929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:04:50] local.INFO: TCP Data received {"connection_id":177928,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:04:50] local.INFO: Processing buffer {"connection_id":177928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:04:50] local.INFO: IMEI packet received {"connection_id":177928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":177928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:04:51] local.INFO: TCP Data received {"connection_id":177928,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:04:51] local.INFO: Processing buffer {"connection_id":177928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:04:51] local.INFO: Packet analysis {"connection_id":177928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:04:51] local.INFO: Extracted packet for processing {"connection_id":177928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 06:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:04:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":177928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:04:51] local.INFO: GPS data processed {"connection_id":177928,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:04:51] local.INFO: Acknowledgment sent {"connection_id":177928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:04:51] local.INFO: TCP Data received {"connection_id":177929,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08394bc70012c1789c00aad600002cf00c62d..."} 
[2026-09-09 06:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08394bc70012c1789c00aad600002cf00c62d..."} 
[2026-09-09 06:04:51] local.INFO: Processing buffer {"connection_id":177929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08394bc70012c1789c00aad600002cf00c62d..."} 
[2026-09-09 06:04:51] local.INFO: Packet analysis {"connection_id":177929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08394"} 
[2026-09-09 06:04:51] local.INFO: Extracted packet for processing {"connection_id":177929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08394"} 
[2026-09-09 06:04:51] local.INFO: GPS Element Parsed {"raw_longitude":739740096,"raw_latitude":179134464,"longitude_deg":73.9740096,"latitude_deg":17.9134464,"altitude":719,"angle":198,"satellites":45,"speed":59,"hex_longitude":"2c1789c0","hex_latitude":"0aad6000","is_valid_coordinates":true} 
[2026-09-09 06:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,141,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788913958000,"timestamp_ms":1788913958000,"timestamp_seconds":1788913958,"priority":1,"record_length":96,"hex_timestamp":"000001a08394bc70"} 
[2026-09-09 06:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 06:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27713,"141":206,"20":1024,"24":59,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16]} 
[2026-09-09 06:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:04:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:04:51] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:04:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27713,"unknown_141":206,"unknown_20":1024,"ignition":59,"odometer":null}} 
[2026-09-09 06:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":177929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:04:51] local.INFO: GPS data processed {"connection_id":177929,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:04:51] local.INFO: Acknowledgment sent {"connection_id":177929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:04:55] local.INFO: TCP Data received {"connection_id":177928,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:04:55] local.INFO: Processing buffer {"connection_id":177928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:04:55] local.INFO: Packet analysis {"connection_id":177928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:04:55] local.INFO: Extracted packet for processing {"connection_id":177928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:04:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 06:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:04:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:04:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":177928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:04:55] local.INFO: GPS data processed {"connection_id":177928,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:04:55] local.INFO: Acknowledgment sent {"connection_id":177928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:05:24] local.INFO: TCP Data received {"connection_id":177929,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083950e78012c176a400aad07b002ca00c72e..."} 
[2026-09-09 06:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083950e78012c176a400aad07b002ca00c72e..."} 
[2026-09-09 06:05:24] local.INFO: Processing buffer {"connection_id":177929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083950e78012c176a400aad07b002ca00c72e..."} 
[2026-09-09 06:05:24] local.INFO: Packet analysis {"connection_id":177929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:05:24] local.INFO: Extracted packet for processing {"connection_id":177929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:05:24] local.INFO: GPS Element Parsed {"raw_longitude":739732032,"raw_latitude":179111856,"longitude_deg":73.9732032,"latitude_deg":17.9111856,"altitude":714,"angle":199,"satellites":46,"speed":0,"hex_longitude":"2c176a40","hex_latitude":"0aad07b0","is_valid_coordinates":true} 
[2026-09-09 06:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961973248001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1696097886772658178,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788913979000,"timestamp_ms":1788913979000,"timestamp_seconds":1788913979,"priority":1,"record_length":96,"hex_timestamp":"000001a083950e78"} 
[2026-09-09 06:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 06:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961973248001,"66":27691,"141":206,"20":1024,"24":0,"16":3893516702842880,"44":1696097886772658178},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16,44]} 
[2026-09-09 06:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961973248001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:05:24] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:05:24] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:05:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":1696097886772658178,"description":"Unknown IO ID 44"} 
[2026-09-09 06:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961973248001,"power":27691,"unknown_141":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1696097886772658178}} 
[2026-09-09 06:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":177929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:05:24] local.INFO: GPS data processed {"connection_id":177929,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:05:24] local.INFO: Acknowledgment sent {"connection_id":177929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:05:40] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:05:40] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:05:40] local.INFO: IMEI packet received {"connection_id":176485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":176485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:05:42] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:05:42] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:05:42] local.INFO: IMEI packet received {"connection_id":177930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":177930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:05:45] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:05:45] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:05:45] local.INFO: IMEI packet received {"connection_id":176485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":176485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:05:45] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:05:45] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:05:45] local.INFO: Packet analysis {"connection_id":176485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:05:45] local.INFO: Extracted packet for processing {"connection_id":176485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 06:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:05: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-09-09 06:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:05:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":176485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:05:45] local.INFO: GPS data processed {"connection_id":176485,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:05:45] local.INFO: Acknowledgment sent {"connection_id":176485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:05:46] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:05:46] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:05:46] local.INFO: IMEI packet received {"connection_id":177930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":177930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:05:47] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:05:47] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:05:47] local.INFO: IMEI packet received {"connection_id":177930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":177930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:05:48] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083953970012c1754000aacac7002c500b82e..."} 
[2026-09-09 06:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083953970012c1754000aacac7002c500b82e..."} 
[2026-09-09 06:05:48] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083953970012c1754000aacac7002c500b82e..."} 
[2026-09-09 06:05:48] local.INFO: Packet analysis {"connection_id":177930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:05:48] local.INFO: Extracted packet for processing {"connection_id":177930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:05:48] local.INFO: GPS Element Parsed {"raw_longitude":739726336,"raw_latitude":179088496,"longitude_deg":73.9726336,"latitude_deg":17.9088496,"altitude":709,"angle":184,"satellites":46,"speed":59,"hex_longitude":"2c175400","hex_latitude":"0aacac70","is_valid_coordinates":true} 
[2026-09-09 06:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961978624001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1687231425000484866,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788913990000,"timestamp_ms":1788913990000,"timestamp_seconds":1788913990,"priority":1,"record_length":96,"hex_timestamp":"000001a083953970"} 
[2026-09-09 06:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-09 06:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961978624001,"66":27571,"141":206,"20":1024,"24":59,"16":3893516702842880,"44":1687231425000484866},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16,44]} 
[2026-09-09 06:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961978624001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:05:48] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:05:48] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":1687231425000484866,"description":"Unknown IO ID 44"} 
[2026-09-09 06:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961978624001,"power":27571,"unknown_141":206,"unknown_20":1024,"ignition":59,"odometer":null,"unknown_44":1687231425000484866}} 
[2026-09-09 06:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":177930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:05:48] local.INFO: GPS data processed {"connection_id":177930,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:05:48] local.INFO: Acknowledgment sent {"connection_id":177930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:05:53] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083958b78012c174c400aac50d002bf00b92d..."} 
[2026-09-09 06:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083958b78012c174c400aac50d002bf00b92d..."} 
[2026-09-09 06:05:53] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083958b78012c174c400aac50d002bf00b92d..."} 
[2026-09-09 06:05:53] local.INFO: Packet analysis {"connection_id":177930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:05:53] local.INFO: Extracted packet for processing {"connection_id":177930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:05:53] local.INFO: GPS Element Parsed {"raw_longitude":739724352,"raw_latitude":179065040,"longitude_deg":73.9724352,"latitude_deg":17.906504,"altitude":703,"angle":185,"satellites":45,"speed":0,"hex_longitude":"2c174c40","hex_latitude":"0aac50d0","is_valid_coordinates":true} 
[2026-09-09 06:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961981440001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1680968606762692610,"note":"Value kept but may cause issues"} 
[2026-09-09 06:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788914011000,"timestamp_ms":1788914011000,"timestamp_seconds":1788914011,"priority":1,"record_length":96,"hex_timestamp":"000001a083958b78"} 
[2026-09-09 06:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:05: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-09-09 06:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 06:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961981440001,"66":27713,"141":206,"20":1024,"24":0,"16":3893516702842880,"44":1680968606762692610},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16,44]} 
[2026-09-09 06:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961981440001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:05:53] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:05:53] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:05:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":1680968606762692610,"description":"Unknown IO ID 44"} 
[2026-09-09 06:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961981440001,"power":27713,"unknown_141":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1680968606762692610}} 
[2026-09-09 06:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":177930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:05:53] local.INFO: GPS data processed {"connection_id":177930,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:05:53] local.INFO: Acknowledgment sent {"connection_id":177930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:06:18] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:06:18] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083934d40012d34c38006aa42c80005005d2f..."} 
[2026-09-09 06:06:18] local.INFO: Packet analysis {"connection_id":176485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:06:18] local.INFO: Extracted packet for processing {"connection_id":176485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08393"} 
[2026-09-09 06:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961872128001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788913864000,"timestamp_ms":1788913864000,"timestamp_seconds":1788913864,"priority":1,"record_length":96,"hex_timestamp":"000001a083934d40"} 
[2026-09-09 06:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:06: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-09-09 06:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961872128001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961872128001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961872128001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":176485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:06:18] local.INFO: GPS data processed {"connection_id":176485,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:06:18] local.INFO: Acknowledgment sent {"connection_id":176485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:06:26] local.INFO: TCP Data received {"connection_id":177930,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839671f00100000000000000000000000000..."} 
[2026-09-09 06:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839671f00100000000000000000000000000..."} 
[2026-09-09 06:06:26] local.INFO: Processing buffer {"connection_id":177930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839671f00100000000000000000000000000..."} 
[2026-09-09 06:06:26] local.INFO: Packet analysis {"connection_id":177930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08396"} 
[2026-09-09 06:06:26] local.INFO: Extracted packet for processing {"connection_id":177930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08396"} 
[2026-09-09 06:06:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961986816001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1678787175687180290,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788914070000,"timestamp_ms":1788914070000,"timestamp_seconds":1788914070,"priority":1,"record_length":96,"hex_timestamp":"000001a0839671f0"} 
[2026-09-09 06:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 06:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":177930,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:06:26] local.INFO: GPS data processed {"connection_id":177930,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:06:26] local.INFO: Acknowledgment sent {"connection_id":177930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:06:40] local.INFO: TCP Data received {"connection_id":175107,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:06:40] local.INFO: Processing buffer {"connection_id":175107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:06:40] local.INFO: IMEI packet received {"connection_id":175107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":175107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:06:42] local.INFO: TCP Data received {"connection_id":175108,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:06:42] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:06:42] local.INFO: IMEI packet received {"connection_id":175108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":175108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:06:43] local.INFO: TCP Data received {"connection_id":175107,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:06:43] local.INFO: Processing buffer {"connection_id":175107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:06:43] local.INFO: IMEI packet received {"connection_id":175107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":175107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:06:44] local.INFO: TCP Data received {"connection_id":175107,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:06:44] local.INFO: Processing buffer {"connection_id":175107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:06:44] local.INFO: Packet analysis {"connection_id":175107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:06:44] local.INFO: Extracted packet for processing {"connection_id":175107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:06: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-09-09 06:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":175107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:06:44] local.INFO: GPS data processed {"connection_id":175107,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:06:44] local.INFO: Acknowledgment sent {"connection_id":175107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:06:48] local.INFO: TCP Data received {"connection_id":175108,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:06:48] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:06:48] local.INFO: IMEI packet received {"connection_id":175108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":175108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:06:50] local.INFO: TCP Data received {"connection_id":175108,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08395f8d8012c173b000aab9e2002bb00b92d..."} 
[2026-09-09 06:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08395f8d8012c173b000aab9e2002bb00b92d..."} 
[2026-09-09 06:06:50] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08395f8d8012c173b000aab9e2002bb00b92d..."} 
[2026-09-09 06:06:50] local.INFO: Packet analysis {"connection_id":175108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:06:50] local.INFO: Extracted packet for processing {"connection_id":175108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08395"} 
[2026-09-09 06:06:50] local.INFO: GPS Element Parsed {"raw_longitude":739719936,"raw_latitude":179019296,"longitude_deg":73.9719936,"latitude_deg":17.9019296,"altitude":699,"angle":185,"satellites":45,"speed":62,"hex_longitude":"2c173b00","hex_latitude":"0aab9e20","is_valid_coordinates":true} 
[2026-09-09 06:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:06:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,141,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788914039000,"timestamp_ms":1788914039000,"timestamp_seconds":1788914039,"priority":1,"record_length":96,"hex_timestamp":"000001a08395f8d8"} 
[2026-09-09 06:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:06:50] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 06:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27571,"141":206,"20":1024,"24":62,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16]} 
[2026-09-09 06:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:06:50] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:06:50] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:06:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27571,"unknown_141":206,"unknown_20":1024,"ignition":62,"odometer":null}} 
[2026-09-09 06:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":175108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:06:50] local.INFO: GPS data processed {"connection_id":175108,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:06:50] local.INFO: Acknowledgment sent {"connection_id":175108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:07:15] local.INFO: TCP Data received {"connection_id":175107,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:07:15] local.INFO: Processing buffer {"connection_id":175107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:07:15] local.INFO: Packet analysis {"connection_id":175107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:07:15] local.INFO: Extracted packet for processing {"connection_id":175107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":175107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:07:15] local.INFO: GPS data processed {"connection_id":175107,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:07:15] local.INFO: Acknowledgment sent {"connection_id":175107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:07:21] local.INFO: TCP Data received {"connection_id":175108,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083964ae0012c1732400aab3d0002b500b92d..."} 
[2026-09-09 06:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083964ae0012c1732400aab3d0002b500b92d..."} 
[2026-09-09 06:07:21] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083964ae0012c1732400aab3d0002b500b92d..."} 
[2026-09-09 06:07:21] local.INFO: Packet analysis {"connection_id":175108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08396"} 
[2026-09-09 06:07:21] local.INFO: Extracted packet for processing {"connection_id":175108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08396"} 
[2026-09-09 06:07:21] local.INFO: GPS Element Parsed {"raw_longitude":739717696,"raw_latitude":178994432,"longitude_deg":73.9717696,"latitude_deg":17.8994432,"altitude":693,"angle":185,"satellites":45,"speed":0,"hex_longitude":"2c173240","hex_latitude":"0aab3d00","is_valid_coordinates":true} 
[2026-09-09 06:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961993984001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1673931732327211010,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788914060000,"timestamp_ms":1788914060000,"timestamp_seconds":1788914060,"priority":1,"record_length":96,"hex_timestamp":"000001a083964ae0"} 
[2026-09-09 06:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:07: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-09-09 06:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 06:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961993984001,"66":27745,"141":206,"20":1024,"24":0,"16":3893516702842880,"44":1673931732327211010},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16,44]} 
[2026-09-09 06:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961993984001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:07:21] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:07:21] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":1673931732327211010,"description":"Unknown IO ID 44"} 
[2026-09-09 06:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961993984001,"power":27745,"unknown_141":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1673931732327211010}} 
[2026-09-09 06:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":175108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:07:21] local.INFO: GPS data processed {"connection_id":175108,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:07:21] local.INFO: Acknowledgment sent {"connection_id":175108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:07:40] local.INFO: TCP Data received {"connection_id":176486,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:07:40] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:07:40] local.INFO: IMEI packet received {"connection_id":176486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":176486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:07:42] local.INFO: TCP Data received {"connection_id":176487,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:07:42] local.INFO: Processing buffer {"connection_id":176487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:07:42] local.INFO: IMEI packet received {"connection_id":176487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":176487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:07:45] local.INFO: TCP Data received {"connection_id":176486,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:07:45] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:07:45] local.INFO: IMEI packet received {"connection_id":176486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":176486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:07:46] local.INFO: TCP Data received {"connection_id":176486,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:07:46] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:07:46] local.INFO: Packet analysis {"connection_id":176486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:07:46] local.INFO: Extracted packet for processing {"connection_id":176486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":176486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:07:46] local.INFO: GPS data processed {"connection_id":176486,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:07:46] local.INFO: Acknowledgment sent {"connection_id":176486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:07:48] local.INFO: TCP Data received {"connection_id":176487,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:07:48] local.INFO: Processing buffer {"connection_id":176487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:07:48] local.INFO: IMEI packet received {"connection_id":176487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":176487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:07:51] local.INFO: TCP Data received {"connection_id":176487,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839731580100000000000000000000000000..."} 
[2026-09-09 06:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839731580100000000000000000000000000..."} 
[2026-09-09 06:07:51] local.INFO: Processing buffer {"connection_id":176487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839731580100000000000000000000000000..."} 
[2026-09-09 06:07:51] local.INFO: Packet analysis {"connection_id":176487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:07:51] local.INFO: Extracted packet for processing {"connection_id":176487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:07:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961999360001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1671468826274627586,"note":"Value kept but may cause issues"} 
[2026-09-09 06:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788914119000,"timestamp_ms":1788914119000,"timestamp_seconds":1788914119,"priority":1,"record_length":96,"hex_timestamp":"000001a083973158"} 
[2026-09-09 06:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":176487,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:07:51] local.INFO: GPS data processed {"connection_id":176487,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:07:51] local.INFO: Acknowledgment sent {"connection_id":176487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:08:17] local.INFO: TCP Data received {"connection_id":176486,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:08:17] local.INFO: Processing buffer {"connection_id":176486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:08:17] local.INFO: Packet analysis {"connection_id":176486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:08:17] local.INFO: Extracted packet for processing {"connection_id":176486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":176486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:08:17] local.INFO: GPS data processed {"connection_id":176486,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:08:17] local.INFO: Acknowledgment sent {"connection_id":176486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:08:24] local.INFO: TCP Data received {"connection_id":176487,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08396b458012c1723c00aaa87d002b100b72c..."} 
[2026-09-09 06:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08396b458012c1723c00aaa87d002b100b72c..."} 
[2026-09-09 06:08:24] local.INFO: Processing buffer {"connection_id":176487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08396b458012c1723c00aaa87d002b100b72c..."} 
[2026-09-09 06:08:24] local.INFO: Packet analysis {"connection_id":176487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08396"} 
[2026-09-09 06:08:24] local.INFO: Extracted packet for processing {"connection_id":176487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08396"} 
[2026-09-09 06:08:24] local.INFO: GPS Element Parsed {"raw_longitude":739713984,"raw_latitude":178948048,"longitude_deg":73.9713984,"latitude_deg":17.8948048,"altitude":689,"angle":183,"satellites":44,"speed":58,"hex_longitude":"2c1723c0","hex_latitude":"0aaa87d0","is_valid_coordinates":true} 
[2026-09-09 06:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,141,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788914087000,"timestamp_ms":1788914087000,"timestamp_seconds":1788914087,"priority":1,"record_length":96,"hex_timestamp":"000001a08396b458"} 
[2026-09-09 06:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-09-09 06:08:24] 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-09-09 06:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27376,"141":206,"20":1024,"24":58,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16]} 
[2026-09-09 06:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:08:24] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:08:24] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:08:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27376,"unknown_141":206,"unknown_20":1024,"ignition":58,"odometer":null}} 
[2026-09-09 06:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":176487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787220,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:08:24] local.INFO: GPS data processed {"connection_id":176487,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:08:24] local.INFO: Acknowledgment sent {"connection_id":176487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:08:39] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:08:39] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:08:39] local.INFO: IMEI packet received {"connection_id":175361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":175361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:08:43] local.INFO: TCP Data received {"connection_id":177931,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:08:43] local.INFO: Processing buffer {"connection_id":177931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:08:43] local.INFO: IMEI packet received {"connection_id":177931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":177931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:08:45] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:08:45] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:08:45] local.INFO: IMEI packet received {"connection_id":175361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":175361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:08:45] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:08:45] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:08:45] local.INFO: Packet analysis {"connection_id":175361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:08:45] local.INFO: Extracted packet for processing {"connection_id":175361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:08: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-09-09 06:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:08:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":175361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:08:45] local.INFO: GPS data processed {"connection_id":175361,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:08:45] local.INFO: Acknowledgment sent {"connection_id":175361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:08:47] local.INFO: TCP Data received {"connection_id":177931,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:08:47] local.INFO: Processing buffer {"connection_id":177931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:08:47] local.INFO: IMEI packet received {"connection_id":177931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":177931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:08:49] local.INFO: TCP Data received {"connection_id":177931,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083970660012c171dc00aaa2b7002ad00b62d..."} 
[2026-09-09 06:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083970660012c171dc00aaa2b7002ad00b62d..."} 
[2026-09-09 06:08:49] local.INFO: Processing buffer {"connection_id":177931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083970660012c171dc00aaa2b7002ad00b62d..."} 
[2026-09-09 06:08:49] local.INFO: Packet analysis {"connection_id":177931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:08:49] local.INFO: Extracted packet for processing {"connection_id":177931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:08:49] local.INFO: GPS Element Parsed {"raw_longitude":739712448,"raw_latitude":178924400,"longitude_deg":73.9712448,"latitude_deg":17.89244,"altitude":685,"angle":182,"satellites":45,"speed":0,"hex_longitude":"2c171dc0","hex_latitude":"0aaa2b70","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962006272001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1667387439100448770,"note":"Value kept but may cause issues"} 
[2026-09-09 06:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788914108000,"timestamp_ms":1788914108000,"timestamp_seconds":1788914108,"priority":1,"record_length":96,"hex_timestamp":"000001a083970660"} 
[2026-09-09 06:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-09 06:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962006272001,"66":27767,"141":206,"20":1024,"24":0,"16":3893516702842880,"44":1667387439100448770},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,20,24,16,44]} 
[2026-09-09 06:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962006272001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:08:49] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-09 06:08:49] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:08:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":1667387439100448770,"description":"Unknown IO ID 44"} 
[2026-09-09 06:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962006272001,"power":27767,"unknown_141":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1667387439100448770}} 
[2026-09-09 06:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":177931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:08:49] local.INFO: GPS data processed {"connection_id":177931,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:08:49] local.INFO: Acknowledgment sent {"connection_id":177931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:09:17] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:09:17] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:09:17] local.INFO: Packet analysis {"connection_id":175361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:09:17] local.INFO: Extracted packet for processing {"connection_id":175361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":175361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:09:17] local.INFO: GPS data processed {"connection_id":175361,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:09:17] local.INFO: Acknowledgment sent {"connection_id":175361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:09:20] local.INFO: TCP Data received {"connection_id":177931,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08397ecd80100000000000000000000000000..."} 
[2026-09-09 06:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397ecd80100000000000000000000000000..."} 
[2026-09-09 06:09:20] local.INFO: Processing buffer {"connection_id":177931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397ecd80100000000000000000000000000..."} 
[2026-09-09 06:09:20] local.INFO: Packet analysis {"connection_id":177931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:09:20] local.INFO: Extracted packet for processing {"connection_id":177931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:09:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962011648001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1665698589234130946,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788914167000,"timestamp_ms":1788914167000,"timestamp_seconds":1788914167,"priority":1,"record_length":96,"hex_timestamp":"000001a08397ecd8"} 
[2026-09-09 06:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:09: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-09-09 06:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 06:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":177931,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:09:20] local.INFO: GPS data processed {"connection_id":177931,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:09:20] local.INFO: Acknowledgment sent {"connection_id":177931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:09:45] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:09:45] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:09:45] local.INFO: IMEI packet received {"connection_id":175362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":175362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:09:47] local.INFO: TCP Data received {"connection_id":175363,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:09:47] local.INFO: Processing buffer {"connection_id":175363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:09:47] local.INFO: IMEI packet received {"connection_id":175363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:09:48] local.INFO: TCP Data received {"connection_id":175363,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:09:48] local.INFO: Processing buffer {"connection_id":175363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:09:48] local.INFO: IMEI packet received {"connection_id":175363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":175363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:09:50] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:09:50] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:09:50] local.INFO: IMEI packet received {"connection_id":175362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":175362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:09:50] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:09:50] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:09:50] local.INFO: Packet analysis {"connection_id":175362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:09:50] local.INFO: Extracted packet for processing {"connection_id":175362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:09:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:09:50] 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-09-09 06:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:09: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-09-09 06:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:09:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":175362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:09:50] local.INFO: GPS data processed {"connection_id":175362,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:09:50] local.INFO: Acknowledgment sent {"connection_id":175362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:09:52] local.INFO: TCP Data received {"connection_id":175363,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:09:52] local.INFO: Processing buffer {"connection_id":175363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:09:52] local.INFO: IMEI packet received {"connection_id":175363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":175363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:09:54] local.INFO: TCP Data received {"connection_id":175363,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a08399f848012c1599800aa6b6e0029f00f82d..."} 
[2026-09-09 06:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08399f848012c1599800aa6b6e0029f00f82d..."} 
[2026-09-09 06:09:54] local.INFO: Processing buffer {"connection_id":175363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08399f848012c1599800aa6b6e0029f00f82d..."} 
[2026-09-09 06:09:54] local.INFO: Packet analysis {"connection_id":175363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08399"} 
[2026-09-09 06:09:54] local.INFO: Extracted packet for processing {"connection_id":175363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08399"} 
[2026-09-09 06:09:54] local.INFO: GPS Element Parsed {"raw_longitude":739613056,"raw_latitude":178697952,"longitude_deg":73.9613056,"latitude_deg":17.8697952,"altitude":671,"angle":248,"satellites":45,"speed":0,"hex_longitude":"2c159980","hex_latitude":"0aa6b6e0","is_valid_coordinates":true} 
[2026-09-09 06:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962055680001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1580904252444123138,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788914301000,"timestamp_ms":1788914301000,"timestamp_seconds":1788914301,"priority":1,"record_length":96,"hex_timestamp":"000001a08399f848"} 
[2026-09-09 06:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 06:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962055680001,"66":27767,"143":206,"20":1024,"24":0,"16":3893516702842880,"44":1580904252444123138},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,20,24,16,44]} 
[2026-09-09 06:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962055680001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:09:54] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-09 06:09:54] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:09:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":1580904252444123138,"description":"Unknown IO ID 44"} 
[2026-09-09 06:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962055680001,"power":27767,"unknown_143":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1580904252444123138}} 
[2026-09-09 06:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":175363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:09:54] local.INFO: GPS data processed {"connection_id":175363,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:09:54] local.INFO: Acknowledgment sent {"connection_id":175363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:09:55] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:09:55] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:09:55] local.INFO: Packet analysis {"connection_id":175362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:09:55] local.INFO: Extracted packet for processing {"connection_id":175362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 06:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 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-09-09 06:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:09:55] 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-09-09 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-09-09 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-09-09 06:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:09:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:09:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":175362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:09:55] local.INFO: GPS data processed {"connection_id":175362,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:09:55] local.INFO: Acknowledgment sent {"connection_id":175362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:10:27] local.INFO: TCP Data received {"connection_id":175363,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839adec00100000000000000000000000000..."} 
[2026-09-09 06:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839adec00100000000000000000000000000..."} 
[2026-09-09 06:10:27] local.INFO: Processing buffer {"connection_id":175363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839adec00100000000000000000000000000..."} 
[2026-09-09 06:10:27] local.INFO: Packet analysis {"connection_id":175363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839a"} 
[2026-09-09 06:10:27] local.INFO: Extracted packet for processing {"connection_id":175363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839a"} 
[2026-09-09 06:10:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962061056001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1556415929468248066,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788914360000,"timestamp_ms":1788914360000,"timestamp_seconds":1788914360,"priority":1,"record_length":96,"hex_timestamp":"000001a0839adec0"} 
[2026-09-09 06:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:10: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-09-09 06:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 06:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":175363,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:10:27] local.INFO: GPS data processed {"connection_id":175363,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:10:27] local.INFO: Acknowledgment sent {"connection_id":175363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:10:40] local.INFO: TCP Data received {"connection_id":177932,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:10:40] local.INFO: Processing buffer {"connection_id":177932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:10:40] local.INFO: IMEI packet received {"connection_id":177932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":177932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:10:42] local.INFO: TCP Data received {"connection_id":175364,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:10:42] local.INFO: Processing buffer {"connection_id":175364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:10:42] local.INFO: IMEI packet received {"connection_id":175364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":175364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:10:45] local.INFO: TCP Data received {"connection_id":177932,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:10:45] local.INFO: Processing buffer {"connection_id":177932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:10:45] local.INFO: IMEI packet received {"connection_id":177932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":177932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:10:46] local.INFO: TCP Data received {"connection_id":177932,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:10:46] local.INFO: Processing buffer {"connection_id":177932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:10:46] local.INFO: Packet analysis {"connection_id":177932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:10:46] local.INFO: Extracted packet for processing {"connection_id":177932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":177932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:10:46] local.INFO: GPS data processed {"connection_id":177932,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:10:46] local.INFO: Acknowledgment sent {"connection_id":177932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:10:48] local.INFO: TCP Data received {"connection_id":175364,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:10:48] local.INFO: Processing buffer {"connection_id":175364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:10:48] local.INFO: IMEI packet received {"connection_id":175364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":175364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:10:50] local.INFO: TCP Data received {"connection_id":177932,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:10:50] local.INFO: Processing buffer {"connection_id":177932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:10:50] local.INFO: Packet analysis {"connection_id":177932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:10:50] local.INFO: Extracted packet for processing {"connection_id":177932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:10:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:10:50] 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-09-09 06:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:10:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:10:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":177932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:10:50] local.INFO: GPS data processed {"connection_id":177932,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:10:50] local.INFO: Acknowledgment sent {"connection_id":177932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:10:51] local.INFO: TCP Data received {"connection_id":175364,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839a6990012c14fa400aa67ac002a900ed2b..."} 
[2026-09-09 06:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839a6990012c14fa400aa67ac002a900ed2b..."} 
[2026-09-09 06:10:51] local.INFO: Processing buffer {"connection_id":175364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839a6990012c14fa400aa67ac002a900ed2b..."} 
[2026-09-09 06:10:51] local.INFO: Packet analysis {"connection_id":175364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839a"} 
[2026-09-09 06:10:51] local.INFO: Extracted packet for processing {"connection_id":175364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839a"} 
[2026-09-09 06:10:51] local.INFO: GPS Element Parsed {"raw_longitude":739572288,"raw_latitude":178682560,"longitude_deg":73.9572288,"latitude_deg":17.868256,"altitude":681,"angle":237,"satellites":43,"speed":46,"hex_longitude":"2c14fa40","hex_latitude":"0aa67ac0","is_valid_coordinates":true} 
[2026-09-09 06:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:10:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,143,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788914330000,"timestamp_ms":1788914330000,"timestamp_seconds":1788914330,"priority":1,"record_length":96,"hex_timestamp":"000001a0839a6990"} 
[2026-09-09 06:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 06:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27713,"143":206,"20":1024,"24":46,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,20,24,16]} 
[2026-09-09 06:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:10:51] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-09 06:10:51] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:10:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27713,"unknown_143":206,"unknown_20":1024,"ignition":46,"odometer":null}} 
[2026-09-09 06:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":175364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:10:51] local.INFO: GPS data processed {"connection_id":175364,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:10:51] local.INFO: Acknowledgment sent {"connection_id":175364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:11:21] local.INFO: TCP Data received {"connection_id":177932,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:11:21] local.INFO: Processing buffer {"connection_id":177932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08397e508012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:11:21] local.INFO: Packet analysis {"connection_id":177932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:11:21] local.INFO: Extracted packet for processing {"connection_id":177932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08397"} 
[2026-09-09 06:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457961949184001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788914165000,"timestamp_ms":1788914165000,"timestamp_seconds":1788914165,"priority":1,"record_length":96,"hex_timestamp":"000001a08397e508"} 
[2026-09-09 06:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:11:21] 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-09-09 06: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-09-09 06:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457961949184001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457961949184001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:11:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457961949184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":177932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:11:21] local.INFO: GPS data processed {"connection_id":177932,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:11:21] local.INFO: Acknowledgment sent {"connection_id":177932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:11:25] local.INFO: TCP Data received {"connection_id":175364,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839aafe0012c14c5400aa63cb002ac00d52d..."} 
[2026-09-09 06:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839aafe0012c14c5400aa63cb002ac00d52d..."} 
[2026-09-09 06:11:25] local.INFO: Processing buffer {"connection_id":175364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839aafe0012c14c5400aa63cb002ac00d52d..."} 
[2026-09-09 06:11:25] local.INFO: Packet analysis {"connection_id":175364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839a"} 
[2026-09-09 06:11:25] local.INFO: Extracted packet for processing {"connection_id":175364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839a"} 
[2026-09-09 06:11:25] local.INFO: GPS Element Parsed {"raw_longitude":739558720,"raw_latitude":178666672,"longitude_deg":73.955872,"latitude_deg":17.8666672,"altitude":684,"angle":213,"satellites":45,"speed":47,"hex_longitude":"2c14c540","hex_latitude":"0aa63cb0","is_valid_coordinates":true} 
[2026-09-09 06:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962068480001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1511591039423135746,"note":"Value kept but may cause issues"} 
[2026-09-09 06:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788914348000,"timestamp_ms":1788914348000,"timestamp_seconds":1788914348,"priority":1,"record_length":96,"hex_timestamp":"000001a0839aafe0"} 
[2026-09-09 06:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 06:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962068480001,"66":27745,"143":206,"20":1024,"24":47,"16":3893516702842880,"44":1511591039423135746},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,20,24,16,44]} 
[2026-09-09 06:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962068480001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:11:25] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-09 06:11:25] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":1511591039423135746,"description":"Unknown IO ID 44"} 
[2026-09-09 06:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962068480001,"power":27745,"unknown_143":206,"unknown_20":1024,"ignition":47,"odometer":null,"unknown_44":1511591039423135746}} 
[2026-09-09 06:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":175364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:11:25] local.INFO: GPS data processed {"connection_id":175364,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:11:25] local.INFO: Acknowledgment sent {"connection_id":175364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:11:40] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:11:40] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:11:40] local.INFO: IMEI packet received {"connection_id":175365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":175365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:11:44] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:11:44] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:11:44] local.INFO: IMEI packet received {"connection_id":175365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":175365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:11:45] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:11:45] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:11:45] local.INFO: Packet analysis {"connection_id":175365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:11:45] local.INFO: Extracted packet for processing {"connection_id":175365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:11: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-09-09 06:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:11:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":175365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:11:45] local.INFO: GPS data processed {"connection_id":175365,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:11:45] local.INFO: Acknowledgment sent {"connection_id":175365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:11:53] local.INFO: TCP Data received {"connection_id":177933,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:11:53] local.INFO: Processing buffer {"connection_id":177933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:11:53] local.INFO: IMEI packet received {"connection_id":177933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":177933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:11:53] local.INFO: TCP Data received {"connection_id":177933,"ip":"117.224.6.119","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 06:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177933,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 06:11:53] local.INFO: Processing buffer {"connection_id":177933,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 06:11:53] local.INFO: IMEI packet received {"connection_id":177933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":177933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:12:07] local.INFO: TCP Data received {"connection_id":177933,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839b01e8012c1495800aa5f6e002ad00d42e..."} 
[2026-09-09 06:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839b01e8012c1495800aa5f6e002ad00d42e..."} 
[2026-09-09 06:12:07] local.INFO: Processing buffer {"connection_id":177933,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a083..."} 
[2026-09-09 06:12:07] local.INFO: IMEI packet received {"connection_id":177933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":177933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:12:17] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:12:17] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:12:17] local.INFO: Packet analysis {"connection_id":175365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:12:17] local.INFO: Extracted packet for processing {"connection_id":175365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:12: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-09-09 06:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":175365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:12:17] local.INFO: GPS data processed {"connection_id":175365,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:12:17] local.INFO: Acknowledgment sent {"connection_id":175365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:12:31] local.INFO: TCP Data received {"connection_id":177933,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839be8600100000000000000000000000000..."} 
[2026-09-09 06:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839be8600100000000000000000000000000..."} 
[2026-09-09 06:12:31] local.INFO: Processing buffer {"connection_id":177933,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0839b01e8012c1495800aa5f6e002ad00d42e..."} 
[2026-09-09 06:12:31] local.INFO: Packet analysis {"connection_id":177933,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0839b"} 
[2026-09-09 06:12:31] local.INFO: Extracted packet for processing {"connection_id":177933,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839b"} 
[2026-09-09 06:12:31] local.INFO: GPS Element Parsed {"raw_longitude":739546496,"raw_latitude":178648800,"longitude_deg":73.9546496,"latitude_deg":17.86488,"altitude":685,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2c149580","hex_latitude":"0aa5f6e0","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962073088001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1496672865653403650,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788914369000,"timestamp_ms":1788914369000,"timestamp_seconds":1788914369,"priority":1,"record_length":96,"hex_timestamp":"000001a0839b01e8"} 
[2026-09-09 06:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962073088001,"66":27745,"143":206,"20":1024,"24":0,"16":3893516702842880,"44":1496672865653403650},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,20,24,16,44]} 
[2026-09-09 06:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962073088001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:12:31] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-09 06:12:31] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":1496672865653403650,"description":"Unknown IO ID 44"} 
[2026-09-09 06:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962073088001,"power":27745,"unknown_143":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1496672865653403650}} 
[2026-09-09 06:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":177933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:12:31] local.INFO: GPS data processed {"connection_id":177933,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:12:31] local.INFO: Acknowledgment sent {"connection_id":177933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:12:31] local.INFO: Packet analysis {"connection_id":177933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839b"} 
[2026-09-09 06:12:31] local.INFO: Extracted packet for processing {"connection_id":177933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839b"} 
[2026-09-09 06:12:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962078464001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1483232435510894594,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788914428000,"timestamp_ms":1788914428000,"timestamp_seconds":1788914428,"priority":1,"record_length":96,"hex_timestamp":"000001a0839be860"} 
[2026-09-09 06:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":177933,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:12:31] local.INFO: GPS data processed {"connection_id":177933,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:12:31] local.INFO: Acknowledgment sent {"connection_id":177933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:12:40] local.INFO: TCP Data received {"connection_id":175109,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:12:40] local.INFO: Processing buffer {"connection_id":175109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:12:40] local.INFO: IMEI packet received {"connection_id":175109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":175109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:12:45] local.INFO: TCP Data received {"connection_id":175109,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:12:45] local.INFO: Processing buffer {"connection_id":175109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:12:45] local.INFO: IMEI packet received {"connection_id":175109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":175109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:12:46] local.INFO: TCP Data received {"connection_id":175109,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:12:46] local.INFO: Processing buffer {"connection_id":175109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:12:46] local.INFO: Packet analysis {"connection_id":175109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:12:46] local.INFO: Extracted packet for processing {"connection_id":175109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":175109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:12:46] local.INFO: GPS data processed {"connection_id":175109,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:12:46] local.INFO: Acknowledgment sent {"connection_id":175109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:12:55] local.INFO: TCP Data received {"connection_id":177933,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839b7b00012c1449400aa56ca002b200b82d..."} 
[2026-09-09 06:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839b7b00012c1449400aa56ca002b200b82d..."} 
[2026-09-09 06:12:55] local.INFO: Processing buffer {"connection_id":177933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839b7b00012c1449400aa56ca002b200b82d..."} 
[2026-09-09 06:12:55] local.INFO: Packet analysis {"connection_id":177933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839b"} 
[2026-09-09 06:12:55] local.INFO: Extracted packet for processing {"connection_id":177933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839b"} 
[2026-09-09 06:12:55] local.INFO: GPS Element Parsed {"raw_longitude":739526976,"raw_latitude":178613408,"longitude_deg":73.9526976,"latitude_deg":17.8613408,"altitude":690,"angle":184,"satellites":45,"speed":51,"hex_longitude":"2c144940","hex_latitude":"0aa56ca0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 06:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:12:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,143,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788914400000,"timestamp_ms":1788914400000,"timestamp_seconds":1788914400,"priority":1,"record_length":96,"hex_timestamp":"000001a0839b7b00"} 
[2026-09-09 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-09-09 06:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-09 06:12:55] 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-09-09 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-09-09 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-09-09 06:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"143":206,"20":1024,"24":51,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,20,24,16]} 
[2026-09-09 06:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:12:55] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-09 06:12:55] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:12:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_143":206,"unknown_20":1024,"ignition":51,"odometer":null}} 
[2026-09-09 06:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":177933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:12:55] local.INFO: GPS data processed {"connection_id":177933,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:12:55] local.ERROR: TCP Connection error {"connection_id":177933,"code":2,"message":"client closed"} 
[2026-09-09 06:12:55] local.INFO: Acknowledgment sent {"connection_id":177933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:13:17] local.INFO: TCP Data received {"connection_id":175109,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:13:17] local.INFO: Processing buffer {"connection_id":175109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:13:17] local.INFO: Packet analysis {"connection_id":175109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:13:17] local.INFO: Extracted packet for processing {"connection_id":175109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":175109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:13:17] local.INFO: GPS data processed {"connection_id":175109,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:13:17] local.INFO: Acknowledgment sent {"connection_id":175109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:13:39] local.INFO: TCP Data received {"connection_id":175366,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:13:39] local.INFO: Processing buffer {"connection_id":175366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:13:39] local.INFO: IMEI packet received {"connection_id":175366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":175366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:13:45] local.INFO: TCP Data received {"connection_id":175366,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:13:45] local.INFO: Processing buffer {"connection_id":175366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:13:45] local.INFO: IMEI packet received {"connection_id":175366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":175366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:13:45] local.INFO: TCP Data received {"connection_id":175366,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:13:45] local.INFO: Processing buffer {"connection_id":175366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:13:45] local.INFO: Packet analysis {"connection_id":175366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:13:45] local.INFO: Extracted packet for processing {"connection_id":175366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:13: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-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:13:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":175366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:13:45] local.INFO: GPS data processed {"connection_id":175366,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:13:45] local.INFO: Acknowledgment sent {"connection_id":175366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:13:48] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:13:48] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:13:48] local.INFO: IMEI packet received {"connection_id":176488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":176488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:13:50] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:13:50] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:13:50] local.INFO: IMEI packet received {"connection_id":176488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":176488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:13:52] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:13:52] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:13:52] local.INFO: IMEI packet received {"connection_id":176488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":176488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:13:55] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839bcd08012c1444000aa5152002aa00b52e..."} 
[2026-09-09 06:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839bcd08012c1444000aa5152002aa00b52e..."} 
[2026-09-09 06:13:55] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839bcd08012c1444000aa5152002aa00b52e..."} 
[2026-09-09 06:13:55] local.INFO: Packet analysis {"connection_id":176488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839b"} 
[2026-09-09 06:13:55] local.INFO: Extracted packet for processing {"connection_id":176488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839b"} 
[2026-09-09 06:13:55] local.INFO: GPS Element Parsed {"raw_longitude":739525632,"raw_latitude":178591008,"longitude_deg":73.9525632,"latitude_deg":17.8591008,"altitude":682,"angle":181,"satellites":46,"speed":0,"hex_longitude":"2c144400","hex_latitude":"0aa51520","is_valid_coordinates":true} 
[2026-09-09 06:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962086400001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1461769968527646722,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788914421000,"timestamp_ms":1788914421000,"timestamp_seconds":1788914421,"priority":1,"record_length":96,"hex_timestamp":"000001a0839bcd08"} 
[2026-09-09 06:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 06:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962086400001,"66":27517,"143":206,"20":1024,"24":0,"16":3893516702842880,"44":1461769968527646722},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,20,24,16,44]} 
[2026-09-09 06:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962086400001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:13:55] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-09 06:13:55] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:13:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":1461769968527646722,"description":"Unknown IO ID 44"} 
[2026-09-09 06:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962086400001,"power":27517,"unknown_143":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1461769968527646722}} 
[2026-09-09 06:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":176488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:13:55] local.INFO: GPS data processed {"connection_id":176488,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:13:55] local.INFO: Acknowledgment sent {"connection_id":176488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:13:58] local.INFO: TCP Data received {"connection_id":176488,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839cb3800100000000000000000000000000..."} 
[2026-09-09 06:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839cb3800100000000000000000000000000..."} 
[2026-09-09 06:13:58] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839cb3800100000000000000000000000000..."} 
[2026-09-09 06:13:58] local.INFO: Packet analysis {"connection_id":176488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:13:58] local.INFO: Extracted packet for processing {"connection_id":176488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:13:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962091776001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1460292224894181378,"note":"Value kept but may cause issues"} 
[2026-09-09 06:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788914480000,"timestamp_ms":1788914480000,"timestamp_seconds":1788914480,"priority":1,"record_length":96,"hex_timestamp":"000001a0839cb380"} 
[2026-09-09 06:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:13: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-09-09 06:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 06:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":176488,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:13:58] local.INFO: GPS data processed {"connection_id":176488,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:13:58] local.INFO: Acknowledgment sent {"connection_id":176488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:14:17] local.INFO: TCP Data received {"connection_id":175366,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:14:17] local.INFO: Processing buffer {"connection_id":175366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:14:17] local.INFO: Packet analysis {"connection_id":175366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:14:17] local.INFO: Extracted packet for processing {"connection_id":175366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:14:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":175366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:14:17] local.INFO: GPS data processed {"connection_id":175366,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:14:17] local.INFO: Acknowledgment sent {"connection_id":175366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:14:45] local.INFO: TCP Data received {"connection_id":177934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:14:45] local.INFO: Processing buffer {"connection_id":177934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:14:45] local.INFO: IMEI packet received {"connection_id":177934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":177934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:14:49] local.INFO: TCP Data received {"connection_id":176489,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:14:49] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:14:49] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:14:50] local.INFO: TCP Data received {"connection_id":177934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:14:50] local.INFO: Processing buffer {"connection_id":177934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:14:50] local.INFO: IMEI packet received {"connection_id":177934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":177934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:14:51] local.INFO: TCP Data received {"connection_id":177934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:14:51] local.INFO: Processing buffer {"connection_id":177934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:14:51] local.INFO: Packet analysis {"connection_id":177934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:14:51] local.INFO: Extracted packet for processing {"connection_id":177934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":177934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:14:51] local.INFO: GPS data processed {"connection_id":177934,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:14:51] local.INFO: Acknowledgment sent {"connection_id":177934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:14:52] local.INFO: TCP Data received {"connection_id":176489,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:14:52] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:14:52] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:14:54] local.INFO: TCP Data received {"connection_id":176489,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839ebb08012c1516800aa101700297009230..."} 
[2026-09-09 06:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839ebb08012c1516800aa101700297009230..."} 
[2026-09-09 06:14:54] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839ebb08012c1516800aa101700297009230..."} 
[2026-09-09 06:14:54] local.INFO: Packet analysis {"connection_id":176489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839e"} 
[2026-09-09 06:14:54] local.INFO: Extracted packet for processing {"connection_id":176489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839e"} 
[2026-09-09 06:14:54] local.INFO: GPS Element Parsed {"raw_longitude":739579520,"raw_latitude":178323824,"longitude_deg":73.957952,"latitude_deg":17.8323824,"altitude":663,"angle":146,"satellites":48,"speed":0,"hex_longitude":"2c151680","hex_latitude":"0aa10170","is_valid_coordinates":true} 
[2026-09-09 06:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962135552001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1505398589848494082,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788914613000,"timestamp_ms":1788914613000,"timestamp_seconds":1788914613,"priority":1,"record_length":96,"hex_timestamp":"000001a0839ebb08"} 
[2026-09-09 06:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 06:14:54] 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-09-09 06:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962135552001,"66":27517,"159":206,"20":1024,"24":0,"16":3893516702842880,"44":1505398589848494082},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,20,24,16,44]} 
[2026-09-09 06:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962135552001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:14:54] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-09 06:14:54] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:14:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":1505398589848494082,"description":"Unknown IO ID 44"} 
[2026-09-09 06:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962135552001,"power":27517,"unknown_159":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1505398589848494082}} 
[2026-09-09 06:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":176489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787242,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:14:54] local.INFO: GPS data processed {"connection_id":176489,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:14:54] local.INFO: Acknowledgment sent {"connection_id":176489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:14:55] local.INFO: TCP Data received {"connection_id":177934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:14:55] local.INFO: Processing buffer {"connection_id":177934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:14:55] local.INFO: Packet analysis {"connection_id":177934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:14:55] local.INFO: Extracted packet for processing {"connection_id":177934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:14:55] 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-09-09 06:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:14:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":177934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:14:55] local.INFO: GPS data processed {"connection_id":177934,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:14:55] local.INFO: Acknowledgment sent {"connection_id":177934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:15:00] local.INFO: TCP Data received {"connection_id":176489,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839fa1800100000000000000000000000000..."} 
[2026-09-09 06:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839fa1800100000000000000000000000000..."} 
[2026-09-09 06:15:00] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839fa1800100000000000000000000000000..."} 
[2026-09-09 06:15:00] local.INFO: Packet analysis {"connection_id":176489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839f"} 
[2026-09-09 06:15:00] local.INFO: Extracted packet for processing {"connection_id":176489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839f"} 
[2026-09-09 06:15:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962140928001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:15:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1519542707423375362,"note":"Value kept but may cause issues"} 
[2026-09-09 06:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788914672000,"timestamp_ms":1788914672000,"timestamp_seconds":1788914672,"priority":1,"record_length":96,"hex_timestamp":"000001a0839fa180"} 
[2026-09-09 06:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 06:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":176489,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:15:00] local.INFO: GPS data processed {"connection_id":176489,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:15:00] local.INFO: Acknowledgment sent {"connection_id":176489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:15:40] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:15:40] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:15:40] local.INFO: IMEI packet received {"connection_id":175110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":175110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:15:42] local.INFO: TCP Data received {"connection_id":176490,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:15:42] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:15:42] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:15:45] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:15:45] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:15:45] local.INFO: IMEI packet received {"connection_id":175110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":175110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:15:46] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:15:46] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:15:46] local.INFO: Packet analysis {"connection_id":175110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:15:46] local.INFO: Extracted packet for processing {"connection_id":175110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":175110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:15:46] local.INFO: GPS data processed {"connection_id":175110,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:15:46] local.INFO: Acknowledgment sent {"connection_id":175110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:15:48] local.INFO: TCP Data received {"connection_id":176490,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:15:48] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:15:48] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:15:50] local.INFO: TCP Data received {"connection_id":176490,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839f2480012c1577c00aa06da0029700952e..."} 
[2026-09-09 06:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839f2480012c1577c00aa06da0029700952e..."} 
[2026-09-09 06:15:50] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839f2480012c1577c00aa06da0029700952e..."} 
[2026-09-09 06:15:50] local.INFO: Packet analysis {"connection_id":176490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839f"} 
[2026-09-09 06:15:50] local.INFO: Extracted packet for processing {"connection_id":176490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839f"} 
[2026-09-09 06:15:50] local.INFO: GPS Element Parsed {"raw_longitude":739604416,"raw_latitude":178285984,"longitude_deg":73.9604416,"latitude_deg":17.8285984,"altitude":663,"angle":149,"satellites":46,"speed":51,"hex_longitude":"2c1577c0","hex_latitude":"0aa06da0","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:15:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,159,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788914640000,"timestamp_ms":1788914640000,"timestamp_seconds":1788914640,"priority":1,"record_length":96,"hex_timestamp":"000001a0839f2480"} 
[2026-09-09 06:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:15:50] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 06:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27626,"159":206,"20":1024,"24":51,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,20,24,16]} 
[2026-09-09 06:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:15:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-09 06:15:50] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:15:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27626,"unknown_159":206,"unknown_20":1024,"ignition":51,"odometer":null}} 
[2026-09-09 06:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":176490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:15:50] local.INFO: GPS data processed {"connection_id":176490,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:15:50] local.INFO: Acknowledgment sent {"connection_id":176490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:16:17] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:16:17] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839c7cd0012d34c38006aa42c80005005d30..."} 
[2026-09-09 06:16:17] local.INFO: Packet analysis {"connection_id":175110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:16:17] local.INFO: Extracted packet for processing {"connection_id":175110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839c"} 
[2026-09-09 06:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962026240001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788914466000,"timestamp_ms":1788914466000,"timestamp_seconds":1788914466,"priority":1,"record_length":96,"hex_timestamp":"000001a0839c7cd0"} 
[2026-09-09 06:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:16: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-09-09 06:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962026240001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962026240001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962026240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":175110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:16:17] local.INFO: GPS data processed {"connection_id":175110,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:16:17] local.INFO: Acknowledgment sent {"connection_id":175110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:16:25] local.INFO: TCP Data received {"connection_id":176490,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839f7688012c15a3400aa02480029700952f..."} 
[2026-09-09 06:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839f7688012c15a3400aa02480029700952f..."} 
[2026-09-09 06:16:25] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839f7688012c15a3400aa02480029700952f..."} 
[2026-09-09 06:16:25] local.INFO: Packet analysis {"connection_id":176490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839f"} 
[2026-09-09 06:16:25] local.INFO: Extracted packet for processing {"connection_id":176490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839f"} 
[2026-09-09 06:16:25] local.INFO: GPS Element Parsed {"raw_longitude":739615552,"raw_latitude":178267264,"longitude_deg":73.9615552,"latitude_deg":17.8267264,"altitude":663,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2c15a340","hex_latitude":"0aa02480","is_valid_coordinates":true} 
[2026-09-09 06:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962147840001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1546916148898799618,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788914661000,"timestamp_ms":1788914661000,"timestamp_seconds":1788914661,"priority":1,"record_length":96,"hex_timestamp":"000001a0839f7688"} 
[2026-09-09 06:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-09 06:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962147840001,"66":27517,"159":206,"20":1024,"24":0,"16":3893516702842880,"44":1546916148898799618},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,20,24,16,44]} 
[2026-09-09 06:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962147840001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:16:25] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-09 06:16:25] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":1546916148898799618,"description":"Unknown IO ID 44"} 
[2026-09-09 06:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962147840001,"power":27517,"unknown_159":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1546916148898799618}} 
[2026-09-09 06:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":176490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:16:25] local.INFO: GPS data processed {"connection_id":176490,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:16:25] local.INFO: Acknowledgment sent {"connection_id":176490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:16:40] local.INFO: TCP Data received {"connection_id":176491,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:16:40] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:16:40] local.INFO: IMEI packet received {"connection_id":176491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":176491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:16:45] local.INFO: TCP Data received {"connection_id":176491,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:16:45] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:16:45] local.INFO: IMEI packet received {"connection_id":176491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":176491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:16:46] local.INFO: TCP Data received {"connection_id":176491,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:16:46] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:16:46] local.INFO: Packet analysis {"connection_id":176491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:16:46] local.INFO: Extracted packet for processing {"connection_id":176491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":176491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:16:46] local.INFO: GPS data processed {"connection_id":176491,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:16:46] local.INFO: Acknowledgment sent {"connection_id":176491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:16:51] local.INFO: TCP Data received {"connection_id":176492,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:16:51] local.INFO: Processing buffer {"connection_id":176492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:16:51] local.INFO: IMEI packet received {"connection_id":176492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":176492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:16:52] local.INFO: TCP Data received {"connection_id":176492,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:16:52] local.INFO: Processing buffer {"connection_id":176492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:16:52] local.INFO: IMEI packet received {"connection_id":176492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":176492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:16:56] local.INFO: TCP Data received {"connection_id":176492,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083a05d000100000000000000000000000000..."} 
[2026-09-09 06:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a05d000100000000000000000000000000..."} 
[2026-09-09 06:16:56] local.INFO: Processing buffer {"connection_id":176492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a05d000100000000000000000000000000..."} 
[2026-09-09 06:16:56] local.INFO: Packet analysis {"connection_id":176492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a0"} 
[2026-09-09 06:16:56] local.INFO: Extracted packet for processing {"connection_id":176492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a0"} 
[2026-09-09 06:16:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 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-09-09 06:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962153216001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1559160310380920834,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788914720000,"timestamp_ms":1788914720000,"timestamp_seconds":1788914720,"priority":1,"record_length":96,"hex_timestamp":"000001a083a05d00"} 
[2026-09-09 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-09-09 06:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 06:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 06:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":176492,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:16:56] local.INFO: GPS data processed {"connection_id":176492,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:16:56] local.INFO: Acknowledgment sent {"connection_id":176492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:16:59] local.INFO: TCP Data received {"connection_id":176492,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a0839fe7d0012c15ff400a9f90b0029400952f..."} 
[2026-09-09 06:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0839fe7d0012c15ff400a9f90b0029400952f..."} 
[2026-09-09 06:16:59] local.INFO: Processing buffer {"connection_id":176492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0839fe7d0012c15ff400a9f90b0029400952f..."} 
[2026-09-09 06:16:59] local.INFO: Packet analysis {"connection_id":176492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0839f"} 
[2026-09-09 06:16:59] local.INFO: Extracted packet for processing {"connection_id":176492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0839f"} 
[2026-09-09 06:16:59] local.INFO: GPS Element Parsed {"raw_longitude":739639104,"raw_latitude":178229424,"longitude_deg":73.9639104,"latitude_deg":17.8229424,"altitude":660,"angle":149,"satellites":47,"speed":54,"hex_longitude":"2c15ff40","hex_latitude":"0a9f90b0","is_valid_coordinates":true} 
[2026-09-09 06:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:16:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,159,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788914690000,"timestamp_ms":1788914690000,"timestamp_seconds":1788914690,"priority":1,"record_length":96,"hex_timestamp":"000001a0839fe7d0"} 
[2026-09-09 06:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:16: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 06:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27550,"159":206,"20":1024,"24":54,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,20,24,16]} 
[2026-09-09 06:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:16:59] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-09 06:16:59] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:16:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27550,"unknown_159":206,"unknown_20":1024,"ignition":54,"odometer":null}} 
[2026-09-09 06:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":176492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:16:59] local.INFO: GPS data processed {"connection_id":176492,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:16:59] local.INFO: Acknowledgment sent {"connection_id":176492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:17:17] local.INFO: TCP Data received {"connection_id":176491,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:17:17] local.INFO: Processing buffer {"connection_id":176491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:17:17] local.INFO: Packet analysis {"connection_id":176491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:17:17] local.INFO: Extracted packet for processing {"connection_id":176491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":176491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:17:17] local.INFO: GPS data processed {"connection_id":176491,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:17:17] local.INFO: Acknowledgment sent {"connection_id":176491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:17:39] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:17:39] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:17:39] local.INFO: IMEI packet received {"connection_id":175367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":175367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:17:45] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:17:45] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:17:45] local.INFO: IMEI packet received {"connection_id":175367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":175367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:17:46] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:17:46] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:17:46] local.INFO: Packet analysis {"connection_id":175367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:17:46] local.INFO: Extracted packet for processing {"connection_id":175367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":175367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:17:46] local.INFO: GPS data processed {"connection_id":175367,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:17:46] local.INFO: Acknowledgment sent {"connection_id":175367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:17:57] local.INFO: TCP Data received {"connection_id":177935,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:17:57] local.INFO: Processing buffer {"connection_id":177935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:17:57] local.INFO: IMEI packet received {"connection_id":177935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":177935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:18:07] local.INFO: TCP Data received {"connection_id":177935,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:18:07] local.INFO: Processing buffer {"connection_id":177935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:18:07] local.INFO: IMEI packet received {"connection_id":177935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":177935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:18:08] local.INFO: TCP Data received {"connection_id":177935,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083a039d8012c162cc00a9f4880029400932f..."} 
[2026-09-09 06:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a039d8012c162cc00a9f4880029400932f..."} 
[2026-09-09 06:18:08] local.INFO: Processing buffer {"connection_id":177935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a039d8012c162cc00a9f4880029400932f..."} 
[2026-09-09 06:18:08] local.INFO: Packet analysis {"connection_id":177935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a0"} 
[2026-09-09 06:18:08] local.INFO: Extracted packet for processing {"connection_id":177935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a0"} 
[2026-09-09 06:18:08] local.INFO: GPS Element Parsed {"raw_longitude":739650752,"raw_latitude":178210944,"longitude_deg":73.9650752,"latitude_deg":17.8210944,"altitude":660,"angle":147,"satellites":47,"speed":0,"hex_longitude":"2c162cc0","hex_latitude":"0a9f4880","is_valid_coordinates":true} 
[2026-09-09 06:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962160640001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1585056008228614146,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788914711000,"timestamp_ms":1788914711000,"timestamp_seconds":1788914711,"priority":1,"record_length":96,"hex_timestamp":"000001a083a039d8"} 
[2026-09-09 06:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 06:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962160640001,"66":27484,"159":206,"20":1024,"24":0,"16":3893516702842880,"44":1585056008228614146},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,20,24,16,44]} 
[2026-09-09 06:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962160640001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:18:08] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-09 06:18:08] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:18:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":1585056008228614146,"description":"Unknown IO ID 44"} 
[2026-09-09 06:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962160640001,"power":27484,"unknown_159":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1585056008228614146}} 
[2026-09-09 06:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":177935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:18:08] local.INFO: GPS data processed {"connection_id":177935,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:18:08] local.INFO: Acknowledgment sent {"connection_id":177935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:18:17] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:18:17] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:18:17] local.INFO: Packet analysis {"connection_id":175367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:18:17] local.INFO: Extracted packet for processing {"connection_id":175367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":175367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:18:17] local.INFO: GPS data processed {"connection_id":175367,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:18:17] local.INFO: Acknowledgment sent {"connection_id":175367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:18:42] local.INFO: TCP Data received {"connection_id":177937,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:18:42] local.INFO: Processing buffer {"connection_id":177937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:18:42] local.INFO: IMEI packet received {"connection_id":177937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":177937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:18:45] local.INFO: TCP Data received {"connection_id":177936,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:18:45] local.INFO: Processing buffer {"connection_id":177936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:18:45] local.INFO: IMEI packet received {"connection_id":177936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":177936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:18:47] local.INFO: TCP Data received {"connection_id":177937,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:18:47] local.INFO: Processing buffer {"connection_id":177937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:18:47] local.INFO: IMEI packet received {"connection_id":177937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":177937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:18:49] local.INFO: TCP Data received {"connection_id":177937,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083a120500100000000000000000000000000..."} 
[2026-09-09 06:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a120500100000000000000000000000000..."} 
[2026-09-09 06:18:49] local.INFO: Processing buffer {"connection_id":177937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a120500100000000000000000000000000..."} 
[2026-09-09 06:18:49] local.INFO: Packet analysis {"connection_id":177937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:18:49] local.INFO: Extracted packet for processing {"connection_id":177937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:18:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962166016001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1597863119664218114,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788914770000,"timestamp_ms":1788914770000,"timestamp_seconds":1788914770,"priority":1,"record_length":96,"hex_timestamp":"000001a083a12050"} 
[2026-09-09 06:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 06:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":177937,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:18:49] local.INFO: GPS data processed {"connection_id":177937,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:18:49] local.INFO: Acknowledgment sent {"connection_id":177937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:18:50] local.INFO: TCP Data received {"connection_id":177936,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:18:50] local.INFO: Processing buffer {"connection_id":177936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:18:50] local.INFO: IMEI packet received {"connection_id":177936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":177936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:18:52] local.INFO: TCP Data received {"connection_id":177936,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:18:52] local.INFO: Processing buffer {"connection_id":177936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:18:52] local.INFO: Packet analysis {"connection_id":177936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:18:52] local.INFO: Extracted packet for processing {"connection_id":177936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":177936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:18:52] local.INFO: GPS data processed {"connection_id":177936,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:18:52] local.INFO: Acknowledgment sent {"connection_id":177936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:18:55] local.INFO: TCP Data received {"connection_id":177936,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:18:55] local.INFO: Processing buffer {"connection_id":177936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:18:55] local.INFO: Packet analysis {"connection_id":177936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:18:55] local.INFO: Extracted packet for processing {"connection_id":177936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 06:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 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-09-09 06:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 06:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:18:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:18:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":177936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:18:55] local.INFO: GPS data processed {"connection_id":177936,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:18:55] local.INFO: Acknowledgment sent {"connection_id":177936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:19:21] local.INFO: TCP Data received {"connection_id":177937,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083a0a350012c1690000a9eb950029400912f..."} 
[2026-09-09 06:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a0a350012c1690000a9eb950029400912f..."} 
[2026-09-09 06:19:21] local.INFO: Processing buffer {"connection_id":177937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a0a350012c1690000a9eb950029400912f..."} 
[2026-09-09 06:19:21] local.INFO: Packet analysis {"connection_id":177937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a0"} 
[2026-09-09 06:19:21] local.INFO: Extracted packet for processing {"connection_id":177937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a0"} 
[2026-09-09 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":739676160,"raw_latitude":178174288,"longitude_deg":73.967616,"latitude_deg":17.8174288,"altitude":660,"angle":145,"satellites":47,"speed":53,"hex_longitude":"2c169000","hex_latitude":"0a9eb950","is_valid_coordinates":true} 
[2026-09-09 06:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:19:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,159,20,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788914738000,"timestamp_ms":1788914738000,"timestamp_seconds":1788914738,"priority":1,"record_length":96,"hex_timestamp":"000001a083a0a350"} 
[2026-09-09 06:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 06:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27615,"159":206,"20":1024,"24":53,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,20,24,16]} 
[2026-09-09 06:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:19:21] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-09 06:19:21] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:19:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27615,"unknown_159":206,"unknown_20":1024,"ignition":53,"odometer":null}} 
[2026-09-09 06:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":177937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:19:21] local.INFO: GPS data processed {"connection_id":177937,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:19:21] local.INFO: Acknowledgment sent {"connection_id":177937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:19:40] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:19:40] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:19:40] local.INFO: IMEI packet received {"connection_id":176493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":176493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:19:45] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:19:45] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:19:45] local.INFO: IMEI packet received {"connection_id":176493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":176493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:19:45] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:19:45] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:19:45] local.INFO: Packet analysis {"connection_id":176493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:19:45] local.INFO: Extracted packet for processing {"connection_id":176493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:19: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-09-09 06:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":176493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:19:45] local.INFO: GPS data processed {"connection_id":176493,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:19:45] local.INFO: Acknowledgment sent {"connection_id":176493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:19:52] local.INFO: TCP Data received {"connection_id":175368,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:19:52] local.INFO: Processing buffer {"connection_id":175368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:19:52] local.INFO: IMEI packet received {"connection_id":175368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":175368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:19:57] local.INFO: TCP Data received {"connection_id":175368,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:19:57] local.INFO: Processing buffer {"connection_id":175368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:19:57] local.INFO: IMEI packet received {"connection_id":175368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":175368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:19:59] local.INFO: TCP Data received {"connection_id":175368,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083a0e1d0012c16b9000a9e70300295009e2e..."} 
[2026-09-09 06:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a0e1d0012c16b9000a9e70300295009e2e..."} 
[2026-09-09 06:19:59] local.INFO: Processing buffer {"connection_id":175368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a0e1d0012c16b9000a9e70300295009e2e..."} 
[2026-09-09 06:19:59] local.INFO: Packet analysis {"connection_id":175368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a0"} 
[2026-09-09 06:19:59] local.INFO: Extracted packet for processing {"connection_id":175368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a0"} 
[2026-09-09 06:19:59] local.INFO: GPS Element Parsed {"raw_longitude":739686656,"raw_latitude":178155568,"longitude_deg":73.9686656,"latitude_deg":17.8155568,"altitude":661,"angle":158,"satellites":46,"speed":51,"hex_longitude":"2c16b900","hex_latitude":"0a9e7030","is_valid_coordinates":true} 
[2026-09-09 06:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962172928001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1625799511093366786,"note":"Value kept but may cause issues"} 
[2026-09-09 06:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788914754000,"timestamp_ms":1788914754000,"timestamp_seconds":1788914754,"priority":1,"record_length":96,"hex_timestamp":"000001a083a0e1d0"} 
[2026-09-09 06:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:19: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-09-09 06: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 06:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962172928001,"66":27691,"159":206,"20":1024,"24":51,"16":3893516702842880,"44":1625799511093366786},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,20,24,16,44]} 
[2026-09-09 06:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962172928001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:19:59] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-09 06:19:59] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":1625799511093366786,"description":"Unknown IO ID 44"} 
[2026-09-09 06:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962172928001,"power":27691,"unknown_159":206,"unknown_20":1024,"ignition":51,"odometer":null,"unknown_44":1625799511093366786}} 
[2026-09-09 06:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":175368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:19:59] local.INFO: GPS data processed {"connection_id":175368,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:19:59] local.INFO: Acknowledgment sent {"connection_id":175368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:20:04] local.INFO: TCP Data received {"connection_id":175368,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083a133d8012c16dd800a9e1fe0029400942f..."} 
[2026-09-09 06:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a133d8012c16dd800a9e1fe0029400942f..."} 
[2026-09-09 06:20:04] local.INFO: Processing buffer {"connection_id":175368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a133d8012c16dd800a9e1fe0029400942f..."} 
[2026-09-09 06:20:04] local.INFO: Packet analysis {"connection_id":175368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:20:04] local.INFO: Extracted packet for processing {"connection_id":175368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:20:04] local.INFO: GPS Element Parsed {"raw_longitude":739696000,"raw_latitude":178135008,"longitude_deg":73.9696,"latitude_deg":17.8135008,"altitude":660,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2c16dd80","hex_latitude":"0a9e1fe0","is_valid_coordinates":true} 
[2026-09-09 06:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962177024001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1637339985133711362,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,20,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788914775000,"timestamp_ms":1788914775000,"timestamp_seconds":1788914775,"priority":1,"record_length":96,"hex_timestamp":"000001a083a133d8"} 
[2026-09-09 06:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-09 06:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962177024001,"66":27615,"159":206,"20":1024,"24":0,"16":3893516702842880,"44":1637339985133711362},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,20,24,16,44]} 
[2026-09-09 06:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962177024001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:20:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-09 06:20:04] local.INFO: Unknown IO ID detected {"io_id":20,"value":1024,"description":"Unknown IO ID 20"} 
[2026-09-09 06:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":1637339985133711362,"description":"Unknown IO ID 44"} 
[2026-09-09 06:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962177024001,"power":27615,"unknown_159":206,"unknown_20":1024,"ignition":0,"odometer":null,"unknown_44":1637339985133711362}} 
[2026-09-09 06:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":175368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:20:04] local.INFO: GPS data processed {"connection_id":175368,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:20:04] local.INFO: Acknowledgment sent {"connection_id":175368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:20:17] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:20:17] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:20:17] local.INFO: Packet analysis {"connection_id":176493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:20:17] local.INFO: Extracted packet for processing {"connection_id":176493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":176493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:20:17] local.INFO: GPS data processed {"connection_id":176493,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:20:17] local.INFO: Acknowledgment sent {"connection_id":176493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:20:40] local.INFO: TCP Data received {"connection_id":177938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:20:40] local.INFO: Processing buffer {"connection_id":177938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:20:40] local.INFO: IMEI packet received {"connection_id":177938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":177938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:20:42] local.INFO: TCP Data received {"connection_id":175111,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:20:42] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:20:42] local.INFO: IMEI packet received {"connection_id":175111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":175111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:20:45] local.INFO: TCP Data received {"connection_id":177938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:20:45] local.INFO: Processing buffer {"connection_id":177938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:20:45] local.INFO: IMEI packet received {"connection_id":177938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":177938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:20:46] local.INFO: TCP Data received {"connection_id":177938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:20:46] local.INFO: Processing buffer {"connection_id":177938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:20:46] local.INFO: Packet analysis {"connection_id":177938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:20:46] local.INFO: Extracted packet for processing {"connection_id":177938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:20: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-09-09 06:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:20:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":177938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:20:46] local.INFO: GPS data processed {"connection_id":177938,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:20:46] local.INFO: Acknowledgment sent {"connection_id":177938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:20:48] local.INFO: TCP Data received {"connection_id":175111,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:20:48] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:20:48] local.INFO: IMEI packet received {"connection_id":175111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 06:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":175111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:20:49] local.INFO: TCP Data received {"connection_id":175111,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083a4aa900100000000000000000000000000..."} 
[2026-09-09 06:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a4aa900100000000000000000000000000..."} 
[2026-09-09 06:20:49] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a4aa900100000000000000000000000000..."} 
[2026-09-09 06:20:49] local.INFO: Packet analysis {"connection_id":175111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a4"} 
[2026-09-09 06:20:49] local.INFO: Extracted packet for processing {"connection_id":175111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a4"} 
[2026-09-09 06:20:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 06:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962225408001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1720445471968559106,"note":"Value kept but may cause issues"} 
[2026-09-09 06:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788915002000,"timestamp_ms":1788915002000,"timestamp_seconds":1788915002,"priority":1,"record_length":96,"hex_timestamp":"000001a083a4aa90"} 
[2026-09-09 06:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 06:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":175111,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 06:20:49] local.INFO: GPS data processed {"connection_id":175111,"processed":0,"errors":0,"total":1} 
[2026-09-09 06:20:49] local.INFO: Acknowledgment sent {"connection_id":175111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:21:18] local.INFO: TCP Data received {"connection_id":177938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:21:18] local.INFO: Processing buffer {"connection_id":177938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:21:18] local.INFO: Packet analysis {"connection_id":177938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:21:18] local.INFO: Extracted packet for processing {"connection_id":177938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:21: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-09-09 06: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:21:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":177938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:21:18] local.INFO: GPS data processed {"connection_id":177938,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:21:18] local.INFO: Acknowledgment sent {"connection_id":177938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:21:22] local.INFO: TCP Data received {"connection_id":175111,"ip":"117.224.6.119","data_length":795,"data_hex":"000000000000030f8e0a000001a083a43178012c181b400a9b84f0029e009f30..."} 
[2026-09-09 06:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a43178012c181b400a9b84f0029e009f30..."} 
[2026-09-09 06:21:22] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a43178012c181b400a9b84f0029e009f30..."} 
[2026-09-09 06:21:22] local.INFO: Packet analysis {"connection_id":175111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a4"} 
[2026-09-09 06:21:22] local.INFO: Extracted packet for processing {"connection_id":175111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a4"} 
[2026-09-09 06:21:22] local.INFO: GPS Element Parsed {"raw_longitude":739777344,"raw_latitude":177964272,"longitude_deg":73.9777344,"latitude_deg":17.7964272,"altitude":670,"angle":159,"satellites":48,"speed":46,"hex_longitude":"2c181b40","hex_latitude":"0a9b84f0","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 06:21:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,12,37,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788914971000,"timestamp_ms":1788914971000,"timestamp_seconds":1788914971,"priority":1,"record_length":96,"hex_timestamp":"000001a083a43178"} 
[2026-09-09 06:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:21: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 06:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 06:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.6.119","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 06:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 06:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"12":206,"37":33792,"24":46,"16":3893516702842880},"client_ip":"117.224.6.119","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,37,24,16]} 
[2026-09-09 06:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 06:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 06:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:21:22] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-09 06:21:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":33792,"description":"Unknown IO ID 37"} 
[2026-09-09 06:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:21:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_12":206,"unknown_37":33792,"ignition":46,"odometer":null}} 
[2026-09-09 06:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":175111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:21:22] local.INFO: GPS data processed {"connection_id":175111,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:21:22] local.INFO: Acknowledgment sent {"connection_id":175111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:21:39] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:21:39] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:21:39] local.INFO: IMEI packet received {"connection_id":175112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":175112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:21:45] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:21:45] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:21:45] local.INFO: IMEI packet received {"connection_id":175112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":175112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:21:45] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:21:45] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a11498012d34c38006aa42c80005005d2e..."} 
[2026-09-09 06:21:45] local.INFO: Packet analysis {"connection_id":175112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:21:45] local.INFO: Extracted packet for processing {"connection_id":175112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a1"} 
[2026-09-09 06:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962103296001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788914767000,"timestamp_ms":1788914767000,"timestamp_seconds":1788914767,"priority":1,"record_length":96,"hex_timestamp":"000001a083a11498"} 
[2026-09-09 06:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962103296001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962103296001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:21:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962103296001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":175112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:21:45] local.INFO: GPS data processed {"connection_id":175112,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:21:45] local.INFO: Acknowledgment sent {"connection_id":175112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:21:47] local.INFO: TCP Data received {"connection_id":175369,"ip":"117.224.6.119","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:21:47] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:21:47] local.INFO: IMEI packet received {"connection_id":175369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":175369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:22:17] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:22:17] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:22:17] local.INFO: Packet analysis {"connection_id":175112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:22:17] local.INFO: Extracted packet for processing {"connection_id":175112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:22: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-09-09 06:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":175112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:22:17] local.INFO: GPS data processed {"connection_id":175112,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:22:17] local.INFO: Acknowledgment sent {"connection_id":175112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:22:45] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:22:45] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:22:45] local.INFO: IMEI packet received {"connection_id":175370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":175370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:22:50] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:22:50] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:22:50] local.INFO: IMEI packet received {"connection_id":175370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":175370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:22:50] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:22:50] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:22:50] local.INFO: Packet analysis {"connection_id":175370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:22:50] local.INFO: Extracted packet for processing {"connection_id":175370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:22:50] 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-09-09 06:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:22:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":175370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:22:50] local.INFO: GPS data processed {"connection_id":175370,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:22:50] local.INFO: Acknowledgment sent {"connection_id":175370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:23:22] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:23:22] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:23:22] local.INFO: Packet analysis {"connection_id":175370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:23:22] local.INFO: Extracted packet for processing {"connection_id":175370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:23:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:23:22] 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-09-09 06:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:23:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":175370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:23:22] local.INFO: GPS data processed {"connection_id":175370,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:23:22] local.INFO: Acknowledgment sent {"connection_id":175370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:23:40] local.INFO: TCP Data received {"connection_id":177939,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:23:40] local.INFO: Processing buffer {"connection_id":177939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:23:40] local.INFO: IMEI packet received {"connection_id":177939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":177939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:23:45] local.INFO: TCP Data received {"connection_id":177939,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:23:45] local.INFO: Processing buffer {"connection_id":177939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:23:45] local.INFO: IMEI packet received {"connection_id":177939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":177939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:23:45] local.INFO: TCP Data received {"connection_id":177939,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:23:45] local.INFO: Processing buffer {"connection_id":177939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:23:45] local.INFO: Packet analysis {"connection_id":177939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:23:45] local.INFO: Extracted packet for processing {"connection_id":177939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:23: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-09-09 06:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":177939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:23:45] local.INFO: GPS data processed {"connection_id":177939,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:23:45] local.INFO: Acknowledgment sent {"connection_id":177939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:24:17] local.INFO: TCP Data received {"connection_id":177939,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:24:17] local.INFO: Processing buffer {"connection_id":177939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:24:17] local.INFO: Packet analysis {"connection_id":177939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:24:17] local.INFO: Extracted packet for processing {"connection_id":177939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":177939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:24:17] local.INFO: GPS data processed {"connection_id":177939,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:24:17] local.INFO: Acknowledgment sent {"connection_id":177939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:24:40] local.INFO: TCP Data received {"connection_id":176494,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:24:40] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:24:40] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:24:45] local.INFO: TCP Data received {"connection_id":176494,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:24:45] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:24:45] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:24:46] local.INFO: TCP Data received {"connection_id":176494,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:24:46] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:24:46] local.INFO: Packet analysis {"connection_id":176494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:24:46] local.INFO: Extracted packet for processing {"connection_id":176494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":176494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:24:46] local.INFO: GPS data processed {"connection_id":176494,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:24:46] local.INFO: Acknowledgment sent {"connection_id":176494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:25:17] local.INFO: TCP Data received {"connection_id":176494,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:25:17] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:25:17] local.INFO: Packet analysis {"connection_id":176494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:25:17] local.INFO: Extracted packet for processing {"connection_id":176494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":176494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:25:17] local.INFO: GPS data processed {"connection_id":176494,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:25:17] local.INFO: Acknowledgment sent {"connection_id":176494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:25:22] local.INFO: TCP Data received {"connection_id":175371,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:25:22] local.INFO: Processing buffer {"connection_id":175371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:25:22] local.INFO: IMEI packet received {"connection_id":175371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":175371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:25:39] local.INFO: TCP Data received {"connection_id":175113,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:25:39] local.INFO: Processing buffer {"connection_id":175113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:25:39] local.INFO: IMEI packet received {"connection_id":175113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":175113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:25:45] local.INFO: TCP Data received {"connection_id":175113,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:25:45] local.INFO: Processing buffer {"connection_id":175113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:25:45] local.INFO: IMEI packet received {"connection_id":175113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":175113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:25:46] local.INFO: TCP Data received {"connection_id":175113,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:25:46] local.INFO: Processing buffer {"connection_id":175113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:25:46] local.INFO: Packet analysis {"connection_id":175113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:25:46] local.INFO: Extracted packet for processing {"connection_id":175113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":175113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:25:46] local.INFO: GPS data processed {"connection_id":175113,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:25:46] local.INFO: Acknowledgment sent {"connection_id":175113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:26:17] local.INFO: TCP Data received {"connection_id":175113,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:26:17] local.INFO: Processing buffer {"connection_id":175113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:26:17] local.INFO: Packet analysis {"connection_id":175113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:26:17] local.INFO: Extracted packet for processing {"connection_id":175113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":175113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:26:17] local.INFO: GPS data processed {"connection_id":175113,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:26:17] local.INFO: Acknowledgment sent {"connection_id":175113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:26:39] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:26:39] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:26:39] local.INFO: IMEI packet received {"connection_id":176495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":176495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:26:45] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:26:45] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:26:45] local.INFO: IMEI packet received {"connection_id":176495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":176495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:26:46] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:26:46] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083a5a878012d34c38006aa42c80005005d2d..."} 
[2026-09-09 06:26:46] local.INFO: Packet analysis {"connection_id":176495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:26:46] local.INFO: Extracted packet for processing {"connection_id":176495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083a5"} 
[2026-09-09 06:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788915067000,"timestamp_ms":1788915067000,"timestamp_seconds":1788915067,"priority":1,"record_length":96,"hex_timestamp":"000001a083a5a878"} 
[2026-09-09 06:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962180352001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962180352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":176495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:26:46] local.INFO: GPS data processed {"connection_id":176495,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:26:46] local.INFO: Acknowledgment sent {"connection_id":176495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:27:18] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:27:18] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:27:18] local.INFO: Packet analysis {"connection_id":176495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:27:18] local.INFO: Extracted packet for processing {"connection_id":176495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":176495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:27:18] local.INFO: GPS data processed {"connection_id":176495,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:27:18] local.INFO: Acknowledgment sent {"connection_id":176495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:27:40] local.INFO: TCP Data received {"connection_id":176496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:27:40] local.INFO: Processing buffer {"connection_id":176496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:27:40] local.INFO: IMEI packet received {"connection_id":176496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":176496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:27:45] local.INFO: TCP Data received {"connection_id":176496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:27:45] local.INFO: Processing buffer {"connection_id":176496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:27:45] local.INFO: IMEI packet received {"connection_id":176496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":176496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:27:46] local.INFO: TCP Data received {"connection_id":176496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:27:46] local.INFO: Processing buffer {"connection_id":176496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:27:46] local.INFO: Packet analysis {"connection_id":176496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:27:46] local.INFO: Extracted packet for processing {"connection_id":176496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":176496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:27:46] local.INFO: GPS data processed {"connection_id":176496,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:27:46] local.INFO: Acknowledgment sent {"connection_id":176496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:28:17] local.INFO: TCP Data received {"connection_id":176496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:28:17] local.INFO: Processing buffer {"connection_id":176496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:28:17] local.INFO: Packet analysis {"connection_id":176496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:28:17] local.INFO: Extracted packet for processing {"connection_id":176496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":176496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:28:17] local.INFO: GPS data processed {"connection_id":176496,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:28:17] local.INFO: Acknowledgment sent {"connection_id":176496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:28:40] local.INFO: TCP Data received {"connection_id":177940,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:28:40] local.INFO: Processing buffer {"connection_id":177940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:28:40] local.INFO: IMEI packet received {"connection_id":177940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":177940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:28:45] local.INFO: TCP Data received {"connection_id":177940,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:28:45] local.INFO: Processing buffer {"connection_id":177940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:28:45] local.INFO: IMEI packet received {"connection_id":177940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":177940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:28:45] local.INFO: TCP Data received {"connection_id":177940,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:28:45] local.INFO: Processing buffer {"connection_id":177940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:28:45] local.INFO: Packet analysis {"connection_id":177940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:28:45] local.INFO: Extracted packet for processing {"connection_id":177940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":177940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:28:45] local.INFO: GPS data processed {"connection_id":177940,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:28:45] local.INFO: Acknowledgment sent {"connection_id":177940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:29:18] local.INFO: TCP Data received {"connection_id":177940,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:29:18] local.INFO: Processing buffer {"connection_id":177940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:29:18] local.INFO: Packet analysis {"connection_id":177940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:29:18] local.INFO: Extracted packet for processing {"connection_id":177940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":177940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:29:18] local.INFO: GPS data processed {"connection_id":177940,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:29:18] local.INFO: Acknowledgment sent {"connection_id":177940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:29:40] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:29:40] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:29:40] local.INFO: IMEI packet received {"connection_id":175117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":175117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:29:45] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:29:45] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:29:45] local.INFO: IMEI packet received {"connection_id":175117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":175117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:29:47] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:29:47] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:29:47] local.INFO: Packet analysis {"connection_id":175117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:29:47] local.INFO: Extracted packet for processing {"connection_id":175117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:29:47] 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-09-09 06:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":175117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:29:47] local.INFO: GPS data processed {"connection_id":175117,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:29:47] local.INFO: Acknowledgment sent {"connection_id":175117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:30:19] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:30:19] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:30:19] local.INFO: Packet analysis {"connection_id":175117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:30:19] local.INFO: Extracted packet for processing {"connection_id":175117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":175117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:30:19] local.INFO: GPS data processed {"connection_id":175117,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:30:19] local.INFO: Acknowledgment sent {"connection_id":175117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:30:39] local.INFO: TCP Data received {"connection_id":175373,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:30:39] local.INFO: Processing buffer {"connection_id":175373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:30:39] local.INFO: IMEI packet received {"connection_id":175373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":175373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:30:45] local.INFO: TCP Data received {"connection_id":175373,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:30:45] local.INFO: Processing buffer {"connection_id":175373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:30:45] local.INFO: IMEI packet received {"connection_id":175373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":175373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:30:45] local.INFO: TCP Data received {"connection_id":175373,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:30:45] local.INFO: Processing buffer {"connection_id":175373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:30:45] local.INFO: Packet analysis {"connection_id":175373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:30:45] local.INFO: Extracted packet for processing {"connection_id":175373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:30:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":175373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:30:45] local.INFO: GPS data processed {"connection_id":175373,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:30:45] local.INFO: Acknowledgment sent {"connection_id":175373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:30:47] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:30:47] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:30:47] local.INFO: IMEI packet received {"connection_id":176497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":176497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:31:17] local.INFO: TCP Data received {"connection_id":175373,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:31:17] local.INFO: Processing buffer {"connection_id":175373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:31:17] local.INFO: Packet analysis {"connection_id":175373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:31:17] local.INFO: Extracted packet for processing {"connection_id":175373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:31:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":175373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:31:17] local.INFO: GPS data processed {"connection_id":175373,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:31:17] local.INFO: Acknowledgment sent {"connection_id":175373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:31:39] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:31:39] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:31:39] local.INFO: IMEI packet received {"connection_id":176498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":176498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:31:45] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:31:45] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:31:45] local.INFO: IMEI packet received {"connection_id":176498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":176498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:31:46] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:31:46] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aa4040012d34c38006aa42c80005005d2a..."} 
[2026-09-09 06:31:46] local.INFO: Packet analysis {"connection_id":176498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:31:46] local.INFO: Extracted packet for processing {"connection_id":176498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083aa"} 
[2026-09-09 06:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788915368000,"timestamp_ms":1788915368000,"timestamp_seconds":1788915368,"priority":1,"record_length":96,"hex_timestamp":"000001a083aa4040"} 
[2026-09-09 06:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 06:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962257152001,"66":25441,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962257152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":176498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:31:46] local.INFO: GPS data processed {"connection_id":176498,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:31:46] local.INFO: Acknowledgment sent {"connection_id":176498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:32:17] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:32:17] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:32:17] local.INFO: Packet analysis {"connection_id":176498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:32:17] local.INFO: Extracted packet for processing {"connection_id":176498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 06:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":176498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:32:17] local.INFO: GPS data processed {"connection_id":176498,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:32:17] local.INFO: Acknowledgment sent {"connection_id":176498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:32:40] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:32:40] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:32:40] local.INFO: IMEI packet received {"connection_id":175120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":175120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:32:45] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:32:45] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:32:45] local.INFO: IMEI packet received {"connection_id":175120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":175120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:32:45] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:32:45] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:32:45] local.INFO: Packet analysis {"connection_id":175120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:32:45] local.INFO: Extracted packet for processing {"connection_id":175120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 06:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":175120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:32:45] local.INFO: GPS data processed {"connection_id":175120,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:32:45] local.INFO: Acknowledgment sent {"connection_id":175120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:33:17] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:33:17] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:33:17] local.INFO: Packet analysis {"connection_id":175120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:33:17] local.INFO: Extracted packet for processing {"connection_id":175120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 06:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":175120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:33:17] local.INFO: GPS data processed {"connection_id":175120,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:33:17] local.INFO: Acknowledgment sent {"connection_id":175120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:33:40] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:33:40] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:33:40] local.INFO: IMEI packet received {"connection_id":175374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":175374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:33:45] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:33:45] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:33:45] local.INFO: IMEI packet received {"connection_id":175374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":175374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:33:45] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:33:45] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:33:45] local.INFO: Packet analysis {"connection_id":175374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:33:45] local.INFO: Extracted packet for processing {"connection_id":175374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 06:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":175374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:33:45] local.INFO: GPS data processed {"connection_id":175374,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:33:45] local.INFO: Acknowledgment sent {"connection_id":175374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:34:17] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:34:17] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:34:17] local.INFO: Packet analysis {"connection_id":175374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:34:17] local.INFO: Extracted packet for processing {"connection_id":175374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 06:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:34: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-09-09 06:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":175374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:34:17] local.INFO: GPS data processed {"connection_id":175374,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:34:17] local.INFO: Acknowledgment sent {"connection_id":175374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:34:39] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:34:39] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:34:39] local.INFO: IMEI packet received {"connection_id":175122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":175122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:34:45] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:34:45] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:34:45] local.INFO: IMEI packet received {"connection_id":175122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":175122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:34:45] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:34:45] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:34:45] local.INFO: Packet analysis {"connection_id":175122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:34:45] local.INFO: Extracted packet for processing {"connection_id":175122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 06:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:34:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":175122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:34:45] local.INFO: GPS data processed {"connection_id":175122,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:34:45] local.INFO: Acknowledgment sent {"connection_id":175122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:35:16] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:35:16] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:35:16] local.INFO: Packet analysis {"connection_id":175122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:35:16] local.INFO: Extracted packet for processing {"connection_id":175122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 06:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":175122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:35:16] local.INFO: GPS data processed {"connection_id":175122,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:35:16] local.INFO: Acknowledgment sent {"connection_id":175122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:35:39] local.INFO: TCP Data received {"connection_id":177941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:35:39] local.INFO: Processing buffer {"connection_id":177941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:35:39] local.INFO: IMEI packet received {"connection_id":177941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":177941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:35:45] local.INFO: TCP Data received {"connection_id":177941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:35:45] local.INFO: Processing buffer {"connection_id":177941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:35:45] local.INFO: IMEI packet received {"connection_id":177941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":177941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:35:48] local.INFO: TCP Data received {"connection_id":177941,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:35:48] local.INFO: Processing buffer {"connection_id":177941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:35:48] local.INFO: Packet analysis {"connection_id":177941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:35:48] local.INFO: Extracted packet for processing {"connection_id":177941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 06:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":177941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:35:48] local.INFO: GPS data processed {"connection_id":177941,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:35:48] local.INFO: Acknowledgment sent {"connection_id":177941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:36:22] local.INFO: TCP Data received {"connection_id":176501,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:36:22] local.INFO: Processing buffer {"connection_id":176501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:36:22] local.INFO: IMEI packet received {"connection_id":176501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":176501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:36:24] local.INFO: TCP Data received {"connection_id":177941,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:36:24] local.INFO: Processing buffer {"connection_id":177941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:36:24] local.INFO: Packet analysis {"connection_id":177941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:36:24] local.INFO: Extracted packet for processing {"connection_id":177941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 06:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 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-09-09 06:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 06:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":177941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:36:24] local.INFO: GPS data processed {"connection_id":177941,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:36:24] local.INFO: Acknowledgment sent {"connection_id":177941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:36:39] local.INFO: TCP Data received {"connection_id":176502,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:36:39] local.INFO: Processing buffer {"connection_id":176502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:36:39] local.INFO: IMEI packet received {"connection_id":176502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":176502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:36:44] local.INFO: TCP Data received {"connection_id":177942,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:36:44] local.INFO: Processing buffer {"connection_id":177942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:36:44] local.INFO: IMEI packet received {"connection_id":177942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":177942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:36:45] local.INFO: TCP Data received {"connection_id":176502,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:36:45] local.INFO: Processing buffer {"connection_id":176502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:36:45] local.INFO: IMEI packet received {"connection_id":176502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":176502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:36:45] local.INFO: TCP Data received {"connection_id":176502,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:36:45] local.INFO: Processing buffer {"connection_id":176502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083aed808012d34c38006aa42c80005005d29..."} 
[2026-09-09 06:36:45] local.INFO: Packet analysis {"connection_id":176502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:36:45] local.INFO: Extracted packet for processing {"connection_id":176502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ae"} 
[2026-09-09 06:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788915669000,"timestamp_ms":1788915669000,"timestamp_seconds":1788915669,"priority":1,"record_length":96,"hex_timestamp":"000001a083aed808"} 
[2026-09-09 06:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 06:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962334208001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:36:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962334208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":176502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:36:45] local.INFO: GPS data processed {"connection_id":176502,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:36:45] local.INFO: Acknowledgment sent {"connection_id":176502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:37:17] local.INFO: TCP Data received {"connection_id":176502,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:37:17] local.INFO: Processing buffer {"connection_id":176502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:37:17] local.INFO: Packet analysis {"connection_id":176502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:37:17] local.INFO: Extracted packet for processing {"connection_id":176502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:37:17] 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-09-09 06:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:37: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-09-09 06:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":176502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:37:17] local.INFO: GPS data processed {"connection_id":176502,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:37:17] local.INFO: Acknowledgment sent {"connection_id":176502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:37:45] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:37:45] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:37:45] local.INFO: IMEI packet received {"connection_id":175375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":175375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:37:50] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:37:50] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:37:50] local.INFO: IMEI packet received {"connection_id":175375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":175375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:37:51] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:37:51] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:37:51] local.INFO: Packet analysis {"connection_id":175375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:37:51] local.INFO: Extracted packet for processing {"connection_id":175375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":175375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:37:51] local.INFO: GPS data processed {"connection_id":175375,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:37:51] local.INFO: Acknowledgment sent {"connection_id":175375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:38:22] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:38:22] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:38:22] local.INFO: Packet analysis {"connection_id":175375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:38:22] local.INFO: Extracted packet for processing {"connection_id":175375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:38:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:38:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":175375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:38:22] local.INFO: GPS data processed {"connection_id":175375,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:38:22] local.INFO: Acknowledgment sent {"connection_id":175375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:38:40] local.INFO: TCP Data received {"connection_id":177943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:38:40] local.INFO: Processing buffer {"connection_id":177943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:38:40] local.INFO: IMEI packet received {"connection_id":177943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":177943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:38:45] local.INFO: TCP Data received {"connection_id":177943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:38:45] local.INFO: Processing buffer {"connection_id":177943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:38:45] local.INFO: IMEI packet received {"connection_id":177943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":177943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:38:46] local.INFO: TCP Data received {"connection_id":177943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:38:46] local.INFO: Processing buffer {"connection_id":177943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:38:46] local.INFO: Packet analysis {"connection_id":177943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:38:46] local.INFO: Extracted packet for processing {"connection_id":177943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:38:46] 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-09-09 06:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":177943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:38:46] local.INFO: GPS data processed {"connection_id":177943,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:38:46] local.INFO: Acknowledgment sent {"connection_id":177943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:39:18] local.INFO: TCP Data received {"connection_id":177943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:39:18] local.INFO: Processing buffer {"connection_id":177943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:39:18] local.INFO: Packet analysis {"connection_id":177943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:39:18] local.INFO: Extracted packet for processing {"connection_id":177943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":177943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:39:18] local.INFO: GPS data processed {"connection_id":177943,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:39:18] local.INFO: Acknowledgment sent {"connection_id":177943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:39:39] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:39:39] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:39:39] local.INFO: IMEI packet received {"connection_id":175124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":175124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:39:44] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:39:44] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:39:44] local.INFO: IMEI packet received {"connection_id":175124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":175124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:39:45] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:39:45] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:39:45] local.INFO: Packet analysis {"connection_id":175124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:39:45] local.INFO: Extracted packet for processing {"connection_id":175124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:39:45] 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-09-09 06: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-09-09 06:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:39:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:39:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":175124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:39:45] local.INFO: GPS data processed {"connection_id":175124,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:39:45] local.INFO: Acknowledgment sent {"connection_id":175124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:40:17] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:40:17] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:40:17] local.INFO: Packet analysis {"connection_id":175124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:40:17] local.INFO: Extracted packet for processing {"connection_id":175124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:40:17] 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-09-09 06:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":175124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:40:17] local.INFO: GPS data processed {"connection_id":175124,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:40:17] local.INFO: Acknowledgment sent {"connection_id":175124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:40:39] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:40:39] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:40:39] local.INFO: IMEI packet received {"connection_id":175377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":175377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:40:45] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:40:45] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:40:45] local.INFO: IMEI packet received {"connection_id":175377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":175377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:40:46] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:40:46] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:40:46] local.INFO: Packet analysis {"connection_id":175377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:40:46] local.INFO: Extracted packet for processing {"connection_id":175377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:40:46] 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-09-09 06:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":175377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:40:46] local.INFO: GPS data processed {"connection_id":175377,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:40:46] local.INFO: Acknowledgment sent {"connection_id":175377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:41:17] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:41:17] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:41:17] local.INFO: Packet analysis {"connection_id":175377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:41:17] local.INFO: Extracted packet for processing {"connection_id":175377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:41:17] 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-09-09 06: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-09-09 06:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:41: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-09-09 06:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":175377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:41:17] local.INFO: GPS data processed {"connection_id":175377,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:41:17] local.INFO: Acknowledgment sent {"connection_id":175377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:41:39] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:41:39] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:41:39] local.INFO: IMEI packet received {"connection_id":175378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":175378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:41:45] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:41:45] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:41:45] local.INFO: IMEI packet received {"connection_id":175378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":175378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:41:45] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:41:45] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b36fd0012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:41:45] local.INFO: Packet analysis {"connection_id":175378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:41:45] local.INFO: Extracted packet for processing {"connection_id":175378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b3"} 
[2026-09-09 06:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788915970000,"timestamp_ms":1788915970000,"timestamp_seconds":1788915970,"priority":1,"record_length":96,"hex_timestamp":"000001a083b36fd0"} 
[2026-09-09 06:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:41:45] 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-09-09 06:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962411264001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:41:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962411264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":175378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:41:45] local.INFO: GPS data processed {"connection_id":175378,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:41:45] local.INFO: Acknowledgment sent {"connection_id":175378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:42:16] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:42:16] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:42:16] local.INFO: Packet analysis {"connection_id":175378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:42:16] local.INFO: Extracted packet for processing {"connection_id":175378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":175378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:42:16] local.INFO: GPS data processed {"connection_id":175378,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:42:16] local.INFO: Acknowledgment sent {"connection_id":175378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:42:18] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:42:18] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:42:18] local.INFO: IMEI packet received {"connection_id":176503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":176503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:42:22] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:42:22] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:42:22] local.INFO: IMEI packet received {"connection_id":175127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 06:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":175127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:42:22] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:42:22] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:42:22] local.INFO: IMEI packet received {"connection_id":175127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":175127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:42:26] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:42:26] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:42:26] local.INFO: IMEI packet received {"connection_id":175127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":175127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:42:26] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083b924c0012d7e2f8005d353a00015015804..."} 
[2026-09-09 06:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b924c0012d7e2f8005d353a00015015804..."} 
[2026-09-09 06:42:26] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b924c0012d7e2f8005d353a00015015804..."} 
[2026-09-09 06:42:26] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:42:26] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763244416,"raw_latitude":97735584,"longitude_deg":76.3244416,"latitude_deg":9.7735584,"altitude":21,"angle":344,"satellites":4,"speed":6,"hex_longitude":"2d7e2f80","hex_latitude":"05d353a0","is_valid_coordinates":true} 
[2026-09-09 06:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-09 06:42:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 06:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788916344000,"timestamp_ms":1788916344000,"timestamp_seconds":1788916344,"priority":1,"record_length":96,"hex_timestamp":"000001a083b924c0"} 
[2026-09-09 06:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 06:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13646,"109":206,"85":15104,"24":6,"16":130082018091335680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-09 06:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 06:42:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:42:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13646,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null}} 
[2026-09-09 06:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:42:26] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:42:26] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:42:40] local.INFO: TCP Data received {"connection_id":176504,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:42:40] local.INFO: Processing buffer {"connection_id":176504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:42:40] local.INFO: IMEI packet received {"connection_id":176504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":176504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:42:45] local.INFO: TCP Data received {"connection_id":176504,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:42:45] local.INFO: Processing buffer {"connection_id":176504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:42:45] local.INFO: IMEI packet received {"connection_id":176504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":176504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:42:46] local.INFO: TCP Data received {"connection_id":176504,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:42:46] local.INFO: Processing buffer {"connection_id":176504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:42:46] local.INFO: Packet analysis {"connection_id":176504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:42:46] local.INFO: Extracted packet for processing {"connection_id":176504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:42:46] 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-09-09 06:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":176504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:42:46] local.INFO: GPS data processed {"connection_id":176504,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:42:46] local.INFO: Acknowledgment sent {"connection_id":176504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:42:47] local.INFO: TCP Data received {"connection_id":177944,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:42:47] local.INFO: Processing buffer {"connection_id":177944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:42:47] local.INFO: IMEI packet received {"connection_id":177944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":177944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:43:02] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083b92c90012d7e2f4005d355400017000a04..."} 
[2026-09-09 06:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b92c90012d7e2f4005d355400017000a04..."} 
[2026-09-09 06:43:02] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b92c90012d7e2f4005d355400017000a04..."} 
[2026-09-09 06:43:02] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:43:02] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763244352,"raw_latitude":97736000,"longitude_deg":76.3244352,"latitude_deg":9.7736,"altitude":23,"angle":10,"satellites":4,"speed":6,"hex_longitude":"2d7e2f40","hex_latitude":"05d35540","is_valid_coordinates":true} 
[2026-09-09 06:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962584064001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082035271204864,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092626935192985600,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788916346000,"timestamp_ms":1788916346000,"timestamp_seconds":1788916346,"priority":1,"record_length":96,"hex_timestamp":"000001a083b92c90"} 
[2026-09-09 06:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-09 06:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962584064001,"66":13613,"109":206,"85":15104,"24":6,"16":130082035271204864,"45":9092626935192985600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962584064001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:43:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082035271204864,"km_value":130082035271204.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092626935192985600,"description":"Unknown IO ID 45"} 
[2026-09-09 06:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962584064001,"power":13613,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092626935192985600}} 
[2026-09-09 06:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:43:02] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:43:02] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:43:17] local.INFO: TCP Data received {"connection_id":176504,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:43:17] local.INFO: Processing buffer {"connection_id":176504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:43:17] local.INFO: Packet analysis {"connection_id":176504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:43:17] local.INFO: Extracted packet for processing {"connection_id":176504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:43:17] 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-09-09 06:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:43: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-09-09 06:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":176504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:43:17] local.INFO: GPS data processed {"connection_id":176504,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:43:17] local.INFO: Acknowledgment sent {"connection_id":176504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:43:33] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083b93078012d7e2f8005d355e80018001704..."} 
[2026-09-09 06:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b93078012d7e2f8005d355e80018001704..."} 
[2026-09-09 06:43:33] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b93078012d7e2f8005d355e80018001704..."} 
[2026-09-09 06:43:33] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:43:33] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763244416,"raw_latitude":97736168,"longitude_deg":76.3244416,"latitude_deg":9.7736168,"altitude":24,"angle":23,"satellites":4,"speed":6,"hex_longitude":"2d7e2f80","hex_latitude":"05d355e8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962584576001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082043861139456,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092556566448914432,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788916347000,"timestamp_ms":1788916347000,"timestamp_seconds":1788916347,"priority":1,"record_length":96,"hex_timestamp":"000001a083b93078"} 
[2026-09-09 06:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-09 06:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962584576001,"66":13613,"109":206,"85":15104,"24":6,"16":130082043861139456,"45":9092556566448914432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962584576001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:43:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082043861139456,"km_value":130082043861139.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092556566448914432,"description":"Unknown IO ID 45"} 
[2026-09-09 06:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962584576001,"power":13613,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092556566448914432}} 
[2026-09-09 06:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:43:33] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:43:33] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:43:39] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:43:39] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:43:39] local.INFO: IMEI packet received {"connection_id":175379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":175379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:43:44] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:43:44] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:43:44] local.INFO: IMEI packet received {"connection_id":175379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":175379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:43:45] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:43:45] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:43:45] local.INFO: Packet analysis {"connection_id":175379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:43:45] local.INFO: Extracted packet for processing {"connection_id":175379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:43:45] 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-09-09 06:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:43:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":175379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:43:45] local.INFO: GPS data processed {"connection_id":175379,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:43:45] local.INFO: Acknowledgment sent {"connection_id":175379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:44:04] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083b93460012d7e300005d35690001e002704..."} 
[2026-09-09 06:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b93460012d7e300005d35690001e002704..."} 
[2026-09-09 06:44:04] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b93460012d7e300005d35690001e002704..."} 
[2026-09-09 06:44:04] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:44:04] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763244544,"raw_latitude":97736336,"longitude_deg":76.3244544,"latitude_deg":9.7736336,"altitude":30,"angle":39,"satellites":4,"speed":6,"hex_longitude":"2d7e3000","hex_latitude":"05d35690","is_valid_coordinates":true} 
[2026-09-09 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-09-09 06:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962584832001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082056746041344,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092626935193135104,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44: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-09-09 06:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788916348000,"timestamp_ms":1788916348000,"timestamp_seconds":1788916348,"priority":1,"record_length":96,"hex_timestamp":"000001a083b93460"} 
[2026-09-09 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-09-09 06:44: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-09 06:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 06:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962584832001,"66":13939,"109":206,"85":15104,"24":6,"16":130082056746041344,"45":9092626935193135104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962584832001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:44:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082056746041344,"km_value":130082056746041.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092626935193135104,"description":"Unknown IO ID 45"} 
[2026-09-09 06:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962584832001,"power":13939,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092626935193135104}} 
[2026-09-09 06:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:44:04] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:44:04] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:44:17] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:44:17] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:44:17] local.INFO: Packet analysis {"connection_id":175379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:44:17] local.INFO: Extracted packet for processing {"connection_id":175379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:44:17] 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-09-09 06: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-09-09 06:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":175379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:44:17] local.INFO: GPS data processed {"connection_id":175379,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:44:17] local.INFO: Acknowledgment sent {"connection_id":175379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:44:35] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083b93c30012d7e310005d357a8001f003904..."} 
[2026-09-09 06:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b93c30012d7e310005d357a8001f003904..."} 
[2026-09-09 06:44:35] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b93c30012d7e310005d357a8001f003904..."} 
[2026-09-09 06:44:35] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:44:35] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":97736616,"longitude_deg":76.32448,"latitude_deg":9.7736616,"altitude":31,"angle":57,"satellites":4,"speed":7,"hex_longitude":"2d7e3100","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962585088001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082073925910528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681533440,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44: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-09-09 06:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788916350000,"timestamp_ms":1788916350000,"timestamp_seconds":1788916350,"priority":1,"record_length":96,"hex_timestamp":"000001a083b93c30"} 
[2026-09-09 06:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:44:35] 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-09-09 06:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-09 06:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962585088001,"66":13678,"109":206,"85":15104,"24":7,"16":130082073925910528,"45":9092767672681533440},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962585088001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:44:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082073925910528,"km_value":130082073925910.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681533440,"description":"Unknown IO ID 45"} 
[2026-09-09 06:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962585088001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092767672681533440}} 
[2026-09-09 06:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:44:35] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:44:35] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:44:39] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:44:39] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:44:39] local.INFO: IMEI packet received {"connection_id":176505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":176505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:44:44] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:44:44] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:44:44] local.INFO: IMEI packet received {"connection_id":176505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":176505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:44:45] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:44:45] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:44:45] local.INFO: Packet analysis {"connection_id":176505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:44:45] local.INFO: Extracted packet for processing {"connection_id":176505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:44:45] 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-09-09 06:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":176505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:44:45] local.INFO: GPS data processed {"connection_id":176505,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:44:45] local.INFO: Acknowledgment sent {"connection_id":176505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:45:06] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083b94018012d7e31c005d357f80020004604..."} 
[2026-09-09 06:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b94018012d7e31c005d357f80020004604..."} 
[2026-09-09 06:45:06] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b94018012d7e31c005d357f80020004604..."} 
[2026-09-09 06:45:06] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:45:06] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763244992,"raw_latitude":97736696,"longitude_deg":76.3244992,"latitude_deg":9.7736696,"altitude":32,"angle":70,"satellites":4,"speed":9,"hex_longitude":"2d7e31c0","hex_latitude":"05d357f8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962585600001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082086810812416,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658315776,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788916351000,"timestamp_ms":1788916351000,"timestamp_seconds":1788916351,"priority":1,"record_length":96,"hex_timestamp":"000001a083b94018"} 
[2026-09-09 06:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:45:06] 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-09-09 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 06:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962585600001,"66":13678,"109":206,"85":15104,"24":9,"16":130082086810812416,"45":9093049147658315776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962585600001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:45:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082086810812416,"km_value":130082086810812.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658315776,"description":"Unknown IO ID 45"} 
[2026-09-09 06:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962585600001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9093049147658315776}} 
[2026-09-09 06:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:45:06] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:45:06] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:45:17] local.INFO: TCP Data received {"connection_id":176505,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:45:17] local.INFO: Processing buffer {"connection_id":176505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:45:17] local.INFO: Packet analysis {"connection_id":176505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:45:17] local.INFO: Extracted packet for processing {"connection_id":176505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:45:17] 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-09-09 06: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-09-09 06:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:45:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":176505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:45:17] local.INFO: GPS data processed {"connection_id":176505,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:45:17] local.INFO: Acknowledgment sent {"connection_id":176505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:45:37] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083b94bd0012d7e350005d358680020005704..."} 
[2026-09-09 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b94bd0012d7e350005d358680020005704..."} 
[2026-09-09 06:45:37] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b94bd0012d7e350005d358680020005704..."} 
[2026-09-09 06:45:37] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:45:37] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b9"} 
[2026-09-09 06:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97736808,"longitude_deg":76.3245824,"latitude_deg":9.7736808,"altitude":32,"angle":87,"satellites":4,"speed":10,"hex_longitude":"2d7e3500","hex_latitude":"05d35868","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962585856001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082125465518080,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093260253890869248,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788916354000,"timestamp_ms":1788916354000,"timestamp_seconds":1788916354,"priority":1,"record_length":96,"hex_timestamp":"000001a083b94bd0"} 
[2026-09-09 06:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 06:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962585856001,"66":13852,"109":206,"85":15104,"24":10,"16":130082125465518080,"45":9093260253890869248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962585856001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:45:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082125465518080,"km_value":130082125465518.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093260253890869248,"description":"Unknown IO ID 45"} 
[2026-09-09 06:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962585856001,"power":13852,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9093260253890869248}} 
[2026-09-09 06:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:45:37] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:45:37] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:45:39] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:45:39] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:45:39] local.INFO: IMEI packet received {"connection_id":175381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":175381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:45:44] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:45:44] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:45:44] local.INFO: IMEI packet received {"connection_id":175381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":175381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:45:45] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:45:45] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:45:45] local.INFO: Packet analysis {"connection_id":175381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:45:45] local.INFO: Extracted packet for processing {"connection_id":175381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:45:45] 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-09-09 06:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":175381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:45:45] local.INFO: GPS data processed {"connection_id":175381,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:45:45] local.INFO: Acknowledgment sent {"connection_id":175381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:46:09] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc5140012d7e4d4005d35a40002800681a..."} 
[2026-09-09 06:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc5140012d7e4d4005d35a40002800681a..."} 
[2026-09-09 06:46:09] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc5140012d7e4d4005d35a40002800681a..."} 
[2026-09-09 06:46:09] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:46:09] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763252032,"raw_latitude":97737280,"longitude_deg":76.3252032,"latitude_deg":9.773728,"altitude":40,"angle":104,"satellites":26,"speed":15,"hex_longitude":"2d7e4d40","hex_latitude":"05d35a40","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962636800001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082550667280384,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100156390820472832,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788916552000,"timestamp_ms":1788916552000,"timestamp_seconds":1788916552,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc5140"} 
[2026-09-09 06:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:46:09] 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-09-09 06: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 06:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962636800001,"66":13646,"115":206,"85":15104,"24":15,"16":130082550667280384,"45":9100156390820472832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-09-09 06:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962636800001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:46:09] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-09 06:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082550667280384,"km_value":130082550667280.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100156390820472832,"description":"Unknown IO ID 45"} 
[2026-09-09 06:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962636800001,"power":13646,"unknown_115":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9100156390820472832}} 
[2026-09-09 06:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:46:09] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:46:09] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:46:17] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:46:17] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:46:17] local.INFO: Packet analysis {"connection_id":175381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:46:17] local.INFO: Extracted packet for processing {"connection_id":175381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:46:17] 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-09-09 06:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":175381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:46:17] local.INFO: GPS data processed {"connection_id":175381,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:46:17] local.INFO: Acknowledgment sent {"connection_id":175381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:46:40] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc68b0012d7e540005d358280026007419..."} 
[2026-09-09 06:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc68b0012d7e540005d358280026007419..."} 
[2026-09-09 06:46:40] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc68b0012d7e540005d358280026007419..."} 
[2026-09-09 06:46:40] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:46:40] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763253760,"raw_latitude":97736744,"longitude_deg":76.325376,"latitude_deg":9.7736744,"altitude":38,"angle":116,"satellites":25,"speed":5,"hex_longitude":"2d7e5400","hex_latitude":"05d35828","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962637312001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082636566626304,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101000815750561792,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788916558000,"timestamp_ms":1788916558000,"timestamp_seconds":1788916558,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc68b0"} 
[2026-09-09 06:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-09 06:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962637312001,"66":13820,"115":206,"85":15104,"24":5,"16":130082636566626304,"45":9101000815750561792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-09-09 06:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962637312001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:46:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-09 06:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082636566626304,"km_value":130082636566626.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101000815750561792,"description":"Unknown IO ID 45"} 
[2026-09-09 06:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962637312001,"power":13820,"unknown_115":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9101000815750561792}} 
[2026-09-09 06:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:46:40] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:46:40] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:46:45] local.INFO: TCP Data received {"connection_id":177947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:46:45] local.INFO: Processing buffer {"connection_id":177947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:46:45] local.INFO: IMEI packet received {"connection_id":177947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":177947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:46:49] local.INFO: TCP Data received {"connection_id":177947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:46:49] local.INFO: Processing buffer {"connection_id":177947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:46:49] local.INFO: IMEI packet received {"connection_id":177947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":177947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:46:50] local.INFO: TCP Data received {"connection_id":177947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:46:50] local.INFO: Processing buffer {"connection_id":177947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083b80798012d34c38006aa42c80005005d27..."} 
[2026-09-09 06:46:50] local.INFO: Packet analysis {"connection_id":177947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:46:50] local.INFO: Extracted packet for processing {"connection_id":177947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083b8"} 
[2026-09-09 06:46:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788916271000,"timestamp_ms":1788916271000,"timestamp_seconds":1788916271,"priority":1,"record_length":96,"hex_timestamp":"000001a083b80798"} 
[2026-09-09 06:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:46:50] 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-09-09 06: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-09-09 06:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962488320001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:46:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:46:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962488320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":177947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:46:50] local.INFO: GPS data processed {"connection_id":177947,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:46:50] local.INFO: Acknowledgment sent {"connection_id":177947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:46:51] local.INFO: TCP Data received {"connection_id":177947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:46:51] local.INFO: Processing buffer {"connection_id":177947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:46:51] local.INFO: Packet analysis {"connection_id":177947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:46:51] local.INFO: Extracted packet for processing {"connection_id":177947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:46:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":177947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:46:51] local.INFO: GPS data processed {"connection_id":177947,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:46:51] local.INFO: Acknowledgment sent {"connection_id":177947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:47:03] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:47:03] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:47:03] local.INFO: IMEI packet received {"connection_id":176507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 06:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":176507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:47:06] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:47:06] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:47:06] local.INFO: IMEI packet received {"connection_id":176507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":176507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:47:07] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:47:07] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:47:07] local.INFO: IMEI packet received {"connection_id":176507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":176507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:47:08] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bd4b40012d7e73c005d306c8001000541b..."} 
[2026-09-09 06:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bd4b40012d7e73c005d306c8001000541b..."} 
[2026-09-09 06:47:08] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bd4b40012d7e73c005d306c8001000541b..."} 
[2026-09-09 06:47:08] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:47:08] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763261888,"raw_latitude":97715912,"longitude_deg":76.3261888,"latitude_deg":9.7715912,"altitude":16,"angle":84,"satellites":27,"speed":24,"hex_longitude":"2d7e73c0","hex_latitude":"05d306c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962652160001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130083920761847808,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108741377604517888,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788916616000,"timestamp_ms":1788916616000,"timestamp_seconds":1788916616,"priority":1,"record_length":96,"hex_timestamp":"000001a083bd4b40"} 
[2026-09-09 06:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 06:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962652160001,"66":13917,"109":206,"85":15104,"24":24,"16":130083920761847808,"45":9108741377604517888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962652160001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:47:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130083920761847808,"km_value":130083920761847.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108741377604517888,"description":"Unknown IO ID 45"} 
[2026-09-09 06:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962652160001,"power":13917,"unknown_109":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9108741377604517888}} 
[2026-09-09 06:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:47:09] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:47:09] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:47:12] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bd62b0012d7e858005d30a50000e00441b..."} 
[2026-09-09 06:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bd62b0012d7e858005d30a50000e00441b..."} 
[2026-09-09 06:47:12] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bd62b0012d7e858005d30a50000e00441b..."} 
[2026-09-09 06:47:12] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:47:12] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763266432,"raw_latitude":97716816,"longitude_deg":76.3266432,"latitude_deg":9.7716816,"altitude":14,"angle":68,"satellites":27,"speed":34,"hex_longitude":"2d7e8580","hex_latitude":"05d30a50","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962653696001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130084144100147200,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111837602348451840,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788916622000,"timestamp_ms":1788916622000,"timestamp_seconds":1788916622,"priority":1,"record_length":96,"hex_timestamp":"000001a083bd62b0"} 
[2026-09-09 06:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:47: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-09-09 06: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 06:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962653696001,"66":13972,"109":206,"85":15104,"24":34,"16":130084144100147200,"45":9111837602348451840},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962653696001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:47:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130084144100147200,"km_value":130084144100147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111837602348451840,"description":"Unknown IO ID 45"} 
[2026-09-09 06:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962653696001,"power":13972,"unknown_109":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9111837602348451840}} 
[2026-09-09 06:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:47:12] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:47:12] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:47:23] local.INFO: TCP Data received {"connection_id":177947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:47:23] local.INFO: Processing buffer {"connection_id":177947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:47:23] local.INFO: Packet analysis {"connection_id":177947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:47:23] local.INFO: Extracted packet for processing {"connection_id":177947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":177947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:47:23] local.INFO: GPS data processed {"connection_id":177947,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:47:23] local.INFO: Acknowledgment sent {"connection_id":177947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:47:39] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:47:39] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:47:39] local.INFO: IMEI packet received {"connection_id":176508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":176508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:47:44] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bd7250012d7e91c005d310e8000d003719..."} 
[2026-09-09 06:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bd7250012d7e91c005d310e8000d003719..."} 
[2026-09-09 06:47:44] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bd7250012d7e91c005d310e8000d003719..."} 
[2026-09-09 06:47:44] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:47:44] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763269568,"raw_latitude":97718504,"longitude_deg":76.3269568,"latitude_deg":9.7718504,"altitude":13,"angle":55,"satellites":25,"speed":35,"hex_longitude":"2d7e91c0","hex_latitude":"05d310e8","is_valid_coordinates":true} 
[2026-09-09 06:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962655232001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130084315898839040,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116833783185297408,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788916626000,"timestamp_ms":1788916626000,"timestamp_seconds":1788916626,"priority":1,"record_length":96,"hex_timestamp":"000001a083bd7250"} 
[2026-09-09 06:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 06:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962655232001,"66":14070,"109":206,"85":15104,"24":35,"16":130084315898839040,"45":9116833783185297408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962655232001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:47:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130084315898839040,"km_value":130084315898839.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116833783185297408,"description":"Unknown IO ID 45"} 
[2026-09-09 06:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962655232001,"power":14070,"unknown_109":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9116833783185297408}} 
[2026-09-09 06:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:47:44] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:47:44] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:47:44] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:47:44] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:47:44] local.INFO: IMEI packet received {"connection_id":176508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":176508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:47:45] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:47:45] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:47:45] local.INFO: Packet analysis {"connection_id":176508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:47:45] local.INFO: Extracted packet for processing {"connection_id":176508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:47:45] 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-09-09 06: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-09-09 06:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":176508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:47:45] local.INFO: GPS data processed {"connection_id":176508,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:47:45] local.INFO: Acknowledgment sent {"connection_id":176508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:48:15] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bd9190012d7ea74005d31fc0000b00441d..."} 
[2026-09-09 06:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bd9190012d7ea74005d31fc0000b00441d..."} 
[2026-09-09 06:48:15] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bd9190012d7ea74005d31fc0000b00441d..."} 
[2026-09-09 06:48:15] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:48:15] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:48:15] local.INFO: GPS Element Parsed {"raw_longitude":763275072,"raw_latitude":97722304,"longitude_deg":76.3275072,"latitude_deg":9.7722304,"altitude":11,"angle":68,"satellites":29,"speed":29,"hex_longitude":"2d7ea740","hex_latitude":"05d31fc0","is_valid_coordinates":true} 
[2026-09-09 06:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962656256001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130084638021386240,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120281851650435072,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788916634000,"timestamp_ms":1788916634000,"timestamp_seconds":1788916634,"priority":1,"record_length":96,"hex_timestamp":"000001a083bd9190"} 
[2026-09-09 06:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 06:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962656256001,"66":13722,"109":206,"85":15104,"24":29,"16":130084638021386240,"45":9120281851650435072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962656256001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:48:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:48:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130084638021386240,"km_value":130084638021386.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120281851650435072,"description":"Unknown IO ID 45"} 
[2026-09-09 06:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962656256001,"power":13722,"unknown_109":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9120281851650435072}} 
[2026-09-09 06:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:48:15] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:48:15] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:48:17] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:48:17] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:48:17] local.INFO: Packet analysis {"connection_id":176508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:48:17] local.INFO: Extracted packet for processing {"connection_id":176508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:48:17] 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-09-09 06:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":176508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:48:17] local.INFO: GPS data processed {"connection_id":176508,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:48:17] local.INFO: Acknowledgment sent {"connection_id":176508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:48:17] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:48:17] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:48:17] local.INFO: IMEI packet received {"connection_id":175382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":175382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:48:40] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:48:40] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:48:40] local.INFO: IMEI packet received {"connection_id":175383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":175383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:48:45] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:48:45] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:48:45] local.INFO: IMEI packet received {"connection_id":175383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":175383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:48:46] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bda518012d7eb7c005d32380000a004f1c..."} 
[2026-09-09 06:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bda518012d7eb7c005d32380000a004f1c..."} 
[2026-09-09 06:48:46] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bda518012d7eb7c005d32380000a004f1c..."} 
[2026-09-09 06:48:46] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:48:46] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bd"} 
[2026-09-09 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":97723264,"longitude_deg":76.3279296,"latitude_deg":9.7723264,"altitude":10,"angle":79,"satellites":28,"speed":36,"hex_longitude":"2d7eb7c0","hex_latitude":"05d32380","is_valid_coordinates":true} 
[2026-09-09 06:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962658304001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130084844179816448,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126333563650686976,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788916639000,"timestamp_ms":1788916639000,"timestamp_seconds":1788916639,"priority":1,"record_length":96,"hex_timestamp":"000001a083bda518"} 
[2026-09-09 06:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 06:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962658304001,"66":13830,"109":206,"85":15104,"24":36,"16":130084844179816448,"45":9126333563650686976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962658304001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:48:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130084844179816448,"km_value":130084844179816.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126333563650686976,"description":"Unknown IO ID 45"} 
[2026-09-09 06:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962658304001,"power":13830,"unknown_109":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9126333563650686976}} 
[2026-09-09 06:48:46] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:48:46] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:48:46] local.INFO: Packet analysis {"connection_id":175383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:48:46] local.INFO: Extracted packet for processing {"connection_id":175383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:48:46] 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-09-09 06:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:48:46] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:48:46] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":175383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:48:46] local.INFO: GPS data processed {"connection_id":175383,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:48:46] local.INFO: Acknowledgment sent {"connection_id":175383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:48:47] local.INFO: TCP Data received {"connection_id":177948,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:48:47] local.INFO: Processing buffer {"connection_id":177948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:48:47] local.INFO: IMEI packet received {"connection_id":177948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":177948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:48:59] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:48:59] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:48:59] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 06:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:49:01] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:49:01] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:49:01] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:49:07] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:49:07] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:49:07] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:49:08] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083beb688012d7f6a4005d39368000600521e..."} 
[2026-09-09 06:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083beb688012d7f6a4005d39368000600521e..."} 
[2026-09-09 06:49:08] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083beb688012d7f6a4005d39368000600521e..."} 
[2026-09-09 06:49:08] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083be"} 
[2026-09-09 06:49:08] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083be"} 
[2026-09-09 06:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763324992,"raw_latitude":97751912,"longitude_deg":76.3324992,"latitude_deg":9.7751912,"altitude":6,"angle":82,"satellites":30,"speed":43,"hex_longitude":"2d7f6a40","hex_latitude":"05d39368","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962676736001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130087584368951296,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177702746907731968,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788916709000,"timestamp_ms":1788916709000,"timestamp_seconds":1788916709,"priority":1,"record_length":96,"hex_timestamp":"000001a083beb688"} 
[2026-09-09 06:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:49: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-09-09 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 06:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962676736001,"66":13254,"167":206,"85":15104,"24":43,"16":130087584368951296,"45":9177702746907731968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-09 06:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962676736001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:49:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 06:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130087584368951296,"km_value":130087584368951.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177702746907731968,"description":"Unknown IO ID 45"} 
[2026-09-09 06:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962676736001,"power":13254,"unknown_167":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9177702746907731968}} 
[2026-09-09 06:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:49:08] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:49:08] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:49:12] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bef508012d7f8e0005d394c80009005a1f..."} 
[2026-09-09 06:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bef508012d7f8e0005d394c80009005a1f..."} 
[2026-09-09 06:49:12] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bef508012d7f8e0005d394c80009005a1f..."} 
[2026-09-09 06:49:12] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083be"} 
[2026-09-09 06:49:12] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083be"} 
[2026-09-09 06:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763334144,"raw_latitude":97752264,"longitude_deg":76.3334144,"latitude_deg":9.7752264,"altitude":9,"angle":90,"satellites":31,"speed":19,"hex_longitude":"2d7f8e00","hex_latitude":"05d394c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962677504001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130088022455615488,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181221184116844544,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788916725000,"timestamp_ms":1788916725000,"timestamp_seconds":1788916725,"priority":1,"record_length":96,"hex_timestamp":"000001a083bef508"} 
[2026-09-09 06:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:49: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-09-09 06: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 06:49: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-09-09 06: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-09-09 06:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962677504001,"66":13820,"167":206,"85":15104,"24":19,"16":130088022455615488,"45":9181221184116844544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-09 06:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962677504001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:49:12] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 06:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130088022455615488,"km_value":130088022455615.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181221184116844544,"description":"Unknown IO ID 45"} 
[2026-09-09 06:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962677504001,"power":13820,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9181221184116844544}} 
[2026-09-09 06:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:49:12] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:49:12] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:49:18] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:49:18] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:49:18] local.INFO: Packet analysis {"connection_id":175383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:49:18] local.INFO: Extracted packet for processing {"connection_id":175383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":175383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:49:18] local.INFO: GPS data processed {"connection_id":175383,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:49:18] local.INFO: Acknowledgment sent {"connection_id":175383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:49:39] local.INFO: TCP Data received {"connection_id":175130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:49:39] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:49:39] local.INFO: IMEI packet received {"connection_id":175130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":175130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:49:45] local.INFO: TCP Data received {"connection_id":175130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:49:45] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:49:45] local.INFO: IMEI packet received {"connection_id":175130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":175130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:49:45] local.INFO: TCP Data received {"connection_id":175130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:49:45] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:49:45] local.INFO: Packet analysis {"connection_id":175130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:49:45] local.INFO: Extracted packet for processing {"connection_id":175130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:49:45] 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-09-09 06:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:49:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":175130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:49:46] local.INFO: GPS data processed {"connection_id":175130,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:49:46] local.INFO: Acknowledgment sent {"connection_id":175130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:49:46] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bf27d0012d7fb18005d395f8000d00591f..."} 
[2026-09-09 06:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bf27d0012d7fb18005d395f8000d00591f..."} 
[2026-09-09 06:49:46] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bf27d0012d7fb18005d395f8000d00591f..."} 
[2026-09-09 06:49:46] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:49:46] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:49:46] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":97752568,"longitude_deg":76.3343232,"latitude_deg":9.7752568,"altitude":13,"angle":89,"satellites":31,"speed":29,"hex_longitude":"2d7fb180","hex_latitude":"05d395f8","is_valid_coordinates":true} 
[2026-09-09 06:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962681600001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130088456247312384,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191283914534340608,"note":"Value kept but may cause issues"} 
[2026-09-09 06:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788916738000,"timestamp_ms":1788916738000,"timestamp_seconds":1788916738,"priority":1,"record_length":96,"hex_timestamp":"000001a083bf27d0"} 
[2026-09-09 06:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:49: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-09-09 06:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 06:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962681600001,"66":13798,"167":206,"85":15104,"24":29,"16":130088456247312384,"45":9191283914534340608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-09 06:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962681600001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:49:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 06:49:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130088456247312384,"km_value":130088456247312.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191283914534340608,"description":"Unknown IO ID 45"} 
[2026-09-09 06:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962681600001,"power":13798,"unknown_167":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9191283914534340608}} 
[2026-09-09 06:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:49:46] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:49:46] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:50:02] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:02] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:02] local.INFO: IMEI packet received {"connection_id":175385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 06:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":175385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:50:02] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:02] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:02] local.INFO: IMEI packet received {"connection_id":175385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":175385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:50:03] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:03] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:03] local.INFO: IMEI packet received {"connection_id":175385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":175385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:50:06] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:06] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:06] local.INFO: IMEI packet received {"connection_id":175385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":175385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:50:07] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bf5a98012d7fd5c005d39710000b005720..."} 
[2026-09-09 06:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bf5a98012d7fd5c005d39710000b005720..."} 
[2026-09-09 06:50:07] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bf5a98012d7fd5c005d39710000b005720..."} 
[2026-09-09 06:50:07] local.INFO: Packet analysis {"connection_id":175385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:50:07] local.INFO: Extracted packet for processing {"connection_id":175385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763352512,"raw_latitude":97752848,"longitude_deg":76.3352512,"latitude_deg":9.7752848,"altitude":11,"angle":87,"satellites":32,"speed":23,"hex_longitude":"2d7fd5c0","hex_latitude":"05d39710","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962684928001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130088898628943872,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276276207646720,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788916751000,"timestamp_ms":1788916751000,"timestamp_seconds":1788916751,"priority":1,"record_length":96,"hex_timestamp":"000001a083bf5a98"} 
[2026-09-09 06:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 06:50: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-09-09 06: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-09-09 06:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962684928001,"66":13906,"109":206,"85":15104,"24":23,"16":130088898628943872,"45":9201276276207646720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962684928001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:50:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130088898628943872,"km_value":130088898628943.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276276207646720,"description":"Unknown IO ID 45"} 
[2026-09-09 06:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962684928001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9201276276207646720}} 
[2026-09-09 06:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":175385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:50:07] local.INFO: GPS data processed {"connection_id":175385,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:50:07] local.INFO: Acknowledgment sent {"connection_id":175385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:50:08] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bf9148012d7ffa8005d398380007005721..."} 
[2026-09-09 06:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bf9148012d7ffa8005d398380007005721..."} 
[2026-09-09 06:50:08] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bf9148012d7ffa8005d398380007005721..."} 
[2026-09-09 06:50:08] local.INFO: Packet analysis {"connection_id":175385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:50:08] local.INFO: Extracted packet for processing {"connection_id":175385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763361920,"raw_latitude":97753144,"longitude_deg":76.336192,"latitude_deg":9.7753144,"altitude":7,"angle":87,"satellites":33,"speed":22,"hex_longitude":"2d7ffa80","hex_latitude":"05d39838","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962688256001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130089349600509952,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211479744113479680,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788916765000,"timestamp_ms":1788916765000,"timestamp_seconds":1788916765,"priority":1,"record_length":96,"hex_timestamp":"000001a083bf9148"} 
[2026-09-09 06:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 06:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962688256001,"66":13906,"109":206,"85":15104,"24":22,"16":130089349600509952,"45":9211479744113479680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962688256001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:50:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130089349600509952,"km_value":130089349600509.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211479744113479680,"description":"Unknown IO ID 45"} 
[2026-09-09 06:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962688256001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9211479744113479680}} 
[2026-09-09 06:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":175385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:50:08] local.INFO: GPS data processed {"connection_id":175385,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:50:08] local.INFO: Acknowledgment sent {"connection_id":175385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:50:17] local.INFO: TCP Data received {"connection_id":175130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:50:17] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:50:17] local.INFO: Packet analysis {"connection_id":175130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:50:17] local.INFO: Extracted packet for processing {"connection_id":175130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:50:17] 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-09-09 06:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":175130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:50:17] local.INFO: GPS data processed {"connection_id":175130,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:50:17] local.INFO: Acknowledgment sent {"connection_id":175130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:50:39] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bfcbe0012d801e8005d398080006005b20..."} 
[2026-09-09 06:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bfcbe0012d801e8005d398080006005b20..."} 
[2026-09-09 06:50:39] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bfcbe0012d801e8005d398080006005b20..."} 
[2026-09-09 06:50:39] local.INFO: Packet analysis {"connection_id":175385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:50:39] local.INFO: Extracted packet for processing {"connection_id":175385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763371136,"raw_latitude":97753096,"longitude_deg":76.3371136,"latitude_deg":9.7753096,"altitude":6,"angle":91,"satellites":32,"speed":32,"hex_longitude":"2d801e80","hex_latitude":"05d39808","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962691840001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130089787687174144,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221823949507672064,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788916780000,"timestamp_ms":1788916780000,"timestamp_seconds":1788916780,"priority":1,"record_length":96,"hex_timestamp":"000001a083bfcbe0"} 
[2026-09-09 06:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:50: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-09-09 06:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 06:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962691840001,"66":14048,"109":206,"85":15104,"24":32,"16":130089787687174144,"45":9221823949507672064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962691840001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:50:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130089787687174144,"km_value":130089787687174.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221823949507672064,"description":"Unknown IO ID 45"} 
[2026-09-09 06:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962691840001,"power":14048,"unknown_109":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9221823949507672064}} 
[2026-09-09 06:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":175385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:50:39] local.INFO: GPS data processed {"connection_id":175385,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:50:39] local.INFO: Acknowledgment sent {"connection_id":175385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:50:39] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:50:39] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:50:39] local.INFO: IMEI packet received {"connection_id":176510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":176510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:50:45] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:50:45] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:50:45] local.INFO: IMEI packet received {"connection_id":176510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:50:46] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:50:46] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:50:46] local.INFO: Packet analysis {"connection_id":176510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:50:46] local.INFO: Extracted packet for processing {"connection_id":176510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:50:46] 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-09-09 06:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":176510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:50:46] local.INFO: GPS data processed {"connection_id":176510,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:50:46] local.INFO: Acknowledgment sent {"connection_id":176510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:50:59] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:59] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:50:59] local.INFO: IMEI packet received {"connection_id":175132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 06:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":175132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:51:02] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:51:02] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:51:02] local.INFO: IMEI packet received {"connection_id":175132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":175132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:51:07] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:51:07] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:51:07] local.INFO: IMEI packet received {"connection_id":175132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":175132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:51:07] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083bfeb20012d80344005d397300005006621..."} 
[2026-09-09 06:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bfeb20012d80344005d397300005006621..."} 
[2026-09-09 06:51:07] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bfeb20012d80344005d397300005006621..."} 
[2026-09-09 06:51:07] local.INFO: Packet analysis {"connection_id":175132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:51:07] local.INFO: Extracted packet for processing {"connection_id":175132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bf"} 
[2026-09-09 06:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763376704,"raw_latitude":97752880,"longitude_deg":76.3376704,"latitude_deg":9.775288,"altitude":5,"angle":102,"satellites":33,"speed":18,"hex_longitude":"2d803440","hex_latitude":"05d39730","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962695680001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130090053975146496,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214787025040308224,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788916788000,"timestamp_ms":1788916788000,"timestamp_seconds":1788916788,"priority":1,"record_length":96,"hex_timestamp":"000001a083bfeb20"} 
[2026-09-09 06:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:51: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-09-09 06: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 06:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962695680001,"66":13820,"109":206,"85":15104,"24":18,"16":130090053975146496,"45":-9214787025040308224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 06:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962695680001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:51:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 06:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130090053975146496,"km_value":130090053975146.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214787025040308224,"description":"Unknown IO ID 45"} 
[2026-09-09 06:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962695680001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9214787025040308224}} 
[2026-09-09 06:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":175132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:51:07] local.INFO: GPS data processed {"connection_id":175132,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:51:07] local.INFO: Acknowledgment sent {"connection_id":175132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:51:17] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:51:17] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:51:17] local.INFO: Packet analysis {"connection_id":176510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:51:17] local.INFO: Extracted packet for processing {"connection_id":176510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:51:17] 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-09-09 06: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-09-09 06:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":176510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:51:17] local.INFO: GPS data processed {"connection_id":176510,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:51:17] local.INFO: Acknowledgment sent {"connection_id":176510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:51:38] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13b10012d80adc005d36c10000800c522..."} 
[2026-09-09 06:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13b10012d80adc005d36c10000800c522..."} 
[2026-09-09 06:51:38] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13b10012d80adc005d36c10000800c522..."} 
[2026-09-09 06:51:38] local.INFO: Packet analysis {"connection_id":175132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:51:38] local.INFO: Extracted packet for processing {"connection_id":175132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763407808,"raw_latitude":97741840,"longitude_deg":76.3407808,"latitude_deg":9.774184,"altitude":8,"angle":197,"satellites":34,"speed":11,"hex_longitude":"2d80adc0","hex_latitude":"05d36c10","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719232001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130091759077163008,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174395365885065216,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788916874000,"timestamp_ms":1788916874000,"timestamp_seconds":1788916874,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13b10"} 
[2026-09-09 06:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:51: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-09-09 06: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 06:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719232001,"66":13993,"167":206,"85":15104,"24":11,"16":130091759077163008,"45":-9174395365885065216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-09 06:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719232001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:51:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 06:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130091759077163008,"km_value":130091759077163.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174395365885065216,"description":"Unknown IO ID 45"} 
[2026-09-09 06:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719232001,"power":13993,"unknown_167":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9174395365885065216}} 
[2026-09-09 06:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":175132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:51:38] local.INFO: GPS data processed {"connection_id":175132,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:51:38] local.INFO: Acknowledgment sent {"connection_id":175132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:51:44] local.INFO: TCP Data received {"connection_id":177949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:51:44] local.INFO: Processing buffer {"connection_id":177949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:51:44] local.INFO: IMEI packet received {"connection_id":177949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":177949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:51:49] local.INFO: TCP Data received {"connection_id":177949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:51:49] local.INFO: Processing buffer {"connection_id":177949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:51:49] local.INFO: IMEI packet received {"connection_id":177949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":177949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:51:50] local.INFO: TCP Data received {"connection_id":177949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:51:50] local.INFO: Processing buffer {"connection_id":177949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083bc9f60012d34c38006aa42c80005005d26..."} 
[2026-09-09 06:51:50] local.INFO: Packet analysis {"connection_id":177949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:51:50] local.INFO: Extracted packet for processing {"connection_id":177949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083bc"} 
[2026-09-09 06:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962565376001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788916572000,"timestamp_ms":1788916572000,"timestamp_seconds":1788916572,"priority":1,"record_length":96,"hex_timestamp":"000001a083bc9f60"} 
[2026-09-09 06:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 06:51:50] 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-09-09 06:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:51: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-09-09 06:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962565376001,"66":25451,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962565376001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:51:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962565376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":177949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:51:50] local.INFO: GPS data processed {"connection_id":177949,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:51:50] local.INFO: Acknowledgment sent {"connection_id":177949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:51:52] local.INFO: TCP Data received {"connection_id":177949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:51:52] local.INFO: Processing buffer {"connection_id":177949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:51:52] local.INFO: Packet analysis {"connection_id":177949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:51:52] local.INFO: Extracted packet for processing {"connection_id":177949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":177949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:51:52] local.INFO: GPS data processed {"connection_id":177949,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:51:52] local.INFO: Acknowledgment sent {"connection_id":177949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:52:00] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:00] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:00] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 06:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:52:01] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:01] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:01] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:52:02] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:02] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:02] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:52:02] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:02] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:52:02] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:52:23] local.INFO: TCP Data received {"connection_id":177949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:52:23] local.INFO: Processing buffer {"connection_id":177949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:52:23] local.INFO: Packet analysis {"connection_id":177949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:52:23] local.INFO: Extracted packet for processing {"connection_id":177949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":177949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:52:23] local.INFO: GPS data processed {"connection_id":177949,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:52:23] local.INFO: Acknowledgment sent {"connection_id":177949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:52:41] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:52:41] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:52:41] local.INFO: IMEI packet received {"connection_id":175387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":175387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:52:45] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:52:45] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:52:45] local.INFO: IMEI packet received {"connection_id":175387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":175387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:52:46] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:52:46] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:52:46] local.INFO: Packet analysis {"connection_id":175387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:52:46] local.INFO: Extracted packet for processing {"connection_id":175387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":175387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:52:46] local.INFO: GPS data processed {"connection_id":175387,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:52:46] local.INFO: Acknowledgment sent {"connection_id":175387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:52:50] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:52:50] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:52:50] local.INFO: Packet analysis {"connection_id":175387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:52:50] local.INFO: Extracted packet for processing {"connection_id":175387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:52:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:52:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:52:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":175387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:52:50] local.INFO: GPS data processed {"connection_id":175387,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:52:50] local.INFO: Acknowledgment sent {"connection_id":175387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:53:21] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:53:21] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:53:21] local.INFO: Packet analysis {"connection_id":175387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:53:21] local.INFO: Extracted packet for processing {"connection_id":175387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:53:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":175387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:53:22] local.INFO: GPS data processed {"connection_id":175387,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:53:22] local.INFO: Acknowledgment sent {"connection_id":175387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:53:39] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:53:39] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:53:39] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:53:44] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:53:44] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:53:44] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:53:46] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:53:46] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:53:46] local.INFO: Packet analysis {"connection_id":175134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:53:46] local.INFO: Extracted packet for processing {"connection_id":175134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":175134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:53:46] local.INFO: GPS data processed {"connection_id":175134,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:53:46] local.INFO: Acknowledgment sent {"connection_id":175134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:54:17] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:54:17] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:54:17] local.INFO: Packet analysis {"connection_id":175134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:54:17] local.INFO: Extracted packet for processing {"connection_id":175134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":175134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:54:17] local.INFO: GPS data processed {"connection_id":175134,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:54:17] local.INFO: Acknowledgment sent {"connection_id":175134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:54:17] local.INFO: TCP Data received {"connection_id":175135,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:54:17] local.INFO: Processing buffer {"connection_id":175135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:54:17] local.INFO: IMEI packet received {"connection_id":175135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":175135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:54:39] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:54:39] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:54:39] local.INFO: IMEI packet received {"connection_id":175389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":175389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:54:42] local.INFO: TCP Data received {"connection_id":177952,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:54:42] local.INFO: Processing buffer {"connection_id":177952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 06:54:42] local.INFO: IMEI packet received {"connection_id":177952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 06:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":177952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:54:45] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:54:45] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:54:45] local.INFO: IMEI packet received {"connection_id":175389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":175389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:54:46] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:54:46] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:54:46] local.INFO: Packet analysis {"connection_id":175389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:54:46] local.INFO: Extracted packet for processing {"connection_id":175389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":175389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:54:46] local.INFO: GPS data processed {"connection_id":175389,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:54:46] local.INFO: Acknowledgment sent {"connection_id":175389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:55:18] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:55:18] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:55:18] local.INFO: Packet analysis {"connection_id":175389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:55:18] local.INFO: Extracted packet for processing {"connection_id":175389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:55: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-09-09 06:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:55:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":175389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:55:18] local.INFO: GPS data processed {"connection_id":175389,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:55:18] local.INFO: Acknowledgment sent {"connection_id":175389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:55:39] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:55:39] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:55:39] local.INFO: IMEI packet received {"connection_id":176511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":176511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:55:44] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:55:44] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:55:44] local.INFO: IMEI packet received {"connection_id":176511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":176511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:55:46] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:55:46] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:55:46] local.INFO: Packet analysis {"connection_id":176511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:55:46] local.INFO: Extracted packet for processing {"connection_id":176511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":176511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:55:46] local.INFO: GPS data processed {"connection_id":176511,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:55:46] local.INFO: Acknowledgment sent {"connection_id":176511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:56:17] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:56:17] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:56:17] local.INFO: Packet analysis {"connection_id":176511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:56:17] local.INFO: Extracted packet for processing {"connection_id":176511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":176511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:56:17] local.INFO: GPS data processed {"connection_id":176511,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:56:17] local.INFO: Acknowledgment sent {"connection_id":176511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:56:44] local.INFO: TCP Data received {"connection_id":177955,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:56:44] local.INFO: Processing buffer {"connection_id":177955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:56:44] local.INFO: IMEI packet received {"connection_id":177955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":177955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:56:49] local.INFO: TCP Data received {"connection_id":177955,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:56:49] local.INFO: Processing buffer {"connection_id":177955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:56:49] local.INFO: IMEI packet received {"connection_id":177955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":177955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:56:50] local.INFO: TCP Data received {"connection_id":177955,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:56:50] local.INFO: Processing buffer {"connection_id":177955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c13728012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:56:50] local.INFO: Packet analysis {"connection_id":177955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:56:50] local.INFO: Extracted packet for processing {"connection_id":177955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c1"} 
[2026-09-09 06:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962642432001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788916873000,"timestamp_ms":1788916873000,"timestamp_seconds":1788916873,"priority":1,"record_length":96,"hex_timestamp":"000001a083c13728"} 
[2026-09-09 06:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 06:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:56: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-09-09 06:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962642432001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962642432001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:56:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962642432001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":177955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:56:50] local.INFO: GPS data processed {"connection_id":177955,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:56:50] local.INFO: Acknowledgment sent {"connection_id":177955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:56:53] local.INFO: TCP Data received {"connection_id":177955,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:56:53] local.INFO: Processing buffer {"connection_id":177955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:56:53] local.INFO: Packet analysis {"connection_id":177955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:56:53] local.INFO: Extracted packet for processing {"connection_id":177955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 06:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 06:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":177955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:56:53] local.INFO: GPS data processed {"connection_id":177955,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:56:53] local.INFO: Acknowledgment sent {"connection_id":177955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:57:06] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:57:06] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:57:06] local.INFO: IMEI packet received {"connection_id":175391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 06:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":175391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:57:07] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c57518012d816e8005d184980002004c24..."} 
[2026-09-09 06:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c57518012d816e8005d184980002004c24..."} 
[2026-09-09 06:57:07] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c57518012d816e8005d184980002004c24..."} 
[2026-09-09 06:57:07] local.INFO: Packet analysis {"connection_id":175391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:57:07] local.INFO: Extracted packet for processing {"connection_id":175391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763457152,"raw_latitude":97617048,"longitude_deg":76.3457152,"latitude_deg":9.7617048,"altitude":2,"angle":76,"satellites":36,"speed":19,"hex_longitude":"2d816e80","hex_latitude":"05d18498","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962789632001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130099829320712192,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122181757737379840,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57: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-09-09 06:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788917151000,"timestamp_ms":1788917151000,"timestamp_seconds":1788917151,"priority":1,"record_length":96,"hex_timestamp":"000001a083c57518"} 
[2026-09-09 06:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 06: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755408046784512,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627159370496,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2210699864,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2169143301,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3302545409,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2245001224,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3221606796,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515701248,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-5187815263298386479,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-6341061676973817838,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,53,160,89,45,132,1,36,10,66,52,128,131,3,64,240,78,227,209,4,113,205,166,38,168,34,239,2,206,5,6,138,140],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-09-09 06:57:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72154505680781312,"timestamp_seconds":72154505680781.31,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 06:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962789632001,"66":14048,"208":206,"85":15104,"24":19,"16":130099829320712192,"45":-9122181757737379840},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 06:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962789632001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:57:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 06:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130099829320712192,"km_value":130099829320712.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122181757737379840,"description":"Unknown IO ID 45"} 
[2026-09-09 06:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962789632001,"power":14048,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9122181757737379840}} 
[2026-09-09 06:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":175391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:57:07] local.INFO: GPS data processed {"connection_id":175391,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:57:07] local.INFO: Acknowledgment sent {"connection_id":175391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:57:24] local.INFO: TCP Data received {"connection_id":177955,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:57:24] local.INFO: Processing buffer {"connection_id":177955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:57:24] local.INFO: Packet analysis {"connection_id":177955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:57:24] local.INFO: Extracted packet for processing {"connection_id":177955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 06:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 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-09-09 06:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 06:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 06:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:57:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":177955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:57:24] local.INFO: GPS data processed {"connection_id":177955,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:57:24] local.INFO: Acknowledgment sent {"connection_id":177955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:57:38] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c584b8012d81760005d186d80003004023..."} 
[2026-09-09 06:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c584b8012d81760005d186d80003004023..."} 
[2026-09-09 06:57:38] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c584b8012d81760005d186d80003004023..."} 
[2026-09-09 06:57:38] local.INFO: Packet analysis {"connection_id":175391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:57:38] local.INFO: Extracted packet for processing {"connection_id":175391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763459072,"raw_latitude":97617624,"longitude_deg":76.3459072,"latitude_deg":9.7617624,"altitude":3,"angle":64,"satellites":35,"speed":22,"hex_longitude":"2d817600","hex_latitude":"05d186d8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962790656001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130099923809992704,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120211432900356096,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788917155000,"timestamp_ms":1788917155000,"timestamp_seconds":1788917155,"priority":1,"record_length":96,"hex_timestamp":"000001a083c584b8"} 
[2026-09-09 06:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:57: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-09-09 06: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 06:57: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-09-09 06: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-09-09 06:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962790656001,"66":13917,"208":206,"85":15104,"24":22,"16":130099923809992704,"45":-9120211432900356096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 06:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962790656001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:57:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 06:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130099923809992704,"km_value":130099923809992.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120211432900356096,"description":"Unknown IO ID 45"} 
[2026-09-09 06:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962790656001,"power":13917,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9120211432900356096}} 
[2026-09-09 06:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":175391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:57:38] local.INFO: GPS data processed {"connection_id":175391,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:57:38] local.INFO: Acknowledgment sent {"connection_id":175391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:57:40] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:57:40] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:57:40] local.INFO: IMEI packet received {"connection_id":176512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":176512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:57:44] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:57:44] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:57:44] local.INFO: IMEI packet received {"connection_id":176512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":176512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:57:45] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:57:45] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:57:45] local.INFO: Packet analysis {"connection_id":176512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:57:45] local.INFO: Extracted packet for processing {"connection_id":176512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 06:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:57: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-09-09 06:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 06:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:57:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":176512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:57:45] local.INFO: GPS data processed {"connection_id":176512,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:57:45] local.INFO: Acknowledgment sent {"connection_id":176512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:58:02] local.INFO: TCP Data received {"connection_id":177956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:58:02] local.INFO: Processing buffer {"connection_id":177956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:58:02] local.INFO: IMEI packet received {"connection_id":177956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 06:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":177956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:58:07] local.INFO: TCP Data received {"connection_id":177956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:58:07] local.INFO: Processing buffer {"connection_id":177956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:58:07] local.INFO: IMEI packet received {"connection_id":177956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":177956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:58:07] local.INFO: TCP Data received {"connection_id":177956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c59458012d817ec005d18a500005004f23..."} 
[2026-09-09 06:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c59458012d817ec005d18a500005004f23..."} 
[2026-09-09 06:58:07] local.INFO: Processing buffer {"connection_id":177956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c59458012d817ec005d18a500005004f23..."} 
[2026-09-09 06:58:07] local.INFO: Packet analysis {"connection_id":177956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:58:07] local.INFO: Extracted packet for processing {"connection_id":177956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763461312,"raw_latitude":97618512,"longitude_deg":76.3461312,"latitude_deg":9.7618512,"altitude":5,"angle":79,"satellites":35,"speed":24,"hex_longitude":"2d817ec0","hex_latitude":"05d18a50","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962791680001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130100039774109696,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9118100370574878720,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58: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-09-09 06:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788917159000,"timestamp_ms":1788917159000,"timestamp_seconds":1788917159,"priority":1,"record_length":96,"hex_timestamp":"000001a083c59458"} 
[2026-09-09 06:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:58: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-09-09 06: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 06:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06: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-09-09 06:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962791680001,"66":13820,"208":206,"85":15104,"24":24,"16":130100039774109696,"45":-9118100370574878720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 06:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962791680001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:58:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 06:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130100039774109696,"km_value":130100039774109.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9118100370574878720,"description":"Unknown IO ID 45"} 
[2026-09-09 06:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962791680001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9118100370574878720}} 
[2026-09-09 06:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":177956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:58:07] local.INFO: GPS data processed {"connection_id":177956,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:58:07] local.INFO: Acknowledgment sent {"connection_id":177956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:58:17] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:58:17] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:58:17] local.INFO: Packet analysis {"connection_id":176512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:58:17] local.INFO: Extracted packet for processing {"connection_id":176512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 06:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 06:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":176512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:58:17] local.INFO: GPS data processed {"connection_id":176512,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:58:17] local.INFO: Acknowledgment sent {"connection_id":176512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:58:38] local.INFO: TCP Data received {"connection_id":177956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c7de48012d81c38005d184e00007005526..."} 
[2026-09-09 06:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c7de48012d81c38005d184e00007005526..."} 
[2026-09-09 06:58:38] local.INFO: Processing buffer {"connection_id":177956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c7de48012d81c38005d184e00007005526..."} 
[2026-09-09 06:58:38] local.INFO: Packet analysis {"connection_id":177956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c7"} 
[2026-09-09 06:58:38] local.INFO: Extracted packet for processing {"connection_id":177956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c7"} 
[2026-09-09 06:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763478912,"raw_latitude":97617120,"longitude_deg":76.3478912,"latitude_deg":9.761712,"altitude":7,"angle":85,"satellites":38,"speed":0,"hex_longitude":"2d81c380","hex_latitude":"05d184e0","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962825728001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130100890177634304,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096286059879931904,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58: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-09-09 06:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788917309000,"timestamp_ms":1788917309000,"timestamp_seconds":1788917309,"priority":1,"record_length":96,"hex_timestamp":"000001a083c7de48"} 
[2026-09-09 06:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:58: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-09-09 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 06:58: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-09-09 06: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-09-09 06:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962825728001,"66":14004,"65":206,"85":15104,"24":0,"16":130100890177634304,"45":-9096286059879931904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-09 06:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962825728001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:58:38] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-09 06:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130100890177634304,"km_value":130100890177634.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096286059879931904,"description":"Unknown IO ID 45"} 
[2026-09-09 06:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962825728001,"power":14004,"unknown_65":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9096286059879931904}} 
[2026-09-09 06:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":177956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:58:38] local.INFO: GPS data processed {"connection_id":177956,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:58:38] local.INFO: Acknowledgment sent {"connection_id":177956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:58:39] local.INFO: TCP Data received {"connection_id":175392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:58:39] local.INFO: Processing buffer {"connection_id":175392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:58:39] local.INFO: IMEI packet received {"connection_id":175392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":175392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:58:44] local.INFO: TCP Data received {"connection_id":175392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:58:44] local.INFO: Processing buffer {"connection_id":175392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:58:44] local.INFO: IMEI packet received {"connection_id":175392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":175392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:58:45] local.INFO: TCP Data received {"connection_id":175392,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:58:45] local.INFO: Processing buffer {"connection_id":175392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:58:45] local.INFO: Packet analysis {"connection_id":175392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:58:45] local.INFO: Extracted packet for processing {"connection_id":175392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 06:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06: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-09-09 06:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 06:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:58:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":175392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:58:45] local.INFO: GPS data processed {"connection_id":175392,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:58:45] local.INFO: Acknowledgment sent {"connection_id":175392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:59:02] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:59:02] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:59:02] local.INFO: IMEI packet received {"connection_id":175139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 06:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":175139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:59:02] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:59:02] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:59:02] local.INFO: IMEI packet received {"connection_id":175139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":175139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:59:06] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:59:06] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 06:59:06] local.INFO: IMEI packet received {"connection_id":175139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 06:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":175139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:59:07] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c7e618012d81c5c005d184c80007006c26..."} 
[2026-09-09 06:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c7e618012d81c5c005d184c80007006c26..."} 
[2026-09-09 06:59:07] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c7e618012d81c5c005d184c80007006c26..."} 
[2026-09-09 06:59:07] local.INFO: Packet analysis {"connection_id":175139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c7"} 
[2026-09-09 06:59:07] local.INFO: Extracted packet for processing {"connection_id":175139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c7"} 
[2026-09-09 06:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763479488,"raw_latitude":97617096,"longitude_deg":76.3479488,"latitude_deg":9.7617096,"altitude":7,"angle":108,"satellites":38,"speed":5,"hex_longitude":"2d81c5c0","hex_latitude":"05d184c8","is_valid_coordinates":true} 
[2026-09-09 06: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-09-09 06:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962831104001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130100915947438080,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096286059879931904,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:07] 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-09-09 06:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788917311000,"timestamp_ms":1788917311000,"timestamp_seconds":1788917311,"priority":1,"record_length":96,"hex_timestamp":"000001a083c7e618"} 
[2026-09-09 06:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:59: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-09-09 06: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 06:59: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-09-09 06: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-09-09 06:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962831104001,"66":13537,"65":206,"85":15104,"24":5,"16":130100915947438080,"45":-9096286059879931904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-09 06:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962831104001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:59:07] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-09 06:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130100915947438080,"km_value":130100915947438.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096286059879931904,"description":"Unknown IO ID 45"} 
[2026-09-09 06:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962831104001,"power":13537,"unknown_65":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9096286059879931904}} 
[2026-09-09 06:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":175139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:59:07] local.INFO: GPS data processed {"connection_id":175139,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:59:07] local.INFO: Acknowledgment sent {"connection_id":175139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:59:17] local.INFO: TCP Data received {"connection_id":175392,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:59:17] local.INFO: Processing buffer {"connection_id":175392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:59:17] local.INFO: Packet analysis {"connection_id":175392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:59:17] local.INFO: Extracted packet for processing {"connection_id":175392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 06:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 06:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:59:17] local.INFO: GPS data processed {"connection_id":175392,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:59:17] local.INFO: Acknowledgment sent {"connection_id":175392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:59:38] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c7ede8012d81c74005d184800007006026..."} 
[2026-09-09 06:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c7ede8012d81c74005d184800007006026..."} 
[2026-09-09 06:59:38] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c7ede8012d81c74005d184800007006026..."} 
[2026-09-09 06:59:38] local.INFO: Packet analysis {"connection_id":175139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c7"} 
[2026-09-09 06:59:38] local.INFO: Extracted packet for processing {"connection_id":175139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c7"} 
[2026-09-09 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763479872,"raw_latitude":97617024,"longitude_deg":76.3479872,"latitude_deg":9.7617024,"altitude":7,"angle":96,"satellites":38,"speed":8,"hex_longitude":"2d81c740","hex_latitude":"05d18480","is_valid_coordinates":true} 
[2026-09-09 06:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962831616001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130100933127307264,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095652741182339072,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59: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-09-09 06:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788917313000,"timestamp_ms":1788917313000,"timestamp_seconds":1788917313,"priority":1,"record_length":96,"hex_timestamp":"000001a083c7ede8"} 
[2026-09-09 06:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:59: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-09-09 06: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-09 06:59: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-09-09 06:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 06:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 06:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 06:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962831616001,"66":13820,"65":206,"85":15104,"24":8,"16":130100933127307264,"45":-9095652741182339072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-09 06:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 06:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 06:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962831616001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:59:38] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-09 06:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 06:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130100933127307264,"km_value":130100933127307.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095652741182339072,"description":"Unknown IO ID 45"} 
[2026-09-09 06:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962831616001,"power":13820,"unknown_65":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9095652741182339072}} 
[2026-09-09 06:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":175139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:59:38] local.INFO: GPS data processed {"connection_id":175139,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:59:38] local.INFO: Acknowledgment sent {"connection_id":175139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 06:59:39] local.INFO: TCP Data received {"connection_id":177957,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:59:39] local.INFO: Processing buffer {"connection_id":177957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:59:39] local.INFO: IMEI packet received {"connection_id":177957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 06:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":177957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 06:59:44] local.INFO: TCP Data received {"connection_id":177957,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:59:44] local.INFO: Processing buffer {"connection_id":177957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 06:59:44] local.INFO: IMEI packet received {"connection_id":177957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 06:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":177957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 06:59:46] local.INFO: TCP Data received {"connection_id":177957,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:59:46] local.INFO: Processing buffer {"connection_id":177957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 06:59:46] local.INFO: Packet analysis {"connection_id":177957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:59:46] local.INFO: Extracted packet for processing {"connection_id":177957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 06:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 06:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 06:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 06:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 06:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 06:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 06:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 06:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 06:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 06:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 06:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 06:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 06:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 06:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 06:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 06:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 06:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 06:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 06:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 06:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 06:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 06:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 06:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 06:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 06:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 06:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 06:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":177957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 06:59:46] local.INFO: GPS data processed {"connection_id":177957,"processed":1,"errors":0,"total":1} 
[2026-09-09 06:59:46] local.INFO: Acknowledgment sent {"connection_id":177957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:00:01] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:01] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:01] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:00:02] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:02] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:02] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:00:02] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:02] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:02] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:00:06] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:06] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:00:06] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:00:06] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c92e38012d82938005d16a70000b006626..."} 
[2026-09-09 07:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c92e38012d82938005d16a70000b006626..."} 
[2026-09-09 07:00:06] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c92e38012d82938005d16a70000b006626..."} 
[2026-09-09 07:00:06] local.INFO: Packet analysis {"connection_id":175140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c9"} 
[2026-09-09 07:00:06] local.INFO: Extracted packet for processing {"connection_id":175140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c9"} 
[2026-09-09 07:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763532160,"raw_latitude":97610352,"longitude_deg":76.353216,"latitude_deg":9.7610352,"altitude":11,"angle":102,"satellites":38,"speed":5,"hex_longitude":"2d829380","hex_latitude":"05d16a70","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962848768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130103510107684864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047590888910903296,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:06] 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-09-09 07:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788917395000,"timestamp_ms":1788917395000,"timestamp_seconds":1788917395,"priority":1,"record_length":96,"hex_timestamp":"000001a083c92e38"} 
[2026-09-09 07:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:00: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-09-09 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 07:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962848768001,"66":13526,"64":206,"85":15104,"24":5,"16":130103510107684864,"45":-9047590888910903296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962848768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:00:06] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130103510107684864,"km_value":130103510107684.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047590888910903296,"description":"Unknown IO ID 45"} 
[2026-09-09 07:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962848768001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9047590888910903296}} 
[2026-09-09 07:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":175140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:00:06] local.INFO: GPS data processed {"connection_id":175140,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:00:06] local.INFO: Acknowledgment sent {"connection_id":175140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:00:07] local.INFO: TCP Data received {"connection_id":177958,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:00:07] local.INFO: Processing buffer {"connection_id":177958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:00:07] local.INFO: IMEI packet received {"connection_id":177958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":177958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:00:17] local.INFO: TCP Data received {"connection_id":177957,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:00:17] local.INFO: Processing buffer {"connection_id":177957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:00:17] local.INFO: Packet analysis {"connection_id":177957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 07:00:17] local.INFO: Extracted packet for processing {"connection_id":177957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 07:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 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-09-09 07:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":177957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:00:17] local.INFO: GPS data processed {"connection_id":177957,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:00:17] local.INFO: Acknowledgment sent {"connection_id":177957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:00:37] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c92e38012d82938005d16a70000b006626..."} 
[2026-09-09 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c92e38012d82938005d16a70000b006626..."} 
[2026-09-09 07:00:37] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c92e38012d82938005d16a70000b006626..."} 
[2026-09-09 07:00:37] local.INFO: Packet analysis {"connection_id":175140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c9"} 
[2026-09-09 07:00:37] local.INFO: Extracted packet for processing {"connection_id":175140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c9"} 
[2026-09-09 07:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763532160,"raw_latitude":97610352,"longitude_deg":76.353216,"latitude_deg":9.7610352,"altitude":11,"angle":102,"satellites":38,"speed":5,"hex_longitude":"2d829380","hex_latitude":"05d16a70","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962853120001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130103510107684864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037739264725848064,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:37] 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-09-09 07:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788917395000,"timestamp_ms":1788917395000,"timestamp_seconds":1788917395,"priority":1,"record_length":96,"hex_timestamp":"000001a083c92e38"} 
[2026-09-09 07:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:00: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-09-09 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 07:00: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-09-09 07: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-09-09 07:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962853120001,"66":13526,"64":206,"85":15104,"24":5,"16":130103510107684864,"45":-9037739264725848064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962853120001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:00:37] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130103510107684864,"km_value":130103510107684.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037739264725848064,"description":"Unknown IO ID 45"} 
[2026-09-09 07:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962853120001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9037739264725848064}} 
[2026-09-09 07:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":175140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:00:37] local.INFO: GPS data processed {"connection_id":175140,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:00:37] local.INFO: Acknowledgment sent {"connection_id":175140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:00:39] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:00:39] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:00:39] local.INFO: IMEI packet received {"connection_id":176514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":176514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:00:44] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:00:44] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:00:44] local.INFO: IMEI packet received {"connection_id":176514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":176514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:00:46] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:00:46] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:00:46] local.INFO: Packet analysis {"connection_id":176514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 07:00:46] local.INFO: Extracted packet for processing {"connection_id":176514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 07:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 07:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":176514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:00:46] local.INFO: GPS data processed {"connection_id":176514,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:00:46] local.INFO: Acknowledgment sent {"connection_id":176514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:01:01] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:01:01] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:01:01] local.INFO: IMEI packet received {"connection_id":176515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":176515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:01:06] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:01:06] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:01:06] local.INFO: IMEI packet received {"connection_id":176515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":176515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:01:06] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:01:06] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:01:06] local.INFO: IMEI packet received {"connection_id":176515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":176515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:01:07] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083c9e1e8012d82f64005d15808000b005e26..."} 
[2026-09-09 07:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c9e1e8012d82f64005d15808000b005e26..."} 
[2026-09-09 07:01:07] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c9e1e8012d82f64005d15808000b005e26..."} 
[2026-09-09 07:01:07] local.INFO: Packet analysis {"connection_id":176515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c9"} 
[2026-09-09 07:01:07] local.INFO: Extracted packet for processing {"connection_id":176515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c9"} 
[2026-09-09 07:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763557440,"raw_latitude":97605640,"longitude_deg":76.355744,"latitude_deg":9.760564,"altitude":11,"angle":94,"satellites":38,"speed":31,"hex_longitude":"2d82f640","hex_latitude":"05d15808","is_valid_coordinates":true} 
[2026-09-09 07:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962861568001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130104798597873664,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020358184914927616,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:07] 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-09-09 07:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788917441000,"timestamp_ms":1788917441000,"timestamp_seconds":1788917441,"priority":1,"record_length":96,"hex_timestamp":"000001a083c9e1e8"} 
[2026-09-09 07:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07: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-09-09 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 07:01: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-09-09 07:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962861568001,"66":13798,"64":206,"85":15104,"24":31,"16":130104798597873664,"45":-9020358184914927616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962861568001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:01:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130104798597873664,"km_value":130104798597873.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020358184914927616,"description":"Unknown IO ID 45"} 
[2026-09-09 07:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962861568001,"power":13798,"unknown_64":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9020358184914927616}} 
[2026-09-09 07:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":176515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:01:07] local.INFO: GPS data processed {"connection_id":176515,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:01:07] local.INFO: Acknowledgment sent {"connection_id":176515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:01:08] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca10c8012d831b8005d15550000b005d25..."} 
[2026-09-09 07:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca10c8012d831b8005d15550000b005d25..."} 
[2026-09-09 07:01:08] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca10c8012d831b8005d15550000b005d25..."} 
[2026-09-09 07:01:08] local.INFO: Packet analysis {"connection_id":176515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:01:08] local.INFO: Extracted packet for processing {"connection_id":176515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763566976,"raw_latitude":97604944,"longitude_deg":76.3566976,"latitude_deg":9.7604944,"altitude":11,"angle":93,"satellites":37,"speed":29,"hex_longitude":"2d831b80","hex_latitude":"05d15550","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962864896001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105253864407040,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9009943610776877056,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:08] 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-09-09 07:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788917453000,"timestamp_ms":1788917453000,"timestamp_seconds":1788917453,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca10c8"} 
[2026-09-09 07:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 07:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962864896001,"66":13961,"64":206,"85":15104,"24":29,"16":130105253864407040,"45":-9009943610776877056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962864896001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:01:08] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105253864407040,"km_value":130105253864407.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9009943610776877056,"description":"Unknown IO ID 45"} 
[2026-09-09 07:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962864896001,"power":13961,"unknown_64":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9009943610776877056}} 
[2026-09-09 07:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":176515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:01:08] local.INFO: GPS data processed {"connection_id":176515,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:01:08] local.INFO: Acknowledgment sent {"connection_id":176515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:01:17] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:01:17] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:01:17] local.INFO: Packet analysis {"connection_id":176514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 07:01:17] local.INFO: Extracted packet for processing {"connection_id":176514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 07:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 07:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:01: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-09-09 07:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:01:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":176514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:01:17] local.INFO: GPS data processed {"connection_id":176514,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:01:17] local.INFO: Acknowledgment sent {"connection_id":176514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:01:39] local.INFO: TCP Data received {"connection_id":176515,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca3bc0012d83324005d153880009006d26..."} 
[2026-09-09 07:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca3bc0012d83324005d153880009006d26..."} 
[2026-09-09 07:01:39] local.INFO: Processing buffer {"connection_id":176515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca3bc0012d83324005d153880009006d26..."} 
[2026-09-09 07:01:39] local.INFO: Packet analysis {"connection_id":176515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:01:39] local.INFO: Extracted packet for processing {"connection_id":176515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763572800,"raw_latitude":97604488,"longitude_deg":76.35728,"latitude_deg":9.7604488,"altitude":9,"angle":109,"satellites":38,"speed":10,"hex_longitude":"2d833240","hex_latitude":"05d15388","is_valid_coordinates":true} 
[2026-09-09 07:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962867968001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105533037281280,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8999458667894583296,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:39] 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-09-09 07:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788917464000,"timestamp_ms":1788917464000,"timestamp_seconds":1788917464,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca3bc0"} 
[2026-09-09 07:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 07:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962867968001,"66":13472,"64":206,"85":15104,"24":10,"16":130105533037281280,"45":-8999458667894583296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962867968001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:01:39] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105533037281280,"km_value":130105533037281.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8999458667894583296,"description":"Unknown IO ID 45"} 
[2026-09-09 07:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962867968001,"power":13472,"unknown_64":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-8999458667894583296}} 
[2026-09-09 07:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":176515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:01:39] local.INFO: GPS data processed {"connection_id":176515,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:01:39] local.INFO: Acknowledgment sent {"connection_id":176515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:01:45] local.INFO: TCP Data received {"connection_id":177959,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:01:45] local.INFO: Processing buffer {"connection_id":177959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:01:45] local.INFO: IMEI packet received {"connection_id":177959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":177959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:01:50] local.INFO: TCP Data received {"connection_id":177959,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:01:50] local.INFO: Processing buffer {"connection_id":177959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:01:50] local.INFO: IMEI packet received {"connection_id":177959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":177959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:01:51] local.INFO: TCP Data received {"connection_id":177959,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:01:51] local.INFO: Processing buffer {"connection_id":177959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083c5cef0012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:01:51] local.INFO: Packet analysis {"connection_id":177959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 07:01:51] local.INFO: Extracted packet for processing {"connection_id":177959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083c5"} 
[2026-09-09 07:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788917174000,"timestamp_ms":1788917174000,"timestamp_seconds":1788917174,"priority":1,"record_length":96,"hex_timestamp":"000001a083c5cef0"} 
[2026-09-09 07:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962719488001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962719488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":177959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:01:51] local.INFO: GPS data processed {"connection_id":177959,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:01:51] local.INFO: Acknowledgment sent {"connection_id":177959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:01:55] local.INFO: TCP Data received {"connection_id":177959,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:01:55] local.INFO: Processing buffer {"connection_id":177959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:01:55] local.INFO: Packet analysis {"connection_id":177959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:01:55] local.INFO: Extracted packet for processing {"connection_id":177959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 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-09-09 07:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:01:55] 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-09-09 07:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 07:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:01:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:01:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":177959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:01:55] local.INFO: GPS data processed {"connection_id":177959,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:01:55] local.INFO: Acknowledgment sent {"connection_id":177959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:02:07] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:02:07] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:02:07] local.INFO: IMEI packet received {"connection_id":175394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":175394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:02:12] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:02:12] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:02:12] local.INFO: IMEI packet received {"connection_id":175394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":175394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:02:12] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca3fa8012d83330005d153280009007e26..."} 
[2026-09-09 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca3fa8012d83330005d153280009007e26..."} 
[2026-09-09 07:02:12] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca3fa8012d83330005d153280009007e26..."} 
[2026-09-09 07:02:12] local.INFO: Packet analysis {"connection_id":175394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:02:12] local.INFO: Extracted packet for processing {"connection_id":175394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763572992,"raw_latitude":97604392,"longitude_deg":76.3572992,"latitude_deg":9.7604392,"altitude":9,"angle":126,"satellites":38,"speed":8,"hex_longitude":"2d833300","hex_latitude":"05d15328","is_valid_coordinates":true} 
[2026-09-09 07:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962870784001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105545922183168,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993055112174532608,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788917465000,"timestamp_ms":1788917465000,"timestamp_seconds":1788917465,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca3fa8"} 
[2026-09-09 07:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 07:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962870784001,"66":13580,"64":206,"85":15104,"24":8,"16":130105545922183168,"45":-8993055112174532608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962870784001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:02:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105545922183168,"km_value":130105545922183.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993055112174532608,"description":"Unknown IO ID 45"} 
[2026-09-09 07:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962870784001,"power":13580,"unknown_64":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8993055112174532608}} 
[2026-09-09 07:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":175394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:02:12] local.INFO: GPS data processed {"connection_id":175394,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:02:12] local.INFO: Acknowledgment sent {"connection_id":175394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:02:13] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca4390012d83338005d152980009009126..."} 
[2026-09-09 07:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca4390012d83338005d152980009009126..."} 
[2026-09-09 07:02:13] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca4390012d83338005d152980009009126..."} 
[2026-09-09 07:02:13] local.INFO: Packet analysis {"connection_id":175394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:02:13] local.INFO: Extracted packet for processing {"connection_id":175394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763573120,"raw_latitude":97604248,"longitude_deg":76.357312,"latitude_deg":9.7604248,"altitude":9,"angle":145,"satellites":38,"speed":8,"hex_longitude":"2d833380","hex_latitude":"05d15298","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962871040001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105554512117760,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992844005942024192,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] 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-09-09 07:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788917466000,"timestamp_ms":1788917466000,"timestamp_seconds":1788917466,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca4390"} 
[2026-09-09 07:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:02: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-09-09 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2211012864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2194751493,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3586952176456433664,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3383697409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634462951460416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512903680,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-7475968984575115251,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-1008580580566053291,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,64,85,24,241,157,16,58,160,59,45,83,9,38,10,66,128,11,37,225,1,240,230,227,57,131,209,4,113,205,30,173,120,239,54,2,206,5,13,130,51],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-09-09 07:02:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648657048015732736,"timestamp_seconds":648657048015732.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962871040001,"66":13580,"64":206,"85":15104,"24":8,"16":130105554512117760,"45":-8992844005942024192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962871040001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:02:13] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105554512117760,"km_value":130105554512117.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992844005942024192,"description":"Unknown IO ID 45"} 
[2026-09-09 07:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962871040001,"power":13580,"unknown_64":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992844005942024192}} 
[2026-09-09 07:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":175394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:02:14] local.INFO: GPS data processed {"connection_id":175394,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:02:14] local.INFO: Acknowledgment sent {"connection_id":175394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:02:39] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:02:39] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:02:39] local.INFO: IMEI packet received {"connection_id":176517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":176517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:02:44] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:02:44] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:02:44] local.INFO: IMEI packet received {"connection_id":176517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":176517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:02:45] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca4778012d83340005d151e00009009f25..."} 
[2026-09-09 07:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca4778012d83340005d151e00009009f25..."} 
[2026-09-09 07:02:45] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca4778012d83340005d151e00009009f25..."} 
[2026-09-09 07:02:45] local.INFO: Packet analysis {"connection_id":175394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:02:45] local.INFO: Extracted packet for processing {"connection_id":175394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604064,"longitude_deg":76.3573248,"latitude_deg":9.7604064,"altitude":9,"angle":159,"satellites":37,"speed":8,"hex_longitude":"2d833400","hex_latitude":"05d151e0","is_valid_coordinates":true} 
[2026-09-09 07:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962871296001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105563102052352,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453705728,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] 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-09-09 07:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788917467000,"timestamp_ms":1788917467000,"timestamp_seconds":1788917467,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca4778"} 
[2026-09-09 07:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2211020864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2197176325,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3586890603805278208,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3387025409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636747874061888,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512891392,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-7367882593516650483,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-1008580580566053291,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,64,85,24,241,157,16,58,160,63,45,83,9,38,10,66,59,128,1,240,137,227,131,209,4,113,205,31,175,192,239,53,2,206,5,13,28,130,51],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-09-09 07:02:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648677938736660480,"timestamp_seconds":648677938736660.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962871296001,"66":13580,"64":206,"85":15104,"24":8,"16":130105563102052352,"45":-8992703268453705728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962871296001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:02:45] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105563102052352,"km_value":130105563102052.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453705728,"description":"Unknown IO ID 45"} 
[2026-09-09 07:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962871296001,"power":13580,"unknown_64":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992703268453705728}} 
[2026-09-09 07:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":175394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:02:45] local.INFO: GPS data processed {"connection_id":175394,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:02:45] local.INFO: Acknowledgment sent {"connection_id":175394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:02:45] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:02:45] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:02:45] local.INFO: Packet analysis {"connection_id":176517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:02:45] local.INFO: Extracted packet for processing {"connection_id":176517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:02: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-09-09 07:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":176517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:02:45] local.INFO: GPS data processed {"connection_id":176517,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:02:45] local.INFO: Acknowledgment sent {"connection_id":176517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:03:01] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:03:01] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:03:01] local.INFO: IMEI packet received {"connection_id":175395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":175395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:03:08] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:03:08] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:03:08] local.INFO: IMEI packet received {"connection_id":175395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":175395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:03:11] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:03:11] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:03:11] local.INFO: IMEI packet received {"connection_id":175395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":175395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:03:12] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca4f48012d83344005d15060000800b326..."} 
[2026-09-09 07:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca4f48012d83344005d15060000800b326..."} 
[2026-09-09 07:03:12] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca4f48012d83344005d15060000800b326..."} 
[2026-09-09 07:03:12] local.INFO: Packet analysis {"connection_id":175395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:03:12] local.INFO: Extracted packet for processing {"connection_id":175395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97603680,"longitude_deg":76.3573312,"latitude_deg":9.760368,"altitude":8,"angle":179,"satellites":38,"speed":6,"hex_longitude":"2d833440","hex_latitude":"05d15060","is_valid_coordinates":true} 
[2026-09-09 07:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962871552001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105584576888832,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965397504,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788917469000,"timestamp_ms":1788917469000,"timestamp_seconds":1788917469,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca4f48"} 
[2026-09-09 07:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2211032864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2199617541,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3586776254595989504,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3390097409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549752384,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1074123096,"corrected_to":0} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812238,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512451072,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-5962759509780201459,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.WARNING: Large IO value detected {"io_id":54,"raw_value":432571300192505429,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:12] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,64,85,24,241,157,16,58,160,67,45,128,82,9,38,10,66,63,83,59,1,240,227,131,209,4,113,205,29,225,246,8,239,53,2,206,5,11,30,130,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0},{"io_id":246,"original":1074123096,"validated":0}]} 
[2026-09-09 07:03:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648693327604482048,"timestamp_seconds":648693327604482.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962871552001,"66":13580,"64":206,"85":15104,"24":6,"16":130105584576888832,"45":-8992562530965397504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962871552001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:03:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105584576888832,"km_value":130105584576888.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965397504,"description":"Unknown IO ID 45"} 
[2026-09-09 07:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962871552001,"power":13580,"unknown_64":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-8992562530965397504}} 
[2026-09-09 07:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":175395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:03:13] local.INFO: GPS data processed {"connection_id":175395,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:03:13] local.INFO: Acknowledgment sent {"connection_id":175395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:03:16] local.INFO: TCP Data received {"connection_id":176517,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:03:16] local.INFO: Processing buffer {"connection_id":176517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:03:16] local.INFO: Packet analysis {"connection_id":176517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:03:16] local.INFO: Extracted packet for processing {"connection_id":176517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:03:16] 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-09-09 07: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-09-09 07:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":176517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:03:17] local.INFO: GPS data processed {"connection_id":176517,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:03:17] local.INFO: Acknowledgment sent {"connection_id":176517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:03:39] local.INFO: TCP Data received {"connection_id":175396,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:03:39] local.INFO: Processing buffer {"connection_id":175396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:03:39] local.INFO: IMEI packet received {"connection_id":175396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":175396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:03:44] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083caa150012d83338005d15488000800b326..."} 
[2026-09-09 07:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083caa150012d83338005d15488000800b326..."} 
[2026-09-09 07:03:44] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083caa150012d83338005d15488000800b326..."} 
[2026-09-09 07:03:44] local.INFO: Packet analysis {"connection_id":175395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:03:44] local.INFO: Extracted packet for processing {"connection_id":175395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:03:44] local.INFO: GPS Element Parsed {"raw_longitude":763573120,"raw_latitude":97604744,"longitude_deg":76.357312,"latitude_deg":9.7604744,"altitude":8,"angle":179,"satellites":38,"speed":2,"hex_longitude":"2d833380","hex_latitude":"05d15488","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962872064001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105653296365568,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992492162221318144,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] 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-09-09 07:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788917490000,"timestamp_ms":1788917490000,"timestamp_seconds":1788917490,"priority":1,"record_length":96,"hex_timestamp":"000001a083caa150"} 
[2026-09-09 07:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631929,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3355520387,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2211045864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201108485,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3586659706363445248,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3392913409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435108416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147864917,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531150,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512207360,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-3368686124527517685,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294011302596181,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:44] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,64,85,24,241,157,16,58,160,71,45,81,9,37,10,66,67,128,82,38,63,1,240,12,227,131,209,4,113,205,27,80,239,54,2,206,5,11,31,130,53,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-09-09 07:03:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576657728093945856,"timestamp_seconds":576657728093945.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962872064001,"66":13798,"64":206,"85":15104,"24":2,"16":130105653296365568,"45":-8992492162221318144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962872064001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:03:44] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105653296365568,"km_value":130105653296365.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992492162221318144,"description":"Unknown IO ID 45"} 
[2026-09-09 07:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962872064001,"power":13798,"unknown_64":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-8992492162221318144}} 
[2026-09-09 07:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":175395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:03:44] local.INFO: GPS data processed {"connection_id":175395,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:03:44] local.INFO: Acknowledgment sent {"connection_id":175395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:03:44] local.INFO: TCP Data received {"connection_id":175396,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:03:44] local.INFO: Processing buffer {"connection_id":175396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:03:44] local.INFO: IMEI packet received {"connection_id":175396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":175396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:03:45] local.INFO: TCP Data received {"connection_id":175396,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:03:45] local.INFO: Processing buffer {"connection_id":175396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:03:45] local.INFO: Packet analysis {"connection_id":175396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:03:45] local.INFO: Extracted packet for processing {"connection_id":175396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:03: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-09-09 07:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:03:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":175396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:03:45] local.INFO: GPS data processed {"connection_id":175396,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:03:45] local.INFO: Acknowledgment sent {"connection_id":175396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:04:01] local.INFO: TCP Data received {"connection_id":176518,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:04:01] local.INFO: Processing buffer {"connection_id":176518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:04:01] local.INFO: IMEI packet received {"connection_id":176518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":176518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:04:06] local.INFO: TCP Data received {"connection_id":176518,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:04:06] local.INFO: Processing buffer {"connection_id":176518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:04:06] local.INFO: IMEI packet received {"connection_id":176518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":176518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:04:07] local.INFO: TCP Data received {"connection_id":176518,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083caf358012d83340005d15530000800b326..."} 
[2026-09-09 07:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083caf358012d83340005d15530000800b326..."} 
[2026-09-09 07:04:07] local.INFO: Processing buffer {"connection_id":176518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083caf358012d83340005d15530000800b326..."} 
[2026-09-09 07:04:07] local.INFO: Packet analysis {"connection_id":176518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:04:07] local.INFO: Extracted packet for processing {"connection_id":176518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962877440001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453578752,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:07] 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-09-09 07:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788917511000,"timestamp_ms":1788917511000,"timestamp_seconds":1788917511,"priority":1,"record_length":96,"hex_timestamp":"000001a083caf358"} 
[2026-09-09 07:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:04: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-09-09 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 07:04: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-09-09 07: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-09-09 07:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962877440001,"66":13472,"64":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992703268453578752},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-09 07:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962877440001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:04:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-09 07:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453578752,"description":"Unknown IO ID 45"} 
[2026-09-09 07:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962877440001,"power":13472,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992703268453578752}} 
[2026-09-09 07:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":176518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:04:07] local.INFO: GPS data processed {"connection_id":176518,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:04:07] local.INFO: Acknowledgment sent {"connection_id":176518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:04:17] local.INFO: TCP Data received {"connection_id":175396,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:04:17] local.INFO: Processing buffer {"connection_id":175396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:04:17] local.INFO: Packet analysis {"connection_id":175396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:04:17] local.INFO: Extracted packet for processing {"connection_id":175396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":175396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:04:17] local.INFO: GPS data processed {"connection_id":175396,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:04:17] local.INFO: Acknowledgment sent {"connection_id":175396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:04:38] local.INFO: TCP Data received {"connection_id":176518,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083cb4560012d83340005d15530000800b326..."} 
[2026-09-09 07:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cb4560012d83340005d15530000800b326..."} 
[2026-09-09 07:04:38] local.INFO: Processing buffer {"connection_id":176518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cb4560012d83340005d15530000800b326..."} 
[2026-09-09 07:04:38] local.INFO: Packet analysis {"connection_id":176518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083cb"} 
[2026-09-09 07:04:38] local.INFO: Extracted packet for processing {"connection_id":176518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083cb"} 
[2026-09-09 07:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962882816001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788917532000,"timestamp_ms":1788917532000,"timestamp_seconds":1788917532,"priority":1,"record_length":96,"hex_timestamp":"000001a083cb4560"} 
[2026-09-09 07:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07: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-09-09 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 07:04: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-09-09 07: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-09-09 07:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962882816001,"66":12863,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962882816001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:04:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962882816001,"power":12863,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":176518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:04:39] local.INFO: GPS data processed {"connection_id":176518,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:04:39] local.INFO: Acknowledgment sent {"connection_id":176518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:04:39] local.INFO: TCP Data received {"connection_id":176519,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:04:39] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:04:39] local.INFO: IMEI packet received {"connection_id":176519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":176519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:04:44] local.INFO: TCP Data received {"connection_id":176519,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:04:44] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:04:44] local.INFO: IMEI packet received {"connection_id":176519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":176519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:04:45] local.INFO: TCP Data received {"connection_id":176519,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:04:45] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:04:45] local.INFO: Packet analysis {"connection_id":176519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:04:45] local.INFO: Extracted packet for processing {"connection_id":176519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:04: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-09-09 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:04:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":176519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:04:45] local.INFO: GPS data processed {"connection_id":176519,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:04:45] local.INFO: Acknowledgment sent {"connection_id":176519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:05:01] local.INFO: TCP Data received {"connection_id":177961,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:05:01] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:05:01] local.INFO: IMEI packet received {"connection_id":177961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":177961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:05:01] local.INFO: TCP Data received {"connection_id":177961,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:05:01] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:05:01] local.INFO: IMEI packet received {"connection_id":177961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":177961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:05:06] local.INFO: TCP Data received {"connection_id":177961,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:05:06] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:05:06] local.INFO: IMEI packet received {"connection_id":177961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":177961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:05:07] local.INFO: TCP Data received {"connection_id":177961,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083cb9768012d83340005d15530000800b326..."} 
[2026-09-09 07:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cb9768012d83340005d15530000800b326..."} 
[2026-09-09 07:05:07] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cb9768012d83340005d15530000800b326..."} 
[2026-09-09 07:05:07] local.INFO: Packet analysis {"connection_id":177961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083cb"} 
[2026-09-09 07:05:07] local.INFO: Extracted packet for processing {"connection_id":177961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083cb"} 
[2026-09-09 07:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962888192001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:07] 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-09-09 07:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788917553000,"timestamp_ms":1788917553000,"timestamp_seconds":1788917553,"priority":1,"record_length":96,"hex_timestamp":"000001a083cb9768"} 
[2026-09-09 07:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07: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-09-09 07: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":63,"data_length":795,"current_offset":136} 
[2026-09-09 07:05: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-09-09 07:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962888192001,"66":13820,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962888192001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:05:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962888192001,"power":13820,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":177961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:05:07] local.INFO: GPS data processed {"connection_id":177961,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:05:07] local.INFO: Acknowledgment sent {"connection_id":177961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:05:17] local.INFO: TCP Data received {"connection_id":176519,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:05:17] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:05:17] local.INFO: Packet analysis {"connection_id":176519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:05:17] local.INFO: Extracted packet for processing {"connection_id":176519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":176519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:05:17] local.INFO: GPS data processed {"connection_id":176519,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:05:17] local.INFO: Acknowledgment sent {"connection_id":176519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:05:38] local.INFO: TCP Data received {"connection_id":177961,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083cbe970012d83340005d15530000800b326..."} 
[2026-09-09 07:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cbe970012d83340005d15530000800b326..."} 
[2026-09-09 07:05:38] local.INFO: Processing buffer {"connection_id":177961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cbe970012d83340005d15530000800b326..."} 
[2026-09-09 07:05:38] local.INFO: Packet analysis {"connection_id":177961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083cb"} 
[2026-09-09 07:05:38] local.INFO: Extracted packet for processing {"connection_id":177961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083cb"} 
[2026-09-09 07:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962893568001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788917574000,"timestamp_ms":1788917574000,"timestamp_seconds":1788917574,"priority":1,"record_length":96,"hex_timestamp":"000001a083cbe970"} 
[2026-09-09 07:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07: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-09-09 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 07:05: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-09-09 07: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-09-09 07:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962893568001,"66":13830,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962893568001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:05:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:05:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962893568001,"power":13830,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":177961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:05:38] local.INFO: GPS data processed {"connection_id":177961,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:05:38] local.INFO: Acknowledgment sent {"connection_id":177961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:05:39] local.INFO: TCP Data received {"connection_id":177962,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:05:39] local.INFO: Processing buffer {"connection_id":177962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:05:39] local.INFO: IMEI packet received {"connection_id":177962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":177962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:05:42] local.INFO: TCP Data received {"connection_id":177963,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:05:42] local.INFO: Processing buffer {"connection_id":177963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:05:42] local.INFO: IMEI packet received {"connection_id":177963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":177963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:05:45] local.INFO: TCP Data received {"connection_id":177962,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:05:45] local.INFO: Processing buffer {"connection_id":177962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:05:45] local.INFO: IMEI packet received {"connection_id":177962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":177962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:05:47] local.INFO: TCP Data received {"connection_id":177962,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:05:47] local.INFO: Processing buffer {"connection_id":177962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:05:47] local.INFO: Packet analysis {"connection_id":177962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:05:47] local.INFO: Extracted packet for processing {"connection_id":177962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:05:47] 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-09-09 07:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":177962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:05:47] local.INFO: GPS data processed {"connection_id":177962,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:05:47] local.INFO: Acknowledgment sent {"connection_id":177962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:06:04] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:06:04] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:06:04] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:06:07] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:06:07] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:06:07] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:06:11] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:06:11] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:06:11] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:06:12] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083cc3b78012d83340005d15530000800b327..."} 
[2026-09-09 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cc3b78012d83340005d15530000800b327..."} 
[2026-09-09 07:06:12] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cc3b78012d83340005d15530000800b327..."} 
[2026-09-09 07:06:12] local.INFO: Packet analysis {"connection_id":175398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083cc"} 
[2026-09-09 07:06:12] local.INFO: Extracted packet for processing {"connection_id":175398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083cc"} 
[2026-09-09 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962898944001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788917595000,"timestamp_ms":1788917595000,"timestamp_seconds":1788917595,"priority":1,"record_length":96,"hex_timestamp":"000001a083cc3b78"} 
[2026-09-09 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-09-09 07: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-09-09 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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2251808419414016,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627158969856,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2211071864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201190405,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3399569409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511803904,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":67,"raw_value":-8070119015743224367,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.WARNING: Large IO value detected {"io_id":82,"raw_value":-7493979881904668664,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:12] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,221,85,24,241,157,16,58,160,151,45,8,38,10,66,69,243,1,240,227,131,209,4,113,205,2,79,52,96,239,53,64,206,5,9,67,82],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-09-09 07:06:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576657728093552640,"timestamp_seconds":576657728093552.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 07:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962898944001,"66":13906,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962898944001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:06:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962898944001,"power":13906,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":175398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:06:12] local.INFO: GPS data processed {"connection_id":175398,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:06:12] local.INFO: Acknowledgment sent {"connection_id":175398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:06:17] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083cc8d80012d83340005d15530000800b327..."} 
[2026-09-09 07:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cc8d80012d83340005d15530000800b327..."} 
[2026-09-09 07:06:17] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cc8d80012d83340005d15530000800b327..."} 
[2026-09-09 07:06:17] local.INFO: Packet analysis {"connection_id":175398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083cc"} 
[2026-09-09 07:06:17] local.INFO: Extracted packet for processing {"connection_id":175398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083cc"} 
[2026-09-09 07:06:17] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:17] 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-09-09 07:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788917616000,"timestamp_ms":1788917616000,"timestamp_seconds":1788917616,"priority":1,"record_length":96,"hex_timestamp":"000001a083cc8d80"} 
[2026-09-09 07:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 07:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962904320001,"66":13798,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:06:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:06:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962904320001,"power":13798,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":175398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:06:17] local.INFO: GPS data processed {"connection_id":175398,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:06:17] local.INFO: Acknowledgment sent {"connection_id":175398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:06:18] local.INFO: TCP Data received {"connection_id":177962,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:06:18] local.INFO: Processing buffer {"connection_id":177962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:06:18] local.INFO: Packet analysis {"connection_id":177962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:06:18] local.INFO: Extracted packet for processing {"connection_id":177962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:06: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-09-09 07:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":177962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:06:18] local.INFO: GPS data processed {"connection_id":177962,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:06:18] local.INFO: Acknowledgment sent {"connection_id":177962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:06:45] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:06:45] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:06:45] local.INFO: IMEI packet received {"connection_id":175142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":175142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:06:49] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:06:49] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:06:49] local.INFO: IMEI packet received {"connection_id":175142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":175142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:06:50] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:06:50] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:06:50] local.INFO: Packet analysis {"connection_id":175142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:06:50] local.INFO: Extracted packet for processing {"connection_id":175142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:06:50] 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-09-09 07:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:06:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":175142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:06:50] local.INFO: GPS data processed {"connection_id":175142,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:06:50] local.INFO: Acknowledgment sent {"connection_id":175142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:06:55] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:06:55] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ca66b8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:06:55] local.INFO: Packet analysis {"connection_id":175142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:06:55] local.INFO: Extracted packet for processing {"connection_id":175142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ca"} 
[2026-09-09 07:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962796544001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788917475000,"timestamp_ms":1788917475000,"timestamp_seconds":1788917475,"priority":1,"record_length":96,"hex_timestamp":"000001a083ca66b8"} 
[2026-09-09 07:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 07:06:55] 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-09-09 07:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962796544001,"66":25147,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962796544001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:06:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:06:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962796544001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":175142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:06:55] local.INFO: GPS data processed {"connection_id":175142,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:06:55] local.INFO: Acknowledgment sent {"connection_id":175142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:07:01] local.INFO: TCP Data received {"connection_id":177964,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:07:01] local.INFO: Processing buffer {"connection_id":177964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:07:01] local.INFO: IMEI packet received {"connection_id":177964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":177964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:07:07] local.INFO: TCP Data received {"connection_id":177964,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:07:07] local.INFO: Processing buffer {"connection_id":177964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:07:07] local.INFO: IMEI packet received {"connection_id":177964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":177964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:07:09] local.INFO: TCP Data received {"connection_id":177964,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ccdf88012d83340005d15530000800b327..."} 
[2026-09-09 07:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ccdf88012d83340005d15530000800b327..."} 
[2026-09-09 07:07:09] local.INFO: Processing buffer {"connection_id":177964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ccdf88012d83340005d15530000800b327..."} 
[2026-09-09 07:07:09] local.INFO: Packet analysis {"connection_id":177964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083cc"} 
[2026-09-09 07:07:09] local.INFO: Extracted packet for processing {"connection_id":177964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083cc"} 
[2026-09-09 07:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962909696001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788917637000,"timestamp_ms":1788917637000,"timestamp_seconds":1788917637,"priority":1,"record_length":96,"hex_timestamp":"000001a083ccdf88"} 
[2026-09-09 07:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":230,"data_length":795,"current_offset":136} 
[2026-09-09 07:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962909696001,"66":14004,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962909696001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:07:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962909696001,"power":14004,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":177964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:07:10] local.INFO: GPS data processed {"connection_id":177964,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:07:10] local.INFO: Acknowledgment sent {"connection_id":177964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:07:39] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:07:39] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:07:39] local.INFO: IMEI packet received {"connection_id":176520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":176520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:07:41] local.INFO: TCP Data received {"connection_id":177964,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083cd3190012d83340005d15530000800b328..."} 
[2026-09-09 07:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cd3190012d83340005d15530000800b328..."} 
[2026-09-09 07:07:41] local.INFO: Processing buffer {"connection_id":177964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cd3190012d83340005d15530000800b328..."} 
[2026-09-09 07:07:41] local.INFO: Packet analysis {"connection_id":177964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083cd"} 
[2026-09-09 07:07:41] local.INFO: Extracted packet for processing {"connection_id":177964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083cd"} 
[2026-09-09 07:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962915072001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788917658000,"timestamp_ms":1788917658000,"timestamp_seconds":1788917658,"priority":1,"record_length":96,"hex_timestamp":"000001a083cd3190"} 
[2026-09-09 07:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 07:07: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-09-09 07:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962915072001,"66":13678,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962915072001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:07:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962915072001,"power":13678,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":177964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:07:41] local.INFO: GPS data processed {"connection_id":177964,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:07:41] local.INFO: Acknowledgment sent {"connection_id":177964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:07:45] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:07:45] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:07:45] local.INFO: IMEI packet received {"connection_id":176520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":176520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:07:45] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:07:45] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:07:45] local.INFO: Packet analysis {"connection_id":176520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:07:45] local.INFO: Extracted packet for processing {"connection_id":176520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962873600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788917776000,"timestamp_ms":1788917776000,"timestamp_seconds":1788917776,"priority":1,"record_length":96,"hex_timestamp":"000001a083cefe80"} 
[2026-09-09 07:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:07: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-09-09 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-09 07:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962873600001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962873600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:07:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962873600001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":176520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:07:45] local.INFO: GPS data processed {"connection_id":176520,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:07:45] local.INFO: Acknowledgment sent {"connection_id":176520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:08:01] local.INFO: TCP Data received {"connection_id":177965,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:08:01] local.INFO: Processing buffer {"connection_id":177965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:08:01] local.INFO: IMEI packet received {"connection_id":177965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":177965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:08:06] local.INFO: TCP Data received {"connection_id":177965,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:08:06] local.INFO: Processing buffer {"connection_id":177965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:08:06] local.INFO: IMEI packet received {"connection_id":177965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":177965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:08:07] local.INFO: TCP Data received {"connection_id":177965,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083cd8398012d83340005d15530000800b327..."} 
[2026-09-09 07:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cd8398012d83340005d15530000800b327..."} 
[2026-09-09 07:08:07] local.INFO: Processing buffer {"connection_id":177965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cd8398012d83340005d15530000800b327..."} 
[2026-09-09 07:08:07] local.INFO: Packet analysis {"connection_id":177965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083cd"} 
[2026-09-09 07:08:07] local.INFO: Extracted packet for processing {"connection_id":177965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083cd"} 
[2026-09-09 07:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962920448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:07] 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-09-09 07:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788917679000,"timestamp_ms":1788917679000,"timestamp_seconds":1788917679,"priority":1,"record_length":96,"hex_timestamp":"000001a083cd8398"} 
[2026-09-09 07:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:08: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-09-09 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 07:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962920448001,"66":13135,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962920448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:08:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962920448001,"power":13135,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":177965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:08:07] local.INFO: GPS data processed {"connection_id":177965,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:08:07] local.INFO: Acknowledgment sent {"connection_id":177965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:08:18] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:08:18] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:08:18] local.INFO: Packet analysis {"connection_id":176520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:08:18] local.INFO: Extracted packet for processing {"connection_id":176520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962873600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788917776000,"timestamp_ms":1788917776000,"timestamp_seconds":1788917776,"priority":1,"record_length":96,"hex_timestamp":"000001a083cefe80"} 
[2026-09-09 07:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:08: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-09-09 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-09 07:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962873600001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962873600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:08:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962873600001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":176520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:08:18] local.INFO: GPS data processed {"connection_id":176520,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:08:18] local.INFO: Acknowledgment sent {"connection_id":176520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:08:38] local.INFO: TCP Data received {"connection_id":177965,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083cdd5a0012d83340005d15530000800b329..."} 
[2026-09-09 07:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cdd5a0012d83340005d15530000800b329..."} 
[2026-09-09 07:08:38] local.INFO: Processing buffer {"connection_id":177965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cdd5a0012d83340005d15530000800b329..."} 
[2026-09-09 07:08:38] local.INFO: Packet analysis {"connection_id":177965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083cd"} 
[2026-09-09 07:08:38] local.INFO: Extracted packet for processing {"connection_id":177965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083cd"} 
[2026-09-09 07:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962925824001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788917700000,"timestamp_ms":1788917700000,"timestamp_seconds":1788917700,"priority":1,"record_length":96,"hex_timestamp":"000001a083cdd5a0"} 
[2026-09-09 07:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:08: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-09-09 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-09 07:08: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-09-09 07: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-09-09 07:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962925824001,"66":13906,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962925824001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:08:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962925824001,"power":13906,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":177965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:08:38] local.INFO: GPS data processed {"connection_id":177965,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:08:38] local.INFO: Acknowledgment sent {"connection_id":177965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:08:39] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:08:39] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:08:39] local.INFO: IMEI packet received {"connection_id":175144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":175144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:08:44] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:08:44] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:08:44] local.INFO: IMEI packet received {"connection_id":175144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:08:46] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:08:46] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:08:46] local.INFO: Packet analysis {"connection_id":175144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:08:46] local.INFO: Extracted packet for processing {"connection_id":175144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962873600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788917776000,"timestamp_ms":1788917776000,"timestamp_seconds":1788917776,"priority":1,"record_length":96,"hex_timestamp":"000001a083cefe80"} 
[2026-09-09 07:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-09 07:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962873600001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962873600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962873600001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":175144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:08:46] local.INFO: GPS data processed {"connection_id":175144,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:08:46] local.INFO: Acknowledgment sent {"connection_id":175144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:09:03] local.INFO: TCP Data received {"connection_id":175400,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:09:03] local.INFO: Processing buffer {"connection_id":175400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:09:03] local.INFO: IMEI packet received {"connection_id":175400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":175400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:09:06] local.INFO: TCP Data received {"connection_id":175400,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:09:06] local.INFO: Processing buffer {"connection_id":175400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:09:06] local.INFO: IMEI packet received {"connection_id":175400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":175400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:09:07] local.INFO: TCP Data received {"connection_id":175400,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ce27a8012d83340005d15530000800b328..."} 
[2026-09-09 07:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ce27a8012d83340005d15530000800b328..."} 
[2026-09-09 07:09:07] local.INFO: Processing buffer {"connection_id":175400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ce27a8012d83340005d15530000800b328..."} 
[2026-09-09 07:09:07] local.INFO: Packet analysis {"connection_id":175400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:09:07] local.INFO: Extracted packet for processing {"connection_id":175400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962931200001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:07] 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-09-09 07:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788917721000,"timestamp_ms":1788917721000,"timestamp_seconds":1788917721,"priority":1,"record_length":96,"hex_timestamp":"000001a083ce27a8"} 
[2026-09-09 07:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:09: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-09-09 07:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 07:09: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-09-09 07: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-09-09 07:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962931200001,"66":13961,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962931200001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:09:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962931200001,"power":13961,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":175400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:09:07] local.INFO: GPS data processed {"connection_id":175400,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:09:07] local.INFO: Acknowledgment sent {"connection_id":175400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:09:17] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:09:17] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:09:17] local.INFO: Packet analysis {"connection_id":175144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:09:17] local.INFO: Extracted packet for processing {"connection_id":175144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962873600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788917776000,"timestamp_ms":1788917776000,"timestamp_seconds":1788917776,"priority":1,"record_length":96,"hex_timestamp":"000001a083cefe80"} 
[2026-09-09 07:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-09 07:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962873600001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962873600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962873600001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":175144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:09:17] local.INFO: GPS data processed {"connection_id":175144,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:09:17] local.INFO: Acknowledgment sent {"connection_id":175144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:09:39] local.INFO: TCP Data received {"connection_id":175400,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ce79b0012d83340005d15530000800b327..."} 
[2026-09-09 07:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ce79b0012d83340005d15530000800b327..."} 
[2026-09-09 07:09:39] local.INFO: Processing buffer {"connection_id":175400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ce79b0012d83340005d15530000800b327..."} 
[2026-09-09 07:09:39] local.INFO: Packet analysis {"connection_id":175400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:09:39] local.INFO: Extracted packet for processing {"connection_id":175400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604912,"longitude_deg":76.3573248,"latitude_deg":9.7604912,"altitude":8,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15530","is_valid_coordinates":true} 
[2026-09-09 07:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962936576001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130105661886300160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965180416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:39] 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-09-09 07:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788917742000,"timestamp_ms":1788917742000,"timestamp_seconds":1788917742,"priority":1,"record_length":96,"hex_timestamp":"000001a083ce79b0"} 
[2026-09-09 07:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:09: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-09-09 07:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 07:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962936576001,"66":14102,"221":206,"85":15104,"24":0,"16":130105661886300160,"45":-8992562530965180416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-09 07:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962936576001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:09:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 07:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130105661886300160,"km_value":130105661886300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965180416,"description":"Unknown IO ID 45"} 
[2026-09-09 07:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962936576001,"power":14102,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965180416}} 
[2026-09-09 07:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":175400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:09:39] local.INFO: GPS data processed {"connection_id":175400,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:09:39] local.INFO: Acknowledgment sent {"connection_id":175400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:09:39] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:09:39] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:09:39] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:09:44] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:09:44] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:09:44] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:09:45] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:09:45] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:09:45] local.INFO: Packet analysis {"connection_id":175145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:09:45] local.INFO: Extracted packet for processing {"connection_id":175145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962873600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788917776000,"timestamp_ms":1788917776000,"timestamp_seconds":1788917776,"priority":1,"record_length":96,"hex_timestamp":"000001a083cefe80"} 
[2026-09-09 07:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:09: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-09-09 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-09 07:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962873600001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962873600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962873600001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":175145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:09:45] local.INFO: GPS data processed {"connection_id":175145,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:09:45] local.INFO: Acknowledgment sent {"connection_id":175145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:10:01] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:01] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:01] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:10:02] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:02] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:02] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:10:03] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:03] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:03] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:10:04] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:04] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:10:04] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:10:17] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:10:17] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:10:17] local.INFO: Packet analysis {"connection_id":175145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:10:17] local.INFO: Extracted packet for processing {"connection_id":175145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962873600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788917776000,"timestamp_ms":1788917776000,"timestamp_seconds":1788917776,"priority":1,"record_length":96,"hex_timestamp":"000001a083cefe80"} 
[2026-09-09 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-09-09 07:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-09 07:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962873600001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962873600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962873600001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":175145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:10:17] local.INFO: GPS data processed {"connection_id":175145,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:10:17] local.INFO: Acknowledgment sent {"connection_id":175145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:10:44] local.INFO: TCP Data received {"connection_id":177967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:10:44] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:10:44] local.INFO: IMEI packet received {"connection_id":177967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":177967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:10:49] local.INFO: TCP Data received {"connection_id":177967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:10:49] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:10:49] local.INFO: IMEI packet received {"connection_id":177967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":177967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:10:51] local.INFO: TCP Data received {"connection_id":177967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:10:51] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:10:51] local.INFO: Packet analysis {"connection_id":177967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:10:51] local.INFO: Extracted packet for processing {"connection_id":177967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962873600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788917776000,"timestamp_ms":1788917776000,"timestamp_seconds":1788917776,"priority":1,"record_length":96,"hex_timestamp":"000001a083cefe80"} 
[2026-09-09 07:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-09 07:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962873600001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962873600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:10:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962873600001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":177967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:10:51] local.INFO: GPS data processed {"connection_id":177967,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:10:51] local.INFO: Acknowledgment sent {"connection_id":177967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:10:55] local.INFO: TCP Data received {"connection_id":177967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:10:55] local.INFO: Processing buffer {"connection_id":177967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:10:55] local.INFO: Packet analysis {"connection_id":177967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:10:55] local.INFO: Extracted packet for processing {"connection_id":177967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962873600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788917776000,"timestamp_ms":1788917776000,"timestamp_seconds":1788917776,"priority":1,"record_length":96,"hex_timestamp":"000001a083cefe80"} 
[2026-09-09 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-09-09 07:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-09 07:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962873600001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962873600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:10:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:10:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962873600001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":177967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:10:55] local.INFO: GPS data processed {"connection_id":177967,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:10:55] local.INFO: Acknowledgment sent {"connection_id":177967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:11:39] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:11:39] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:11:39] local.INFO: IMEI packet received {"connection_id":175402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":175402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:11:42] local.INFO: TCP Data received {"connection_id":176522,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:11:42] local.INFO: Processing buffer {"connection_id":176522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:11:42] local.INFO: IMEI packet received {"connection_id":176522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":176522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:11:44] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:11:44] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:11:44] local.INFO: IMEI packet received {"connection_id":175402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":175402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:11:46] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:11:46] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083cefe80012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:11:46] local.INFO: Packet analysis {"connection_id":175402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:11:46] local.INFO: Extracted packet for processing {"connection_id":175402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ce"} 
[2026-09-09 07:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962873600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788917776000,"timestamp_ms":1788917776000,"timestamp_seconds":1788917776,"priority":1,"record_length":96,"hex_timestamp":"000001a083cefe80"} 
[2026-09-09 07:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-09 07:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962873600001,"66":25191,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962873600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962873600001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":175402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:11:46] local.INFO: GPS data processed {"connection_id":175402,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:11:46] local.INFO: Acknowledgment sent {"connection_id":175402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:12:17] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:12:17] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:12:17] local.INFO: Packet analysis {"connection_id":175402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:12:17] local.INFO: Extracted packet for processing {"connection_id":175402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:12: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-09-09 07:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":175402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:12:17] local.INFO: GPS data processed {"connection_id":175402,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:12:17] local.INFO: Acknowledgment sent {"connection_id":175402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:12:39] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:12:39] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:12:39] local.INFO: IMEI packet received {"connection_id":175148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":175148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:12:44] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:12:44] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:12:44] local.INFO: IMEI packet received {"connection_id":175148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":175148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:12:46] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:12:46] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:12:46] local.INFO: Packet analysis {"connection_id":175148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:12:46] local.INFO: Extracted packet for processing {"connection_id":175148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":175148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:12:46] local.INFO: GPS data processed {"connection_id":175148,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:12:46] local.INFO: Acknowledgment sent {"connection_id":175148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:13:17] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:13:17] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:13:17] local.INFO: Packet analysis {"connection_id":175148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:13:17] local.INFO: Extracted packet for processing {"connection_id":175148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":175148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:13:17] local.INFO: GPS data processed {"connection_id":175148,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:13:17] local.INFO: Acknowledgment sent {"connection_id":175148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:13:39] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:13:39] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:13:39] local.INFO: IMEI packet received {"connection_id":175150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":175150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:13:44] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:13:44] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:13:44] local.INFO: IMEI packet received {"connection_id":175150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":175150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:13:46] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:13:46] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:13:46] local.INFO: Packet analysis {"connection_id":175150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:13:46] local.INFO: Extracted packet for processing {"connection_id":175150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":175150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:13:46] local.INFO: GPS data processed {"connection_id":175150,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:13:46] local.INFO: Acknowledgment sent {"connection_id":175150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:14:17] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:14:17] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:14:17] local.INFO: Packet analysis {"connection_id":175150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:14:17] local.INFO: Extracted packet for processing {"connection_id":175150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:14:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":175150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:14:17] local.INFO: GPS data processed {"connection_id":175150,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:14:17] local.INFO: Acknowledgment sent {"connection_id":175150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:14:44] local.INFO: TCP Data received {"connection_id":177969,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:14:44] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:14:44] local.INFO: IMEI packet received {"connection_id":177969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":177969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:14:49] local.INFO: TCP Data received {"connection_id":177969,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:14:49] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:14:49] local.INFO: IMEI packet received {"connection_id":177969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":177969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:14:50] local.INFO: TCP Data received {"connection_id":177969,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:14:50] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:14:50] local.INFO: Packet analysis {"connection_id":177969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:14:50] local.INFO: Extracted packet for processing {"connection_id":177969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:14: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-09-09 07:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:14:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":177969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:14:50] local.INFO: GPS data processed {"connection_id":177969,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:14:50] local.INFO: Acknowledgment sent {"connection_id":177969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:14:55] local.INFO: TCP Data received {"connection_id":177969,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:14:55] local.INFO: Processing buffer {"connection_id":177969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:14:55] local.INFO: Packet analysis {"connection_id":177969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:14:55] local.INFO: Extracted packet for processing {"connection_id":177969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:14:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":177969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:14:55] local.INFO: GPS data processed {"connection_id":177969,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:14:55] local.INFO: Acknowledgment sent {"connection_id":177969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:15:07] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:15:07] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:15:07] local.INFO: IMEI packet received {"connection_id":175151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":175151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:15:08] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083d60748012d82848005d2f7380009015b27..."} 
[2026-09-09 07:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d60748012d82848005d2f7380009015b27..."} 
[2026-09-09 07:15:08] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d60748012d82848005d2f7380009015b27..."} 
[2026-09-09 07:15:08] local.INFO: Packet analysis {"connection_id":175151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d6"} 
[2026-09-09 07:15:08] local.INFO: Extracted packet for processing {"connection_id":175151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d6"} 
[2026-09-09 07:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":97711928,"longitude_deg":76.352832,"latitude_deg":9.7711928,"altitude":9,"angle":347,"satellites":39,"speed":27,"hex_longitude":"2d828480","hex_latitude":"05d2f738","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963065344001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130112692747763712,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040202170748381184,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:08] 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-09-09 07:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788918237000,"timestamp_ms":1788918237000,"timestamp_seconds":1788918237,"priority":1,"record_length":96,"hex_timestamp":"000001a083d60748"} 
[2026-09-09 07:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 07:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963065344001,"66":13830,"68":206,"85":15104,"24":27,"16":130112692747763712,"45":-9040202170748381184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-09 07:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963065344001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:15:08] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-09 07:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130112692747763712,"km_value":130112692747763.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040202170748381184,"description":"Unknown IO ID 45"} 
[2026-09-09 07:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963065344001,"power":13830,"unknown_68":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9040202170748381184}} 
[2026-09-09 07:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":175151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:15:08] local.INFO: GPS data processed {"connection_id":175151,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:15:08] local.INFO: Acknowledgment sent {"connection_id":175151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:15:39] local.INFO: TCP Data received {"connection_id":177971,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:15:39] local.INFO: Processing buffer {"connection_id":177971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:15:39] local.INFO: IMEI packet received {"connection_id":177971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":177971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:15:40] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083d622a0012d82820005d30a48000a016627..."} 
[2026-09-09 07:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d622a0012d82820005d30a48000a016627..."} 
[2026-09-09 07:15:40] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d622a0012d82820005d30a48000a016627..."} 
[2026-09-09 07:15:40] local.INFO: Packet analysis {"connection_id":175151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d6"} 
[2026-09-09 07:15:40] local.INFO: Extracted packet for processing {"connection_id":175151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d6"} 
[2026-09-09 07:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":97716808,"longitude_deg":76.352768,"latitude_deg":9.7716808,"altitude":10,"angle":358,"satellites":39,"speed":29,"hex_longitude":"2d828200","hex_latitude":"05d30a48","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963068672001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130112928970964992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961389350504448,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] 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-09-09 07:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788918244000,"timestamp_ms":1788918244000,"timestamp_seconds":1788918244,"priority":1,"record_length":96,"hex_timestamp":"000001a083d622a0"} 
[2026-09-09 07:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:15: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-09-09 07:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7036883023495168,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627158672896,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2211774864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190376965,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3581073409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-5764276009192913454,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2147865200,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3528189952,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.WARNING: Large IO value detected {"io_id":40,"raw_value":5188154467314761758,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:40] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,68,85,24,241,157,16,64,160,212,45,192,211,7,39,10,66,161,128,177,134,1,240,104,227,63,131,210,4,113,205,27,60,146,88,239,54,2,206,5,6,25,40],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-09-09 07:15:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648900044381683712,"timestamp_seconds":648900044381683.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963068672001,"66":13972,"68":206,"85":15104,"24":29,"16":130112928970964992,"45":-9041961389350504448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-09 07:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963068672001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:15:40] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-09 07:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130112928970964992,"km_value":130112928970964.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961389350504448,"description":"Unknown IO ID 45"} 
[2026-09-09 07:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963068672001,"power":13972,"unknown_68":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9041961389350504448}} 
[2026-09-09 07:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":175151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:15:40] local.INFO: GPS data processed {"connection_id":175151,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:15:40] local.INFO: Acknowledgment sent {"connection_id":175151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:15:45] local.INFO: TCP Data received {"connection_id":177971,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:15:45] local.INFO: Processing buffer {"connection_id":177971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:15:45] local.INFO: IMEI packet received {"connection_id":177971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":177971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:15:49] local.INFO: TCP Data received {"connection_id":177971,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:15:49] local.INFO: Processing buffer {"connection_id":177971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:15:49] local.INFO: Packet analysis {"connection_id":177971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:15:49] local.INFO: Extracted packet for processing {"connection_id":177971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":177971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:15:49] local.INFO: GPS data processed {"connection_id":177971,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:15:49] local.INFO: Acknowledgment sent {"connection_id":177971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:16:05] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:16:05] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:16:05] local.INFO: IMEI packet received {"connection_id":176525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":176525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:16:06] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 07:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 07:16:06] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 07:16:06] local.INFO: IMEI packet received {"connection_id":176525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":176525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:16:07] local.INFO: TCP Data received {"connection_id":176525,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:16:07] local.INFO: Processing buffer {"connection_id":176525,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 07:16:07] local.INFO: IMEI packet received {"connection_id":176525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":176525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:16:20] local.INFO: TCP Data received {"connection_id":177971,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:16:20] local.INFO: Processing buffer {"connection_id":177971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:16:20] local.INFO: Packet analysis {"connection_id":177971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:16:20] local.INFO: Extracted packet for processing {"connection_id":177971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:16:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":177971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:16:20] local.INFO: GPS data processed {"connection_id":177971,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:16:20] local.INFO: Acknowledgment sent {"connection_id":177971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:16:39] local.INFO: TCP Data received {"connection_id":175405,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:16:39] local.INFO: Processing buffer {"connection_id":175405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:16:39] local.INFO: IMEI packet received {"connection_id":175405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":175405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:16:44] local.INFO: TCP Data received {"connection_id":175405,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:16:44] local.INFO: Processing buffer {"connection_id":175405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:16:44] local.INFO: IMEI packet received {"connection_id":175405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":175405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:16:45] local.INFO: TCP Data received {"connection_id":175405,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:16:45] local.INFO: Processing buffer {"connection_id":175405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d39648012d34c38006aa42c80005005d28..."} 
[2026-09-09 07:16:45] local.INFO: Packet analysis {"connection_id":175405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:16:45] local.INFO: Extracted packet for processing {"connection_id":175405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d3"} 
[2026-09-09 07:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457962950656001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788918077000,"timestamp_ms":1788918077000,"timestamp_seconds":1788918077,"priority":1,"record_length":96,"hex_timestamp":"000001a083d39648"} 
[2026-09-09 07:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 07:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457962950656001,"66":25223,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457962950656001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457962950656001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":175405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:16:45] local.INFO: GPS data processed {"connection_id":175405,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:16:45] local.INFO: Acknowledgment sent {"connection_id":175405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:17:02] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:17:02] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:17:02] local.INFO: IMEI packet received {"connection_id":175152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":175152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:17:16] local.INFO: TCP Data received {"connection_id":175405,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:17:16] local.INFO: Processing buffer {"connection_id":175405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:17:16] local.INFO: Packet analysis {"connection_id":175405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:17:16] local.INFO: Extracted packet for processing {"connection_id":175405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:17:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 07:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":175405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:17:16] local.INFO: GPS data processed {"connection_id":175405,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:17:16] local.INFO: Acknowledgment sent {"connection_id":175405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:17:39] local.INFO: TCP Data received {"connection_id":175153,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:17:39] local.INFO: Processing buffer {"connection_id":175153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:17:39] local.INFO: IMEI packet received {"connection_id":175153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":175153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:17:42] local.INFO: TCP Data received {"connection_id":176527,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:17:42] local.INFO: Processing buffer {"connection_id":176527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:17:42] local.INFO: IMEI packet received {"connection_id":176527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":176527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:17:44] local.INFO: TCP Data received {"connection_id":175153,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:17:44] local.INFO: Processing buffer {"connection_id":175153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:17:44] local.INFO: IMEI packet received {"connection_id":175153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":175153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:17:45] local.INFO: TCP Data received {"connection_id":175153,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:17:45] local.INFO: Processing buffer {"connection_id":175153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:17:45] local.INFO: Packet analysis {"connection_id":175153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:17:45] local.INFO: Extracted packet for processing {"connection_id":175153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:17:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 07:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":175153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:17:45] local.INFO: GPS data processed {"connection_id":175153,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:17:45] local.INFO: Acknowledgment sent {"connection_id":175153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:18:16] local.INFO: TCP Data received {"connection_id":175153,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:18:16] local.INFO: Processing buffer {"connection_id":175153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:18:16] local.INFO: Packet analysis {"connection_id":175153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:18:16] local.INFO: Extracted packet for processing {"connection_id":175153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:18:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 07:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":175153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:18:16] local.INFO: GPS data processed {"connection_id":175153,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:18:16] local.INFO: Acknowledgment sent {"connection_id":175153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:18:39] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:18:39] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:18:39] local.INFO: IMEI packet received {"connection_id":175154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":175154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:18:44] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:18:44] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:18:44] local.INFO: IMEI packet received {"connection_id":175154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":175154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:18:45] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:18:45] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:18:45] local.INFO: Packet analysis {"connection_id":175154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:18:45] local.INFO: Extracted packet for processing {"connection_id":175154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:18:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 07:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":175154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:18:45] local.INFO: GPS data processed {"connection_id":175154,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:18:45] local.INFO: Acknowledgment sent {"connection_id":175154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:19:17] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:19:17] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:19:17] local.INFO: Packet analysis {"connection_id":175154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:19:17] local.INFO: Extracted packet for processing {"connection_id":175154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:19:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 07:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":175154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:19:17] local.INFO: GPS data processed {"connection_id":175154,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:19:17] local.INFO: Acknowledgment sent {"connection_id":175154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:19:44] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:19:44] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:19:44] local.INFO: IMEI packet received {"connection_id":175406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":175406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:19:49] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:19:49] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:19:49] local.INFO: IMEI packet received {"connection_id":175406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":175406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:19:50] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:19:50] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:19:50] local.INFO: Packet analysis {"connection_id":175406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:19:50] local.INFO: Extracted packet for processing {"connection_id":175406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:19:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 07:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:19: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-09-09 07:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":175406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:19:50] local.INFO: GPS data processed {"connection_id":175406,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:19:50] local.INFO: Acknowledgment sent {"connection_id":175406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:19:55] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:19:55] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:19:55] local.INFO: Packet analysis {"connection_id":175406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:19:55] local.INFO: Extracted packet for processing {"connection_id":175406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:19:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 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-09-09 07:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 07:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:19:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":175406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:19:55] local.INFO: GPS data processed {"connection_id":175406,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:19:55] local.INFO: Acknowledgment sent {"connection_id":175406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:20:39] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:20:39] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:20:39] local.INFO: IMEI packet received {"connection_id":176529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":176529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:20:44] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:20:44] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:20:44] local.INFO: IMEI packet received {"connection_id":176529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":176529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:20:45] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:20:45] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:20:45] local.INFO: Packet analysis {"connection_id":176529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:20:45] local.INFO: Extracted packet for processing {"connection_id":176529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:20:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 07:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":176529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:20:45] local.INFO: GPS data processed {"connection_id":176529,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:20:45] local.INFO: Acknowledgment sent {"connection_id":176529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:21:08] local.INFO: TCP Data received {"connection_id":177975,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:21:08] local.INFO: Processing buffer {"connection_id":177975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:21:08] local.INFO: IMEI packet received {"connection_id":177975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":177975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:21:09] local.INFO: TCP Data received {"connection_id":177975,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083dc8b40012d82a24005d5f9f00005002b27..."} 
[2026-09-09 07:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dc8b40012d82a24005d5f9f00005002b27..."} 
[2026-09-09 07:21:09] local.INFO: Processing buffer {"connection_id":177975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dc8b40012d82a24005d5f9f00005002b27..."} 
[2026-09-09 07:21:09] local.INFO: Packet analysis {"connection_id":177975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:21:09] local.INFO: Extracted packet for processing {"connection_id":177975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763535936,"raw_latitude":97909232,"longitude_deg":76.3535936,"latitude_deg":9.7909232,"altitude":5,"angle":43,"satellites":39,"speed":8,"hex_longitude":"2d82a240","hex_latitude":"05d5f9f0","is_valid_coordinates":true} 
[2026-09-09 07:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963177728001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130127815327612928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033868983719600128,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:09] 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-09-09 07:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788918664000,"timestamp_ms":1788918664000,"timestamp_seconds":1788918664,"priority":1,"record_length":96,"hex_timestamp":"000001a083dc8b40"} 
[2026-09-09 07:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 07:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963177728001,"66":13906,"157":206,"85":15104,"24":8,"16":130127815327612928,"45":-9033868983719600128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-09 07:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963177728001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:21:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-09 07:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130127815327612928,"km_value":130127815327612.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033868983719600128,"description":"Unknown IO ID 45"} 
[2026-09-09 07:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963177728001,"power":13906,"unknown_157":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9033868983719600128}} 
[2026-09-09 07:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":177975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:21:09] local.INFO: GPS data processed {"connection_id":177975,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:21:09] local.INFO: Acknowledgment sent {"connection_id":177975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:21:17] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:21:17] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:21:17] local.INFO: Packet analysis {"connection_id":176529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:21:17] local.INFO: Extracted packet for processing {"connection_id":176529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 07:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":176529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:21:17] local.INFO: GPS data processed {"connection_id":176529,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:21:17] local.INFO: Acknowledgment sent {"connection_id":176529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:21:40] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:21:40] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:21:40] local.INFO: IMEI packet received {"connection_id":175156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":175156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:21:40] local.INFO: TCP Data received {"connection_id":177975,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcf0d0012d82a88005d61bd00007001b27..."} 
[2026-09-09 07:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcf0d0012d82a88005d61bd00007001b27..."} 
[2026-09-09 07:21:40] local.INFO: Processing buffer {"connection_id":177975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcf0d0012d82a88005d61bd00007001b27..."} 
[2026-09-09 07:21:40] local.INFO: Packet analysis {"connection_id":177975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:21:40] local.INFO: Extracted packet for processing {"connection_id":177975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763537536,"raw_latitude":97917904,"longitude_deg":76.3537536,"latitude_deg":9.7917904,"altitude":7,"angle":27,"satellites":39,"speed":18,"hex_longitude":"2d82a880","hex_latitude":"05d61bd0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963184128001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130128330723688448,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032461608833986560,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788918690000,"timestamp_ms":1788918690000,"timestamp_seconds":1788918690,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcf0d0"} 
[2026-09-09 07:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-09 07:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963184128001,"66":13820,"157":206,"85":15104,"24":18,"16":130128330723688448,"45":-9032461608833986560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-09 07:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963184128001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:21:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-09 07:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130128330723688448,"km_value":130128330723688.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032461608833986560,"description":"Unknown IO ID 45"} 
[2026-09-09 07:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963184128001,"power":13820,"unknown_157":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9032461608833986560}} 
[2026-09-09 07:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":177975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:21:40] local.INFO: GPS data processed {"connection_id":177975,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:21:40] local.INFO: Acknowledgment sent {"connection_id":177975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:21:45] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:21:45] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:21:45] local.INFO: IMEI packet received {"connection_id":175156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":175156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:21:47] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:21:47] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083d82e10012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:21:47] local.INFO: Packet analysis {"connection_id":175156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:21:47] local.INFO: Extracted packet for processing {"connection_id":175156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083d8"} 
[2026-09-09 07:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963027712001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 07:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 07:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788918378000,"timestamp_ms":1788918378000,"timestamp_seconds":1788918378,"priority":1,"record_length":96,"hex_timestamp":"000001a083d82e10"} 
[2026-09-09 07:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 07:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963027712001,"66":25288,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 07:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963027712001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963027712001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":175156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:21:47] local.INFO: GPS data processed {"connection_id":175156,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:21:47] local.INFO: Acknowledgment sent {"connection_id":175156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:22:01] local.INFO: TCP Data received {"connection_id":177976,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:22:01] local.INFO: Processing buffer {"connection_id":177976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:22:01] local.INFO: IMEI packet received {"connection_id":177976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":177976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:22:06] local.INFO: TCP Data received {"connection_id":177976,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:22:06] local.INFO: Processing buffer {"connection_id":177976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:22:06] local.INFO: IMEI packet received {"connection_id":177976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":177976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:22:07] local.INFO: TCP Data received {"connection_id":177976,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083dd0c28012d82b0c005d62b300006002826..."} 
[2026-09-09 07:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dd0c28012d82b0c005d62b300006002826..."} 
[2026-09-09 07:22:07] local.INFO: Processing buffer {"connection_id":177976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dd0c28012d82b0c005d62b300006002826..."} 
[2026-09-09 07:22:07] local.INFO: Packet analysis {"connection_id":177976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dd"} 
[2026-09-09 07:22:07] local.INFO: Extracted packet for processing {"connection_id":177976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dd"} 
[2026-09-09 07:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763539648,"raw_latitude":97921840,"longitude_deg":76.3539648,"latitude_deg":9.792184,"altitude":6,"angle":40,"satellites":38,"speed":23,"hex_longitude":"2d82b0c0","hex_latitude":"05d62b30","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963184640001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130128545472053248,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031828290136190976,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:07] 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-09-09 07:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788918697000,"timestamp_ms":1788918697000,"timestamp_seconds":1788918697,"priority":1,"record_length":96,"hex_timestamp":"000001a083dd0c28"} 
[2026-09-09 07:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 07:22: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-09-09 07: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-09-09 07:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963184640001,"66":13493,"157":206,"85":15104,"24":23,"16":130128545472053248,"45":-9031828290136190976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-09 07:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963184640001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:22:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-09 07:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130128545472053248,"km_value":130128545472053.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031828290136190976,"description":"Unknown IO ID 45"} 
[2026-09-09 07:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963184640001,"power":13493,"unknown_157":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9031828290136190976}} 
[2026-09-09 07:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":177976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:22:07] local.INFO: GPS data processed {"connection_id":177976,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:22:07] local.INFO: Acknowledgment sent {"connection_id":177976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:22:19] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:22:19] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:22:19] local.INFO: Packet analysis {"connection_id":175156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:22:19] local.INFO: Extracted packet for processing {"connection_id":175156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:22:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":175156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:22:19] local.INFO: GPS data processed {"connection_id":175156,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:22:19] local.INFO: Acknowledgment sent {"connection_id":175156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:22:39] local.INFO: TCP Data received {"connection_id":177976,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083dd1010012d82b24005d62cb80006003325..."} 
[2026-09-09 07:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dd1010012d82b24005d62cb80006003325..."} 
[2026-09-09 07:22:39] local.INFO: Processing buffer {"connection_id":177976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dd1010012d82b24005d62cb80006003325..."} 
[2026-09-09 07:22:39] local.INFO: Packet analysis {"connection_id":177976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dd"} 
[2026-09-09 07:22:39] local.INFO: Extracted packet for processing {"connection_id":177976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dd"} 
[2026-09-09 07:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763540032,"raw_latitude":97922232,"longitude_deg":76.3540032,"latitude_deg":9.7922232,"altitude":6,"angle":51,"satellites":37,"speed":22,"hex_longitude":"2d82b240","hex_latitude":"05d62cb8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963186432001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130128575536824320,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029506121577320448,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22: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-09-09 07:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788918698000,"timestamp_ms":1788918698000,"timestamp_seconds":1788918698,"priority":1,"record_length":96,"hex_timestamp":"000001a083dd1010"} 
[2026-09-09 07:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-09 07:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963186432001,"66":13559,"157":206,"85":15104,"24":22,"16":130128575536824320,"45":-9029506121577320448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-09 07:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963186432001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:22:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-09 07:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130128575536824320,"km_value":130128575536824.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029506121577320448,"description":"Unknown IO ID 45"} 
[2026-09-09 07:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963186432001,"power":13559,"unknown_157":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9029506121577320448}} 
[2026-09-09 07:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":177976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:22:39] local.INFO: GPS data processed {"connection_id":177976,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:22:39] local.INFO: Acknowledgment sent {"connection_id":177976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:22:39] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:22:39] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:22:39] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:22:44] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:22:44] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:22:44] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:22:46] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:22:46] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:22:46] local.INFO: Packet analysis {"connection_id":176530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:22:46] local.INFO: Extracted packet for processing {"connection_id":176530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":176530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:22:46] local.INFO: GPS data processed {"connection_id":176530,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:22:46] local.INFO: Acknowledgment sent {"connection_id":176530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:23:01] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:23:01] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:23:01] local.INFO: IMEI packet received {"connection_id":175158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":175158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:23:07] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:23:07] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:23:07] local.INFO: IMEI packet received {"connection_id":175158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":175158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:23:08] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083dd1bc8012d82b70005d630780006002724..."} 
[2026-09-09 07:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dd1bc8012d82b70005d630780006002724..."} 
[2026-09-09 07:23:08] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dd1bc8012d82b70005d630780006002724..."} 
[2026-09-09 07:23:08] local.INFO: Packet analysis {"connection_id":175158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dd"} 
[2026-09-09 07:23:08] local.INFO: Extracted packet for processing {"connection_id":175158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dd"} 
[2026-09-09 07:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763541248,"raw_latitude":97923192,"longitude_deg":76.3541248,"latitude_deg":9.7923192,"altitude":6,"angle":39,"satellites":36,"speed":18,"hex_longitude":"2d82b700","hex_latitude":"05d63078","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963186688001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130128648551268352,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029083909112154112,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788918701000,"timestamp_ms":1788918701000,"timestamp_seconds":1788918701,"priority":1,"record_length":96,"hex_timestamp":"000001a083dd1bc8"} 
[2026-09-09 07:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 07:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963186688001,"66":13820,"157":206,"85":15104,"24":18,"16":130128648551268352,"45":-9029083909112154112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-09 07:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963186688001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:23:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-09 07:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130128648551268352,"km_value":130128648551268.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029083909112154112,"description":"Unknown IO ID 45"} 
[2026-09-09 07:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963186688001,"power":13820,"unknown_157":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9029083909112154112}} 
[2026-09-09 07:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":175158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:23:08] local.INFO: GPS data processed {"connection_id":175158,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:23:08] local.INFO: Acknowledgment sent {"connection_id":175158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:23:12] local.INFO: TCP Data received {"connection_id":177977,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:23:12] local.INFO: Processing buffer {"connection_id":177977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:23:12] local.INFO: IMEI packet received {"connection_id":177977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":177977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:23:17] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:23:17] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:23:17] local.INFO: Packet analysis {"connection_id":176530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:23:17] local.INFO: Extracted packet for processing {"connection_id":176530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":176530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:23:17] local.INFO: GPS data processed {"connection_id":176530,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:23:17] local.INFO: Acknowledgment sent {"connection_id":176530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:23:39] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083debdc0012d82c60005d689b00001012d26..."} 
[2026-09-09 07:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083debdc0012d82c60005d689b00001012d26..."} 
[2026-09-09 07:23:39] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083debdc0012d82c60005d689b00001012d26..."} 
[2026-09-09 07:23:39] local.INFO: Packet analysis {"connection_id":175158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:23:39] local.INFO: Extracted packet for processing {"connection_id":175158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763545088,"raw_latitude":97946032,"longitude_deg":76.3545088,"latitude_deg":9.7946032,"altitude":1,"angle":301,"satellites":38,"speed":20,"hex_longitude":"2d82c600","hex_latitude":"05d689b0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963214080001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130129876911915008,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9022187772176793600,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:39] 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-09-09 07:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788918808000,"timestamp_ms":1788918808000,"timestamp_seconds":1788918808,"priority":1,"record_length":96,"hex_timestamp":"000001a083debdc0"} 
[2026-09-09 07:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-09 07:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963214080001,"66":13580,"156":206,"85":15104,"24":20,"16":130129876911915008,"45":-9022187772176793600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 07:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963214080001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:23:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 07:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130129876911915008,"km_value":130129876911915.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9022187772176793600,"description":"Unknown IO ID 45"} 
[2026-09-09 07:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963214080001,"power":13580,"unknown_156":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9022187772176793600}} 
[2026-09-09 07:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":175158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:23:39] local.INFO: GPS data processed {"connection_id":175158,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:23:39] local.INFO: Acknowledgment sent {"connection_id":175158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:23:44] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:23:44] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:23:44] local.INFO: IMEI packet received {"connection_id":175159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":175159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:23:47] local.INFO: TCP Data received {"connection_id":177978,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:23:47] local.INFO: Processing buffer {"connection_id":177978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:23:47] local.INFO: IMEI packet received {"connection_id":177978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":177978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:23:49] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:23:49] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:23:49] local.INFO: IMEI packet received {"connection_id":175159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":175159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:23:50] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:23:50] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:23:50] local.INFO: Packet analysis {"connection_id":175159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:23:50] local.INFO: Extracted packet for processing {"connection_id":175159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:23:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":175159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:23:50] local.INFO: GPS data processed {"connection_id":175159,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:23:50] local.INFO: Acknowledgment sent {"connection_id":175159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:23:55] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:23:55] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:23:55] local.INFO: Packet analysis {"connection_id":175159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:23:55] local.INFO: Extracted packet for processing {"connection_id":175159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:23:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:23:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":175159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:23:55] local.INFO: GPS data processed {"connection_id":175159,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:23:55] local.INFO: Acknowledgment sent {"connection_id":175159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:24:03] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:24:03] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:24:03] local.INFO: IMEI packet received {"connection_id":176531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":176531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:24:06] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:24:06] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:24:06] local.INFO: IMEI packet received {"connection_id":176531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":176531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:24:11] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:24:11] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:24:11] local.INFO: IMEI packet received {"connection_id":176531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":176531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:24:12] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083decd60012d82bfc005d68ec00003013925..."} 
[2026-09-09 07:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083decd60012d82bfc005d68ec00003013925..."} 
[2026-09-09 07:24:12] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083decd60012d82bfc005d68ec00003013925..."} 
[2026-09-09 07:24:12] local.INFO: Packet analysis {"connection_id":176531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:24:12] local.INFO: Extracted packet for processing {"connection_id":176531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763543488,"raw_latitude":97947328,"longitude_deg":76.3543488,"latitude_deg":9.7947328,"altitude":3,"angle":313,"satellites":37,"speed":22,"hex_longitude":"2d82bfc0","hex_latitude":"05d68ec0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963214848001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130129975696162816,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9023524778316025856,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] 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-09-09 07:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788918812000,"timestamp_ms":1788918812000,"timestamp_seconds":1788918812,"priority":1,"record_length":96,"hex_timestamp":"000001a083decd60"} 
[2026-09-09 07:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:24: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-09-09 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631952,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2212351864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2194636805,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3580274842340950016,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2221408261,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3732113409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937947293,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147560834,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2147866244,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392038,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-3674930877268754428,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271329503785387,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:12] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,156,85,24,241,157,16,80,160,178,45,192,135,1,38,10,66,170,134,166,128,240,214,227,131,4,113,205,33,207,104,239,51,2,206,5,130,53,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-09-09 07:24:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72388710247956480,"timestamp_seconds":72388710247956.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963214848001,"66":13906,"156":206,"85":15104,"24":22,"16":130129975696162816,"45":-9023524778316025856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 07:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963214848001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:24:12] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 07:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130129975696162816,"km_value":130129975696162.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9023524778316025856,"description":"Unknown IO ID 45"} 
[2026-09-09 07:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963214848001,"power":13906,"unknown_156":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9023524778316025856}} 
[2026-09-09 07:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":176531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:24:12] local.INFO: GPS data processed {"connection_id":176531,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:24:12] local.INFO: Acknowledgment sent {"connection_id":176531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:24:17] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ded918012d82bb0005d694780004014624..."} 
[2026-09-09 07:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ded918012d82bb0005d694780004014624..."} 
[2026-09-09 07:24:17] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ded918012d82bb0005d694780004014624..."} 
[2026-09-09 07:24:17] local.INFO: Packet analysis {"connection_id":176531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:24:17] local.INFO: Extracted packet for processing {"connection_id":176531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:24:17] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":97948792,"longitude_deg":76.3542272,"latitude_deg":9.7948792,"altitude":4,"angle":326,"satellites":36,"speed":26,"hex_longitude":"2d82bb00","hex_latitude":"05d69478","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963215872001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130130065890476032,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025283996920135680,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:17] 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-09-09 07:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788918815000,"timestamp_ms":1788918815000,"timestamp_seconds":1788918815,"priority":1,"record_length":96,"hex_timestamp":"000001a083ded918"} 
[2026-09-09 07:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:24: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-09-09 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 07:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963215872001,"66":13580,"156":206,"85":15104,"24":26,"16":130130065890476032,"45":-9025283996920135680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 07:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963215872001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:24:17] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 07:24:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130130065890476032,"km_value":130130065890476.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025283996920135680,"description":"Unknown IO ID 45"} 
[2026-09-09 07:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963215872001,"power":13580,"unknown_156":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9025283996920135680}} 
[2026-09-09 07:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":176531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:24:17] local.INFO: GPS data processed {"connection_id":176531,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:24:17] local.INFO: Acknowledgment sent {"connection_id":176531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:24:40] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:24:40] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:24:40] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:24:44] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:24:44] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:24:44] local.INFO: IMEI packet received {"connection_id":176532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":176532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:24:45] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:24:45] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:24:45] local.INFO: Packet analysis {"connection_id":176532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:24:45] local.INFO: Extracted packet for processing {"connection_id":176532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":176532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:24:45] local.INFO: GPS data processed {"connection_id":176532,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:24:45] local.INFO: Acknowledgment sent {"connection_id":176532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:25:01] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:25:01] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:25:01] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:25:06] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:25:06] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:25:06] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:25:07] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083dee4d0012d82b7c005d69ba80004015825..."} 
[2026-09-09 07:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dee4d0012d82b7c005d69ba80004015825..."} 
[2026-09-09 07:25:07] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dee4d0012d82b7c005d69ba80004015825..."} 
[2026-09-09 07:25:07] local.INFO: Packet analysis {"connection_id":175409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:25:07] local.INFO: Extracted packet for processing {"connection_id":175409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763541440,"raw_latitude":97950632,"longitude_deg":76.354144,"latitude_deg":9.7950632,"altitude":4,"angle":344,"satellites":37,"speed":26,"hex_longitude":"2d82b7c0","hex_latitude":"05d69ba8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963216640001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130130164674723840,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621003059136512,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788918818000,"timestamp_ms":1788918818000,"timestamp_seconds":1788918818,"priority":1,"record_length":96,"hex_timestamp":"000001a083dee4d0"} 
[2026-09-09 07:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631952,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2212393864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2147866246,"corrected_to":0} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2194456581,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3580274842340950016,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3735697409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2258108416,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110821532,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376870,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-3494786891936956411,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971747873151463851,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,156,85,24,241,157,16,80,160,205,45,192,142,3,37,10,66,189,137,1,38,178,240,29,227,131,214,4,113,11,166,8,239,52,2,206,5,130,51,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2147866246,"validated":0}]} 
[2026-09-09 07:25:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288588971562893312,"timestamp_seconds":288588971562893.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963216640001,"66":13928,"156":206,"85":15104,"24":26,"16":130130164674723840,"45":-9026621003059136512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 07:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963216640001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:25:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 07:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130130164674723840,"km_value":130130164674723.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621003059136512,"description":"Unknown IO ID 45"} 
[2026-09-09 07:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963216640001,"power":13928,"unknown_156":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9026621003059136512}} 
[2026-09-09 07:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":175409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:25:07] local.INFO: GPS data processed {"connection_id":175409,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:25:07] local.INFO: Acknowledgment sent {"connection_id":175409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:25:18] local.INFO: TCP Data received {"connection_id":176532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:25:18] local.INFO: Processing buffer {"connection_id":176532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:25:18] local.INFO: Packet analysis {"connection_id":176532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:25:18] local.INFO: Extracted packet for processing {"connection_id":176532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":176532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:25:18] local.INFO: GPS data processed {"connection_id":176532,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:25:18] local.INFO: Acknowledgment sent {"connection_id":176532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:25:38] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083def088012d82b68005d6a3500005016726..."} 
[2026-09-09 07:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083def088012d82b68005d6a3500005016726..."} 
[2026-09-09 07:25:38] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083def088012d82b68005d6a3500005016726..."} 
[2026-09-09 07:25:38] local.INFO: Packet analysis {"connection_id":175409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:25:38] local.INFO: Extracted packet for processing {"connection_id":175409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083de"} 
[2026-09-09 07:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763541120,"raw_latitude":97952592,"longitude_deg":76.354112,"latitude_deg":9.7952592,"altitude":5,"angle":359,"satellites":38,"speed":26,"hex_longitude":"2d82b680","hex_latitude":"05d6a350","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963217408001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130130263458971648,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027535796732975104,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:38] 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-09-09 07:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788918821000,"timestamp_ms":1788918821000,"timestamp_seconds":1788918821,"priority":1,"record_length":96,"hex_timestamp":"000001a083def088"} 
[2026-09-09 07:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 07:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963217408001,"66":13928,"156":206,"85":15104,"24":26,"16":130130263458971648,"45":-9027535796732975104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 07:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963217408001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:25:38] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 07:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130130263458971648,"km_value":130130263458971.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027535796732975104,"description":"Unknown IO ID 45"} 
[2026-09-09 07:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963217408001,"power":13928,"unknown_156":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9027535796732975104}} 
[2026-09-09 07:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":175409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:25:38] local.INFO: GPS data processed {"connection_id":175409,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:25:38] local.INFO: Acknowledgment sent {"connection_id":175409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:25:39] local.INFO: TCP Data received {"connection_id":175410,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:25:39] local.INFO: Processing buffer {"connection_id":175410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:25:39] local.INFO: IMEI packet received {"connection_id":175410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":175410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:25:44] local.INFO: TCP Data received {"connection_id":175410,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:25:44] local.INFO: Processing buffer {"connection_id":175410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:25:44] local.INFO: IMEI packet received {"connection_id":175410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":175410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:25:48] local.INFO: TCP Data received {"connection_id":175410,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:25:48] local.INFO: Processing buffer {"connection_id":175410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:25:48] local.INFO: Packet analysis {"connection_id":175410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:25:48] local.INFO: Extracted packet for processing {"connection_id":175410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":175410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:25:48] local.INFO: GPS data processed {"connection_id":175410,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:25:48] local.INFO: Acknowledgment sent {"connection_id":175410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:26:01] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:26:01] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:26:01] local.INFO: IMEI packet received {"connection_id":175160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":175160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:26:07] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:26:07] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:26:07] local.INFO: IMEI packet received {"connection_id":175160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":175160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:26:08] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083df4290012d82b80005d6b6800006000024..."} 
[2026-09-09 07:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083df4290012d82b80005d6b6800006000024..."} 
[2026-09-09 07:26:08] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083df4290012d82b80005d6b6800006000024..."} 
[2026-09-09 07:26:08] local.INFO: Packet analysis {"connection_id":175160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083df"} 
[2026-09-09 07:26:08] local.INFO: Extracted packet for processing {"connection_id":175160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083df"} 
[2026-09-09 07:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763541504,"raw_latitude":97957504,"longitude_deg":76.3541504,"latitude_deg":9.7957504,"altitude":6,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d82b800","hex_latitude":"05d6b680","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963218176001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130130499682172928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027887640453361664,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:08] 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-09-09 07:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788918842000,"timestamp_ms":1788918842000,"timestamp_seconds":1788918842,"priority":1,"record_length":96,"hex_timestamp":"000001a083df4290"} 
[2026-09-09 07:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 07:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963218176001,"66":13646,"156":206,"85":15104,"24":0,"16":130130499682172928,"45":-9027887640453361664},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 07:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963218176001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:26:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 07:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130130499682172928,"km_value":130130499682172.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027887640453361664,"description":"Unknown IO ID 45"} 
[2026-09-09 07:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963218176001,"power":13646,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9027887640453361664}} 
[2026-09-09 07:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":175160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:26:08] local.INFO: GPS data processed {"connection_id":175160,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:26:08] local.INFO: Acknowledgment sent {"connection_id":175160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:26:19] local.INFO: TCP Data received {"connection_id":175410,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:26:19] local.INFO: Processing buffer {"connection_id":175410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:26:19] local.INFO: Packet analysis {"connection_id":175410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:26:19] local.INFO: Extracted packet for processing {"connection_id":175410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:26:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":175410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:26:19] local.INFO: GPS data processed {"connection_id":175410,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:26:19] local.INFO: Acknowledgment sent {"connection_id":175410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:26:39] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083df9498012d82b80005d6b6800006000024..."} 
[2026-09-09 07:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083df9498012d82b80005d6b6800006000024..."} 
[2026-09-09 07:26:39] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083df9498012d82b80005d6b6800006000024..."} 
[2026-09-09 07:26:39] local.INFO: Packet analysis {"connection_id":175160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083df"} 
[2026-09-09 07:26:39] local.INFO: Extracted packet for processing {"connection_id":175160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083df"} 
[2026-09-09 07:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763541504,"raw_latitude":97957504,"longitude_deg":76.3541504,"latitude_deg":9.7957504,"altitude":6,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d82b800","hex_latitude":"05d6b680","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963223552001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130130499682172928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027465427987038208,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:39] 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-09-09 07:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788918863000,"timestamp_ms":1788918863000,"timestamp_seconds":1788918863,"priority":1,"record_length":96,"hex_timestamp":"000001a083df9498"} 
[2026-09-09 07:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-09 07:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963223552001,"66":13537,"156":206,"85":15104,"24":0,"16":130130499682172928,"45":-9027465427987038208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 07:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963223552001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:26:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 07:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130130499682172928,"km_value":130130499682172.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027465427987038208,"description":"Unknown IO ID 45"} 
[2026-09-09 07:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963223552001,"power":13537,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9027465427987038208}} 
[2026-09-09 07:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":175160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:26:39] local.INFO: GPS data processed {"connection_id":175160,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:26:39] local.INFO: Acknowledgment sent {"connection_id":175160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:26:39] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:26:39] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:26:39] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:26:45] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:26:45] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:26:45] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:26:46] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:26:46] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dcc9c0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:26:46] local.INFO: Packet analysis {"connection_id":175412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:26:46] local.INFO: Extracted packet for processing {"connection_id":175412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083dc"} 
[2026-09-09 07:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963104768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788918680000,"timestamp_ms":1788918680000,"timestamp_seconds":1788918680,"priority":1,"record_length":96,"hex_timestamp":"000001a083dcc9c0"} 
[2026-09-09 07:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 07:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963104768001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963104768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963104768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":175412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:26:46] local.INFO: GPS data processed {"connection_id":175412,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:26:46] local.INFO: Acknowledgment sent {"connection_id":175412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:27:00] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:27:00] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:27:00] local.INFO: IMEI packet received {"connection_id":177980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":177980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:27:01] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:27:01] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:27:01] local.INFO: IMEI packet received {"connection_id":177980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":177980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:27:07] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:27:07] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:27:07] local.INFO: IMEI packet received {"connection_id":177980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":177980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:27:08] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083dfe6a0012d82b80005d6b6800006000025..."} 
[2026-09-09 07:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083dfe6a0012d82b80005d6b6800006000025..."} 
[2026-09-09 07:27:08] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083dfe6a0012d82b80005d6b6800006000025..."} 
[2026-09-09 07:27:08] local.INFO: Packet analysis {"connection_id":177980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083df"} 
[2026-09-09 07:27:08] local.INFO: Extracted packet for processing {"connection_id":177980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083df"} 
[2026-09-09 07:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763541504,"raw_latitude":97957504,"longitude_deg":76.3541504,"latitude_deg":9.7957504,"altitude":6,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d82b800","hex_latitude":"05d6b680","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963228928001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130130499682172928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027465427987038208,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:08] 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-09-09 07:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788918884000,"timestamp_ms":1788918884000,"timestamp_seconds":1788918884,"priority":1,"record_length":96,"hex_timestamp":"000001a083dfe6a0"} 
[2026-09-09 07:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-09 07:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963228928001,"66":13624,"156":206,"85":15104,"24":0,"16":130130499682172928,"45":-9027465427987038208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 07:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963228928001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:27:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 07:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130130499682172928,"km_value":130130499682172.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027465427987038208,"description":"Unknown IO ID 45"} 
[2026-09-09 07:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963228928001,"power":13624,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9027465427987038208}} 
[2026-09-09 07:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":177980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:27:08] local.INFO: GPS data processed {"connection_id":177980,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:27:08] local.INFO: Acknowledgment sent {"connection_id":177980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:27:17] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:27:17] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:27:17] local.INFO: Packet analysis {"connection_id":175412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:27:17] local.INFO: Extracted packet for processing {"connection_id":175412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963182080001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788918980000,"timestamp_ms":1788918980000,"timestamp_seconds":1788918980,"priority":1,"record_length":96,"hex_timestamp":"000001a083e15da0"} 
[2026-09-09 07:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:27: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-09-09 07:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963182080001,"66":25299,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 07:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963182080001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:27:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 07:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963182080001,"power":25299,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":175412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:27:17] local.INFO: GPS data processed {"connection_id":175412,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:27:17] local.INFO: Acknowledgment sent {"connection_id":175412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:27:39] local.INFO: TCP Data received {"connection_id":177980,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e038a8012d82b80005d6b6800006000025..."} 
[2026-09-09 07:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e038a8012d82b80005d6b6800006000025..."} 
[2026-09-09 07:27:39] local.INFO: Processing buffer {"connection_id":177980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e038a8012d82b80005d6b6800006000025..."} 
[2026-09-09 07:27:39] local.INFO: Packet analysis {"connection_id":177980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e0"} 
[2026-09-09 07:27:39] local.INFO: Extracted packet for processing {"connection_id":177980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e0"} 
[2026-09-09 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763541504,"raw_latitude":97957504,"longitude_deg":76.3541504,"latitude_deg":9.7957504,"altitude":6,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d82b800","hex_latitude":"05d6b680","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963234304001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130130499682172928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027465427987038208,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:39] 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-09-09 07:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788918905000,"timestamp_ms":1788918905000,"timestamp_seconds":1788918905,"priority":1,"record_length":96,"hex_timestamp":"000001a083e038a8"} 
[2026-09-09 07:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 07:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963234304001,"66":13396,"156":206,"85":15104,"24":0,"16":130130499682172928,"45":-9027465427987038208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 07:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963234304001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:27:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 07:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130130499682172928,"km_value":130130499682172.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027465427987038208,"description":"Unknown IO ID 45"} 
[2026-09-09 07:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963234304001,"power":13396,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9027465427987038208}} 
[2026-09-09 07:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":177980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:27:39] local.INFO: GPS data processed {"connection_id":177980,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:27:39] local.INFO: Acknowledgment sent {"connection_id":177980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:27:40] local.INFO: TCP Data received {"connection_id":176533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:27:40] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:27:40] local.INFO: IMEI packet received {"connection_id":176533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":176533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:27:46] local.INFO: TCP Data received {"connection_id":176533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:27:46] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:27:46] local.INFO: IMEI packet received {"connection_id":176533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":176533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:27:49] local.INFO: TCP Data received {"connection_id":176533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:27:49] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:27:49] local.INFO: Packet analysis {"connection_id":176533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:27:49] local.INFO: Extracted packet for processing {"connection_id":176533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963182080001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788918980000,"timestamp_ms":1788918980000,"timestamp_seconds":1788918980,"priority":1,"record_length":96,"hex_timestamp":"000001a083e15da0"} 
[2026-09-09 07:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:27: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-09-09 07:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963182080001,"66":25299,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 07:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963182080001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:27:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 07:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963182080001,"power":25299,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":176533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:27:49] local.INFO: GPS data processed {"connection_id":176533,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:27:49] local.INFO: Acknowledgment sent {"connection_id":176533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:27:52] local.INFO: TCP Data received {"connection_id":176533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:27:52] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:27:52] local.INFO: Packet analysis {"connection_id":176533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:27:52] local.INFO: Extracted packet for processing {"connection_id":176533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963182080001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788918980000,"timestamp_ms":1788918980000,"timestamp_seconds":1788918980,"priority":1,"record_length":96,"hex_timestamp":"000001a083e15da0"} 
[2026-09-09 07:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963182080001,"66":25299,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 07:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963182080001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:27:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 07:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963182080001,"power":25299,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":176533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:27:52] local.INFO: GPS data processed {"connection_id":176533,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:27:52] local.INFO: Acknowledgment sent {"connection_id":176533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:28:00] local.INFO: TCP Data received {"connection_id":177982,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:28:00] local.INFO: Processing buffer {"connection_id":177982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:28:00] local.INFO: IMEI packet received {"connection_id":177982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":177982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:28:01] local.INFO: TCP Data received {"connection_id":177982,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:28:01] local.INFO: Processing buffer {"connection_id":177982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:28:01] local.INFO: IMEI packet received {"connection_id":177982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":177982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:28:07] local.INFO: TCP Data received {"connection_id":177982,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:28:07] local.INFO: Processing buffer {"connection_id":177982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:28:07] local.INFO: IMEI packet received {"connection_id":177982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":177982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:28:07] local.INFO: TCP Data received {"connection_id":177982,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e272f8012d82a28005d7a4c8000a016326..."} 
[2026-09-09 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e272f8012d82a28005d7a4c8000a016326..."} 
[2026-09-09 07:28:07] local.INFO: Processing buffer {"connection_id":177982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e272f8012d82a28005d7a4c8000a016326..."} 
[2026-09-09 07:28:07] local.INFO: Packet analysis {"connection_id":177982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e2"} 
[2026-09-09 07:28:07] local.INFO: Extracted packet for processing {"connection_id":177982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e2"} 
[2026-09-09 07:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763536000,"raw_latitude":98018504,"longitude_deg":76.3536,"latitude_deg":9.8018504,"altitude":10,"angle":355,"satellites":38,"speed":36,"hex_longitude":"2d82a280","hex_latitude":"05d7a4c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963274496001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130133484684443648,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032883821275486208,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:07] 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-09-09 07:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919051000,"timestamp_ms":1788919051000,"timestamp_seconds":1788919051,"priority":1,"record_length":96,"hex_timestamp":"000001a083e272f8"} 
[2026-09-09 07:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 07:28: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-09-09 07: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-09-09 07:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963274496001,"66":13624,"155":206,"85":15104,"24":36,"16":130133484684443648,"45":-9032883821275486208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 07:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963274496001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:28:07] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 07:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130133484684443648,"km_value":130133484684443.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032883821275486208,"description":"Unknown IO ID 45"} 
[2026-09-09 07:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963274496001,"power":13624,"unknown_155":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9032883821275486208}} 
[2026-09-09 07:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":177982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:28:07] local.INFO: GPS data processed {"connection_id":177982,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:28:07] local.INFO: Acknowledgment sent {"connection_id":177982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:28:24] local.INFO: TCP Data received {"connection_id":176533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:28:24] local.INFO: Processing buffer {"connection_id":176533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:28:24] local.INFO: Packet analysis {"connection_id":176533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:28:24] local.INFO: Extracted packet for processing {"connection_id":176533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963182080001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788918980000,"timestamp_ms":1788918980000,"timestamp_seconds":1788918980,"priority":1,"record_length":96,"hex_timestamp":"000001a083e15da0"} 
[2026-09-09 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-09-09 07:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963182080001,"66":25299,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 07:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963182080001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:28:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 07:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963182080001,"power":25299,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":176533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:28:24] local.INFO: GPS data processed {"connection_id":176533,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:28:24] local.INFO: Acknowledgment sent {"connection_id":176533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:28:39] local.INFO: TCP Data received {"connection_id":177982,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e29a08012d82a00005d7cab0000a016525..."} 
[2026-09-09 07:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e29a08012d82a00005d7cab0000a016525..."} 
[2026-09-09 07:28:39] local.INFO: Processing buffer {"connection_id":177982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e29a08012d82a00005d7cab0000a016525..."} 
[2026-09-09 07:28:39] local.INFO: Packet analysis {"connection_id":177982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e2"} 
[2026-09-09 07:28:39] local.INFO: Extracted packet for processing {"connection_id":177982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e2"} 
[2026-09-09 07:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763535360,"raw_latitude":98028208,"longitude_deg":76.353536,"latitude_deg":9.8028208,"altitude":10,"angle":357,"satellites":37,"speed":39,"hex_longitude":"2d82a000","hex_latitude":"05d7cab0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963277056001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130133957130846208,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033517139970701312,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:39] 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-09-09 07:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788919061000,"timestamp_ms":1788919061000,"timestamp_seconds":1788919061,"priority":1,"record_length":96,"hex_timestamp":"000001a083e29a08"} 
[2026-09-09 07:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 07:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963277056001,"66":13678,"155":206,"85":15104,"24":39,"16":130133957130846208,"45":-9033517139970701312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 07:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963277056001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:28:39] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 07:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130133957130846208,"km_value":130133957130846.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033517139970701312,"description":"Unknown IO ID 45"} 
[2026-09-09 07:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963277056001,"power":13678,"unknown_155":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9033517139970701312}} 
[2026-09-09 07:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":177982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:28:39] local.INFO: GPS data processed {"connection_id":177982,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:28:39] local.INFO: Acknowledgment sent {"connection_id":177982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:28:40] local.INFO: TCP Data received {"connection_id":177983,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:28:40] local.INFO: Processing buffer {"connection_id":177983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:28:40] local.INFO: IMEI packet received {"connection_id":177983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":177983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:28:44] local.INFO: TCP Data received {"connection_id":177983,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:28:44] local.INFO: Processing buffer {"connection_id":177983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:28:44] local.INFO: IMEI packet received {"connection_id":177983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":177983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:28:46] local.INFO: TCP Data received {"connection_id":177983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:28:46] local.INFO: Processing buffer {"connection_id":177983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:28:46] local.INFO: Packet analysis {"connection_id":177983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:28:46] local.INFO: Extracted packet for processing {"connection_id":177983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963182080001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788918980000,"timestamp_ms":1788918980000,"timestamp_seconds":1788918980,"priority":1,"record_length":96,"hex_timestamp":"000001a083e15da0"} 
[2026-09-09 07:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07: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-09-09 07:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963182080001,"66":25299,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 07:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963182080001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:28:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 07:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963182080001,"power":25299,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":177983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:28:46] local.INFO: GPS data processed {"connection_id":177983,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:28:46] local.INFO: Acknowledgment sent {"connection_id":177983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:28:52] local.INFO: TCP Data received {"connection_id":175413,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:28:52] local.INFO: Processing buffer {"connection_id":175413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:28:52] local.INFO: IMEI packet received {"connection_id":175413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":175413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:29:01] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:29:01] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:29:01] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:29:06] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:29:06] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:29:06] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:29:07] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e2bd30012d829f0005d7ed78000a016626..."} 
[2026-09-09 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e2bd30012d829f0005d7ed78000a016626..."} 
[2026-09-09 07:29:07] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e2bd30012d829f0005d7ed78000a016626..."} 
[2026-09-09 07:29:07] local.INFO: Packet analysis {"connection_id":175414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e2"} 
[2026-09-09 07:29:07] local.INFO: Extracted packet for processing {"connection_id":175414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e2"} 
[2026-09-09 07:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98037112,"longitude_deg":76.3535104,"latitude_deg":9.8037112,"altitude":10,"angle":358,"satellites":38,"speed":39,"hex_longitude":"2d829f00","hex_latitude":"05d7ed78","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963279616001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130134386627575808,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034220827409993728,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:07] 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-09-09 07:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919070000,"timestamp_ms":1788919070000,"timestamp_seconds":1788919070,"priority":1,"record_length":96,"hex_timestamp":"000001a083e2bd30"} 
[2026-09-09 07:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 07:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963279616001,"66":13798,"155":206,"85":15104,"24":39,"16":130134386627575808,"45":-9034220827409993728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 07:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963279616001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:29:07] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 07:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130134386627575808,"km_value":130134386627575.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034220827409993728,"description":"Unknown IO ID 45"} 
[2026-09-09 07:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963279616001,"power":13798,"unknown_155":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9034220827409993728}} 
[2026-09-09 07:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":175414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:29:07] local.INFO: GPS data processed {"connection_id":175414,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:29:07] local.INFO: Acknowledgment sent {"connection_id":175414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:29:17] local.INFO: TCP Data received {"connection_id":177983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:29:17] local.INFO: Processing buffer {"connection_id":177983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:29:17] local.INFO: Packet analysis {"connection_id":177983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:29:17] local.INFO: Extracted packet for processing {"connection_id":177983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963182080001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788918980000,"timestamp_ms":1788918980000,"timestamp_seconds":1788918980,"priority":1,"record_length":96,"hex_timestamp":"000001a083e15da0"} 
[2026-09-09 07:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963182080001,"66":25299,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 07:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963182080001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:29:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 07:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963182080001,"power":25299,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":177983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:29:17] local.INFO: GPS data processed {"connection_id":177983,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:29:17] local.INFO: Acknowledgment sent {"connection_id":177983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:29:38] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e2e058012d829dc005d810800009016626..."} 
[2026-09-09 07:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e2e058012d829dc005d810800009016626..."} 
[2026-09-09 07:29:38] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e2e058012d829dc005d810800009016626..."} 
[2026-09-09 07:29:38] local.INFO: Packet analysis {"connection_id":175414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e2"} 
[2026-09-09 07:29:38] local.INFO: Extracted packet for processing {"connection_id":175414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e2"} 
[2026-09-09 07:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":98046080,"longitude_deg":76.3534784,"latitude_deg":9.804608,"altitude":9,"angle":358,"satellites":38,"speed":34,"hex_longitude":"2d829dc0","hex_latitude":"05d81080","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963281920001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130134824714240000,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034502302384424960,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788919079000,"timestamp_ms":1788919079000,"timestamp_seconds":1788919079,"priority":1,"record_length":96,"hex_timestamp":"000001a083e2e058"} 
[2026-09-09 07:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 07:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963281920001,"66":13515,"155":206,"85":15104,"24":34,"16":130134824714240000,"45":-9034502302384424960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 07:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963281920001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:29:38] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 07:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130134824714240000,"km_value":130134824714240,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034502302384424960,"description":"Unknown IO ID 45"} 
[2026-09-09 07:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963281920001,"power":13515,"unknown_155":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9034502302384424960}} 
[2026-09-09 07:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":175414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:29:38] local.INFO: GPS data processed {"connection_id":175414,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:29:38] local.INFO: Acknowledgment sent {"connection_id":175414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:29:39] local.INFO: TCP Data received {"connection_id":175161,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:29:39] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:29:39] local.INFO: IMEI packet received {"connection_id":175161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":175161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:29:44] local.INFO: TCP Data received {"connection_id":175161,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:29:44] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:29:44] local.INFO: IMEI packet received {"connection_id":175161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":175161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:29:45] local.INFO: TCP Data received {"connection_id":175161,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:29:45] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:29:45] local.INFO: Packet analysis {"connection_id":175161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:29:45] local.INFO: Extracted packet for processing {"connection_id":175161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963182080001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788918980000,"timestamp_ms":1788918980000,"timestamp_seconds":1788918980,"priority":1,"record_length":96,"hex_timestamp":"000001a083e15da0"} 
[2026-09-09 07:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:29: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-09-09 07:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963182080001,"66":25299,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 07:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963182080001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:29:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 07:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963182080001,"power":25299,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":175161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:29:45] local.INFO: GPS data processed {"connection_id":175161,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:29:45] local.INFO: Acknowledgment sent {"connection_id":175161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:30:05] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:30:05] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:30:05] local.INFO: IMEI packet received {"connection_id":175415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":175415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:30:06] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:30:06] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:30:06] local.INFO: IMEI packet received {"connection_id":175415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":175415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:30:12] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:30:12] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:30:12] local.INFO: IMEI packet received {"connection_id":175415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":175415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:30:12] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e30b50012d829c8005d834d00008016424..."} 
[2026-09-09 07:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e30b50012d829c8005d834d00008016424..."} 
[2026-09-09 07:30:12] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e30b50012d829c8005d834d00008016424..."} 
[2026-09-09 07:30:12] local.INFO: Packet analysis {"connection_id":175415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e3"} 
[2026-09-09 07:30:12] local.INFO: Extracted packet for processing {"connection_id":175415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e3"} 
[2026-09-09 07:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763534464,"raw_latitude":98055376,"longitude_deg":76.3534464,"latitude_deg":9.8055376,"altitude":8,"angle":356,"satellites":36,"speed":37,"hex_longitude":"2d829c80","hex_latitude":"05d834d0","is_valid_coordinates":true} 
[2026-09-09 07:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963284224001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130135275685806080,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146103017472,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788919090000,"timestamp_ms":1788919090000,"timestamp_seconds":1788919090,"priority":1,"record_length":96,"hex_timestamp":"000001a083e30b50"} 
[2026-09-09 07:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 07:30: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-09-09 07:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963284224001,"66":13917,"155":206,"85":15104,"24":37,"16":130135275685806080,"45":-9034854146103017472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 07:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963284224001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:30:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 07:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130135275685806080,"km_value":130135275685806.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146103017472,"description":"Unknown IO ID 45"} 
[2026-09-09 07:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963284224001,"power":13917,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9034854146103017472}} 
[2026-09-09 07:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":175415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:30:13] local.INFO: GPS data processed {"connection_id":175415,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:30:13] local.INFO: Acknowledgment sent {"connection_id":175415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:30:15] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e33648012d82998005d858b8000a016026..."} 
[2026-09-09 07:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e33648012d82998005d858b8000a016026..."} 
[2026-09-09 07:30:15] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e33648012d82998005d858b8000a016026..."} 
[2026-09-09 07:30:15] local.INFO: Packet analysis {"connection_id":175415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e3"} 
[2026-09-09 07:30:15] local.INFO: Extracted packet for processing {"connection_id":175415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e3"} 
[2026-09-09 07:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763533696,"raw_latitude":98064568,"longitude_deg":76.3533696,"latitude_deg":9.8064568,"altitude":10,"angle":352,"satellites":38,"speed":24,"hex_longitude":"2d829980","hex_latitude":"05d858b8","is_valid_coordinates":true} 
[2026-09-09 07:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963287040001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130135722362404864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035205989821526016,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:15] 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-09-09 07:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788919101000,"timestamp_ms":1788919101000,"timestamp_seconds":1788919101,"priority":1,"record_length":96,"hex_timestamp":"000001a083e33648"} 
[2026-09-09 07:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:30: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-09-09 07:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 07:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963287040001,"66":13515,"155":206,"85":15104,"24":24,"16":130135722362404864,"45":-9035205989821526016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 07:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963287040001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:30:15] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 07:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130135722362404864,"km_value":130135722362404.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035205989821526016,"description":"Unknown IO ID 45"} 
[2026-09-09 07:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963287040001,"power":13515,"unknown_155":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9035205989821526016}} 
[2026-09-09 07:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":175415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:30:15] local.INFO: GPS data processed {"connection_id":175415,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:30:15] local.INFO: Acknowledgment sent {"connection_id":175415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:30:31] local.INFO: TCP Data received {"connection_id":175161,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:30:31] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e15da0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:30:31] local.INFO: Packet analysis {"connection_id":175161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:30:31] local.INFO: Extracted packet for processing {"connection_id":175161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e1"} 
[2026-09-09 07:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963182080001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788918980000,"timestamp_ms":1788918980000,"timestamp_seconds":1788918980,"priority":1,"record_length":96,"hex_timestamp":"000001a083e15da0"} 
[2026-09-09 07:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963182080001,"66":25299,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 07:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963182080001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:30:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 07:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963182080001,"power":25299,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":175161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:30:31] local.INFO: GPS data processed {"connection_id":175161,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:30:31] local.INFO: Acknowledgment sent {"connection_id":175161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:30:46] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e38080012d82944005d86de0000a015528..."} 
[2026-09-09 07:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e38080012d82944005d86de0000a015528..."} 
[2026-09-09 07:30:46] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e38080012d82944005d86de0000a015528..."} 
[2026-09-09 07:30:46] local.INFO: Packet analysis {"connection_id":175415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e3"} 
[2026-09-09 07:30:46] local.INFO: Extracted packet for processing {"connection_id":175415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e3"} 
[2026-09-09 07:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763532352,"raw_latitude":98069984,"longitude_deg":76.3532352,"latitude_deg":9.8069984,"altitude":10,"angle":341,"satellites":40,"speed":17,"hex_longitude":"2d829440","hex_latitude":"05d86de0","is_valid_coordinates":true} 
[2026-09-09 07:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963289856001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130135992945344512,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036050414749304832,"note":"Value kept but may cause issues"} 
[2026-09-09 07:30:46] 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-09-09 07:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788919120000,"timestamp_ms":1788919120000,"timestamp_seconds":1788919120,"priority":1,"record_length":96,"hex_timestamp":"000001a083e38080"} 
[2026-09-09 07:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:30: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-09-09 07:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 07:30: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-09-09 07:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963289856001,"66":13580,"47":206,"85":15104,"24":17,"16":130135992945344512,"45":-9036050414749304832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-09 07:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963289856001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:30:46] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-09 07:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130135992945344512,"km_value":130135992945344.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036050414749304832,"description":"Unknown IO ID 45"} 
[2026-09-09 07:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963289856001,"power":13580,"unknown_47":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9036050414749304832}} 
[2026-09-09 07:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":175415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:30:46] local.INFO: GPS data processed {"connection_id":175415,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:30:46] local.INFO: Acknowledgment sent {"connection_id":175415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:30:58] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:30:58] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:30:58] local.INFO: IMEI packet received {"connection_id":175165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":175165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:30:59] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:30:59] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:30:59] local.INFO: IMEI packet received {"connection_id":175165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":175165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:30:59] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 07:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 07:30:59] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 07:30:59] local.INFO: IMEI packet received {"connection_id":175165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":175165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:31:01] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:31:01] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:31:01] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:31:01] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:31:01] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:31:01] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:31:06] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:31:06] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:31:06] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:31:07] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e516c0012d82478005d9d5c80007015e25..."} 
[2026-09-09 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e516c0012d82478005d9d5c80007015e25..."} 
[2026-09-09 07:31:07] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e516c0012d82478005d9d5c80007015e25..."} 
[2026-09-09 07:31:07] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:31:07] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763512704,"raw_latitude":98162120,"longitude_deg":76.3512704,"latitude_deg":9.816212,"altitude":7,"angle":350,"satellites":37,"speed":31,"hex_longitude":"2d824780","hex_latitude":"05d9d5c8","is_valid_coordinates":true} 
[2026-09-09 07:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963318528001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130140597150285824,"note":"Value kept but may cause issues"} 
[2026-09-09 07:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056738825514964992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:31:07] 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-09-09 07:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919224000,"timestamp_ms":1788919224000,"timestamp_seconds":1788919224,"priority":1,"record_length":96,"hex_timestamp":"000001a083e516c0"} 
[2026-09-09 07:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 07:31: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-09-09 07:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963318528001,"66":13406,"69":206,"85":15104,"24":31,"16":130140597150285824,"45":-9056738825514964992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-09 07:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963318528001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:31:07] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-09 07:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130140597150285824,"km_value":130140597150285.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056738825514964992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963318528001,"power":13406,"unknown_69":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9056738825514964992}} 
[2026-09-09 07:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:31:07] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:31:07] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:31:38] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e568c8012d82428005d9ee100008015b25..."} 
[2026-09-09 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e568c8012d82428005d9ee100008015b25..."} 
[2026-09-09 07:31:38] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e568c8012d82428005d9ee100008015b25..."} 
[2026-09-09 07:31:38] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:31:38] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763511424,"raw_latitude":98168336,"longitude_deg":76.3511424,"latitude_deg":9.8168336,"altitude":8,"angle":347,"satellites":37,"speed":0,"hex_longitude":"2d824280","hex_latitude":"05d9ee10","is_valid_coordinates":true} 
[2026-09-09 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963321344001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130140906387931136,"note":"Value kept but may cause issues"} 
[2026-09-09 07:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059131362814605312,"note":"Value kept but may cause issues"} 
[2026-09-09 07:31:38] 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-09-09 07:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788919245000,"timestamp_ms":1788919245000,"timestamp_seconds":1788919245,"priority":1,"record_length":96,"hex_timestamp":"000001a083e568c8"} 
[2026-09-09 07:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-09 07:31: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-09-09 07:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963321344001,"66":13048,"69":206,"85":15104,"24":0,"16":130140906387931136,"45":-9059131362814605312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-09 07:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963321344001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:31:38] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-09 07:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130140906387931136,"km_value":130140906387931.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059131362814605312,"description":"Unknown IO ID 45"} 
[2026-09-09 07:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963321344001,"power":13048,"unknown_69":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9059131362814605312}} 
[2026-09-09 07:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:31:38] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:31:38] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:32:02] local.INFO: TCP Data received {"connection_id":175166,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:32:02] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:32:02] local.INFO: IMEI packet received {"connection_id":175166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":175166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:32:06] local.INFO: TCP Data received {"connection_id":175166,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:32:06] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:32:06] local.INFO: IMEI packet received {"connection_id":175166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":175166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:32:07] local.INFO: TCP Data received {"connection_id":175166,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e58420012d82424005d9ef180008000126..."} 
[2026-09-09 07:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e58420012d82424005d9ef180008000126..."} 
[2026-09-09 07:32:07] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e58420012d82424005d9ef180008000126..."} 
[2026-09-09 07:32:07] local.INFO: Packet analysis {"connection_id":175166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:32:07] local.INFO: Extracted packet for processing {"connection_id":175166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763511360,"raw_latitude":98168600,"longitude_deg":76.351136,"latitude_deg":9.81686,"altitude":8,"angle":1,"satellites":38,"speed":9,"hex_longitude":"2d824240","hex_latitude":"05d9ef18","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963326720001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130140919272833024,"note":"Value kept but may cause issues"} 
[2026-09-09 07:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060538737696567296,"note":"Value kept but may cause issues"} 
[2026-09-09 07:32:07] 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-09-09 07:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919252000,"timestamp_ms":1788919252000,"timestamp_seconds":1788919252,"priority":1,"record_length":96,"hex_timestamp":"000001a083e58420"} 
[2026-09-09 07:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-09 07:32: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-09-09 07: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-09-09 07:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963326720001,"66":13580,"71":206,"85":15104,"24":9,"16":130140919272833024,"45":-9060538737696567296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-09 07:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963326720001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:32:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-09 07:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130140919272833024,"km_value":130140919272833.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060538737696567296,"description":"Unknown IO ID 45"} 
[2026-09-09 07:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963326720001,"power":13580,"unknown_71":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9060538737696567296}} 
[2026-09-09 07:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":175166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:32:07] local.INFO: GPS data processed {"connection_id":175166,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:32:07] local.INFO: Acknowledgment sent {"connection_id":175166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:32:38] local.INFO: TCP Data received {"connection_id":175166,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e6d410012d81b24005da74400003012627..."} 
[2026-09-09 07:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e6d410012d81b24005da74400003012627..."} 
[2026-09-09 07:32:38] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e6d410012d81b24005da74400003012627..."} 
[2026-09-09 07:32:38] local.INFO: Packet analysis {"connection_id":175166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e6"} 
[2026-09-09 07:32:38] local.INFO: Extracted packet for processing {"connection_id":175166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e6"} 
[2026-09-09 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763474496,"raw_latitude":98202688,"longitude_deg":76.3474496,"latitude_deg":9.8202688,"altitude":3,"angle":294,"satellites":39,"speed":30,"hex_longitude":"2d81b240","hex_latitude":"05da7440","is_valid_coordinates":true} 
[2026-09-09 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963350016001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130144295117127680,"note":"Value kept but may cause issues"} 
[2026-09-09 07:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099593390706493440,"note":"Value kept but may cause issues"} 
[2026-09-09 07:32:38] 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-09-09 07:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788919338000,"timestamp_ms":1788919338000,"timestamp_seconds":1788919338,"priority":1,"record_length":96,"hex_timestamp":"000001a083e6d410"} 
[2026-09-09 07:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-09 07:32: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-09-09 07:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963350016001,"66":13504,"71":206,"85":15104,"24":30,"16":130144295117127680,"45":-9099593390706493440},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-09 07:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963350016001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:32:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-09 07:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130144295117127680,"km_value":130144295117127.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099593390706493440,"description":"Unknown IO ID 45"} 
[2026-09-09 07:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963350016001,"power":13504,"unknown_71":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9099593390706493440}} 
[2026-09-09 07:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":175166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:32:38] local.INFO: GPS data processed {"connection_id":175166,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:32:38] local.INFO: Acknowledgment sent {"connection_id":175166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:33:02] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:33:02] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:33:02] local.INFO: IMEI packet received {"connection_id":175416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":175416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:33:06] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:33:06] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:33:06] local.INFO: IMEI packet received {"connection_id":175416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":175416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:33:07] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e6ff08012d81904005da80a80003011c25..."} 
[2026-09-09 07:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e6ff08012d81904005da80a80003011c25..."} 
[2026-09-09 07:33:07] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e6ff08012d81904005da80a80003011c25..."} 
[2026-09-09 07:33:07] local.INFO: Packet analysis {"connection_id":175416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e6"} 
[2026-09-09 07:33:07] local.INFO: Extracted packet for processing {"connection_id":175416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e6"} 
[2026-09-09 07:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763465792,"raw_latitude":98205864,"longitude_deg":76.3465792,"latitude_deg":9.8205864,"altitude":3,"angle":284,"satellites":37,"speed":33,"hex_longitude":"2d819040","hex_latitude":"05da80a8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963350528001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130144737498759168,"note":"Value kept but may cause issues"} 
[2026-09-09 07:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101141503078285312,"note":"Value kept but may cause issues"} 
[2026-09-09 07:33:07] 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-09-09 07:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919349000,"timestamp_ms":1788919349000,"timestamp_seconds":1788919349,"priority":1,"record_length":96,"hex_timestamp":"000001a083e6ff08"} 
[2026-09-09 07:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:33: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-09-09 07: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":192,"data_length":795,"current_offset":136} 
[2026-09-09 07:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963350528001,"66":13928,"71":206,"85":15104,"24":33,"16":130144737498759168,"45":-9101141503078285312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-09 07:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963350528001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:33:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-09 07:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130144737498759168,"km_value":130144737498759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101141503078285312,"description":"Unknown IO ID 45"} 
[2026-09-09 07:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963350528001,"power":13928,"unknown_71":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9101141503078285312}} 
[2026-09-09 07:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":175416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:33:07] local.INFO: GPS data processed {"connection_id":175416,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:33:07] local.INFO: Acknowledgment sent {"connection_id":175416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:33:38] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e7ce10012d813a4005dafcf00003013f25..."} 
[2026-09-09 07:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e7ce10012d813a4005dafcf00003013f25..."} 
[2026-09-09 07:33:38] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e7ce10012d813a4005dafcf00003013f25..."} 
[2026-09-09 07:33:38] local.INFO: Packet analysis {"connection_id":175416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e7"} 
[2026-09-09 07:33:38] local.INFO: Extracted packet for processing {"connection_id":175416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e7"} 
[2026-09-09 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763443776,"raw_latitude":98237680,"longitude_deg":76.3443776,"latitude_deg":9.823768,"altitude":3,"angle":319,"satellites":37,"speed":31,"hex_longitude":"2d813a40","hex_latitude":"05dafcf0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963366144001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130146863507570688,"note":"Value kept but may cause issues"} 
[2026-09-09 07:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9132948175438028800,"note":"Value kept but may cause issues"} 
[2026-09-09 07:33:38] 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-09-09 07:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788919402000,"timestamp_ms":1788919402000,"timestamp_seconds":1788919402,"priority":1,"record_length":96,"hex_timestamp":"000001a083e7ce10"} 
[2026-09-09 07:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 07:33: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-09-09 07: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-09-09 07:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963366144001,"66":13852,"71":206,"85":15104,"24":31,"16":130146863507570688,"45":-9132948175438028800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-09 07:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963366144001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:33:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-09 07:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130146863507570688,"km_value":130146863507570.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9132948175438028800,"description":"Unknown IO ID 45"} 
[2026-09-09 07:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963366144001,"power":13852,"unknown_71":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9132948175438028800}} 
[2026-09-09 07:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":175416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:33:38] local.INFO: GPS data processed {"connection_id":175416,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:33:38] local.INFO: Acknowledgment sent {"connection_id":175416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:34:01] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:34:01] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:34:01] local.INFO: IMEI packet received {"connection_id":175169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":175169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:34:06] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:34:06] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:34:06] local.INFO: IMEI packet received {"connection_id":175169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":175169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:34:07] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e7d5e0012d81370005db02a00002015325..."} 
[2026-09-09 07:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e7d5e0012d81370005db02a00002015325..."} 
[2026-09-09 07:34:07] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e7d5e0012d81370005db02a00002015325..."} 
[2026-09-09 07:34:07] local.INFO: Packet analysis {"connection_id":175169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e7"} 
[2026-09-09 07:34:07] local.INFO: Extracted packet for processing {"connection_id":175169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e7"} 
[2026-09-09 07:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763442944,"raw_latitude":98239136,"longitude_deg":76.3442944,"latitude_deg":9.8239136,"altitude":2,"angle":339,"satellites":37,"speed":34,"hex_longitude":"2d813700","hex_latitude":"05db02a0","is_valid_coordinates":true} 
[2026-09-09 07:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963366912001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130146945111949312,"note":"Value kept but may cause issues"} 
[2026-09-09 07:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134918500274606080,"note":"Value kept but may cause issues"} 
[2026-09-09 07:34:07] 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-09-09 07:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919404000,"timestamp_ms":1788919404000,"timestamp_seconds":1788919404,"priority":1,"record_length":96,"hex_timestamp":"000001a083e7d5e0"} 
[2026-09-09 07:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 07:34: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-09-09 07:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963366912001,"66":13722,"71":206,"85":15104,"24":34,"16":130146945111949312,"45":-9134918500274606080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-09 07:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963366912001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:34:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-09 07:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130146945111949312,"km_value":130146945111949.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134918500274606080,"description":"Unknown IO ID 45"} 
[2026-09-09 07:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963366912001,"power":13722,"unknown_71":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9134918500274606080}} 
[2026-09-09 07:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":175169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:34:07] local.INFO: GPS data processed {"connection_id":175169,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:34:07] local.INFO: Acknowledgment sent {"connection_id":175169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:34:38] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e7f520012d812c8005db1e880002014627..."} 
[2026-09-09 07:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e7f520012d812c8005db1e880002014627..."} 
[2026-09-09 07:34:38] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e7f520012d812c8005db1e880002014627..."} 
[2026-09-09 07:34:38] local.INFO: Packet analysis {"connection_id":175169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e7"} 
[2026-09-09 07:34:38] local.INFO: Extracted packet for processing {"connection_id":175169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e7"} 
[2026-09-09 07:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763440256,"raw_latitude":98246280,"longitude_deg":76.3440256,"latitude_deg":9.824628,"altitude":2,"angle":326,"satellites":39,"speed":39,"hex_longitude":"2d812c80","hex_latitude":"05db1e88","is_valid_coordinates":true} 
[2026-09-09 07:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963367424001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130147314479136768,"note":"Value kept but may cause issues"} 
[2026-09-09 07:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135833293948542976,"note":"Value kept but may cause issues"} 
[2026-09-09 07:34:38] 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-09-09 07:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788919412000,"timestamp_ms":1788919412000,"timestamp_seconds":1788919412,"priority":1,"record_length":96,"hex_timestamp":"000001a083e7f520"} 
[2026-09-09 07:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 07:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963367424001,"66":14070,"71":206,"85":15104,"24":39,"16":130147314479136768,"45":-9135833293948542976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-09 07:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963367424001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:34:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-09 07:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130147314479136768,"km_value":130147314479136.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135833293948542976,"description":"Unknown IO ID 45"} 
[2026-09-09 07:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963367424001,"power":14070,"unknown_71":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9135833293948542976}} 
[2026-09-09 07:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":175169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:34:38] local.INFO: GPS data processed {"connection_id":175169,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:34:38] local.INFO: Acknowledgment sent {"connection_id":175169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:34:42] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:34:42] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:34:42] local.INFO: IMEI packet received {"connection_id":175170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":175170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:35:03] local.INFO: TCP Data received {"connection_id":176535,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:35:03] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:35:03] local.INFO: IMEI packet received {"connection_id":176535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":176535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:35:05] local.INFO: TCP Data received {"connection_id":176535,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:35:05] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:35:05] local.INFO: IMEI packet received {"connection_id":176535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":176535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:35:06] local.INFO: TCP Data received {"connection_id":176535,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e81848012d81180005db3e000003014925..."} 
[2026-09-09 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e81848012d81180005db3e000003014925..."} 
[2026-09-09 07:35:06] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e81848012d81180005db3e000003014925..."} 
[2026-09-09 07:35:06] local.INFO: Packet analysis {"connection_id":176535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e8"} 
[2026-09-09 07:35:06] local.INFO: Extracted packet for processing {"connection_id":176535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e8"} 
[2026-09-09 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763435008,"raw_latitude":98254336,"longitude_deg":76.3435008,"latitude_deg":9.8254336,"altitude":3,"angle":329,"satellites":37,"speed":44,"hex_longitude":"2d811800","hex_latitude":"05db3e00","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963369472001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130147778335604736,"note":"Value kept but may cause issues"} 
[2026-09-09 07:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138788781202176000,"note":"Value kept but may cause issues"} 
[2026-09-09 07:35:06] 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-09-09 07:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788919421000,"timestamp_ms":1788919421000,"timestamp_seconds":1788919421,"priority":1,"record_length":96,"hex_timestamp":"000001a083e81848"} 
[2026-09-09 07:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":246,"data_length":795,"current_offset":136} 
[2026-09-09 07:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963369472001,"66":13689,"153":206,"85":15104,"24":44,"16":130147778335604736,"45":-9138788781202176000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-09-09 07:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963369472001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:35:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 07:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130147778335604736,"km_value":130147778335604.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138788781202176000,"description":"Unknown IO ID 45"} 
[2026-09-09 07:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963369472001,"power":13689,"unknown_153":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9138788781202176000}} 
[2026-09-09 07:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":176535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:35:06] local.INFO: GPS data processed {"connection_id":176535,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:35:06] local.INFO: Acknowledgment sent {"connection_id":176535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:35:38] local.INFO: TCP Data received {"connection_id":176535,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e83788012d81050005db5bf80003014626..."} 
[2026-09-09 07:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e83788012d81050005db5bf80003014626..."} 
[2026-09-09 07:35:38] local.INFO: Processing buffer {"connection_id":176535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e83788012d81050005db5bf80003014626..."} 
[2026-09-09 07:35:38] local.INFO: Packet analysis {"connection_id":176535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e8"} 
[2026-09-09 07:35:38] local.INFO: Extracted packet for processing {"connection_id":176535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e8"} 
[2026-09-09 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763430144,"raw_latitude":98262008,"longitude_deg":76.3430144,"latitude_deg":9.8262008,"altitude":3,"angle":326,"satellites":38,"speed":43,"hex_longitude":"2d810500","hex_latitude":"05db5bf8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963371776001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130148216422268928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144559018222682112,"note":"Value kept but may cause issues"} 
[2026-09-09 07:35:38] 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-09-09 07:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788919429000,"timestamp_ms":1788919429000,"timestamp_seconds":1788919429,"priority":1,"record_length":96,"hex_timestamp":"000001a083e83788"} 
[2026-09-09 07:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 07:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963371776001,"66":13678,"153":206,"85":15104,"24":43,"16":130148216422268928,"45":-9144559018222682112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-09-09 07:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963371776001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:35:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 07:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130148216422268928,"km_value":130148216422268.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144559018222682112,"description":"Unknown IO ID 45"} 
[2026-09-09 07:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963371776001,"power":13678,"unknown_153":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9144559018222682112}} 
[2026-09-09 07:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":176535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:35:38] local.INFO: GPS data processed {"connection_id":176535,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:35:38] local.INFO: Acknowledgment sent {"connection_id":176535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:36:01] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:36:01] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:36:01] local.INFO: IMEI packet received {"connection_id":176536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":176536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:36:04] local.INFO: TCP Data received {"connection_id":175417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:36:04] local.INFO: Processing buffer {"connection_id":175417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:36:04] local.INFO: IMEI packet received {"connection_id":175417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":175417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:36:06] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:36:06] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:36:06] local.INFO: IMEI packet received {"connection_id":176536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":176536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:36:06] local.INFO: TCP Data received {"connection_id":175417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083e5fd38012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e5fd38012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:36:06] local.INFO: Processing buffer {"connection_id":175417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e5fd38012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:36:06] local.INFO: Packet analysis {"connection_id":175417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:36:06] local.INFO: Extracted packet for processing {"connection_id":175417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963258880001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788919283000,"timestamp_ms":1788919283000,"timestamp_seconds":1788919283,"priority":1,"record_length":96,"hex_timestamp":"000001a083e5fd38"} 
[2026-09-09 07:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:36: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-09-09 07:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963258880001,"66":25299,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-09 07:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963258880001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:36:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-09 07:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963258880001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":175417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:36:06] local.INFO: GPS data processed {"connection_id":175417,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:36:06] local.INFO: Acknowledgment sent {"connection_id":175417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:36:06] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:36:06] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:36:06] local.INFO: IMEI packet received {"connection_id":176536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":176536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:36:07] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e9aaa0012d8073c005dc91300004015421..."} 
[2026-09-09 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e9aaa0012d8073c005dc91300004015421..."} 
[2026-09-09 07:36:07] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e9aaa0012d8073c005dc91300004015421..."} 
[2026-09-09 07:36:07] local.INFO: Packet analysis {"connection_id":176536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e9"} 
[2026-09-09 07:36:07] local.INFO: Extracted packet for processing {"connection_id":176536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e9"} 
[2026-09-09 07:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763392960,"raw_latitude":98341168,"longitude_deg":76.339296,"latitude_deg":9.8341168,"altitude":4,"angle":340,"satellites":33,"speed":29,"hex_longitude":"2d8073c0","hex_latitude":"05dc9130","is_valid_coordinates":true} 
[2026-09-09 07:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963395328001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130152468439891968,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187202477174368256,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] 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-09-09 07:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919524000,"timestamp_ms":1788919524000,"timestamp_seconds":1788919524,"priority":1,"record_length":96,"hex_timestamp":"000001a083e9aaa0"} 
[2026-09-09 07:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:36: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-09-09 07: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-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631969,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2213065864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2159362053,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686045696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5270337605664243722,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2550214016,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3909009409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435131546,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828665038,"corrected_to":0} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3221609430,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":-1387102244552835069,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718458980322901,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:07] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,251,85,24,241,157,16,100,160,92,45,79,5,34,10,66,154,69,64,57,6,36,99,33,1,240,219,227,131,4,113,205,40,195,104,38,239,54,2,206,3,37,128,53,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2828665038,"validated":0}]} 
[2026-09-09 07:36:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288603256624840704,"timestamp_seconds":288603256624840.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963395328001,"66":13363,"251":206,"85":15104,"24":29,"16":130152468439891968,"45":-9187202477174368256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 07:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963395328001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:36:07] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 07:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130152468439891968,"km_value":130152468439891.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187202477174368256,"description":"Unknown IO ID 45"} 
[2026-09-09 07:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963395328001,"power":13363,"unknown_251":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9187202477174368256}} 
[2026-09-09 07:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":176536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:36:07] local.INFO: GPS data processed {"connection_id":176536,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:36:07] local.INFO: Acknowledgment sent {"connection_id":176536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:36:12] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e9f4d8012d806bc005dca2e00006014922..."} 
[2026-09-09 07:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e9f4d8012d806bc005dca2e00006014922..."} 
[2026-09-09 07:36:12] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e9f4d8012d806bc005dca2e00006014922..."} 
[2026-09-09 07:36:12] local.INFO: Packet analysis {"connection_id":176536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e9"} 
[2026-09-09 07:36:12] local.INFO: Extracted packet for processing {"connection_id":176536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e9"} 
[2026-09-09 07:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763390912,"raw_latitude":98345696,"longitude_deg":76.3390912,"latitude_deg":9.8345696,"altitude":6,"angle":329,"satellites":34,"speed":15,"hex_longitude":"2d806bc0","hex_latitude":"05dca2e0","is_valid_coordinates":true} 
[2026-09-09 07:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963398144001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130152708958060544,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190791283125178368,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:12] 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-09-09 07:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788919543000,"timestamp_ms":1788919543000,"timestamp_seconds":1788919543,"priority":1,"record_length":96,"hex_timestamp":"000001a083e9f4d8"} 
[2026-09-09 07:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:36: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-09-09 07:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-09 07:36: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-09-09 07:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963398144001,"66":13917,"251":206,"85":15104,"24":15,"16":130152708958060544,"45":-9190791283125178368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 07:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963398144001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:36:12] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 07:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130152708958060544,"km_value":130152708958060.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190791283125178368,"description":"Unknown IO ID 45"} 
[2026-09-09 07:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963398144001,"power":13917,"unknown_251":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9190791283125178368}} 
[2026-09-09 07:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":176536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:36:12] local.INFO: GPS data processed {"connection_id":176536,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:36:12] local.INFO: Acknowledgment sent {"connection_id":176536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:36:39] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:36:39] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:36:39] local.INFO: IMEI packet received {"connection_id":177988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":177988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:36:43] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083e9fca8012d80698005dca5580006013d22..."} 
[2026-09-09 07:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e9fca8012d80698005dca5580006013d22..."} 
[2026-09-09 07:36:43] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e9fca8012d80698005dca5580006013d22..."} 
[2026-09-09 07:36:43] local.INFO: Packet analysis {"connection_id":176536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e9"} 
[2026-09-09 07:36:43] local.INFO: Extracted packet for processing {"connection_id":176536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e9"} 
[2026-09-09 07:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763390336,"raw_latitude":98346328,"longitude_deg":76.3390336,"latitude_deg":9.8346328,"altitude":6,"angle":317,"satellites":34,"speed":16,"hex_longitude":"2d806980","hex_latitude":"05dca558","is_valid_coordinates":true} 
[2026-09-09 07:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963403008001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130152751907733504,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193043082937704448,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:43] 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-09-09 07:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788919545000,"timestamp_ms":1788919545000,"timestamp_seconds":1788919545,"priority":1,"record_length":96,"hex_timestamp":"000001a083e9fca8"} 
[2026-09-09 07:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07: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-09-09 07:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 07:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963403008001,"66":13406,"251":206,"85":15104,"24":16,"16":130152751907733504,"45":-9193043082937704448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 07:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963403008001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:36:43] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 07:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130152751907733504,"km_value":130152751907733.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193043082937704448,"description":"Unknown IO ID 45"} 
[2026-09-09 07:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963403008001,"power":13406,"unknown_251":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9193043082937704448}} 
[2026-09-09 07:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":176536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:36:43] local.INFO: GPS data processed {"connection_id":176536,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:36:43] local.INFO: Acknowledgment sent {"connection_id":176536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:36:45] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:36:45] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:36:45] local.INFO: IMEI packet received {"connection_id":177988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":177988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:36:46] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083e5fd38012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e5fd38012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:36:46] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e5fd38012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:36:46] local.INFO: Packet analysis {"connection_id":177988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:36:46] local.INFO: Extracted packet for processing {"connection_id":177988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963258880001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788919283000,"timestamp_ms":1788919283000,"timestamp_seconds":1788919283,"priority":1,"record_length":96,"hex_timestamp":"000001a083e5fd38"} 
[2026-09-09 07:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963258880001,"66":25299,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-09 07:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963258880001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:36:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-09 07:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963258880001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":177988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:36:46] local.INFO: GPS data processed {"connection_id":177988,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:36:46] local.INFO: Acknowledgment sent {"connection_id":177988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:36:50] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083e5fd38012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083e5fd38012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:36:50] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083e5fd38012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:36:50] local.INFO: Packet analysis {"connection_id":177988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:36:50] local.INFO: Extracted packet for processing {"connection_id":177988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083e5"} 
[2026-09-09 07:36:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963258880001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788919283000,"timestamp_ms":1788919283000,"timestamp_seconds":1788919283,"priority":1,"record_length":96,"hex_timestamp":"000001a083e5fd38"} 
[2026-09-09 07:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:36: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-09-09 07:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963258880001,"66":25299,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-09 07:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963258880001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:36:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-09 07:36:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963258880001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":177988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:36:50] local.INFO: GPS data processed {"connection_id":177988,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:36:50] local.INFO: Acknowledgment sent {"connection_id":177988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:37:06] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:37:06] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:37:06] local.INFO: IMEI packet received {"connection_id":175171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":175171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:37:11] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:37:11] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:37:11] local.INFO: IMEI packet received {"connection_id":175171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":175171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:37:12] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083eafa90012d7fa58005dc7da00009011d25..."} 
[2026-09-09 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083eafa90012d7fa58005dc7da00009011d25..."} 
[2026-09-09 07:37:12] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083eafa90012d7fa58005dc7da00009011d25..."} 
[2026-09-09 07:37:12] local.INFO: Packet analysis {"connection_id":175171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:37:12] local.INFO: Extracted packet for processing {"connection_id":175171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763340160,"raw_latitude":98336160,"longitude_deg":76.334016,"latitude_deg":9.833616,"altitude":9,"angle":285,"satellites":37,"speed":11,"hex_longitude":"2d7fa580","hex_latitude":"05dc7da0","is_valid_coordinates":true} 
[2026-09-09 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963419136001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130155212923994112,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743001566633984,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:12] 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-09-09 07:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788919610000,"timestamp_ms":1788919610000,"timestamp_seconds":1788919610,"priority":1,"record_length":96,"hex_timestamp":"000001a083eafa90"} 
[2026-09-09 07:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:37: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-09-09 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 07:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963419136001,"66":13656,"251":206,"85":15104,"24":11,"16":130155212923994112,"45":9198743001566633984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 07:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963419136001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:37:12] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 07:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130155212923994112,"km_value":130155212923994.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743001566633984,"description":"Unknown IO ID 45"} 
[2026-09-09 07:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963419136001,"power":13656,"unknown_251":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9198743001566633984}} 
[2026-09-09 07:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":175171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:37:12] local.INFO: GPS data processed {"connection_id":175171,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:37:12] local.INFO: Acknowledgment sent {"connection_id":175171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:37:21] local.INFO: TCP Data received {"connection_id":177988,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:37:21] local.INFO: Processing buffer {"connection_id":177988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:37:21] local.INFO: Packet analysis {"connection_id":177988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:37:21] local.INFO: Extracted packet for processing {"connection_id":177988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 07:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:37:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":177988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:37:21] local.INFO: GPS data processed {"connection_id":177988,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:37:21] local.INFO: Acknowledgment sent {"connection_id":177988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:37:39] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:37:39] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:37:39] local.INFO: IMEI packet received {"connection_id":175172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":175172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:37:44] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083eb0a30012d7fa14005dc7f600009013024..."} 
[2026-09-09 07:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083eb0a30012d7fa14005dc7f600009013024..."} 
[2026-09-09 07:37:44] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083eb0a30012d7fa14005dc7f600009013024..."} 
[2026-09-09 07:37:44] local.INFO: Packet analysis {"connection_id":175171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083eb"} 
[2026-09-09 07:37:44] local.INFO: Extracted packet for processing {"connection_id":175171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083eb"} 
[2026-09-09 07:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763339072,"raw_latitude":98336608,"longitude_deg":76.3339072,"latitude_deg":9.8336608,"altitude":9,"angle":304,"satellites":36,"speed":13,"hex_longitude":"2d7fa140","hex_latitude":"05dc7f60","is_valid_coordinates":true} 
[2026-09-09 07:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963420160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130155268758568960,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197898576636518400,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:44] 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-09-09 07:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788919614000,"timestamp_ms":1788919614000,"timestamp_seconds":1788919614,"priority":1,"record_length":96,"hex_timestamp":"000001a083eb0a30"} 
[2026-09-09 07:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:37: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-09-09 07:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 07:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963420160001,"66":13830,"251":206,"85":15104,"24":13,"16":130155268758568960,"45":9197898576636518400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 07:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963420160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:37:44] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 07:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130155268758568960,"km_value":130155268758568.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197898576636518400,"description":"Unknown IO ID 45"} 
[2026-09-09 07:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963420160001,"power":13830,"unknown_251":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9197898576636518400}} 
[2026-09-09 07:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":175171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:37:44] local.INFO: GPS data processed {"connection_id":175171,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:37:44] local.INFO: Acknowledgment sent {"connection_id":175171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:37:44] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:37:44] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:37:44] local.INFO: IMEI packet received {"connection_id":175172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":175172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:37:45] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:37:45] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:37:45] local.INFO: Packet analysis {"connection_id":175172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:37:45] local.INFO: Extracted packet for processing {"connection_id":175172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 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-09-09 07:37: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-09-09 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 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-09-09 07:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":175172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:37:45] local.INFO: GPS data processed {"connection_id":175172,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:37:45] local.INFO: Acknowledgment sent {"connection_id":175172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:38:04] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:38:04] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:38:04] local.INFO: IMEI packet received {"connection_id":175420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":175420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:38:06] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:38:06] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:38:06] local.INFO: IMEI packet received {"connection_id":175420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":175420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:38:11] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:38:11] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:38:11] local.INFO: IMEI packet received {"connection_id":175420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":175420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:38:14] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083eb1200012d7f9f0005dc8168000a014522..."} 
[2026-09-09 07:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083eb1200012d7f9f0005dc8168000a014522..."} 
[2026-09-09 07:38:14] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083eb1200012d7f9f0005dc8168000a014522..."} 
[2026-09-09 07:38:14] local.INFO: Packet analysis {"connection_id":175420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083eb"} 
[2026-09-09 07:38:14] local.INFO: Extracted packet for processing {"connection_id":175420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083eb"} 
[2026-09-09 07:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763338496,"raw_latitude":98337128,"longitude_deg":76.3338496,"latitude_deg":9.8337128,"altitude":10,"angle":325,"satellites":34,"speed":17,"hex_longitude":"2d7f9f00","hex_latitude":"05dc8168","is_valid_coordinates":true} 
[2026-09-09 07:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963421184001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130155307413274624,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196702307985612800,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] 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-09-09 07:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788919616000,"timestamp_ms":1788919616000,"timestamp_seconds":1788919616,"priority":1,"record_length":96,"hex_timestamp":"000001a083eb1200"} 
[2026-09-09 07:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:38: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-09-09 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10977532697444352,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627156094464,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2213178864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477883,"corrected_to":0} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3937681409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2270167046,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3700877312,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":70,"raw_value":-2305511505493228068,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-576451951896035293,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:14] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,251,85,24,241,157,16,103,160,250,45,128,125,9,37,10,66,234,36,219,1,240,247,227,131,220,4,113,205,41,145,242,96,39,239,53,2,206,5,7,70,158],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":247,"original":13477883,"validated":0},{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-09-09 07:38:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648852752495869952,"timestamp_seconds":648852752495870.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963421184001,"66":13787,"251":206,"85":15104,"24":17,"16":130155307413274624,"45":9196702307985612800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 07:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963421184001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:38:14] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 07:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130155307413274624,"km_value":130155307413274.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196702307985612800,"description":"Unknown IO ID 45"} 
[2026-09-09 07:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963421184001,"power":13787,"unknown_251":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9196702307985612800}} 
[2026-09-09 07:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":175420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:38:14] local.INFO: GPS data processed {"connection_id":175420,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:38:14] local.INFO: Acknowledgment sent {"connection_id":175420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:38:17] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:38:17] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:38:17] local.INFO: Packet analysis {"connection_id":175172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:38:17] local.INFO: Extracted packet for processing {"connection_id":175172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 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-09-09 07:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:38: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-09-09 07:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":175172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:38:17] local.INFO: GPS data processed {"connection_id":175172,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:38:17] local.INFO: Acknowledgment sent {"connection_id":175172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:38:27] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083eb1db8012d7f9c4005dc86f0000a015521..."} 
[2026-09-09 07:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083eb1db8012d7f9c4005dc86f0000a015521..."} 
[2026-09-09 07:38:27] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083eb1db8012d7f9c4005dc86f0000a015521..."} 
[2026-09-09 07:38:27] local.INFO: Packet analysis {"connection_id":175420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083eb"} 
[2026-09-09 07:38:27] local.INFO: Extracted packet for processing {"connection_id":175420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083eb"} 
[2026-09-09 07:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":98338544,"longitude_deg":76.3337792,"latitude_deg":9.8338544,"altitude":10,"angle":341,"satellites":33,"speed":22,"hex_longitude":"2d7f9c40","hex_latitude":"05dc86f0","is_valid_coordinates":true} 
[2026-09-09 07:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963421696001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130155384722685952,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068989288146944,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38: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-09-09 07:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788919619000,"timestamp_ms":1788919619000,"timestamp_seconds":1788919619,"priority":1,"record_length":96,"hex_timestamp":"000001a083eb1db8"} 
[2026-09-09 07:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-09 07:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963421696001,"66":13820,"251":206,"85":15104,"24":22,"16":130155384722685952,"45":9196068989288146944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 07:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963421696001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:38:27] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 07:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130155384722685952,"km_value":130155384722685.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068989288146944,"description":"Unknown IO ID 45"} 
[2026-09-09 07:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963421696001,"power":13820,"unknown_251":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9196068989288146944}} 
[2026-09-09 07:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":175420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:38:27] local.INFO: GPS data processed {"connection_id":175420,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:38:27] local.INFO: Acknowledgment sent {"connection_id":175420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:38:39] local.INFO: TCP Data received {"connection_id":176538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:38:39] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:38:39] local.INFO: IMEI packet received {"connection_id":176538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":176538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:38:44] local.INFO: TCP Data received {"connection_id":176538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:38:44] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:38:44] local.INFO: IMEI packet received {"connection_id":176538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":176538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:38:45] local.INFO: TCP Data received {"connection_id":176538,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:38:45] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:38:45] local.INFO: Packet analysis {"connection_id":176538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:38:45] local.INFO: Extracted packet for processing {"connection_id":176538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 07:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:38: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-09-09 07:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:38:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":176538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:38:45] local.INFO: GPS data processed {"connection_id":176538,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:38:45] local.INFO: Acknowledgment sent {"connection_id":176538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:39:02] local.INFO: TCP Data received {"connection_id":177989,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:39:02] local.INFO: Processing buffer {"connection_id":177989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:39:02] local.INFO: IMEI packet received {"connection_id":177989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":177989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:39:06] local.INFO: TCP Data received {"connection_id":177989,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:39:06] local.INFO: Processing buffer {"connection_id":177989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:39:06] local.INFO: IMEI packet received {"connection_id":177989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":177989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:39:07] local.INFO: TCP Data received {"connection_id":177989,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ec7190012d7f3b0005dda1100002015c25..."} 
[2026-09-09 07:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ec7190012d7f3b0005dda1100002015c25..."} 
[2026-09-09 07:39:07] local.INFO: Processing buffer {"connection_id":177989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ec7190012d7f3b0005dda1100002015c25..."} 
[2026-09-09 07:39:07] local.INFO: Packet analysis {"connection_id":177989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ec"} 
[2026-09-09 07:39:07] local.INFO: Extracted packet for processing {"connection_id":177989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ec"} 
[2026-09-09 07:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763312896,"raw_latitude":98410768,"longitude_deg":76.3312896,"latitude_deg":9.8410768,"altitude":2,"angle":348,"satellites":37,"speed":40,"hex_longitude":"2d7f3b00","hex_latitude":"05dda110","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963443200001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130159159998939136,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860378550272,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:07] 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-09-09 07:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919706000,"timestamp_ms":1788919706000,"timestamp_seconds":1788919706,"priority":1,"record_length":96,"hex_timestamp":"000001a083ec7190"} 
[2026-09-09 07:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 07:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963443200001,"66":13319,"111":206,"85":15104,"24":40,"16":130159159998939136,"45":9167991860378550272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-09 07:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963443200001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:39:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-09 07:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130159159998939136,"km_value":130159159998939.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860378550272,"description":"Unknown IO ID 45"} 
[2026-09-09 07:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963443200001,"power":13319,"unknown_111":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9167991860378550272}} 
[2026-09-09 07:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":177989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:39:07] local.INFO: GPS data processed {"connection_id":177989,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:39:07] local.INFO: Acknowledgment sent {"connection_id":177989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:39:17] local.INFO: TCP Data received {"connection_id":176538,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:39:17] local.INFO: Processing buffer {"connection_id":176538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:39:17] local.INFO: Packet analysis {"connection_id":176538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:39:17] local.INFO: Extracted packet for processing {"connection_id":176538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 07:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:39: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-09-09 07:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:39:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":176538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:39:17] local.INFO: GPS data processed {"connection_id":176538,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:39:17] local.INFO: Acknowledgment sent {"connection_id":176538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:39:38] local.INFO: TCP Data received {"connection_id":177989,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ec8ce8012d7f348005ddb7b80003015024..."} 
[2026-09-09 07:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ec8ce8012d7f348005ddb7b80003015024..."} 
[2026-09-09 07:39:38] local.INFO: Processing buffer {"connection_id":177989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ec8ce8012d7f348005ddb7b80003015024..."} 
[2026-09-09 07:39:38] local.INFO: Packet analysis {"connection_id":177989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ec"} 
[2026-09-09 07:39:38] local.INFO: Extracted packet for processing {"connection_id":177989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ec"} 
[2026-09-09 07:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763311232,"raw_latitude":98416568,"longitude_deg":76.3311232,"latitude_deg":9.8416568,"altitude":3,"angle":336,"satellites":36,"speed":22,"hex_longitude":"2d7f3480","hex_latitude":"05ddb7b8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963444736001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130159452056715264,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167921491635933184,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] 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-09-09 07:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788919713000,"timestamp_ms":1788919713000,"timestamp_seconds":1788919713,"priority":1,"record_length":96,"hex_timestamp":"000001a083ec8ce8"} 
[2026-09-09 07:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2213262864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3957649409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3221609754,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024847,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57719339654993211,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-5890707017677570043,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-704813320186682368,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:38] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,111,85,24,241,157,16,107,160,90,45,64,137,2,37,10,66,106,58,192,104,3,19,1,240,230,227,131,221,4,113,205,28,217,83,35,239,52,206,5,41,110,235,220],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[]} 
[2026-09-09 07:39:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144497977038733312,"timestamp_seconds":144497977038733.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963444736001,"66":13472,"111":206,"85":15104,"24":22,"16":130159452056715264,"45":9167921491635933184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-09 07:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963444736001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:39:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-09 07:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130159452056715264,"km_value":130159452056715.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167921491635933184,"description":"Unknown IO ID 45"} 
[2026-09-09 07:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963444736001,"power":13472,"unknown_111":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9167921491635933184}} 
[2026-09-09 07:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":177989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:39:39] local.INFO: GPS data processed {"connection_id":177989,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:39:39] local.INFO: Acknowledgment sent {"connection_id":177989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:39:44] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:39:44] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:39:44] local.INFO: IMEI packet received {"connection_id":175174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":175174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:39:49] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:39:49] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:39:49] local.INFO: IMEI packet received {"connection_id":175174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":175174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:39:51] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:39:51] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:39:51] local.INFO: Packet analysis {"connection_id":175174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:39:51] local.INFO: Extracted packet for processing {"connection_id":175174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 07:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:39:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":175174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:39:51] local.INFO: GPS data processed {"connection_id":175174,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:39:51] local.INFO: Acknowledgment sent {"connection_id":175174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:39:55] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:39:55] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:39:55] local.INFO: Packet analysis {"connection_id":175174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:39:55] local.INFO: Extracted packet for processing {"connection_id":175174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 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-09-09 07:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:39:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:39:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":175174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:39:55] local.INFO: GPS data processed {"connection_id":175174,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:39:55] local.INFO: Acknowledgment sent {"connection_id":175174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:40:01] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:40:01] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:40:01] local.INFO: IMEI packet received {"connection_id":175175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":175175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:40:06] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:40:06] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:40:06] local.INFO: IMEI packet received {"connection_id":175175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":175175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:40:07] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ecbbc8012d7f270005ddd0880005014325..."} 
[2026-09-09 07:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ecbbc8012d7f270005ddd0880005014325..."} 
[2026-09-09 07:40:07] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ecbbc8012d7f270005ddd0880005014325..."} 
[2026-09-09 07:40:07] local.INFO: Packet analysis {"connection_id":175175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ec"} 
[2026-09-09 07:40:07] local.INFO: Extracted packet for processing {"connection_id":175175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ec"} 
[2026-09-09 07:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763307776,"raw_latitude":98422920,"longitude_deg":76.3307776,"latitude_deg":9.842292,"altitude":5,"angle":323,"satellites":37,"speed":28,"hex_longitude":"2d7f2700","hex_latitude":"05ddd088","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963446528001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130159799949066240,"note":"Value kept but may cause issues"} 
[2026-09-09 07:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166091904288798720,"note":"Value kept but may cause issues"} 
[2026-09-09 07:40:07] 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-09-09 07:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919725000,"timestamp_ms":1788919725000,"timestamp_seconds":1788919725,"priority":1,"record_length":96,"hex_timestamp":"000001a083ecbbc8"} 
[2026-09-09 07:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 07:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963446528001,"66":13820,"111":206,"85":15104,"24":28,"16":130159799949066240,"45":9166091904288798720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-09 07:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963446528001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:40:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-09 07:40:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130159799949066240,"km_value":130159799949066.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166091904288798720,"description":"Unknown IO ID 45"} 
[2026-09-09 07:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963446528001,"power":13820,"unknown_111":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9166091904288798720}} 
[2026-09-09 07:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":175175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:40:07] local.INFO: GPS data processed {"connection_id":175175,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:40:07] local.INFO: Acknowledgment sent {"connection_id":175175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:40:12] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:40:12] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:40:12] local.INFO: IMEI packet received {"connection_id":175173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":175173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:40:38] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ee1b58012d7ec64005def4c00007014825..."} 
[2026-09-09 07:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ee1b58012d7ec64005def4c00007014825..."} 
[2026-09-09 07:40:38] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ee1b58012d7ec64005def4c00007014825..."} 
[2026-09-09 07:40:38] local.INFO: Packet analysis {"connection_id":175175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:40:38] local.INFO: Extracted packet for processing {"connection_id":175175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763283008,"raw_latitude":98497728,"longitude_deg":76.3283008,"latitude_deg":9.8497728,"altitude":7,"angle":328,"satellites":37,"speed":32,"hex_longitude":"2d7ec640","hex_latitude":"05def4c0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963472128001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130163652534730752,"note":"Value kept but may cause issues"} 
[2026-09-09 07:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135974081801158656,"note":"Value kept but may cause issues"} 
[2026-09-09 07:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788919815000,"timestamp_ms":1788919815000,"timestamp_seconds":1788919815,"priority":1,"record_length":96,"hex_timestamp":"000001a083ee1b58"} 
[2026-09-09 07:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-09 07:40: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-09-09 07: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-09-09 07:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963472128001,"66":13493,"205":206,"85":15104,"24":32,"16":130163652534730752,"45":9135974081801158656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-09 07:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963472128001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130163652534730752,"km_value":130163652534730.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135974081801158656,"description":"Unknown IO ID 45"} 
[2026-09-09 07:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963472128001,"power":13493,"cell_id":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9135974081801158656}} 
[2026-09-09 07:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":175175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:40:38] local.INFO: GPS data processed {"connection_id":175175,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:40:38] local.INFO: Acknowledgment sent {"connection_id":175175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:40:39] local.INFO: TCP Data received {"connection_id":175421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:40:39] local.INFO: Processing buffer {"connection_id":175421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:40:39] local.INFO: IMEI packet received {"connection_id":175421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":175421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:40:42] local.INFO: TCP Data received {"connection_id":176540,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:40:42] local.INFO: Processing buffer {"connection_id":176540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:40:42] local.INFO: IMEI packet received {"connection_id":176540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":176540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:40:44] local.INFO: TCP Data received {"connection_id":175421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:40:44] local.INFO: Processing buffer {"connection_id":175421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:40:44] local.INFO: IMEI packet received {"connection_id":175421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":175421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:40:47] local.INFO: TCP Data received {"connection_id":175421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:40:47] local.INFO: Processing buffer {"connection_id":175421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:40:47] local.INFO: Packet analysis {"connection_id":175421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:40:47] local.INFO: Extracted packet for processing {"connection_id":175421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 07:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":175421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:40:47] local.INFO: GPS data processed {"connection_id":175421,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:40:47] local.INFO: Acknowledgment sent {"connection_id":175421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:41:01] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:41:01] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:41:01] local.INFO: IMEI packet received {"connection_id":175176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":175176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:41:06] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:41:06] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:41:06] local.INFO: IMEI packet received {"connection_id":175176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":175176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:41:06] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:41:06] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:41:06] local.INFO: IMEI packet received {"connection_id":175176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":175176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:41:07] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ee4268012d7eb70005df07480009013c26..."} 
[2026-09-09 07:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ee4268012d7eb70005df07480009013c26..."} 
[2026-09-09 07:41:07] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ee4268012d7eb70005df07480009013c26..."} 
[2026-09-09 07:41:07] local.INFO: Packet analysis {"connection_id":175176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:41:07] local.INFO: Extracted packet for processing {"connection_id":175176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763279104,"raw_latitude":98502472,"longitude_deg":76.3279104,"latitude_deg":9.8502472,"altitude":9,"angle":316,"satellites":38,"speed":17,"hex_longitude":"2d7eb700","hex_latitude":"05df0748","is_valid_coordinates":true} 
[2026-09-09 07:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963472640001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130163948887474176,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135059288127225856,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919825000,"timestamp_ms":1788919825000,"timestamp_seconds":1788919825,"priority":1,"record_length":96,"hex_timestamp":"000001a083ee4268"} 
[2026-09-09 07:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-09 07:41: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-09-09 07:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963472640001,"66":13472,"205":206,"85":15104,"24":17,"16":130163948887474176,"45":9135059288127225856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-09 07:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963472640001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130163948887474176,"km_value":130163948887474.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135059288127225856,"description":"Unknown IO ID 45"} 
[2026-09-09 07:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963472640001,"power":13472,"cell_id":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9135059288127225856}} 
[2026-09-09 07:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":175176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:41:07] local.INFO: GPS data processed {"connection_id":175176,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:41:07] local.INFO: Acknowledgment sent {"connection_id":175176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:41:12] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ee6978012d7ea58005df1b18000a014a25..."} 
[2026-09-09 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ee6978012d7ea58005df1b18000a014a25..."} 
[2026-09-09 07:41:12] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ee6978012d7ea58005df1b18000a014a25..."} 
[2026-09-09 07:41:12] local.INFO: Packet analysis {"connection_id":175176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:41:12] local.INFO: Extracted packet for processing {"connection_id":175176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":98507544,"longitude_deg":76.3274624,"latitude_deg":9.8507544,"altitude":10,"angle":330,"satellites":37,"speed":34,"hex_longitude":"2d7ea580","hex_latitude":"05df1b18","is_valid_coordinates":true} 
[2026-09-09 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963475200001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130164279599955968,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130766794733602816,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788919835000,"timestamp_ms":1788919835000,"timestamp_seconds":1788919835,"priority":1,"record_length":96,"hex_timestamp":"000001a083ee6978"} 
[2026-09-09 07:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 07:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963475200001,"66":13852,"206":206,"85":15104,"24":34,"16":130164279599955968,"45":9130766794733602816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-09 07:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963475200001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:41:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 07:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130164279599955968,"km_value":130164279599955.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130766794733602816,"description":"Unknown IO ID 45"} 
[2026-09-09 07:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963475200001,"power":13852,"unknown_206":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9130766794733602816}} 
[2026-09-09 07:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":175176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:41:12] local.INFO: GPS data processed {"connection_id":175176,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:41:12] local.INFO: Acknowledgment sent {"connection_id":175176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:41:18] local.INFO: TCP Data received {"connection_id":175421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:41:18] local.INFO: Processing buffer {"connection_id":175421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:41:18] local.INFO: Packet analysis {"connection_id":175421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:41:18] local.INFO: Extracted packet for processing {"connection_id":175421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 07:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:41: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-09-09 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:41: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-09-09 07:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:41:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":175421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:41:18] local.INFO: GPS data processed {"connection_id":175421,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:41:18] local.INFO: Acknowledgment sent {"connection_id":175421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:41:40] local.INFO: TCP Data received {"connection_id":175422,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:41:40] local.INFO: Processing buffer {"connection_id":175422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:41:40] local.INFO: IMEI packet received {"connection_id":175422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":175422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:41:42] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ee9088012d7e954005df3ac0000a014e26..."} 
[2026-09-09 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ee9088012d7e954005df3ac0000a014e26..."} 
[2026-09-09 07:41:42] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ee9088012d7e954005df3ac0000a014e26..."} 
[2026-09-09 07:41:42] local.INFO: Packet analysis {"connection_id":175176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:41:42] local.INFO: Extracted packet for processing {"connection_id":175176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763270464,"raw_latitude":98515648,"longitude_deg":76.3270464,"latitude_deg":9.8515648,"altitude":10,"angle":334,"satellites":38,"speed":34,"hex_longitude":"2d7e9540","hex_latitude":"05df3ac0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963477760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130164717686620160,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840982642464768,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788919845000,"timestamp_ms":1788919845000,"timestamp_seconds":1788919845,"priority":1,"record_length":96,"hex_timestamp":"000001a083ee9088"} 
[2026-09-09 07:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 07:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963477760001,"66":13722,"206":206,"85":15104,"24":34,"16":130164717686620160,"45":9125840982642464768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-09 07:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963477760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:41:42] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 07:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130164717686620160,"km_value":130164717686620.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840982642464768,"description":"Unknown IO ID 45"} 
[2026-09-09 07:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963477760001,"power":13722,"unknown_206":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9125840982642464768}} 
[2026-09-09 07:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":175176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:41:43] local.INFO: GPS data processed {"connection_id":175176,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:41:43] local.INFO: Acknowledgment sent {"connection_id":175176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:41:44] local.INFO: TCP Data received {"connection_id":175422,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:41:44] local.INFO: Processing buffer {"connection_id":175422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:41:44] local.INFO: IMEI packet received {"connection_id":175422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":175422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:41:45] local.INFO: TCP Data received {"connection_id":175422,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:41:45] local.INFO: Processing buffer {"connection_id":175422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ea98e8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:41:45] local.INFO: Packet analysis {"connection_id":175422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:41:45] local.INFO: Extracted packet for processing {"connection_id":175422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ea"} 
[2026-09-09 07:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963336448001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788919585000,"timestamp_ms":1788919585000,"timestamp_seconds":1788919585,"priority":1,"record_length":96,"hex_timestamp":"000001a083ea98e8"} 
[2026-09-09 07:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:41: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-09-09 07:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963336448001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963336448001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:41:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963336448001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":175422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:41:45] local.INFO: GPS data processed {"connection_id":175422,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:41:45] local.INFO: Acknowledgment sent {"connection_id":175422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:42:06] local.INFO: TCP Data received {"connection_id":176541,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:06] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:06] local.INFO: IMEI packet received {"connection_id":176541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":176541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:42:06] local.INFO: TCP Data received {"connection_id":176541,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:06] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:06] local.INFO: IMEI packet received {"connection_id":176541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":176541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:42:11] local.INFO: TCP Data received {"connection_id":176541,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:11] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:11] local.INFO: IMEI packet received {"connection_id":176541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":176541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:42:12] local.INFO: TCP Data received {"connection_id":176541,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083eeb798012d7e888005df5de80009015624..."} 
[2026-09-09 07:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083eeb798012d7e888005df5de80009015624..."} 
[2026-09-09 07:42:12] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083eeb798012d7e888005df5de80009015624..."} 
[2026-09-09 07:42:12] local.INFO: Packet analysis {"connection_id":176541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:42:12] local.INFO: Extracted packet for processing {"connection_id":176541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763267200,"raw_latitude":98524648,"longitude_deg":76.32672,"latitude_deg":9.8524648,"altitude":9,"angle":342,"satellites":36,"speed":43,"hex_longitude":"2d7e8880","hex_latitude":"05df5de8","is_valid_coordinates":true} 
[2026-09-09 07:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963480320001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130165181543088128,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121267014272991232,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788919855000,"timestamp_ms":1788919855000,"timestamp_seconds":1788919855,"priority":1,"record_length":96,"hex_timestamp":"000001a083eeb798"} 
[2026-09-09 07:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 07:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963480320001,"66":13896,"206":206,"85":15104,"24":43,"16":130165181543088128,"45":9121267014272991232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-09 07:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963480320001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:42:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 07:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130165181543088128,"km_value":130165181543088.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121267014272991232,"description":"Unknown IO ID 45"} 
[2026-09-09 07:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963480320001,"power":13896,"unknown_206":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9121267014272991232}} 
[2026-09-09 07:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":176541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:42:12] local.INFO: GPS data processed {"connection_id":176541,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:42:12] local.INFO: Acknowledgment sent {"connection_id":176541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:42:17] local.INFO: TCP Data received {"connection_id":175422,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:42:17] local.INFO: Processing buffer {"connection_id":175422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:42:17] local.INFO: Packet analysis {"connection_id":175422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:42:17] local.INFO: Extracted packet for processing {"connection_id":175422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":175422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:42:17] local.INFO: GPS data processed {"connection_id":175422,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:42:17] local.INFO: Acknowledgment sent {"connection_id":175422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:42:39] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:42:39] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:42:39] local.INFO: IMEI packet received {"connection_id":176542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":176542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:42:43] local.INFO: TCP Data received {"connection_id":176541,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083eedac0012d7e7c4005df82200007015325..."} 
[2026-09-09 07:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083eedac0012d7e7c4005df82200007015325..."} 
[2026-09-09 07:42:43] local.INFO: Processing buffer {"connection_id":176541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083eedac0012d7e7c4005df82200007015325..."} 
[2026-09-09 07:42:43] local.INFO: Packet analysis {"connection_id":176541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:42:43] local.INFO: Extracted packet for processing {"connection_id":176541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ee"} 
[2026-09-09 07:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763264064,"raw_latitude":98533920,"longitude_deg":76.3264064,"latitude_deg":9.853392,"altitude":7,"angle":339,"satellites":37,"speed":39,"hex_longitude":"2d7e7c40","hex_latitude":"05df8220","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963482880001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130165658284457984,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117678208322234368,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788919864000,"timestamp_ms":1788919864000,"timestamp_seconds":1788919864,"priority":1,"record_length":96,"hex_timestamp":"000001a083eedac0"} 
[2026-09-09 07:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:42: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-09-09 07: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-09 07:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963482880001,"66":13798,"207":206,"85":15104,"24":39,"16":130165658284457984,"45":9117678208322234368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 07:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963482880001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:42:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 07:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130165658284457984,"km_value":130165658284457.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117678208322234368,"description":"Unknown IO ID 45"} 
[2026-09-09 07:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963482880001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9117678208322234368}} 
[2026-09-09 07:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":176541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:42:43] local.INFO: GPS data processed {"connection_id":176541,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:42:43] local.INFO: Acknowledgment sent {"connection_id":176541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:42:44] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:42:44] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:42:44] local.INFO: IMEI packet received {"connection_id":176542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":176542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:42:45] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:42:45] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:42:45] local.INFO: Packet analysis {"connection_id":176542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:42:45] local.INFO: Extracted packet for processing {"connection_id":176542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:42: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-09-09 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:42:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":176542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:42:45] local.INFO: GPS data processed {"connection_id":176542,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:42:45] local.INFO: Acknowledgment sent {"connection_id":176542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:42:59] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:59] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:42:59] local.INFO: IMEI packet received {"connection_id":175177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":175177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:43:02] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:43:02] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:43:02] local.INFO: IMEI packet received {"connection_id":175177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":175177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:43:06] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:43:06] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:43:06] local.INFO: IMEI packet received {"connection_id":175177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":175177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:43:07] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f05990012d7e2b4005e0b1300005013524..."} 
[2026-09-09 07:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f05990012d7e2b4005e0b1300005013524..."} 
[2026-09-09 07:43:07] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f05990012d7e2b4005e0b1300005013524..."} 
[2026-09-09 07:43:07] local.INFO: Packet analysis {"connection_id":175177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f0"} 
[2026-09-09 07:43:07] local.INFO: Extracted packet for processing {"connection_id":175177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f0"} 
[2026-09-09 07:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763243328,"raw_latitude":98611504,"longitude_deg":76.3243328,"latitude_deg":9.8611504,"altitude":5,"angle":309,"satellites":36,"speed":33,"hex_longitude":"2d7e2b40","hex_latitude":"05e0b130","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963510016001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130169575294631936,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092134354207834112,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919962000,"timestamp_ms":1788919962000,"timestamp_seconds":1788919962,"priority":1,"record_length":96,"hex_timestamp":"000001a083f05990"} 
[2026-09-09 07:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 07:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963510016001,"66":13624,"104":206,"85":15104,"24":33,"16":130169575294631936,"45":9092134354207834112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-09 07:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963510016001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:43:07] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-09 07:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130169575294631936,"km_value":130169575294631.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092134354207834112,"description":"Unknown IO ID 45"} 
[2026-09-09 07:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963510016001,"power":13624,"unknown_104":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9092134354207834112}} 
[2026-09-09 07:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":175177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:43:07] local.INFO: GPS data processed {"connection_id":175177,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:43:07] local.INFO: Acknowledgment sent {"connection_id":175177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:43:12] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f080a0012d7e11c005e0c2580005014625..."} 
[2026-09-09 07:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f080a0012d7e11c005e0c2580005014625..."} 
[2026-09-09 07:43:12] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f080a0012d7e11c005e0c2580005014625..."} 
[2026-09-09 07:43:12] local.INFO: Packet analysis {"connection_id":175177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f0"} 
[2026-09-09 07:43:12] local.INFO: Extracted packet for processing {"connection_id":175177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f0"} 
[2026-09-09 07:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763236800,"raw_latitude":98615896,"longitude_deg":76.32368,"latitude_deg":9.8615896,"altitude":5,"angle":326,"satellites":37,"speed":26,"hex_longitude":"2d7e11c0","hex_latitude":"05e0c258","is_valid_coordinates":true} 
[2026-09-09 07:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963510272001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130169953251753984,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091430666766200832,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788919972000,"timestamp_ms":1788919972000,"timestamp_seconds":1788919972,"priority":1,"record_length":96,"hex_timestamp":"000001a083f080a0"} 
[2026-09-09 07:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 07:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963510272001,"66":13906,"104":206,"85":15104,"24":26,"16":130169953251753984,"45":9091430666766200832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-09 07:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963510272001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:43:12] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-09 07:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130169953251753984,"km_value":130169953251753.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091430666766200832,"description":"Unknown IO ID 45"} 
[2026-09-09 07:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963510272001,"power":13906,"unknown_104":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9091430666766200832}} 
[2026-09-09 07:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":175177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:43:12] local.INFO: GPS data processed {"connection_id":175177,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:43:12] local.INFO: Acknowledgment sent {"connection_id":175177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:43:17] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:43:17] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:43:17] local.INFO: Packet analysis {"connection_id":176542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:43:17] local.INFO: Extracted packet for processing {"connection_id":176542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":176542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:43:17] local.INFO: GPS data processed {"connection_id":176542,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:43:17] local.INFO: Acknowledgment sent {"connection_id":176542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:43:39] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:43:39] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:43:39] local.INFO: IMEI packet received {"connection_id":177992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":177992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:43:43] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f08870012d7e0f4005e0c6e00006015925..."} 
[2026-09-09 07:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f08870012d7e0f4005e0c6e00006015925..."} 
[2026-09-09 07:43:43] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f08870012d7e0f4005e0c6e00006015925..."} 
[2026-09-09 07:43:43] local.INFO: Packet analysis {"connection_id":175177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f0"} 
[2026-09-09 07:43:43] local.INFO: Extracted packet for processing {"connection_id":175177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f0"} 
[2026-09-09 07:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763236160,"raw_latitude":98617056,"longitude_deg":76.323616,"latitude_deg":9.8617056,"altitude":6,"angle":345,"satellites":37,"speed":28,"hex_longitude":"2d7e0f40","hex_latitude":"05e0c6e0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963512832001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130170017676263424,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084253054861203456,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788919974000,"timestamp_ms":1788919974000,"timestamp_seconds":1788919974,"priority":1,"record_length":96,"hex_timestamp":"000001a083f08870"} 
[2026-09-09 07:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 07:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963512832001,"66":13906,"104":206,"85":15104,"24":28,"16":130170017676263424,"45":9084253054861203456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-09 07:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963512832001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:43:43] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-09 07:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130170017676263424,"km_value":130170017676263.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084253054861203456,"description":"Unknown IO ID 45"} 
[2026-09-09 07:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963512832001,"power":13906,"unknown_104":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9084253054861203456}} 
[2026-09-09 07:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":175177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:43:43] local.INFO: GPS data processed {"connection_id":175177,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:43:43] local.INFO: Acknowledgment sent {"connection_id":175177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:43:45] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:43:45] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:43:45] local.INFO: IMEI packet received {"connection_id":177992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":177992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:43:46] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:43:46] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:43:46] local.INFO: Packet analysis {"connection_id":177992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:43:46] local.INFO: Extracted packet for processing {"connection_id":177992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":177992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:43:46] local.INFO: GPS data processed {"connection_id":177992,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:43:46] local.INFO: Acknowledgment sent {"connection_id":177992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:44:02] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:44:02] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:44:02] local.INFO: IMEI packet received {"connection_id":175178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":175178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:44:07] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:44:07] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:44:07] local.INFO: IMEI packet received {"connection_id":175178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":175178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:44:07] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f08c58012d7e0f0005e0c9b80005016624..."} 
[2026-09-09 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f08c58012d7e0f0005e0c9b80005016624..."} 
[2026-09-09 07:44:07] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f08c58012d7e0f0005e0c9b80005016624..."} 
[2026-09-09 07:44:07] local.INFO: Packet analysis {"connection_id":175178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f0"} 
[2026-09-09 07:44:07] local.INFO: Extracted packet for processing {"connection_id":175178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f0"} 
[2026-09-09 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763236096,"raw_latitude":98617784,"longitude_deg":76.3236096,"latitude_deg":9.8617784,"altitude":5,"angle":358,"satellites":36,"speed":29,"hex_longitude":"2d7e0f00","hex_latitude":"05e0c9b8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963513344001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130170052036001792,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083549367419723776,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788919975000,"timestamp_ms":1788919975000,"timestamp_seconds":1788919975,"priority":1,"record_length":96,"hex_timestamp":"000001a083f08c58"} 
[2026-09-09 07:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 07:44: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-09-09 07: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-09-09 07:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963513344001,"66":13906,"104":206,"85":15104,"24":29,"16":130170052036001792,"45":9083549367419723776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-09 07:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963513344001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:44:07] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-09 07:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130170052036001792,"km_value":130170052036001.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083549367419723776,"description":"Unknown IO ID 45"} 
[2026-09-09 07:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963513344001,"power":13906,"unknown_104":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9083549367419723776}} 
[2026-09-09 07:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":175178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:44:07] local.INFO: GPS data processed {"connection_id":175178,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:44:07] local.INFO: Acknowledgment sent {"connection_id":175178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:44:17] local.INFO: TCP Data received {"connection_id":177992,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:44:17] local.INFO: Processing buffer {"connection_id":177992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:44:17] local.INFO: Packet analysis {"connection_id":177992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:44:17] local.INFO: Extracted packet for processing {"connection_id":177992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":177992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:44:17] local.INFO: GPS data processed {"connection_id":177992,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:44:17] local.INFO: Acknowledgment sent {"connection_id":177992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:44:39] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f1d860012d7e1e8005e1b1600007001e26..."} 
[2026-09-09 07:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f1d860012d7e1e8005e1b1600007001e26..."} 
[2026-09-09 07:44:39] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f1d860012d7e1e8005e1b1600007001e26..."} 
[2026-09-09 07:44:39] local.INFO: Packet analysis {"connection_id":175178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f1"} 
[2026-09-09 07:44:39] local.INFO: Extracted packet for processing {"connection_id":175178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f1"} 
[2026-09-09 07:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763240064,"raw_latitude":98677088,"longitude_deg":76.3240064,"latitude_deg":9.8677088,"altitude":7,"angle":30,"satellites":38,"speed":36,"hex_longitude":"2d7e1e80","hex_latitude":"05e1b160","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963534848001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130172989793632256,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086997435899371520,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:39] 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-09-09 07:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788920060000,"timestamp_ms":1788920060000,"timestamp_seconds":1788920060,"priority":1,"record_length":96,"hex_timestamp":"000001a083f1d860"} 
[2026-09-09 07:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 07:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963534848001,"66":13580,"105":206,"85":15104,"24":36,"16":130172989793632256,"45":9086997435899371520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-09 07:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963534848001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:44:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 07:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130172989793632256,"km_value":130172989793632.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086997435899371520,"description":"Unknown IO ID 45"} 
[2026-09-09 07:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963534848001,"power":13580,"unknown_105":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9086997435899371520}} 
[2026-09-09 07:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":175178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:44:39] local.INFO: GPS data processed {"connection_id":175178,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:44:39] local.INFO: Acknowledgment sent {"connection_id":175178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:44:44] local.INFO: TCP Data received {"connection_id":177993,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:44:44] local.INFO: Processing buffer {"connection_id":177993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:44:44] local.INFO: IMEI packet received {"connection_id":177993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":177993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:44:49] local.INFO: TCP Data received {"connection_id":177993,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:44:49] local.INFO: Processing buffer {"connection_id":177993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:44:49] local.INFO: IMEI packet received {"connection_id":177993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":177993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:44:50] local.INFO: TCP Data received {"connection_id":177993,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:44:50] local.INFO: Processing buffer {"connection_id":177993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:44:50] local.INFO: Packet analysis {"connection_id":177993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:44:50] local.INFO: Extracted packet for processing {"connection_id":177993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:44:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:44:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":177993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:44:50] local.INFO: GPS data processed {"connection_id":177993,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:44:50] local.INFO: Acknowledgment sent {"connection_id":177993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:44:55] local.INFO: TCP Data received {"connection_id":177993,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:44:55] local.INFO: Processing buffer {"connection_id":177993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:44:55] local.INFO: Packet analysis {"connection_id":177993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:44:55] local.INFO: Extracted packet for processing {"connection_id":177993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:44:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:44:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":177993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:44:55] local.INFO: GPS data processed {"connection_id":177993,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:44:55] local.INFO: Acknowledgment sent {"connection_id":177993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:45:01] local.INFO: TCP Data received {"connection_id":177994,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:45:01] local.INFO: Processing buffer {"connection_id":177994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:45:01] local.INFO: IMEI packet received {"connection_id":177994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":177994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:45:07] local.INFO: TCP Data received {"connection_id":177994,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:45:07] local.INFO: Processing buffer {"connection_id":177994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:45:07] local.INFO: IMEI packet received {"connection_id":177994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":177994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:45:08] local.INFO: TCP Data received {"connection_id":177994,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f1efd0012d7e290005e1c4200007000b25..."} 
[2026-09-09 07:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f1efd0012d7e290005e1c4200007000b25..."} 
[2026-09-09 07:45:08] local.INFO: Processing buffer {"connection_id":177994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f1efd0012d7e290005e1c4200007000b25..."} 
[2026-09-09 07:45:08] local.INFO: Packet analysis {"connection_id":177994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f1"} 
[2026-09-09 07:45:08] local.INFO: Extracted packet for processing {"connection_id":177994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f1"} 
[2026-09-09 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763242752,"raw_latitude":98681888,"longitude_deg":76.3242752,"latitude_deg":9.8681888,"altitude":7,"angle":11,"satellites":37,"speed":36,"hex_longitude":"2d7e2900","hex_latitude":"05e1c420","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963535360001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130173256081604608,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087841860829929472,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] 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-09-09 07:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788920066000,"timestamp_ms":1788920066000,"timestamp_seconds":1788920066,"priority":1,"record_length":96,"hex_timestamp":"000001a083f1efd0"} 
[2026-09-09 07:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631989,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2213619864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3569661256598028288,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":118,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":131,"raw_value":4050833409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937927273,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483276494,"corrected_to":0} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570316873019819,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3777134592,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":126,"raw_value":1693359924205584391,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,85,24,241,157,16,119,160,208,45,128,170,8,37,10,66,192,156,1,240,88,227,118,131,225,4,113,205,32,52,31,224,39,239,53,2,206,5,7,126,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1483276494,"validated":0}]} 
[2026-09-09 07:45:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504436306825445376,"timestamp_seconds":504436306825445.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963535360001,"66":13580,"105":206,"85":15104,"24":36,"16":130173256081604608,"45":9087841860829929472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-09 07:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963535360001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:45:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 07:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130173256081604608,"km_value":130173256081604.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087841860829929472,"description":"Unknown IO ID 45"} 
[2026-09-09 07:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963535360001,"power":13580,"unknown_105":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9087841860829929472}} 
[2026-09-09 07:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":177994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:45:08] local.INFO: GPS data processed {"connection_id":177994,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:45:08] local.INFO: Acknowledgment sent {"connection_id":177994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:45:39] local.INFO: TCP Data received {"connection_id":177994,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f2e9d0012d7dcc8005e1fd28000b00fb25..."} 
[2026-09-09 07:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f2e9d0012d7dcc8005e1fd28000b00fb25..."} 
[2026-09-09 07:45:39] local.INFO: Processing buffer {"connection_id":177994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f2e9d0012d7dcc8005e1fd28000b00fb25..."} 
[2026-09-09 07:45:39] local.INFO: Packet analysis {"connection_id":177994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f2"} 
[2026-09-09 07:45:39] local.INFO: Extracted packet for processing {"connection_id":177994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f2"} 
[2026-09-09 07:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763219072,"raw_latitude":98696488,"longitude_deg":76.3219072,"latitude_deg":9.8696488,"altitude":11,"angle":251,"satellites":37,"speed":37,"hex_longitude":"2d7dcc80","hex_latitude":"05e1fd28","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963551744001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130175377795448832,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070460781023637504,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788920130000,"timestamp_ms":1788920130000,"timestamp_seconds":1788920130,"priority":1,"record_length":96,"hex_timestamp":"000001a083f2e9d0"} 
[2026-09-09 07:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-09 07:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963551744001,"66":13820,"198":206,"85":15104,"24":37,"16":130175377795448832,"45":9070460781023637504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-09 07:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963551744001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:45:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 07:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130175377795448832,"km_value":130175377795448.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070460781023637504,"description":"Unknown IO ID 45"} 
[2026-09-09 07:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963551744001,"power":13820,"unknown_198":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9070460781023637504}} 
[2026-09-09 07:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":177994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:45:39] local.INFO: GPS data processed {"connection_id":177994,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:45:39] local.INFO: Acknowledgment sent {"connection_id":177994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:45:39] local.INFO: TCP Data received {"connection_id":175179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:45:39] local.INFO: Processing buffer {"connection_id":175179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:45:39] local.INFO: IMEI packet received {"connection_id":175179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":175179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:45:44] local.INFO: TCP Data received {"connection_id":175179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:45:44] local.INFO: Processing buffer {"connection_id":175179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:45:44] local.INFO: IMEI packet received {"connection_id":175179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":175179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:45:45] local.INFO: TCP Data received {"connection_id":175179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:45:45] local.INFO: Processing buffer {"connection_id":175179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:45:45] local.INFO: Packet analysis {"connection_id":175179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:45:45] local.INFO: Extracted packet for processing {"connection_id":175179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:45: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-09-09 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":175179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:45:45] local.INFO: GPS data processed {"connection_id":175179,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:45:45] local.INFO: Acknowledgment sent {"connection_id":175179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:45:47] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:45:47] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:45:47] local.INFO: IMEI packet received {"connection_id":175180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":175180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:46:01] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:46:01] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:46:01] local.INFO: IMEI packet received {"connection_id":175181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":175181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:46:03] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:46:03] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:46:03] local.INFO: IMEI packet received {"connection_id":175181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":175181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:46:06] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:46:06] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:46:06] local.INFO: IMEI packet received {"connection_id":175181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":175181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:46:08] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f2f1a0012d7dc54005e1fba8000c010a26..."} 
[2026-09-09 07:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f2f1a0012d7dc54005e1fba8000c010a26..."} 
[2026-09-09 07:46:08] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f2f1a0012d7dc54005e1fba8000c010a26..."} 
[2026-09-09 07:46:08] local.INFO: Packet analysis {"connection_id":175181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f2"} 
[2026-09-09 07:46:08] local.INFO: Extracted packet for processing {"connection_id":175181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f2"} 
[2026-09-09 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763217216,"raw_latitude":98696104,"longitude_deg":76.3217216,"latitude_deg":9.8696104,"altitude":12,"angle":266,"satellites":38,"speed":37,"hex_longitude":"2d7dc540","hex_latitude":"05e1fba8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963553280001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130175467989762048,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064760912744622080,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788920132000,"timestamp_ms":1788920132000,"timestamp_seconds":1788920132,"priority":1,"record_length":96,"hex_timestamp":"000001a083f2f1a0"} 
[2026-09-09 07:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 07:46: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-09-09 07: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-09-09 07:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963553280001,"66":13580,"198":206,"85":15104,"24":37,"16":130175467989762048,"45":9064760912744622080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-09 07:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963553280001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:46:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 07:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130175467989762048,"km_value":130175467989762.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064760912744622080,"description":"Unknown IO ID 45"} 
[2026-09-09 07:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963553280001,"power":13580,"unknown_198":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9064760912744622080}} 
[2026-09-09 07:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":175181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:46:08] local.INFO: GPS data processed {"connection_id":175181,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:46:08] local.INFO: Acknowledgment sent {"connection_id":175181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:46:17] local.INFO: TCP Data received {"connection_id":175179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:46:17] local.INFO: Processing buffer {"connection_id":175179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:46:17] local.INFO: Packet analysis {"connection_id":175179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:46:17] local.INFO: Extracted packet for processing {"connection_id":175179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":175179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:46:17] local.INFO: GPS data processed {"connection_id":175179,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:46:17] local.INFO: Acknowledgment sent {"connection_id":175179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:46:39] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f30140012d7db68005e1fc48000d011526..."} 
[2026-09-09 07:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f30140012d7db68005e1fc48000d011526..."} 
[2026-09-09 07:46:39] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f30140012d7db68005e1fc48000d011526..."} 
[2026-09-09 07:46:39] local.INFO: Packet analysis {"connection_id":175181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:46:39] local.INFO: Extracted packet for processing {"connection_id":175181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763213440,"raw_latitude":98696264,"longitude_deg":76.321344,"latitude_deg":9.8696264,"altitude":13,"angle":277,"satellites":38,"speed":37,"hex_longitude":"2d7db680","hex_latitude":"05e1fc48","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963553792001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130175652673355776,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062720219163371520,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788920136000,"timestamp_ms":1788920136000,"timestamp_seconds":1788920136,"priority":1,"record_length":96,"hex_timestamp":"000001a083f30140"} 
[2026-09-09 07:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2213694864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2892999918006304778,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":131,"raw_value":4071313409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039037382,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1606811854,"corrected_to":0} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561155399601749,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792596992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2864295831459594249,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755506815369457,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:39] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,198,85,24,241,157,16,121,160,233,45,128,253,11,37,10,66,210,192,6,12,38,183,1,240,138,227,131,226,4,113,205,22,159,224,36,239,53,2,206,5,9,27,126,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1606811854,"validated":0}]} 
[2026-09-09 07:46:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864983761759305728,"timestamp_seconds":864983761759305.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963553792001,"66":13972,"198":206,"85":15104,"24":37,"16":130175652673355776,"45":9062720219163371520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-09 07:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963553792001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:46:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 07:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130175652673355776,"km_value":130175652673355.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062720219163371520,"description":"Unknown IO ID 45"} 
[2026-09-09 07:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963553792001,"power":13972,"unknown_198":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9062720219163371520}} 
[2026-09-09 07:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":175181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:46:39] local.INFO: GPS data processed {"connection_id":175181,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:46:39] local.INFO: Acknowledgment sent {"connection_id":175181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:46:39] local.INFO: TCP Data received {"connection_id":177995,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:46:39] local.INFO: Processing buffer {"connection_id":177995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:46:39] local.INFO: IMEI packet received {"connection_id":177995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":177995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:46:44] local.INFO: TCP Data received {"connection_id":177995,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:46:44] local.INFO: Processing buffer {"connection_id":177995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:46:44] local.INFO: IMEI packet received {"connection_id":177995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":177995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:46:45] local.INFO: TCP Data received {"connection_id":177995,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:46:45] local.INFO: Processing buffer {"connection_id":177995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ef24f8012d34c38006aa42c80005005d26..."} 
[2026-09-09 07:46:45] local.INFO: Packet analysis {"connection_id":177995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:46:45] local.INFO: Extracted packet for processing {"connection_id":177995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ef"} 
[2026-09-09 07:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963413760001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788919883000,"timestamp_ms":1788919883000,"timestamp_seconds":1788919883,"priority":1,"record_length":96,"hex_timestamp":"000001a083ef24f8"} 
[2026-09-09 07:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:46: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-09-09 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963413760001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963413760001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963413760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":177995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:46:45] local.INFO: GPS data processed {"connection_id":177995,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:46:45] local.INFO: Acknowledgment sent {"connection_id":177995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:47:06] local.INFO: TCP Data received {"connection_id":176543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:47:07] local.INFO: Processing buffer {"connection_id":176543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:47:07] local.INFO: IMEI packet received {"connection_id":176543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":176543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:47:07] local.INFO: TCP Data received {"connection_id":176543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:47:07] local.INFO: Processing buffer {"connection_id":176543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:47:07] local.INFO: IMEI packet received {"connection_id":176543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":176543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:47:11] local.INFO: TCP Data received {"connection_id":176543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:47:11] local.INFO: Processing buffer {"connection_id":176543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:47:11] local.INFO: IMEI packet received {"connection_id":176543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":176543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:47:12] local.INFO: TCP Data received {"connection_id":176543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f33408012d7d928005e20000000d011225..."} 
[2026-09-09 07:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f33408012d7d928005e20000000d011225..."} 
[2026-09-09 07:47:12] local.INFO: Processing buffer {"connection_id":176543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f33408012d7d928005e20000000d011225..."} 
[2026-09-09 07:47:12] local.INFO: Packet analysis {"connection_id":176543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:47:12] local.INFO: Extracted packet for processing {"connection_id":176543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763204224,"raw_latitude":98697216,"longitude_deg":76.3204224,"latitude_deg":9.8697216,"altitude":13,"angle":274,"satellites":37,"speed":22,"hex_longitude":"2d7d9280","hex_latitude":"05e20000","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963554816001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130176095054987264,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9058568463256930304,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788920149000,"timestamp_ms":1788920149000,"timestamp_seconds":1788920149,"priority":1,"record_length":96,"hex_timestamp":"000001a083f33408"} 
[2026-09-09 07:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:47: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-09-09 07: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 07:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963554816001,"66":13580,"198":206,"85":15104,"24":22,"16":130176095054987264,"45":9058568463256930304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-09 07:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963554816001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:47:12] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 07:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130176095054987264,"km_value":130176095054987.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9058568463256930304,"description":"Unknown IO ID 45"} 
[2026-09-09 07:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963554816001,"power":13580,"unknown_198":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9058568463256930304}} 
[2026-09-09 07:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":176543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:47:12] local.INFO: GPS data processed {"connection_id":176543,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:47:12] local.INFO: Acknowledgment sent {"connection_id":176543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:47:16] local.INFO: TCP Data received {"connection_id":176543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f366d0012d7d6e0005e20360000d011226..."} 
[2026-09-09 07:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f366d0012d7d6e0005e20360000d011226..."} 
[2026-09-09 07:47:16] local.INFO: Processing buffer {"connection_id":176543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f366d0012d7d6e0005e20360000d011226..."} 
[2026-09-09 07:47:16] local.INFO: Packet analysis {"connection_id":176543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:47:16] local.INFO: Extracted packet for processing {"connection_id":176543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:47:16] local.INFO: GPS Element Parsed {"raw_longitude":763194880,"raw_latitude":98698080,"longitude_deg":76.319488,"latitude_deg":9.869808,"altitude":13,"angle":274,"satellites":38,"speed":30,"hex_longitude":"2d7d6e00","hex_latitude":"05e20360","is_valid_coordinates":true} 
[2026-09-09 07:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963558144001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130176541731586048,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9048435364095590400,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788920162000,"timestamp_ms":1788920162000,"timestamp_seconds":1788920162,"priority":1,"record_length":96,"hex_timestamp":"000001a083f366d0"} 
[2026-09-09 07:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631993,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2213718864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1451285070114455562,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":131,"raw_value":4073873409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807932870,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1606811854,"corrected_to":0} 
[2026-09-09 07:47:16] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2147869200,"corrected_to":0} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308383,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792824320,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":126,"raw_value":306251243181834249,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561155399601749,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:16] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,85,24,241,157,16,122,160,1,45,128,252,13,38,10,66,64,251,12,121,233,240,227,131,226,4,113,205,35,183,246,239,52,2,206,5,9,22,126,53,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1606811854,"validated":0},{"io_id":246,"original":2147869200,"validated":0}]} 
[2026-09-09 07:47:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937050147594305536,"timestamp_seconds":937050147594305.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963558144001,"66":13624,"198":206,"85":15104,"24":30,"16":130176541731586048,"45":9048435364095590400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-09 07:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963558144001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:47:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 07:47:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130176541731586048,"km_value":130176541731586.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9048435364095590400,"description":"Unknown IO ID 45"} 
[2026-09-09 07:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963558144001,"power":13624,"unknown_198":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9048435364095590400}} 
[2026-09-09 07:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":176543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:47:16] local.INFO: GPS data processed {"connection_id":176543,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:47:16] local.INFO: Acknowledgment sent {"connection_id":176543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:47:17] local.INFO: TCP Data received {"connection_id":177995,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:47:17] local.INFO: Processing buffer {"connection_id":177995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:47:17] local.INFO: Packet analysis {"connection_id":177995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:47:17] local.INFO: Extracted packet for processing {"connection_id":177995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 07:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":177995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:47:17] local.INFO: GPS data processed {"connection_id":177995,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:47:17] local.INFO: Acknowledgment sent {"connection_id":177995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:47:39] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:47:39] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:47:39] local.INFO: IMEI packet received {"connection_id":175426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":175426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:47:44] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:47:44] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:47:44] local.INFO: IMEI packet received {"connection_id":175426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":175426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:47:45] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:47:45] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:47:45] local.INFO: Packet analysis {"connection_id":175426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:47:45] local.INFO: Extracted packet for processing {"connection_id":175426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 07:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:47: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-09-09 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":175426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:47:45] local.INFO: GPS data processed {"connection_id":175426,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:47:45] local.INFO: Acknowledgment sent {"connection_id":175426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:48:01] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:48:01] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:48:01] local.INFO: IMEI packet received {"connection_id":175183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":175183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:48:03] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:48:03] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:48:03] local.INFO: IMEI packet received {"connection_id":175183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":175183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:48:04] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f4f158012d7c5ec005e21060000800ee27..."} 
[2026-09-09 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f4f158012d7c5ec005e21060000800ee27..."} 
[2026-09-09 07:48:04] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f4f158012d7c5ec005e21060000800ee27..."} 
[2026-09-09 07:48:04] local.INFO: Packet analysis {"connection_id":175183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f4"} 
[2026-09-09 07:48:04] local.INFO: Extracted packet for processing {"connection_id":175183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f4"} 
[2026-09-09 07:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763125440,"raw_latitude":98701408,"longitude_deg":76.312544,"latitude_deg":9.8701408,"altitude":8,"angle":238,"satellites":39,"speed":21,"hex_longitude":"2d7c5ec0","hex_latitude":"05e21060","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963586816001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130179891806076928,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962937339920891904,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] 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-09-09 07:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788920263000,"timestamp_ms":1788920263000,"timestamp_seconds":1788920263,"priority":1,"record_length":96,"hex_timestamp":"000001a083f4f158"} 
[2026-09-09 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-09-09 07:48: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-09-09 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631996,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":125,"raw_value":18020866939944970,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2213812864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1956814068157251594,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":131,"raw_value":4099729409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470083115,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2147869194,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812238,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792525312,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292610728735147,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,43,85,24,241,157,16,125,160,221,45,128,18,7,40,10,66,182,64,14,39,143,192,1,240,82,227,131,226,4,113,205,33,57,229,136,239,53,2,206,5,8,52,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-09-09 07:48:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576744593808424960,"timestamp_seconds":576744593808425.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 07:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963586816001,"66":13656,"43":206,"85":15104,"24":21,"16":130179891806076928,"45":8962937339920891904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-09 07:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963586816001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:48:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 07:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130179891806076928,"km_value":130179891806076.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962937339920891904,"description":"Unknown IO ID 45"} 
[2026-09-09 07:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963586816001,"power":13656,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8962937339920891904}} 
[2026-09-09 07:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":175183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:48:04] local.INFO: GPS data processed {"connection_id":175183,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:48:04] local.INFO: Acknowledgment sent {"connection_id":175183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:48:17] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:48:17] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:48:17] local.INFO: Packet analysis {"connection_id":175426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:48:17] local.INFO: Extracted packet for processing {"connection_id":175426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 07:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":175426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:48:17] local.INFO: GPS data processed {"connection_id":175426,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:48:17] local.INFO: Acknowledgment sent {"connection_id":175426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:48:35] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f4f540012d7c5d4005e20ef0000800e027..."} 
[2026-09-09 07:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f4f540012d7c5d4005e20ef0000800e027..."} 
[2026-09-09 07:48:35] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f4f540012d7c5d4005e20ef0000800e027..."} 
[2026-09-09 07:48:35] local.INFO: Packet analysis {"connection_id":175183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f4"} 
[2026-09-09 07:48:35] local.INFO: Extracted packet for processing {"connection_id":175183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f4"} 
[2026-09-09 07:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763125056,"raw_latitude":98701040,"longitude_deg":76.3125056,"latitude_deg":9.870104,"altitude":8,"angle":224,"satellites":39,"speed":21,"hex_longitude":"2d7c5d40","hex_latitude":"05e20ef0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963587328001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130179917575880704,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961811440013959168,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:35] 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-09-09 07:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788920264000,"timestamp_ms":1788920264000,"timestamp_seconds":1788920264,"priority":1,"record_length":96,"hex_timestamp":"000001a083f4f540"} 
[2026-09-09 07:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:48: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-09-09 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 07:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963587328001,"66":13798,"43":206,"85":15104,"24":21,"16":130179917575880704,"45":8961811440013959168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-09 07:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963587328001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:48:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 07:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130179917575880704,"km_value":130179917575880.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961811440013959168,"description":"Unknown IO ID 45"} 
[2026-09-09 07:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963587328001,"power":13798,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8961811440013959168}} 
[2026-09-09 07:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":175183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:48:35] local.INFO: GPS data processed {"connection_id":175183,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:48:35] local.INFO: Acknowledgment sent {"connection_id":175183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:48:44] local.INFO: TCP Data received {"connection_id":175427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:48:44] local.INFO: Processing buffer {"connection_id":175427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:48:44] local.INFO: IMEI packet received {"connection_id":175427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":175427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:48:49] local.INFO: TCP Data received {"connection_id":175427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:48:49] local.INFO: Processing buffer {"connection_id":175427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:48:49] local.INFO: IMEI packet received {"connection_id":175427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":175427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:48:50] local.INFO: TCP Data received {"connection_id":175427,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:48:50] local.INFO: Processing buffer {"connection_id":175427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:48:50] local.INFO: Packet analysis {"connection_id":175427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:48:50] local.INFO: Extracted packet for processing {"connection_id":175427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 07:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:48:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":175427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:48:50] local.INFO: GPS data processed {"connection_id":175427,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:48:50] local.INFO: Acknowledgment sent {"connection_id":175427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:48:55] local.INFO: TCP Data received {"connection_id":175427,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:48:55] local.INFO: Processing buffer {"connection_id":175427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:48:55] local.INFO: Packet analysis {"connection_id":175427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:48:55] local.INFO: Extracted packet for processing {"connection_id":175427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 07:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:48:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:48:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":175427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:48:55] local.INFO: GPS data processed {"connection_id":175427,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:48:55] local.INFO: Acknowledgment sent {"connection_id":175427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:49:01] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:49:01] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:49:01] local.INFO: IMEI packet received {"connection_id":175184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":175184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:49:02] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:49:02] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:49:02] local.INFO: IMEI packet received {"connection_id":175184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":175184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:49:05] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:49:05] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:49:05] local.INFO: IMEI packet received {"connection_id":175184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":175184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:49:06] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f5d7d0012d7bedc005e1d8d8000c011728..."} 
[2026-09-09 07:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f5d7d0012d7bedc005e1d8d8000c011728..."} 
[2026-09-09 07:49:06] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f5d7d0012d7bedc005e1d8d8000c011728..."} 
[2026-09-09 07:49:06] local.INFO: Packet analysis {"connection_id":175184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f5"} 
[2026-09-09 07:49:06] local.INFO: Extracted packet for processing {"connection_id":175184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f5"} 
[2026-09-09 07:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763096512,"raw_latitude":98687192,"longitude_deg":76.3096512,"latitude_deg":9.8687192,"altitude":12,"angle":279,"satellites":40,"speed":25,"hex_longitude":"2d7bedc0","hex_latitude":"05e1d8d8","is_valid_coordinates":true} 
[2026-09-09 07:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963601664001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130181609792995328,"note":"Value kept but may cause issues"} 
[2026-09-09 07:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932397304944029696,"note":"Value kept but may cause issues"} 
[2026-09-09 07:49:06] 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-09-09 07:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788920322000,"timestamp_ms":1788920322000,"timestamp_seconds":1788920322,"priority":1,"record_length":96,"hex_timestamp":"000001a083f5d7d0"} 
[2026-09-09 07:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:49: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-09-09 07: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 07:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963601664001,"66":13972,"43":206,"85":15104,"24":25,"16":130181609792995328,"45":8932397304944029696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-09 07:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963601664001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:49:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 07:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130181609792995328,"km_value":130181609792995.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932397304944029696,"description":"Unknown IO ID 45"} 
[2026-09-09 07:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963601664001,"power":13972,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8932397304944029696}} 
[2026-09-09 07:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":175184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:49:06] local.INFO: GPS data processed {"connection_id":175184,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:49:06] local.INFO: Acknowledgment sent {"connection_id":175184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:49:37] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f606b0012d7bd5c005e1dca00009010528..."} 
[2026-09-09 07:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f606b0012d7bd5c005e1dca00009010528..."} 
[2026-09-09 07:49:37] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f606b0012d7bd5c005e1dca00009010528..."} 
[2026-09-09 07:49:37] local.INFO: Packet analysis {"connection_id":175184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f6"} 
[2026-09-09 07:49:37] local.INFO: Extracted packet for processing {"connection_id":175184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f6"} 
[2026-09-09 07:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763090368,"raw_latitude":98688160,"longitude_deg":76.3090368,"latitude_deg":9.868816,"altitude":9,"angle":261,"satellites":40,"speed":19,"hex_longitude":"2d7bd5c0","hex_latitude":"05e1dca0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963602432001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130181910440706048,"note":"Value kept but may cause issues"} 
[2026-09-09 07:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930004767642015744,"note":"Value kept but may cause issues"} 
[2026-09-09 07:49:37] 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-09-09 07:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788920334000,"timestamp_ms":1788920334000,"timestamp_seconds":1788920334,"priority":1,"record_length":96,"hex_timestamp":"000001a083f606b0"} 
[2026-09-09 07:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 07:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963602432001,"66":13722,"43":206,"85":15104,"24":19,"16":130181910440706048,"45":8930004767642015744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-09 07:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963602432001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:49:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 07:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130181910440706048,"km_value":130181910440706.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930004767642015744,"description":"Unknown IO ID 45"} 
[2026-09-09 07:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963602432001,"power":13722,"unknown_43":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8930004767642015744}} 
[2026-09-09 07:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":175184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:49:37] local.INFO: GPS data processed {"connection_id":175184,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:49:37] local.INFO: Acknowledgment sent {"connection_id":175184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:49:39] local.INFO: TCP Data received {"connection_id":177996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:49:39] local.INFO: Processing buffer {"connection_id":177996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:49:39] local.INFO: IMEI packet received {"connection_id":177996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":177996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:49:44] local.INFO: TCP Data received {"connection_id":177996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:49:44] local.INFO: Processing buffer {"connection_id":177996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:49:44] local.INFO: IMEI packet received {"connection_id":177996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":177996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:49:47] local.INFO: TCP Data received {"connection_id":177996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:49:47] local.INFO: Processing buffer {"connection_id":177996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:49:47] local.INFO: Packet analysis {"connection_id":177996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:49:47] local.INFO: Extracted packet for processing {"connection_id":177996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 07:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":177996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:49:47] local.INFO: GPS data processed {"connection_id":177996,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:49:47] local.INFO: Acknowledgment sent {"connection_id":177996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:50:01] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:50:01] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:50:01] local.INFO: IMEI packet received {"connection_id":175429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":175429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:50:06] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:50:06] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:50:06] local.INFO: IMEI packet received {"connection_id":175429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":175429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:50:06] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f62208012d7bd14005e1db38000a00f326..."} 
[2026-09-09 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f62208012d7bd14005e1db38000a00f326..."} 
[2026-09-09 07:50:06] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f62208012d7bd14005e1db38000a00f326..."} 
[2026-09-09 07:50:06] local.INFO: Packet analysis {"connection_id":175429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f6"} 
[2026-09-09 07:50:06] local.INFO: Extracted packet for processing {"connection_id":175429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f6"} 
[2026-09-09 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763089216,"raw_latitude":98687800,"longitude_deg":76.3089216,"latitude_deg":9.86878,"altitude":10,"angle":243,"satellites":38,"speed":9,"hex_longitude":"2d7bd140","hex_latitude":"05e1db38","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963605504001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130181970570248192,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923249368201207808,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:06] 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-09-09 07:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788920341000,"timestamp_ms":1788920341000,"timestamp_seconds":1788920341,"priority":1,"record_length":96,"hex_timestamp":"000001a083f62208"} 
[2026-09-09 07:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 07:50: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-09-09 07: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-09-09 07:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963605504001,"66":13928,"43":206,"85":15104,"24":9,"16":130181970570248192,"45":8923249368201207808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-09 07:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963605504001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:50:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 07:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130181970570248192,"km_value":130181970570248.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923249368201207808,"description":"Unknown IO ID 45"} 
[2026-09-09 07:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963605504001,"power":13928,"unknown_43":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8923249368201207808}} 
[2026-09-09 07:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":175429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:50:06] local.INFO: GPS data processed {"connection_id":175429,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:50:06] local.INFO: Acknowledgment sent {"connection_id":175429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:50:18] local.INFO: TCP Data received {"connection_id":177996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:50:18] local.INFO: Processing buffer {"connection_id":177996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:50:18] local.INFO: Packet analysis {"connection_id":177996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:50:18] local.INFO: Extracted packet for processing {"connection_id":177996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 07:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:50: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-09-09 07:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:50: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-09-09 07:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:50:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":177996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:50:18] local.INFO: GPS data processed {"connection_id":177996,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:50:18] local.INFO: Acknowledgment sent {"connection_id":177996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:50:37] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083f756a0012d7b408005e1a7d0001100b927..."} 
[2026-09-09 07:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f756a0012d7b408005e1a7d0001100b927..."} 
[2026-09-09 07:50:37] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f756a0012d7b408005e1a7d0001100b927..."} 
[2026-09-09 07:50:37] local.INFO: Packet analysis {"connection_id":175429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f7"} 
[2026-09-09 07:50:37] local.INFO: Extracted packet for processing {"connection_id":175429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f7"} 
[2026-09-09 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763052160,"raw_latitude":98674640,"longitude_deg":76.305216,"latitude_deg":9.867464,"altitude":17,"angle":185,"satellites":39,"speed":16,"hex_longitude":"2d7b4080","hex_latitude":"05e1a7d0","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963627008001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596668030976,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130183933370302464,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 07:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788920420000,"timestamp_ms":1788920420000,"timestamp_seconds":1788920420,"priority":1,"record_length":96,"hex_timestamp":"000001a083f756a0"} 
[2026-09-09 07:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 07:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963627008001,"66":13330,"45":8881309596668030976,"85":15104,"24":16,"16":130183933370302464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-09 07:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963627008001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596668030976,"description":"Unknown IO ID 45"} 
[2026-09-09 07:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130183933370302464,"km_value":130183933370302.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:50:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457963627008001,"power":13330,"unknown_45":8881309596668030976,"unknown_85":15104,"ignition":16,"odometer":null}} 
[2026-09-09 07:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":175429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:50:37] local.INFO: GPS data processed {"connection_id":175429,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:50:37] local.INFO: Acknowledgment sent {"connection_id":175429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:50:40] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:50:40] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:50:40] local.INFO: IMEI packet received {"connection_id":176544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":176544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:50:44] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:50:44] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:50:44] local.INFO: IMEI packet received {"connection_id":176544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":176544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:50:45] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:50:45] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:50:45] local.INFO: Packet analysis {"connection_id":176544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:50:45] local.INFO: Extracted packet for processing {"connection_id":176544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 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-09-09 07:50: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-09-09 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":176544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:50:45] local.INFO: GPS data processed {"connection_id":176544,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:50:45] local.INFO: Acknowledgment sent {"connection_id":176544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:51:00] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:00] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:00] local.INFO: IMEI packet received {"connection_id":176545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":176545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:51:01] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:01] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:01] local.INFO: IMEI packet received {"connection_id":176545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":176545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:51:04] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:04] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:04] local.INFO: IMEI packet received {"connection_id":176545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":176545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:51:04] local.INFO: TCP Data received {"connection_id":176545,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:04] local.INFO: Processing buffer {"connection_id":176545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:51:04] local.INFO: IMEI packet received {"connection_id":176545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":176545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:51:17] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:51:17] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:51:17] local.INFO: Packet analysis {"connection_id":176544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:51:17] local.INFO: Extracted packet for processing {"connection_id":176544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 07:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":176544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:51:17] local.INFO: GPS data processed {"connection_id":176544,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:51:17] local.INFO: Acknowledgment sent {"connection_id":176544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:51:22] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:51:22] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:51:22] local.INFO: IMEI packet received {"connection_id":175186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":175186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:51:39] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:51:39] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:51:39] local.INFO: IMEI packet received {"connection_id":175430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":175430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:51:42] local.INFO: TCP Data received {"connection_id":175431,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:51:42] local.INFO: Processing buffer {"connection_id":175431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:51:42] local.INFO: IMEI packet received {"connection_id":175431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":175431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:51:44] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:51:44] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:51:44] local.INFO: IMEI packet received {"connection_id":175430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":175430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:51:45] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:51:45] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f3bcc0012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:51:45] local.INFO: Packet analysis {"connection_id":175430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:51:45] local.INFO: Extracted packet for processing {"connection_id":175430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f3"} 
[2026-09-09 07:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963490048001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788920184000,"timestamp_ms":1788920184000,"timestamp_seconds":1788920184,"priority":1,"record_length":96,"hex_timestamp":"000001a083f3bcc0"} 
[2026-09-09 07:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:51: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-09-09 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963490048001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963490048001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963490048001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":175430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:51:45] local.INFO: GPS data processed {"connection_id":175430,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:51:45] local.INFO: Acknowledgment sent {"connection_id":175430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:52:16] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f85488012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f85488012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:52:16] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f85488012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:52:16] local.INFO: Packet analysis {"connection_id":175430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f8"} 
[2026-09-09 07:52:16] local.INFO: Extracted packet for processing {"connection_id":175430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f8"} 
[2026-09-09 07:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963567104001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788920485000,"timestamp_ms":1788920485000,"timestamp_seconds":1788920485,"priority":1,"record_length":96,"hex_timestamp":"000001a083f85488"} 
[2026-09-09 07:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963567104001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963567104001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963567104001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":175430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:52:16] local.INFO: GPS data processed {"connection_id":175430,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:52:16] local.INFO: Acknowledgment sent {"connection_id":175430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:52:44] local.INFO: TCP Data received {"connection_id":175187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:52:44] local.INFO: Processing buffer {"connection_id":175187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:52:44] local.INFO: IMEI packet received {"connection_id":175187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":175187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:52:49] local.INFO: TCP Data received {"connection_id":175187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:52:49] local.INFO: Processing buffer {"connection_id":175187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:52:49] local.INFO: IMEI packet received {"connection_id":175187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":175187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:52:50] local.INFO: TCP Data received {"connection_id":175187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f85488012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f85488012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:52:50] local.INFO: Processing buffer {"connection_id":175187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f85488012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:52:50] local.INFO: Packet analysis {"connection_id":175187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f8"} 
[2026-09-09 07:52:50] local.INFO: Extracted packet for processing {"connection_id":175187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f8"} 
[2026-09-09 07:52:50] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963567104001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788920485000,"timestamp_ms":1788920485000,"timestamp_seconds":1788920485,"priority":1,"record_length":96,"hex_timestamp":"000001a083f85488"} 
[2026-09-09 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-09-09 07:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963567104001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963567104001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:52:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:52:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963567104001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":175187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:52:50] local.INFO: GPS data processed {"connection_id":175187,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:52:50] local.INFO: Acknowledgment sent {"connection_id":175187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:52:55] local.INFO: TCP Data received {"connection_id":175187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f85488012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f85488012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:52:55] local.INFO: Processing buffer {"connection_id":175187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f85488012d34c38006aa42c80005005d27..."} 
[2026-09-09 07:52:55] local.INFO: Packet analysis {"connection_id":175187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f8"} 
[2026-09-09 07:52:55] local.INFO: Extracted packet for processing {"connection_id":175187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f8"} 
[2026-09-09 07:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963567104001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788920485000,"timestamp_ms":1788920485000,"timestamp_seconds":1788920485,"priority":1,"record_length":96,"hex_timestamp":"000001a083f85488"} 
[2026-09-09 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-09-09 07:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963567104001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963567104001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:52:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:52:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963567104001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":175187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:52:55] local.INFO: GPS data processed {"connection_id":175187,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:52:55] local.INFO: Acknowledgment sent {"connection_id":175187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:53:40] local.INFO: TCP Data received {"connection_id":175432,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:53:40] local.INFO: Processing buffer {"connection_id":175432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:53:40] local.INFO: IMEI packet received {"connection_id":175432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":175432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:53:44] local.INFO: TCP Data received {"connection_id":175432,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:53:44] local.INFO: Processing buffer {"connection_id":175432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:53:44] local.INFO: IMEI packet received {"connection_id":175432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:53:45] local.INFO: TCP Data received {"connection_id":175432,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:53:45] local.INFO: Processing buffer {"connection_id":175432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:53:45] local.INFO: Packet analysis {"connection_id":175432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:53:45] local.INFO: Extracted packet for processing {"connection_id":175432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07: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-09-09 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:53:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":175432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:53:45] local.INFO: GPS data processed {"connection_id":175432,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:53:45] local.INFO: Acknowledgment sent {"connection_id":175432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:53:50] local.INFO: TCP Data received {"connection_id":175432,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:53:50] local.INFO: Processing buffer {"connection_id":175432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:53:50] local.INFO: Packet analysis {"connection_id":175432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:53:50] local.INFO: Extracted packet for processing {"connection_id":175432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:53:50] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:53:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:53:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":175432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:53:50] local.INFO: GPS data processed {"connection_id":175432,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:53:50] local.INFO: Acknowledgment sent {"connection_id":175432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:54:21] local.INFO: TCP Data received {"connection_id":175432,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:54:21] local.INFO: Processing buffer {"connection_id":175432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:54:21] local.INFO: Packet analysis {"connection_id":175432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:54:21] local.INFO: Extracted packet for processing {"connection_id":175432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:54:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":175432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:54:21] local.INFO: GPS data processed {"connection_id":175432,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:54:21] local.INFO: Acknowledgment sent {"connection_id":175432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:54:40] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:54:40] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:54:40] local.INFO: IMEI packet received {"connection_id":175191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":175191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:54:45] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:54:45] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:54:45] local.INFO: IMEI packet received {"connection_id":175191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":175191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:54:46] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:54:46] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:54:46] local.INFO: Packet analysis {"connection_id":175191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:54:46] local.INFO: Extracted packet for processing {"connection_id":175191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":175191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:54:46] local.INFO: GPS data processed {"connection_id":175191,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:54:46] local.INFO: Acknowledgment sent {"connection_id":175191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:55:17] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:55:17] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:55:17] local.INFO: Packet analysis {"connection_id":175191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:55:17] local.INFO: Extracted packet for processing {"connection_id":175191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":175191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:55:17] local.INFO: GPS data processed {"connection_id":175191,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:55:17] local.INFO: Acknowledgment sent {"connection_id":175191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:55:40] local.INFO: TCP Data received {"connection_id":176548,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:55:40] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:55:40] local.INFO: IMEI packet received {"connection_id":176548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":176548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:55:44] local.INFO: TCP Data received {"connection_id":176548,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:55:44] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:55:44] local.INFO: IMEI packet received {"connection_id":176548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":176548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:55:46] local.INFO: TCP Data received {"connection_id":176548,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:55:46] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:55:46] local.INFO: Packet analysis {"connection_id":176548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:55:46] local.INFO: Extracted packet for processing {"connection_id":176548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":176548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:55:46] local.INFO: GPS data processed {"connection_id":176548,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:55:46] local.INFO: Acknowledgment sent {"connection_id":176548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:56:06] local.INFO: TCP Data received {"connection_id":177999,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:56:06] local.INFO: Processing buffer {"connection_id":177999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:56:06] local.INFO: IMEI packet received {"connection_id":177999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":177999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:56:11] local.INFO: TCP Data received {"connection_id":177999,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:56:11] local.INFO: Processing buffer {"connection_id":177999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:56:11] local.INFO: IMEI packet received {"connection_id":177999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":177999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:56:12] local.INFO: TCP Data received {"connection_id":177999,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fbc758012d7acd8005e40da0000a015027..."} 
[2026-09-09 07:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fbc758012d7acd8005e40da0000a015027..."} 
[2026-09-09 07:56:12] local.INFO: Processing buffer {"connection_id":177999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fbc758012d7acd8005e40da0000a015027..."} 
[2026-09-09 07:56:12] local.INFO: Packet analysis {"connection_id":177999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fb"} 
[2026-09-09 07:56:12] local.INFO: Extracted packet for processing {"connection_id":177999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fb"} 
[2026-09-09 07:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":98831776,"longitude_deg":76.302272,"latitude_deg":9.8831776,"altitude":10,"angle":336,"satellites":39,"speed":34,"hex_longitude":"2d7acd80","hex_latitude":"05e40da0","is_valid_coordinates":true} 
[2026-09-09 07:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963700480001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130193614226587648,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850417718012665856,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56: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-09-09 07:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788920711000,"timestamp_ms":1788920711000,"timestamp_seconds":1788920711,"priority":1,"record_length":96,"hex_timestamp":"000001a083fbc758"} 
[2026-09-09 07:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-09 07:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963700480001,"66":13678,"208":206,"85":15104,"24":34,"16":130193614226587648,"45":8850417718012665856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 07:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963700480001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:56:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 07:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130193614226587648,"km_value":130193614226587.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850417718012665856,"description":"Unknown IO ID 45"} 
[2026-09-09 07:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963700480001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8850417718012665856}} 
[2026-09-09 07:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":177999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:56:12] local.INFO: GPS data processed {"connection_id":177999,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:56:12] local.INFO: Acknowledgment sent {"connection_id":177999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:56:17] local.INFO: TCP Data received {"connection_id":176548,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:56:17] local.INFO: Processing buffer {"connection_id":176548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:56:17] local.INFO: Packet analysis {"connection_id":176548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:56:17] local.INFO: Extracted packet for processing {"connection_id":176548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":176548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:56:17] local.INFO: GPS data processed {"connection_id":176548,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:56:17] local.INFO: Acknowledgment sent {"connection_id":176548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:56:39] local.INFO: TCP Data received {"connection_id":178000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:56:39] local.INFO: Processing buffer {"connection_id":178000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:56:39] local.INFO: IMEI packet received {"connection_id":178000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":178000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:56:44] local.INFO: TCP Data received {"connection_id":178000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:56:44] local.INFO: Processing buffer {"connection_id":178000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:56:44] local.INFO: IMEI packet received {"connection_id":178000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":178000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:56:45] local.INFO: TCP Data received {"connection_id":178000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:56:45] local.INFO: Processing buffer {"connection_id":178000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:56:45] local.INFO: Packet analysis {"connection_id":178000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:56:45] local.INFO: Extracted packet for processing {"connection_id":178000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07: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-09-09 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:56:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":178000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:56:45] local.INFO: GPS data processed {"connection_id":178000,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:56:45] local.INFO: Acknowledgment sent {"connection_id":178000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:56:46] local.INFO: TCP Data received {"connection_id":177999,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fbcf28012d7ac9c005e41348000a014127..."} 
[2026-09-09 07:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fbcf28012d7ac9c005e41348000a014127..."} 
[2026-09-09 07:56:46] local.INFO: Processing buffer {"connection_id":177999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fbcf28012d7ac9c005e41348000a014127..."} 
[2026-09-09 07:56:46] local.INFO: Packet analysis {"connection_id":177999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fb"} 
[2026-09-09 07:56:46] local.INFO: Extracted packet for processing {"connection_id":177999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fb"} 
[2026-09-09 07:56:46] local.INFO: GPS Element Parsed {"raw_longitude":763021760,"raw_latitude":98833224,"longitude_deg":76.302176,"latitude_deg":9.8833224,"altitude":10,"angle":321,"satellites":39,"speed":32,"hex_longitude":"2d7ac9c0","hex_latitude":"05e41348","is_valid_coordinates":true} 
[2026-09-09 07:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963702016001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130193695830966272,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605642182656,"note":"Value kept but may cause issues"} 
[2026-09-09 07:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788920713000,"timestamp_ms":1788920713000,"timestamp_seconds":1788920713,"priority":1,"record_length":96,"hex_timestamp":"000001a083fbcf28"} 
[2026-09-09 07:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 07:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963702016001,"66":13678,"208":206,"85":15104,"24":32,"16":130193695830966272,"45":8848869605642182656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 07:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963702016001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:56:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 07:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130193695830966272,"km_value":130193695830966.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605642182656,"description":"Unknown IO ID 45"} 
[2026-09-09 07:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963702016001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8848869605642182656}} 
[2026-09-09 07:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":177999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:56:46] local.INFO: GPS data processed {"connection_id":177999,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:56:46] local.INFO: Acknowledgment sent {"connection_id":177999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:57:07] local.INFO: TCP Data received {"connection_id":178001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:57:07] local.INFO: Processing buffer {"connection_id":178001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:57:07] local.INFO: IMEI packet received {"connection_id":178001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":178001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:57:09] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:57:09] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:57:09] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:57:12] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 07:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 07:57:12] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 07:57:12] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:57:14] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fbfe08012d7ab08005e42c780008013827..."} 
[2026-09-09 07:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fbfe08012d7ab08005e42c780008013827..."} 
[2026-09-09 07:57:14] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a083..."} 
[2026-09-09 07:57:14] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:57:17] local.INFO: TCP Data received {"connection_id":178000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:57:17] local.INFO: Processing buffer {"connection_id":178000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:57:17] local.INFO: Packet analysis {"connection_id":178000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:57:17] local.INFO: Extracted packet for processing {"connection_id":178000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":178000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:57:17] local.INFO: GPS data processed {"connection_id":178000,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:57:17] local.INFO: Acknowledgment sent {"connection_id":178000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:57:19] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fc2130012d7a92c005e444980008013327..."} 
[2026-09-09 07:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fc2130012d7a92c005e444980008013327..."} 
[2026-09-09 07:57:19] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a083fbfe08012d7ab08005e42c780008013827..."} 
[2026-09-09 07:57:19] local.INFO: Packet analysis {"connection_id":175433,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a083fb"} 
[2026-09-09 07:57:19] local.INFO: Extracted packet for processing {"connection_id":175433,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fb"} 
[2026-09-09 07:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763015296,"raw_latitude":98839672,"longitude_deg":76.3015296,"latitude_deg":9.8839672,"altitude":8,"angle":312,"satellites":39,"speed":35,"hex_longitude":"2d7ab080","hex_latitude":"05e42c78","is_valid_coordinates":true} 
[2026-09-09 07:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963702528001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130194133917630464,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847814074479888384,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57: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-09-09 07:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788920725000,"timestamp_ms":1788920725000,"timestamp_seconds":1788920725,"priority":1,"record_length":96,"hex_timestamp":"000001a083fbfe08"} 
[2026-09-09 07:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 07:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963702528001,"66":13656,"208":206,"85":15104,"24":35,"16":130194133917630464,"45":8847814074479888384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 07:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963702528001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:57:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 07:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 07:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130194133917630464,"km_value":130194133917630.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847814074479888384,"description":"Unknown IO ID 45"} 
[2026-09-09 07:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963702528001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8847814074479888384}} 
[2026-09-09 07:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":175433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:57:19] local.INFO: GPS data processed {"connection_id":175433,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:57:19] local.INFO: Acknowledgment sent {"connection_id":175433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:57:19] local.INFO: Packet analysis {"connection_id":175433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fc"} 
[2026-09-09 07:57:19] local.INFO: Extracted packet for processing {"connection_id":175433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fc"} 
[2026-09-09 07:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763007680,"raw_latitude":98845848,"longitude_deg":76.300768,"latitude_deg":9.8845848,"altitude":8,"angle":307,"satellites":39,"speed":45,"hex_longitude":"2d7a92c0","hex_latitude":"05e44498","is_valid_coordinates":true} 
[2026-09-09 07:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963705600001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130194606364033024,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840706831319595008,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788920734000,"timestamp_ms":1788920734000,"timestamp_seconds":1788920734,"priority":1,"record_length":96,"hex_timestamp":"000001a083fc2130"} 
[2026-09-09 07:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 07:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963705600001,"66":13928,"39":206,"87":13824,"24":45,"16":130194606364033024,"45":8840706831319595008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 07:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963705600001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:57:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 07:57:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 07:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130194606364033024,"km_value":130194606364033.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840706831319595008,"description":"Unknown IO ID 45"} 
[2026-09-09 07:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963705600001,"power":13928,"unknown_39":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":8840706831319595008}} 
[2026-09-09 07:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":175433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:57:19] local.INFO: GPS data processed {"connection_id":175433,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:57:19] local.INFO: Acknowledgment sent {"connection_id":175433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:57:21] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fc4070012d7a74c005e45c400008013427..."} 
[2026-09-09 07:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fc4070012d7a74c005e45c400008013427..."} 
[2026-09-09 07:57:21] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fc4070012d7a74c005e45c400008013427..."} 
[2026-09-09 07:57:21] local.INFO: Packet analysis {"connection_id":175433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fc"} 
[2026-09-09 07:57:21] local.INFO: Extracted packet for processing {"connection_id":175433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fc"} 
[2026-09-09 07:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763000000,"raw_latitude":98851904,"longitude_deg":76.3,"latitude_deg":9.8851904,"altitude":8,"angle":308,"satellites":39,"speed":40,"hex_longitude":"2d7a74c0","hex_latitude":"05e45c40","is_valid_coordinates":true} 
[2026-09-09 07:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963707904001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130195074515468288,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832332950764034048,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788920742000,"timestamp_ms":1788920742000,"timestamp_seconds":1788920742,"priority":1,"record_length":96,"hex_timestamp":"000001a083fc4070"} 
[2026-09-09 07:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:57: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-09-09 07:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 07:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963707904001,"66":12504,"39":206,"87":13824,"24":40,"16":130195074515468288,"45":8832332950764034048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 07:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963707904001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:57:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 07:57:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 07:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130195074515468288,"km_value":130195074515468.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832332950764034048,"description":"Unknown IO ID 45"} 
[2026-09-09 07:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963707904001,"power":12504,"unknown_39":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8832332950764034048}} 
[2026-09-09 07:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":175433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:57:21] local.INFO: GPS data processed {"connection_id":175433,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:57:21] local.INFO: Acknowledgment sent {"connection_id":175433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:57:39] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:57:39] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:57:39] local.INFO: IMEI packet received {"connection_id":175192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":175192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:57:42] local.INFO: TCP Data received {"connection_id":175193,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:57:42] local.INFO: Processing buffer {"connection_id":175193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 07:57:42] local.INFO: IMEI packet received {"connection_id":175193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 07:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":175193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:57:44] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:57:44] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:57:44] local.INFO: IMEI packet received {"connection_id":175192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":175192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:57:45] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:57:45] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:57:45] local.INFO: Packet analysis {"connection_id":175192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:57:45] local.INFO: Extracted packet for processing {"connection_id":175192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:57: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-09-09 07:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:57:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":175192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:57:45] local.INFO: GPS data processed {"connection_id":175192,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:57:45] local.INFO: Acknowledgment sent {"connection_id":175192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:58:06] local.INFO: TCP Data received {"connection_id":178002,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:58:06] local.INFO: Processing buffer {"connection_id":178002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:58:06] local.INFO: IMEI packet received {"connection_id":178002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":178002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:58:12] local.INFO: TCP Data received {"connection_id":178002,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:58:12] local.INFO: Processing buffer {"connection_id":178002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:58:12] local.INFO: IMEI packet received {"connection_id":178002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":178002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:58:13] local.INFO: TCP Data received {"connection_id":178002,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fdf9d8012d7a308005e45c78000e005129..."} 
[2026-09-09 07:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fdf9d8012d7a308005e45c78000e005129..."} 
[2026-09-09 07:58:13] local.INFO: Processing buffer {"connection_id":178002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fdf9d8012d7a308005e45c78000e005129..."} 
[2026-09-09 07:58:13] local.INFO: Packet analysis {"connection_id":178002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fd"} 
[2026-09-09 07:58:13] local.INFO: Extracted packet for processing {"connection_id":178002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fd"} 
[2026-09-09 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":762982528,"raw_latitude":98851960,"longitude_deg":76.2982528,"latitude_deg":9.885196,"altitude":14,"angle":81,"satellites":41,"speed":10,"hex_longitude":"2d7a3080","hex_latitude":"05e45c78","is_valid_coordinates":true} 
[2026-09-09 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-09-09 07:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963738368001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130196113897553920,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804326190582837248,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58: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-09-09 07:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788920855000,"timestamp_ms":1788920855000,"timestamp_seconds":1788920855,"priority":1,"record_length":96,"hex_timestamp":"000001a083fdf9d8"} 
[2026-09-09 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-09-09 07:58: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-09-09 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 07:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 07:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963738368001,"66":13820,"39":206,"87":13824,"24":10,"16":130196113897553920,"45":8804326190582837248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 07:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963738368001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:58:13] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 07:58:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 07:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130196113897553920,"km_value":130196113897553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804326190582837248,"description":"Unknown IO ID 45"} 
[2026-09-09 07:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963738368001,"power":13820,"unknown_39":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8804326190582837248}} 
[2026-09-09 07:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":178002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:58:13] local.INFO: GPS data processed {"connection_id":178002,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:58:13] local.INFO: Acknowledgment sent {"connection_id":178002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:58:17] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:58:17] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083f9b418012d34bf0006aa42f80005010726..."} 
[2026-09-09 07:58:17] local.INFO: Packet analysis {"connection_id":175192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:58:17] local.INFO: Extracted packet for processing {"connection_id":175192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083f9"} 
[2026-09-09 07:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821560,"longitude_deg":75.8431488,"latitude_deg":11.182156,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-09-09 07:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963644160001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788920575000,"timestamp_ms":1788920575000,"timestamp_seconds":1788920575,"priority":1,"record_length":96,"hex_timestamp":"000001a083f9b418"} 
[2026-09-09 07:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 07:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:58: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-09-09 07:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963644160001,"66":25299,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963644160001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-09 07:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963644160001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-09 07:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":175192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:58:17] local.INFO: GPS data processed {"connection_id":175192,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:58:17] local.INFO: Acknowledgment sent {"connection_id":175192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:58:44] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:58:44] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:58:44] local.INFO: IMEI packet received {"connection_id":175194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":175194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:58:45] local.INFO: TCP Data received {"connection_id":178002,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe01a8012d7a320005e45d38000f004628..."} 
[2026-09-09 07:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe01a8012d7a320005e45d38000f004628..."} 
[2026-09-09 07:58:45] local.INFO: Processing buffer {"connection_id":178002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe01a8012d7a320005e45d38000f004628..."} 
[2026-09-09 07:58:45] local.INFO: Packet analysis {"connection_id":178002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:58:45] local.INFO: Extracted packet for processing {"connection_id":178002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:58:45] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":98852152,"longitude_deg":76.2982912,"latitude_deg":9.8852152,"altitude":15,"angle":70,"satellites":40,"speed":6,"hex_longitude":"2d7a3200","hex_latitude":"05e45d38","is_valid_coordinates":true} 
[2026-09-09 07:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963738880001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130196135372390400,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804678034303776768,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788920857000,"timestamp_ms":1788920857000,"timestamp_seconds":1788920857,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe01a8"} 
[2026-09-09 07:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:58: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-09-09 07:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 07:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963738880001,"66":13319,"39":206,"87":13824,"24":6,"16":130196135372390400,"45":8804678034303776768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 07:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963738880001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:58:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 07:58:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 07:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130196135372390400,"km_value":130196135372390.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804678034303776768,"description":"Unknown IO ID 45"} 
[2026-09-09 07:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963738880001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8804678034303776768}} 
[2026-09-09 07:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":178002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:58:45] local.INFO: GPS data processed {"connection_id":178002,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:58:45] local.INFO: Acknowledgment sent {"connection_id":178002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:58:50] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:58:50] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:58:50] local.INFO: IMEI packet received {"connection_id":175194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":175194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:58:51] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 07:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 07:58:51] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 07:58:51] local.INFO: Packet analysis {"connection_id":175194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:58:51] local.INFO: Extracted packet for processing {"connection_id":175194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 07:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 07:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 07:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":175194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:58:51] local.INFO: GPS data processed {"connection_id":175194,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:58:51] local.INFO: Acknowledgment sent {"connection_id":175194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:58:57] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 07:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 07:58:57] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 07:58:57] local.INFO: Packet analysis {"connection_id":175194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:58:57] local.INFO: Extracted packet for processing {"connection_id":175194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:58:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 07:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 07:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 07:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:58: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-09-09 07:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:58:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:58:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 07:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 07:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":175194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:58:57] local.INFO: GPS data processed {"connection_id":175194,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:58:57] local.INFO: Acknowledgment sent {"connection_id":175194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:59:01] local.INFO: TCP Data received {"connection_id":178003,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:59:01] local.INFO: Processing buffer {"connection_id":178003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:59:01] local.INFO: IMEI packet received {"connection_id":178003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 07:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":178003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:59:02] local.INFO: TCP Data received {"connection_id":178003,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:59:02] local.INFO: Processing buffer {"connection_id":178003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:59:02] local.INFO: IMEI packet received {"connection_id":178003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":178003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:59:06] local.INFO: TCP Data received {"connection_id":178003,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:59:06] local.INFO: Processing buffer {"connection_id":178003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 07:59:06] local.INFO: IMEI packet received {"connection_id":178003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 07:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":178003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:59:08] local.INFO: TCP Data received {"connection_id":178003,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe53b0012d7a328005e45e18000f004629..."} 
[2026-09-09 07:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe53b0012d7a328005e45e18000f004629..."} 
[2026-09-09 07:59:08] local.INFO: Processing buffer {"connection_id":178003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe53b0012d7a328005e45e18000f004629..."} 
[2026-09-09 07:59:08] local.INFO: Packet analysis {"connection_id":178003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:59:08] local.INFO: Extracted packet for processing {"connection_id":178003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:59:08] local.INFO: GPS Element Parsed {"raw_longitude":762983040,"raw_latitude":98852376,"longitude_deg":76.298304,"latitude_deg":9.8852376,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d7a3280","hex_latitude":"05e45e18","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963739392001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130196148257292288,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805100246768891904,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59: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-09-09 07:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788920878000,"timestamp_ms":1788920878000,"timestamp_seconds":1788920878,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe53b0"} 
[2026-09-09 07:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2214382864,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":131,"raw_value":4252049409,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7286824235756627456,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3221611612,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376792,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2355822592,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831238656,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.WARNING: Large IO value detected {"io_id":252,"raw_value":9146812138027368453,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,39,87,24,241,157,16,140,160,249,45,128,92,14,41,10,66,242,64,91,15,195,192,1,240,122,227,131,228,4,113,205,31,61,40,239,52,2,206,5,94,252],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-09 07:59:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080941048181948416,"timestamp_seconds":1080941048181948.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 07:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963739392001,"66":13559,"39":206,"87":13824,"24":0,"16":130196148257292288,"45":8805100246768891904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 07:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963739392001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:59:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 07:59:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 07:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130196148257292288,"km_value":130196148257292.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805100246768891904,"description":"Unknown IO ID 45"} 
[2026-09-09 07:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963739392001,"power":13559,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805100246768891904}} 
[2026-09-09 07:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":178003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:59:08] local.INFO: GPS data processed {"connection_id":178003,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:59:08] local.INFO: Acknowledgment sent {"connection_id":178003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:59:39] local.INFO: TCP Data received {"connection_id":176551,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:59:39] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:59:39] local.INFO: IMEI packet received {"connection_id":176551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 07:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":176551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 07:59:41] local.INFO: TCP Data received {"connection_id":178003,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fea5b8012d7a328005e45e18000f004628..."} 
[2026-09-09 07:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fea5b8012d7a328005e45e18000f004628..."} 
[2026-09-09 07:59:41] local.INFO: Processing buffer {"connection_id":178003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fea5b8012d7a328005e45e18000f004628..."} 
[2026-09-09 07:59:41] local.INFO: Packet analysis {"connection_id":178003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:59:41] local.INFO: Extracted packet for processing {"connection_id":178003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:59:41] local.INFO: GPS Element Parsed {"raw_longitude":762983040,"raw_latitude":98852376,"longitude_deg":76.298304,"latitude_deg":9.8852376,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7a3280","hex_latitude":"05e45e18","is_valid_coordinates":true} 
[2026-09-09 07: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-09-09 07:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744768001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130196148257292288,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805240984257304576,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788920899000,"timestamp_ms":1788920899000,"timestamp_seconds":1788920899,"priority":1,"record_length":96,"hex_timestamp":"000001a083fea5b8"} 
[2026-09-09 07:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 07:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07: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-09-09 07:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 07:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 07:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 07:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744768001,"66":13906,"39":206,"87":13824,"24":0,"16":130196148257292288,"45":8805240984257304576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 07:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 07:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 07:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744768001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:59:41] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 07:59:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 07:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130196148257292288,"km_value":130196148257292.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805240984257304576,"description":"Unknown IO ID 45"} 
[2026-09-09 07:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744768001,"power":13906,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805240984257304576}} 
[2026-09-09 07:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":178003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:59:41] local.INFO: GPS data processed {"connection_id":178003,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:59:41] local.INFO: Acknowledgment sent {"connection_id":178003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 07:59:44] local.INFO: TCP Data received {"connection_id":176551,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:59:44] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 07:59:44] local.INFO: IMEI packet received {"connection_id":176551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 07:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":176551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 07:59:45] local.INFO: TCP Data received {"connection_id":176551,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 07:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 07:59:45] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 07:59:45] local.INFO: Packet analysis {"connection_id":176551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:59:45] local.INFO: Extracted packet for processing {"connection_id":176551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 07:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 07:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 07:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 07:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 07:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 07:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 07:59: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-09-09 07:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 07:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 07:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 07:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 07:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 07:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 07:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 07:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 07:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 07:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 07:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 07:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 07:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 07:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 07:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 07:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 07:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 07:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 07:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 07:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":176551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 07:59:45] local.INFO: GPS data processed {"connection_id":176551,"processed":1,"errors":0,"total":1} 
[2026-09-09 07:59:45] local.INFO: Acknowledgment sent {"connection_id":176551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:00:07] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:00:07] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:00:07] local.INFO: IMEI packet received {"connection_id":175196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":175196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:00:13] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:00:13] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:00:13] local.INFO: IMEI packet received {"connection_id":175196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":175196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:00:17] local.INFO: TCP Data received {"connection_id":176551,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:00:17] local.INFO: Processing buffer {"connection_id":176551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:00:17] local.INFO: Packet analysis {"connection_id":176551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:00:17] local.INFO: Extracted packet for processing {"connection_id":176551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 08:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 08:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:00: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-09-09 08:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 08:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 08:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":176551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:00:17] local.INFO: GPS data processed {"connection_id":176551,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:00:17] local.INFO: Acknowledgment sent {"connection_id":176551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:00:24] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083fef7c0012d7a328005e45e18000f004627..."} 
[2026-09-09 08:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fef7c0012d7a328005e45e18000f004627..."} 
[2026-09-09 08:00:24] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fef7c0012d7a328005e45e18000f004627..."} 
[2026-09-09 08:00:24] local.INFO: Packet analysis {"connection_id":175196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:00:24] local.INFO: Extracted packet for processing {"connection_id":175196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:00:24] local.INFO: GPS Element Parsed {"raw_longitude":762983040,"raw_latitude":98852376,"longitude_deg":76.298304,"latitude_deg":9.8852376,"altitude":15,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7a3280","hex_latitude":"05e45e18","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963750144001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130196148257292288,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805240984257304576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788920920000,"timestamp_ms":1788920920000,"timestamp_seconds":1788920920,"priority":1,"record_length":96,"hex_timestamp":"000001a083fef7c0"} 
[2026-09-09 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-09-09 08:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 08:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963750144001,"66":13526,"39":206,"87":13824,"24":0,"16":130196148257292288,"45":8805240984257304576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963750144001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:00:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:00:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130196148257292288,"km_value":130196148257292.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805240984257304576,"description":"Unknown IO ID 45"} 
[2026-09-09 08:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963750144001,"power":13526,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805240984257304576}} 
[2026-09-09 08:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":175196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:00:24] local.INFO: GPS data processed {"connection_id":175196,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:00:24] local.INFO: Acknowledgment sent {"connection_id":175196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:00:26] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ff49c8012d7a328005e45e18000f004628..."} 
[2026-09-09 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ff49c8012d7a328005e45e18000f004628..."} 
[2026-09-09 08:00:26] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ff49c8012d7a328005e45e18000f004628..."} 
[2026-09-09 08:00:26] local.INFO: Packet analysis {"connection_id":175196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ff"} 
[2026-09-09 08:00:26] local.INFO: Extracted packet for processing {"connection_id":175196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ff"} 
[2026-09-09 08:00:26] local.INFO: GPS Element Parsed {"raw_longitude":762983040,"raw_latitude":98852376,"longitude_deg":76.298304,"latitude_deg":9.8852376,"altitude":15,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7a3280","hex_latitude":"05e45e18","is_valid_coordinates":true} 
[2026-09-09 08:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963755520001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130196148257292288,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805240984257304576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788920941000,"timestamp_ms":1788920941000,"timestamp_seconds":1788920941,"priority":1,"record_length":96,"hex_timestamp":"000001a083ff49c8"} 
[2026-09-09 08:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 08:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963755520001,"66":13798,"39":206,"87":13824,"24":0,"16":130196148257292288,"45":8805240984257304576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963755520001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:00:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:00:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130196148257292288,"km_value":130196148257292.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805240984257304576,"description":"Unknown IO ID 45"} 
[2026-09-09 08:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963755520001,"power":13798,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805240984257304576}} 
[2026-09-09 08:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":175196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:00:26] local.INFO: GPS data processed {"connection_id":175196,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:00:26] local.INFO: Acknowledgment sent {"connection_id":175196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:00:39] local.INFO: TCP Data received {"connection_id":178004,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:00:39] local.INFO: Processing buffer {"connection_id":178004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:00:39] local.INFO: IMEI packet received {"connection_id":178004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":178004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:00:44] local.INFO: TCP Data received {"connection_id":178004,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:00:44] local.INFO: Processing buffer {"connection_id":178004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:00:44] local.INFO: IMEI packet received {"connection_id":178004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":178004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:00:46] local.INFO: TCP Data received {"connection_id":178004,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:00:46] local.INFO: Processing buffer {"connection_id":178004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:00:46] local.INFO: Packet analysis {"connection_id":178004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:00:46] local.INFO: Extracted packet for processing {"connection_id":178004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 08:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 08:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 08:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 08:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 08:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":178004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:00:46] local.INFO: GPS data processed {"connection_id":178004,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:00:46] local.INFO: Acknowledgment sent {"connection_id":178004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:01:11] local.INFO: TCP Data received {"connection_id":175435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:01:11] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:01:11] local.INFO: IMEI packet received {"connection_id":175435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":175435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:01:12] local.INFO: TCP Data received {"connection_id":175435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:01:12] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:01:12] local.INFO: IMEI packet received {"connection_id":175435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":175435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:01:16] local.INFO: TCP Data received {"connection_id":175435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:01:16] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:01:16] local.INFO: IMEI packet received {"connection_id":175435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":175435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:01:17] local.INFO: TCP Data received {"connection_id":178004,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:01:17] local.INFO: Processing buffer {"connection_id":178004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:01:17] local.INFO: Packet analysis {"connection_id":178004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:01:17] local.INFO: Extracted packet for processing {"connection_id":178004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 08:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 08:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:01: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-09-09 08:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:01:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 08:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 08:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":178004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:01:17] local.INFO: GPS data processed {"connection_id":178004,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:01:17] local.INFO: Acknowledgment sent {"connection_id":178004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:01:23] local.INFO: TCP Data received {"connection_id":175435,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ff8848012d7a334005e461200013005828..."} 
[2026-09-09 08:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ff8848012d7a334005e461200013005828..."} 
[2026-09-09 08:01:23] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ff8848012d7a334005e461200013005828..."} 
[2026-09-09 08:01:23] local.INFO: Packet analysis {"connection_id":175435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ff"} 
[2026-09-09 08:01:23] local.INFO: Extracted packet for processing {"connection_id":175435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ff"} 
[2026-09-09 08:01:23] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98853152,"longitude_deg":76.2983232,"latitude_deg":9.8853152,"altitude":19,"angle":88,"satellites":40,"speed":7,"hex_longitude":"2d7a3340","hex_latitude":"05e46120","is_valid_coordinates":true} 
[2026-09-09 08:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963760896001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130196191206965248,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805240984257304576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788920957000,"timestamp_ms":1788920957000,"timestamp_seconds":1788920957,"priority":1,"record_length":96,"hex_timestamp":"000001a083ff8848"} 
[2026-09-09 08:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 08:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963760896001,"66":13928,"39":206,"87":13824,"24":7,"16":130196191206965248,"45":8805240984257304576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963760896001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:01:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:01:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130196191206965248,"km_value":130196191206965.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805240984257304576,"description":"Unknown IO ID 45"} 
[2026-09-09 08:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963760896001,"power":13928,"unknown_39":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8805240984257304576}} 
[2026-09-09 08:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":175435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:01:23] local.INFO: GPS data processed {"connection_id":175435,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:01:23] local.INFO: Acknowledgment sent {"connection_id":175435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:01:44] local.INFO: TCP Data received {"connection_id":175436,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:01:44] local.INFO: Processing buffer {"connection_id":175436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:01:44] local.INFO: IMEI packet received {"connection_id":175436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":175436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:01:49] local.INFO: TCP Data received {"connection_id":175436,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:01:49] local.INFO: Processing buffer {"connection_id":175436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:01:49] local.INFO: IMEI packet received {"connection_id":175436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":175436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:01:50] local.INFO: TCP Data received {"connection_id":175436,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:01:50] local.INFO: Processing buffer {"connection_id":175436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:01:50] local.INFO: Packet analysis {"connection_id":175436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:01:50] local.INFO: Extracted packet for processing {"connection_id":175436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 08:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 08:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:01: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-09-09 08:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:01:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 08:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 08:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":175436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:01:50] local.INFO: GPS data processed {"connection_id":175436,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:01:50] local.INFO: Acknowledgment sent {"connection_id":175436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:01:55] local.INFO: TCP Data received {"connection_id":175436,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:01:55] local.INFO: Processing buffer {"connection_id":175436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:01:55] local.INFO: Packet analysis {"connection_id":175436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:01:55] local.INFO: Extracted packet for processing {"connection_id":175436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 08:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 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-09-09 08:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 08:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:01:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:01:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 08:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 08:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":175436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:01:55] local.INFO: GPS data processed {"connection_id":175436,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:01:55] local.INFO: Acknowledgment sent {"connection_id":175436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:02:03] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:02:03] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:02:03] local.INFO: IMEI packet received {"connection_id":176552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":176552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:02:06] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:02:06] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:02:06] local.INFO: IMEI packet received {"connection_id":176552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":176552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:02:07] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a083ff97e8012d7a378005e460f00013004c29..."} 
[2026-09-09 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083ff97e8012d7a378005e460f00013004c29..."} 
[2026-09-09 08:02:07] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083ff97e8012d7a378005e460f00013004c29..."} 
[2026-09-09 08:02:07] local.INFO: Packet analysis {"connection_id":176552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083ff"} 
[2026-09-09 08:02:07] local.INFO: Extracted packet for processing {"connection_id":176552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083ff"} 
[2026-09-09 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":762984320,"raw_latitude":98853104,"longitude_deg":76.298432,"latitude_deg":9.8853104,"altitude":19,"angle":76,"satellites":41,"speed":10,"hex_longitude":"2d7a3780","hex_latitude":"05e460f0","is_valid_coordinates":true} 
[2026-09-09 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963764992001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130196242746572800,"note":"Value kept but may cause issues"} 
[2026-09-09 08:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090490036224,"note":"Value kept but may cause issues"} 
[2026-09-09 08:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788920961000,"timestamp_ms":1788920961000,"timestamp_seconds":1788920961,"priority":1,"record_length":96,"hex_timestamp":"000001a083ff97e8"} 
[2026-09-09 08:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:02: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-09-09 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 08:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963764992001,"66":13798,"39":206,"87":13824,"24":10,"16":130196242746572800,"45":8805452090490036224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963764992001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:02:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:02:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130196242746572800,"km_value":130196242746572.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090490036224,"description":"Unknown IO ID 45"} 
[2026-09-09 08:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963764992001,"power":13798,"unknown_39":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8805452090490036224}} 
[2026-09-09 08:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":176552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:02:07] local.INFO: GPS data processed {"connection_id":176552,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:02:07] local.INFO: Acknowledgment sent {"connection_id":176552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:02:39] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084021c70012d7ace0005e40ec80009009725..."} 
[2026-09-09 08:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084021c70012d7ace0005e40ec80009009725..."} 
[2026-09-09 08:02:39] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084021c70012d7ace0005e40ec80009009725..."} 
[2026-09-09 08:02:39] local.INFO: Packet analysis {"connection_id":176552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:02:39] local.INFO: Extracted packet for processing {"connection_id":176552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763022848,"raw_latitude":98832072,"longitude_deg":76.3022848,"latitude_deg":9.8832072,"altitude":9,"angle":151,"satellites":37,"speed":23,"hex_longitude":"2d7ace00","hex_latitude":"05e40ec8","is_valid_coordinates":true} 
[2026-09-09 08:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963805184001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130198562028912640,"note":"Value kept but may cause issues"} 
[2026-09-09 08:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843240106109603840,"note":"Value kept but may cause issues"} 
[2026-09-09 08:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921126000,"timestamp_ms":1788921126000,"timestamp_seconds":1788921126,"priority":1,"record_length":96,"hex_timestamp":"000001a084021c70"} 
[2026-09-09 08:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:02: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-09-09 08:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-09 08:02: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-09-09 08:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963805184001,"66":13374,"39":206,"87":13824,"24":23,"16":130198562028912640,"45":8843240106109603840},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963805184001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:02:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:02:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130198562028912640,"km_value":130198562028912.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843240106109603840,"description":"Unknown IO ID 45"} 
[2026-09-09 08:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963805184001,"power":13374,"unknown_39":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8843240106109603840}} 
[2026-09-09 08:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":176552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:02:39] local.INFO: GPS data processed {"connection_id":176552,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:02:39] local.INFO: Acknowledgment sent {"connection_id":176552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:02:39] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:02:39] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:02:39] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:02:44] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:02:44] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:02:44] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:02:45] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:02:45] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:02:45] local.INFO: Packet analysis {"connection_id":176553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:02:45] local.INFO: Extracted packet for processing {"connection_id":176553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 08:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 08:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:02: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-09-09 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 08:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 08:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 08:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":176553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:02:45] local.INFO: GPS data processed {"connection_id":176553,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:02:45] local.INFO: Acknowledgment sent {"connection_id":176553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:02:47] local.INFO: TCP Data received {"connection_id":178006,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:02:47] local.INFO: Processing buffer {"connection_id":178006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:02:47] local.INFO: IMEI packet received {"connection_id":178006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":178006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:03:01] local.INFO: TCP Data received {"connection_id":178007,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:03:01] local.INFO: Processing buffer {"connection_id":178007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:03:01] local.INFO: IMEI packet received {"connection_id":178007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":178007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:03:06] local.INFO: TCP Data received {"connection_id":178007,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:03:06] local.INFO: Processing buffer {"connection_id":178007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:03:06] local.INFO: IMEI packet received {"connection_id":178007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":178007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:03:07] local.INFO: TCP Data received {"connection_id":178007,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084022440012d7ad00005e40a58000900a426..."} 
[2026-09-09 08:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084022440012d7ad00005e40a58000900a426..."} 
[2026-09-09 08:03:07] local.INFO: Processing buffer {"connection_id":178007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084022440012d7ad00005e40a58000900a426..."} 
[2026-09-09 08:03:07] local.INFO: Packet analysis {"connection_id":178007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:03:07] local.INFO: Extracted packet for processing {"connection_id":178007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763023360,"raw_latitude":98830936,"longitude_deg":76.302336,"latitude_deg":9.8830936,"altitude":9,"angle":164,"satellites":38,"speed":25,"hex_longitude":"2d7ad000","hex_latitude":"05e40a58","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963808256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130198622158454784,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130613760,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788921128000,"timestamp_ms":1788921128000,"timestamp_seconds":1788921128,"priority":1,"record_length":96,"hex_timestamp":"000001a084022440"} 
[2026-09-09 08:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-09 08:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963808256001,"66":13624,"39":206,"87":13824,"24":25,"16":130198622158454784,"45":8849010343130613760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963808256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:03:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:03:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130198622158454784,"km_value":130198622158454.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130613760,"description":"Unknown IO ID 45"} 
[2026-09-09 08:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963808256001,"power":13624,"unknown_39":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8849010343130613760}} 
[2026-09-09 08:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":178007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:03:08] local.INFO: GPS data processed {"connection_id":178007,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:03:08] local.INFO: Acknowledgment sent {"connection_id":178007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:03:16] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:03:16] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a083fe4be0012d34c14006aa42c80005010724..."} 
[2026-09-09 08:03:16] local.INFO: Packet analysis {"connection_id":176553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:03:16] local.INFO: Extracted packet for processing {"connection_id":176553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a083fe"} 
[2026-09-09 08:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963667200001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150307328,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788920876000,"timestamp_ms":1788920876000,"timestamp_seconds":1788920876,"priority":1,"record_length":96,"hex_timestamp":"000001a083fe4be0"} 
[2026-09-09 08:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 08:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963667200001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150307328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963667200001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150307328,"description":"Unknown IO ID 45"} 
[2026-09-09 08:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963667200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150307328}} 
[2026-09-09 08:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":176553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:03:16] local.INFO: GPS data processed {"connection_id":176553,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:03:16] local.INFO: Acknowledgment sent {"connection_id":176553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:03:39] local.INFO: TCP Data received {"connection_id":178007,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084025af0012d7ad74005e3e790000700a829..."} 
[2026-09-09 08:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084025af0012d7ad74005e3e790000700a829..."} 
[2026-09-09 08:03:39] local.INFO: Processing buffer {"connection_id":178007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084025af0012d7ad74005e3e790000700a829..."} 
[2026-09-09 08:03:39] local.INFO: Packet analysis {"connection_id":178007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:03:39] local.INFO: Extracted packet for processing {"connection_id":178007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763025216,"raw_latitude":98822032,"longitude_deg":76.3025216,"latitude_deg":9.8822032,"altitude":7,"angle":168,"satellites":41,"speed":23,"hex_longitude":"2d7ad740","hex_latitude":"05e3e790","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963808768001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130199064540086272,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849573293083744256,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921142000,"timestamp_ms":1788921142000,"timestamp_seconds":1788921142,"priority":1,"record_length":96,"hex_timestamp":"000001a084025af0"} 
[2026-09-09 08:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:03: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-09-09 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 08:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963808768001,"66":13646,"39":206,"87":13824,"24":23,"16":130199064540086272,"45":8849573293083744256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963808768001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:03:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:03:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130199064540086272,"km_value":130199064540086.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849573293083744256,"description":"Unknown IO ID 45"} 
[2026-09-09 08:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963808768001,"power":13646,"unknown_39":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8849573293083744256}} 
[2026-09-09 08:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":178007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:03:39] local.INFO: GPS data processed {"connection_id":178007,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:03:39] local.INFO: Acknowledgment sent {"connection_id":178007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:03:39] local.INFO: TCP Data received {"connection_id":176554,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:03:39] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:03:39] local.INFO: IMEI packet received {"connection_id":176554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":176554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:03:44] local.INFO: TCP Data received {"connection_id":176554,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:03:44] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:03:44] local.INFO: IMEI packet received {"connection_id":176554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":176554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:03:45] local.INFO: TCP Data received {"connection_id":176554,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:03:45] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:03:45] local.INFO: Packet analysis {"connection_id":176554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:03:45] local.INFO: Extracted packet for processing {"connection_id":176554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 08:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:03: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-09-09 08:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:03:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":176554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:03:45] local.INFO: GPS data processed {"connection_id":176554,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:03:45] local.INFO: Acknowledgment sent {"connection_id":176554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:04:01] local.INFO: TCP Data received {"connection_id":175437,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:04:01] local.INFO: Processing buffer {"connection_id":175437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:04:01] local.INFO: IMEI packet received {"connection_id":175437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":175437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:04:07] local.INFO: TCP Data received {"connection_id":175437,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:04:07] local.INFO: Processing buffer {"connection_id":175437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:04:07] local.INFO: IMEI packet received {"connection_id":175437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":175437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:04:08] local.INFO: TCP Data received {"connection_id":175437,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084029588012d7ae0c005e3c630000800a328..."} 
[2026-09-09 08:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084029588012d7ae0c005e3c630000800a328..."} 
[2026-09-09 08:04:08] local.INFO: Processing buffer {"connection_id":175437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084029588012d7ae0c005e3c630000800a328..."} 
[2026-09-09 08:04:08] local.INFO: Packet analysis {"connection_id":175437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:04:08] local.INFO: Extracted packet for processing {"connection_id":175437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763027648,"raw_latitude":98813488,"longitude_deg":76.3027648,"latitude_deg":9.8813488,"altitude":8,"angle":163,"satellites":40,"speed":24,"hex_longitude":"2d7ae0c0","hex_latitude":"05e3c630","is_valid_coordinates":true} 
[2026-09-09 08:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963812352001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130199498331783168,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851613986662617088,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04: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-09-09 08:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788921157000,"timestamp_ms":1788921157000,"timestamp_seconds":1788921157,"priority":1,"record_length":96,"hex_timestamp":"000001a084029588"} 
[2026-09-09 08:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-09 08:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963812352001,"66":13602,"208":206,"85":15104,"24":24,"16":130199498331783168,"45":8851613986662617088},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963812352001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:04:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130199498331783168,"km_value":130199498331783.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851613986662617088,"description":"Unknown IO ID 45"} 
[2026-09-09 08:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963812352001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8851613986662617088}} 
[2026-09-09 08:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":175437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:04:08] local.INFO: GPS data processed {"connection_id":175437,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:04:08] local.INFO: Acknowledgment sent {"connection_id":175437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:04:17] local.INFO: TCP Data received {"connection_id":176554,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:04:17] local.INFO: Processing buffer {"connection_id":176554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:04:17] local.INFO: Packet analysis {"connection_id":176554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:04:17] local.INFO: Extracted packet for processing {"connection_id":176554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 08:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":176554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:04:17] local.INFO: GPS data processed {"connection_id":176554,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:04:17] local.INFO: Acknowledgment sent {"connection_id":176554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:04:39] local.INFO: TCP Data received {"connection_id":178008,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:04:39] local.INFO: Processing buffer {"connection_id":178008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:04:39] local.INFO: IMEI packet received {"connection_id":178008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":178008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:04:40] local.INFO: TCP Data received {"connection_id":175437,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08402d7f0012d7aeb4005e3a4c0000800a228..."} 
[2026-09-09 08:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402d7f0012d7aeb4005e3a4c0000800a228..."} 
[2026-09-09 08:04:40] local.INFO: Processing buffer {"connection_id":175437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402d7f0012d7aeb4005e3a4c0000800a228..."} 
[2026-09-09 08:04:40] local.INFO: Packet analysis {"connection_id":175437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:04:40] local.INFO: Extracted packet for processing {"connection_id":175437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763030336,"raw_latitude":98804928,"longitude_deg":76.3030336,"latitude_deg":9.8804928,"altitude":8,"angle":162,"satellites":40,"speed":16,"hex_longitude":"2d7aeb40","hex_latitude":"05e3a4c0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963816192001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130199932123480064,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854287998939181056,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04: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-09-09 08:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788921174000,"timestamp_ms":1788921174000,"timestamp_seconds":1788921174,"priority":1,"record_length":96,"hex_timestamp":"000001a08402d7f0"} 
[2026-09-09 08:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 08:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963816192001,"66":14135,"208":206,"85":15104,"24":16,"16":130199932123480064,"45":8854287998939181056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963816192001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:04:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130199932123480064,"km_value":130199932123480.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854287998939181056,"description":"Unknown IO ID 45"} 
[2026-09-09 08:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963816192001,"power":14135,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8854287998939181056}} 
[2026-09-09 08:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":175437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:04:40] local.INFO: GPS data processed {"connection_id":175437,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:04:40] local.INFO: Acknowledgment sent {"connection_id":175437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:04:44] local.INFO: TCP Data received {"connection_id":178008,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:04:44] local.INFO: Processing buffer {"connection_id":178008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:04:44] local.INFO: IMEI packet received {"connection_id":178008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":178008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:04:45] local.INFO: TCP Data received {"connection_id":178008,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:04:45] local.INFO: Processing buffer {"connection_id":178008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:04:45] local.INFO: Packet analysis {"connection_id":178008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:04:45] local.INFO: Extracted packet for processing {"connection_id":178008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 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-09-09 08:04: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-09-09 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:04:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":178008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:04:45] local.INFO: GPS data processed {"connection_id":178008,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:04:45] local.INFO: Acknowledgment sent {"connection_id":178008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:05:01] local.INFO: TCP Data received {"connection_id":175197,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:05:01] local.INFO: Processing buffer {"connection_id":175197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:05:01] local.INFO: IMEI packet received {"connection_id":175197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":175197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:05:06] local.INFO: TCP Data received {"connection_id":175197,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:05:06] local.INFO: Processing buffer {"connection_id":175197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:05:06] local.INFO: IMEI packet received {"connection_id":175197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":175197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:05:09] local.INFO: TCP Data received {"connection_id":175197,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840329f8012d7af48005e389c8000700a029..."} 
[2026-09-09 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840329f8012d7af48005e389c8000700a029..."} 
[2026-09-09 08:05:09] local.INFO: Processing buffer {"connection_id":175197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840329f8012d7af48005e389c8000700a029..."} 
[2026-09-09 08:05:09] local.INFO: Packet analysis {"connection_id":175197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08403"} 
[2026-09-09 08:05:09] local.INFO: Extracted packet for processing {"connection_id":175197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08403"} 
[2026-09-09 08:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763032704,"raw_latitude":98798024,"longitude_deg":76.3032704,"latitude_deg":9.8798024,"altitude":7,"angle":160,"satellites":41,"speed":17,"hex_longitude":"2d7af480","hex_latitude":"05e389c8","is_valid_coordinates":true} 
[2026-09-09 08:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963820544001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130200284310798336,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857243486192451584,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05: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-09-09 08:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788921195000,"timestamp_ms":1788921195000,"timestamp_seconds":1788921195,"priority":1,"record_length":96,"hex_timestamp":"000001a0840329f8"} 
[2026-09-09 08:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 08:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963820544001,"66":13624,"208":206,"85":15104,"24":17,"16":130200284310798336,"45":8857243486192451584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963820544001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:05:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130200284310798336,"km_value":130200284310798.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857243486192451584,"description":"Unknown IO ID 45"} 
[2026-09-09 08:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963820544001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8857243486192451584}} 
[2026-09-09 08:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":175197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:05:09] local.INFO: GPS data processed {"connection_id":175197,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:05:09] local.INFO: Acknowledgment sent {"connection_id":175197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:05:16] local.INFO: TCP Data received {"connection_id":178008,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:05:16] local.INFO: Processing buffer {"connection_id":178008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:05:16] local.INFO: Packet analysis {"connection_id":178008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:05:16] local.INFO: Extracted packet for processing {"connection_id":178008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 08:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:05:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":178008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:05:17] local.INFO: GPS data processed {"connection_id":178008,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:05:17] local.INFO: Acknowledgment sent {"connection_id":178008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:05:39] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:05:39] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:05:39] local.INFO: IMEI packet received {"connection_id":176556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":176556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:05:42] local.INFO: TCP Data received {"connection_id":175197,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084037c00012d7afe0005e36870000700a628..."} 
[2026-09-09 08:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084037c00012d7afe0005e36870000700a628..."} 
[2026-09-09 08:05:42] local.INFO: Processing buffer {"connection_id":175197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084037c00012d7afe0005e36870000700a628..."} 
[2026-09-09 08:05:42] local.INFO: Packet analysis {"connection_id":175197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08403"} 
[2026-09-09 08:05:42] local.INFO: Extracted packet for processing {"connection_id":175197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08403"} 
[2026-09-09 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763035136,"raw_latitude":98789488,"longitude_deg":76.3035136,"latitude_deg":9.8789488,"altitude":7,"angle":166,"satellites":40,"speed":14,"hex_longitude":"2d7afe00","hex_latitude":"05e36870","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963825920001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130200718102495232,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859847129725257728,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05: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-09-09 08:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788921216000,"timestamp_ms":1788921216000,"timestamp_seconds":1788921216,"priority":1,"record_length":96,"hex_timestamp":"000001a084037c00"} 
[2026-09-09 08:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 08:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963825920001,"66":13602,"208":206,"85":15104,"24":14,"16":130200718102495232,"45":8859847129725257728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963825920001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:05:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130200718102495232,"km_value":130200718102495.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859847129725257728,"description":"Unknown IO ID 45"} 
[2026-09-09 08:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963825920001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8859847129725257728}} 
[2026-09-09 08:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":175197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:05:42] local.INFO: GPS data processed {"connection_id":175197,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:05:42] local.INFO: Acknowledgment sent {"connection_id":175197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:05:44] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:05:44] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:05:44] local.INFO: IMEI packet received {"connection_id":176556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":176556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:05:46] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:05:46] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:05:46] local.INFO: Packet analysis {"connection_id":176556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:05:46] local.INFO: Extracted packet for processing {"connection_id":176556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 08:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":176556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:05:46] local.INFO: GPS data processed {"connection_id":176556,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:05:46] local.INFO: Acknowledgment sent {"connection_id":176556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:06:06] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:06:06] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:06:06] local.INFO: IMEI packet received {"connection_id":176557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":176557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:06:06] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:06:06] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:06:06] local.INFO: IMEI packet received {"connection_id":176557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":176557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:06:10] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:06:10] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:06:10] local.INFO: IMEI packet received {"connection_id":176557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":176557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:06:11] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08405ae80012d7b0a0005e34250000a009a25..."} 
[2026-09-09 08:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08405ae80012d7b0a0005e34250000a009a25..."} 
[2026-09-09 08:06:11] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08405ae80012d7b0a0005e34250000a009a25..."} 
[2026-09-09 08:06:11] local.INFO: Packet analysis {"connection_id":176557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:06:11] local.INFO: Extracted packet for processing {"connection_id":176557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98779728,"longitude_deg":76.3038208,"latitude_deg":9.8779728,"altitude":10,"angle":154,"satellites":37,"speed":8,"hex_longitude":"2d7b0a00","hex_latitude":"05e34250","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963867136001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201246383472640,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366743382016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788921360000,"timestamp_ms":1788921360000,"timestamp_seconds":1788921360,"priority":1,"record_length":96,"hex_timestamp":"000001a08405ae80"} 
[2026-09-09 08:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 08:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963867136001,"66":13928,"208":206,"85":15104,"24":8,"16":130201246383472640,"45":8865617366743382016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963867136001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:06:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201246383472640,"km_value":130201246383472.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366743382016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963867136001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8865617366743382016}} 
[2026-09-09 08:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":176557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:06:11] local.INFO: GPS data processed {"connection_id":176557,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:06:11] local.INFO: Acknowledgment sent {"connection_id":176557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:06:17] local.INFO: TCP Data received {"connection_id":176556,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:06:17] local.INFO: Processing buffer {"connection_id":176556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:06:17] local.INFO: Packet analysis {"connection_id":176556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:06:17] local.INFO: Extracted packet for processing {"connection_id":176556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 08:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":176556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:06:17] local.INFO: GPS data processed {"connection_id":176556,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:06:17] local.INFO: Acknowledgment sent {"connection_id":176556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:06:44] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08405be20012d7b0bc005e33f20000a00a629..."} 
[2026-09-09 08:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08405be20012d7b0bc005e33f20000a00a629..."} 
[2026-09-09 08:06:44] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08405be20012d7b0bc005e33f20000a00a629..."} 
[2026-09-09 08:06:44] local.INFO: Packet analysis {"connection_id":176557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:06:44] local.INFO: Extracted packet for processing {"connection_id":176557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98778912,"longitude_deg":76.3038656,"latitude_deg":9.8778912,"altitude":10,"angle":166,"satellites":41,"speed":7,"hex_longitude":"2d7b0bc0","hex_latitude":"05e33f20","is_valid_coordinates":true} 
[2026-09-09 08:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963868160001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201293628112896,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841719853056,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06: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-09-09 08:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788921364000,"timestamp_ms":1788921364000,"timestamp_seconds":1788921364,"priority":1,"record_length":96,"hex_timestamp":"000001a08405be20"} 
[2026-09-09 08:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 08:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963868160001,"66":13678,"208":206,"85":15104,"24":7,"16":130201293628112896,"45":8865898841719853056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963868160001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:06:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:06:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201293628112896,"km_value":130201293628112.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841719853056,"description":"Unknown IO ID 45"} 
[2026-09-09 08:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963868160001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8865898841719853056}} 
[2026-09-09 08:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":176557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:06:44] local.INFO: GPS data processed {"connection_id":176557,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:06:44] local.INFO: Acknowledgment sent {"connection_id":176557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:06:44] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:06:44] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:06:44] local.INFO: IMEI packet received {"connection_id":175198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":175198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:06:49] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:06:49] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:06:49] local.INFO: IMEI packet received {"connection_id":175198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":175198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:06:51] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:06:51] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:06:51] local.INFO: Packet analysis {"connection_id":175198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:06:51] local.INFO: Extracted packet for processing {"connection_id":175198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 08:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:06:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":175198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:06:51] local.INFO: GPS data processed {"connection_id":175198,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:06:51] local.INFO: Acknowledgment sent {"connection_id":175198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:06:55] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:06:55] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:06:55] local.INFO: Packet analysis {"connection_id":175198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:06:55] local.INFO: Extracted packet for processing {"connection_id":175198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 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-09-09 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:06:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:06:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":175198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:06:55] local.INFO: GPS data processed {"connection_id":175198,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:06:55] local.INFO: Acknowledgment sent {"connection_id":175198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:07:01] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:07:01] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:07:01] local.INFO: IMEI packet received {"connection_id":175200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":175200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:07:07] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:07:07] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:07:07] local.INFO: IMEI packet received {"connection_id":175200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":175200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:07:09] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08405cdc0012d7b0c8005e33cd8000a00b228..."} 
[2026-09-09 08:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08405cdc0012d7b0c8005e33cd8000a00b228..."} 
[2026-09-09 08:07:09] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08405cdc0012d7b0c8005e33cd8000a00b228..."} 
[2026-09-09 08:07:09] local.INFO: Packet analysis {"connection_id":175200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:07:09] local.INFO: Extracted packet for processing {"connection_id":175200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98778328,"longitude_deg":76.3038848,"latitude_deg":9.8778328,"altitude":10,"angle":178,"satellites":40,"speed":7,"hex_longitude":"2d7b0c80","hex_latitude":"05e33cd8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963869184001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201323692883968,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422928887808,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07: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-09-09 08:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788921368000,"timestamp_ms":1788921368000,"timestamp_seconds":1788921368,"priority":1,"record_length":96,"hex_timestamp":"000001a08405cdc0"} 
[2026-09-09 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-09-09 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":110,"data_length":795,"current_offset":136} 
[2026-09-09 08:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963869184001,"66":13798,"208":206,"85":15104,"24":7,"16":130201323692883968,"45":8866391422928887808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963869184001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:07:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201323692883968,"km_value":130201323692883.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422928887808,"description":"Unknown IO ID 45"} 
[2026-09-09 08:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963869184001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8866391422928887808}} 
[2026-09-09 08:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":175200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:07:09] local.INFO: GPS data processed {"connection_id":175200,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:07:09] local.INFO: Acknowledgment sent {"connection_id":175200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:07:39] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:07:39] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:07:39] local.INFO: IMEI packet received {"connection_id":175201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":175201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:07:40] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08405d978012d7b0cc005e33a98000a00c028..."} 
[2026-09-09 08:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08405d978012d7b0cc005e33a98000a00c028..."} 
[2026-09-09 08:07:40] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08405d978012d7b0cc005e33a98000a00c028..."} 
[2026-09-09 08:07:40] local.INFO: Packet analysis {"connection_id":175200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:07:40] local.INFO: Extracted packet for processing {"connection_id":175200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98777752,"longitude_deg":76.3038912,"latitude_deg":9.8777752,"altitude":10,"angle":192,"satellites":40,"speed":9,"hex_longitude":"2d7b0cc0","hex_latitude":"05e33a98","is_valid_coordinates":true} 
[2026-09-09 08:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963870208001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201353757655040,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529161271296,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07: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-09-09 08:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788921371000,"timestamp_ms":1788921371000,"timestamp_seconds":1788921371,"priority":1,"record_length":96,"hex_timestamp":"000001a08405d978"} 
[2026-09-09 08:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:07: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-09-09 08:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 08:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963870208001,"66":14048,"208":206,"85":15104,"24":9,"16":130201353757655040,"45":8866602529161271296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963870208001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:07:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201353757655040,"km_value":130201353757655.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529161271296,"description":"Unknown IO ID 45"} 
[2026-09-09 08:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963870208001,"power":14048,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8866602529161271296}} 
[2026-09-09 08:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":175200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:07:40] local.INFO: GPS data processed {"connection_id":175200,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:07:40] local.INFO: Acknowledgment sent {"connection_id":175200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:07:44] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:07:44] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:07:44] local.INFO: IMEI packet received {"connection_id":175201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":175201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:07:46] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:07:46] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:07:46] local.INFO: Packet analysis {"connection_id":175201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:07:46] local.INFO: Extracted packet for processing {"connection_id":175201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 08:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":175201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:07:46] local.INFO: GPS data processed {"connection_id":175201,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:07:46] local.INFO: Acknowledgment sent {"connection_id":175201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:07:50] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:07:50] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:07:50] local.INFO: Packet analysis {"connection_id":175201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:07:50] local.INFO: Extracted packet for processing {"connection_id":175201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:07:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 08:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:07:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:07:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":175201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:07:50] local.INFO: GPS data processed {"connection_id":175201,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:07:50] local.INFO: Acknowledgment sent {"connection_id":175201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:08:02] local.INFO: TCP Data received {"connection_id":175202,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:08:02] local.INFO: Processing buffer {"connection_id":175202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:08:02] local.INFO: IMEI packet received {"connection_id":175202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":175202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:08:07] local.INFO: TCP Data received {"connection_id":175202,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:08:07] local.INFO: Processing buffer {"connection_id":175202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:08:07] local.INFO: IMEI packet received {"connection_id":175202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":175202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:08:07] local.INFO: TCP Data received {"connection_id":175439,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:08:07] local.INFO: Processing buffer {"connection_id":175439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:08:07] local.INFO: IMEI packet received {"connection_id":175439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":175439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:08:08] local.INFO: TCP Data received {"connection_id":175202,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08405ed00012d7b0cc005e335b8000a00b228..."} 
[2026-09-09 08:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08405ed00012d7b0cc005e335b8000a00b228..."} 
[2026-09-09 08:08:08] local.INFO: Processing buffer {"connection_id":175202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08405ed00012d7b0cc005e335b8000a00b228..."} 
[2026-09-09 08:08:08] local.INFO: Packet analysis {"connection_id":175202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:08:08] local.INFO: Extracted packet for processing {"connection_id":175202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08405"} 
[2026-09-09 08:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98776504,"longitude_deg":76.3038912,"latitude_deg":9.8776504,"altitude":10,"angle":178,"satellites":40,"speed":9,"hex_longitude":"2d7b0cc0","hex_latitude":"05e335b8","is_valid_coordinates":true} 
[2026-09-09 08:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963870976001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201413887197184,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897905301504,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08: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-09-09 08:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788921376000,"timestamp_ms":1788921376000,"timestamp_seconds":1788921376,"priority":1,"record_length":96,"hex_timestamp":"000001a08405ed00"} 
[2026-09-09 08:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 08:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963870976001,"66":13656,"208":206,"85":15104,"24":9,"16":130201413887197184,"45":8866672897905301504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963870976001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:08:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201413887197184,"km_value":130201413887197.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897905301504,"description":"Unknown IO ID 45"} 
[2026-09-09 08:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963870976001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8866672897905301504}} 
[2026-09-09 08:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":175202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:08:08] local.INFO: GPS data processed {"connection_id":175202,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:08:08] local.INFO: Acknowledgment sent {"connection_id":175202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:08:21] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:08:21] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08402e3a8012d34c14006aa42c80005010724..."} 
[2026-09-09 08:08:21] local.INFO: Packet analysis {"connection_id":175201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:08:21] local.INFO: Extracted packet for processing {"connection_id":175201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08402"} 
[2026-09-09 08:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963744256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788921177000,"timestamp_ms":1788921177000,"timestamp_seconds":1788921177,"priority":1,"record_length":96,"hex_timestamp":"000001a08402e3a8"} 
[2026-09-09 08:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963744256001,"66":25212,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963744256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:08:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963744256001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":175201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:08:21] local.INFO: GPS data processed {"connection_id":175201,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:08:21] local.INFO: Acknowledgment sent {"connection_id":175201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:08:36] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:08:36] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:08:36] local.INFO: IMEI packet received {"connection_id":175203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":175203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:08:39] local.INFO: TCP Data received {"connection_id":175202,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084063738012d7b0f8005e32588000800a627..."} 
[2026-09-09 08:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084063738012d7b0f8005e32588000800a627..."} 
[2026-09-09 08:08:39] local.INFO: Processing buffer {"connection_id":175202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084063738012d7b0f8005e32588000800a627..."} 
[2026-09-09 08:08:39] local.INFO: Packet analysis {"connection_id":175202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:08:39] local.INFO: Extracted packet for processing {"connection_id":175202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98772360,"longitude_deg":76.3039616,"latitude_deg":9.877236,"altitude":8,"angle":166,"satellites":39,"speed":13,"hex_longitude":"2d7b0f80","hex_latitude":"05e32588","is_valid_coordinates":true} 
[2026-09-09 08:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963872256001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201620045627392,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897904982016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08: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-09-09 08:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921395000,"timestamp_ms":1788921395000,"timestamp_seconds":1788921395,"priority":1,"record_length":96,"hex_timestamp":"000001a084063738"} 
[2026-09-09 08:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:08: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-09-09 08:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 08:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963872256001,"66":13961,"208":206,"85":15104,"24":13,"16":130201620045627392,"45":8866672897904982016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963872256001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:08:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201620045627392,"km_value":130201620045627.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897904982016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963872256001,"power":13961,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8866672897904982016}} 
[2026-09-09 08:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":175202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:08:39] local.INFO: GPS data processed {"connection_id":175202,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:08:39] local.INFO: Acknowledgment sent {"connection_id":175202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:08:39] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:08:39] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:08:39] local.INFO: IMEI packet received {"connection_id":175203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":175203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:08:44] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:08:44] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:08:44] local.INFO: IMEI packet received {"connection_id":175203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:08:45] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:08:45] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:08:45] local.INFO: Packet analysis {"connection_id":175203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:08:45] local.INFO: Extracted packet for processing {"connection_id":175203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 08:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:08: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-09-09 08:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:08:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":175203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:08:45] local.INFO: GPS data processed {"connection_id":175203,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:08:45] local.INFO: Acknowledgment sent {"connection_id":175203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:09:02] local.INFO: TCP Data received {"connection_id":175204,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:09:02] local.INFO: Processing buffer {"connection_id":175204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:09:02] local.INFO: IMEI packet received {"connection_id":175204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":175204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:09:02] local.INFO: TCP Data received {"connection_id":175204,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:09:02] local.INFO: Processing buffer {"connection_id":175204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:09:02] local.INFO: IMEI packet received {"connection_id":175204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":175204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:09:06] local.INFO: TCP Data received {"connection_id":175204,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:09:06] local.INFO: Processing buffer {"connection_id":175204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:09:06] local.INFO: IMEI packet received {"connection_id":175204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":175204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:09:08] local.INFO: TCP Data received {"connection_id":175204,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084066de8012d7b154005e315280007009929..."} 
[2026-09-09 08:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084066de8012d7b154005e315280007009929..."} 
[2026-09-09 08:09:08] local.INFO: Processing buffer {"connection_id":175204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084066de8012d7b154005e315280007009929..."} 
[2026-09-09 08:09:08] local.INFO: Packet analysis {"connection_id":175204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:09:08] local.INFO: Extracted packet for processing {"connection_id":175204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98768168,"longitude_deg":76.3041088,"latitude_deg":9.8768168,"altitude":7,"angle":153,"satellites":41,"speed":8,"hex_longitude":"2d7b1540","hex_latitude":"05e31528","is_valid_coordinates":true} 
[2026-09-09 08:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963877120001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201834793992192,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954089875456,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09: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-09-09 08:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788921409000,"timestamp_ms":1788921409000,"timestamp_seconds":1788921409,"priority":1,"record_length":96,"hex_timestamp":"000001a084066de8"} 
[2026-09-09 08:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 08:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963877120001,"66":13243,"208":206,"85":15104,"24":8,"16":130201834793992192,"45":8867446954089875456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963877120001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:09:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201834793992192,"km_value":130201834793992.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954089875456,"description":"Unknown IO ID 45"} 
[2026-09-09 08:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963877120001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8867446954089875456}} 
[2026-09-09 08:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":175204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:09:08] local.INFO: GPS data processed {"connection_id":175204,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:09:08] local.INFO: Acknowledgment sent {"connection_id":175204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:09:18] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:09:18] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:09:18] local.INFO: Packet analysis {"connection_id":175203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:09:18] local.INFO: Extracted packet for processing {"connection_id":175203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 08:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:09: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-09-09 08:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:09: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-09-09 08:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:09:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":175203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:09:18] local.INFO: GPS data processed {"connection_id":175203,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:09:18] local.INFO: Acknowledgment sent {"connection_id":175203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:09:39] local.INFO: TCP Data received {"connection_id":175204,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840675b8012d7b160005e313e00007008a29..."} 
[2026-09-09 08:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840675b8012d7b160005e313e00007008a29..."} 
[2026-09-09 08:09:39] local.INFO: Processing buffer {"connection_id":175204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840675b8012d7b160005e313e00007008a29..."} 
[2026-09-09 08:09:39] local.INFO: Packet analysis {"connection_id":175204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:09:39] local.INFO: Extracted packet for processing {"connection_id":175204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763041280,"raw_latitude":98767840,"longitude_deg":76.304128,"latitude_deg":9.876784,"altitude":7,"angle":138,"satellites":41,"speed":6,"hex_longitude":"2d7b1600","hex_latitude":"05e313e0","is_valid_coordinates":true} 
[2026-09-09 08:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963880704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201856268828672,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435204888576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09: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-09-09 08:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921411000,"timestamp_ms":1788921411000,"timestamp_seconds":1788921411,"priority":1,"record_length":96,"hex_timestamp":"000001a0840675b8"} 
[2026-09-09 08:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-09 08:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963880704001,"66":13613,"208":206,"85":15104,"24":6,"16":130201856268828672,"45":8869065435204888576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963880704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:09:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201856268828672,"km_value":130201856268828.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435204888576,"description":"Unknown IO ID 45"} 
[2026-09-09 08:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963880704001,"power":13613,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8869065435204888576}} 
[2026-09-09 08:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":175204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:09:39] local.INFO: GPS data processed {"connection_id":175204,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:09:39] local.INFO: Acknowledgment sent {"connection_id":175204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:09:39] local.INFO: TCP Data received {"connection_id":176559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:09:39] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:09:39] local.INFO: IMEI packet received {"connection_id":176559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":176559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:09:45] local.INFO: TCP Data received {"connection_id":176559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:09:45] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:09:45] local.INFO: IMEI packet received {"connection_id":176559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":176559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:09:46] local.INFO: TCP Data received {"connection_id":176559,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:09:46] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:09:46] local.INFO: Packet analysis {"connection_id":176559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:09:46] local.INFO: Extracted packet for processing {"connection_id":176559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 08:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":176559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:09:46] local.INFO: GPS data processed {"connection_id":176559,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:09:46] local.INFO: Acknowledgment sent {"connection_id":176559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:10:01] local.INFO: TCP Data received {"connection_id":178010,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:10:01] local.INFO: Processing buffer {"connection_id":178010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:10:01] local.INFO: IMEI packet received {"connection_id":178010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":178010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:10:06] local.INFO: TCP Data received {"connection_id":178010,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:10:06] local.INFO: Processing buffer {"connection_id":178010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:10:06] local.INFO: IMEI packet received {"connection_id":178010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":178010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:10:07] local.INFO: TCP Data received {"connection_id":178010,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084067d88012d7b160005e312b8000700a029..."} 
[2026-09-09 08:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084067d88012d7b160005e312b8000700a029..."} 
[2026-09-09 08:10:07] local.INFO: Processing buffer {"connection_id":178010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084067d88012d7b160005e312b8000700a029..."} 
[2026-09-09 08:10:07] local.INFO: Packet analysis {"connection_id":178010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:10:07] local.INFO: Extracted packet for processing {"connection_id":178010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763041280,"raw_latitude":98767544,"longitude_deg":76.304128,"latitude_deg":9.8767544,"altitude":7,"angle":160,"satellites":41,"speed":5,"hex_longitude":"2d7b1600","hex_latitude":"05e312b8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963881216001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201869153730560,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869276541437337600,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10: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-09-09 08:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788921413000,"timestamp_ms":1788921413000,"timestamp_seconds":1788921413,"priority":1,"record_length":96,"hex_timestamp":"000001a084067d88"} 
[2026-09-09 08:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-09 08:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963881216001,"66":13830,"208":206,"85":15104,"24":5,"16":130201869153730560,"45":8869276541437337600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963881216001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:10:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201869153730560,"km_value":130201869153730.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869276541437337600,"description":"Unknown IO ID 45"} 
[2026-09-09 08:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963881216001,"power":13830,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8869276541437337600}} 
[2026-09-09 08:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":178010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:10:07] local.INFO: GPS data processed {"connection_id":178010,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:10:07] local.INFO: Acknowledgment sent {"connection_id":178010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:10:18] local.INFO: TCP Data received {"connection_id":176559,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:10:18] local.INFO: Processing buffer {"connection_id":176559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:10:18] local.INFO: Packet analysis {"connection_id":176559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:10:18] local.INFO: Extracted packet for processing {"connection_id":176559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 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-09-09 08:10: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-09-09 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:10: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-09-09 08:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:10:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:10:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":176559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:10:18] local.INFO: GPS data processed {"connection_id":176559,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:10:18] local.INFO: Acknowledgment sent {"connection_id":176559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:10:39] local.INFO: TCP Data received {"connection_id":178010,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08406cf90012d7b15c005e311b0000600a029..."} 
[2026-09-09 08:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08406cf90012d7b15c005e311b0000600a029..."} 
[2026-09-09 08:10:39] local.INFO: Processing buffer {"connection_id":178010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08406cf90012d7b15c005e311b0000600a029..."} 
[2026-09-09 08:10:39] local.INFO: Packet analysis {"connection_id":178010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:10:39] local.INFO: Extracted packet for processing {"connection_id":178010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08406"} 
[2026-09-09 08:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763041216,"raw_latitude":98767280,"longitude_deg":76.3041216,"latitude_deg":9.876728,"altitude":6,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2d7b15c0","hex_latitude":"05e311b0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963881728001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130201886333599744,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869276541437261824,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10: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-09-09 08:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921434000,"timestamp_ms":1788921434000,"timestamp_seconds":1788921434,"priority":1,"record_length":96,"hex_timestamp":"000001a08406cf90"} 
[2026-09-09 08:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:10: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-09-09 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1970333442703360,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627153262080,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2214972864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221611322,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148959,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2440101888,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812415488,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2306174490691765731,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2305854007117676551,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,145,160,117,45,19,7,41,10,66,109,64,21,55,128,1,240,137,227,132,4,113,205,9,217,12,152,40,239,54,2,206,5,190,63],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-09 08:10:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504579256219926528,"timestamp_seconds":504579256219926.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963881728001,"66":13406,"208":206,"85":15104,"24":0,"16":130201886333599744,"45":8869276541437261824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963881728001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:10:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130201886333599744,"km_value":130201886333599.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869276541437261824,"description":"Unknown IO ID 45"} 
[2026-09-09 08:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963881728001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869276541437261824}} 
[2026-09-09 08:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":178010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:10:39] local.INFO: GPS data processed {"connection_id":178010,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:10:39] local.INFO: Acknowledgment sent {"connection_id":178010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:10:45] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:10:45] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:10:45] local.INFO: IMEI packet received {"connection_id":175441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":175441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:10:49] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:10:49] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:10:49] local.INFO: IMEI packet received {"connection_id":175441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":175441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:10:51] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:10:51] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:10:51] local.INFO: Packet analysis {"connection_id":175441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:10:51] local.INFO: Extracted packet for processing {"connection_id":175441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 08:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:10:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":175441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:10:51] local.INFO: GPS data processed {"connection_id":175441,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:10:51] local.INFO: Acknowledgment sent {"connection_id":175441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:10:55] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:10:55] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:10:55] local.INFO: Packet analysis {"connection_id":175441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:10:55] local.INFO: Extracted packet for processing {"connection_id":175441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 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-09-09 08:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:10:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:10:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":175441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:10:55] local.INFO: GPS data processed {"connection_id":175441,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:10:55] local.INFO: Acknowledgment sent {"connection_id":175441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:11:01] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:11:01] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:11:01] local.INFO: IMEI packet received {"connection_id":175205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":175205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:11:02] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:11:02] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:11:02] local.INFO: IMEI packet received {"connection_id":175205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":175205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:11:06] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:11:06] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:11:06] local.INFO: IMEI packet received {"connection_id":175205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":175205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:11:07] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084099e50012d7b248005e2a6a0000600b328..."} 
[2026-09-09 08:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084099e50012d7b248005e2a6a0000600b328..."} 
[2026-09-09 08:11:07] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084099e50012d7b248005e2a6a0000600b328..."} 
[2026-09-09 08:11:07] local.INFO: Packet analysis {"connection_id":175205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08409"} 
[2026-09-09 08:11:07] local.INFO: Extracted packet for processing {"connection_id":175205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08409"} 
[2026-09-09 08:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98739872,"longitude_deg":76.3044992,"latitude_deg":9.8739872,"altitude":6,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d7b2480","hex_latitude":"05e2a6a0","is_valid_coordinates":true} 
[2026-09-09 08:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963928832001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130203234953330688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592484352,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788921618000,"timestamp_ms":1788921618000,"timestamp_seconds":1788921618,"priority":1,"record_length":96,"hex_timestamp":"000001a084099e50"} 
[2026-09-09 08:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:11: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-09-09 08:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 08:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963928832001,"66":13787,"207":206,"85":15104,"24":0,"16":130203234953330688,"45":8873357928592484352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963928832001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:11:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130203234953330688,"km_value":130203234953330.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592484352,"description":"Unknown IO ID 45"} 
[2026-09-09 08:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963928832001,"power":13787,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873357928592484352}} 
[2026-09-09 08:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":175205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:11:07] local.INFO: GPS data processed {"connection_id":175205,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:11:07] local.INFO: Acknowledgment sent {"connection_id":175205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:11:39] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08409f058012d7b248005e2a6a0000600b323..."} 
[2026-09-09 08:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08409f058012d7b248005e2a6a0000600b323..."} 
[2026-09-09 08:11:39] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08409f058012d7b248005e2a6a0000600b323..."} 
[2026-09-09 08:11:39] local.INFO: Packet analysis {"connection_id":175205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08409"} 
[2026-09-09 08:11:39] local.INFO: Extracted packet for processing {"connection_id":175205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08409"} 
[2026-09-09 08:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98739872,"longitude_deg":76.3044992,"latitude_deg":9.8739872,"altitude":6,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d7b2480","hex_latitude":"05e2a6a0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963934208001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130203234953330688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592482304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921639000,"timestamp_ms":1788921639000,"timestamp_seconds":1788921639,"priority":1,"record_length":96,"hex_timestamp":"000001a08409f058"} 
[2026-09-09 08:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:11: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-09-09 08: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-09 08:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963934208001,"66":13689,"207":206,"85":15104,"24":0,"16":130203234953330688,"45":8873357928592482304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963934208001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:11:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130203234953330688,"km_value":130203234953330.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592482304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963934208001,"power":13689,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873357928592482304}} 
[2026-09-09 08:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":175205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:11:39] local.INFO: GPS data processed {"connection_id":175205,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:11:39] local.INFO: Acknowledgment sent {"connection_id":175205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:11:39] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:11:39] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:11:39] local.INFO: IMEI packet received {"connection_id":176560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":176560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:11:45] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:11:45] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:11:45] local.INFO: IMEI packet received {"connection_id":176560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":176560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:11:47] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:11:47] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:11:47] local.INFO: Packet analysis {"connection_id":176560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:11:47] local.INFO: Extracted packet for processing {"connection_id":176560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 08:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":176560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:11:47] local.INFO: GPS data processed {"connection_id":176560,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:11:47] local.INFO: Acknowledgment sent {"connection_id":176560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:11:51] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:11:51] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:11:51] local.INFO: Packet analysis {"connection_id":176560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:11:51] local.INFO: Extracted packet for processing {"connection_id":176560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:11:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 08:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:11:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":176560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:11:51] local.INFO: GPS data processed {"connection_id":176560,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:11:51] local.INFO: Acknowledgment sent {"connection_id":176560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:12:01] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:12:01] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:12:01] local.INFO: IMEI packet received {"connection_id":175443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":175443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:12:04] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:12:04] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:12:04] local.INFO: IMEI packet received {"connection_id":175443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":175443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:12:06] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:12:06] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:12:06] local.INFO: IMEI packet received {"connection_id":175443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":175443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:12:07] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840a4260012d7b248005e2a6a0000600b323..."} 
[2026-09-09 08:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840a4260012d7b248005e2a6a0000600b323..."} 
[2026-09-09 08:12:07] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840a4260012d7b248005e2a6a0000600b323..."} 
[2026-09-09 08:12:07] local.INFO: Packet analysis {"connection_id":175443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840a"} 
[2026-09-09 08:12:07] local.INFO: Extracted packet for processing {"connection_id":175443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840a"} 
[2026-09-09 08:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98739872,"longitude_deg":76.3044992,"latitude_deg":9.8739872,"altitude":6,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d7b2480","hex_latitude":"05e2a6a0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130203234953330688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592482304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788921660000,"timestamp_ms":1788921660000,"timestamp_seconds":1788921660,"priority":1,"record_length":96,"hex_timestamp":"000001a0840a4260"} 
[2026-09-09 08:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 08:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963939584001,"66":13363,"207":206,"85":15104,"24":0,"16":130203234953330688,"45":8873357928592482304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:12:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130203234953330688,"km_value":130203234953330.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592482304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963939584001,"power":13363,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873357928592482304}} 
[2026-09-09 08:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":175443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:12:07] local.INFO: GPS data processed {"connection_id":175443,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:12:07] local.INFO: Acknowledgment sent {"connection_id":175443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:12:22] local.INFO: TCP Data received {"connection_id":176560,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:12:22] local.INFO: Processing buffer {"connection_id":176560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:12:22] local.INFO: Packet analysis {"connection_id":176560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:12:22] local.INFO: Extracted packet for processing {"connection_id":176560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:12:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 08:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:12:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:12:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":176560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:12:22] local.INFO: GPS data processed {"connection_id":176560,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:12:22] local.INFO: Acknowledgment sent {"connection_id":176560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:12:39] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840a9468012d7b248005e2a6a0000600b322..."} 
[2026-09-09 08:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840a9468012d7b248005e2a6a0000600b322..."} 
[2026-09-09 08:12:39] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840a9468012d7b248005e2a6a0000600b322..."} 
[2026-09-09 08:12:39] local.INFO: Packet analysis {"connection_id":175443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840a"} 
[2026-09-09 08:12:39] local.INFO: Extracted packet for processing {"connection_id":175443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840a"} 
[2026-09-09 08:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98739872,"longitude_deg":76.3044992,"latitude_deg":9.8739872,"altitude":6,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d7b2480","hex_latitude":"05e2a6a0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963944960001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130203234953330688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592482304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921681000,"timestamp_ms":1788921681000,"timestamp_seconds":1788921681,"priority":1,"record_length":96,"hex_timestamp":"000001a0840a9468"} 
[2026-09-09 08:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-09 08:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963944960001,"66":13461,"207":206,"85":15104,"24":0,"16":130203234953330688,"45":8873357928592482304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963944960001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:12:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130203234953330688,"km_value":130203234953330.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592482304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963944960001,"power":13461,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873357928592482304}} 
[2026-09-09 08:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":175443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:12:39] local.INFO: GPS data processed {"connection_id":175443,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:12:39] local.INFO: Acknowledgment sent {"connection_id":175443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:12:39] local.INFO: TCP Data received {"connection_id":178011,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:12:39] local.INFO: Processing buffer {"connection_id":178011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:12:39] local.INFO: IMEI packet received {"connection_id":178011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":178011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:12:44] local.INFO: TCP Data received {"connection_id":178011,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:12:44] local.INFO: Processing buffer {"connection_id":178011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:12:44] local.INFO: IMEI packet received {"connection_id":178011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":178011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:12:47] local.INFO: TCP Data received {"connection_id":178011,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:12:47] local.INFO: Processing buffer {"connection_id":178011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:12:47] local.INFO: Packet analysis {"connection_id":178011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:12:47] local.INFO: Extracted packet for processing {"connection_id":178011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 08:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":178011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:12:47] local.INFO: GPS data processed {"connection_id":178011,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:12:47] local.INFO: Acknowledgment sent {"connection_id":178011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:13:02] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:02] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:02] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:13:06] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:06] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:06] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:13:11] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:11] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:11] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:13:12] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840ae670012d7b248005e2a6a0000600b321..."} 
[2026-09-09 08:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840ae670012d7b248005e2a6a0000600b321..."} 
[2026-09-09 08:13:12] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840ae670012d7b248005e2a6a0000600b321..."} 
[2026-09-09 08:13:12] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840a"} 
[2026-09-09 08:13:12] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840a"} 
[2026-09-09 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98739872,"longitude_deg":76.3044992,"latitude_deg":9.8739872,"altitude":6,"angle":179,"satellites":33,"speed":0,"hex_longitude":"2d7b2480","hex_latitude":"05e2a6a0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963950336001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130203234953330688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592482304,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 08:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788921702000,"timestamp_ms":1788921702000,"timestamp_seconds":1788921702,"priority":1,"record_length":96,"hex_timestamp":"000001a0840ae670"} 
[2026-09-09 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-09-09 08:13: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-09-09 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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-09 08:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963950336001,"66":13580,"207":206,"85":15104,"24":0,"16":130203234953330688,"45":8873357928592482304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963950336001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:13:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130203234953330688,"km_value":130203234953330.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592482304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963950336001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873357928592482304}} 
[2026-09-09 08:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:13:12] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:13:12] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:13:14] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840b3878012d7b248005e2a6a0000600b321..."} 
[2026-09-09 08:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840b3878012d7b248005e2a6a0000600b321..."} 
[2026-09-09 08:13:14] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840b3878012d7b248005e2a6a0000600b321..."} 
[2026-09-09 08:13:14] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840b"} 
[2026-09-09 08:13:14] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840b"} 
[2026-09-09 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98739872,"longitude_deg":76.3044992,"latitude_deg":9.8739872,"altitude":6,"angle":179,"satellites":33,"speed":0,"hex_longitude":"2d7b2480","hex_latitude":"05e2a6a0","is_valid_coordinates":true} 
[2026-09-09 08:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963955712001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130203234953330688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592482304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788921723000,"timestamp_ms":1788921723000,"timestamp_seconds":1788921723,"priority":1,"record_length":96,"hex_timestamp":"000001a0840b3878"} 
[2026-09-09 08:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632018,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2215180864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3561546860785041408,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2795503622,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637636932296655,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147869350,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376799,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2468806656,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3804323840,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1999604706602647560,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-7781994344700916139,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,207,85,24,241,157,16,147,160,148,45,128,166,6,34,10,66,35,240,1,121,227,132,226,4,113,205,76,36,168,38,239,52,2,206,5,8,13,123,54,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-09 08:13:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432542518542860288,"timestamp_seconds":432542518542860.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963955712001,"66":13330,"207":206,"85":15104,"24":0,"16":130203234953330688,"45":8873357928592482304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963955712001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:13:14] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:13:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130203234953330688,"km_value":130203234953330.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592482304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963955712001,"power":13330,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873357928592482304}} 
[2026-09-09 08:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:13:14] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:13:14] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:13:18] local.INFO: TCP Data received {"connection_id":178011,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:13:18] local.INFO: Processing buffer {"connection_id":178011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084077b70012d34c14006aa42c80005010725..."} 
[2026-09-09 08:13:18] local.INFO: Packet analysis {"connection_id":178011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:13:18] local.INFO: Extracted packet for processing {"connection_id":178011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08407"} 
[2026-09-09 08:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963821312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788921478000,"timestamp_ms":1788921478000,"timestamp_seconds":1788921478,"priority":1,"record_length":96,"hex_timestamp":"000001a084077b70"} 
[2026-09-09 08:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:13: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-09-09 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 08:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:13: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-09-09 08:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963821312001,"66":25321,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963821312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963821312001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":178011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:13:18] local.INFO: GPS data processed {"connection_id":178011,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:13:18] local.INFO: Acknowledgment sent {"connection_id":178011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:13:38] local.INFO: TCP Data received {"connection_id":176561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:13:38] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:13:38] local.INFO: IMEI packet received {"connection_id":176561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":176561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:13:39] local.INFO: TCP Data received {"connection_id":176561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:13:39] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:13:39] local.INFO: IMEI packet received {"connection_id":176561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":176561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:13:42] local.INFO: TCP Data received {"connection_id":175444,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:13:42] local.INFO: Processing buffer {"connection_id":175444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:13:42] local.INFO: IMEI packet received {"connection_id":175444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":175444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:13:44] local.INFO: TCP Data received {"connection_id":176561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:13:44] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:13:44] local.INFO: IMEI packet received {"connection_id":176561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":176561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:13:45] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840b8a80012d7b248005e2a6a0000600b323..."} 
[2026-09-09 08:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840b8a80012d7b248005e2a6a0000600b323..."} 
[2026-09-09 08:13:45] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840b8a80012d7b248005e2a6a0000600b323..."} 
[2026-09-09 08:13:45] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840b"} 
[2026-09-09 08:13:45] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840b"} 
[2026-09-09 08:13:45] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98739872,"longitude_deg":76.3044992,"latitude_deg":9.8739872,"altitude":6,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d7b2480","hex_latitude":"05e2a6a0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963961088001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130203234953330688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592482304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788921744000,"timestamp_ms":1788921744000,"timestamp_seconds":1788921744,"priority":1,"record_length":96,"hex_timestamp":"000001a0840b8a80"} 
[2026-09-09 08:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:13: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-09-09 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2215201864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277243665388594240,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-4512606792254414080,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147869350,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3674262879,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2468806656,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3802572800,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57807712902075707,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-414329870867251195,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-3530595242401064960,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.WARNING: Large IO value detected {"io_id":94,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:45] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,207,85,24,241,157,16,147,160,230,45,128,166,6,33,10,66,148,34,1,240,51,227,132,226,4,113,205,158,36,40,239,53,2,206,5,214,8,13,95,94],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-09 08:13:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432542518542860288,"timestamp_seconds":432542518542860.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963961088001,"66":13472,"207":206,"85":15104,"24":0,"16":130203234953330688,"45":8873357928592482304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963961088001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:13:45] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:13:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130203234953330688,"km_value":130203234953330.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592482304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963961088001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873357928592482304}} 
[2026-09-09 08:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:13:46] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:13:46] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:13:46] local.INFO: TCP Data received {"connection_id":176561,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:13:46] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:13:46] local.INFO: Packet analysis {"connection_id":176561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:13:46] local.INFO: Extracted packet for processing {"connection_id":176561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":176561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:13:46] local.INFO: GPS data processed {"connection_id":176561,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:13:46] local.INFO: Acknowledgment sent {"connection_id":176561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:13:58] local.INFO: TCP Data received {"connection_id":175445,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:58] local.INFO: Processing buffer {"connection_id":175445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:58] local.INFO: IMEI packet received {"connection_id":175445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":175445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:13:58] local.INFO: TCP Data received {"connection_id":175445,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:58] local.INFO: Processing buffer {"connection_id":175445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:13:58] local.INFO: IMEI packet received {"connection_id":175445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":175445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:14:01] local.INFO: TCP Data received {"connection_id":175445,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:14:01] local.INFO: Processing buffer {"connection_id":175445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:14:01] local.INFO: IMEI packet received {"connection_id":175445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":175445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:14:06] local.INFO: TCP Data received {"connection_id":175445,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:14:06] local.INFO: Processing buffer {"connection_id":175445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:14:06] local.INFO: IMEI packet received {"connection_id":175445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":175445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:14:08] local.INFO: TCP Data received {"connection_id":175445,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840bdc88012d7b248005e2a6a0000600b325..."} 
[2026-09-09 08:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840bdc88012d7b248005e2a6a0000600b325..."} 
[2026-09-09 08:14:08] local.INFO: Processing buffer {"connection_id":175445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840bdc88012d7b248005e2a6a0000600b325..."} 
[2026-09-09 08:14:08] local.INFO: Packet analysis {"connection_id":175445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840b"} 
[2026-09-09 08:14:08] local.INFO: Extracted packet for processing {"connection_id":175445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840b"} 
[2026-09-09 08:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98739872,"longitude_deg":76.3044992,"latitude_deg":9.8739872,"altitude":6,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d7b2480","hex_latitude":"05e2a6a0","is_valid_coordinates":true} 
[2026-09-09 08:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963966464001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130203234953330688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592482304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788921765000,"timestamp_ms":1788921765000,"timestamp_seconds":1788921765,"priority":1,"record_length":96,"hex_timestamp":"000001a0840bdc88"} 
[2026-09-09 08:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 08:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963966464001,"66":13602,"207":206,"85":15104,"24":0,"16":130203234953330688,"45":8873357928592482304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963966464001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:14:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130203234953330688,"km_value":130203234953330.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592482304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963966464001,"power":13602,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873357928592482304}} 
[2026-09-09 08:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":175445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:14:08] local.INFO: GPS data processed {"connection_id":175445,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:14:08] local.INFO: Acknowledgment sent {"connection_id":175445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:14:18] local.INFO: TCP Data received {"connection_id":176561,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:14:18] local.INFO: Processing buffer {"connection_id":176561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:14:18] local.INFO: Packet analysis {"connection_id":176561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:14:18] local.INFO: Extracted packet for processing {"connection_id":176561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:14: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-09-09 08:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:14: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-09-09 08:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:14:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":176561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:14:18] local.INFO: GPS data processed {"connection_id":176561,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:14:18] local.INFO: Acknowledgment sent {"connection_id":176561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:14:39] local.INFO: TCP Data received {"connection_id":175445,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1b08012d7b23c005e2a1c8000900a627..."} 
[2026-09-09 08:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1b08012d7b23c005e2a1c8000900a627..."} 
[2026-09-09 08:14:39] local.INFO: Processing buffer {"connection_id":175445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1b08012d7b23c005e2a1c8000900a627..."} 
[2026-09-09 08:14:39] local.INFO: Packet analysis {"connection_id":175445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:14:39] local.INFO: Extracted packet for processing {"connection_id":175445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98738632,"longitude_deg":76.30448,"latitude_deg":9.8738632,"altitude":9,"angle":166,"satellites":39,"speed":13,"hex_longitude":"2d7b23c0","hex_latitude":"05e2a1c8","is_valid_coordinates":true} 
[2026-09-09 08:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963971840001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130203299377840128,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592482304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921781000,"timestamp_ms":1788921781000,"timestamp_seconds":1788921781,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1b08"} 
[2026-09-09 08:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 08:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963971840001,"66":13722,"207":206,"85":15104,"24":13,"16":130203299377840128,"45":8873357928592482304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963971840001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:14:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130203299377840128,"km_value":130203299377840.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592482304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963971840001,"power":13722,"unknown_207":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8873357928592482304}} 
[2026-09-09 08:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":175445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:14:39] local.INFO: GPS data processed {"connection_id":175445,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:14:39] local.INFO: Acknowledgment sent {"connection_id":175445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:14:44] local.INFO: TCP Data received {"connection_id":175208,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:14:44] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:14:44] local.INFO: IMEI packet received {"connection_id":175208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":175208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:14:50] local.INFO: TCP Data received {"connection_id":175208,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:14:50] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:14:50] local.INFO: IMEI packet received {"connection_id":175208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":175208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:14:52] local.INFO: TCP Data received {"connection_id":175208,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:14:52] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:14:52] local.INFO: Packet analysis {"connection_id":175208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:14:52] local.INFO: Extracted packet for processing {"connection_id":175208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":175208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:14:52] local.INFO: GPS data processed {"connection_id":175208,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:14:52] local.INFO: Acknowledgment sent {"connection_id":175208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:14:55] local.INFO: TCP Data received {"connection_id":175208,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:14:55] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:14:55] local.INFO: Packet analysis {"connection_id":175208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:14:55] local.INFO: Extracted packet for processing {"connection_id":175208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 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-09-09 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:14:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":175208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:14:55] local.INFO: GPS data processed {"connection_id":175208,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:14:55] local.INFO: Acknowledgment sent {"connection_id":175208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:15:02] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:15:02] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:15:02] local.INFO: IMEI packet received {"connection_id":176562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":176562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:15:02] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:15:02] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:15:02] local.INFO: IMEI packet received {"connection_id":176562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":176562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:15:06] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:15:06] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:15:06] local.INFO: IMEI packet received {"connection_id":176562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":176562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:15:07] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840d47d0012d7b188005e2bcc00006000118..."} 
[2026-09-09 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840d47d0012d7b188005e2bcc00006000118..."} 
[2026-09-09 08:15:07] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840d47d0012d7b188005e2bcc00006000118..."} 
[2026-09-09 08:15:07] local.INFO: Packet analysis {"connection_id":176562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840d"} 
[2026-09-09 08:15:07] local.INFO: Extracted packet for processing {"connection_id":176562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840d"} 
[2026-09-09 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763041920,"raw_latitude":98745536,"longitude_deg":76.304192,"latitude_deg":9.8745536,"altitude":6,"angle":1,"satellites":24,"speed":5,"hex_longitude":"2d7b1880","hex_latitude":"05e2bcc0","is_valid_coordinates":true} 
[2026-09-09 08:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963993856001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130204124011560960,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870332072593842176,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788921858000,"timestamp_ms":1788921858000,"timestamp_seconds":1788921858,"priority":1,"record_length":96,"hex_timestamp":"000001a0840d47d0"} 
[2026-09-09 08:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":39,"data_length":795,"current_offset":136} 
[2026-09-09 08:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963993856001,"66":13656,"207":206,"85":15104,"24":5,"16":130204124011560960,"45":8870332072593842176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963993856001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:15:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130204124011560960,"km_value":130204124011560.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870332072593842176,"description":"Unknown IO ID 45"} 
[2026-09-09 08:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963993856001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8870332072593842176}} 
[2026-09-09 08:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":176562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:15:08] local.INFO: GPS data processed {"connection_id":176562,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:15:08] local.INFO: Acknowledgment sent {"connection_id":176562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:15:12] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840d99d8012d7b168005e2c920000301631d..."} 
[2026-09-09 08:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840d99d8012d7b168005e2c920000301631d..."} 
[2026-09-09 08:15:12] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840d99d8012d7b168005e2c920000301631d..."} 
[2026-09-09 08:15:12] local.INFO: Packet analysis {"connection_id":176562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840d"} 
[2026-09-09 08:15:12] local.INFO: Extracted packet for processing {"connection_id":176562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840d"} 
[2026-09-09 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763041408,"raw_latitude":98748704,"longitude_deg":76.3041408,"latitude_deg":9.8748704,"altitude":3,"angle":355,"satellites":29,"speed":5,"hex_longitude":"2d7b1680","hex_latitude":"05e2c920","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963995648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130204282925350912,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869980228873404416,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15: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-09-09 08:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788921879000,"timestamp_ms":1788921879000,"timestamp_seconds":1788921879,"priority":1,"record_length":96,"hex_timestamp":"000001a0840d99d8"} 
[2026-09-09 08:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 08:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963995648001,"66":13722,"207":206,"85":15104,"24":5,"16":130204282925350912,"45":8869980228873404416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963995648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:15:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130204282925350912,"km_value":130204282925350.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869980228873404416,"description":"Unknown IO ID 45"} 
[2026-09-09 08:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963995648001,"power":13722,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8869980228873404416}} 
[2026-09-09 08:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":176562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:15:12] local.INFO: GPS data processed {"connection_id":176562,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:15:12] local.INFO: Acknowledgment sent {"connection_id":176562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:15:39] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:15:39] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:15:39] local.INFO: IMEI packet received {"connection_id":178014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":178014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:15:44] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:15:44] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:15:44] local.INFO: IMEI packet received {"connection_id":178014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":178014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:15:44] local.INFO: TCP Data received {"connection_id":176562,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840debe0012d7b140005e2cff0000301621b..."} 
[2026-09-09 08:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840debe0012d7b140005e2cff0000301621b..."} 
[2026-09-09 08:15:44] local.INFO: Processing buffer {"connection_id":176562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840debe0012d7b140005e2cff0000301621b..."} 
[2026-09-09 08:15:44] local.INFO: Packet analysis {"connection_id":176562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840d"} 
[2026-09-09 08:15:44] local.INFO: Extracted packet for processing {"connection_id":176562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840d"} 
[2026-09-09 08:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98750448,"longitude_deg":76.3040768,"latitude_deg":9.8750448,"altitude":3,"angle":354,"satellites":27,"speed":0,"hex_longitude":"2d7b1400","hex_latitude":"05e2cff0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964001024001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130204381709598720,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869417278920794112,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15: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-09-09 08:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788921900000,"timestamp_ms":1788921900000,"timestamp_seconds":1788921900,"priority":1,"record_length":96,"hex_timestamp":"000001a0840debe0"} 
[2026-09-09 08:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:15: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-09-09 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 08:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964001024001,"66":13906,"207":206,"85":15104,"24":0,"16":130204381709598720,"45":8869417278920794112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964001024001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:15:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130204381709598720,"km_value":130204381709598.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869417278920794112,"description":"Unknown IO ID 45"} 
[2026-09-09 08:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964001024001,"power":13906,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869417278920794112}} 
[2026-09-09 08:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":176562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:15:45] local.INFO: GPS data processed {"connection_id":176562,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:15:45] local.INFO: Acknowledgment sent {"connection_id":176562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:15:45] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:15:45] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:15:45] local.INFO: Packet analysis {"connection_id":178014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:15:45] local.INFO: Extracted packet for processing {"connection_id":178014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:15: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-09-09 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":178014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:15:45] local.INFO: GPS data processed {"connection_id":178014,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:15:45] local.INFO: Acknowledgment sent {"connection_id":178014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:15:50] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:15:50] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:15:50] local.INFO: Packet analysis {"connection_id":178014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:15:50] local.INFO: Extracted packet for processing {"connection_id":178014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:15:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:15:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:15:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":178014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:15:50] local.INFO: GPS data processed {"connection_id":178014,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:15:50] local.INFO: Acknowledgment sent {"connection_id":178014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:16:02] local.INFO: TCP Data received {"connection_id":175447,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:16:02] local.INFO: Processing buffer {"connection_id":175447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:16:02] local.INFO: IMEI packet received {"connection_id":175447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":175447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:16:07] local.INFO: TCP Data received {"connection_id":175447,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:16:07] local.INFO: Processing buffer {"connection_id":175447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:16:07] local.INFO: IMEI packet received {"connection_id":175447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":175447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:16:08] local.INFO: TCP Data received {"connection_id":175447,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840e2a60012d7b128005e2d708000200071c..."} 
[2026-09-09 08:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840e2a60012d7b128005e2d708000200071c..."} 
[2026-09-09 08:16:08] local.INFO: Processing buffer {"connection_id":175447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840e2a60012d7b128005e2d708000200071c..."} 
[2026-09-09 08:16:08] local.INFO: Packet analysis {"connection_id":175447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840e"} 
[2026-09-09 08:16:08] local.INFO: Extracted packet for processing {"connection_id":175447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840e"} 
[2026-09-09 08:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763040384,"raw_latitude":98752264,"longitude_deg":76.3040384,"latitude_deg":9.8752264,"altitude":2,"angle":7,"satellites":28,"speed":0,"hex_longitude":"2d7b1280","hex_latitude":"05e2d708","is_valid_coordinates":true} 
[2026-09-09 08:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964006400001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130204476198879232,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591479463936,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788921916000,"timestamp_ms":1788921916000,"timestamp_seconds":1788921916,"priority":1,"record_length":96,"hex_timestamp":"000001a0840e2a60"} 
[2026-09-09 08:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 08:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964006400001,"66":13243,"207":206,"85":15104,"24":0,"16":130204476198879232,"45":8868713591479463936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964006400001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:16:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130204476198879232,"km_value":130204476198879.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591479463936,"description":"Unknown IO ID 45"} 
[2026-09-09 08:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964006400001,"power":13243,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591479463936}} 
[2026-09-09 08:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":175447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:16:08] local.INFO: GPS data processed {"connection_id":175447,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:16:08] local.INFO: Acknowledgment sent {"connection_id":175447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:16:21] local.INFO: TCP Data received {"connection_id":178014,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:16:21] local.INFO: Processing buffer {"connection_id":178014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:16:21] local.INFO: Packet analysis {"connection_id":178014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:16:21] local.INFO: Extracted packet for processing {"connection_id":178014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:16:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":178014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:16:21] local.INFO: GPS data processed {"connection_id":178014,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:16:21] local.INFO: Acknowledgment sent {"connection_id":178014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:16:39] local.INFO: TCP Data received {"connection_id":175447,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840e2e48012d7b128005e2d7200002001f1c..."} 
[2026-09-09 08:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840e2e48012d7b128005e2d7200002001f1c..."} 
[2026-09-09 08:16:39] local.INFO: Processing buffer {"connection_id":175447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840e2e48012d7b128005e2d7200002001f1c..."} 
[2026-09-09 08:16:39] local.INFO: Packet analysis {"connection_id":175447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840e"} 
[2026-09-09 08:16:39] local.INFO: Extracted packet for processing {"connection_id":175447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840e"} 
[2026-09-09 08:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763040384,"raw_latitude":98752288,"longitude_deg":76.3040384,"latitude_deg":9.8752288,"altitude":2,"angle":31,"satellites":28,"speed":0,"hex_longitude":"2d7b1280","hex_latitude":"05e2d720","is_valid_coordinates":true} 
[2026-09-09 08:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964010496001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130204476198879232,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868291379014862848,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921917000,"timestamp_ms":1788921917000,"timestamp_seconds":1788921917,"priority":1,"record_length":96,"hex_timestamp":"000001a0840e2e48"} 
[2026-09-09 08:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-09 08:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964010496001,"66":13852,"207":206,"85":15104,"24":0,"16":130204476198879232,"45":8868291379014862848},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964010496001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:16:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130204476198879232,"km_value":130204476198879.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868291379014862848,"description":"Unknown IO ID 45"} 
[2026-09-09 08:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964010496001,"power":13852,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868291379014862848}} 
[2026-09-09 08:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":175447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:16:39] local.INFO: GPS data processed {"connection_id":175447,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:16:39] local.INFO: Acknowledgment sent {"connection_id":175447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:16:40] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:16:40] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:16:40] local.INFO: IMEI packet received {"connection_id":175448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":175448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:16:44] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:16:44] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:16:44] local.INFO: IMEI packet received {"connection_id":175448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":175448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:16:45] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:16:45] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:16:45] local.INFO: Packet analysis {"connection_id":175448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:16:45] local.INFO: Extracted packet for processing {"connection_id":175448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:16: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-09-09 08:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":175448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:16:45] local.INFO: GPS data processed {"connection_id":175448,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:16:45] local.INFO: Acknowledgment sent {"connection_id":175448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:17:02] local.INFO: TCP Data received {"connection_id":175209,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:17:02] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:17:02] local.INFO: IMEI packet received {"connection_id":175209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":175209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:17:06] local.INFO: TCP Data received {"connection_id":175209,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:17:06] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:17:06] local.INFO: IMEI packet received {"connection_id":175209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":175209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:17:07] local.INFO: TCP Data received {"connection_id":175209,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840f5340012d7b0dc005e2f4a8000001441a..."} 
[2026-09-09 08:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840f5340012d7b0dc005e2f4a8000001441a..."} 
[2026-09-09 08:17:07] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840f5340012d7b0dc005e2f4a8000001441a..."} 
[2026-09-09 08:17:07] local.INFO: Packet analysis {"connection_id":175209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840f"} 
[2026-09-09 08:17:07] local.INFO: Extracted packet for processing {"connection_id":175209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840f"} 
[2026-09-09 08:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98759848,"longitude_deg":76.3039168,"latitude_deg":9.8759848,"altitude":0,"angle":324,"satellites":26,"speed":1,"hex_longitude":"2d7b0dc0","hex_latitude":"05e2f4a8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964029184001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130204879925805056,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741621565440,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788921992000,"timestamp_ms":1788921992000,"timestamp_seconds":1788921992,"priority":1,"record_length":96,"hex_timestamp":"000001a0840f5340"} 
[2026-09-09 08:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632020,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2215536864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3561127946854858752,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3689938944,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953735631,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3805992960,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147869403,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728671,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2488664064,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1315057563076132865,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294086716182101,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,207,85,24,241,157,16,148,160,59,45,64,243,27,10,66,233,236,28,198,1,240,78,227,132,226,4,113,205,5,112,18,48,25,239,52,2,206,123,53],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-09 08:17:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":369551871246336,"timestamp_seconds":369551871246.336,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964029184001,"66":13319,"207":206,"85":15104,"24":1,"16":130204879925805056,"45":8867024741621565440},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964029184001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:17:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130204879925805056,"km_value":130204879925805.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741621565440,"description":"Unknown IO ID 45"} 
[2026-09-09 08:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964029184001,"power":13319,"unknown_207":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8867024741621565440}} 
[2026-09-09 08:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":175209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:17:07] local.INFO: GPS data processed {"connection_id":175209,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:17:07] local.INFO: Acknowledgment sent {"connection_id":175209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:17:16] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:17:16] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:17:16] local.INFO: Packet analysis {"connection_id":175448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:17:16] local.INFO: Extracted packet for processing {"connection_id":175448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":175448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:17:16] local.INFO: GPS data processed {"connection_id":175448,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:17:16] local.INFO: Acknowledgment sent {"connection_id":175448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:17:39] local.INFO: TCP Data received {"connection_id":175209,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840f66c8012d7b0d8005e2f5b00000015619..."} 
[2026-09-09 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840f66c8012d7b0d8005e2f5b00000015619..."} 
[2026-09-09 08:17:39] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840f66c8012d7b0d8005e2f5b00000015619..."} 
[2026-09-09 08:17:39] local.INFO: Packet analysis {"connection_id":175209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840f"} 
[2026-09-09 08:17:39] local.INFO: Extracted packet for processing {"connection_id":175209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840f"} 
[2026-09-09 08:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98760112,"longitude_deg":76.3039104,"latitude_deg":9.8760112,"altitude":0,"angle":342,"satellites":25,"speed":2,"hex_longitude":"2d7b0d80","hex_latitude":"05e2f5b0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964029952001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130204892810706944,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372877428736,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788921997000,"timestamp_ms":1788921997000,"timestamp_seconds":1788921997,"priority":1,"record_length":96,"hex_timestamp":"000001a0840f66c8"} 
[2026-09-09 08:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2215538864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-2677389974172198656,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2488795136,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3806015488,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57807712902075707,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.WARNING: Large IO value detected {"io_id":14,"raw_value":7557041469577658373,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,207,85,24,241,157,16,148,160,71,45,244,27,10,66,59,64,243,233,1,240,138,227,132,226,4,113,205,120,18,25,239,54,2,206,5,181,14],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-09 08:17:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":356353436614656,"timestamp_seconds":356353436614.656,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964029952001,"66":13124,"207":206,"85":15104,"24":2,"16":130204892810706944,"45":8866954372877428736},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964029952001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:17:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130204892810706944,"km_value":130204892810706.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372877428736,"description":"Unknown IO ID 45"} 
[2026-09-09 08:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964029952001,"power":13124,"unknown_207":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8866954372877428736}} 
[2026-09-09 08:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":175209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:17:39] local.INFO: GPS data processed {"connection_id":175209,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:17:39] local.INFO: Acknowledgment sent {"connection_id":175209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:17:39] local.INFO: TCP Data received {"connection_id":178015,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:17:39] local.INFO: Processing buffer {"connection_id":178015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:17:39] local.INFO: IMEI packet received {"connection_id":178015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":178015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:17:44] local.INFO: TCP Data received {"connection_id":178015,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:17:44] local.INFO: Processing buffer {"connection_id":178015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:17:44] local.INFO: IMEI packet received {"connection_id":178015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":178015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:17:45] local.INFO: TCP Data received {"connection_id":178015,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:17:45] local.INFO: Processing buffer {"connection_id":178015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:17:45] local.INFO: Packet analysis {"connection_id":178015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:17:45] local.INFO: Extracted packet for processing {"connection_id":178015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:17: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-09-09 08:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:17:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":178015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:17:45] local.INFO: GPS data processed {"connection_id":178015,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:17:45] local.INFO: Acknowledgment sent {"connection_id":178015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:18:01] local.INFO: TCP Data received {"connection_id":178017,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:18:01] local.INFO: Processing buffer {"connection_id":178017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:18:01] local.INFO: IMEI packet received {"connection_id":178017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":178017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:18:06] local.INFO: TCP Data received {"connection_id":178017,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:18:06] local.INFO: Processing buffer {"connection_id":178017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:18:06] local.INFO: IMEI packet received {"connection_id":178017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":178017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:18:08] local.INFO: TCP Data received {"connection_id":178017,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0840f91c0012d7b0bc005e2fa08000001631a..."} 
[2026-09-09 08:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840f91c0012d7b0bc005e2fa08000001631a..."} 
[2026-09-09 08:18:08] local.INFO: Processing buffer {"connection_id":178017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840f91c0012d7b0bc005e2fa08000001631a..."} 
[2026-09-09 08:18:08] local.INFO: Packet analysis {"connection_id":178017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840f"} 
[2026-09-09 08:18:08] local.INFO: Extracted packet for processing {"connection_id":178017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840f"} 
[2026-09-09 08:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98761224,"longitude_deg":76.3038656,"latitude_deg":9.8761224,"altitude":0,"angle":355,"satellites":26,"speed":2,"hex_longitude":"2d7b0bc0","hex_latitude":"05e2fa08","is_valid_coordinates":true} 
[2026-09-09 08:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964031232001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130204957235216384,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004133318656,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788922008000,"timestamp_ms":1788922008000,"timestamp_seconds":1788922008,"priority":1,"record_length":96,"hex_timestamp":"000001a0840f91c0"} 
[2026-09-09 08:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 08:18: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-09-09 08:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964031232001,"66":13363,"207":206,"85":15104,"24":2,"16":130204957235216384,"45":8866884004133318656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 08:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964031232001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:18:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 08:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130204957235216384,"km_value":130204957235216.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004133318656,"description":"Unknown IO ID 45"} 
[2026-09-09 08:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964031232001,"power":13363,"unknown_207":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8866884004133318656}} 
[2026-09-09 08:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":178017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:18:08] local.INFO: GPS data processed {"connection_id":178017,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:18:08] local.INFO: Acknowledgment sent {"connection_id":178017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:18:17] local.INFO: TCP Data received {"connection_id":178015,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:18:17] local.INFO: Processing buffer {"connection_id":178015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0840c1338012d34c14006aa42c80005010726..."} 
[2026-09-09 08:18:17] local.INFO: Packet analysis {"connection_id":178015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:18:17] local.INFO: Extracted packet for processing {"connection_id":178015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0840c"} 
[2026-09-09 08:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788921779000,"timestamp_ms":1788921779000,"timestamp_seconds":1788921779,"priority":1,"record_length":96,"hex_timestamp":"000001a0840c1338"} 
[2026-09-09 08:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 08:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963898368001,"66":25375,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963898368001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":178015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:18:17] local.INFO: GPS data processed {"connection_id":178015,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:18:17] local.INFO: Acknowledgment sent {"connection_id":178015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:18:38] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:18:38] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:18:38] local.INFO: IMEI packet received {"connection_id":175449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":175449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:18:40] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:18:40] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:18:40] local.INFO: IMEI packet received {"connection_id":175449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":175449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:18:40] local.INFO: TCP Data received {"connection_id":178017,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08410d5f8012d7b07c005e31b400000015c1f..."} 
[2026-09-09 08:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410d5f8012d7b07c005e31b400000015c1f..."} 
[2026-09-09 08:18:40] local.INFO: Processing buffer {"connection_id":178017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410d5f8012d7b07c005e31b400000015c1f..."} 
[2026-09-09 08:18:40] local.INFO: Packet analysis {"connection_id":178017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:18:40] local.INFO: Extracted packet for processing {"connection_id":178017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98769728,"longitude_deg":76.3037632,"latitude_deg":9.8769728,"altitude":0,"angle":348,"satellites":31,"speed":5,"hex_longitude":"2d7b07c0","hex_latitude":"05e31b40","is_valid_coordinates":true} 
[2026-09-09 08:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964049920001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130205408206782464,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104228069376,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18: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-09-09 08:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788922091000,"timestamp_ms":1788922091000,"timestamp_seconds":1788922091,"priority":1,"record_length":96,"hex_timestamp":"000001a08410d5f8"} 
[2026-09-09 08:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 08:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964049920001,"66":13830,"208":206,"85":15104,"24":5,"16":130205408206782464,"45":8865758104228069376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964049920001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:18:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130205408206782464,"km_value":130205408206782.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104228069376,"description":"Unknown IO ID 45"} 
[2026-09-09 08:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964049920001,"power":13830,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8865758104228069376}} 
[2026-09-09 08:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":178017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:18:41] local.INFO: GPS data processed {"connection_id":178017,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:18:41] local.INFO: Acknowledgment sent {"connection_id":178017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:18:44] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:18:44] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:18:44] local.INFO: IMEI packet received {"connection_id":175449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":175449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:18:45] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:18:45] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:18:45] local.INFO: Packet analysis {"connection_id":175449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:18:45] local.INFO: Extracted packet for processing {"connection_id":175449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:18: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-09-09 08:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":175449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:18:45] local.INFO: GPS data processed {"connection_id":175449,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:18:45] local.INFO: Acknowledgment sent {"connection_id":175449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:19:01] local.INFO: TCP Data received {"connection_id":178018,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:19:01] local.INFO: Processing buffer {"connection_id":178018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:19:01] local.INFO: IMEI packet received {"connection_id":178018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":178018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:19:02] local.INFO: TCP Data received {"connection_id":178018,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:19:02] local.INFO: Processing buffer {"connection_id":178018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:19:02] local.INFO: IMEI packet received {"connection_id":178018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":178018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:19:07] local.INFO: TCP Data received {"connection_id":178018,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:19:07] local.INFO: Processing buffer {"connection_id":178018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:19:07] local.INFO: IMEI packet received {"connection_id":178018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":178018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:19:08] local.INFO: TCP Data received {"connection_id":178018,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841104d8012d7b078005e32108000000061d..."} 
[2026-09-09 08:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841104d8012d7b078005e32108000000061d..."} 
[2026-09-09 08:19:08] local.INFO: Processing buffer {"connection_id":178018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841104d8012d7b078005e32108000000061d..."} 
[2026-09-09 08:19:08] local.INFO: Packet analysis {"connection_id":178018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:19:08] local.INFO: Extracted packet for processing {"connection_id":178018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98771208,"longitude_deg":76.3037568,"latitude_deg":9.8771208,"altitude":0,"angle":6,"satellites":29,"speed":1,"hex_longitude":"2d7b0780","hex_latitude":"05e32108","is_valid_coordinates":true} 
[2026-09-09 08:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964055296001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130205481221226496,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523019694080,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19: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-09-09 08:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788922103000,"timestamp_ms":1788922103000,"timestamp_seconds":1788922103,"priority":1,"record_length":96,"hex_timestamp":"000001a0841104d8"} 
[2026-09-09 08:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":562958559150080,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627153037568,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2215640864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":6,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024927,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2497314816,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3808679936,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":177,"raw_value":331481478071778,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.WARNING: Large IO value detected {"io_id":251,"raw_value":-8070450532246159357,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,149,160,131,45,128,14,28,10,66,148,112,11,92,64,1,240,214,227,132,4,113,205,2,6,9,176,239,52,206,5,177,251],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-09 08:19:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":382763190779904,"timestamp_seconds":382763190779.904,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964055296001,"66":13613,"208":206,"85":15104,"24":1,"16":130205481221226496,"45":8865265523019694080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964055296001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:19:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130205481221226496,"km_value":130205481221226.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523019694080,"description":"Unknown IO ID 45"} 
[2026-09-09 08:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964055296001,"power":13613,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8865265523019694080}} 
[2026-09-09 08:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":178018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:19:08] local.INFO: GPS data processed {"connection_id":178018,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:19:08] local.INFO: Acknowledgment sent {"connection_id":178018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:19:12] local.INFO: TCP Data received {"connection_id":176564,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:19:12] local.INFO: Processing buffer {"connection_id":176564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:19:12] local.INFO: IMEI packet received {"connection_id":176564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":176564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:19:17] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:19:17] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:19:17] local.INFO: Packet analysis {"connection_id":175449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:19:17] local.INFO: Extracted packet for processing {"connection_id":175449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:19:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":175449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:19:17] local.INFO: GPS data processed {"connection_id":175449,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:19:17] local.INFO: Acknowledgment sent {"connection_id":175449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:19:40] local.INFO: TCP Data received {"connection_id":178018,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841133b8012d7b07c005e322c00000015f19..."} 
[2026-09-09 08:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841133b8012d7b07c005e322c00000015f19..."} 
[2026-09-09 08:19:40] local.INFO: Processing buffer {"connection_id":178018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841133b8012d7b07c005e322c00000015f19..."} 
[2026-09-09 08:19:40] local.INFO: Packet analysis {"connection_id":178018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:19:40] local.INFO: Extracted packet for processing {"connection_id":178018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98771648,"longitude_deg":76.3037632,"latitude_deg":9.8771648,"altitude":0,"angle":351,"satellites":25,"speed":3,"hex_longitude":"2d7b07c0","hex_latitude":"05e322c0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964058368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130205502696062976,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154275895296,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19: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-09-09 08:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788922115000,"timestamp_ms":1788922115000,"timestamp_seconds":1788922115,"priority":1,"record_length":96,"hex_timestamp":"000001a0841133b8"} 
[2026-09-09 08:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-09 08:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964058368001,"66":13678,"208":206,"85":15104,"24":3,"16":130205502696062976,"45":8865195154275895296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964058368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:19:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130205502696062976,"km_value":130205502696062.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154275895296,"description":"Unknown IO ID 45"} 
[2026-09-09 08:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964058368001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8865195154275895296}} 
[2026-09-09 08:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":178018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:19:40] local.INFO: GPS data processed {"connection_id":178018,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:19:40] local.INFO: Acknowledgment sent {"connection_id":178018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:19:42] local.INFO: TCP Data received {"connection_id":178019,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:19:42] local.INFO: Processing buffer {"connection_id":178019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:19:42] local.INFO: IMEI packet received {"connection_id":178019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":178019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:19:44] local.INFO: TCP Data received {"connection_id":178020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:19:44] local.INFO: Processing buffer {"connection_id":178020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:19:44] local.INFO: IMEI packet received {"connection_id":178020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":178020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:19:49] local.INFO: TCP Data received {"connection_id":178020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:19:49] local.INFO: Processing buffer {"connection_id":178020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:19:49] local.INFO: IMEI packet received {"connection_id":178020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":178020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:19:50] local.INFO: TCP Data received {"connection_id":178020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:19:50] local.INFO: Processing buffer {"connection_id":178020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:19:50] local.INFO: Packet analysis {"connection_id":178020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:19:50] local.INFO: Extracted packet for processing {"connection_id":178020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:19:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":178020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:19:50] local.INFO: GPS data processed {"connection_id":178020,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:19:50] local.INFO: Acknowledgment sent {"connection_id":178020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:20:02] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:20:02] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:20:02] local.INFO: IMEI packet received {"connection_id":176565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":176565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:20:06] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:20:06] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:20:06] local.INFO: IMEI packet received {"connection_id":176565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":176565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:20:07] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084114740012d7b078005e324580000000216..."} 
[2026-09-09 08:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084114740012d7b078005e324580000000216..."} 
[2026-09-09 08:20:07] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084114740012d7b078005e324580000000216..."} 
[2026-09-09 08:20:07] local.INFO: Packet analysis {"connection_id":176565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:20:07] local.INFO: Extracted packet for processing {"connection_id":176565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98772056,"longitude_deg":76.3037568,"latitude_deg":9.8772056,"altitude":0,"angle":2,"satellites":22,"speed":2,"hex_longitude":"2d7b0780","hex_latitude":"05e32458","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964061440001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130205524170899456,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523020185600,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20: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-09-09 08:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788922120000,"timestamp_ms":1788922120000,"timestamp_seconds":1788922120,"priority":1,"record_length":96,"hex_timestamp":"000001a084114740"} 
[2026-09-09 08:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":110,"data_length":795,"current_offset":136} 
[2026-09-09 08:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964061440001,"66":13678,"208":206,"85":15104,"24":2,"16":130205524170899456,"45":8865265523020185600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964061440001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:20:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130205524170899456,"km_value":130205524170899.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523020185600,"description":"Unknown IO ID 45"} 
[2026-09-09 08:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964061440001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8865265523020185600}} 
[2026-09-09 08:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":176565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:20:07] local.INFO: GPS data processed {"connection_id":176565,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:20:07] local.INFO: Acknowledgment sent {"connection_id":176565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:20:22] local.INFO: TCP Data received {"connection_id":178020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:20:22] local.INFO: Processing buffer {"connection_id":178020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:20:22] local.INFO: Packet analysis {"connection_id":178020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:20:22] local.INFO: Extracted packet for processing {"connection_id":178020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:20:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:20:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:20:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":178020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:20:22] local.INFO: GPS data processed {"connection_id":178020,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:20:22] local.INFO: Acknowledgment sent {"connection_id":178020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:20:39] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084114f10012d7b078005e325100000015f13..."} 
[2026-09-09 08:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084114f10012d7b078005e325100000015f13..."} 
[2026-09-09 08:20:39] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084114f10012d7b078005e325100000015f13..."} 
[2026-09-09 08:20:39] local.INFO: Packet analysis {"connection_id":176565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:20:39] local.INFO: Extracted packet for processing {"connection_id":176565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98772240,"longitude_deg":76.3037568,"latitude_deg":9.877224,"altitude":0,"angle":351,"satellites":19,"speed":4,"hex_longitude":"2d7b0780","hex_latitude":"05e32510","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964062720001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130205532760834048,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154276112384,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20: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-09-09 08:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788922122000,"timestamp_ms":1788922122000,"timestamp_seconds":1788922122,"priority":1,"record_length":96,"hex_timestamp":"000001a084114f10"} 
[2026-09-09 08:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 08:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964062720001,"66":13820,"208":206,"85":15104,"24":4,"16":130205532760834048,"45":8865195154276112384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964062720001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:20:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130205532760834048,"km_value":130205532760834.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154276112384,"description":"Unknown IO ID 45"} 
[2026-09-09 08:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964062720001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8865195154276112384}} 
[2026-09-09 08:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":176565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:20:39] local.INFO: GPS data processed {"connection_id":176565,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:20:39] local.INFO: Acknowledgment sent {"connection_id":176565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:20:39] local.INFO: TCP Data received {"connection_id":176566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:20:39] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:20:39] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:20:44] local.INFO: TCP Data received {"connection_id":176566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:20:44] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:20:44] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:20:45] local.INFO: TCP Data received {"connection_id":176566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:20:45] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:20:45] local.INFO: Packet analysis {"connection_id":176566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:20:45] local.INFO: Extracted packet for processing {"connection_id":176566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:20: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-09-09 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":176566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:20:45] local.INFO: GPS data processed {"connection_id":176566,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:20:45] local.INFO: Acknowledgment sent {"connection_id":176566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:20:46] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:20:46] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:20:46] local.INFO: IMEI packet received {"connection_id":175211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":175211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:20:47] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:20:47] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:20:47] local.INFO: IMEI packet received {"connection_id":175211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":175211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:20:50] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000001e4600100000000000000000000000000..."} 
[2026-09-09 08:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001e4600100000000000000000000000000..."} 
[2026-09-09 08:20:50] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001e4600100000000000000000000000000..."} 
[2026-09-09 08:20:50] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 08:20:50] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 08:20:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 08:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30842937541656576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,177,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 08:20:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":124000,"timestamp_seconds":124,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:20:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 08:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 08:20:50] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 08:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 08:20:50] local.ERROR: GPS data processing failed {"connection_id":175211,"error":"No valid data to process"} 
[2026-09-09 08:20:50] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 08:20:51] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a00000000000236680100000000000000000000000000..."} 
[2026-09-09 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000236680100000000000000000000000000..."} 
[2026-09-09 08:20:51] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000236680100000000000000000000000000..."} 
[2026-09-09 08:20:51] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-09 08:20:51] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-09 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 08:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30842937541656576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:20:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 08:20:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":145000,"timestamp_seconds":145,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:20:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 08:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 08:20:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 08:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 08:20:51] local.ERROR: GPS data processing failed {"connection_id":175211,"error":"No valid data to process"} 
[2026-09-09 08:20:51] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 08:21:01] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:21:01] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:21:01] local.INFO: IMEI packet received {"connection_id":175451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":175451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:21:06] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:21:06] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:21:06] local.INFO: IMEI packet received {"connection_id":175451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":175451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:21:07] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084115eb0012d7b074005e326680000000817..."} 
[2026-09-09 08:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084115eb0012d7b074005e326680000000817..."} 
[2026-09-09 08:21:07] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084115eb0012d7b074005e326680000000817..."} 
[2026-09-09 08:21:07] local.INFO: Packet analysis {"connection_id":175451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:21:07] local.INFO: Extracted packet for processing {"connection_id":175451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08411"} 
[2026-09-09 08:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763037504,"raw_latitude":98772584,"longitude_deg":76.3037504,"latitude_deg":9.8772584,"altitude":0,"angle":8,"satellites":23,"speed":1,"hex_longitude":"2d7b0740","hex_latitude":"05e32668","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964063232001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130205554235670528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154276159488,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21: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-09-09 08:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788922126000,"timestamp_ms":1788922126000,"timestamp_seconds":1788922126,"priority":1,"record_length":96,"hex_timestamp":"000001a084115eb0"} 
[2026-09-09 08:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 08:21: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-09-09 08: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-09-09 08:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964063232001,"66":13406,"208":206,"85":15104,"24":1,"16":130205554235670528,"45":8865195154276159488},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964063232001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:21:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130205554235670528,"km_value":130205554235670.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154276159488,"description":"Unknown IO ID 45"} 
[2026-09-09 08:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964063232001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8865195154276159488}} 
[2026-09-09 08:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":175451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:21:07] local.INFO: GPS data processed {"connection_id":175451,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:21:07] local.INFO: Acknowledgment sent {"connection_id":175451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:21:16] local.INFO: TCP Data received {"connection_id":176566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:21:16] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:21:16] local.INFO: Packet analysis {"connection_id":176566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:21:16] local.INFO: Extracted packet for processing {"connection_id":176566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":176566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:21:16] local.INFO: GPS data processed {"connection_id":176566,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:21:16] local.INFO: Acknowledgment sent {"connection_id":176566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:21:22] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a00000000000288700100000000000000000000000000..."} 
[2026-09-09 08:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000288700100000000000000000000000000..."} 
[2026-09-09 08:21:22] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000288700100000000000000000000000000..."} 
[2026-09-09 08:21:22] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-09 08:21:22] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-09 08:21:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30842937541656576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:22] 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-09-09 08:21:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":166000,"timestamp_seconds":166,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:21:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 08:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 08:21:22] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 08:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 08:21:22] local.ERROR: GPS data processing failed {"connection_id":175211,"error":"No valid data to process"} 
[2026-09-09 08:21:22] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 08:21:39] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084133f28012d7aec8005e399700005015226..."} 
[2026-09-09 08:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084133f28012d7aec8005e399700005015226..."} 
[2026-09-09 08:21:39] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084133f28012d7aec8005e399700005015226..."} 
[2026-09-09 08:21:39] local.INFO: Packet analysis {"connection_id":175451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08413"} 
[2026-09-09 08:21:39] local.INFO: Extracted packet for processing {"connection_id":175451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08413"} 
[2026-09-09 08:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98802032,"longitude_deg":76.3030656,"latitude_deg":9.8802032,"altitude":5,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d7aec80","hex_latitude":"05e39970","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964090624001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130207066064158720,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859424917260234752,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21: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-09-09 08:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788922249000,"timestamp_ms":1788922249000,"timestamp_seconds":1788922249,"priority":1,"record_length":96,"hex_timestamp":"000001a084133f28"} 
[2026-09-09 08:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:21: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-09-09 08: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 08:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964090624001,"66":13689,"208":206,"85":15104,"24":0,"16":130207066064158720,"45":8859424917260234752},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964090624001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:21:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130207066064158720,"km_value":130207066064158.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859424917260234752,"description":"Unknown IO ID 45"} 
[2026-09-09 08:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964090624001,"power":13689,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8859424917260234752}} 
[2026-09-09 08:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":175451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:21:39] local.INFO: GPS data processed {"connection_id":175451,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:21:39] local.INFO: Acknowledgment sent {"connection_id":175451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:21:40] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:21:40] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:21:40] local.INFO: IMEI packet received {"connection_id":175212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":175212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:21:44] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:21:44] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:21:44] local.INFO: IMEI packet received {"connection_id":175212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":175212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:21:45] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:21:45] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:21:45] local.INFO: Packet analysis {"connection_id":175212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:21:45] local.INFO: Extracted packet for processing {"connection_id":175212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:21:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":175212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:21:45] local.INFO: GPS data processed {"connection_id":175212,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:21:45] local.INFO: Acknowledgment sent {"connection_id":175212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:21:53] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000002da780100000000000000000000000000..."} 
[2026-09-09 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002da780100000000000000000000000000..."} 
[2026-09-09 08:21:53] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002da780100000000000000000000000000..."} 
[2026-09-09 08:21:53] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-09 08:21:53] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-09 08:21:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 08:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30842937541656576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:21:53] 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-09-09 08:21:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":187000,"timestamp_seconds":187,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:21:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 08:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 08:21:53] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 08:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 08:21:53] local.ERROR: GPS data processing failed {"connection_id":175211,"error":"No valid data to process"} 
[2026-09-09 08:21:53] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 08:22:06] local.INFO: TCP Data received {"connection_id":178022,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:22:06] local.INFO: Processing buffer {"connection_id":178022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:22:06] local.INFO: IMEI packet received {"connection_id":178022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":178022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:22:08] local.INFO: TCP Data received {"connection_id":178022,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:22:08] local.INFO: Processing buffer {"connection_id":178022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:22:08] local.INFO: IMEI packet received {"connection_id":178022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":178022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:22:09] local.INFO: TCP Data received {"connection_id":178022,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084138578012d7aeb4005e39af00007015e27..."} 
[2026-09-09 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084138578012d7aeb4005e39af00007015e27..."} 
[2026-09-09 08:22:09] local.INFO: Processing buffer {"connection_id":178022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084138578012d7aeb4005e39af00007015e27..."} 
[2026-09-09 08:22:09] local.INFO: Packet analysis {"connection_id":178022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08413"} 
[2026-09-09 08:22:09] local.INFO: Extracted packet for processing {"connection_id":178022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08413"} 
[2026-09-09 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763030336,"raw_latitude":98802416,"longitude_deg":76.3030336,"latitude_deg":9.8802416,"altitude":7,"angle":350,"satellites":39,"speed":6,"hex_longitude":"2d7aeb40","hex_latitude":"05e39af0","is_valid_coordinates":true} 
[2026-09-09 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964095744001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130207091833962496,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912598528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22: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-09-09 08:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788922267000,"timestamp_ms":1788922267000,"timestamp_seconds":1788922267,"priority":1,"record_length":96,"hex_timestamp":"000001a084138578"} 
[2026-09-09 08:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:22: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-09-09 08:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 08:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964095744001,"66":14026,"208":206,"85":15104,"24":6,"16":130207091833962496,"45":8857595329912598528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964095744001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:22:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130207091833962496,"km_value":130207091833962.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912598528,"description":"Unknown IO ID 45"} 
[2026-09-09 08:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964095744001,"power":14026,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8857595329912598528}} 
[2026-09-09 08:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":178022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:22:09] local.INFO: GPS data processed {"connection_id":178022,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:22:09] local.INFO: Acknowledgment sent {"connection_id":178022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:22:17] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:22:17] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:22:17] local.INFO: Packet analysis {"connection_id":175212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:22:17] local.INFO: Extracted packet for processing {"connection_id":175212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":175212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:22:17] local.INFO: GPS data processed {"connection_id":175212,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:22:17] local.INFO: Acknowledgment sent {"connection_id":175212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:22:29] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000000000032c800100000000000000000000000000..."} 
[2026-09-09 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000032c800100000000000000000000000000..."} 
[2026-09-09 08:22:29] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000032c800100000000000000000000000000..."} 
[2026-09-09 08:22:29] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-09 08:22:29] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-09 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30842937541656576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22: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-09-09 08:22:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":208000,"timestamp_seconds":208,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:22:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 08:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 08:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 08:22:29] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 08:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 08:22:29] local.ERROR: GPS data processing failed {"connection_id":175211,"error":"No valid data to process"} 
[2026-09-09 08:22:29] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 08:22:39] local.INFO: TCP Data received {"connection_id":175452,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:22:39] local.INFO: Processing buffer {"connection_id":175452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:22:39] local.INFO: IMEI packet received {"connection_id":175452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":175452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:22:40] local.INFO: TCP Data received {"connection_id":178022,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08413cbc8012d7ae1c005e3bed00008015927..."} 
[2026-09-09 08:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08413cbc8012d7ae1c005e3bed00008015927..."} 
[2026-09-09 08:22:40] local.INFO: Processing buffer {"connection_id":178022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08413cbc8012d7ae1c005e3bed00008015927..."} 
[2026-09-09 08:22:40] local.INFO: Packet analysis {"connection_id":178022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08413"} 
[2026-09-09 08:22:40] local.INFO: Extracted packet for processing {"connection_id":178022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08413"} 
[2026-09-09 08:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763027904,"raw_latitude":98811600,"longitude_deg":76.3027904,"latitude_deg":9.88116,"altitude":8,"angle":345,"satellites":39,"speed":28,"hex_longitude":"2d7ae1c0","hex_latitude":"05e3bed0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964100352001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130207551395463168,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857243486191808512,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22: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-09-09 08:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788922285000,"timestamp_ms":1788922285000,"timestamp_seconds":1788922285,"priority":1,"record_length":96,"hex_timestamp":"000001a08413cbc8"} 
[2026-09-09 08:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-09 08:22:40] 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-09-09 08: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-09-09 08:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964100352001,"66":13852,"208":206,"85":15104,"24":28,"16":130207551395463168,"45":8857243486191808512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964100352001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:22:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130207551395463168,"km_value":130207551395463.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857243486191808512,"description":"Unknown IO ID 45"} 
[2026-09-09 08:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964100352001,"power":13852,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8857243486191808512}} 
[2026-09-09 08:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":178022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:22:40] local.INFO: GPS data processed {"connection_id":178022,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:22:40] local.INFO: Acknowledgment sent {"connection_id":178022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:22:44] local.INFO: TCP Data received {"connection_id":175452,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:22:44] local.INFO: Processing buffer {"connection_id":175452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:22:44] local.INFO: IMEI packet received {"connection_id":175452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":175452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:22:45] local.INFO: TCP Data received {"connection_id":175452,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:22:45] local.INFO: Processing buffer {"connection_id":175452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:22:45] local.INFO: Packet analysis {"connection_id":175452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:22:45] local.INFO: Extracted packet for processing {"connection_id":175452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:22: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-09-09 08:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":175452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:22:45] local.INFO: GPS data processed {"connection_id":175452,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:22:45] local.INFO: Acknowledgment sent {"connection_id":175452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:23:01] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084151000012d0b0f400702a2b0000d015a07..."} 
[2026-09-09 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084151000012d0b0f400702a2b0000d015a07..."} 
[2026-09-09 08:23:01] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084151000012d0b0f400702a2b0000d015a07..."} 
[2026-09-09 08:23:01] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:23:01] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":755699520,"raw_latitude":117613232,"longitude_deg":75.569952,"latitude_deg":11.7613232,"altitude":13,"angle":346,"satellites":7,"speed":11,"hex_longitude":"2d0b0f40","hex_latitude":"0702a2b0","is_valid_coordinates":true} 
[2026-09-09 08:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964125440001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30843113635315712,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796996426665021440,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23: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-09-09 08:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788922368000,"timestamp_ms":1788922368000,"timestamp_seconds":1788922368,"priority":1,"record_length":96,"hex_timestamp":"000001a084151000"} 
[2026-09-09 08:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:23: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-09-09 08:23: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-09-09 08:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964125440001,"66":14515,"17":206,"94":11008,"24":11,"16":30843113635315712,"45":796996426665021440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 08:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964125440001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:23:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30843113635315712,"km_value":30843113635315.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":796996426665021440,"description":"Unknown IO ID 45"} 
[2026-09-09 08:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964125440001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":796996426665021440}} 
[2026-09-09 08:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787678,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:23:01] local.INFO: GPS data processed {"connection_id":175211,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:23:01] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:23:05] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:23:05] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:23:05] local.INFO: IMEI packet received {"connection_id":178024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":178024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:23:06] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:23:06] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:23:06] local.INFO: IMEI packet received {"connection_id":178024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":178024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:23:09] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084141dd0012d7ad90005e3dbe00009015125..."} 
[2026-09-09 08:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084141dd0012d7ad90005e3dbe00009015125..."} 
[2026-09-09 08:23:09] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084141dd0012d7ad90005e3dbe00009015125..."} 
[2026-09-09 08:23:09] local.INFO: Packet analysis {"connection_id":178024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:23:09] local.INFO: Extracted packet for processing {"connection_id":178024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763025664,"raw_latitude":98819040,"longitude_deg":76.3025664,"latitude_deg":9.881904,"altitude":9,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d7ad900","hex_latitude":"05e3dbe0","is_valid_coordinates":true} 
[2026-09-09 08:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964104960001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130207933647552512,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854569473915408384,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23: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-09-09 08:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788922306000,"timestamp_ms":1788922306000,"timestamp_seconds":1788922306,"priority":1,"record_length":96,"hex_timestamp":"000001a084141dd0"} 
[2026-09-09 08:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:23: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-09-09 08: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 08:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964104960001,"66":13363,"208":206,"85":15104,"24":0,"16":130207933647552512,"45":8854569473915408384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964104960001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:23:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130207933647552512,"km_value":130207933647552.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854569473915408384,"description":"Unknown IO ID 45"} 
[2026-09-09 08:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964104960001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8854569473915408384}} 
[2026-09-09 08:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":178024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:23:09] local.INFO: GPS data processed {"connection_id":178024,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:23:09] local.INFO: Acknowledgment sent {"connection_id":178024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:23:15] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084146fd8012d7ad90005e3dbe00009015123..."} 
[2026-09-09 08:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084146fd8012d7ad90005e3dbe00009015123..."} 
[2026-09-09 08:23:15] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084146fd8012d7ad90005e3dbe00009015123..."} 
[2026-09-09 08:23:15] local.INFO: Packet analysis {"connection_id":178024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:23:15] local.INFO: Extracted packet for processing {"connection_id":178024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763025664,"raw_latitude":98819040,"longitude_deg":76.3025664,"latitude_deg":9.881904,"altitude":9,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d7ad900","hex_latitude":"05e3dbe0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964110336001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130207933647552512,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852106567871094784,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 08:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788922327000,"timestamp_ms":1788922327000,"timestamp_seconds":1788922327,"priority":1,"record_length":96,"hex_timestamp":"000001a084146fd8"} 
[2026-09-09 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-09-09 08:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-09 08:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964110336001,"66":14080,"208":206,"85":15104,"24":0,"16":130207933647552512,"45":8852106567871094784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964110336001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:23:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130207933647552512,"km_value":130207933647552.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852106567871094784,"description":"Unknown IO ID 45"} 
[2026-09-09 08:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964110336001,"power":14080,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8852106567871094784}} 
[2026-09-09 08:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":178024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:23:15] local.INFO: GPS data processed {"connection_id":178024,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:23:15] local.INFO: Acknowledgment sent {"connection_id":178024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:23:17] local.INFO: TCP Data received {"connection_id":175452,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:23:17] local.INFO: Processing buffer {"connection_id":175452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08410ab00012d34c14006aa42c80005010727..."} 
[2026-09-09 08:23:17] local.INFO: Packet analysis {"connection_id":175452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:23:17] local.INFO: Extracted packet for processing {"connection_id":175452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08410"} 
[2026-09-09 08:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457963975424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922080000,"timestamp_ms":1788922080000,"timestamp_seconds":1788922080,"priority":1,"record_length":96,"hex_timestamp":"000001a08410ab00"} 
[2026-09-09 08:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 08:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:23: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-09-09 08:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457963975424001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457963975424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457963975424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":175452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:23:17] local.INFO: GPS data processed {"connection_id":175452,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:23:17] local.INFO: Acknowledgment sent {"connection_id":175452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:23:35] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841513e8012d0b0e400702a3c0000d014607..."} 
[2026-09-09 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841513e8012d0b0e400702a3c0000d014607..."} 
[2026-09-09 08:23:35] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841513e8012d0b0e400702a3c0000d014607..."} 
[2026-09-09 08:23:35] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:23:35] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:23:35] local.INFO: GPS Element Parsed {"raw_longitude":755699264,"raw_latitude":117613504,"longitude_deg":75.5699264,"latitude_deg":11.7613504,"altitude":13,"angle":326,"satellites":7,"speed":11,"hex_longitude":"2d0b0e40","hex_latitude":"0702a3c0","is_valid_coordinates":true} 
[2026-09-09 08:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964126208001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30843135110152192,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796926057921032192,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788922369000,"timestamp_ms":1788922369000,"timestamp_seconds":1788922369,"priority":1,"record_length":96,"hex_timestamp":"000001a0841513e8"} 
[2026-09-09 08:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 08:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964126208001,"66":14428,"17":206,"94":11008,"24":11,"16":30843135110152192,"45":796926057921032192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 08:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964126208001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:23:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30843135110152192,"km_value":30843135110152.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":796926057921032192,"description":"Unknown IO ID 45"} 
[2026-09-09 08:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964126208001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":796926057921032192}} 
[2026-09-09 08:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:23:35] local.INFO: GPS data processed {"connection_id":175211,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:23:35] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:23:39] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:23:39] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:23:39] local.INFO: IMEI packet received {"connection_id":175453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":175453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:23:39] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:23:39] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:23:39] local.INFO: IMEI packet received {"connection_id":175453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":175453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:23:44] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:23:44] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:23:44] local.INFO: IMEI packet received {"connection_id":175453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":175453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:23:46] local.INFO: TCP Data received {"connection_id":178024,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084147f78012d7ad8c005e3de580009015f24..."} 
[2026-09-09 08:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084147f78012d7ad8c005e3de580009015f24..."} 
[2026-09-09 08:23:46] local.INFO: Processing buffer {"connection_id":178024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084147f78012d7ad8c005e3de580009015f24..."} 
[2026-09-09 08:23:46] local.INFO: Packet analysis {"connection_id":178024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:23:46] local.INFO: Extracted packet for processing {"connection_id":178024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:23:46] local.INFO: GPS Element Parsed {"raw_longitude":763025600,"raw_latitude":98819672,"longitude_deg":76.30256,"latitude_deg":9.8819672,"altitude":9,"angle":351,"satellites":36,"speed":8,"hex_longitude":"2d7ad8c0","hex_latitude":"05e3de58","is_valid_coordinates":true} 
[2026-09-09 08:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964115712001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130207963712323584,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852106567871094784,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788922331000,"timestamp_ms":1788922331000,"timestamp_seconds":1788922331,"priority":1,"record_length":96,"hex_timestamp":"000001a084147f78"} 
[2026-09-09 08:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445608448,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2215812864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":51201,"corrected_to":0} 
[2026-09-09 08:23:46] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13459408,"corrected_to":0} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2574254085,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148959,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2524184576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3815233536,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,151,160,29,45,219,9,37,10,66,203,192,190,8,39,133,64,1,240,202,227,150,132,4,113,205,243,112,239,54,2,206,5,3,25],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":203,"original":51201,"validated":0},{"io_id":202,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-09 08:23:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648889032083767296,"timestamp_seconds":648889032083767.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964115712001,"66":13852,"208":206,"85":15104,"24":8,"16":130207963712323584,"45":8852106567871094784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964115712001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:23:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:23:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130207963712323584,"km_value":130207963712323.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852106567871094784,"description":"Unknown IO ID 45"} 
[2026-09-09 08:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964115712001,"power":13852,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8852106567871094784}} 
[2026-09-09 08:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":178024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:23:46] local.INFO: GPS data processed {"connection_id":178024,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:23:46] local.INFO: Acknowledgment sent {"connection_id":178024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:23:46] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:23:46] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:23:46] local.INFO: Packet analysis {"connection_id":175453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:23:46] local.INFO: Extracted packet for processing {"connection_id":175453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 08:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":175453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:23:46] local.INFO: GPS data processed {"connection_id":175453,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:23:46] local.INFO: Acknowledgment sent {"connection_id":175453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:24:05] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:24:05] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:24:05] local.INFO: IMEI packet received {"connection_id":175213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":175213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:24:06] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:24:06] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:24:06] local.INFO: IMEI packet received {"connection_id":175213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":175213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:24:08] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08414cd98012d7ad18005e401280007015e26..."} 
[2026-09-09 08:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08414cd98012d7ad18005e401280007015e26..."} 
[2026-09-09 08:24:08] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08414cd98012d7ad18005e401280007015e26..."} 
[2026-09-09 08:24:08] local.INFO: Packet analysis {"connection_id":175213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:24:08] local.INFO: Extracted packet for processing {"connection_id":175213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763023744,"raw_latitude":98828584,"longitude_deg":76.3023744,"latitude_deg":9.8828584,"altitude":7,"angle":350,"satellites":38,"speed":16,"hex_longitude":"2d7ad180","hex_latitude":"05e40128","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130208406093955072,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852036199127078912,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24: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-09-09 08:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788922351000,"timestamp_ms":1788922351000,"timestamp_seconds":1788922351,"priority":1,"record_length":96,"hex_timestamp":"000001a08414cd98"} 
[2026-09-09 08:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:24: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-09-09 08: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 08:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964116736001,"66":13537,"208":206,"85":15104,"24":16,"16":130208406093955072,"45":8852036199127078912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:24:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130208406093955072,"km_value":130208406093955.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852036199127078912,"description":"Unknown IO ID 45"} 
[2026-09-09 08:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964116736001,"power":13537,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8852036199127078912}} 
[2026-09-09 08:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":175213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:24:08] local.INFO: GPS data processed {"connection_id":175213,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:24:08] local.INFO: Acknowledgment sent {"connection_id":175213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:24:11] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08414f890012d7acdc005e40ef00008015025..."} 
[2026-09-09 08:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08414f890012d7acdc005e40ef00008015025..."} 
[2026-09-09 08:24:11] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08414f890012d7acdc005e40ef00008015025..."} 
[2026-09-09 08:24:11] local.INFO: Packet analysis {"connection_id":175213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:24:11] local.INFO: Extracted packet for processing {"connection_id":175213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":98832112,"longitude_deg":76.3022784,"latitude_deg":9.8832112,"altitude":8,"angle":336,"satellites":37,"speed":9,"hex_longitude":"2d7acdc0","hex_latitude":"05e40ef0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964121856001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130208586482581504,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849995505548208128,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788922362000,"timestamp_ms":1788922362000,"timestamp_seconds":1788922362,"priority":1,"record_length":96,"hex_timestamp":"000001a08414f890"} 
[2026-09-09 08:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:24: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-09-09 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-09 08:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964121856001,"66":12917,"208":206,"85":15104,"24":9,"16":130208586482581504,"45":8849995505548208128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964121856001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:24:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130208586482581504,"km_value":130208586482581.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849995505548208128,"description":"Unknown IO ID 45"} 
[2026-09-09 08:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964121856001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8849995505548208128}} 
[2026-09-09 08:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":175213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:24:11] local.INFO: GPS data processed {"connection_id":175213,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:24:11] local.INFO: Acknowledgment sent {"connection_id":175213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:24:18] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:24:18] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:24:18] local.INFO: Packet analysis {"connection_id":175453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:24:18] local.INFO: Extracted packet for processing {"connection_id":175453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 08:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:24: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-09-09 08:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:24: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-09-09 08:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":175453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:24:18] local.INFO: GPS data processed {"connection_id":175453,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:24:18] local.INFO: Acknowledgment sent {"connection_id":175453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:24:24] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084165050012d0b528007029d280001005c07..."} 
[2026-09-09 08:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084165050012d0b528007029d280001005c07..."} 
[2026-09-09 08:24:24] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084165050012d0b528007029d280001005c07..."} 
[2026-09-09 08:24:24] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08416"} 
[2026-09-09 08:24:24] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08416"} 
[2026-09-09 08:24:24] local.INFO: GPS Element Parsed {"raw_longitude":755716736,"raw_latitude":117611816,"longitude_deg":75.5716736,"latitude_deg":11.7611816,"altitude":1,"angle":92,"satellites":7,"speed":22,"hex_longitude":"2d0b5280","hex_latitude":"07029d28","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964146688001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30844767197724672,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814588612709285888,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24: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-09-09 08:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788922450000,"timestamp_ms":1788922450000,"timestamp_seconds":1788922450,"priority":1,"record_length":96,"hex_timestamp":"000001a084165050"} 
[2026-09-09 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-09-09 08:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:24:24] 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-09-09 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-09-09 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-09-09 08:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964146688001,"66":14450,"17":206,"94":11008,"24":22,"16":30844767197724672,"45":814588612709285888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 08:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964146688001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:24:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30844767197724672,"km_value":30844767197724.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":814588612709285888,"description":"Unknown IO ID 45"} 
[2026-09-09 08:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964146688001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":814588612709285888}} 
[2026-09-09 08:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:24:24] local.INFO: GPS data processed {"connection_id":175211,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:24:24] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:24:39] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:24:39] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:24:39] local.INFO: IMEI packet received {"connection_id":175214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":175214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:24:42] local.INFO: TCP Data received {"connection_id":175213,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08414fc78012d7acd8005e40fc00008014326..."} 
[2026-09-09 08:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08414fc78012d7acd8005e40fc00008014326..."} 
[2026-09-09 08:24:42] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08414fc78012d7acd8005e40fc00008014326..."} 
[2026-09-09 08:24:42] local.INFO: Packet analysis {"connection_id":175213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:24:42] local.INFO: Extracted packet for processing {"connection_id":175213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08414"} 
[2026-09-09 08:24:42] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":98832320,"longitude_deg":76.302272,"latitude_deg":9.883232,"altitude":8,"angle":323,"satellites":38,"speed":9,"hex_longitude":"2d7acd80","hex_latitude":"05e40fc0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964124672001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130208595072516096,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386446336,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24: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-09-09 08:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788922363000,"timestamp_ms":1788922363000,"timestamp_seconds":1788922363,"priority":1,"record_length":96,"hex_timestamp":"000001a08414fc78"} 
[2026-09-09 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-09-09 08:24: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-09-09 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-09 08:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964124672001,"66":12917,"208":206,"85":15104,"24":9,"16":130208595072516096,"45":8848939974386446336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964124672001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:24:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130208595072516096,"km_value":130208595072516.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386446336,"description":"Unknown IO ID 45"} 
[2026-09-09 08:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964124672001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848939974386446336}} 
[2026-09-09 08:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":175213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:24:42] local.INFO: GPS data processed {"connection_id":175213,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:24:42] local.INFO: Acknowledgment sent {"connection_id":175213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:24:44] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:24:44] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:24:44] local.INFO: IMEI packet received {"connection_id":175214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":175214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:24:45] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:24:45] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:24:45] local.INFO: Packet analysis {"connection_id":175214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:24:45] local.INFO: Extracted packet for processing {"connection_id":175214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 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-09-09 08:24: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-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":175214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:24:45] local.INFO: GPS data processed {"connection_id":175214,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:24:45] local.INFO: Acknowledgment sent {"connection_id":175214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:24:57] local.INFO: TCP Data received {"connection_id":175211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841667c0012d0b634007029f480001005007..."} 
[2026-09-09 08:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841667c0012d0b634007029f480001005007..."} 
[2026-09-09 08:24:57] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841667c0012d0b634007029f480001005007..."} 
[2026-09-09 08:24:57] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08416"} 
[2026-09-09 08:24:57] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08416"} 
[2026-09-09 08:24:57] local.INFO: GPS Element Parsed {"raw_longitude":755721024,"raw_latitude":117612360,"longitude_deg":75.5721024,"latitude_deg":11.761236,"altitude":1,"angle":80,"satellites":7,"speed":30,"hex_longitude":"2d0b6340","hex_latitude":"07029f48","is_valid_coordinates":true} 
[2026-09-09 08:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964147200001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30844973356154880,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815855250104461312,"note":"Value kept but may cause issues"} 
[2026-09-09 08:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788922456000,"timestamp_ms":1788922456000,"timestamp_seconds":1788922456,"priority":1,"record_length":96,"hex_timestamp":"000001a0841667c0"} 
[2026-09-09 08:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:24:57] 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-09-09 08:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964147200001,"66":14537,"17":206,"94":11008,"24":30,"16":30844973356154880,"45":815855250104461312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 08:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964147200001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:24:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30844973356154880,"km_value":30844973356154.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":815855250104461312,"description":"Unknown IO ID 45"} 
[2026-09-09 08:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964147200001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":815855250104461312}} 
[2026-09-09 08:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:24:57] local.INFO: GPS data processed {"connection_id":175211,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:24:57] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:25:01] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:25:01] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:25:01] local.INFO: IMEI packet received {"connection_id":175454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":175454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:25:04] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:25:04] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:25:04] local.INFO: IMEI packet received {"connection_id":175454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":175454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:25:12] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:25:12] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:25:12] local.INFO: IMEI packet received {"connection_id":175215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":175215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:25:13] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:25:13] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:25:13] local.INFO: IMEI packet received {"connection_id":175454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":175454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:25:15] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a084..."} 
[2026-09-09 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a084..."} 
[2026-09-09 08:25:15] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a084..."} 
[2026-09-09 08:25:15] local.INFO: IMEI packet received {"connection_id":175454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":175454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:25:16] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:25:16] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:25:16] local.INFO: Packet analysis {"connection_id":175214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:25:16] local.INFO: Extracted packet for processing {"connection_id":175214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 08:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:25:16] 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-09-09 08:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":175214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:25:16] local.INFO: GPS data processed {"connection_id":175214,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:25:16] local.INFO: Acknowledgment sent {"connection_id":175214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:25:17] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084171b70012d7ac54005e410d80005005221..."} 
[2026-09-09 08:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084171b70012d7ac54005e410d80005005221..."} 
[2026-09-09 08:25:17] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08416cd50012d7aa28005e40c800004004f1e..."} 
[2026-09-09 08:25:17] local.INFO: Packet analysis {"connection_id":175454,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08416"} 
[2026-09-09 08:25:17] local.INFO: Extracted packet for processing {"connection_id":175454,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08416"} 
[2026-09-09 08:25:17] local.INFO: GPS Element Parsed {"raw_longitude":763011712,"raw_latitude":98831488,"longitude_deg":76.3011712,"latitude_deg":9.8831488,"altitude":4,"angle":79,"satellites":30,"speed":8,"hex_longitude":"2d7aa280","hex_latitude":"05e40c80","is_valid_coordinates":true} 
[2026-09-09 08:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964154880001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130209308037087232,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836414337922639872,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922482000,"timestamp_ms":1788922482000,"timestamp_seconds":1788922482,"priority":1,"record_length":96,"hex_timestamp":"000001a08416cd50"} 
[2026-09-09 08:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:25: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-09-09 08:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 08:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964154880001,"66":13917,"208":206,"85":15104,"24":8,"16":130209308037087232,"45":8836414337922639872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964154880001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:25:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130209308037087232,"km_value":130209308037087.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836414337922639872,"description":"Unknown IO ID 45"} 
[2026-09-09 08:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964154880001,"power":13917,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8836414337922639872}} 
[2026-09-09 08:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":175454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:25:17] local.INFO: GPS data processed {"connection_id":175454,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:25:17] local.INFO: Acknowledgment sent {"connection_id":175454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:25:17] local.INFO: Packet analysis {"connection_id":175454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:25:17] local.INFO: Extracted packet for processing {"connection_id":175454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:25:17] local.INFO: GPS Element Parsed {"raw_longitude":763020608,"raw_latitude":98832600,"longitude_deg":76.3020608,"latitude_deg":9.88326,"altitude":5,"angle":82,"satellites":33,"speed":14,"hex_longitude":"2d7ac540","hex_latitude":"05e410d8","is_valid_coordinates":true} 
[2026-09-09 08:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964155392001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130209741828784128,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836766181643550720,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922502000,"timestamp_ms":1788922502000,"timestamp_seconds":1788922502,"priority":1,"record_length":96,"hex_timestamp":"000001a084171b70"} 
[2026-09-09 08:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:25: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-09-09 08:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 08:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964155392001,"66":13656,"208":206,"85":15104,"24":14,"16":130209741828784128,"45":8836766181643550720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964155392001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:25:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130209741828784128,"km_value":130209741828784.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836766181643550720,"description":"Unknown IO ID 45"} 
[2026-09-09 08:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964155392001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8836766181643550720}} 
[2026-09-09 08:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":175454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:25:17] local.INFO: GPS data processed {"connection_id":175454,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:25:17] local.INFO: Acknowledgment sent {"connection_id":175454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:25:18] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084171b70012d7ac54005e410d80005005221..."} 
[2026-09-09 08:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084171b70012d7ac54005e410d80005005221..."} 
[2026-09-09 08:25:18] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084171b70012d7ac54005e410d80005005221..."} 
[2026-09-09 08:25:18] local.INFO: Packet analysis {"connection_id":175454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:25:18] local.INFO: Extracted packet for processing {"connection_id":175454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:25:18] local.INFO: GPS Element Parsed {"raw_longitude":763020608,"raw_latitude":98832600,"longitude_deg":76.3020608,"latitude_deg":9.88326,"altitude":5,"angle":82,"satellites":33,"speed":14,"hex_longitude":"2d7ac540","hex_latitude":"05e410d8","is_valid_coordinates":true} 
[2026-09-09 08:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964160512001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130209741828784128,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846547437084530688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788922502000,"timestamp_ms":1788922502000,"timestamp_seconds":1788922502,"priority":1,"record_length":96,"hex_timestamp":"000001a084171b70"} 
[2026-09-09 08:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:25: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-09-09 08:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 08:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964160512001,"66":13656,"208":206,"85":15104,"24":14,"16":130209741828784128,"45":8846547437084530688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964160512001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:25:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:25:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130209741828784128,"km_value":130209741828784.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846547437084530688,"description":"Unknown IO ID 45"} 
[2026-09-09 08:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964160512001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8846547437084530688}} 
[2026-09-09 08:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":175454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:25:18] local.INFO: GPS data processed {"connection_id":175454,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:25:18] local.INFO: Acknowledgment sent {"connection_id":175454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:25:38] local.INFO: TCP Data received {"connection_id":176568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:25:38] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:25:38] local.INFO: IMEI packet received {"connection_id":176568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":176568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:25:40] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:25:40] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:25:40] local.INFO: IMEI packet received {"connection_id":176567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":176567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:25:40] local.INFO: TCP Data received {"connection_id":176568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:25:40] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:25:40] local.INFO: IMEI packet received {"connection_id":176568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":176568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:25:42] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:25:42] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:25:42] local.INFO: IMEI packet received {"connection_id":175216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":175216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:25:44] local.INFO: TCP Data received {"connection_id":176568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:25:44] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:25:44] local.INFO: IMEI packet received {"connection_id":176568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":176568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:25:44] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:25:44] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:25:44] local.INFO: IMEI packet received {"connection_id":176567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":176567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:25:45] local.INFO: TCP Data received {"connection_id":176568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084175dd8012d0bc3000702a0580000004709..."} 
[2026-09-09 08:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084175dd8012d0bc3000702a0580000004709..."} 
[2026-09-09 08:25:45] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084175dd8012d0bc3000702a0580000004709..."} 
[2026-09-09 08:25:45] local.INFO: Packet analysis {"connection_id":176568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:25:45] local.INFO: Extracted packet for processing {"connection_id":176568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:25:45] local.INFO: GPS Element Parsed {"raw_longitude":755745536,"raw_latitude":117612632,"longitude_deg":75.5745536,"latitude_deg":11.7612632,"altitude":0,"angle":71,"satellites":9,"speed":15,"hex_longitude":"2d0bc300","hex_latitude":"0702a058","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964164096001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30846244666474496,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846113810100983808,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922519000,"timestamp_ms":1788922519000,"timestamp_seconds":1788922519,"priority":1,"record_length":96,"hex_timestamp":"000001a084175dd8"} 
[2026-09-09 08:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:25: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-09-09 08: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":179,"data_length":795,"current_offset":136} 
[2026-09-09 08:25: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-09-09 08: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-09-09 08:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964164096001,"66":14450,"17":206,"94":11008,"24":15,"16":30846244666474496,"45":846113810100983808},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 08:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964164096001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:25:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30846244666474496,"km_value":30846244666474.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":846113810100983808,"description":"Unknown IO ID 45"} 
[2026-09-09 08:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964164096001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":846113810100983808}} 
[2026-09-09 08:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":176568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787696,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:25:45] local.INFO: GPS data processed {"connection_id":176568,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:25:45] local.INFO: Acknowledgment sent {"connection_id":176568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:25:45] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:25:45] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:25:45] local.INFO: Packet analysis {"connection_id":176567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:25:45] local.INFO: Extracted packet for processing {"connection_id":176567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 08:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:25: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-09-09 08:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:25:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":176567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:25:45] local.INFO: GPS data processed {"connection_id":176567,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:25:45] local.INFO: Acknowledgment sent {"connection_id":176567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:26:01] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:26:01] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:26:01] local.INFO: IMEI packet received {"connection_id":175217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":175217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:26:05] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:26:05] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:26:05] local.INFO: IMEI packet received {"connection_id":175217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":175217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:26:06] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:26:06] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:26:06] local.INFO: IMEI packet received {"connection_id":175217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":175217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:26:08] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084176d78012d7acb0005e411980005005027..."} 
[2026-09-09 08:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084176d78012d7acb0005e411980005005027..."} 
[2026-09-09 08:26:08] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084176d78012d7acb0005e411980005005027..."} 
[2026-09-09 08:26:08] local.INFO: Packet analysis {"connection_id":175217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:26:08] local.INFO: Extracted packet for processing {"connection_id":175217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763022080,"raw_latitude":98832792,"longitude_deg":76.302208,"latitude_deg":9.8832792,"altitude":5,"angle":80,"satellites":39,"speed":2,"hex_longitude":"2d7acb00","hex_latitude":"05e41198","is_valid_coordinates":true} 
[2026-09-09 08:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964160512001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130209810548260864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846547437084530688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26: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-09-09 08:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788922523000,"timestamp_ms":1788922523000,"timestamp_seconds":1788922523,"priority":1,"record_length":96,"hex_timestamp":"000001a084176d78"} 
[2026-09-09 08:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:26: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-09-09 08:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 08:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964160512001,"66":12863,"208":206,"85":15104,"24":2,"16":130209810548260864,"45":8846547437084530688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964160512001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:26:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130209810548260864,"km_value":130209810548260.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846547437084530688,"description":"Unknown IO ID 45"} 
[2026-09-09 08:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964160512001,"power":12863,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8846547437084530688}} 
[2026-09-09 08:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":175217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:26:08] local.INFO: GPS data processed {"connection_id":175217,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:26:08] local.INFO: Acknowledgment sent {"connection_id":175217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:26:13] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084177d18012d7acc8005e411a80005005e22..."} 
[2026-09-09 08:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084177d18012d7acc8005e411a80005005e22..."} 
[2026-09-09 08:26:13] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084177d18012d7acc8005e411a80005005e22..."} 
[2026-09-09 08:26:13] local.INFO: Packet analysis {"connection_id":175217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:26:13] local.INFO: Extracted packet for processing {"connection_id":175217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:26:13] local.INFO: GPS Element Parsed {"raw_longitude":763022464,"raw_latitude":98832808,"longitude_deg":76.3022464,"latitude_deg":9.8832808,"altitude":5,"angle":94,"satellites":34,"speed":4,"hex_longitude":"2d7acc80","hex_latitude":"05e411a8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964165888001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130209827728130048,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200666112,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 08:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788922527000,"timestamp_ms":1788922527000,"timestamp_seconds":1788922527,"priority":1,"record_length":96,"hex_timestamp":"000001a084177d18"} 
[2026-09-09 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-09-09 08:26: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-09-09 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-09 08:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964165888001,"66":13798,"208":206,"85":15104,"24":4,"16":130209827728130048,"45":8848165918200666112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964165888001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:26:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130209827728130048,"km_value":130209827728130.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200666112,"description":"Unknown IO ID 45"} 
[2026-09-09 08:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964165888001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8848165918200666112}} 
[2026-09-09 08:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":175217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:26:13] local.INFO: GPS data processed {"connection_id":175217,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:26:13] local.INFO: Acknowledgment sent {"connection_id":175217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:26:16] local.INFO: TCP Data received {"connection_id":176568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084182128012d0bf9c00702a0580000003d09..."} 
[2026-09-09 08:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084182128012d0bf9c00702a0580000003d09..."} 
[2026-09-09 08:26:16] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084182128012d0bf9c00702a0580000003d09..."} 
[2026-09-09 08:26:16] local.INFO: Packet analysis {"connection_id":176568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08418"} 
[2026-09-09 08:26:16] local.INFO: Extracted packet for processing {"connection_id":176568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08418"} 
[2026-09-09 08:26:16] local.INFO: GPS Element Parsed {"raw_longitude":755759552,"raw_latitude":117612632,"longitude_deg":75.5759552,"latitude_deg":11.7612632,"altitude":0,"angle":61,"satellites":9,"speed":10,"hex_longitude":"2d0bf9c0","hex_latitude":"0702a058","is_valid_coordinates":true} 
[2026-09-09 08:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964177152001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30846927566274560,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862368990006036480,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:16] 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-09-09 08:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788922569000,"timestamp_ms":1788922569000,"timestamp_seconds":1788922569,"priority":1,"record_length":96,"hex_timestamp":"000001a084182128"} 
[2026-09-09 08:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:26:16] 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-09-09 08:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964177152001,"66":14450,"36":206,"94":11008,"24":10,"16":30846927566274560,"45":862368990006036480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-09 08:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964177152001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:26:16] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-09 08:26:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30846927566274560,"km_value":30846927566274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":862368990006036480,"description":"Unknown IO ID 45"} 
[2026-09-09 08:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964177152001,"power":14450,"unknown_36":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":862368990006036480}} 
[2026-09-09 08:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":176568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:26:17] local.INFO: GPS data processed {"connection_id":176568,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:26:17] local.INFO: Acknowledgment sent {"connection_id":176568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:26:17] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:26:17] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:26:17] local.INFO: Packet analysis {"connection_id":176567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:26:17] local.INFO: Extracted packet for processing {"connection_id":176567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 08:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:26: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-09-09 08:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":176567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:26:17] local.INFO: GPS data processed {"connection_id":176567,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:26:17] local.INFO: Acknowledgment sent {"connection_id":176567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:26:39] local.INFO: TCP Data received {"connection_id":178026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:26:39] local.INFO: Processing buffer {"connection_id":178026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:26:39] local.INFO: IMEI packet received {"connection_id":178026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":178026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:26:44] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084178100012d7acd0005e411800005006e24..."} 
[2026-09-09 08:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084178100012d7acd0005e411800005006e24..."} 
[2026-09-09 08:26:44] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084178100012d7acd0005e411800005006e24..."} 
[2026-09-09 08:26:44] local.INFO: Packet analysis {"connection_id":175217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:26:44] local.INFO: Extracted packet for processing {"connection_id":175217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":98832768,"longitude_deg":76.3022592,"latitude_deg":9.8832768,"altitude":5,"angle":110,"satellites":36,"speed":6,"hex_longitude":"2d7acd00","hex_latitude":"05e41180","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964166912001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130209836318064640,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665736192,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 08:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788922528000,"timestamp_ms":1788922528000,"timestamp_seconds":1788922528,"priority":1,"record_length":96,"hex_timestamp":"000001a084178100"} 
[2026-09-09 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-09-09 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 08:26: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-09-09 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-09-09 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-09-09 08:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964166912001,"66":13798,"208":206,"85":15104,"24":6,"16":130209836318064640,"45":8848588130665736192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964166912001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:26:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130209836318064640,"km_value":130209836318064.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665736192,"description":"Unknown IO ID 45"} 
[2026-09-09 08:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964166912001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8848588130665736192}} 
[2026-09-09 08:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":175217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:26:44] local.INFO: GPS data processed {"connection_id":175217,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:26:44] local.INFO: Acknowledgment sent {"connection_id":175217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:26:44] local.INFO: TCP Data received {"connection_id":178026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:26:44] local.INFO: Processing buffer {"connection_id":178026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:26:44] local.INFO: IMEI packet received {"connection_id":178026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":178026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:26:45] local.INFO: TCP Data received {"connection_id":178026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:26:45] local.INFO: Processing buffer {"connection_id":178026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:26:45] local.INFO: Packet analysis {"connection_id":178026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:26:45] local.INFO: Extracted packet for processing {"connection_id":178026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 08:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:26:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":178026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:26:45] local.INFO: GPS data processed {"connection_id":178026,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:26:45] local.INFO: Acknowledgment sent {"connection_id":178026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:26:48] local.INFO: TCP Data received {"connection_id":176568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084182510012d0bfac00702a1080000002d0a..."} 
[2026-09-09 08:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084182510012d0bfac00702a1080000002d0a..."} 
[2026-09-09 08:26:48] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084182510012d0bfac00702a1080000002d0a..."} 
[2026-09-09 08:26:48] local.INFO: Packet analysis {"connection_id":176568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08418"} 
[2026-09-09 08:26:48] local.INFO: Extracted packet for processing {"connection_id":176568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08418"} 
[2026-09-09 08:26:48] local.INFO: GPS Element Parsed {"raw_longitude":755759808,"raw_latitude":117612808,"longitude_deg":75.5759808,"latitude_deg":11.7612808,"altitude":0,"angle":45,"satellites":10,"speed":10,"hex_longitude":"2d0bfac0","hex_latitude":"0702a108","is_valid_coordinates":true} 
[2026-09-09 08:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964177664001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30846940451176448,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862931939959527424,"note":"Value kept but may cause issues"} 
[2026-09-09 08:26:48] 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-09-09 08:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788922570000,"timestamp_ms":1788922570000,"timestamp_seconds":1788922570,"priority":1,"record_length":96,"hex_timestamp":"000001a084182510"} 
[2026-09-09 08:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964177664001,"66":14450,"36":206,"94":11008,"24":10,"16":30846940451176448,"45":862931939959527424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-09 08:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964177664001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:26:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-09 08:26:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30846940451176448,"km_value":30846940451176.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":862931939959527424,"description":"Unknown IO ID 45"} 
[2026-09-09 08:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964177664001,"power":14450,"unknown_36":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":862931939959527424}} 
[2026-09-09 08:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":176568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:26:48] local.INFO: GPS data processed {"connection_id":176568,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:26:48] local.INFO: Acknowledgment sent {"connection_id":176568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:27:01] local.INFO: TCP Data received {"connection_id":178027,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:27:01] local.INFO: Processing buffer {"connection_id":178027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:27:01] local.INFO: IMEI packet received {"connection_id":178027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":178027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:27:06] local.INFO: TCP Data received {"connection_id":178027,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:27:06] local.INFO: Processing buffer {"connection_id":178027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:27:06] local.INFO: IMEI packet received {"connection_id":178027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":178027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:27:08] local.INFO: TCP Data received {"connection_id":178027,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841784e8012d7acdc005e411200005008a26..."} 
[2026-09-09 08:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841784e8012d7acdc005e411200005008a26..."} 
[2026-09-09 08:27:08] local.INFO: Processing buffer {"connection_id":178027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841784e8012d7acdc005e411200005008a26..."} 
[2026-09-09 08:27:08] local.INFO: Packet analysis {"connection_id":178027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:27:08] local.INFO: Extracted packet for processing {"connection_id":178027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08417"} 
[2026-09-09 08:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":98832672,"longitude_deg":76.3022784,"latitude_deg":9.8832672,"altitude":5,"angle":138,"satellites":38,"speed":7,"hex_longitude":"2d7acdc0","hex_latitude":"05e41120","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964167168001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130209844907999232,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728868154081280,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27: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-09-09 08:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788922529000,"timestamp_ms":1788922529000,"timestamp_seconds":1788922529,"priority":1,"record_length":96,"hex_timestamp":"000001a0841784e8"} 
[2026-09-09 08:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 08:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964167168001,"66":13798,"208":206,"85":15104,"24":7,"16":130209844907999232,"45":8848728868154081280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964167168001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:27:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130209844907999232,"km_value":130209844907999.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728868154081280,"description":"Unknown IO ID 45"} 
[2026-09-09 08:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964167168001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8848728868154081280}} 
[2026-09-09 08:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":178027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:27:08] local.INFO: GPS data processed {"connection_id":178027,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:27:08] local.INFO: Acknowledgment sent {"connection_id":178027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:27:18] local.INFO: TCP Data received {"connection_id":178026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:27:18] local.INFO: Processing buffer {"connection_id":178026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:27:18] local.INFO: Packet analysis {"connection_id":178026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:27:18] local.INFO: Extracted packet for processing {"connection_id":178026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 08:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:27: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-09-09 08:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":178026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:27:18] local.INFO: GPS data processed {"connection_id":178026,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:27:18] local.INFO: Acknowledgment sent {"connection_id":178026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:27:19] local.INFO: TCP Data received {"connection_id":176568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084182ce0012d0bfb400702a298000000190a..."} 
[2026-09-09 08:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084182ce0012d0bfb400702a298000000190a..."} 
[2026-09-09 08:27:19] local.INFO: Processing buffer {"connection_id":176568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084182ce0012d0bfb400702a298000000190a..."} 
[2026-09-09 08:27:19] local.INFO: Packet analysis {"connection_id":176568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08418"} 
[2026-09-09 08:27:19] local.INFO: Extracted packet for processing {"connection_id":176568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08418"} 
[2026-09-09 08:27:19] local.INFO: GPS Element Parsed {"raw_longitude":755759936,"raw_latitude":117613208,"longitude_deg":75.5759936,"latitude_deg":11.7613208,"altitude":0,"angle":25,"satellites":10,"speed":6,"hex_longitude":"2d0bfb40","hex_latitude":"0702a298","is_valid_coordinates":true} 
[2026-09-09 08:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964177920001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30846961926012928,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863213414936283136,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:19] 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-09-09 08:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788922572000,"timestamp_ms":1788922572000,"timestamp_seconds":1788922572,"priority":1,"record_length":96,"hex_timestamp":"000001a084182ce0"} 
[2026-09-09 08:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:27: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-09-09 08:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:27:19] 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-09-09 08:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964177920001,"66":14374,"36":206,"94":11008,"24":6,"16":30846961926012928,"45":863213414936283136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-09 08:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964177920001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:27:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-09 08:27:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30846961926012928,"km_value":30846961926012.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":863213414936283136,"description":"Unknown IO ID 45"} 
[2026-09-09 08:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964177920001,"power":14374,"unknown_36":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":863213414936283136}} 
[2026-09-09 08:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":176568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:27:19] local.INFO: GPS data processed {"connection_id":176568,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:27:19] local.INFO: Acknowledgment sent {"connection_id":176568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:27:39] local.INFO: TCP Data received {"connection_id":176569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:27:39] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:27:39] local.INFO: IMEI packet received {"connection_id":176569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":176569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:27:40] local.INFO: TCP Data received {"connection_id":178027,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084191f10012d7b0bc005e35438000a00221e..."} 
[2026-09-09 08:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084191f10012d7b0bc005e35438000a00221e..."} 
[2026-09-09 08:27:40] local.INFO: Processing buffer {"connection_id":178027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084191f10012d7b0bc005e35438000a00221e..."} 
[2026-09-09 08:27:40] local.INFO: Packet analysis {"connection_id":178027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:27:40] local.INFO: Extracted packet for processing {"connection_id":178027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98784312,"longitude_deg":76.3038656,"latitude_deg":9.8784312,"altitude":10,"angle":34,"satellites":30,"speed":3,"hex_longitude":"2d7b0bc0","hex_latitude":"05e35438","is_valid_coordinates":true} 
[2026-09-09 08:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964193024001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130212387528638464,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866109947953489920,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27: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-09-09 08:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788922634000,"timestamp_ms":1788922634000,"timestamp_seconds":1788922634,"priority":1,"record_length":96,"hex_timestamp":"000001a084191f10"} 
[2026-09-09 08:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:27: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-09-09 08:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 08:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964193024001,"66":13537,"208":206,"85":15104,"24":3,"16":130212387528638464,"45":8866109947953489920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964193024001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:27:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130212387528638464,"km_value":130212387528638.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866109947953489920,"description":"Unknown IO ID 45"} 
[2026-09-09 08:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964193024001,"power":13537,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866109947953489920}} 
[2026-09-09 08:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":178027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:27:40] local.INFO: GPS data processed {"connection_id":178027,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:27:40] local.INFO: Acknowledgment sent {"connection_id":178027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:27:43] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:27:43] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:27:43] local.INFO: IMEI packet received {"connection_id":175219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":175219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:27:43] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:27:43] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:27:43] local.INFO: IMEI packet received {"connection_id":175219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":175219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:27:44] local.INFO: TCP Data received {"connection_id":176569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:27:44] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:27:44] local.INFO: IMEI packet received {"connection_id":176569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":176569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:27:45] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:27:45] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:27:45] local.INFO: IMEI packet received {"connection_id":175219,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":175219,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:27:45] local.INFO: TCP Data received {"connection_id":176569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:27:45] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:27:45] local.INFO: Packet analysis {"connection_id":176569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:27:45] local.INFO: Extracted packet for processing {"connection_id":176569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 08:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:27: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-09-09 08:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:27:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":176569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:27:45] local.INFO: GPS data processed {"connection_id":176569,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:27:45] local.INFO: Acknowledgment sent {"connection_id":176569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:27:46] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.41","data_length":1340,"data_hex":"000000000000030f8e0a000001a0841951d8012d0c29400702aaa00007004c0c..."} 
[2026-09-09 08:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0841951d8012d0c29400702aaa00007004c0c..."} 
[2026-09-09 08:27:46] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0841951d8012d0c29400702aaa00007004c0c..."} 
[2026-09-09 08:27:46] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:27:46] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:27:46] local.INFO: GPS Element Parsed {"raw_longitude":755771712,"raw_latitude":117615264,"longitude_deg":75.5771712,"latitude_deg":11.7615264,"altitude":7,"angle":76,"satellites":12,"speed":1,"hex_longitude":"2d0c2940","hex_latitude":"0702aaa0","is_valid_coordinates":true} 
[2026-09-09 08:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964197120001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847580401303552,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876231632609769472,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27: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-09-09 08:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788922647000,"timestamp_ms":1788922647000,"timestamp_seconds":1788922647,"priority":1,"record_length":96,"hex_timestamp":"000001a0841951d8"} 
[2026-09-09 08:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:27: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-09-09 08:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 08:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964197120001,"66":14439,"37":206,"94":11008,"24":1,"16":30847580401303552,"45":876231632609769472},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964197120001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:27:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:27:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847580401303552,"km_value":30847580401303.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":876231632609769472,"description":"Unknown IO ID 45"} 
[2026-09-09 08:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964197120001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":876231632609769472}} 
[2026-09-09 08:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:27:46] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:27:46] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:27:46] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:27:46] local.INFO: Incomplete packet, waiting for more data {"connection_id":175219,"needed":795,"available":545} 
[2026-09-09 08:27:46] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.41","data_length":250,"data_hex":"e30010006d978700000000000001a08418c150012d0c14000702abd800060046..."} 
[2026-09-09 08:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":250,"packet_hex":"e30010006d978700000000000001a08418c150012d0c14000702abd800060046..."} 
[2026-09-09 08:27:46] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084195d90012d0c29000702aa88000700fc0c..."} 
[2026-09-09 08:27:46] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:27:46] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:27:46] local.INFO: GPS Element Parsed {"raw_longitude":755771648,"raw_latitude":117615240,"longitude_deg":75.5771648,"latitude_deg":11.761524,"altitude":7,"angle":252,"satellites":12,"speed":0,"hex_longitude":"2d0c2900","hex_latitude":"0702aa88","is_valid_coordinates":true} 
[2026-09-09 08:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964197632001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847588991238144,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876302001353957376,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27: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-09-09 08:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788922650000,"timestamp_ms":1788922650000,"timestamp_seconds":1788922650,"priority":1,"record_length":96,"hex_timestamp":"000001a084195d90"} 
[2026-09-09 08:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 08:27:46] 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-09-09 08:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964197632001,"66":14537,"37":206,"94":11008,"24":0,"16":30847588991238144,"45":876302001353957376},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964197632001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:27:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:27:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847588991238144,"km_value":30847588991238.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":876302001353957376,"description":"Unknown IO ID 45"} 
[2026-09-09 08:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964197632001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":876302001353957376}} 
[2026-09-09 08:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:27:46] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:27:46] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:27:50] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084196560012d0c28400702aa60000701090c..."} 
[2026-09-09 08:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084196560012d0c28400702aa60000701090c..."} 
[2026-09-09 08:27:50] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084196560012d0c28400702aa60000701090c..."} 
[2026-09-09 08:27:50] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:27:50] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:27:50] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615200,"longitude_deg":75.5771456,"latitude_deg":11.76152,"altitude":7,"angle":265,"satellites":12,"speed":2,"hex_longitude":"2d0c2840","hex_latitude":"0702aa60","is_valid_coordinates":true} 
[2026-09-09 08:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964198400001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847593286205440,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876231632609773568,"note":"Value kept but may cause issues"} 
[2026-09-09 08:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788922652000,"timestamp_ms":1788922652000,"timestamp_seconds":1788922652,"priority":1,"record_length":96,"hex_timestamp":"000001a084196560"} 
[2026-09-09 08:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 08:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964198400001,"66":14537,"37":206,"94":11008,"24":2,"16":30847593286205440,"45":876231632609773568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964198400001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:27:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:27:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847593286205440,"km_value":30847593286205.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":876231632609773568,"description":"Unknown IO ID 45"} 
[2026-09-09 08:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964198400001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":876231632609773568}} 
[2026-09-09 08:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:27:51] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:27:51] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:28:01] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:28:01] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:28:01] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:28:07] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:28:07] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:28:07] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:28:08] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084192eb0012d7b0c4005e35588000b00131f..."} 
[2026-09-09 08:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084192eb0012d7b0c4005e35588000b00131f..."} 
[2026-09-09 08:28:08] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084192eb0012d7b0c4005e35588000b00131f..."} 
[2026-09-09 08:28:08] local.INFO: Packet analysis {"connection_id":175455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:08] local.INFO: Extracted packet for processing {"connection_id":175455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98784648,"longitude_deg":76.3038784,"latitude_deg":9.8784648,"altitude":11,"angle":19,"satellites":31,"speed":2,"hex_longitude":"2d7b0c40","hex_latitude":"05e35588","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964194304001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130212404708507648,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422930270208,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28: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-09-09 08:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788922638000,"timestamp_ms":1788922638000,"timestamp_seconds":1788922638,"priority":1,"record_length":96,"hex_timestamp":"000001a084192eb0"} 
[2026-09-09 08:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:28: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-09-09 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-09 08:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964194304001,"66":13200,"208":206,"85":15104,"24":2,"16":130212404708507648,"45":8866391422930270208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964194304001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:28:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130212404708507648,"km_value":130212404708507.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422930270208,"description":"Unknown IO ID 45"} 
[2026-09-09 08:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964194304001,"power":13200,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8866391422930270208}} 
[2026-09-09 08:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":175455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:28:08] local.INFO: GPS data processed {"connection_id":175455,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:28:08] local.INFO: Acknowledgment sent {"connection_id":175455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:28:17] local.INFO: TCP Data received {"connection_id":176569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:28:17] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841542c8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:28:17] local.INFO: Packet analysis {"connection_id":176569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:28:17] local.INFO: Extracted packet for processing {"connection_id":176569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08415"} 
[2026-09-09 08:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964052480001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922381000,"timestamp_ms":1788922381000,"timestamp_seconds":1788922381,"priority":1,"record_length":96,"hex_timestamp":"000001a0841542c8"} 
[2026-09-09 08:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964052480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964052480001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964052480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":176569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:28:17] local.INFO: GPS data processed {"connection_id":176569,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:28:17] local.INFO: Acknowledgment sent {"connection_id":176569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:28:21] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084197118012d0c27c00702aa38000700fc0c..."} 
[2026-09-09 08:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084197118012d0c27c00702aa38000700fc0c..."} 
[2026-09-09 08:28:21] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084197118012d0c27c00702aa38000700fc0c..."} 
[2026-09-09 08:28:21] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:21] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:21] local.INFO: GPS Element Parsed {"raw_longitude":755771328,"raw_latitude":117615160,"longitude_deg":75.5771328,"latitude_deg":11.761516,"altitude":7,"angle":252,"satellites":12,"speed":2,"hex_longitude":"2d0c27c0","hex_latitude":"0702aa38","is_valid_coordinates":true} 
[2026-09-09 08:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964198912001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847601876140032,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377230336,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788922655000,"timestamp_ms":1788922655000,"timestamp_seconds":1788922655,"priority":1,"record_length":96,"hex_timestamp":"000001a084197118"} 
[2026-09-09 08:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:28: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-09-09 08:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 08:28:21] 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-09-09 08:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964198912001,"66":14407,"37":206,"94":11008,"24":2,"16":30847601876140032,"45":876020526377230336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964198912001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:28:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:28:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847601876140032,"km_value":30847601876140.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377230336,"description":"Unknown IO ID 45"} 
[2026-09-09 08:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964198912001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":876020526377230336}} 
[2026-09-09 08:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:28:21] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:28:21] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:28:39] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084194620012d7b0d4005e35738000b001f20..."} 
[2026-09-09 08:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084194620012d7b0d4005e35738000b001f20..."} 
[2026-09-09 08:28:39] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084194620012d7b0d4005e35738000b001f20..."} 
[2026-09-09 08:28:39] local.INFO: Packet analysis {"connection_id":175455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:39] local.INFO: Extracted packet for processing {"connection_id":175455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98785080,"longitude_deg":76.303904,"latitude_deg":9.878508,"altitude":11,"angle":31,"satellites":32,"speed":3,"hex_longitude":"2d7b0d40","hex_latitude":"05e35738","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964195328001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130212430478311424,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866532160418711552,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28: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-09-09 08:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788922644000,"timestamp_ms":1788922644000,"timestamp_seconds":1788922644,"priority":1,"record_length":96,"hex_timestamp":"000001a084194620"} 
[2026-09-09 08:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:28: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-09-09 08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-09 08:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964195328001,"66":13624,"208":206,"85":15104,"24":3,"16":130212430478311424,"45":8866532160418711552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964195328001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:28:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130212430478311424,"km_value":130212430478311.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866532160418711552,"description":"Unknown IO ID 45"} 
[2026-09-09 08:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964195328001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866532160418711552}} 
[2026-09-09 08:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":175455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:28:39] local.INFO: GPS data processed {"connection_id":175455,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:28:39] local.INFO: Acknowledgment sent {"connection_id":175455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:28:39] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:28:39] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:28:39] local.INFO: IMEI packet received {"connection_id":175456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":175456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:28:40] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:28:40] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:28:40] local.INFO: IMEI packet received {"connection_id":175456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":175456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:28:40] local.INFO: TCP Data received {"connection_id":178028,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178028,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:28:40] local.INFO: Processing buffer {"connection_id":178028,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:28:40] local.INFO: IMEI packet received {"connection_id":178028,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":178028,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:28:44] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:28:44] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:28:44] local.INFO: IMEI packet received {"connection_id":175456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":175456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:28:45] local.INFO: TCP Data received {"connection_id":178028,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178028,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:28:45] local.INFO: Processing buffer {"connection_id":178028,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:28:45] local.INFO: IMEI packet received {"connection_id":178028,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":178028,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:28:45] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:28:45] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:28:45] local.INFO: Packet analysis {"connection_id":175456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:45] local.INFO: Extracted packet for processing {"connection_id":175456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 08:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:28: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-09-09 08:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":175456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:28:45] local.INFO: GPS data processed {"connection_id":175456,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:28:45] local.INFO: Acknowledgment sent {"connection_id":175456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:28:46] local.INFO: TCP Data received {"connection_id":178028,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841984a0012d0c26800702aa400007010c0c..."} 
[2026-09-09 08:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841984a0012d0c26800702aa400007010c0c..."} 
[2026-09-09 08:28:46] local.INFO: Processing buffer {"connection_id":178028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841984a0012d0c26800702aa400007010c0c..."} 
[2026-09-09 08:28:46] local.INFO: Packet analysis {"connection_id":178028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:46] local.INFO: Extracted packet for processing {"connection_id":178028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:28:46] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":117615168,"longitude_deg":75.5771008,"latitude_deg":11.7615168,"altitude":7,"angle":268,"satellites":12,"speed":2,"hex_longitude":"2d0c2680","hex_latitude":"0702aa40","is_valid_coordinates":true} 
[2026-09-09 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964199680001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847619056009216,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879788888864768,"note":"Value kept but may cause issues"} 
[2026-09-09 08:28: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-09-09 08:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788922660000,"timestamp_ms":1788922660000,"timestamp_seconds":1788922660,"priority":1,"record_length":96,"hex_timestamp":"000001a0841984a0"} 
[2026-09-09 08:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 08:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964199680001,"66":14494,"37":206,"94":11008,"24":2,"16":30847619056009216,"45":875879788888864768},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964199680001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:28:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:28:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847619056009216,"km_value":30847619056009.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879788888864768,"description":"Unknown IO ID 45"} 
[2026-09-09 08:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964199680001,"power":14494,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":875879788888864768}} 
[2026-09-09 08:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":178028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:28:46] local.INFO: GPS data processed {"connection_id":178028,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:28:46] local.INFO: Acknowledgment sent {"connection_id":178028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:29:01] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:29:01] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:29:01] local.INFO: IMEI packet received {"connection_id":176570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":176570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:29:06] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:29:06] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:29:06] local.INFO: IMEI packet received {"connection_id":176570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":176570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:29:06] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:29:06] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:29:06] local.INFO: IMEI packet received {"connection_id":176570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":176570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:29:07] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084199828012d7b108005e35d90000d001f1e..."} 
[2026-09-09 08:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084199828012d7b108005e35d90000d001f1e..."} 
[2026-09-09 08:29:07] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084199828012d7b108005e35d90000d001f1e..."} 
[2026-09-09 08:29:07] local.INFO: Packet analysis {"connection_id":176570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:07] local.INFO: Extracted packet for processing {"connection_id":176570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763039872,"raw_latitude":98786704,"longitude_deg":76.3039872,"latitude_deg":9.8786704,"altitude":13,"angle":31,"satellites":30,"speed":2,"hex_longitude":"2d7b1080","hex_latitude":"05e35d90","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964196864001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130212524967591936,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635395532800,"note":"Value kept but may cause issues"} 
[2026-09-09 08: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-09-09 08:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788922665000,"timestamp_ms":1788922665000,"timestamp_seconds":1788922665,"priority":1,"record_length":96,"hex_timestamp":"000001a084199828"} 
[2026-09-09 08:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 08:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964196864001,"66":14135,"208":206,"85":15104,"24":2,"16":130212524967591936,"45":8866813635395532800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964196864001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:29:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130212524967591936,"km_value":130212524967591.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635395532800,"description":"Unknown IO ID 45"} 
[2026-09-09 08:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964196864001,"power":14135,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8866813635395532800}} 
[2026-09-09 08:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":176570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:29:08] local.INFO: GPS data processed {"connection_id":176570,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:29:08] local.INFO: Acknowledgment sent {"connection_id":176570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:29:16] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:29:16] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:29:16] local.INFO: Packet analysis {"connection_id":175456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:16] local.INFO: Extracted packet for processing {"connection_id":175456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 08:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:29:16] 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-09-09 08:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":175456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:29:16] local.INFO: GPS data processed {"connection_id":175456,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:29:16] local.INFO: Acknowledgment sent {"connection_id":175456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:29:17] local.INFO: TCP Data received {"connection_id":178028,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084199440012d0c25c00702aa18000700fd0c..."} 
[2026-09-09 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084199440012d0c25c00702aa18000700fd0c..."} 
[2026-09-09 08:29:17] local.INFO: Processing buffer {"connection_id":178028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084199440012d0c25c00702aa18000700fd0c..."} 
[2026-09-09 08:29:17] local.INFO: Packet analysis {"connection_id":178028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:17] local.INFO: Extracted packet for processing {"connection_id":178028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:17] local.INFO: GPS Element Parsed {"raw_longitude":755770816,"raw_latitude":117615128,"longitude_deg":75.5770816,"latitude_deg":11.7615128,"altitude":7,"angle":253,"satellites":12,"speed":2,"hex_longitude":"2d0c25c0","hex_latitude":"0702aa18","is_valid_coordinates":true} 
[2026-09-09 08:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964200960001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847631940911104,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945167978496,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:17] 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-09-09 08:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922664000,"timestamp_ms":1788922664000,"timestamp_seconds":1788922664,"priority":1,"record_length":96,"hex_timestamp":"000001a084199440"} 
[2026-09-09 08:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 08:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964200960001,"66":14461,"37":206,"94":11008,"24":2,"16":30847631940911104,"45":875527945167978496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964200960001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:29:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:29:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847631940911104,"km_value":30847631940911.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945167978496,"description":"Unknown IO ID 45"} 
[2026-09-09 08:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964200960001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":875527945167978496}} 
[2026-09-09 08:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":178028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:29:17] local.INFO: GPS data processed {"connection_id":178028,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:29:17] local.INFO: Acknowledgment sent {"connection_id":178028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:29:39] local.INFO: TCP Data received {"connection_id":178029,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:29:39] local.INFO: Processing buffer {"connection_id":178029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:29:39] local.INFO: IMEI packet received {"connection_id":178029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":178029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:29:40] local.INFO: TCP Data received {"connection_id":178030,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178030,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:29:40] local.INFO: Processing buffer {"connection_id":178030,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:29:40] local.INFO: IMEI packet received {"connection_id":178030,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":178030,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:29:41] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08419ea30012d7b188005e36868000d002225..."} 
[2026-09-09 08:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419ea30012d7b188005e36868000d002225..."} 
[2026-09-09 08:29:41] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419ea30012d7b188005e36868000d002225..."} 
[2026-09-09 08:29:41] local.INFO: Packet analysis {"connection_id":176570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:41] local.INFO: Extracted packet for processing {"connection_id":176570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763041920,"raw_latitude":98789480,"longitude_deg":76.304192,"latitude_deg":9.878948,"altitude":13,"angle":34,"satellites":37,"speed":7,"hex_longitude":"2d7b1880","hex_latitude":"05e36868","is_valid_coordinates":true} 
[2026-09-09 08:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964202240001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130212696766283776,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867728429070258176,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788922686000,"timestamp_ms":1788922686000,"timestamp_seconds":1788922686,"priority":1,"record_length":96,"hex_timestamp":"000001a08419ea30"} 
[2026-09-09 08:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:29: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-09-09 08:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 08:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964202240001,"66":13928,"208":206,"85":15104,"24":7,"16":130212696766283776,"45":8867728429070258176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964202240001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:29:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130212696766283776,"km_value":130212696766283.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867728429070258176,"description":"Unknown IO ID 45"} 
[2026-09-09 08:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964202240001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8867728429070258176}} 
[2026-09-09 08:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":176570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:29:41] local.INFO: GPS data processed {"connection_id":176570,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:29:41] local.INFO: Acknowledgment sent {"connection_id":176570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:29:44] local.INFO: TCP Data received {"connection_id":178029,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:29:44] local.INFO: Processing buffer {"connection_id":178029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:29:44] local.INFO: IMEI packet received {"connection_id":178029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":178029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:29:45] local.INFO: TCP Data received {"connection_id":178029,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:29:45] local.INFO: Processing buffer {"connection_id":178029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:29:45] local.INFO: Packet analysis {"connection_id":178029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:45] local.INFO: Extracted packet for processing {"connection_id":178029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 08:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:29: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-09-09 08:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:29:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":178029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:29:45] local.INFO: GPS data processed {"connection_id":178029,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:29:45] local.INFO: Acknowledgment sent {"connection_id":178029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:29:45] local.INFO: TCP Data received {"connection_id":178030,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178030,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:29:45] local.INFO: Processing buffer {"connection_id":178030,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:29:45] local.INFO: IMEI packet received {"connection_id":178030,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":178030,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:29:46] local.INFO: TCP Data received {"connection_id":178030,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08419abb0012d0c24800702aa28000801080c..."} 
[2026-09-09 08:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419abb0012d0c24800702aa28000801080c..."} 
[2026-09-09 08:29:46] local.INFO: Processing buffer {"connection_id":178030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419abb0012d0c24800702aa28000801080c..."} 
[2026-09-09 08:29:46] local.INFO: Packet analysis {"connection_id":178030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:46] local.INFO: Extracted packet for processing {"connection_id":178030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":755770496,"raw_latitude":117615144,"longitude_deg":75.5770496,"latitude_deg":11.7615144,"altitude":8,"angle":264,"satellites":12,"speed":1,"hex_longitude":"2d0c2480","hex_latitude":"0702aa28","is_valid_coordinates":true} 
[2026-09-09 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964201984001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847644825812992,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875316838935435264,"note":"Value kept but may cause issues"} 
[2026-09-09 08:29: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-09-09 08:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788922670000,"timestamp_ms":1788922670000,"timestamp_seconds":1788922670,"priority":1,"record_length":96,"hex_timestamp":"000001a08419abb0"} 
[2026-09-09 08:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 08:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964201984001,"66":14428,"37":206,"94":11008,"24":1,"16":30847644825812992,"45":875316838935435264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964201984001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:29:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:29:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847644825812992,"km_value":30847644825812.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":875316838935435264,"description":"Unknown IO ID 45"} 
[2026-09-09 08:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964201984001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":875316838935435264}} 
[2026-09-09 08:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":178030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:29:46] local.INFO: GPS data processed {"connection_id":178030,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:29:46] local.INFO: Acknowledgment sent {"connection_id":178030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:30:06] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:30:06] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:30:06] local.INFO: IMEI packet received {"connection_id":176572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":176572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:30:10] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:30:10] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:30:10] local.INFO: IMEI packet received {"connection_id":176572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":176572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:30:12] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841a3c38012d7b228005e375e0000b001f28..."} 
[2026-09-09 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841a3c38012d7b228005e375e0000b001f28..."} 
[2026-09-09 08:30:12] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841a3c38012d7b228005e375e0000b001f28..."} 
[2026-09-09 08:30:12] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841a"} 
[2026-09-09 08:30:12] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841a"} 
[2026-09-09 08:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763044480,"raw_latitude":98792928,"longitude_deg":76.304448,"latitude_deg":9.8792928,"altitude":11,"angle":31,"satellites":40,"speed":12,"hex_longitude":"2d7b2280","hex_latitude":"05e375e0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964207616001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130212907219681280,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869980228884654080,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30: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-09-09 08:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788922707000,"timestamp_ms":1788922707000,"timestamp_seconds":1788922707,"priority":1,"record_length":96,"hex_timestamp":"000001a0841a3c38"} 
[2026-09-09 08:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 08:30: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-09-09 08: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-09-09 08:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964207616001,"66":13798,"208":206,"85":15104,"24":12,"16":130212907219681280,"45":8869980228884654080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964207616001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:30:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130212907219681280,"km_value":130212907219681.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869980228884654080,"description":"Unknown IO ID 45"} 
[2026-09-09 08:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964207616001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8869980228884654080}} 
[2026-09-09 08:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:30:12] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:30:12] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:30:13] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841a7ab8012d7b368005e39338000a002126..."} 
[2026-09-09 08:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841a7ab8012d7b368005e39338000a002126..."} 
[2026-09-09 08:30:13] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841a7ab8012d7b368005e39338000a002126..."} 
[2026-09-09 08:30:13] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841a"} 
[2026-09-09 08:30:13] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841a"} 
[2026-09-09 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98800440,"longitude_deg":76.30496,"latitude_deg":9.880044,"altitude":10,"angle":33,"satellites":38,"speed":33,"hex_longitude":"2d7b3680","hex_latitude":"05e39338","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964212992001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130213345306345472,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872794978652643328,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30: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-09-09 08:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788922723000,"timestamp_ms":1788922723000,"timestamp_seconds":1788922723,"priority":1,"record_length":96,"hex_timestamp":"000001a0841a7ab8"} 
[2026-09-09 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-09-09 08:30: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-09-09 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 08:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964212992001,"66":13917,"208":206,"85":15104,"24":33,"16":130213345306345472,"45":8872794978652643328},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 08:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964212992001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:30:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 08:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 08:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130213345306345472,"km_value":130213345306345.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872794978652643328,"description":"Unknown IO ID 45"} 
[2026-09-09 08:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964212992001,"power":13917,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8872794978652643328}} 
[2026-09-09 08:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:30:13] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:30:13] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:30:17] local.INFO: TCP Data received {"connection_id":178029,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:30:17] local.INFO: Processing buffer {"connection_id":178029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:30:17] local.INFO: Packet analysis {"connection_id":178029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:30:17] local.INFO: Extracted packet for processing {"connection_id":178029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 08:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:30: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-09-09 08:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:30:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":178029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:30:17] local.INFO: GPS data processed {"connection_id":178029,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:30:17] local.INFO: Acknowledgment sent {"connection_id":178029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:30:17] local.INFO: TCP Data received {"connection_id":178030,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08419c708012d0c24000702aa28000801070d..."} 
[2026-09-09 08:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419c708012d0c24000702aa28000801070d..."} 
[2026-09-09 08:30:17] local.INFO: Processing buffer {"connection_id":178030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419c708012d0c24000702aa28000801070d..."} 
[2026-09-09 08:30:17] local.INFO: Packet analysis {"connection_id":178030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:30:17] local.INFO: Extracted packet for processing {"connection_id":178030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":755770368,"raw_latitude":117615144,"longitude_deg":75.5770368,"latitude_deg":11.7615144,"altitude":8,"angle":263,"satellites":13,"speed":0,"hex_longitude":"2d0c2400","hex_latitude":"0702aa28","is_valid_coordinates":true} 
[2026-09-09 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964203520001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847653415747584,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874964995214551040,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:17] 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-09-09 08:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922677000,"timestamp_ms":1788922677000,"timestamp_seconds":1788922677,"priority":1,"record_length":96,"hex_timestamp":"000001a08419c708"} 
[2026-09-09 08:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 08:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964203520001,"66":14537,"37":206,"94":11008,"24":0,"16":30847653415747584,"45":874964995214551040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964203520001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:30:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:30:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847653415747584,"km_value":30847653415747.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":874964995214551040,"description":"Unknown IO ID 45"} 
[2026-09-09 08:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964203520001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874964995214551040}} 
[2026-09-09 08:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":178030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:30:17] local.INFO: GPS data processed {"connection_id":178030,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:30:17] local.INFO: Acknowledgment sent {"connection_id":178030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:30:39] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:30:39] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:30:39] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:30:44] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841be9e8012d7bfec005e4bbc80006002128..."} 
[2026-09-09 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841be9e8012d7bfec005e4bbc80006002128..."} 
[2026-09-09 08:30:44] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841be9e8012d7bfec005e4bbc80006002128..."} 
[2026-09-09 08:30:44] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841b"} 
[2026-09-09 08:30:44] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841b"} 
[2026-09-09 08:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763100864,"raw_latitude":98876360,"longitude_deg":76.3100864,"latitude_deg":9.887636,"altitude":6,"angle":33,"satellites":40,"speed":42,"hex_longitude":"2d7bfec0","hex_latitude":"05e4bbc8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964238848001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130217773417627648,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089974014089216,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30: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-09-09 08:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788922817000,"timestamp_ms":1788922817000,"timestamp_seconds":1788922817,"priority":1,"record_length":96,"hex_timestamp":"000001a0841be9e8"} 
[2026-09-09 08:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10414582744023040,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627152473344,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2216358864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2147869698,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2648899584,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3823226880,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-2881972278663313949,"corrected_to":0} 
[2026-09-09 08:30:44] local.WARNING: Large IO value detected {"io_id":196,"raw_value":8646920081267752995,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:44] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,39,87,24,241,157,16,159,160,163,45,192,125,11,10,66,128,64,93,12,1,240,230,227,158,132,228,4,113,205,26,133,120,239,54,208,2,206,5,8,37,200,196],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":200,"original":-2881972278663313949,"validated":0}]} 
[2026-09-09 08:30:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648554793436512256,"timestamp_seconds":648554793436512.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964238848001,"66":14102,"39":206,"87":13824,"24":42,"16":130217773417627648,"45":8929089974014089216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964238848001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:30:44] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:30:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130217773417627648,"km_value":130217773417627.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089974014089216,"description":"Unknown IO ID 45"} 
[2026-09-09 08:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964238848001,"power":14102,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8929089974014089216}} 
[2026-09-09 08:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:30:44] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:30:44] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:30:44] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:30:44] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:30:44] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:30:45] local.INFO: TCP Data received {"connection_id":176573,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:30:45] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:30:45] local.INFO: IMEI packet received {"connection_id":176573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":176573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:30:45] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:30:45] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:30:45] local.INFO: Packet analysis {"connection_id":175222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:30:45] local.INFO: Extracted packet for processing {"connection_id":175222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 08:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:30: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-09-09 08:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:30:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":175222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:30:45] local.INFO: GPS data processed {"connection_id":175222,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:30:45] local.INFO: Acknowledgment sent {"connection_id":175222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:30:47] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:30:47] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:30:47] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:30:50] local.INFO: TCP Data received {"connection_id":176573,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:30:50] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:30:50] local.INFO: IMEI packet received {"connection_id":176573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":176573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:30:51] local.INFO: TCP Data received {"connection_id":176573,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08419c708012d0c24000702aa28000801070d..."} 
[2026-09-09 08:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419c708012d0c24000702aa28000801070d..."} 
[2026-09-09 08:30:51] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419c708012d0c24000702aa28000801070d..."} 
[2026-09-09 08:30:51] local.INFO: Packet analysis {"connection_id":176573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:30:51] local.INFO: Extracted packet for processing {"connection_id":176573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:30:51] local.INFO: GPS Element Parsed {"raw_longitude":755770368,"raw_latitude":117615144,"longitude_deg":75.5770368,"latitude_deg":11.7615144,"altitude":8,"angle":263,"satellites":13,"speed":0,"hex_longitude":"2d0c2400","hex_latitude":"0702aa28","is_valid_coordinates":true} 
[2026-09-09 08:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964205312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847653415747584,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874824257726195712,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:51] 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-09-09 08:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788922677000,"timestamp_ms":1788922677000,"timestamp_seconds":1788922677,"priority":1,"record_length":96,"hex_timestamp":"000001a08419c708"} 
[2026-09-09 08:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 08:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964205312001,"66":14537,"37":206,"94":11008,"24":0,"16":30847653415747584,"45":874824257726195712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964205312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:30:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:30:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847653415747584,"km_value":30847653415747.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":874824257726195712,"description":"Unknown IO ID 45"} 
[2026-09-09 08:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964205312001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874824257726195712}} 
[2026-09-09 08:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":176573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:30:51] local.INFO: GPS data processed {"connection_id":176573,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:30:51] local.INFO: Acknowledgment sent {"connection_id":176573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:30:54] local.INFO: TCP Data received {"connection_id":176573,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841bd660012d0c26400702aa480008010711..."} 
[2026-09-09 08:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841bd660012d0c26400702aa480008010711..."} 
[2026-09-09 08:30:54] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841bd660012d0c26400702aa480008010711..."} 
[2026-09-09 08:30:54] local.INFO: Packet analysis {"connection_id":176573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841b"} 
[2026-09-09 08:30:54] local.INFO: Extracted packet for processing {"connection_id":176573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841b"} 
[2026-09-09 08:30:54] local.INFO: GPS Element Parsed {"raw_longitude":755770944,"raw_latitude":117615176,"longitude_deg":75.5770944,"latitude_deg":11.7615176,"altitude":8,"angle":263,"satellites":17,"speed":0,"hex_longitude":"2d0c2640","hex_latitude":"0702aa48","is_valid_coordinates":true} 
[2026-09-09 08:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964205312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847653415747584,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874824257726195712,"note":"Value kept but may cause issues"} 
[2026-09-09 08:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788922812000,"timestamp_ms":1788922812000,"timestamp_seconds":1788922812,"priority":1,"record_length":96,"hex_timestamp":"000001a0841bd660"} 
[2026-09-09 08:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 08:30: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-09-09 08:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964205312001,"66":12678,"37":206,"94":11008,"24":0,"16":30847653415747584,"45":874824257726195712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964205312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:30:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:30:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847653415747584,"km_value":30847653415747.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":874824257726195712,"description":"Unknown IO ID 45"} 
[2026-09-09 08:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964205312001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874824257726195712}} 
[2026-09-09 08:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":176573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:30:54] local.INFO: GPS data processed {"connection_id":176573,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:30:54] local.INFO: Acknowledgment sent {"connection_id":176573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:30:58] local.INFO: TCP Data received {"connection_id":178031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:30:58] local.INFO: Processing buffer {"connection_id":178031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:30:58] local.INFO: IMEI packet received {"connection_id":178031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":178031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:31:01] local.INFO: TCP Data received {"connection_id":178031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:31:01] local.INFO: Processing buffer {"connection_id":178031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:31:01] local.INFO: IMEI packet received {"connection_id":178031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":178031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:31:06] local.INFO: TCP Data received {"connection_id":178031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:31:06] local.INFO: Processing buffer {"connection_id":178031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:31:06] local.INFO: IMEI packet received {"connection_id":178031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":178031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:31:07] local.INFO: TCP Data received {"connection_id":178031,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841c0d10012d7c128005e4d9e00005002128..."} 
[2026-09-09 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841c0d10012d7c128005e4d9e00005002128..."} 
[2026-09-09 08:31:07] local.INFO: Processing buffer {"connection_id":178031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841c0d10012d7c128005e4d9e00005002128..."} 
[2026-09-09 08:31:07] local.INFO: Packet analysis {"connection_id":178031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:31:07] local.INFO: Extracted packet for processing {"connection_id":178031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763105920,"raw_latitude":98884064,"longitude_deg":76.310592,"latitude_deg":9.8884064,"altitude":5,"angle":33,"satellites":40,"speed":30,"hex_longitude":"2d7c1280","hex_latitude":"05e4d9e0","is_valid_coordinates":true} 
[2026-09-09 08:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964241152001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130218215799259136,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934789842294523904,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788922826000,"timestamp_ms":1788922826000,"timestamp_seconds":1788922826,"priority":1,"record_length":96,"hex_timestamp":"000001a0841c0d10"} 
[2026-09-09 08:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 08:31: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-09-09 08:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964241152001,"66":13580,"39":206,"87":13824,"24":30,"16":130218215799259136,"45":8934789842294523904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964241152001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:31:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:31:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130218215799259136,"km_value":130218215799259.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934789842294523904,"description":"Unknown IO ID 45"} 
[2026-09-09 08:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964241152001,"power":13580,"unknown_39":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8934789842294523904}} 
[2026-09-09 08:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":178031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:31:08] local.INFO: GPS data processed {"connection_id":178031,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:31:08] local.INFO: Acknowledgment sent {"connection_id":178031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:31:16] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:31:16] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:31:16] local.INFO: Packet analysis {"connection_id":175222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:31:16] local.INFO: Extracted packet for processing {"connection_id":175222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 08:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:31:16] 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-09-09 08:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":175222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:31:16] local.INFO: GPS data processed {"connection_id":175222,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:31:16] local.INFO: Acknowledgment sent {"connection_id":175222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:31:25] local.INFO: TCP Data received {"connection_id":176573,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841cb8f0012d0c23800702b2d00008014911..."} 
[2026-09-09 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841cb8f0012d0c23800702b2d00008014911..."} 
[2026-09-09 08:31:25] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841cb8f0012d0c23800702b2d00008014911..."} 
[2026-09-09 08:31:25] local.INFO: Packet analysis {"connection_id":176573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:31:25] local.INFO: Extracted packet for processing {"connection_id":176573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:31:25] local.INFO: GPS Element Parsed {"raw_longitude":755770240,"raw_latitude":117617360,"longitude_deg":75.577024,"latitude_deg":11.761736,"altitude":8,"angle":329,"satellites":17,"speed":22,"hex_longitude":"2d0c2380","hex_latitude":"0702b2d0","is_valid_coordinates":true} 
[2026-09-09 08:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964253696001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847859574177792,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879788889057280,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788922870000,"timestamp_ms":1788922870000,"timestamp_seconds":1788922870,"priority":1,"record_length":96,"hex_timestamp":"000001a0841cb8f0"} 
[2026-09-09 08:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 08:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964253696001,"66":14537,"37":206,"94":11008,"24":22,"16":30847859574177792,"45":875879788889057280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964253696001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:31:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:31:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847859574177792,"km_value":30847859574177.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879788889057280,"description":"Unknown IO ID 45"} 
[2026-09-09 08:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964253696001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":875879788889057280}} 
[2026-09-09 08:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":176573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787735,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:31:25] local.INFO: GPS data processed {"connection_id":176573,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:31:25] local.INFO: Acknowledgment sent {"connection_id":176573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:31:38] local.INFO: TCP Data received {"connection_id":178031,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841c47a8012d7c268005e4f8180002002027..."} 
[2026-09-09 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841c47a8012d7c268005e4f8180002002027..."} 
[2026-09-09 08:31:38] local.INFO: Processing buffer {"connection_id":178031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841c47a8012d7c268005e4f8180002002027..."} 
[2026-09-09 08:31:38] local.INFO: Packet analysis {"connection_id":178031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:31:38] local.INFO: Extracted packet for processing {"connection_id":178031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98891800,"longitude_deg":76.311104,"latitude_deg":9.88918,"altitude":2,"angle":32,"satellites":39,"speed":39,"hex_longitude":"2d7c2680","hex_latitude":"05e4f818","is_valid_coordinates":true} 
[2026-09-09 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964243456001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130218666770825216,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940348973086531584,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788922841000,"timestamp_ms":1788922841000,"timestamp_seconds":1788922841,"priority":1,"record_length":96,"hex_timestamp":"000001a0841c47a8"} 
[2026-09-09 08:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:31: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-09-09 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632029,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2216376864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3558328590250541056,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637963349809191,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812248,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2662596608,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3827277824,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-8827048792794071030,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2017838444457283157,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:38] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,39,87,24,241,157,16,160,233,45,192,187,6,40,10,66,198,128,156,9,38,159,163,1,240,148,227,132,228,4,113,205,42,93,173,80,239,53,2,206,5,12,123,54,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-09 08:31:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360324425874014208,"timestamp_seconds":360324425874014.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964243456001,"66":13972,"39":206,"87":13824,"24":39,"16":130218666770825216,"45":8940348973086531584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964243456001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:31:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:31:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130218666770825216,"km_value":130218666770825.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940348973086531584,"description":"Unknown IO ID 45"} 
[2026-09-09 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964243456001,"power":13972,"unknown_39":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8940348973086531584}} 
[2026-09-09 08:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":178031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:31:39] local.INFO: GPS data processed {"connection_id":178031,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:31:39] local.INFO: Acknowledgment sent {"connection_id":178031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:31:39] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:31:39] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:31:39] local.INFO: IMEI packet received {"connection_id":175223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":175223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:31:40] local.INFO: TCP Data received {"connection_id":178032,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:31:40] local.INFO: Processing buffer {"connection_id":178032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:31:40] local.INFO: IMEI packet received {"connection_id":178032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":178032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:31:43] local.INFO: TCP Data received {"connection_id":178032,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:31:43] local.INFO: Processing buffer {"connection_id":178032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:31:43] local.INFO: IMEI packet received {"connection_id":178032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":178032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:31:44] local.INFO: TCP Data received {"connection_id":178032,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841cc4a8012d0c20400702bb700008015611..."} 
[2026-09-09 08:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841cc4a8012d0c20400702bb700008015611..."} 
[2026-09-09 08:31:44] local.INFO: Processing buffer {"connection_id":178032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841cc4a8012d0c20400702bb700008015611..."} 
[2026-09-09 08:31:44] local.INFO: Packet analysis {"connection_id":178032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:31:44] local.INFO: Extracted packet for processing {"connection_id":178032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:31:44] local.INFO: GPS Element Parsed {"raw_longitude":755769408,"raw_latitude":117619568,"longitude_deg":75.5769408,"latitude_deg":11.7619568,"altitude":8,"angle":342,"satellites":17,"speed":31,"hex_longitude":"2d0c2040","hex_latitude":"0702bb70","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964254720001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30847975538294784,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874683520238407680,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31: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-09-09 08:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788922873000,"timestamp_ms":1788922873000,"timestamp_seconds":1788922873,"priority":1,"record_length":96,"hex_timestamp":"000001a0841cc4a8"} 
[2026-09-09 08:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:31: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-09-09 08: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":201,"data_length":795,"current_offset":136} 
[2026-09-09 08:31:44] 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-09-09 08: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-09-09 08:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964254720001,"66":14428,"37":206,"94":11008,"24":31,"16":30847975538294784,"45":874683520238407680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964254720001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:31:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:31:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30847975538294784,"km_value":30847975538294.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":874683520238407680,"description":"Unknown IO ID 45"} 
[2026-09-09 08:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964254720001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":874683520238407680}} 
[2026-09-09 08:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":178032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787737,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:31:44] local.INFO: GPS data processed {"connection_id":178032,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:31:44] local.INFO: Acknowledgment sent {"connection_id":178032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:31:44] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:31:44] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:31:44] local.INFO: IMEI packet received {"connection_id":175223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":175223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:31:46] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:31:46] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:31:46] local.INFO: Packet analysis {"connection_id":175223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:31:46] local.INFO: Extracted packet for processing {"connection_id":175223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 08:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":175223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:31:46] local.INFO: GPS data processed {"connection_id":175223,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:31:46] local.INFO: Acknowledgment sent {"connection_id":175223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:32:01] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:32:01] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:32:01] local.INFO: IMEI packet received {"connection_id":176574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":176574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:32:07] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:32:07] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:32:07] local.INFO: IMEI packet received {"connection_id":176574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":176574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:32:07] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841c6ad0012d7c390005e515d80002001e25..."} 
[2026-09-09 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841c6ad0012d7c390005e515d80002001e25..."} 
[2026-09-09 08:32:07] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841c6ad0012d7c390005e515d80002001e25..."} 
[2026-09-09 08:32:07] local.INFO: Packet analysis {"connection_id":176574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:32:07] local.INFO: Extracted packet for processing {"connection_id":176574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763115776,"raw_latitude":98899416,"longitude_deg":76.3115776,"latitude_deg":9.8899416,"altitude":2,"angle":30,"satellites":37,"speed":36,"hex_longitude":"2d7c3900","hex_latitude":"05e515d8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964247296001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130219100562522112,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472622725120,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788922850000,"timestamp_ms":1788922850000,"timestamp_seconds":1788922850,"priority":1,"record_length":96,"hex_timestamp":"000001a0841c6ad0"} 
[2026-09-09 08:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 08:32: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-09-09 08:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964247296001,"66":13254,"39":206,"87":13824,"24":36,"16":130219100562522112,"45":8945978472622725120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964247296001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:32:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:32:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130219100562522112,"km_value":130219100562522.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472622725120,"description":"Unknown IO ID 45"} 
[2026-09-09 08:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964247296001,"power":13254,"unknown_39":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8945978472622725120}} 
[2026-09-09 08:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":176574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:32:08] local.INFO: GPS data processed {"connection_id":176574,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:32:08] local.INFO: Acknowledgment sent {"connection_id":176574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:32:15] local.INFO: TCP Data received {"connection_id":178032,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841cebb8012d0c16000702df700009015d12..."} 
[2026-09-09 08:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841cebb8012d0c16000702df700009015d12..."} 
[2026-09-09 08:32:15] local.INFO: Processing buffer {"connection_id":178032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841cebb8012d0c16000702df700009015d12..."} 
[2026-09-09 08:32:15] local.INFO: Packet analysis {"connection_id":178032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:32:15] local.INFO: Extracted packet for processing {"connection_id":178032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:32:15] local.INFO: GPS Element Parsed {"raw_longitude":755766784,"raw_latitude":117628784,"longitude_deg":75.5766784,"latitude_deg":11.7628784,"altitude":9,"angle":349,"satellites":18,"speed":39,"hex_longitude":"2d0c1600","hex_latitude":"0702df70","is_valid_coordinates":true} 
[2026-09-09 08:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964255488001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30848443689730048,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873768726564663296,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:15] 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-09-09 08:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788922883000,"timestamp_ms":1788922883000,"timestamp_seconds":1788922883,"priority":1,"record_length":96,"hex_timestamp":"000001a0841cebb8"} 
[2026-09-09 08:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 08:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964255488001,"66":14461,"37":206,"94":11008,"24":39,"16":30848443689730048,"45":873768726564663296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964255488001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:32:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:32:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30848443689730048,"km_value":30848443689730.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":873768726564663296,"description":"Unknown IO ID 45"} 
[2026-09-09 08:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964255488001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":39,"odometer":null,"unknown_45":873768726564663296}} 
[2026-09-09 08:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":178032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:32:15] local.INFO: GPS data processed {"connection_id":178032,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:32:15] local.INFO: Acknowledgment sent {"connection_id":178032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:32:18] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:32:18] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:32:18] local.INFO: Packet analysis {"connection_id":175223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:32:18] local.INFO: Extracted packet for processing {"connection_id":175223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 08:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:32: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-09-09 08:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":175223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:32:18] local.INFO: GPS data processed {"connection_id":175223,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:32:18] local.INFO: Acknowledgment sent {"connection_id":175223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:32:39] local.INFO: TCP Data received {"connection_id":176574,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841c8240012d7c3fc005e522e80002000627..."} 
[2026-09-09 08:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841c8240012d7c3fc005e522e80002000627..."} 
[2026-09-09 08:32:39] local.INFO: Processing buffer {"connection_id":176574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841c8240012d7c3fc005e522e80002000627..."} 
[2026-09-09 08:32:39] local.INFO: Packet analysis {"connection_id":176574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:32:39] local.INFO: Extracted packet for processing {"connection_id":176574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841c"} 
[2026-09-09 08:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763117504,"raw_latitude":98902760,"longitude_deg":76.3117504,"latitude_deg":9.890276,"altitude":2,"angle":6,"satellites":39,"speed":15,"hex_longitude":"2d7c3fc0","hex_latitude":"05e522e8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964249600001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130219280951148544,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951185759693821952,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788922856000,"timestamp_ms":1788922856000,"timestamp_seconds":1788922856,"priority":1,"record_length":96,"hex_timestamp":"000001a0841c8240"} 
[2026-09-09 08:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:32: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-09-09 08:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 08:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964249600001,"66":13428,"39":206,"87":13824,"24":15,"16":130219280951148544,"45":8951185759693821952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 08:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964249600001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:32:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 08:32:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130219280951148544,"km_value":130219280951148.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951185759693821952,"description":"Unknown IO ID 45"} 
[2026-09-09 08:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964249600001,"power":13428,"unknown_39":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8951185759693821952}} 
[2026-09-09 08:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":176574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:32:39] local.INFO: GPS data processed {"connection_id":176574,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:32:39] local.INFO: Acknowledgment sent {"connection_id":176574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:32:40] local.INFO: TCP Data received {"connection_id":178033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:32:40] local.INFO: Processing buffer {"connection_id":178033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:32:40] local.INFO: IMEI packet received {"connection_id":178033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":178033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:32:44] local.INFO: TCP Data received {"connection_id":178034,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:44] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:44] local.INFO: IMEI packet received {"connection_id":178034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":178034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:32:44] local.INFO: TCP Data received {"connection_id":178033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:32:44] local.INFO: Processing buffer {"connection_id":178033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:32:44] local.INFO: IMEI packet received {"connection_id":178033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":178033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:32:45] local.INFO: TCP Data received {"connection_id":178034,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:45] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:45] local.INFO: IMEI packet received {"connection_id":178034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":178034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:32:45] local.INFO: TCP Data received {"connection_id":178033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:32:45] local.INFO: Processing buffer {"connection_id":178033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:32:45] local.INFO: Packet analysis {"connection_id":178033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:32:45] local.INFO: Extracted packet for processing {"connection_id":178033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 08:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:32: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-09-09 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":178033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:32:45] local.INFO: GPS data processed {"connection_id":178033,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:32:45] local.INFO: Acknowledgment sent {"connection_id":178033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:32:46] local.INFO: TCP Data received {"connection_id":178034,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:46] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:46] local.INFO: IMEI packet received {"connection_id":178034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":178034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:32:50] local.INFO: TCP Data received {"connection_id":178034,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:50] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:32:50] local.INFO: IMEI packet received {"connection_id":178034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":178034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:32:51] local.INFO: TCP Data received {"connection_id":178034,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841d0ee0012d0c0f0007030330000c015d12..."} 
[2026-09-09 08:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841d0ee0012d0c0f0007030330000c015d12..."} 
[2026-09-09 08:32:51] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841d0ee0012d0c0f0007030330000c015d12..."} 
[2026-09-09 08:32:51] local.INFO: Packet analysis {"connection_id":178034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841d"} 
[2026-09-09 08:32:51] local.INFO: Extracted packet for processing {"connection_id":178034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841d"} 
[2026-09-09 08:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755764992,"raw_latitude":117637936,"longitude_deg":75.5764992,"latitude_deg":11.7637936,"altitude":12,"angle":349,"satellites":18,"speed":35,"hex_longitude":"2d0c0f00","hex_latitude":"07030330","is_valid_coordinates":true} 
[2026-09-09 08:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964258048001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30848894661296128,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870883608055738368,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:51] 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-09-09 08:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788922892000,"timestamp_ms":1788922892000,"timestamp_seconds":1788922892,"priority":1,"record_length":96,"hex_timestamp":"000001a0841d0ee0"} 
[2026-09-09 08:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:32: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-09-09 08:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 08:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964258048001,"66":14461,"37":206,"94":11008,"24":35,"16":30848894661296128,"45":870883608055738368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964258048001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:32:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:32:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30848894661296128,"km_value":30848894661296.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":870883608055738368,"description":"Unknown IO ID 45"} 
[2026-09-09 08:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964258048001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":870883608055738368}} 
[2026-09-09 08:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":178034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787744,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:32:51] local.INFO: GPS data processed {"connection_id":178034,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:32:51] local.INFO: Acknowledgment sent {"connection_id":178034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:32:53] local.INFO: TCP Data received {"connection_id":178034,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841d35f0012d0c088007032640000d015c12..."} 
[2026-09-09 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841d35f0012d0c088007032640000d015c12..."} 
[2026-09-09 08:32:53] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841d35f0012d0c088007032640000d015c12..."} 
[2026-09-09 08:32:53] local.INFO: Packet analysis {"connection_id":178034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841d"} 
[2026-09-09 08:32:53] local.INFO: Extracted packet for processing {"connection_id":178034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841d"} 
[2026-09-09 08:32:53] local.INFO: GPS Element Parsed {"raw_longitude":755763328,"raw_latitude":117646912,"longitude_deg":75.5763328,"latitude_deg":11.7646912,"altitude":13,"angle":348,"satellites":18,"speed":34,"hex_longitude":"2d0c0880","hex_latitude":"07032640","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964260352001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30849337042927616,"note":"Value kept but may cause issues"} 
[2026-09-09 08:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868913283221106688,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 08:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788922902000,"timestamp_ms":1788922902000,"timestamp_seconds":1788922902,"priority":1,"record_length":96,"hex_timestamp":"000001a0841d35f0"} 
[2026-09-09 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-09-09 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-09-09 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":125,"data_length":795,"current_offset":136} 
[2026-09-09 08:32: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-09-09 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-09-09 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-09-09 08:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964260352001,"66":14450,"37":206,"94":11008,"24":34,"16":30849337042927616,"45":868913283221106688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 08:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964260352001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:32:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 08:32:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30849337042927616,"km_value":30849337042927.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":868913283221106688,"description":"Unknown IO ID 45"} 
[2026-09-09 08:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964260352001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":868913283221106688}} 
[2026-09-09 08:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":178034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:32:53] local.INFO: GPS data processed {"connection_id":178034,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:32:53] local.INFO: Acknowledgment sent {"connection_id":178034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:33:01] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:33:01] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:33:01] local.INFO: IMEI packet received {"connection_id":175459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":175459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:33:06] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:33:06] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:33:06] local.INFO: IMEI packet received {"connection_id":175459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":175459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:33:07] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e0110012d7bdd4005e5f2080002014e20..."} 
[2026-09-09 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e0110012d7bdd4005e5f2080002014e20..."} 
[2026-09-09 08:33:07] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e0110012d7bdd4005e5f2080002014e20..."} 
[2026-09-09 08:33:07] local.INFO: Packet analysis {"connection_id":175459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:07] local.INFO: Extracted packet for processing {"connection_id":175459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763092288,"raw_latitude":98955784,"longitude_deg":76.3092288,"latitude_deg":9.8955784,"altitude":2,"angle":334,"satellites":32,"speed":31,"hex_longitude":"2d7bdd40","hex_latitude":"05e5f208","is_valid_coordinates":true} 
[2026-09-09 08:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964275712001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130222201528909824,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926204855524851712,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788922954000,"timestamp_ms":1788922954000,"timestamp_seconds":1788922954,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e0110"} 
[2026-09-09 08:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 08:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964275712001,"66":14070,"40":206,"87":13824,"24":31,"16":130222201528909824,"45":8926204855524851712},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-09 08:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964275712001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:33:07] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-09 08:33:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130222201528909824,"km_value":130222201528909.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926204855524851712,"description":"Unknown IO ID 45"} 
[2026-09-09 08:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964275712001,"power":14070,"unknown_40":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8926204855524851712}} 
[2026-09-09 08:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":175459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:33:07] local.INFO: GPS data processed {"connection_id":175459,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:33:07] local.INFO: Acknowledgment sent {"connection_id":175459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:33:16] local.INFO: TCP Data received {"connection_id":178033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:33:16] local.INFO: Processing buffer {"connection_id":178033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08419da90012d34c14006aa42c80005010725..."} 
[2026-09-09 08:33:16] local.INFO: Packet analysis {"connection_id":178033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:33:16] local.INFO: Extracted packet for processing {"connection_id":178033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08419"} 
[2026-09-09 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788922682000,"timestamp_ms":1788922682000,"timestamp_seconds":1788922682,"priority":1,"record_length":96,"hex_timestamp":"000001a08419da90"} 
[2026-09-09 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-09-09 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 08:33:16] 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-09-09 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-09-09 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-09-09 08:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964129536001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964129536001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":178033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:33:16] local.INFO: GPS data processed {"connection_id":178033,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:33:16] local.INFO: Acknowledgment sent {"connection_id":178033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:33:25] local.INFO: TCP Data received {"connection_id":178034,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7a28012d0c70800703fce80025003513..."} 
[2026-09-09 08:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7a28012d0c70800703fce80025003513..."} 
[2026-09-09 08:33:25] local.INFO: Processing buffer {"connection_id":178034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7a28012d0c70800703fce80025003513..."} 
[2026-09-09 08:33:25] local.INFO: Packet analysis {"connection_id":178034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:25] local.INFO: Extracted packet for processing {"connection_id":178034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:25] local.INFO: GPS Element Parsed {"raw_longitude":755789952,"raw_latitude":117701864,"longitude_deg":75.5789952,"latitude_deg":11.7701864,"altitude":37,"angle":53,"satellites":19,"speed":35,"hex_longitude":"2d0c7080","hex_latitude":"0703fce8","is_valid_coordinates":true} 
[2026-09-09 08:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964281600001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30852708592254976,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686900350007296,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33: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-09-09 08:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788922985000,"timestamp_ms":1788922985000,"timestamp_seconds":1788922985,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7a28"} 
[2026-09-09 08:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:33: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-09-09 08:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:33:25] 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-09-09 08:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964281600001,"66":14450,"16":30852708592254976,"94":11008,"24":35,"45":888686900350007296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 08:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964281600001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30852708592254976,"km_value":30852708592254.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:33:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686900350007296,"description":"Unknown IO ID 45"} 
[2026-09-09 08:33:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457964281600001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":888686900350007296}} 
[2026-09-09 08:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":178034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:33:25] local.INFO: GPS data processed {"connection_id":178034,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:33:25] local.INFO: Acknowledgment sent {"connection_id":178034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:33:38] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e10b0012d7bd8c005e5ff280003015a20..."} 
[2026-09-09 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e10b0012d7bd8c005e5ff280003015a20..."} 
[2026-09-09 08:33:38] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e10b0012d7bd8c005e5ff280003015a20..."} 
[2026-09-09 08:33:38] local.INFO: Packet analysis {"connection_id":175459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:38] local.INFO: Extracted packet for processing {"connection_id":175459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763091136,"raw_latitude":98959144,"longitude_deg":76.3091136,"latitude_deg":9.8959144,"altitude":3,"angle":346,"satellites":32,"speed":36,"hex_longitude":"2d7bd8c0","hex_latitude":"05e5ff28","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964276224001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130222373327601664,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925360430595049472,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788922958000,"timestamp_ms":1788922958000,"timestamp_seconds":1788922958,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e10b0"} 
[2026-09-09 08:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 08:33: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-09-09 08: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-09-09 08:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964276224001,"66":13917,"40":206,"87":13824,"24":36,"16":130222373327601664,"45":8925360430595049472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-09 08:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964276224001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:33:38] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-09 08:33:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130222373327601664,"km_value":130222373327601.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925360430595049472,"description":"Unknown IO ID 45"} 
[2026-09-09 08:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964276224001,"power":13917,"unknown_40":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8925360430595049472}} 
[2026-09-09 08:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":175459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:33:38] local.INFO: GPS data processed {"connection_id":175459,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:33:38] local.INFO: Acknowledgment sent {"connection_id":175459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:33:39] local.INFO: TCP Data received {"connection_id":178035,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:33:39] local.INFO: Processing buffer {"connection_id":178035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:33:39] local.INFO: IMEI packet received {"connection_id":178035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":178035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:33:40] local.INFO: TCP Data received {"connection_id":178036,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:33:40] local.INFO: Processing buffer {"connection_id":178036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:33:40] local.INFO: IMEI packet received {"connection_id":178036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":178036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:33:41] local.INFO: TCP Data received {"connection_id":178035,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:33:41] local.INFO: Processing buffer {"connection_id":178035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:33:41] local.INFO: IMEI packet received {"connection_id":178035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":178035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:33:43] local.INFO: TCP Data received {"connection_id":178036,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178036,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:33:43] local.INFO: Processing buffer {"connection_id":178036,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:33:43] local.INFO: IMEI packet received {"connection_id":178036,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":178036,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:33:44] local.INFO: TCP Data received {"connection_id":178036,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e9d50012d0c8e00070410380024003813..."} 
[2026-09-09 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e9d50012d0c8e00070410380024003813..."} 
[2026-09-09 08:33:44] local.INFO: Processing buffer {"connection_id":178036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e9d50012d0c8e00070410380024003813..."} 
[2026-09-09 08:33:44] local.INFO: Packet analysis {"connection_id":178036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:44] local.INFO: Extracted packet for processing {"connection_id":178036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":755797504,"raw_latitude":117706808,"longitude_deg":75.5797504,"latitude_deg":11.7706808,"altitude":36,"angle":56,"satellites":19,"speed":40,"hex_longitude":"2d0c8e00","hex_latitude":"07041038","is_valid_coordinates":true} 
[2026-09-09 08:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964284160001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30853146678919168,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896357093466761216,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:44] 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-09-09 08:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788922994000,"timestamp_ms":1788922994000,"timestamp_seconds":1788922994,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e9d50"} 
[2026-09-09 08:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:33:44] 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-09-09 08:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964284160001,"66":14450,"16":30853146678919168,"94":11008,"24":40,"45":896357093466761216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 08:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964284160001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30853146678919168,"km_value":30853146678919.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:33:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":896357093466761216,"description":"Unknown IO ID 45"} 
[2026-09-09 08:33:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457964284160001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":40,"unknown_45":896357093466761216}} 
[2026-09-09 08:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":178036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:33:44] local.INFO: GPS data processed {"connection_id":178036,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:33:44] local.INFO: Acknowledgment sent {"connection_id":178036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:33:44] local.INFO: TCP Data received {"connection_id":178035,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:33:44] local.INFO: Processing buffer {"connection_id":178035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:33:44] local.INFO: IMEI packet received {"connection_id":178035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":178035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:33:45] local.INFO: TCP Data received {"connection_id":178035,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:33:45] local.INFO: Processing buffer {"connection_id":178035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:33:45] local.INFO: Packet analysis {"connection_id":178035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:45] local.INFO: Extracted packet for processing {"connection_id":178035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 08:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:33: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-09-09 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":178035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:33:45] local.INFO: GPS data processed {"connection_id":178035,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:33:45] local.INFO: Acknowledgment sent {"connection_id":178035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:34:00] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:34:00] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:34:00] local.INFO: IMEI packet received {"connection_id":175460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":175460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:34:01] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:34:01] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:34:01] local.INFO: IMEI packet received {"connection_id":175460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":175460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:34:06] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:34:06] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:34:06] local.INFO: IMEI packet received {"connection_id":175460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":175460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:34:08] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e3ba8012d7bce4005e622200004015521..."} 
[2026-09-09 08:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e3ba8012d7bce4005e622200004015521..."} 
[2026-09-09 08:34:08] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e3ba8012d7bce4005e622200004015521..."} 
[2026-09-09 08:34:08] local.INFO: Packet analysis {"connection_id":175460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:08] local.INFO: Extracted packet for processing {"connection_id":175460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763088448,"raw_latitude":98968096,"longitude_deg":76.3088448,"latitude_deg":9.8968096,"altitude":4,"angle":341,"satellites":33,"speed":23,"hex_longitude":"2d7bce40","hex_latitude":"05e62220","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964277248001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130222824299167744,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924093793200711680,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788922969000,"timestamp_ms":1788922969000,"timestamp_seconds":1788922969,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e3ba8"} 
[2026-09-09 08:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:34: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-09-09 08: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 08:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964277248001,"66":13656,"40":206,"87":13824,"24":23,"16":130222824299167744,"45":8924093793200711680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-09 08:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964277248001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:34:08] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-09 08:34:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130222824299167744,"km_value":130222824299167.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924093793200711680,"description":"Unknown IO ID 45"} 
[2026-09-09 08:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964277248001,"power":13656,"unknown_40":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8924093793200711680}} 
[2026-09-09 08:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":175460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:34:08] local.INFO: GPS data processed {"connection_id":175460,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:34:08] local.INFO: Acknowledgment sent {"connection_id":175460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:34:15] local.INFO: TCP Data received {"connection_id":178036,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841eacf0012d0c9a4007041b280024002714..."} 
[2026-09-09 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841eacf0012d0c9a4007041b280024002714..."} 
[2026-09-09 08:34:15] local.INFO: Processing buffer {"connection_id":178036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841eacf0012d0c9a4007041b280024002714..."} 
[2026-09-09 08:34:15] local.INFO: Packet analysis {"connection_id":178036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:15] local.INFO: Extracted packet for processing {"connection_id":178036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:15] local.INFO: GPS Element Parsed {"raw_longitude":755800640,"raw_latitude":117709608,"longitude_deg":75.580064,"latitude_deg":11.7709608,"altitude":36,"angle":39,"satellites":20,"speed":37,"hex_longitude":"2d0c9a40","hex_latitude":"07041b28","is_valid_coordinates":true} 
[2026-09-09 08:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964286464001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30853348542382080,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904660605280991232,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:15] 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-09-09 08:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788922998000,"timestamp_ms":1788922998000,"timestamp_seconds":1788922998,"priority":1,"record_length":96,"hex_timestamp":"000001a0841eacf0"} 
[2026-09-09 08:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:34:15] 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-09-09 08:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178036,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964286464001,"66":14309,"16":30853348542382080,"94":11008,"24":37,"45":904660605280991232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 08:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964286464001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30853348542382080,"km_value":30853348542382.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:34:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":904660605280991232,"description":"Unknown IO ID 45"} 
[2026-09-09 08:34:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457964286464001,"power":14309,"odometer":null,"unknown_94":11008,"ignition":37,"unknown_45":904660605280991232}} 
[2026-09-09 08:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":178036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:34:15] local.INFO: GPS data processed {"connection_id":178036,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:34:15] local.INFO: Acknowledgment sent {"connection_id":178036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:34:17] local.INFO: TCP Data received {"connection_id":178035,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:34:17] local.INFO: Processing buffer {"connection_id":178035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:34:17] local.INFO: Packet analysis {"connection_id":178035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:17] local.INFO: Extracted packet for processing {"connection_id":178035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 08:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":178035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:34:17] local.INFO: GPS data processed {"connection_id":178035,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:34:17] local.INFO: Acknowledgment sent {"connection_id":178035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:34:39] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e8db0012d7bc64005e637000004014d25..."} 
[2026-09-09 08:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e8db0012d7bc64005e637000004014d25..."} 
[2026-09-09 08:34:39] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e8db0012d7bc64005e637000004014d25..."} 
[2026-09-09 08:34:39] local.INFO: Packet analysis {"connection_id":175460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:39] local.INFO: Extracted packet for processing {"connection_id":175460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763086400,"raw_latitude":98973440,"longitude_deg":76.30864,"latitude_deg":9.897344,"altitude":4,"angle":333,"satellites":37,"speed":13,"hex_longitude":"2d7bc640","hex_latitude":"05e63700","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964280064001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130223103472041984,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921138305947541504,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:39] 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-09-09 08:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788922990000,"timestamp_ms":1788922990000,"timestamp_seconds":1788922990,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e8db0"} 
[2026-09-09 08:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:34: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-09-09 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 08:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964280064001,"66":14157,"95":206,"87":13824,"24":13,"16":130223103472041984,"45":8921138305947541504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-09 08:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964280064001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:34:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 08:34:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130223103472041984,"km_value":130223103472041.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921138305947541504,"description":"Unknown IO ID 45"} 
[2026-09-09 08:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964280064001,"power":14157,"unknown_95":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8921138305947541504}} 
[2026-09-09 08:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":175460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:34:39] local.INFO: GPS data processed {"connection_id":175460,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:34:39] local.INFO: Acknowledgment sent {"connection_id":175460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:34:44] local.INFO: TCP Data received {"connection_id":175226,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:34:44] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:34:44] local.INFO: IMEI packet received {"connection_id":175226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":175226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:34:49] local.INFO: TCP Data received {"connection_id":175226,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:34:49] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:34:49] local.INFO: IMEI packet received {"connection_id":175226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":175226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:34:50] local.INFO: TCP Data received {"connection_id":175226,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:34:50] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:34:50] local.INFO: Packet analysis {"connection_id":175226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:50] local.INFO: Extracted packet for processing {"connection_id":175226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 08:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:34:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:34:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":175226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:34:51] local.INFO: GPS data processed {"connection_id":175226,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:34:51] local.INFO: Acknowledgment sent {"connection_id":175226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:34:55] local.INFO: TCP Data received {"connection_id":175226,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:34:55] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:34:55] local.INFO: Packet analysis {"connection_id":175226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:55] local.INFO: Extracted packet for processing {"connection_id":175226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 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-09-09 08:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:34:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:34:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":175226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:34:55] local.INFO: GPS data processed {"connection_id":175226,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:34:55] local.INFO: Acknowledgment sent {"connection_id":175226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:35:01] local.INFO: TCP Data received {"connection_id":176575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:35:01] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:35:01] local.INFO: IMEI packet received {"connection_id":176575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":176575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:35:02] local.INFO: TCP Data received {"connection_id":176575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:35:02] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:35:02] local.INFO: IMEI packet received {"connection_id":176575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":176575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:35:06] local.INFO: TCP Data received {"connection_id":176575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:35:06] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:35:06] local.INFO: IMEI packet received {"connection_id":176575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":176575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:35:07] local.INFO: TCP Data received {"connection_id":176575,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0841ff8f8012d7b84c005e710e00005014323..."} 
[2026-09-09 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841ff8f8012d7b84c005e710e00005014323..."} 
[2026-09-09 08:35:07] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841ff8f8012d7b84c005e710e00005014323..."} 
[2026-09-09 08:35:07] local.INFO: Packet analysis {"connection_id":176575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841f"} 
[2026-09-09 08:35:07] local.INFO: Extracted packet for processing {"connection_id":176575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841f"} 
[2026-09-09 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":99029216,"longitude_deg":76.3069632,"latitude_deg":9.9029216,"altitude":5,"angle":323,"satellites":35,"speed":23,"hex_longitude":"2d7b84c0","hex_latitude":"05e710e0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964306688001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130225985395097600,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482522171392,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35: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-09-09 08:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788923083000,"timestamp_ms":1788923083000,"timestamp_seconds":1788923083,"priority":1,"record_length":96,"hex_timestamp":"000001a0841ff8f8"} 
[2026-09-09 08:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 08:35: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-09-09 08: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-09-09 08:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964306688001,"66":12939,"96":206,"87":13824,"24":23,"16":130225985395097600,"45":8902279482522171392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 08:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964306688001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:35:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 08:35:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130225985395097600,"km_value":130225985395097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482522171392,"description":"Unknown IO ID 45"} 
[2026-09-09 08:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964306688001,"power":12939,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8902279482522171392}} 
[2026-09-09 08:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":176575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:35:07] local.INFO: GPS data processed {"connection_id":176575,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:35:07] local.INFO: Acknowledgment sent {"connection_id":176575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:35:15] local.INFO: TCP Data received {"connection_id":175227,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:15] local.INFO: Processing buffer {"connection_id":175227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:15] local.INFO: IMEI packet received {"connection_id":175227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":175227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:35:16] local.INFO: TCP Data received {"connection_id":175227,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:16] local.INFO: Processing buffer {"connection_id":175227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:16] local.INFO: IMEI packet received {"connection_id":175227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":175227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:35:19] local.INFO: TCP Data received {"connection_id":175227,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:19] local.INFO: Processing buffer {"connection_id":175227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:19] local.INFO: IMEI packet received {"connection_id":175227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":175227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:35:19] local.INFO: TCP Data received {"connection_id":175227,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0841fba78012d0c67c007050640001a015714..."} 
[2026-09-09 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841fba78012d0c67c007050640001a015714..."} 
[2026-09-09 08:35:19] local.INFO: Processing buffer {"connection_id":175227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841fba78012d0c67c007050640001a015714..."} 
[2026-09-09 08:35:19] local.INFO: Packet analysis {"connection_id":175227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841f"} 
[2026-09-09 08:35:19] local.INFO: Extracted packet for processing {"connection_id":175227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841f"} 
[2026-09-09 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":755787712,"raw_latitude":117769792,"longitude_deg":75.5787712,"latitude_deg":11.7769792,"altitude":26,"angle":343,"satellites":20,"speed":38,"hex_longitude":"2d0c67c0","hex_latitude":"07050640","is_valid_coordinates":true} 
[2026-09-09 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964304640001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30856647077265408,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894668243623428096,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35: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-09-09 08:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788923067000,"timestamp_ms":1788923067000,"timestamp_seconds":1788923067,"priority":1,"record_length":96,"hex_timestamp":"000001a0841fba78"} 
[2026-09-09 08:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:35: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-09-09 08:35: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":201,"data_length":795,"current_offset":136} 
[2026-09-09 08:35:19] 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-09-09 08:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964304640001,"66":14450,"95":206,"94":10240,"24":38,"16":30856647077265408,"45":894668243623428096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-09 08:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964304640001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:35:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 08:35:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30856647077265408,"km_value":30856647077265.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":894668243623428096,"description":"Unknown IO ID 45"} 
[2026-09-09 08:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964304640001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":894668243623428096}} 
[2026-09-09 08:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":175227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:35:20] local.INFO: GPS data processed {"connection_id":175227,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:35:20] local.INFO: Acknowledgment sent {"connection_id":175227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:35:39] local.INFO: TCP Data received {"connection_id":176575,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084200898012d7b7ec005e718300004014f23..."} 
[2026-09-09 08:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084200898012d7b7ec005e718300004014f23..."} 
[2026-09-09 08:35:39] local.INFO: Processing buffer {"connection_id":176575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084200898012d7b7ec005e718300004014f23..."} 
[2026-09-09 08:35:39] local.INFO: Packet analysis {"connection_id":176575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:35:39] local.INFO: Extracted packet for processing {"connection_id":176575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763068096,"raw_latitude":99031088,"longitude_deg":76.3068096,"latitude_deg":9.9031088,"altitude":4,"angle":335,"satellites":35,"speed":23,"hex_longitude":"2d7b7ec0","hex_latitude":"05e71830","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964309248001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130226101359214592,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895174955008,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:39] 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-09-09 08:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788923087000,"timestamp_ms":1788923087000,"timestamp_seconds":1788923087,"priority":1,"record_length":96,"hex_timestamp":"000001a084200898"} 
[2026-09-09 08:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:35: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-09-09 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 08:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964309248001,"66":13820,"96":206,"87":13824,"24":23,"16":130226101359214592,"45":8900449895174955008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 08:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964309248001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:35:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 08:35:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130226101359214592,"km_value":130226101359214.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895174955008,"description":"Unknown IO ID 45"} 
[2026-09-09 08:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964309248001,"power":13820,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8900449895174955008}} 
[2026-09-09 08:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":176575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:35:39] local.INFO: GPS data processed {"connection_id":176575,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:35:39] local.INFO: Acknowledgment sent {"connection_id":176575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:35:39] local.INFO: TCP Data received {"connection_id":175228,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:35:39] local.INFO: Processing buffer {"connection_id":175228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:35:39] local.INFO: IMEI packet received {"connection_id":175228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":175228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:35:44] local.INFO: TCP Data received {"connection_id":175228,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:35:44] local.INFO: Processing buffer {"connection_id":175228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:35:44] local.INFO: IMEI packet received {"connection_id":175228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":175228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:35:46] local.INFO: TCP Data received {"connection_id":175228,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:35:46] local.INFO: Processing buffer {"connection_id":175228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:35:46] local.INFO: Packet analysis {"connection_id":175228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:35:46] local.INFO: Extracted packet for processing {"connection_id":175228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 08:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":175228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:35:46] local.INFO: GPS data processed {"connection_id":175228,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:35:46] local.INFO: Acknowledgment sent {"connection_id":175228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:35:48] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:48] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:35:48] local.INFO: IMEI packet received {"connection_id":175461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":175461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:35:48] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 08:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 08:35:48] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 08:35:48] local.INFO: IMEI packet received {"connection_id":175461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":175461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:35:49] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0842081b0012d0c4f00070588c0001d005a14..."} 
[2026-09-09 08:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842081b0012d0c4f00070588c0001d005a14..."} 
[2026-09-09 08:35:49] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a084..."} 
[2026-09-09 08:35:49] local.INFO: IMEI packet received {"connection_id":175461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":175461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:35:50] local.INFO: TCP Data received {"connection_id":175228,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:35:50] local.INFO: Processing buffer {"connection_id":175228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:35:50] local.INFO: Packet analysis {"connection_id":175228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:35:50] local.INFO: Extracted packet for processing {"connection_id":175228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 08:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:35:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":175228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:35:50] local.INFO: GPS data processed {"connection_id":175228,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:35:50] local.INFO: Acknowledgment sent {"connection_id":175228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:35:50] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084209920012d0c5c8007058a08001f004e14..."} 
[2026-09-09 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084209920012d0c5c8007058a08001f004e14..."} 
[2026-09-09 08:35:50] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0842081b0012d0c4f00070588c0001d005a14..."} 
[2026-09-09 08:35:50] local.INFO: Packet analysis {"connection_id":175461,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:35:50] local.INFO: Extracted packet for processing {"connection_id":175461,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":755781376,"raw_latitude":117803200,"longitude_deg":75.5781376,"latitude_deg":11.78032,"altitude":29,"angle":90,"satellites":20,"speed":18,"hex_longitude":"2d0c4f00","hex_latitude":"070588c0","is_valid_coordinates":true} 
[2026-09-09 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964317696001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30858575517581312,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885872150610200576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35: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-09-09 08:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788923118000,"timestamp_ms":1788923118000,"timestamp_seconds":1788923118,"priority":1,"record_length":96,"hex_timestamp":"000001a0842081b0"} 
[2026-09-09 08:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 08:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964317696001,"66":14265,"164":206,"94":10240,"24":18,"16":30858575517581312,"45":885872150610200576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 08:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964317696001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:35:50] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 08:35:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30858575517581312,"km_value":30858575517581.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":885872150610200576,"description":"Unknown IO ID 45"} 
[2026-09-09 08:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964317696001,"power":14265,"unknown_164":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":885872150610200576}} 
[2026-09-09 08:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":175461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:35:51] local.INFO: GPS data processed {"connection_id":175461,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:35:51] local.INFO: Acknowledgment sent {"connection_id":175461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:35:51] local.INFO: Packet analysis {"connection_id":175461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:35:51] local.INFO: Extracted packet for processing {"connection_id":175461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755784832,"raw_latitude":117803528,"longitude_deg":75.5784832,"latitude_deg":11.7803528,"altitude":31,"angle":78,"satellites":20,"speed":24,"hex_longitude":"2d0c5c80","hex_latitude":"07058a08","is_valid_coordinates":true} 
[2026-09-09 08:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964318208001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30858743021305856,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886927681772896256,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788923124000,"timestamp_ms":1788923124000,"timestamp_seconds":1788923124,"priority":1,"record_length":96,"hex_timestamp":"000001a084209920"} 
[2026-09-09 08:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:35: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-09-09 08:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 08:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964318208001,"66":14515,"164":206,"94":10240,"24":24,"16":30858743021305856,"45":886927681772896256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 08:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964318208001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:35:51] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 08:35:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30858743021305856,"km_value":30858743021305.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":886927681772896256,"description":"Unknown IO ID 45"} 
[2026-09-09 08:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964318208001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":886927681772896256}} 
[2026-09-09 08:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":175461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787764,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:35:51] local.INFO: GPS data processed {"connection_id":175461,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:35:51] local.INFO: Acknowledgment sent {"connection_id":175461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:35:51] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08420bc48012d0c6ec0070590500020003014..."} 
[2026-09-09 08:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08420bc48012d0c6ec0070590500020003014..."} 
[2026-09-09 08:35:51] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08420bc48012d0c6ec0070590500020003014..."} 
[2026-09-09 08:35:51] local.INFO: Packet analysis {"connection_id":175461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:35:51] local.INFO: Extracted packet for processing {"connection_id":175461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755789504,"raw_latitude":117805136,"longitude_deg":75.5789504,"latitude_deg":11.7805136,"altitude":32,"angle":48,"satellites":20,"speed":8,"hex_longitude":"2d0c6ec0","hex_latitude":"07059050","is_valid_coordinates":true} 
[2026-09-09 08:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964319744001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30858974949539840,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890727593958574080,"note":"Value kept but may cause issues"} 
[2026-09-09 08:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788923133000,"timestamp_ms":1788923133000,"timestamp_seconds":1788923133,"priority":1,"record_length":96,"hex_timestamp":"000001a08420bc48"} 
[2026-09-09 08:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:35: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-09-09 08:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 08:35: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-09-09 08:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964319744001,"66":14428,"164":206,"94":10240,"24":8,"16":30858974949539840,"45":890727593958574080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 08:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964319744001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:35:51] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 08:35:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30858974949539840,"km_value":30858974949539.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":890727593958574080,"description":"Unknown IO ID 45"} 
[2026-09-09 08:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964319744001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":890727593958574080}} 
[2026-09-09 08:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":175461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:35:51] local.INFO: GPS data processed {"connection_id":175461,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:35:51] local.INFO: Acknowledgment sent {"connection_id":175461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:36:07] local.INFO: TCP Data received {"connection_id":175230,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:36:07] local.INFO: Processing buffer {"connection_id":175230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:36:07] local.INFO: IMEI packet received {"connection_id":175230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":175230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:36:07] local.INFO: TCP Data received {"connection_id":175230,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:36:07] local.INFO: Processing buffer {"connection_id":175230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:36:07] local.INFO: IMEI packet received {"connection_id":175230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":175230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:36:08] local.INFO: TCP Data received {"connection_id":175230,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084203b60012d7b76c005e732f80004015a24..."} 
[2026-09-09 08:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084203b60012d7b76c005e732f80004015a24..."} 
[2026-09-09 08:36:08] local.INFO: Processing buffer {"connection_id":175230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084203b60012d7b76c005e732f80004015a24..."} 
[2026-09-09 08:36:08] local.INFO: Packet analysis {"connection_id":175230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:36:08] local.INFO: Extracted packet for processing {"connection_id":175230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763066048,"raw_latitude":99037944,"longitude_deg":76.3066048,"latitude_deg":9.9037944,"altitude":4,"angle":346,"satellites":36,"speed":6,"hex_longitude":"2d7b76c0","hex_latitude":"05e732f8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964310272001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130226449251565568,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898761045315170304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:08] 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-09-09 08:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788923100000,"timestamp_ms":1788923100000,"timestamp_seconds":1788923100,"priority":1,"record_length":96,"hex_timestamp":"000001a084203b60"} 
[2026-09-09 08:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:36: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-09-09 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 08:36: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-09-09 08: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-09-09 08:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964310272001,"66":13906,"96":206,"87":13824,"24":6,"16":130226449251565568,"45":8898761045315170304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 08:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964310272001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:36:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 08:36:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130226449251565568,"km_value":130226449251565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898761045315170304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964310272001,"power":13906,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8898761045315170304}} 
[2026-09-09 08:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":175230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:36:08] local.INFO: GPS data processed {"connection_id":175230,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:36:08] local.INFO: Acknowledgment sent {"connection_id":175230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:36:12] local.INFO: TCP Data received {"connection_id":175230,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084207210012d7b764005e735280005000022..."} 
[2026-09-09 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084207210012d7b764005e735280005000022..."} 
[2026-09-09 08:36:12] local.INFO: Processing buffer {"connection_id":175230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084207210012d7b764005e735280005000022..."} 
[2026-09-09 08:36:12] local.INFO: Packet analysis {"connection_id":175230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:36:12] local.INFO: Extracted packet for processing {"connection_id":175230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038504,"longitude_deg":76.306592,"latitude_deg":9.9038504,"altitude":5,"angle":0,"satellites":34,"speed":6,"hex_longitude":"2d7b7640","hex_latitude":"05e73528","is_valid_coordinates":true} 
[2026-09-09 08:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964313600001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130226479316336640,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896509245503240192,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:12] 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-09-09 08:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788923114000,"timestamp_ms":1788923114000,"timestamp_seconds":1788923114,"priority":1,"record_length":96,"hex_timestamp":"000001a084207210"} 
[2026-09-09 08:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:36: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-09-09 08: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 08:36: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-09-09 08:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964313600001,"66":13798,"96":206,"87":13824,"24":6,"16":130226479316336640,"45":8896509245503240192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 08:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964313600001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:36:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 08:36:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130226479316336640,"km_value":130226479316336.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896509245503240192,"description":"Unknown IO ID 45"} 
[2026-09-09 08:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964313600001,"power":13798,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8896509245503240192}} 
[2026-09-09 08:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":175230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:36:12] local.INFO: GPS data processed {"connection_id":175230,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:36:12] local.INFO: Acknowledgment sent {"connection_id":175230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:36:21] local.INFO: TCP Data received {"connection_id":175228,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:36:21] local.INFO: Processing buffer {"connection_id":175228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:36:21] local.INFO: Packet analysis {"connection_id":175228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:36:21] local.INFO: Extracted packet for processing {"connection_id":175228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 08:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":175228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:36:21] local.INFO: GPS data processed {"connection_id":175228,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:36:21] local.INFO: Acknowledgment sent {"connection_id":175228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:36:22] local.INFO: TCP Data received {"connection_id":175229,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:36:22] local.INFO: Processing buffer {"connection_id":175229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:36:22] local.INFO: IMEI packet received {"connection_id":175229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":175229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:36:23] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08420c030012d0c6f40070590f0001f001c14..."} 
[2026-09-09 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08420c030012d0c6f40070590f0001f001c14..."} 
[2026-09-09 08:36:23] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08420c030012d0c6f40070590f0001f001c14..."} 
[2026-09-09 08:36:23] local.INFO: Packet analysis {"connection_id":175461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:36:23] local.INFO: Extracted packet for processing {"connection_id":175461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":755789632,"raw_latitude":117805296,"longitude_deg":75.5789632,"latitude_deg":11.7805296,"altitude":31,"angle":28,"satellites":20,"speed":7,"hex_longitude":"2d0c6f40","hex_latitude":"070590f0","is_valid_coordinates":true} 
[2026-09-09 08:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964322048001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30858987834441728,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895864512283955200,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:23] 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-09-09 08:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788923134000,"timestamp_ms":1788923134000,"timestamp_seconds":1788923134,"priority":1,"record_length":96,"hex_timestamp":"000001a08420c030"} 
[2026-09-09 08:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 08:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964322048001,"66":14515,"164":206,"94":10240,"24":7,"16":30858987834441728,"45":895864512283955200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 08:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964322048001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:36:23] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 08:36:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30858987834441728,"km_value":30858987834441.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":895864512283955200,"description":"Unknown IO ID 45"} 
[2026-09-09 08:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964322048001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":895864512283955200}} 
[2026-09-09 08:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":175461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787769,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:36:23] local.INFO: GPS data processed {"connection_id":175461,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:36:23] local.INFO: Acknowledgment sent {"connection_id":175461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:36:39] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:36:39] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:36:39] local.INFO: IMEI packet received {"connection_id":175462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":175462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:36:43] local.INFO: TCP Data received {"connection_id":175230,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842075f8012d7b764005e736100005015b22..."} 
[2026-09-09 08:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842075f8012d7b764005e736100005015b22..."} 
[2026-09-09 08:36:43] local.INFO: Processing buffer {"connection_id":175230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842075f8012d7b764005e736100005015b22..."} 
[2026-09-09 08:36:43] local.INFO: Packet analysis {"connection_id":175230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:36:43] local.INFO: Extracted packet for processing {"connection_id":175230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038736,"longitude_deg":76.306592,"latitude_deg":9.9038736,"altitude":5,"angle":347,"satellites":34,"speed":10,"hex_longitude":"2d7b7640","hex_latitude":"05e73610","is_valid_coordinates":true} 
[2026-09-09 08:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964317184001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130226492201238528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508015028224,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:43] 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-09-09 08:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788923115000,"timestamp_ms":1788923115000,"timestamp_seconds":1788923115,"priority":1,"record_length":96,"hex_timestamp":"000001a0842075f8"} 
[2026-09-09 08:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:36: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-09-09 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 08:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964317184001,"66":13798,"96":206,"87":13824,"24":10,"16":130226492201238528,"45":8896368508015028224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 08:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964317184001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:36:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 08:36:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130226492201238528,"km_value":130226492201238.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508015028224,"description":"Unknown IO ID 45"} 
[2026-09-09 08:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964317184001,"power":13798,"unknown_96":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8896368508015028224}} 
[2026-09-09 08:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":175230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:36:43] local.INFO: GPS data processed {"connection_id":175230,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:36:43] local.INFO: Acknowledgment sent {"connection_id":175230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:36:44] local.INFO: TCP Data received {"connection_id":175463,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:36:44] local.INFO: Processing buffer {"connection_id":175463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:36:44] local.INFO: IMEI packet received {"connection_id":175463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":175463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:36:44] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:36:44] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:36:44] local.INFO: IMEI packet received {"connection_id":175462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":175462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:36:45] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:36:45] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:36:45] local.INFO: Packet analysis {"connection_id":175462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:36:45] local.INFO: Extracted packet for processing {"connection_id":175462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 08:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:36: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-09-09 08:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:36:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":175462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:36:45] local.INFO: GPS data processed {"connection_id":175462,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:36:45] local.INFO: Acknowledgment sent {"connection_id":175462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:36:45] local.INFO: TCP Data received {"connection_id":175463,"ip":"42.106.6.41","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 08:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175463,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 08:36:45] local.INFO: Processing buffer {"connection_id":175463,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 08:36:45] local.INFO: IMEI packet received {"connection_id":175463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":175463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:36:47] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:36:47] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:36:47] local.INFO: IMEI packet received {"connection_id":176576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":176576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:37:01] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:37:01] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:37:01] local.INFO: IMEI packet received {"connection_id":176577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":176577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:37:03] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:37:03] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:37:03] local.INFO: IMEI packet received {"connection_id":176577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":176577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:37:04] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084208d68012d7b754005e73fc80005016722..."} 
[2026-09-09 08:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084208d68012d7b754005e73fc80005016722..."} 
[2026-09-09 08:37:04] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084208d68012d7b754005e73fc80005016722..."} 
[2026-09-09 08:37:04] local.INFO: Packet analysis {"connection_id":176577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:37:04] local.INFO: Extracted packet for processing {"connection_id":176577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":99041224,"longitude_deg":76.3065664,"latitude_deg":9.9041224,"altitude":5,"angle":359,"satellites":34,"speed":21,"hex_longitude":"2d7b7540","hex_latitude":"05e73fc8","is_valid_coordinates":true} 
[2026-09-09 08:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964317440001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130226612460322816,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508015087616,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:04] 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-09-09 08:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788923121000,"timestamp_ms":1788923121000,"timestamp_seconds":1788923121,"priority":1,"record_length":96,"hex_timestamp":"000001a084208d68"} 
[2026-09-09 08:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 08:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964317440001,"66":13961,"96":206,"87":13824,"24":21,"16":130226612460322816,"45":8896368508015087616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 08:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964317440001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:37:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 08:37:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130226612460322816,"km_value":130226612460322.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508015087616,"description":"Unknown IO ID 45"} 
[2026-09-09 08:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964317440001,"power":13961,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8896368508015087616}} 
[2026-09-09 08:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":176577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:37:04] local.INFO: GPS data processed {"connection_id":176577,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:37:04] local.INFO: Acknowledgment sent {"connection_id":176577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:37:17] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:37:17] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:37:17] local.INFO: Packet analysis {"connection_id":175462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:37:17] local.INFO: Extracted packet for processing {"connection_id":175462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 08:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":175462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:37:17] local.INFO: GPS data processed {"connection_id":175462,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:37:17] local.INFO: Acknowledgment sent {"connection_id":175462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:37:38] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08420b090012d7b73c005e757180004015a21..."} 
[2026-09-09 08:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08420b090012d7b73c005e757180004015a21..."} 
[2026-09-09 08:37:38] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08420b090012d7b73c005e757180004015a21..."} 
[2026-09-09 08:37:38] local.INFO: Packet analysis {"connection_id":176577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:37:38] local.INFO: Extracted packet for processing {"connection_id":176577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08420"} 
[2026-09-09 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763065280,"raw_latitude":99047192,"longitude_deg":76.306528,"latitude_deg":9.9047192,"altitude":4,"angle":346,"satellites":33,"speed":27,"hex_longitude":"2d7b73c0","hex_latitude":"05e75718","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964318976001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130226904518098944,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896087033039013888,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:38] 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-09-09 08:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788923130000,"timestamp_ms":1788923130000,"timestamp_seconds":1788923130,"priority":1,"record_length":96,"hex_timestamp":"000001a08420b090"} 
[2026-09-09 08:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":137,"data_length":795,"current_offset":136} 
[2026-09-09 08:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964318976001,"66":13678,"96":206,"87":13824,"24":27,"16":130226904518098944,"45":8896087033039013888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 08:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964318976001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:37:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 08:37:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130226904518098944,"km_value":130226904518098.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896087033039013888,"description":"Unknown IO ID 45"} 
[2026-09-09 08:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964318976001,"power":13678,"unknown_96":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8896087033039013888}} 
[2026-09-09 08:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":176577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:37:38] local.INFO: GPS data processed {"connection_id":176577,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:37:38] local.INFO: Acknowledgment sent {"connection_id":176577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:37:40] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:37:40] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:37:40] local.INFO: IMEI packet received {"connection_id":176578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":176578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:37:44] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:37:44] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:37:44] local.INFO: IMEI packet received {"connection_id":176578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":176578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:37:45] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:37:45] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:37:45] local.INFO: Packet analysis {"connection_id":176578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:37:45] local.INFO: Extracted packet for processing {"connection_id":176578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 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-09-09 08:37: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-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":176578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:37:45] local.INFO: GPS data processed {"connection_id":176578,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:37:45] local.INFO: Acknowledgment sent {"connection_id":176578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:38:01] local.INFO: TCP Data received {"connection_id":176579,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:38:01] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:38:01] local.INFO: IMEI packet received {"connection_id":176579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":176579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:38:13] local.INFO: TCP Data received {"connection_id":176579,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:38:13] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:38:13] local.INFO: IMEI packet received {"connection_id":176579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":176579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:38:14] local.INFO: TCP Data received {"connection_id":176579,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084210298012d7b6e4005e76d200006015e20..."} 
[2026-09-09 08:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084210298012d7b6e4005e76d200006015e20..."} 
[2026-09-09 08:38:14] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084210298012d7b6e4005e76d200006015e20..."} 
[2026-09-09 08:38:14] local.INFO: Packet analysis {"connection_id":176579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08421"} 
[2026-09-09 08:38:14] local.INFO: Extracted packet for processing {"connection_id":176579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08421"} 
[2026-09-09 08:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763063872,"raw_latitude":99052832,"longitude_deg":76.3063872,"latitude_deg":9.9052832,"altitude":6,"angle":350,"satellites":32,"speed":17,"hex_longitude":"2d7b6e40","hex_latitude":"05e76d20","is_valid_coordinates":true} 
[2026-09-09 08:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964321280001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130227187985940480,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895664820575475712,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:14] 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-09-09 08:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788923151000,"timestamp_ms":1788923151000,"timestamp_seconds":1788923151,"priority":1,"record_length":96,"hex_timestamp":"000001a084210298"} 
[2026-09-09 08:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 08:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964321280001,"66":13678,"96":206,"87":13824,"24":17,"16":130227187985940480,"45":8895664820575475712},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 08:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964321280001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:38:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 08:38:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130227187985940480,"km_value":130227187985940.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895664820575475712,"description":"Unknown IO ID 45"} 
[2026-09-09 08:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964321280001,"power":13678,"unknown_96":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8895664820575475712}} 
[2026-09-09 08:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":176579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:38:14] local.INFO: GPS data processed {"connection_id":176579,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:38:14] local.INFO: Acknowledgment sent {"connection_id":176579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:38:17] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:38:17] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0841e7258012d34c14006aa42c80005010724..."} 
[2026-09-09 08:38:17] local.INFO: Packet analysis {"connection_id":176578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:38:17] local.INFO: Extracted packet for processing {"connection_id":176578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0841e"} 
[2026-09-09 08:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964206592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788922983000,"timestamp_ms":1788922983000,"timestamp_seconds":1788922983,"priority":1,"record_length":96,"hex_timestamp":"000001a0841e7258"} 
[2026-09-09 08:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964206592001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964206592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964206592001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":176578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:38:17] local.INFO: GPS data processed {"connection_id":176578,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:38:17] local.INFO: Acknowledgment sent {"connection_id":176578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:38:39] local.INFO: TCP Data received {"connection_id":176580,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:38:39] local.INFO: Processing buffer {"connection_id":176580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:38:39] local.INFO: IMEI packet received {"connection_id":176580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":176580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:38:43] local.INFO: TCP Data received {"connection_id":176580,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:38:43] local.INFO: Processing buffer {"connection_id":176580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:38:43] local.INFO: IMEI packet received {"connection_id":176580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":176580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:38:44] local.INFO: TCP Data received {"connection_id":176580,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:38:44] local.INFO: Processing buffer {"connection_id":176580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:38:44] local.INFO: Packet analysis {"connection_id":176580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:38:44] local.INFO: Extracted packet for processing {"connection_id":176580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 08:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:38: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-09-09 08:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":176580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:38:44] local.INFO: GPS data processed {"connection_id":176580,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:38:44] local.INFO: Acknowledgment sent {"connection_id":176580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:38:45] local.INFO: TCP Data received {"connection_id":176579,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842344b8012d7b57c005e896e00002000324..."} 
[2026-09-09 08:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842344b8012d7b57c005e896e00002000324..."} 
[2026-09-09 08:38:45] local.INFO: Processing buffer {"connection_id":176579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842344b8012d7b57c005e896e00002000324..."} 
[2026-09-09 08:38:45] local.INFO: Packet analysis {"connection_id":176579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:38:45] local.INFO: Extracted packet for processing {"connection_id":176579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:38:45] local.INFO: GPS Element Parsed {"raw_longitude":763058112,"raw_latitude":99129056,"longitude_deg":76.3058112,"latitude_deg":9.9129056,"altitude":2,"angle":3,"satellites":36,"speed":26,"hex_longitude":"2d7b57c0","hex_latitude":"05e896e0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964361728001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130230933197422592,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996222971904,"note":"Value kept but may cause issues"} 
[2026-09-09 08:38: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-09-09 08:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788923299000,"timestamp_ms":1788923299000,"timestamp_seconds":1788923299,"priority":1,"record_length":96,"hex_timestamp":"000001a0842344b8"} 
[2026-09-09 08:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:38: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-09-09 08: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 08:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964361728001,"66":13830,"201":206,"87":13824,"24":26,"16":130230933197422592,"45":8888064996222971904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 08:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964361728001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:38:45] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 08:38:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130230933197422592,"km_value":130230933197422.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996222971904,"description":"Unknown IO ID 45"} 
[2026-09-09 08:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964361728001,"power":13830,"unknown_201":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8888064996222971904}} 
[2026-09-09 08:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":176579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:38:45] local.INFO: GPS data processed {"connection_id":176579,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:38:45] local.INFO: Acknowledgment sent {"connection_id":176579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:39:03] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:39:03] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:39:03] local.INFO: IMEI packet received {"connection_id":175465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":175465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:39:06] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:39:06] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:39:06] local.INFO: IMEI packet received {"connection_id":175465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":175465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:39:06] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842367e0012d7b570005e8ae900004016023..."} 
[2026-09-09 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842367e0012d7b570005e8ae900004016023..."} 
[2026-09-09 08:39:06] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842367e0012d7b570005e8ae900004016023..."} 
[2026-09-09 08:39:06] local.INFO: Packet analysis {"connection_id":175465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:06] local.INFO: Extracted packet for processing {"connection_id":175465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763057920,"raw_latitude":99135120,"longitude_deg":76.305792,"latitude_deg":9.913512,"altitude":4,"angle":352,"satellites":35,"speed":32,"hex_longitude":"2d7b5700","hex_latitude":"05e8ae90","is_valid_coordinates":true} 
[2026-09-09 08:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964364544001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130231229550166016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887783521248534528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] 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-09-09 08:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788923308000,"timestamp_ms":1788923308000,"timestamp_seconds":1788923308,"priority":1,"record_length":96,"hex_timestamp":"000001a0842367e0"} 
[2026-09-09 08:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755408046784512,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627151628032,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2216831864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13446601,"corrected_to":0} 
[2026-09-09 08:39:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3221612553,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2864513024,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3890688000,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-1152590021803375129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-2305839704770936801,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:06] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,201,87,24,241,157,16,172,160,25,45,192,116,4,34,10,66,171,230,64,81,6,30,199,1,240,246,227,132,232,113,205,26,86,91,184,239,53,96,2,206,5,23,216],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":246,"original":13446601,"validated":0},{"io_id":205,"original":768147662,"validated":0}]} 
[2026-09-09 08:39:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144118641231265792,"timestamp_seconds":144118641231265.78,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964364544001,"66":14080,"201":206,"87":13824,"24":32,"16":130231229550166016,"45":8887783521248534528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 08:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964364544001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:39:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 08:39:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130231229550166016,"km_value":130231229550166.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887783521248534528,"description":"Unknown IO ID 45"} 
[2026-09-09 08:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964364544001,"power":14080,"unknown_201":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8887783521248534528}} 
[2026-09-09 08:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":175465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:39:06] local.INFO: GPS data processed {"connection_id":175465,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:39:06] local.INFO: Acknowledgment sent {"connection_id":175465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:39:07] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084238b08012d7b530005e8d0e80006016023..."} 
[2026-09-09 08:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084238b08012d7b530005e8d0e80006016023..."} 
[2026-09-09 08:39:07] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084238b08012d7b530005e8d0e80006016023..."} 
[2026-09-09 08:39:07] local.INFO: Packet analysis {"connection_id":175465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:07] local.INFO: Extracted packet for processing {"connection_id":175465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":99143912,"longitude_deg":76.3056896,"latitude_deg":9.9143912,"altitude":6,"angle":352,"satellites":35,"speed":42,"hex_longitude":"2d7b5300","hex_latitude":"05e8d0e8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964366848001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130231659046895616,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887572415017553920,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:07] 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-09-09 08:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788923317000,"timestamp_ms":1788923317000,"timestamp_seconds":1788923317,"priority":1,"record_length":96,"hex_timestamp":"000001a084238b08"} 
[2026-09-09 08:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:39:07] 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-09-09 08: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":0,"data_length":795,"current_offset":136} 
[2026-09-09 08:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444400128,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2216842864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:07] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-09-09 08:39:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2869755904,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3892951040,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,201,87,24,241,157,16,172,160,68,45,192,150,2,36,10,66,25,116,4,34,171,230,64,1,240,110,227,132,232,113,205,31,168,88,33,239,53,206,5,6],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-09-09 08:39:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288617554570641408,"timestamp_seconds":288617554570641.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964366848001,"66":14189,"201":206,"87":13824,"24":42,"16":130231659046895616,"45":8887572415017553920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 08:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964366848001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:39:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 08:39:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130231659046895616,"km_value":130231659046895.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887572415017553920,"description":"Unknown IO ID 45"} 
[2026-09-09 08:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964366848001,"power":14189,"unknown_201":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8887572415017553920}} 
[2026-09-09 08:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":175465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:39:07] local.INFO: GPS data processed {"connection_id":175465,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:39:07] local.INFO: Acknowledgment sent {"connection_id":175465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:39:15] local.INFO: TCP Data received {"connection_id":176580,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:39:15] local.INFO: Processing buffer {"connection_id":176580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:39:15] local.INFO: Packet analysis {"connection_id":176580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:15] local.INFO: Extracted packet for processing {"connection_id":176580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 08:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":176580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:39:15] local.INFO: GPS data processed {"connection_id":176580,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:39:15] local.INFO: Acknowledgment sent {"connection_id":176580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:39:38] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08423ae30012d7b4ec005e8f7600006016122..."} 
[2026-09-09 08:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08423ae30012d7b4ec005e8f7600006016122..."} 
[2026-09-09 08:39:38] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08423ae30012d7b4ec005e8f7600006016122..."} 
[2026-09-09 08:39:38] local.INFO: Packet analysis {"connection_id":175465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:38] local.INFO: Extracted packet for processing {"connection_id":175465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763055808,"raw_latitude":99153760,"longitude_deg":76.3055808,"latitude_deg":9.915376,"altitude":6,"angle":353,"satellites":34,"speed":44,"hex_longitude":"2d7b4ec0","hex_latitude":"05e8f760","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964369152001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130232140083232768,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446515112962048,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:38] 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-09-09 08:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788923326000,"timestamp_ms":1788923326000,"timestamp_seconds":1788923326,"priority":1,"record_length":96,"hex_timestamp":"000001a08423ae30"} 
[2026-09-09 08:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:39:38] 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-09-09 08: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":109,"data_length":795,"current_offset":136} 
[2026-09-09 08:39: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-09-09 08: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-09-09 08:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964369152001,"66":13526,"201":206,"87":13824,"24":44,"16":130232140083232768,"45":8886446515112962048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 08:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964369152001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:39:38] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 08:39:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130232140083232768,"km_value":130232140083232.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446515112962048,"description":"Unknown IO ID 45"} 
[2026-09-09 08:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964369152001,"power":13526,"unknown_201":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8886446515112962048}} 
[2026-09-09 08:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":175465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:39:38] local.INFO: GPS data processed {"connection_id":175465,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:39:38] local.INFO: Acknowledgment sent {"connection_id":175465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:39:39] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:39:39] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:39:39] local.INFO: IMEI packet received {"connection_id":175232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":175232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:39:45] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:39:45] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:39:45] local.INFO: IMEI packet received {"connection_id":175232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":175232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:39:46] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:39:46] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:39:46] local.INFO: Packet analysis {"connection_id":175232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:46] local.INFO: Extracted packet for processing {"connection_id":175232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 08:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":175232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:39:46] local.INFO: GPS data processed {"connection_id":175232,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:39:46] local.INFO: Acknowledgment sent {"connection_id":175232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:40:01] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:40:01] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:40:01] local.INFO: IMEI packet received {"connection_id":176581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":176581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:40:09] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:40:09] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:40:09] local.INFO: IMEI packet received {"connection_id":176581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":176581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:40:10] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08423d158012d7b4a4005e91ba80007016220..."} 
[2026-09-09 08:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08423d158012d7b4a4005e91ba80007016220..."} 
[2026-09-09 08:40:10] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08423d158012d7b4a4005e91ba80007016220..."} 
[2026-09-09 08:40:10] local.INFO: Packet analysis {"connection_id":176581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:10] local.INFO: Extracted packet for processing {"connection_id":176581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763054656,"raw_latitude":99163048,"longitude_deg":76.3054656,"latitude_deg":9.9163048,"altitude":7,"angle":354,"satellites":32,"speed":36,"hex_longitude":"2d7b4a40","hex_latitude":"05e91ba8","is_valid_coordinates":true} 
[2026-09-09 08:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964371456001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130232591054798848,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885250246464462848,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:10] 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-09-09 08:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788923335000,"timestamp_ms":1788923335000,"timestamp_seconds":1788923335,"priority":1,"record_length":96,"hex_timestamp":"000001a08423d158"} 
[2026-09-09 08:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:40:10] 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-09-09 08:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 08:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964371456001,"66":13656,"201":206,"87":13824,"24":36,"16":130232591054798848,"45":8885250246464462848},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 08:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964371456001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:40:10] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 08:40:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130232591054798848,"km_value":130232591054798.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885250246464462848,"description":"Unknown IO ID 45"} 
[2026-09-09 08:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964371456001,"power":13656,"unknown_201":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8885250246464462848}} 
[2026-09-09 08:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":176581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:40:10] local.INFO: GPS data processed {"connection_id":176581,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:40:10] local.INFO: Acknowledgment sent {"connection_id":176581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:40:17] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:40:17] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:40:17] local.INFO: Packet analysis {"connection_id":175232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:17] local.INFO: Extracted packet for processing {"connection_id":175232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 08:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":175232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:40:17] local.INFO: GPS data processed {"connection_id":175232,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:40:17] local.INFO: Acknowledgment sent {"connection_id":175232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:40:44] local.INFO: TCP Data received {"connection_id":178043,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:40:44] local.INFO: Processing buffer {"connection_id":178043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:40:44] local.INFO: IMEI packet received {"connection_id":178043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":178043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:40:46] local.INFO: TCP Data received {"connection_id":176581,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08423f480012d7b48c005e92f080006000b1e..."} 
[2026-09-09 08:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08423f480012d7b48c005e92f080006000b1e..."} 
[2026-09-09 08:40:46] local.INFO: Processing buffer {"connection_id":176581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08423f480012d7b48c005e92f080006000b1e..."} 
[2026-09-09 08:40:46] local.INFO: Packet analysis {"connection_id":176581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:46] local.INFO: Extracted packet for processing {"connection_id":176581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:46] local.INFO: GPS Element Parsed {"raw_longitude":763054272,"raw_latitude":99168008,"longitude_deg":76.3054272,"latitude_deg":9.9168008,"altitude":6,"angle":11,"satellites":30,"speed":9,"hex_longitude":"2d7b48c0","hex_latitude":"05e92f08","is_valid_coordinates":true} 
[2026-09-09 08:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964373760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130232835867934720,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883983609071642624,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:46] 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-09-09 08:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788923344000,"timestamp_ms":1788923344000,"timestamp_seconds":1788923344,"priority":1,"record_length":96,"hex_timestamp":"000001a08423f480"} 
[2026-09-09 08:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:40:46] 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-09-09 08:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 08:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964373760001,"66":13276,"201":206,"87":13824,"24":9,"16":130232835867934720,"45":8883983609071642624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 08:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964373760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:40:46] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 08:40:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130232835867934720,"km_value":130232835867934.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883983609071642624,"description":"Unknown IO ID 45"} 
[2026-09-09 08:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964373760001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8883983609071642624}} 
[2026-09-09 08:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":176581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:40:46] local.INFO: GPS data processed {"connection_id":176581,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:40:46] local.INFO: Acknowledgment sent {"connection_id":176581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:40:49] local.INFO: TCP Data received {"connection_id":178043,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:40:49] local.INFO: Processing buffer {"connection_id":178043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:40:49] local.INFO: IMEI packet received {"connection_id":178043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":178043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:40:51] local.INFO: TCP Data received {"connection_id":178043,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:40:51] local.INFO: Processing buffer {"connection_id":178043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:40:51] local.INFO: Packet analysis {"connection_id":178043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:51] local.INFO: Extracted packet for processing {"connection_id":178043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 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-09-09 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":178043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:40:51] local.INFO: GPS data processed {"connection_id":178043,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:40:51] local.INFO: Acknowledgment sent {"connection_id":178043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:40:55] local.INFO: TCP Data received {"connection_id":178043,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:40:55] local.INFO: Processing buffer {"connection_id":178043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:40:55] local.INFO: Packet analysis {"connection_id":178043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:55] local.INFO: Extracted packet for processing {"connection_id":178043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:40:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 08:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:40:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:40:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":178043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:40:55] local.INFO: GPS data processed {"connection_id":178043,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:40:55] local.INFO: Acknowledgment sent {"connection_id":178043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:41:03] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:41:03] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:41:03] local.INFO: IMEI packet received {"connection_id":175235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":175235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:41:09] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:41:09] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:41:09] local.INFO: IMEI packet received {"connection_id":175235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":175235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:41:10] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08423f868012d7b490005e92fb8000500211e..."} 
[2026-09-09 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08423f868012d7b490005e92fb8000500211e..."} 
[2026-09-09 08:41:10] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08423f868012d7b490005e92fb8000500211e..."} 
[2026-09-09 08:41:10] local.INFO: Packet analysis {"connection_id":175235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:41:10] local.INFO: Extracted packet for processing {"connection_id":175235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":99168184,"longitude_deg":76.3054336,"latitude_deg":9.9168184,"altitude":5,"angle":33,"satellites":30,"speed":7,"hex_longitude":"2d7b4900","hex_latitude":"05e92fb8","is_valid_coordinates":true} 
[2026-09-09 08:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964376064001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130232844457869312,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883561396607846400,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:10] 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-09-09 08:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788923345000,"timestamp_ms":1788923345000,"timestamp_seconds":1788923345,"priority":1,"record_length":96,"hex_timestamp":"000001a08423f868"} 
[2026-09-09 08:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:41:10] 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-09-09 08:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-09 08:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964376064001,"66":13276,"201":206,"87":13824,"24":7,"16":130232844457869312,"45":8883561396607846400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 08:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964376064001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:41:10] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 08:41:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130232844457869312,"km_value":130232844457869.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883561396607846400,"description":"Unknown IO ID 45"} 
[2026-09-09 08:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964376064001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8883561396607846400}} 
[2026-09-09 08:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":175235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:41:10] local.INFO: GPS data processed {"connection_id":175235,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:41:10] local.INFO: Acknowledgment sent {"connection_id":175235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:41:39] local.INFO: TCP Data received {"connection_id":178044,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:41:39] local.INFO: Processing buffer {"connection_id":178044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:41:39] local.INFO: IMEI packet received {"connection_id":178044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":178044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:41:41] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08425e880012d7bd5c005e95c280006005722..."} 
[2026-09-09 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08425e880012d7bd5c005e95c280006005722..."} 
[2026-09-09 08:41:41] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08425e880012d7bd5c005e95c280006005722..."} 
[2026-09-09 08:41:41] local.INFO: Packet analysis {"connection_id":175235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08425"} 
[2026-09-09 08:41:41] local.INFO: Extracted packet for processing {"connection_id":175235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08425"} 
[2026-09-09 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763090368,"raw_latitude":99179560,"longitude_deg":76.3090368,"latitude_deg":9.917956,"altitude":6,"angle":87,"satellites":34,"speed":24,"hex_longitude":"2d7bd5c0","hex_latitude":"05e95c28","is_valid_coordinates":true} 
[2026-09-09 08:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130234686998839296,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921208674745784320,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] 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-09-09 08:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788923472000,"timestamp_ms":1788923472000,"timestamp_seconds":1788923472,"priority":1,"record_length":96,"hex_timestamp":"000001a08425e880"} 
[2026-09-09 08:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1407383489282048,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627151346176,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2216986864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3221612858,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080493,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2930769920,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-5764276039823915543,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6917529028834295829,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:41] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,9,87,24,241,157,16,175,160,154,45,128,76,5,33,10,66,115,72,3,32,201,1,240,93,227,174,132,233,4,113,205,191,125,8,31,239,54,2,206,105,53],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-09-09 08:41:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432425970311757824,"timestamp_seconds":432425970311757.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964408064001,"66":13863,"9":206,"87":13824,"24":24,"16":130234686998839296,"45":8921208674745784320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 08:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:41:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 08:41:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130234686998839296,"km_value":130234686998839.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921208674745784320,"description":"Unknown IO ID 45"} 
[2026-09-09 08:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964408064001,"power":13863,"unknown_9":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8921208674745784320}} 
[2026-09-09 08:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":175235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:41:41] local.INFO: GPS data processed {"connection_id":175235,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:41:41] local.INFO: Acknowledgment sent {"connection_id":175235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:41:44] local.INFO: TCP Data received {"connection_id":178044,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:41:44] local.INFO: Processing buffer {"connection_id":178044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:41:44] local.INFO: IMEI packet received {"connection_id":178044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":178044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:41:45] local.INFO: TCP Data received {"connection_id":178045,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:41:45] local.INFO: Processing buffer {"connection_id":178045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:41:45] local.INFO: IMEI packet received {"connection_id":178045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":178045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:41:46] local.INFO: TCP Data received {"connection_id":178044,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:41:46] local.INFO: Processing buffer {"connection_id":178044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:41:46] local.INFO: Packet analysis {"connection_id":178044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:41:46] local.INFO: Extracted packet for processing {"connection_id":178044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 08:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":178044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:41:46] local.INFO: GPS data processed {"connection_id":178044,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:41:46] local.INFO: Acknowledgment sent {"connection_id":178044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:41:46] local.INFO: TCP Data received {"connection_id":178045,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084260f90012d0da3800705bf08001100ad1a..."} 
[2026-09-09 08:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084260f90012d0da3800705bf08001100ad1a..."} 
[2026-09-09 08:41:46] local.INFO: Processing buffer {"connection_id":178045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084260f90012d0da3800705bf08001100ad1a..."} 
[2026-09-09 08:41:46] local.INFO: Packet analysis {"connection_id":178045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08426"} 
[2026-09-09 08:41:46] local.INFO: Extracted packet for processing {"connection_id":178045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08426"} 
[2026-09-09 08:41:46] local.INFO: GPS Element Parsed {"raw_longitude":755868544,"raw_latitude":117817096,"longitude_deg":75.5868544,"latitude_deg":11.7817096,"altitude":17,"angle":173,"satellites":26,"speed":0,"hex_longitude":"2d0da380","hex_latitude":"0705bf08","is_valid_coordinates":true} 
[2026-09-09 08:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964406016001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30864309298921472,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436369889280,"note":"Value kept but may cause issues"} 
[2026-09-09 08:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788923482000,"timestamp_ms":1788923482000,"timestamp_seconds":1788923482,"priority":1,"record_length":96,"hex_timestamp":"000001a084260f90"} 
[2026-09-09 08:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:41: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-09-09 08:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 08:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964406016001,"66":14428,"167":206,"94":11008,"24":0,"16":30864309298921472,"45":982488436369889280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964406016001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:41:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:41:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30864309298921472,"km_value":30864309298921.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436369889280,"description":"Unknown IO ID 45"} 
[2026-09-09 08:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964406016001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982488436369889280}} 
[2026-09-09 08:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":178045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787793,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:41:46] local.INFO: GPS data processed {"connection_id":178045,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:41:46] local.INFO: Acknowledgment sent {"connection_id":178045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:42:01] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:42:01] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:42:01] local.INFO: IMEI packet received {"connection_id":175467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":175467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:42:07] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:42:07] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:42:07] local.INFO: IMEI packet received {"connection_id":175467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":175467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:42:08] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08425f820012d7bdf4005e95d900005004a23..."} 
[2026-09-09 08:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08425f820012d7bdf4005e95d900005004a23..."} 
[2026-09-09 08:42:08] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08425f820012d7bdf4005e95d900005004a23..."} 
[2026-09-09 08:42:08] local.INFO: Packet analysis {"connection_id":175467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08425"} 
[2026-09-09 08:42:08] local.INFO: Extracted packet for processing {"connection_id":175467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08425"} 
[2026-09-09 08:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763092800,"raw_latitude":99179920,"longitude_deg":76.30928,"latitude_deg":9.917992,"altitude":5,"angle":74,"satellites":35,"speed":23,"hex_longitude":"2d7bdf40","hex_latitude":"05e95d90","is_valid_coordinates":true} 
[2026-09-09 08:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964408832001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130234807257923584,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923249368327006208,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:08] 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-09-09 08:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788923476000,"timestamp_ms":1788923476000,"timestamp_seconds":1788923476,"priority":1,"record_length":96,"hex_timestamp":"000001a08425f820"} 
[2026-09-09 08:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:42: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-09-09 08:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-09 08:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964408832001,"66":13537,"9":206,"87":13824,"24":23,"16":130234807257923584,"45":8923249368327006208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 08:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964408832001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:42:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 08:42:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130234807257923584,"km_value":130234807257923.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923249368327006208,"description":"Unknown IO ID 45"} 
[2026-09-09 08:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964408832001,"power":13537,"unknown_9":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8923249368327006208}} 
[2026-09-09 08:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":175467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:42:08] local.INFO: GPS data processed {"connection_id":175467,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:42:08] local.INFO: Acknowledgment sent {"connection_id":175467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:42:17] local.INFO: TCP Data received {"connection_id":178044,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:42:17] local.INFO: Processing buffer {"connection_id":178044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:42:17] local.INFO: Packet analysis {"connection_id":178044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:42:17] local.INFO: Extracted packet for processing {"connection_id":178044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 08:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":178044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:42:17] local.INFO: GPS data processed {"connection_id":178044,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:42:17] local.INFO: Acknowledgment sent {"connection_id":178044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:42:18] local.INFO: TCP Data received {"connection_id":178045,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084262ed0012d0da3800705be48001100d01a..."} 
[2026-09-09 08:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084262ed0012d0da3800705be48001100d01a..."} 
[2026-09-09 08:42:18] local.INFO: Processing buffer {"connection_id":178045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084262ed0012d0da3800705be48001100d01a..."} 
[2026-09-09 08:42:18] local.INFO: Packet analysis {"connection_id":178045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08426"} 
[2026-09-09 08:42:18] local.INFO: Extracted packet for processing {"connection_id":178045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08426"} 
[2026-09-09 08:42:18] local.INFO: GPS Element Parsed {"raw_longitude":755868544,"raw_latitude":117816904,"longitude_deg":75.5868544,"latitude_deg":11.7816904,"altitude":17,"angle":208,"satellites":26,"speed":3,"hex_longitude":"2d0da380","hex_latitude":"0705be48","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964411392001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30864317888856064,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982769911346432000,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788923490000,"timestamp_ms":1788923490000,"timestamp_seconds":1788923490,"priority":1,"record_length":96,"hex_timestamp":"000001a084262ed0"} 
[2026-09-09 08:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:42: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-09-09 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 08:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964411392001,"66":14439,"167":206,"94":11008,"24":3,"16":30864317888856064,"45":982769911346432000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964411392001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:42:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:42:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30864317888856064,"km_value":30864317888856.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":982769911346432000,"description":"Unknown IO ID 45"} 
[2026-09-09 08:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964411392001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":982769911346432000}} 
[2026-09-09 08:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":178045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787796,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:42:18] local.INFO: GPS data processed {"connection_id":178045,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:42:18] local.INFO: Acknowledgment sent {"connection_id":178045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:42:39] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084264640012d7bfb4005e96478000a004b25..."} 
[2026-09-09 08:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084264640012d7bfb4005e96478000a004b25..."} 
[2026-09-09 08:42:39] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084264640012d7bfb4005e96478000a004b25..."} 
[2026-09-09 08:42:39] local.INFO: Packet analysis {"connection_id":175467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08426"} 
[2026-09-09 08:42:39] local.INFO: Extracted packet for processing {"connection_id":175467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08426"} 
[2026-09-09 08:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763099968,"raw_latitude":99181688,"longitude_deg":76.3099968,"latitude_deg":9.9181688,"altitude":10,"angle":75,"satellites":37,"speed":13,"hex_longitude":"2d7bfb40","hex_latitude":"05e96478","is_valid_coordinates":true} 
[2026-09-09 08:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964409856001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130235159445241856,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925923380605849600,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:39] 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-09-09 08:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788923496000,"timestamp_ms":1788923496000,"timestamp_seconds":1788923496,"priority":1,"record_length":96,"hex_timestamp":"000001a084264640"} 
[2026-09-09 08:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:42: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-09-09 08:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-09 08:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964409856001,"66":13830,"9":206,"87":13824,"24":13,"16":130235159445241856,"45":8925923380605849600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 08:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964409856001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:42:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 08:42:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130235159445241856,"km_value":130235159445241.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925923380605849600,"description":"Unknown IO ID 45"} 
[2026-09-09 08:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964409856001,"power":13830,"unknown_9":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8925923380605849600}} 
[2026-09-09 08:42:39] local.INFO: TCP Data received {"connection_id":175236,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:42:39] local.INFO: Processing buffer {"connection_id":175236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:42:39] local.INFO: IMEI packet received {"connection_id":175236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":175236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":175467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:42:39] local.INFO: GPS data processed {"connection_id":175467,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:42:39] local.INFO: Acknowledgment sent {"connection_id":175467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:42:41] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:41] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:41] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:42:42] local.INFO: TCP Data received {"connection_id":176582,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:42:42] local.INFO: Processing buffer {"connection_id":176582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:42:42] local.INFO: IMEI packet received {"connection_id":176582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":176582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:42:44] local.INFO: TCP Data received {"connection_id":175236,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:42:44] local.INFO: Processing buffer {"connection_id":175236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:42:44] local.INFO: IMEI packet received {"connection_id":175236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":175236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:42:45] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:45] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:45] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:42:45] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:45] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:45] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:42:45] local.INFO: TCP Data received {"connection_id":175236,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:42:45] local.INFO: Processing buffer {"connection_id":175236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:42:45] local.INFO: Packet analysis {"connection_id":175236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:42:45] local.INFO: Extracted packet for processing {"connection_id":175236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 08:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:42: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-09-09 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:42:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":175236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:42:45] local.INFO: GPS data processed {"connection_id":175236,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:42:45] local.INFO: Acknowledgment sent {"connection_id":175236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:42:49] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:49] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:42:49] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:42:50] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084273c58012d0d75000705cf30001100fd1a..."} 
[2026-09-09 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084273c58012d0d75000705cf30001100fd1a..."} 
[2026-09-09 08:42:50] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084273c58012d0d75000705cf30001100fd1a..."} 
[2026-09-09 08:42:50] local.INFO: Packet analysis {"connection_id":175237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:42:50] local.INFO: Extracted packet for processing {"connection_id":175237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":755856640,"raw_latitude":117821232,"longitude_deg":75.585664,"latitude_deg":11.7821232,"altitude":17,"angle":253,"satellites":26,"speed":22,"hex_longitude":"2d0d7500","hex_latitude":"0705cf30","is_valid_coordinates":true} 
[2026-09-09 08:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964430592001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30865297141399552,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":970947962325688320,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42: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-09-09 08:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788923559000,"timestamp_ms":1788923559000,"timestamp_seconds":1788923559,"priority":1,"record_length":96,"hex_timestamp":"000001a084273c58"} 
[2026-09-09 08:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 08:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964430592001,"66":13754,"167":206,"94":11008,"24":22,"16":30865297141399552,"45":970947962325688320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964430592001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:42:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:42:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30865297141399552,"km_value":30865297141399.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":970947962325688320,"description":"Unknown IO ID 45"} 
[2026-09-09 08:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964430592001,"power":13754,"unknown_167":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":970947962325688320}} 
[2026-09-09 08:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":175237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787799,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:42:50] local.INFO: GPS data processed {"connection_id":175237,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:42:50] local.INFO: Acknowledgment sent {"connection_id":175237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:42:51] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084274810012d0d6ec00705ce30001001131a..."} 
[2026-09-09 08:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084274810012d0d6ec00705ce30001001131a..."} 
[2026-09-09 08:42:51] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084274810012d0d6ec00705ce30001001131a..."} 
[2026-09-09 08:42:51] local.INFO: Packet analysis {"connection_id":175237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:42:51] local.INFO: Extracted packet for processing {"connection_id":175237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755855040,"raw_latitude":117820976,"longitude_deg":75.585504,"latitude_deg":11.7820976,"altitude":16,"angle":275,"satellites":26,"speed":19,"hex_longitude":"2d0d6ec0","hex_latitude":"0705ce30","is_valid_coordinates":true} 
[2026-09-09 08:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964431104001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30865374450810880,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":969681324930445312,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42: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-09-09 08:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788923562000,"timestamp_ms":1788923562000,"timestamp_seconds":1788923562,"priority":1,"record_length":96,"hex_timestamp":"000001a084274810"} 
[2026-09-09 08:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-09 08:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964431104001,"66":14515,"167":206,"94":11008,"24":19,"16":30865374450810880,"45":969681324930445312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964431104001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:42:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30865374450810880,"km_value":30865374450810.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":969681324930445312,"description":"Unknown IO ID 45"} 
[2026-09-09 08:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964431104001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":969681324930445312}} 
[2026-09-09 08:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":175237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787800,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:42:51] local.INFO: GPS data processed {"connection_id":175237,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:42:51] local.INFO: Acknowledgment sent {"connection_id":175237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:42:51] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084275b98012d0d63c00705d058001101241a..."} 
[2026-09-09 08:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084275b98012d0d63c00705d058001101241a..."} 
[2026-09-09 08:42:51] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084275b98012d0d63c00705d058001101241a..."} 
[2026-09-09 08:42:51] local.INFO: Packet analysis {"connection_id":175237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:42:51] local.INFO: Extracted packet for processing {"connection_id":175237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755852224,"raw_latitude":117821528,"longitude_deg":75.5852224,"latitude_deg":11.7821528,"altitude":17,"angle":292,"satellites":26,"speed":24,"hex_longitude":"2d0d63c0","hex_latitude":"0705d058","is_valid_coordinates":true} 
[2026-09-09 08:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964431872001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30865511889764352,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":967922106325938176,"note":"Value kept but may cause issues"} 
[2026-09-09 08:42: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-09-09 08:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788923567000,"timestamp_ms":1788923567000,"timestamp_seconds":1788923567,"priority":1,"record_length":96,"hex_timestamp":"000001a084275b98"} 
[2026-09-09 08:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 08:42: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-09-09 08:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964431872001,"66":14374,"167":206,"94":11008,"24":24,"16":30865511889764352,"45":967922106325938176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964431872001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:42:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30865511889764352,"km_value":30865511889764.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":967922106325938176,"description":"Unknown IO ID 45"} 
[2026-09-09 08:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964431872001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":967922106325938176}} 
[2026-09-09 08:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":175237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:42:52] local.INFO: GPS data processed {"connection_id":175237,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:42:52] local.INFO: Acknowledgment sent {"connection_id":175237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:43:02] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:43:02] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:43:02] local.INFO: IMEI packet received {"connection_id":175468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":175468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:43:02] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:43:02] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:43:02] local.INFO: IMEI packet received {"connection_id":175468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":175468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:43:06] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:43:06] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:43:06] local.INFO: IMEI packet received {"connection_id":175468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":175468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:43:08] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842688a8012d7c1e4005e97190000b004529..."} 
[2026-09-09 08:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842688a8012d7c1e4005e97190000b004529..."} 
[2026-09-09 08:43:08] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842688a8012d7c1e4005e97190000b004529..."} 
[2026-09-09 08:43:08] local.INFO: Packet analysis {"connection_id":175468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08426"} 
[2026-09-09 08:43:08] local.INFO: Extracted packet for processing {"connection_id":175468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08426"} 
[2026-09-09 08:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763108928,"raw_latitude":99185040,"longitude_deg":76.3108928,"latitude_deg":9.918504,"altitude":11,"angle":69,"satellites":41,"speed":27,"hex_longitude":"2d7c1e40","hex_latitude":"05e97190","is_valid_coordinates":true} 
[2026-09-09 08:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964414976001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130235614711775232,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933804679954200576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] 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-09-09 08:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788923513000,"timestamp_ms":1788923513000,"timestamp_seconds":1788923513,"priority":1,"record_length":96,"hex_timestamp":"000001a0842688a8"} 
[2026-09-09 08:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:43:08] 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-09-09 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503608233099264,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627151333632,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2217025864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3913062400,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309212878,"corrected_to":0} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402029,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":576792235786372585,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2940076032,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":-4611683817791356924,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,9,87,24,241,157,16,176,160,248,45,64,93,5,35,10,66,175,232,192,92,6,34,220,128,1,240,227,132,233,4,113,205,8,115,173,32,239,54,201,2,206,59],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1309212878,"validated":0}]} 
[2026-09-09 08:43:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720658562666004480,"timestamp_seconds":720658562666004.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964414976001,"66":14004,"9":206,"87":13824,"24":27,"16":130235614711775232,"45":8933804679954200576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 08:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964414976001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:43:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 08:43:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130235614711775232,"km_value":130235614711775.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933804679954200576,"description":"Unknown IO ID 45"} 
[2026-09-09 08:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964414976001,"power":14004,"unknown_9":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8933804679954200576}} 
[2026-09-09 08:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":175468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:43:08] local.INFO: GPS data processed {"connection_id":175468,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:43:08] local.INFO: Acknowledgment sent {"connection_id":175468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:43:16] local.INFO: TCP Data received {"connection_id":175236,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:43:16] local.INFO: Processing buffer {"connection_id":175236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084230a20012d34c14006aa42c80005010726..."} 
[2026-09-09 08:43:16] local.INFO: Packet analysis {"connection_id":175236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:43:16] local.INFO: Extracted packet for processing {"connection_id":175236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08423"} 
[2026-09-09 08:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964283648001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788923284000,"timestamp_ms":1788923284000,"timestamp_seconds":1788923284,"priority":1,"record_length":96,"hex_timestamp":"000001a084230a20"} 
[2026-09-09 08:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964283648001,"66":25517,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964283648001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964283648001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":175236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:43:16] local.INFO: GPS data processed {"connection_id":175236,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:43:16] local.INFO: Acknowledgment sent {"connection_id":175236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:43:23] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084276368012d0d60800705d2c80010013e1a..."} 
[2026-09-09 08:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084276368012d0d60800705d2c80010013e1a..."} 
[2026-09-09 08:43:23] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084276368012d0d60800705d2c80010013e1a..."} 
[2026-09-09 08:43:23] local.INFO: Packet analysis {"connection_id":175237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:43:23] local.INFO: Extracted packet for processing {"connection_id":175237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755851392,"raw_latitude":117822152,"longitude_deg":75.5851392,"latitude_deg":11.7822152,"altitude":16,"angle":318,"satellites":26,"speed":19,"hex_longitude":"2d0d6080","hex_latitude":"0705d2c8","is_valid_coordinates":true} 
[2026-09-09 08:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964433152001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30865563429371904,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964825881582262272,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43: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-09-09 08:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788923569000,"timestamp_ms":1788923569000,"timestamp_seconds":1788923569,"priority":1,"record_length":96,"hex_timestamp":"000001a084276368"} 
[2026-09-09 08:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 08:43: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-09-09 08:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964433152001,"66":14374,"167":206,"94":11008,"24":19,"16":30865563429371904,"45":964825881582262272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964433152001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:43:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:43:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30865563429371904,"km_value":30865563429371.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":964825881582262272,"description":"Unknown IO ID 45"} 
[2026-09-09 08:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964433152001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":964825881582262272}} 
[2026-09-09 08:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":175237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:43:23] local.INFO: GPS data processed {"connection_id":175237,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:43:23] local.INFO: Acknowledgment sent {"connection_id":175237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:43:39] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:43:39] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:43:39] local.INFO: IMEI packet received {"connection_id":175238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":175238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:43:40] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084280778012d7c8f8005e99b700008001c26..."} 
[2026-09-09 08:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084280778012d7c8f8005e99b700008001c26..."} 
[2026-09-09 08:43:40] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084280778012d7c8f8005e99b700008001c26..."} 
[2026-09-09 08:43:40] local.INFO: Packet analysis {"connection_id":175468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:43:40] local.INFO: Extracted packet for processing {"connection_id":175468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763137920,"raw_latitude":99195760,"longitude_deg":76.313792,"latitude_deg":9.919576,"altitude":8,"angle":28,"satellites":38,"speed":2,"hex_longitude":"2d7c8f80","hex_latitude":"05e99b70","is_valid_coordinates":true} 
[2026-09-09 08:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964443904001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130237113655361536,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607766767616,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:40] 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-09-09 08:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788923611000,"timestamp_ms":1788923611000,"timestamp_seconds":1788923611,"priority":1,"record_length":96,"hex_timestamp":"000001a084280778"} 
[2026-09-09 08:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 08:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964443904001,"66":13765,"154":206,"87":13824,"24":2,"16":130237113655361536,"45":8975392607766767616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-09 08:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964443904001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:43:40] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-09 08:43:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130237113655361536,"km_value":130237113655361.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607766767616,"description":"Unknown IO ID 45"} 
[2026-09-09 08:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964443904001,"power":13765,"unknown_154":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8975392607766767616}} 
[2026-09-09 08:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":175468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:43:40] local.INFO: GPS data processed {"connection_id":175468,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:43:40] local.INFO: Acknowledgment sent {"connection_id":175468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:43:40] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:43:40] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:43:40] local.INFO: IMEI packet received {"connection_id":175469,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":175469,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:43:40] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:43:40] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:43:40] local.INFO: IMEI packet received {"connection_id":175469,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":175469,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:43:42] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:43:42] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:43:42] local.INFO: IMEI packet received {"connection_id":175469,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":175469,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:43:43] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084277ad8012d0d5b800705d930000f014c19..."} 
[2026-09-09 08:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084277ad8012d0d5b800705d930000f014c19..."} 
[2026-09-09 08:43:43] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084277ad8012d0d5b800705d930000f014c19..."} 
[2026-09-09 08:43:43] local.INFO: Packet analysis {"connection_id":175469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:43:43] local.INFO: Extracted packet for processing {"connection_id":175469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:43:43] local.INFO: GPS Element Parsed {"raw_longitude":755850112,"raw_latitude":117823792,"longitude_deg":75.5850112,"latitude_deg":11.7823792,"altitude":15,"angle":332,"satellites":25,"speed":9,"hex_longitude":"2d0d5b80","hex_latitude":"0705d930","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964433664001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30865662213619712,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963911087908112384,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:43] 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-09-09 08:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788923575000,"timestamp_ms":1788923575000,"timestamp_seconds":1788923575,"priority":1,"record_length":96,"hex_timestamp":"000001a084277ad8"} 
[2026-09-09 08:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:43: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-09-09 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 08:43: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-09-09 08: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-09-09 08:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964433664001,"66":14374,"167":206,"94":11008,"24":9,"16":30865662213619712,"45":963911087908112384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964433664001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:43:43] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:43:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30865662213619712,"km_value":30865662213619.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":963911087908112384,"description":"Unknown IO ID 45"} 
[2026-09-09 08:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964433664001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":963911087908112384}} 
[2026-09-09 08:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":175469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787806,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:43:43] local.INFO: GPS data processed {"connection_id":175469,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:43:43] local.INFO: Acknowledgment sent {"connection_id":175469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:43:43] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:43:43] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:43:43] local.INFO: IMEI packet received {"connection_id":175238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":175238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:43:44] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:43:44] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:43:44] local.INFO: Packet analysis {"connection_id":175238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:43:44] local.INFO: Extracted packet for processing {"connection_id":175238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 08:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:43: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-09-09 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":175238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:43:44] local.INFO: GPS data processed {"connection_id":175238,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:43:44] local.INFO: Acknowledgment sent {"connection_id":175238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:44:01] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:44:01] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:44:01] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:44:02] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:44:02] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:44:02] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:44:06] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:44:06] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:44:06] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:44:08] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084280b60012d7c8f8005e99bb80008000a26..."} 
[2026-09-09 08:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084280b60012d7c8f8005e99bb80008000a26..."} 
[2026-09-09 08:44:08] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084280b60012d7c8f8005e99bb80008000a26..."} 
[2026-09-09 08:44:08] local.INFO: Packet analysis {"connection_id":175470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:44:08] local.INFO: Extracted packet for processing {"connection_id":175470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763137920,"raw_latitude":99195832,"longitude_deg":76.313792,"latitude_deg":9.9195832,"altitude":8,"angle":10,"satellites":38,"speed":2,"hex_longitude":"2d7c8f80","hex_latitude":"05e99bb8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964444416001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130237113655361536,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975533345255157760,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:08] 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-09-09 08:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788923612000,"timestamp_ms":1788923612000,"timestamp_seconds":1788923612,"priority":1,"record_length":96,"hex_timestamp":"000001a084280b60"} 
[2026-09-09 08:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 08:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964444416001,"66":13048,"154":206,"87":13824,"24":2,"16":130237113655361536,"45":8975533345255157760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-09 08:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964444416001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:44:08] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-09 08:44:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130237113655361536,"km_value":130237113655361.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975533345255157760,"description":"Unknown IO ID 45"} 
[2026-09-09 08:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964444416001,"power":13048,"unknown_154":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8975533345255157760}} 
[2026-09-09 08:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":175470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:44:08] local.INFO: GPS data processed {"connection_id":175470,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:44:08] local.INFO: Acknowledgment sent {"connection_id":175470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:44:14] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084289be8012d0d9fc0070632b8001b003619..."} 
[2026-09-09 08:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084289be8012d0d9fc0070632b8001b003619..."} 
[2026-09-09 08:44:14] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084289be8012d0d9fc0070632b8001b003619..."} 
[2026-09-09 08:44:14] local.INFO: Packet analysis {"connection_id":175469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:44:14] local.INFO: Extracted packet for processing {"connection_id":175469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:44:14] local.INFO: GPS Element Parsed {"raw_longitude":755867584,"raw_latitude":117846712,"longitude_deg":75.5867584,"latitude_deg":11.7846712,"altitude":27,"angle":54,"satellites":25,"speed":24,"hex_longitude":"2d0d9fc0","hex_latitude":"070632b8","is_valid_coordinates":true} 
[2026-09-09 08:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964453120001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30867405970341888,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":978618155447195648,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] 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-09-09 08:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788923649000,"timestamp_ms":1788923649000,"timestamp_seconds":1788923649,"priority":1,"record_length":96,"hex_timestamp":"000001a084289be8"} 
[2026-09-09 08:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:44: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-09-09 08: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146368,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2217224864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7356911560775696394,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504070613499904,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151143,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705443534,"corrected_to":0} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3221685791,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911013,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2835021824,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84738665368454683,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":184,"raw_value":7318401353519360,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.WARNING: Large IO value detected {"io_id":13,"raw_value":6791435960463654934,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:14] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,167,94,24,241,157,16,169,160,120,45,64,37,29,25,10,66,116,192,35,30,58,128,1,240,71,227,132,6,4,113,205,50,95,239,53,2,109,7,26,8,206,208,184,13],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1705443534,"validated":0}]} 
[2026-09-09 08:44:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945627714167898112,"timestamp_seconds":1945627714167898.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964453120001,"66":14396,"167":206,"94":11008,"24":24,"16":30867405970341888,"45":978618155447195648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964453120001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:44:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:44:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30867405970341888,"km_value":30867405970341.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":978618155447195648,"description":"Unknown IO ID 45"} 
[2026-09-09 08:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964453120001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":978618155447195648}} 
[2026-09-09 08:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":175469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:44:14] local.INFO: GPS data processed {"connection_id":175469,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:44:14] local.INFO: Acknowledgment sent {"connection_id":175469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:44:15] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:44:15] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:44:15] local.INFO: Packet analysis {"connection_id":175238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:44:15] local.INFO: Extracted packet for processing {"connection_id":175238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 08:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":175238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:44:15] local.INFO: GPS data processed {"connection_id":175238,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:44:15] local.INFO: Acknowledgment sent {"connection_id":175238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:44:38] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084281330012d7c8f8005e99c800008015226..."} 
[2026-09-09 08:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084281330012d7c8f8005e99c800008015226..."} 
[2026-09-09 08:44:39] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084281330012d7c8f8005e99c800008015226..."} 
[2026-09-09 08:44:39] local.INFO: Packet analysis {"connection_id":175470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:44:39] local.INFO: Extracted packet for processing {"connection_id":175470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763137920,"raw_latitude":99196032,"longitude_deg":76.313792,"latitude_deg":9.9196032,"altitude":8,"angle":338,"satellites":38,"speed":4,"hex_longitude":"2d7c8f80","hex_latitude":"05e99c80","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964444672001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130237126540263424,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975533345255176192,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:39] 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-09-09 08:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788923614000,"timestamp_ms":1788923614000,"timestamp_seconds":1788923614,"priority":1,"record_length":96,"hex_timestamp":"000001a084281330"} 
[2026-09-09 08:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-09 08:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964444672001,"66":13906,"154":206,"87":13824,"24":4,"16":130237126540263424,"45":8975533345255176192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-09 08:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964444672001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:44:39] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-09 08:44:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130237126540263424,"km_value":130237126540263.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975533345255176192,"description":"Unknown IO ID 45"} 
[2026-09-09 08:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964444672001,"power":13906,"unknown_154":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8975533345255176192}} 
[2026-09-09 08:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":175470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:44:39] local.INFO: GPS data processed {"connection_id":175470,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:44:39] local.INFO: Acknowledgment sent {"connection_id":175470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:44:39] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:44:39] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:44:39] local.INFO: IMEI packet received {"connection_id":175472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":175472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:44:40] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:44:40] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:44:40] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:44:44] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:44:44] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:44:44] local.INFO: IMEI packet received {"connection_id":175472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":175472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:44:45] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:44:45] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:44:45] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:44:45] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:44:45] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:44:45] local.INFO: Packet analysis {"connection_id":175472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:44:45] local.INFO: Extracted packet for processing {"connection_id":175472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 08:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:44: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-09-09 08:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":175472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:44:45] local.INFO: GPS data processed {"connection_id":175472,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:44:45] local.INFO: Acknowledgment sent {"connection_id":175472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:44:45] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084289fd0012d0da14007063448001b002819..."} 
[2026-09-09 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084289fd0012d0da14007063448001b002819..."} 
[2026-09-09 08:44:45] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084289fd0012d0da14007063448001b002819..."} 
[2026-09-09 08:44:45] local.INFO: Packet analysis {"connection_id":175471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:44:45] local.INFO: Extracted packet for processing {"connection_id":175471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08428"} 
[2026-09-09 08:44:45] local.INFO: GPS Element Parsed {"raw_longitude":755867968,"raw_latitude":117847112,"longitude_deg":75.5867968,"latitude_deg":11.7847112,"altitude":27,"angle":40,"satellites":25,"speed":20,"hex_longitude":"2d0da140","hex_latitude":"07063448","is_valid_coordinates":true} 
[2026-09-09 08:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964454144001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30867431740145664,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981714380191348736,"note":"Value kept but may cause issues"} 
[2026-09-09 08:44:45] 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-09-09 08:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788923650000,"timestamp_ms":1788923650000,"timestamp_seconds":1788923650,"priority":1,"record_length":96,"hex_timestamp":"000001a084289fd0"} 
[2026-09-09 08:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:44: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-09-09 08:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 08:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964454144001,"66":14515,"167":206,"94":11008,"24":20,"16":30867431740145664,"45":981714380191348736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964454144001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:44:45] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:44:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30867431740145664,"km_value":30867431740145.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":981714380191348736,"description":"Unknown IO ID 45"} 
[2026-09-09 08:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964454144001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":981714380191348736}} 
[2026-09-09 08:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":175471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:44:46] local.INFO: GPS data processed {"connection_id":175471,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:44:46] local.INFO: Acknowledgment sent {"connection_id":175471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:45:06] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:45:06] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:45:06] local.INFO: IMEI packet received {"connection_id":176584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":176584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:45:06] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:45:06] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:45:06] local.INFO: IMEI packet received {"connection_id":176584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":176584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:45:11] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:45:11] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:45:11] local.INFO: IMEI packet received {"connection_id":176584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":176584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:45:12] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842918e8012d7cc38005e9bcc80005005021..."} 
[2026-09-09 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842918e8012d7cc38005e9bcc80005005021..."} 
[2026-09-09 08:45:12] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842918e8012d7cc38005e9bcc80005005021..."} 
[2026-09-09 08:45:12] local.INFO: Packet analysis {"connection_id":176584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:45:12] local.INFO: Extracted packet for processing {"connection_id":176584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763151232,"raw_latitude":99204296,"longitude_deg":76.3151232,"latitude_deg":9.9204296,"altitude":5,"angle":80,"satellites":33,"speed":17,"hex_longitude":"2d7cc380","hex_latitude":"05e9bcc8","is_valid_coordinates":true} 
[2026-09-09 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964461824001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130238165922349056,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989255250371966976,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788923681000,"timestamp_ms":1788923681000,"timestamp_seconds":1788923681,"priority":1,"record_length":96,"hex_timestamp":"000001a0842918e8"} 
[2026-09-09 08:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632050,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2217252864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039035290,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3552660607809355776,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3138387973,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-09-09 08:45:12] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3355520380,"corrected_to":0} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2994601984,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-8376688805579063291,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:12] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,192,87,24,241,157,16,178,160,5,45,189,4,35,10,66,253,190,218,1,240,169,227,132,233,113,205,12,202,158,40,34,239,54,154,2,206,13,124],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0},{"io_id":202,"original":3355520380,"validated":0}]} 
[2026-09-09 08:45:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288331672956239872,"timestamp_seconds":288331672956239.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964461824001,"66":13820,"192":206,"87":13824,"24":17,"16":130238165922349056,"45":8989255250371966976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-09 08:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964461824001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:45:12] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-09 08:45:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130238165922349056,"km_value":130238165922349.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989255250371966976,"description":"Unknown IO ID 45"} 
[2026-09-09 08:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964461824001,"power":13820,"unknown_192":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8989255250371966976}} 
[2026-09-09 08:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":176584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:45:12] local.INFO: GPS data processed {"connection_id":176584,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:45:12] local.INFO: Acknowledgment sent {"connection_id":176584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:45:16] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:45:16] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:45:16] local.INFO: Packet analysis {"connection_id":175472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:45:16] local.INFO: Extracted packet for processing {"connection_id":175472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 08:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":175472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:45:16] local.INFO: GPS data processed {"connection_id":175472,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:45:16] local.INFO: Acknowledgment sent {"connection_id":175472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:45:17] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084292888012d7cc9c005e9be080006006220..."} 
[2026-09-09 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084292888012d7cc9c005e9be080006006220..."} 
[2026-09-09 08:45:17] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084292888012d7cc9c005e9be080006006220..."} 
[2026-09-09 08:45:17] local.INFO: Packet analysis {"connection_id":176584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:45:17] local.INFO: Extracted packet for processing {"connection_id":176584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763152832,"raw_latitude":99204616,"longitude_deg":76.3152832,"latitude_deg":9.9204616,"altitude":6,"angle":98,"satellites":32,"speed":13,"hex_longitude":"2d7cc9c0","hex_latitude":"05e9be08","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964462336001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130238243231760384,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990170044046297088,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788923685000,"timestamp_ms":1788923685000,"timestamp_seconds":1788923685,"priority":1,"record_length":96,"hex_timestamp":"000001a084292888"} 
[2026-09-09 08:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 08:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964462336001,"66":14070,"192":206,"87":13824,"24":13,"16":130238243231760384,"45":8990170044046297088},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-09 08:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964462336001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:45:17] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-09 08:45:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130238243231760384,"km_value":130238243231760.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990170044046297088,"description":"Unknown IO ID 45"} 
[2026-09-09 08:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964462336001,"power":14070,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8990170044046297088}} 
[2026-09-09 08:45:17] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084297e78012d0dcf8007067fc8001b003b19..."} 
[2026-09-09 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084297e78012d0dcf8007067fc8001b003b19..."} 
[2026-09-09 08:45:17] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084297e78012d0dcf8007067fc8001b003b19..."} 
[2026-09-09 08:45:17] local.INFO: Packet analysis {"connection_id":175471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:45:17] local.INFO: Extracted packet for processing {"connection_id":175471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:45:17] local.INFO: GPS Element Parsed {"raw_longitude":755879808,"raw_latitude":117866440,"longitude_deg":75.5879808,"latitude_deg":11.786644,"altitude":27,"angle":59,"satellites":25,"speed":14,"hex_longitude":"2d0dcf80","hex_latitude":"07067fc8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964468736001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30868694460530688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994802966613405696,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:17] 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-09-09 08:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788923707000,"timestamp_ms":1788923707000,"timestamp_seconds":1788923707,"priority":1,"record_length":96,"hex_timestamp":"000001a084297e78"} 
[2026-09-09 08:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 08:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964468736001,"66":14407,"167":206,"94":11008,"24":14,"16":30868694460530688,"45":994802966613405696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 08:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964468736001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:45:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 08:45:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 08:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30868694460530688,"km_value":30868694460530.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":994802966613405696,"description":"Unknown IO ID 45"} 
[2026-09-09 08:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964468736001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":994802966613405696}} 
[2026-09-09 08:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":176584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:45:17] local.INFO: GPS data processed {"connection_id":176584,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:45:17] local.INFO: Acknowledgment sent {"connection_id":176584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":175471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:45:17] local.INFO: GPS data processed {"connection_id":175471,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:45:17] local.INFO: Acknowledgment sent {"connection_id":175471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:45:39] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:45:39] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:45:39] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:45:43] local.INFO: TCP Data received {"connection_id":178048,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:43] local.INFO: Processing buffer {"connection_id":178048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:43] local.INFO: IMEI packet received {"connection_id":178048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":178048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:45:44] local.INFO: TCP Data received {"connection_id":178048,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:44] local.INFO: Processing buffer {"connection_id":178048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:44] local.INFO: IMEI packet received {"connection_id":178048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":178048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:45:44] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:45:44] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:45:44] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:45:45] local.INFO: TCP Data received {"connection_id":178048,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:45] local.INFO: Processing buffer {"connection_id":178048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:45] local.INFO: IMEI packet received {"connection_id":178048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":178048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:45:45] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:45:45] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:45:45] local.INFO: Packet analysis {"connection_id":176585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:45:45] local.INFO: Extracted packet for processing {"connection_id":176585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 08:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:45: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-09-09 08: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":176585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:45:45] local.INFO: GPS data processed {"connection_id":176585,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:45:45] local.INFO: Acknowledgment sent {"connection_id":176585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:45:45] local.INFO: TCP Data received {"connection_id":178048,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:45] local.INFO: Processing buffer {"connection_id":178048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:45:45] local.INFO: IMEI packet received {"connection_id":178048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":178048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:46:02] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:46:02] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:46:02] local.INFO: IMEI packet received {"connection_id":175239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":175239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:46:03] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:46:03] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:46:03] local.INFO: IMEI packet received {"connection_id":175239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":175239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:46:07] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:46:07] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:46:07] local.INFO: IMEI packet received {"connection_id":175239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":175239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:46:08] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08429d080012d7d128005e9c2a80000000c24..."} 
[2026-09-09 08:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08429d080012d7d128005e9c2a80000000c24..."} 
[2026-09-09 08:46:08] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08429d080012d7d128005e9c2a80000000c24..."} 
[2026-09-09 08:46:08] local.INFO: Packet analysis {"connection_id":175239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:46:08] local.INFO: Extracted packet for processing {"connection_id":175239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763171456,"raw_latitude":99205800,"longitude_deg":76.3171456,"latitude_deg":9.92058,"altitude":0,"angle":12,"satellites":36,"speed":9,"hex_longitude":"2d7d1280","hex_latitude":"05e9c2a8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964474112001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130239231074238464,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012336198462593024,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788923728000,"timestamp_ms":1788923728000,"timestamp_seconds":1788923728,"priority":1,"record_length":96,"hex_timestamp":"000001a08429d080"} 
[2026-09-09 08:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08: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-09-09 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-09 08:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964474112001,"66":13722,"192":206,"87":13824,"24":9,"16":130239231074238464,"45":9012336198462593024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-09 08:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964474112001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:46:08] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-09 08:46:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130239231074238464,"km_value":130239231074238.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012336198462593024,"description":"Unknown IO ID 45"} 
[2026-09-09 08:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964474112001,"power":13722,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9012336198462593024}} 
[2026-09-09 08:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":175239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:46:08] local.INFO: GPS data processed {"connection_id":175239,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:46:08] local.INFO: Acknowledgment sent {"connection_id":175239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:46:12] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08429d468012d7d128005e9c3d80000016425..."} 
[2026-09-09 08:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08429d468012d7d128005e9c3d80000016425..."} 
[2026-09-09 08:46:12] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08429d468012d7d128005e9c3d80000016425..."} 
[2026-09-09 08:46:12] local.INFO: Packet analysis {"connection_id":175239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:46:12] local.INFO: Extracted packet for processing {"connection_id":175239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08429"} 
[2026-09-09 08:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763171456,"raw_latitude":99206104,"longitude_deg":76.3171456,"latitude_deg":9.9206104,"altitude":0,"angle":356,"satellites":37,"speed":12,"hex_longitude":"2d7d1280","hex_latitude":"05e9c3d8","is_valid_coordinates":true} 
[2026-09-09 08:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964474368001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130239248254107648,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012406567206823936,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788923729000,"timestamp_ms":1788923729000,"timestamp_seconds":1788923729,"priority":1,"record_length":96,"hex_timestamp":"000001a08429d468"} 
[2026-09-09 08:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:46: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-09-09 08:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 08:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964474368001,"66":13722,"192":206,"87":13824,"24":12,"16":130239248254107648,"45":9012406567206823936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-09 08:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964474368001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:46:12] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-09 08:46:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130239248254107648,"km_value":130239248254107.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012406567206823936,"description":"Unknown IO ID 45"} 
[2026-09-09 08:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964474368001,"power":13722,"unknown_192":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9012406567206823936}} 
[2026-09-09 08:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":175239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:46:12] local.INFO: GPS data processed {"connection_id":175239,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:46:12] local.INFO: Acknowledgment sent {"connection_id":175239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:46:16] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:46:16] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:46:16] local.INFO: Packet analysis {"connection_id":176585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:46:16] local.INFO: Extracted packet for processing {"connection_id":176585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 08:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":176585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:46:17] local.INFO: GPS data processed {"connection_id":176585,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:46:17] local.INFO: Acknowledgment sent {"connection_id":176585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:46:44] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:46:44] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:46:44] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:46:45] local.INFO: TCP Data received {"connection_id":175239,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842a0b18012d7d148005e9e8280001000521..."} 
[2026-09-09 08:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842a0b18012d7d148005e9e8280001000521..."} 
[2026-09-09 08:46:45] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842a0b18012d7d148005e9e8280001000521..."} 
[2026-09-09 08:46:45] local.INFO: Packet analysis {"connection_id":175239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842a"} 
[2026-09-09 08:46:45] local.INFO: Extracted packet for processing {"connection_id":175239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842a"} 
[2026-09-09 08:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763171968,"raw_latitude":99215400,"longitude_deg":76.3171968,"latitude_deg":9.92154,"altitude":1,"angle":5,"satellites":33,"speed":34,"hex_longitude":"2d7d1480","hex_latitude":"05e9e828","is_valid_coordinates":true} 
[2026-09-09 08:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964474624001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130239699225673728,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012406567206901760,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788923743000,"timestamp_ms":1788923743000,"timestamp_seconds":1788923743,"priority":1,"record_length":96,"hex_timestamp":"000001a0842a0b18"} 
[2026-09-09 08:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08: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-09-09 08:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964474624001,"66":14070,"192":206,"87":13824,"24":34,"16":130239699225673728,"45":9012406567206901760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-09 08:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964474624001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:46:45] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-09 08:46:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130239699225673728,"km_value":130239699225673.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012406567206901760,"description":"Unknown IO ID 45"} 
[2026-09-09 08:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964474624001,"power":14070,"unknown_192":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9012406567206901760}} 
[2026-09-09 08:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":175239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:46:45] local.INFO: GPS data processed {"connection_id":175239,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:46:45] local.INFO: Acknowledgment sent {"connection_id":175239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:46:49] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:46:49] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:46:49] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:46:50] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:46:50] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:46:50] local.INFO: Packet analysis {"connection_id":176586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:46:50] local.INFO: Extracted packet for processing {"connection_id":176586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:46:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 08:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:46: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-09-09 08:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:46:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:46:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":176586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:46:50] local.INFO: GPS data processed {"connection_id":176586,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:46:50] local.INFO: Acknowledgment sent {"connection_id":176586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:46:55] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:46:55] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:46:55] local.INFO: Packet analysis {"connection_id":176586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:46:55] local.INFO: Extracted packet for processing {"connection_id":176586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 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-09-09 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:46:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:46:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":176586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:46:55] local.INFO: GPS data processed {"connection_id":176586,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:46:55] local.INFO: Acknowledgment sent {"connection_id":176586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:47:01] local.INFO: TCP Data received {"connection_id":175474,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:47:01] local.INFO: Processing buffer {"connection_id":175474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:47:01] local.INFO: IMEI packet received {"connection_id":175474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":175474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:47:16] local.INFO: TCP Data received {"connection_id":175474,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:47:16] local.INFO: Processing buffer {"connection_id":175474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:47:16] local.INFO: IMEI packet received {"connection_id":175474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":175474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:47:19] local.INFO: TCP Data received {"connection_id":175474,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842a5168012d7d158005ea0b000008000225..."} 
[2026-09-09 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842a5168012d7d158005ea0b000008000225..."} 
[2026-09-09 08:47:19] local.INFO: Processing buffer {"connection_id":175474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842a5168012d7d158005ea0b000008000225..."} 
[2026-09-09 08:47:19] local.INFO: Packet analysis {"connection_id":175474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842a"} 
[2026-09-09 08:47:19] local.INFO: Extracted packet for processing {"connection_id":175474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842a"} 
[2026-09-09 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":763172224,"raw_latitude":99224320,"longitude_deg":76.3172224,"latitude_deg":9.922432,"altitude":8,"angle":2,"satellites":37,"speed":24,"hex_longitude":"2d7d1580","hex_latitude":"05ea0b00","is_valid_coordinates":true} 
[2026-09-09 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964478208001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130240133017370624,"note":"Value kept but may cause issues"} 
[2026-09-09 08:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012969517162702848,"note":"Value kept but may cause issues"} 
[2026-09-09 08:47:19] 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-09-09 08:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788923761000,"timestamp_ms":1788923761000,"timestamp_seconds":1788923761,"priority":1,"record_length":96,"hex_timestamp":"000001a0842a5168"} 
[2026-09-09 08:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:47: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-09-09 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 08:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964478208001,"66":14157,"154":206,"87":13824,"24":24,"16":130240133017370624,"45":9012969517162702848},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-09 08:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964478208001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:47:19] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-09 08:47:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130240133017370624,"km_value":130240133017370.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012969517162702848,"description":"Unknown IO ID 45"} 
[2026-09-09 08:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964478208001,"power":14157,"unknown_154":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9012969517162702848}} 
[2026-09-09 08:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":175474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:47:19] local.INFO: GPS data processed {"connection_id":175474,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:47:19] local.INFO: Acknowledgment sent {"connection_id":175474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:47:39] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:47:39] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:47:39] local.INFO: IMEI packet received {"connection_id":175475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":175475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:47:44] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:47:44] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:47:44] local.INFO: IMEI packet received {"connection_id":175475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":175475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:47:45] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:47:45] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:47:45] local.INFO: Packet analysis {"connection_id":175475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:47:45] local.INFO: Extracted packet for processing {"connection_id":175475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 08:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:47: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-09-09 08:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":175475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:47:46] local.INFO: GPS data processed {"connection_id":175475,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:47:46] local.INFO: Acknowledgment sent {"connection_id":175475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:48:01] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:48:01] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:48:01] local.INFO: IMEI packet received {"connection_id":175476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":175476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:48:06] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:48:06] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:48:06] local.INFO: IMEI packet received {"connection_id":175476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":175476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:48:07] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842a97b8012d7d174005ea2d78000e00061f..."} 
[2026-09-09 08:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842a97b8012d7d174005ea2d78000e00061f..."} 
[2026-09-09 08:48:07] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842a97b8012d7d174005ea2d78000e00061f..."} 
[2026-09-09 08:48:07] local.INFO: Packet analysis {"connection_id":175476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842a"} 
[2026-09-09 08:48:07] local.INFO: Extracted packet for processing {"connection_id":175476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842a"} 
[2026-09-09 08:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763172672,"raw_latitude":99233144,"longitude_deg":76.3172672,"latitude_deg":9.9233144,"altitude":14,"angle":6,"satellites":31,"speed":14,"hex_longitude":"2d7d1740","hex_latitude":"05ea2d78","is_valid_coordinates":true} 
[2026-09-09 08:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964482816001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130240562514100224,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013250992141697024,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:07] 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-09-09 08:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788923779000,"timestamp_ms":1788923779000,"timestamp_seconds":1788923779,"priority":1,"record_length":96,"hex_timestamp":"000001a0842a97b8"} 
[2026-09-09 08:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 08:48: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-09-09 08:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964482816001,"66":13939,"154":206,"87":13824,"24":14,"16":130240562514100224,"45":9013250992141697024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-09 08:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964482816001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:48:07] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-09 08:48:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130240562514100224,"km_value":130240562514100.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013250992141697024,"description":"Unknown IO ID 45"} 
[2026-09-09 08:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964482816001,"power":13939,"unknown_154":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9013250992141697024}} 
[2026-09-09 08:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":175476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:48:08] local.INFO: GPS data processed {"connection_id":175476,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:48:08] local.INFO: Acknowledgment sent {"connection_id":175476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:48:12] local.INFO: TCP Data received {"connection_id":176588,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:48:12] local.INFO: Processing buffer {"connection_id":176588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:48:12] local.INFO: IMEI packet received {"connection_id":176588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":176588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:48:18] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:48:18] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08427a1e8012d34c14006aa42c80005010726..."} 
[2026-09-09 08:48:18] local.INFO: Packet analysis {"connection_id":175475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:48:18] local.INFO: Extracted packet for processing {"connection_id":175475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08427"} 
[2026-09-09 08:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964360704001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788923585000,"timestamp_ms":1788923585000,"timestamp_seconds":1788923585,"priority":1,"record_length":96,"hex_timestamp":"000001a08427a1e8"} 
[2026-09-09 08:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:48: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-09-09 08:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 08:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964360704001,"66":25473,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964360704001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964360704001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":175475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:48:18] local.INFO: GPS data processed {"connection_id":175475,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:48:18] local.INFO: Acknowledgment sent {"connection_id":175475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:48:39] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842ae9c0012d7d18c005ea45800010000322..."} 
[2026-09-09 08:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842ae9c0012d7d18c005ea45800010000322..."} 
[2026-09-09 08:48:39] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842ae9c0012d7d18c005ea45800010000322..."} 
[2026-09-09 08:48:39] local.INFO: Packet analysis {"connection_id":175476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842a"} 
[2026-09-09 08:48:39] local.INFO: Extracted packet for processing {"connection_id":175476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842a"} 
[2026-09-09 08:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":99239296,"longitude_deg":76.3173056,"latitude_deg":9.9239296,"altitude":16,"angle":3,"satellites":34,"speed":31,"hex_longitude":"2d7d18c0","hex_latitude":"05ea4580","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964487424001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130240867456778240,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013743573353199616,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:39] 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-09-09 08:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788923800000,"timestamp_ms":1788923800000,"timestamp_seconds":1788923800,"priority":1,"record_length":96,"hex_timestamp":"000001a0842ae9c0"} 
[2026-09-09 08:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-09 08:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964487424001,"66":13798,"154":206,"87":13824,"24":31,"16":130240867456778240,"45":9013743573353199616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-09 08:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964487424001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:48:39] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-09 08:48:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130240867456778240,"km_value":130240867456778.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013743573353199616,"description":"Unknown IO ID 45"} 
[2026-09-09 08:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964487424001,"power":13798,"unknown_154":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":9013743573353199616}} 
[2026-09-09 08:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":175476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:48:39] local.INFO: GPS data processed {"connection_id":175476,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:48:39] local.INFO: Acknowledgment sent {"connection_id":175476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:48:39] local.INFO: TCP Data received {"connection_id":178051,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:48:39] local.INFO: Processing buffer {"connection_id":178051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:48:39] local.INFO: IMEI packet received {"connection_id":178051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":178051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:48:42] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:48:42] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:48:42] local.INFO: IMEI packet received {"connection_id":175477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":175477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:48:44] local.INFO: TCP Data received {"connection_id":178051,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:48:44] local.INFO: Processing buffer {"connection_id":178051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:48:44] local.INFO: IMEI packet received {"connection_id":178051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":178051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:48:45] local.INFO: TCP Data received {"connection_id":178051,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:48:45] local.INFO: Processing buffer {"connection_id":178051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:48:45] local.INFO: Packet analysis {"connection_id":178051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:48:45] local.INFO: Extracted packet for processing {"connection_id":178051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:48: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-09-09 08:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:48:45] 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-09-09 08:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:48:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":178051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:48:45] local.INFO: GPS data processed {"connection_id":178051,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:48:45] local.INFO: Acknowledgment sent {"connection_id":178051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:49:01] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:49:01] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:49:01] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:49:02] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:49:02] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:49:02] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:49:06] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:49:06] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:49:06] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:49:07] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842cce20012d7d1fc005eafe60000b00fd26..."} 
[2026-09-09 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842cce20012d7d1fc005eafe60000b00fd26..."} 
[2026-09-09 08:49:07] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842cce20012d7d1fc005eafe60000b00fd26..."} 
[2026-09-09 08:49:07] local.INFO: Packet analysis {"connection_id":176589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:49:07] local.INFO: Extracted packet for processing {"connection_id":176589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99286624,"longitude_deg":76.3174848,"latitude_deg":9.9286624,"altitude":11,"angle":253,"satellites":38,"speed":8,"hex_longitude":"2d7d1fc0","hex_latitude":"05eafe60","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964524288001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130243199624019968,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848157296640,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:07] 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-09-09 08:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788923924000,"timestamp_ms":1788923924000,"timestamp_seconds":1788923924,"priority":1,"record_length":96,"hex_timestamp":"000001a0842cce20"} 
[2026-09-09 08:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:49: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-09-09 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 08:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964524288001,"66":13928,"158":206,"87":13824,"24":8,"16":130243199624019968,"45":9016276848157296640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 08:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964524288001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:49:07] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 08:49:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130243199624019968,"km_value":130243199624019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848157296640,"description":"Unknown IO ID 45"} 
[2026-09-09 08:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964524288001,"power":13928,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9016276848157296640}} 
[2026-09-09 08:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":176589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:49:07] local.INFO: GPS data processed {"connection_id":176589,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:49:07] local.INFO: Acknowledgment sent {"connection_id":176589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:49:19] local.INFO: TCP Data received {"connection_id":178051,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:49:19] local.INFO: Processing buffer {"connection_id":178051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:49:19] local.INFO: Packet analysis {"connection_id":178051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:49:19] local.INFO: Extracted packet for processing {"connection_id":178051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:49: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-09-09 08:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":178051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:49:19] local.INFO: GPS data processed {"connection_id":178051,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:49:19] local.INFO: Acknowledgment sent {"connection_id":178051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:49:38] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842cd208012d7d1ec005eafe00000b00f026..."} 
[2026-09-09 08:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842cd208012d7d1ec005eafe00000b00f026..."} 
[2026-09-09 08:49:38] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842cd208012d7d1ec005eafe00000b00f026..."} 
[2026-09-09 08:49:38] local.INFO: Packet analysis {"connection_id":176589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:49:38] local.INFO: Extracted packet for processing {"connection_id":176589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":99286528,"longitude_deg":76.3174592,"latitude_deg":9.9286528,"altitude":11,"angle":240,"satellites":38,"speed":10,"hex_longitude":"2d7d1ec0","hex_latitude":"05eafe00","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964524544001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130243208213954560,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110668931072,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:38] 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-09-09 08:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788923925000,"timestamp_ms":1788923925000,"timestamp_seconds":1788923925,"priority":1,"record_length":96,"hex_timestamp":"000001a0842cd208"} 
[2026-09-09 08:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:49: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-09-09 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 08:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964524544001,"66":13928,"158":206,"87":13824,"24":10,"16":130243208213954560,"45":9016136110668931072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 08:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964524544001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:49:38] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 08:49:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130243208213954560,"km_value":130243208213954.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110668931072,"description":"Unknown IO ID 45"} 
[2026-09-09 08:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964524544001,"power":13928,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016136110668931072}} 
[2026-09-09 08:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":176589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:49:38] local.INFO: GPS data processed {"connection_id":176589,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:49:38] local.INFO: Acknowledgment sent {"connection_id":176589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:49:39] local.INFO: TCP Data received {"connection_id":175478,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:49:39] local.INFO: Processing buffer {"connection_id":175478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:49:39] local.INFO: IMEI packet received {"connection_id":175478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":175478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:49:44] local.INFO: TCP Data received {"connection_id":175478,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:49:44] local.INFO: Processing buffer {"connection_id":175478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:49:44] local.INFO: IMEI packet received {"connection_id":175478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":175478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:49:45] local.INFO: TCP Data received {"connection_id":175478,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:49:45] local.INFO: Processing buffer {"connection_id":175478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:49:45] local.INFO: Packet analysis {"connection_id":175478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:49:45] local.INFO: Extracted packet for processing {"connection_id":175478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:49: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-09-09 08:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:49:45] 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-09-09 08:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:49:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":175478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:49:45] local.INFO: GPS data processed {"connection_id":175478,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:49:45] local.INFO: Acknowledgment sent {"connection_id":175478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:50:02] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:50:02] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:50:02] local.INFO: IMEI packet received {"connection_id":176591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":176591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:50:06] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:50:06] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:50:06] local.INFO: IMEI packet received {"connection_id":176591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":176591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:50:08] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:50:08] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:50:08] local.INFO: IMEI packet received {"connection_id":176591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":176591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:50:09] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842cd9d8012d7d1d4005eafd50000b00fe26..."} 
[2026-09-09 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842cd9d8012d7d1d4005eafd50000b00fe26..."} 
[2026-09-09 08:50:09] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842cd9d8012d7d1d4005eafd50000b00fe26..."} 
[2026-09-09 08:50:09] local.INFO: Packet analysis {"connection_id":176591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:50:09] local.INFO: Extracted packet for processing {"connection_id":176591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":99286352,"longitude_deg":76.3174208,"latitude_deg":9.9286352,"altitude":11,"angle":254,"satellites":38,"speed":9,"hex_longitude":"2d7d1d40","hex_latitude":"05eafd50","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964524800001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130243229688791040,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635692195840,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:09] 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-09-09 08:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788923927000,"timestamp_ms":1788923927000,"timestamp_seconds":1788923927,"priority":1,"record_length":96,"hex_timestamp":"000001a0842cd9d8"} 
[2026-09-09 08:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 08:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964524800001,"66":13374,"158":206,"87":13824,"24":9,"16":130243229688791040,"45":9015854635692195840},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 08:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964524800001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:50:09] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 08:50:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130243229688791040,"km_value":130243229688791.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635692195840,"description":"Unknown IO ID 45"} 
[2026-09-09 08:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964524800001,"power":13374,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015854635692195840}} 
[2026-09-09 08:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":176591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:50:09] local.INFO: GPS data processed {"connection_id":176591,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:50:09] local.INFO: Acknowledgment sent {"connection_id":176591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:50:20] local.INFO: TCP Data received {"connection_id":175478,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:50:20] local.INFO: Processing buffer {"connection_id":175478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:50:20] local.INFO: Packet analysis {"connection_id":175478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:50:20] local.INFO: Extracted packet for processing {"connection_id":175478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:50:20] 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-09-09 08:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":175478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:50:20] local.INFO: GPS data processed {"connection_id":175478,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:50:20] local.INFO: Acknowledgment sent {"connection_id":175478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:50:39] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:50:39] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:50:39] local.INFO: IMEI packet received {"connection_id":175240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":175240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:50:43] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842d1088012d7d0d4005eaf738000d00f222..."} 
[2026-09-09 08:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842d1088012d7d0d4005eaf738000d00f222..."} 
[2026-09-09 08:50:43] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842d1088012d7d0d4005eaf738000d00f222..."} 
[2026-09-09 08:50:43] local.INFO: Packet analysis {"connection_id":176591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842d"} 
[2026-09-09 08:50:43] local.INFO: Extracted packet for processing {"connection_id":176591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842d"} 
[2026-09-09 08:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763170112,"raw_latitude":99284792,"longitude_deg":76.3170112,"latitude_deg":9.9284792,"altitude":13,"angle":242,"satellites":34,"speed":18,"hex_longitude":"2d7d0d40","hex_latitude":"05eaf738","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964525312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130243440142188544,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423227084800,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:43] 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-09-09 08:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788923941000,"timestamp_ms":1788923941000,"timestamp_seconds":1788923941,"priority":1,"record_length":96,"hex_timestamp":"000001a0842d1088"} 
[2026-09-09 08:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:50: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-09-09 08:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-09 08:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964525312001,"66":14157,"158":206,"87":13824,"24":18,"16":130243440142188544,"45":9015432423227084800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 08:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964525312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:50:43] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 08:50:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130243440142188544,"km_value":130243440142188.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423227084800,"description":"Unknown IO ID 45"} 
[2026-09-09 08:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964525312001,"power":14157,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9015432423227084800}} 
[2026-09-09 08:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":176591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:50:43] local.INFO: GPS data processed {"connection_id":176591,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:50:43] local.INFO: Acknowledgment sent {"connection_id":176591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:50:44] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:50:44] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:50:44] local.INFO: IMEI packet received {"connection_id":175240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":175240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:50:46] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:50:46] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:50:46] local.INFO: Packet analysis {"connection_id":175240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:50:46] local.INFO: Extracted packet for processing {"connection_id":175240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:50:46] 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-09-09 08:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":175240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:50:46] local.INFO: GPS data processed {"connection_id":175240,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:50:46] local.INFO: Acknowledgment sent {"connection_id":175240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:50:50] local.INFO: TCP Data received {"connection_id":176592,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:50:50] local.INFO: Processing buffer {"connection_id":176592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:50:50] local.INFO: IMEI packet received {"connection_id":176592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":176592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:50:51] local.INFO: TCP Data received {"connection_id":176592,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0842e1258012d0e0ac0070687c80013009219..."} 
[2026-09-09 08:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842e1258012d0e0ac0070687c80013009219..."} 
[2026-09-09 08:50:51] local.INFO: Processing buffer {"connection_id":176592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842e1258012d0e0ac0070687c80013009219..."} 
[2026-09-09 08:50:51] local.INFO: Packet analysis {"connection_id":176592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842e"} 
[2026-09-09 08:50:51] local.INFO: Extracted packet for processing {"connection_id":176592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842e"} 
[2026-09-09 08:50:51] local.INFO: GPS Element Parsed {"raw_longitude":755894976,"raw_latitude":117868488,"longitude_deg":75.5894976,"latitude_deg":11.7868488,"altitude":19,"angle":146,"satellites":25,"speed":1,"hex_longitude":"2d0e0ac0","hex_latitude":"070687c8","is_valid_coordinates":true} 
[2026-09-09 08:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964545536001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30874569975791616,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011832202704965632,"note":"Value kept but may cause issues"} 
[2026-09-09 08:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788924007000,"timestamp_ms":1788924007000,"timestamp_seconds":1788924007,"priority":1,"record_length":96,"hex_timestamp":"000001a0842e1258"} 
[2026-09-09 08:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 08:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964545536001,"66":14396,"219":206,"94":10240,"24":1,"16":30874569975791616,"45":1011832202704965632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964545536001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:50:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:50:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30874569975791616,"km_value":30874569975791.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011832202704965632,"description":"Unknown IO ID 45"} 
[2026-09-09 08:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964545536001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1011832202704965632}} 
[2026-09-09 08:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":176592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:50:51] local.INFO: GPS data processed {"connection_id":176592,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:50:51] local.INFO: Acknowledgment sent {"connection_id":176592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:51:01] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:51:01] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:51:01] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:51:07] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:51:07] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:51:07] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:51:08] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842d5ac0012d7d010005eaf040000a00ff21..."} 
[2026-09-09 08:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842d5ac0012d7d010005eaf040000a00ff21..."} 
[2026-09-09 08:51:08] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842d5ac0012d7d010005eaf040000a00ff21..."} 
[2026-09-09 08:51:08] local.INFO: Packet analysis {"connection_id":175479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842d"} 
[2026-09-09 08:51:08] local.INFO: Extracted packet for processing {"connection_id":175479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842d"} 
[2026-09-09 08:51:08] local.INFO: GPS Element Parsed {"raw_longitude":763166976,"raw_latitude":99283008,"longitude_deg":76.3166976,"latitude_deg":9.9283008,"altitude":10,"angle":255,"satellites":33,"speed":6,"hex_longitude":"2d7d0100","hex_latitude":"05eaf040","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964528896001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130243624825782272,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010928823599314944,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51: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-09-09 08:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788923960000,"timestamp_ms":1788923960000,"timestamp_seconds":1788923960,"priority":1,"record_length":96,"hex_timestamp":"000001a0842d5ac0"} 
[2026-09-09 08:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 08:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964528896001,"66":13765,"158":206,"87":13824,"24":6,"16":130243624825782272,"45":9010928823599314944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 08:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964528896001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:51:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 08:51:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130243624825782272,"km_value":130243624825782.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010928823599314944,"description":"Unknown IO ID 45"} 
[2026-09-09 08:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964528896001,"power":13765,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9010928823599314944}} 
[2026-09-09 08:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":175479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:51:08] local.INFO: GPS data processed {"connection_id":175479,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:51:08] local.INFO: Acknowledgment sent {"connection_id":175479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:51:18] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:51:18] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:51:18] local.INFO: Packet analysis {"connection_id":175240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:51:18] local.INFO: Extracted packet for processing {"connection_id":175240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:51: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-09-09 08:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:51: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-09-09 08:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":175240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:51:18] local.INFO: GPS data processed {"connection_id":175240,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:51:18] local.INFO: Acknowledgment sent {"connection_id":175240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:51:22] local.INFO: TCP Data received {"connection_id":176592,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0842e1a28012d0e0b40070687900013009e19..."} 
[2026-09-09 08:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842e1a28012d0e0b40070687900013009e19..."} 
[2026-09-09 08:51:22] local.INFO: Processing buffer {"connection_id":176592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842e1a28012d0e0b40070687900013009e19..."} 
[2026-09-09 08:51:22] local.INFO: Packet analysis {"connection_id":176592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842e"} 
[2026-09-09 08:51:22] local.INFO: Extracted packet for processing {"connection_id":176592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842e"} 
[2026-09-09 08:51:22] local.INFO: GPS Element Parsed {"raw_longitude":755895104,"raw_latitude":117868432,"longitude_deg":75.5895104,"latitude_deg":11.7868432,"altitude":19,"angle":158,"satellites":25,"speed":1,"hex_longitude":"2d0e0b40","hex_latitude":"07068790","is_valid_coordinates":true} 
[2026-09-09 08:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964545792001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30874578565726208,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011832202704963584,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:22] 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-09-09 08:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788924009000,"timestamp_ms":1788924009000,"timestamp_seconds":1788924009,"priority":1,"record_length":96,"hex_timestamp":"000001a0842e1a28"} 
[2026-09-09 08:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:51: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-09-09 08:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 08:51: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-09-09 08:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964545792001,"66":14396,"219":206,"94":10240,"24":1,"16":30874578565726208,"45":1011832202704963584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964545792001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:51:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:51:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30874578565726208,"km_value":30874578565726.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011832202704963584,"description":"Unknown IO ID 45"} 
[2026-09-09 08:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964545792001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1011832202704963584}} 
[2026-09-09 08:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":176592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:51:22] local.INFO: GPS data processed {"connection_id":176592,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:51:22] local.INFO: Acknowledgment sent {"connection_id":176592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:51:39] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842d6290012d7cff8005eaf018000a010d20..."} 
[2026-09-09 08:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842d6290012d7cff8005eaf018000a010d20..."} 
[2026-09-09 08:51:39] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842d6290012d7cff8005eaf018000a010d20..."} 
[2026-09-09 08:51:39] local.INFO: Packet analysis {"connection_id":175479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842d"} 
[2026-09-09 08:51:39] local.INFO: Extracted packet for processing {"connection_id":175479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842d"} 
[2026-09-09 08:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763166592,"raw_latitude":99282968,"longitude_deg":76.3166592,"latitude_deg":9.9282968,"altitude":10,"angle":269,"satellites":32,"speed":7,"hex_longitude":"2d7cff80","hex_latitude":"05eaf018","is_valid_coordinates":true} 
[2026-09-09 08:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964533760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130243642005651456,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007480755134152704,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:39] 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-09-09 08:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788923962000,"timestamp_ms":1788923962000,"timestamp_seconds":1788923962,"priority":1,"record_length":96,"hex_timestamp":"000001a0842d6290"} 
[2026-09-09 08:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:51: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-09-09 08:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 08:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964533760001,"66":13254,"158":206,"87":13824,"24":7,"16":130243642005651456,"45":9007480755134152704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 08:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964533760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:51:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 08:51:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130243642005651456,"km_value":130243642005651.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007480755134152704,"description":"Unknown IO ID 45"} 
[2026-09-09 08:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964533760001,"power":13254,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9007480755134152704}} 
[2026-09-09 08:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":175479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:51:39] local.INFO: GPS data processed {"connection_id":175479,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:51:39] local.INFO: Acknowledgment sent {"connection_id":175479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:51:40] local.INFO: TCP Data received {"connection_id":178055,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178055,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:40] local.INFO: Processing buffer {"connection_id":178055,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:40] local.INFO: IMEI packet received {"connection_id":178055,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":178055,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:51:42] local.INFO: TCP Data received {"connection_id":178055,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178055,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:42] local.INFO: Processing buffer {"connection_id":178055,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:42] local.INFO: IMEI packet received {"connection_id":178055,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":178055,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:51:44] local.INFO: TCP Data received {"connection_id":178055,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178055,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:44] local.INFO: Processing buffer {"connection_id":178055,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:44] local.INFO: IMEI packet received {"connection_id":178055,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":178055,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:51:45] local.INFO: TCP Data received {"connection_id":178055,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178055,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:45] local.INFO: Processing buffer {"connection_id":178055,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:51:45] local.INFO: IMEI packet received {"connection_id":178055,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":178055,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:51:45] local.INFO: TCP Data received {"connection_id":178055,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0842e1e10012d0e0b80070687800013008a19..."} 
[2026-09-09 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842e1e10012d0e0b80070687800013008a19..."} 
[2026-09-09 08:51:45] local.INFO: Processing buffer {"connection_id":178055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842e1e10012d0e0b80070687800013008a19..."} 
[2026-09-09 08:51:45] local.INFO: Packet analysis {"connection_id":178055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842e"} 
[2026-09-09 08:51:45] local.INFO: Extracted packet for processing {"connection_id":178055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842e"} 
[2026-09-09 08:51:45] local.INFO: GPS Element Parsed {"raw_longitude":755895168,"raw_latitude":117868416,"longitude_deg":75.5895168,"latitude_deg":11.7868416,"altitude":19,"angle":138,"satellites":25,"speed":2,"hex_longitude":"2d0e0b80","hex_latitude":"07068780","is_valid_coordinates":true} 
[2026-09-09 08:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964546304001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30874578565726208,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011972940193304576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:51:45] 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-09-09 08:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788924010000,"timestamp_ms":1788924010000,"timestamp_seconds":1788924010,"priority":1,"record_length":96,"hex_timestamp":"000001a0842e1e10"} 
[2026-09-09 08:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:51: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-09-09 08:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 08:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178055,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178055,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964546304001,"66":14428,"219":206,"94":10240,"24":2,"16":30874578565726208,"45":1011972940193304576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964546304001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:51:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:51:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30874578565726208,"km_value":30874578565726.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011972940193304576,"description":"Unknown IO ID 45"} 
[2026-09-09 08:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964546304001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011972940193304576}} 
[2026-09-09 08:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":178055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:51:46] local.INFO: GPS data processed {"connection_id":178055,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:51:46] local.INFO: Acknowledgment sent {"connection_id":178055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:52:02] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:52:02] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:52:02] local.INFO: IMEI packet received {"connection_id":176593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":176593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:52:06] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:52:06] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:52:06] local.INFO: IMEI packet received {"connection_id":176593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":176593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:52:06] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842f98f8012d7c6c8005eacbd8000501001e..."} 
[2026-09-09 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842f98f8012d7c6c8005eacbd8000501001e..."} 
[2026-09-09 08:52:06] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842f98f8012d7c6c8005eacbd8000501001e..."} 
[2026-09-09 08:52:06] local.INFO: Packet analysis {"connection_id":176593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:52:06] local.INFO: Extracted packet for processing {"connection_id":176593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763128960,"raw_latitude":99273688,"longitude_deg":76.312896,"latitude_deg":9.9273688,"altitude":5,"angle":256,"satellites":30,"speed":19,"hex_longitude":"2d7c6c80","hex_latitude":"05eacbd8","is_valid_coordinates":true} 
[2026-09-09 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964566016001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130245523201327104,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969200158299330560,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:06] 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-09-09 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788924107000,"timestamp_ms":1788924107000,"timestamp_seconds":1788924107,"priority":1,"record_length":96,"hex_timestamp":"000001a0842f98f8"} 
[2026-09-09 08:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-09 08:52: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-09-09 08:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964566016001,"66":13830,"8":206,"87":13824,"24":19,"16":130245523201327104,"45":8969200158299330560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-09 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964566016001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:52:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-09 08:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130245523201327104,"km_value":130245523201327.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969200158299330560,"description":"Unknown IO ID 45"} 
[2026-09-09 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964566016001,"power":13830,"unknown_8":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8969200158299330560}} 
[2026-09-09 08:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":176593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:52:07] local.INFO: GPS data processed {"connection_id":176593,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:52:07] local.INFO: Acknowledgment sent {"connection_id":176593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:52:14] local.INFO: TCP Data received {"connection_id":175480,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:14] local.INFO: Processing buffer {"connection_id":175480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:14] local.INFO: IMEI packet received {"connection_id":175480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":175480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:52:17] local.INFO: TCP Data received {"connection_id":178055,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0842fa898012d0e328007068a00002000131a..."} 
[2026-09-09 08:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842fa898012d0e328007068a00002000131a..."} 
[2026-09-09 08:52:17] local.INFO: Processing buffer {"connection_id":178055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842fa898012d0e328007068a00002000131a..."} 
[2026-09-09 08:52:17] local.INFO: Packet analysis {"connection_id":178055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:52:17] local.INFO: Extracted packet for processing {"connection_id":178055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:52:17] local.INFO: GPS Element Parsed {"raw_longitude":755905152,"raw_latitude":117869056,"longitude_deg":75.5905152,"latitude_deg":11.7869056,"altitude":32,"angle":19,"satellites":26,"speed":20,"hex_longitude":"2d0e3280","hex_latitude":"07068a00","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964571904001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30875132616507392,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022598620564041728,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:17] 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-09-09 08:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924111000,"timestamp_ms":1788924111000,"timestamp_seconds":1788924111,"priority":1,"record_length":96,"hex_timestamp":"000001a0842fa898"} 
[2026-09-09 08:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:52: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-09-09 08:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 08:52:17] 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-09-09 08:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178055,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178055,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964571904001,"66":14559,"219":206,"94":10240,"24":20,"16":30875132616507392,"45":1022598620564041728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964571904001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:52:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:52:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30875132616507392,"km_value":30875132616507.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022598620564041728,"description":"Unknown IO ID 45"} 
[2026-09-09 08:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964571904001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1022598620564041728}} 
[2026-09-09 08:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":178055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:52:17] local.INFO: GPS data processed {"connection_id":178055,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:52:17] local.INFO: Acknowledgment sent {"connection_id":178055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:52:19] local.INFO: TCP Data received {"connection_id":175480,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:19] local.INFO: Processing buffer {"connection_id":175480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:19] local.INFO: IMEI packet received {"connection_id":175480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":175480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:52:20] local.INFO: TCP Data received {"connection_id":175480,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:52:20] local.INFO: Processing buffer {"connection_id":175480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:52:20] local.INFO: Packet analysis {"connection_id":175480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:52:20] local.INFO: Extracted packet for processing {"connection_id":175480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:52:20] 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-09-09 08:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":175480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:52:20] local.INFO: GPS data processed {"connection_id":175480,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:52:20] local.INFO: Acknowledgment sent {"connection_id":175480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:52:38] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842fbc20012d7c594005eac7880005010d1f..."} 
[2026-09-09 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842fbc20012d7c594005eac7880005010d1f..."} 
[2026-09-09 08:52:38] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842fbc20012d7c594005eac7880005010d1f..."} 
[2026-09-09 08:52:38] local.INFO: Packet analysis {"connection_id":176593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:52:38] local.INFO: Extracted packet for processing {"connection_id":176593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763124032,"raw_latitude":99272584,"longitude_deg":76.3124032,"latitude_deg":9.9272584,"altitude":5,"angle":269,"satellites":31,"speed":23,"hex_longitude":"2d7c5940","hex_latitude":"05eac788","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964571392001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130245768014462976,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965681721090234368,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52: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-09-09 08:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788924116000,"timestamp_ms":1788924116000,"timestamp_seconds":1788924116,"priority":1,"record_length":96,"hex_timestamp":"000001a0842fbc20"} 
[2026-09-09 08:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2251808419414016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627150720512,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2217610864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941433344,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3937402890,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3221613293,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817296,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3090874368,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":250,"raw_value":-1729050767358163478,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.WARNING: Large IO value detected {"io_id":237,"raw_value":4611695918513717265,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,8,87,24,241,157,16,185,160,70,45,207,5,30,10,66,248,128,217,33,190,1,240,88,227,184,132,234,4,113,205,18,26,226,29,239,49,158,2,206,9,250,237],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-09 08:52:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360569574016614400,"timestamp_seconds":360569574016614.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964571392001,"66":14135,"8":206,"87":13824,"24":23,"16":130245768014462976,"45":8965681721090234368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-09 08:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964571392001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:52:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-09 08:52:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130245768014462976,"km_value":130245768014462.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965681721090234368,"description":"Unknown IO ID 45"} 
[2026-09-09 08:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964571392001,"power":14135,"unknown_8":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8965681721090234368}} 
[2026-09-09 08:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":176593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:52:38] local.INFO: GPS data processed {"connection_id":176593,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:52:38] local.INFO: Acknowledgment sent {"connection_id":176593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:52:43] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:52:43] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:52:43] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:52:44] local.INFO: TCP Data received {"connection_id":178057,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:44] local.INFO: Processing buffer {"connection_id":178057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:44] local.INFO: IMEI packet received {"connection_id":178057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":178057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:52:45] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:52:45] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:52:45] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:52:49] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:52:49] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:52:49] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:52:49] local.INFO: TCP Data received {"connection_id":178057,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:49] local.INFO: Processing buffer {"connection_id":178057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:52:49] local.INFO: IMEI packet received {"connection_id":178057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":178057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:52:50] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0842fb450012d0e33c0070690f8002200071a..."} 
[2026-09-09 08:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842fb450012d0e33c0070690f8002200071a..."} 
[2026-09-09 08:52:50] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842fb450012d0e33c0070690f8002200071a..."} 
[2026-09-09 08:52:50] local.INFO: Packet analysis {"connection_id":176595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:52:50] local.INFO: Extracted packet for processing {"connection_id":176595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:52:50] local.INFO: GPS Element Parsed {"raw_longitude":755905472,"raw_latitude":117870840,"longitude_deg":75.5905472,"latitude_deg":11.787084,"altitude":34,"angle":7,"satellites":26,"speed":25,"hex_longitude":"2d0e33c0","hex_latitude":"070690f8","is_valid_coordinates":true} 
[2026-09-09 08:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964572416001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30875222810820608,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023020833029357568,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788924114000,"timestamp_ms":1788924114000,"timestamp_seconds":1788924114,"priority":1,"record_length":96,"hex_timestamp":"000001a0842fb450"} 
[2026-09-09 08:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 08:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964572416001,"66":14515,"219":206,"94":10240,"24":25,"16":30875222810820608,"45":1023020833029357568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964572416001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:52:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:52:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30875222810820608,"km_value":30875222810820.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023020833029357568,"description":"Unknown IO ID 45"} 
[2026-09-09 08:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964572416001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":1023020833029357568}} 
[2026-09-09 08:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":176595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787849,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:52:50] local.INFO: GPS data processed {"connection_id":176595,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:52:50] local.INFO: Acknowledgment sent {"connection_id":176595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:52:51] local.INFO: TCP Data received {"connection_id":178057,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:52:51] local.INFO: Processing buffer {"connection_id":178057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:52:51] local.INFO: Packet analysis {"connection_id":178057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:52:51] local.INFO: Extracted packet for processing {"connection_id":178057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":178057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:52:51] local.INFO: GPS data processed {"connection_id":178057,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:52:51] local.INFO: Acknowledgment sent {"connection_id":178057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:53:01] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:01] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:01] local.INFO: IMEI packet received {"connection_id":178058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":178058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:53:02] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:02] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:02] local.INFO: IMEI packet received {"connection_id":178058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":178058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:53:04] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:04] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:04] local.INFO: IMEI packet received {"connection_id":178058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":178058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:53:05] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:05] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:53:05] local.INFO: IMEI packet received {"connection_id":178058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":178058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:53:06] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0842fdb60012d7c460005eac6980006010120..."} 
[2026-09-09 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842fdb60012d7c460005eac6980006010120..."} 
[2026-09-09 08:53:06] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842fdb60012d7c460005eac6980006010120..."} 
[2026-09-09 08:53:06] local.INFO: Packet analysis {"connection_id":178058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:53:06] local.INFO: Extracted packet for processing {"connection_id":178058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842f"} 
[2026-09-09 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763119104,"raw_latitude":99272344,"longitude_deg":76.3119104,"latitude_deg":9.9272344,"altitude":6,"angle":257,"satellites":32,"speed":18,"hex_longitude":"2d7c4600","hex_latitude":"05eac698","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964573696001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130245999942696960,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960263327788271616,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:06] 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-09-09 08:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788924124000,"timestamp_ms":1788924124000,"timestamp_seconds":1788924124,"priority":1,"record_length":96,"hex_timestamp":"000001a0842fdb60"} 
[2026-09-09 08:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 08:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964573696001,"66":13678,"8":206,"87":13824,"24":18,"16":130245999942696960,"45":8960263327788271616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-09 08:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964573696001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:53:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-09 08:53:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130245999942696960,"km_value":130245999942696.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960263327788271616,"description":"Unknown IO ID 45"} 
[2026-09-09 08:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964573696001,"power":13678,"unknown_8":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8960263327788271616}} 
[2026-09-09 08:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":178058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:53:06] local.INFO: GPS data processed {"connection_id":178058,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:53:06] local.INFO: Acknowledgment sent {"connection_id":178058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:53:07] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084301210012d7c3e4005eac7480007015e24..."} 
[2026-09-09 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084301210012d7c3e4005eac7480007015e24..."} 
[2026-09-09 08:53:07] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084301210012d7c3e4005eac7480007015e24..."} 
[2026-09-09 08:53:07] local.INFO: Packet analysis {"connection_id":178058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:53:07] local.INFO: Extracted packet for processing {"connection_id":178058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763117120,"raw_latitude":99272520,"longitude_deg":76.311712,"latitude_deg":9.927252,"altitude":7,"angle":350,"satellites":36,"speed":6,"hex_longitude":"2d7c3e40","hex_latitude":"05eac748","is_valid_coordinates":true} 
[2026-09-09 08:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964575744001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130246107316879360,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954844934486530048,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:07] 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-09-09 08:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788924138000,"timestamp_ms":1788924138000,"timestamp_seconds":1788924138,"priority":1,"record_length":96,"hex_timestamp":"000001a084301210"} 
[2026-09-09 08:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 08:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964575744001,"66":13602,"10":206,"87":13824,"24":6,"16":130246107316879360,"45":8954844934486530048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-09 08:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964575744001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:53:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-09 08:53:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130246107316879360,"km_value":130246107316879.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954844934486530048,"description":"Unknown IO ID 45"} 
[2026-09-09 08:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964575744001,"power":13602,"unknown_10":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8954844934486530048}} 
[2026-09-09 08:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":178058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:53:07] local.INFO: GPS data processed {"connection_id":178058,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:53:07] local.INFO: Acknowledgment sent {"connection_id":178058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:53:21] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08430ae50012d0e38c007070420002601211a..."} 
[2026-09-09 08:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08430ae50012d0e38c007070420002601211a..."} 
[2026-09-09 08:53:21] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08430ae50012d0e38c007070420002601211a..."} 
[2026-09-09 08:53:21] local.INFO: Packet analysis {"connection_id":176595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:53:21] local.INFO: Extracted packet for processing {"connection_id":176595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:53:21] local.INFO: GPS Element Parsed {"raw_longitude":755906752,"raw_latitude":117900320,"longitude_deg":75.5906752,"latitude_deg":11.790032,"altitude":38,"angle":289,"satellites":26,"speed":13,"hex_longitude":"2d0e38c0","hex_latitude":"07070420","is_valid_coordinates":true} 
[2026-09-09 08:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964589312001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30876700279570432,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025131895362658304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788924178000,"timestamp_ms":1788924178000,"timestamp_seconds":1788924178,"priority":1,"record_length":96,"hex_timestamp":"000001a08430ae50"} 
[2026-09-09 08:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 08:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176595,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964589312001,"66":14439,"219":206,"94":10240,"24":13,"16":30876700279570432,"45":1025131895362658304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964589312001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:53:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:53:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30876700279570432,"km_value":30876700279570.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025131895362658304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964589312001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1025131895362658304}} 
[2026-09-09 08:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":176595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:53:21] local.INFO: GPS data processed {"connection_id":176595,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:53:21] local.INFO: Acknowledgment sent {"connection_id":176595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:53:22] local.INFO: TCP Data received {"connection_id":178057,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:53:22] local.INFO: Processing buffer {"connection_id":178057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:53:22] local.INFO: Packet analysis {"connection_id":178057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:53:22] local.INFO: Extracted packet for processing {"connection_id":178057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:53:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:53:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:53:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":178057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:53:22] local.INFO: GPS data processed {"connection_id":178057,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:53:22] local.INFO: Acknowledgment sent {"connection_id":178057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:53:37] local.INFO: TCP Data received {"connection_id":175241,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:53:37] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:53:37] local.INFO: IMEI packet received {"connection_id":175241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":175241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:53:39] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:53:39] local.INFO: TCP Data received {"connection_id":178058,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843019e0012d7c3e4005eac8c00007000025..."} 
[2026-09-09 08:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:53:39] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:53:39] local.INFO: IMEI packet received {"connection_id":175481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":175481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843019e0012d7c3e4005eac8c00007000025..."} 
[2026-09-09 08:53:39] local.INFO: Processing buffer {"connection_id":178058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843019e0012d7c3e4005eac8c00007000025..."} 
[2026-09-09 08:53:39] local.INFO: Packet analysis {"connection_id":178058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:53:39] local.INFO: Extracted packet for processing {"connection_id":178058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763117120,"raw_latitude":99272896,"longitude_deg":76.311712,"latitude_deg":9.9272896,"altitude":7,"angle":0,"satellites":37,"speed":8,"hex_longitude":"2d7c3e40","hex_latitude":"05eac8c0","is_valid_coordinates":true} 
[2026-09-09 08: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-09-09 08:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964579328001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130246124496748544,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952663503417067520,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:39] 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-09-09 08:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788924140000,"timestamp_ms":1788924140000,"timestamp_seconds":1788924140,"priority":1,"record_length":96,"hex_timestamp":"000001a0843019e0"} 
[2026-09-09 08:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:53: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-09-09 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 08:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08: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-09-09 08:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964579328001,"66":13830,"10":206,"87":13824,"24":8,"16":130246124496748544,"45":8952663503417067520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-09 08:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964579328001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:53:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-09 08:53:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130246124496748544,"km_value":130246124496748.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952663503417067520,"description":"Unknown IO ID 45"} 
[2026-09-09 08:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964579328001,"power":13830,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8952663503417067520}} 
[2026-09-09 08:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":178058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:53:39] local.INFO: GPS data processed {"connection_id":178058,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:53:39] local.INFO: Acknowledgment sent {"connection_id":178058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:53:40] local.INFO: TCP Data received {"connection_id":175241,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:53:40] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:53:40] local.INFO: IMEI packet received {"connection_id":175241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":175241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:53:44] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:53:44] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:53:44] local.INFO: IMEI packet received {"connection_id":175481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:53:45] local.INFO: TCP Data received {"connection_id":175241,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:53:45] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:53:45] local.INFO: IMEI packet received {"connection_id":175241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":175241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:53:46] local.INFO: TCP Data received {"connection_id":175241,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08430b620012d0e350007070490002401111a..."} 
[2026-09-09 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08430b620012d0e350007070490002401111a..."} 
[2026-09-09 08:53:46] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08430b620012d0e350007070490002401111a..."} 
[2026-09-09 08:53:46] local.INFO: Packet analysis {"connection_id":175241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:53:46] local.INFO: Extracted packet for processing {"connection_id":175241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:53:46] local.INFO: GPS Element Parsed {"raw_longitude":755905792,"raw_latitude":117900432,"longitude_deg":75.5905792,"latitude_deg":11.7900432,"altitude":36,"angle":273,"satellites":26,"speed":21,"hex_longitude":"2d0e3500","hex_latitude":"07070490","is_valid_coordinates":true} 
[2026-09-09 08:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964589568001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30876747524210688,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024780051641802752,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:46] 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-09-09 08:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788924180000,"timestamp_ms":1788924180000,"timestamp_seconds":1788924180,"priority":1,"record_length":96,"hex_timestamp":"000001a08430b620"} 
[2026-09-09 08:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 08:53:46] 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-09-09 08:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964589568001,"66":14428,"219":206,"94":10240,"24":21,"16":30876747524210688,"45":1024780051641802752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964589568001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:53:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:53:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30876747524210688,"km_value":30876747524210.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024780051641802752,"description":"Unknown IO ID 45"} 
[2026-09-09 08:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964589568001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1024780051641802752}} 
[2026-09-09 08:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":175241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:53:46] local.INFO: GPS data processed {"connection_id":175241,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:53:46] local.INFO: Acknowledgment sent {"connection_id":175241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:53:46] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:53:46] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0842c39b0012d34c14006aa42c80005010725..."} 
[2026-09-09 08:53:46] local.INFO: Packet analysis {"connection_id":175481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:53:46] local.INFO: Extracted packet for processing {"connection_id":175481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0842c"} 
[2026-09-09 08:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964437760001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788923886000,"timestamp_ms":1788923886000,"timestamp_seconds":1788923886,"priority":1,"record_length":96,"hex_timestamp":"000001a0842c39b0"} 
[2026-09-09 08:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 08:53:46] 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-09-09 08:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964437760001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964437760001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964437760001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":175481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:53:46] local.INFO: GPS data processed {"connection_id":175481,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:53:46] local.INFO: Acknowledgment sent {"connection_id":175481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:53:47] local.INFO: TCP Data received {"connection_id":175242,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:53:47] local.INFO: Processing buffer {"connection_id":175242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:53:47] local.INFO: IMEI packet received {"connection_id":175242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":175242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:54:11] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:11] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:11] local.INFO: IMEI packet received {"connection_id":175243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":175243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:54:12] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:12] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:12] local.INFO: IMEI packet received {"connection_id":175243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":175243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:54:16] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:16] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:16] local.INFO: IMEI packet received {"connection_id":175243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":175243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:54:17] local.INFO: TCP Data received {"connection_id":175241,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08431ac38012d0dc5800706f1d0002401091a..."} 
[2026-09-09 08:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08431ac38012d0dc5800706f1d0002401091a..."} 
[2026-09-09 08:54:17] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08431ac38012d0dc5800706f1d0002401091a..."} 
[2026-09-09 08:54:17] local.INFO: Packet analysis {"connection_id":175241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:54:17] local.INFO: Extracted packet for processing {"connection_id":175241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:54:17] local.INFO: GPS Element Parsed {"raw_longitude":755877248,"raw_latitude":117895632,"longitude_deg":75.5877248,"latitude_deg":11.7895632,"altitude":36,"angle":265,"satellites":26,"speed":22,"hex_longitude":"2d0dc580","hex_latitude":"0706f1d0","is_valid_coordinates":true} 
[2026-09-09 08:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964605696001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30878169158385664,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993395591737430016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:17] 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-09-09 08:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924243000,"timestamp_ms":1788924243000,"timestamp_seconds":1788924243,"priority":1,"record_length":96,"hex_timestamp":"000001a08431ac38"} 
[2026-09-09 08:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:54:17] 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-09-09 08:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964605696001,"66":14450,"219":206,"94":10240,"24":22,"16":30878169158385664,"45":993395591737430016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964605696001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:54:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:54:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30878169158385664,"km_value":30878169158385.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":993395591737430016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964605696001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":993395591737430016}} 
[2026-09-09 08:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":175241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787858,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:54:17] local.INFO: GPS data processed {"connection_id":175241,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:54:17] local.INFO: Acknowledgment sent {"connection_id":175241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:54:18] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:54:18] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:54:18] local.INFO: Packet analysis {"connection_id":175481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:54:18] local.INFO: Extracted packet for processing {"connection_id":175481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964514816001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788924187000,"timestamp_ms":1788924187000,"timestamp_seconds":1788924187,"priority":1,"record_length":96,"hex_timestamp":"000001a08430d178"} 
[2026-09-09 08:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:54: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-09-09 08:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 08:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964514816001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964514816001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964514816001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":175481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:54:18] local.INFO: GPS data processed {"connection_id":175481,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:54:18] local.INFO: Acknowledgment sent {"connection_id":175481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:54:22] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:22] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:22] local.INFO: IMEI packet received {"connection_id":175243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":175243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:54:24] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084312f38012d7c250005eb49980000015e1f..."} 
[2026-09-09 08:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084312f38012d7c250005eb49980000015e1f..."} 
[2026-09-09 08:54:24] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084312f38012d7c250005eb49980000015e1f..."} 
[2026-09-09 08:54:24] local.INFO: Packet analysis {"connection_id":175243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:54:24] local.INFO: Extracted packet for processing {"connection_id":175243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763110656,"raw_latitude":99305880,"longitude_deg":76.3110656,"latitude_deg":9.930588,"altitude":0,"angle":350,"satellites":31,"speed":10,"hex_longitude":"2d7c2500","hex_latitude":"05eb4998","is_valid_coordinates":true} 
[2026-09-09 08:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964592640001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130247808123928576,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946119210215204864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:24] 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-09-09 08:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788924211000,"timestamp_ms":1788924211000,"timestamp_seconds":1788924211,"priority":1,"record_length":96,"hex_timestamp":"000001a084312f38"} 
[2026-09-09 08:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 08:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964592640001,"66":13928,"10":206,"87":13824,"24":10,"16":130247808123928576,"45":8946119210215204864},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-09 08:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964592640001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:54:24] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-09 08:54:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130247808123928576,"km_value":130247808123928.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946119210215204864,"description":"Unknown IO ID 45"} 
[2026-09-09 08:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964592640001,"power":13928,"unknown_10":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8946119210215204864}} 
[2026-09-09 08:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":175243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:54:24] local.INFO: GPS data processed {"connection_id":175243,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:54:24] local.INFO: Acknowledgment sent {"connection_id":175243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:54:29] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084314a90012d7c254005eb4b900000000c22..."} 
[2026-09-09 08:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084314a90012d7c254005eb4b900000000c22..."} 
[2026-09-09 08:54:29] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084314a90012d7c254005eb4b900000000c22..."} 
[2026-09-09 08:54:29] local.INFO: Packet analysis {"connection_id":175243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:54:29] local.INFO: Extracted packet for processing {"connection_id":175243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":99306384,"longitude_deg":76.311072,"latitude_deg":9.9306384,"altitude":0,"angle":12,"satellites":34,"speed":7,"hex_longitude":"2d7c2540","hex_latitude":"05eb4b90","is_valid_coordinates":true} 
[2026-09-09 08:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964598016001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130247838188699648,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945556260263663616,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:29] 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-09-09 08:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788924218000,"timestamp_ms":1788924218000,"timestamp_seconds":1788924218,"priority":1,"record_length":96,"hex_timestamp":"000001a084314a90"} 
[2026-09-09 08:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 08:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964598016001,"66":13961,"10":206,"87":13824,"24":7,"16":130247838188699648,"45":8945556260263663616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-09 08:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964598016001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:54:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-09 08:54:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130247838188699648,"km_value":130247838188699.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945556260263663616,"description":"Unknown IO ID 45"} 
[2026-09-09 08:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964598016001,"power":13961,"unknown_10":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8945556260263663616}} 
[2026-09-09 08:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":175243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:54:29] local.INFO: GPS data processed {"connection_id":175243,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:54:29] local.INFO: Acknowledgment sent {"connection_id":175243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:54:39] local.INFO: TCP Data received {"connection_id":178059,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:54:39] local.INFO: Processing buffer {"connection_id":178059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:54:39] local.INFO: IMEI packet received {"connection_id":178059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":178059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:54:40] local.INFO: TCP Data received {"connection_id":175244,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:54:40] local.INFO: Processing buffer {"connection_id":175244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:54:40] local.INFO: IMEI packet received {"connection_id":175244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":175244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:54:43] local.INFO: TCP Data received {"connection_id":175244,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:54:43] local.INFO: Processing buffer {"connection_id":175244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:54:43] local.INFO: IMEI packet received {"connection_id":175244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":175244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:54:44] local.INFO: TCP Data received {"connection_id":175244,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08431c790012d0db3400706ee68002700fd1a..."} 
[2026-09-09 08:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08431c790012d0db3400706ee68002700fd1a..."} 
[2026-09-09 08:54:44] local.INFO: Processing buffer {"connection_id":175244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08431c790012d0db3400706ee68002700fd1a..."} 
[2026-09-09 08:54:44] local.INFO: Packet analysis {"connection_id":175244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:54:44] local.INFO: Extracted packet for processing {"connection_id":175244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:54:44] local.INFO: GPS Element Parsed {"raw_longitude":755872576,"raw_latitude":117894760,"longitude_deg":75.5872576,"latitude_deg":11.789476,"altitude":39,"angle":253,"satellites":26,"speed":28,"hex_longitude":"2d0db340","hex_latitude":"0706ee68","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964606208001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30878392496685056,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":992340060574699520,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:44] 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-09-09 08:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788924250000,"timestamp_ms":1788924250000,"timestamp_seconds":1788924250,"priority":1,"record_length":96,"hex_timestamp":"000001a08431c790"} 
[2026-09-09 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-09-09 08:54: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-09-09 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 08:54:44] 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-09-09 08: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-09-09 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-09-09 08:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964606208001,"66":14461,"219":206,"94":10240,"24":28,"16":30878392496685056,"45":992340060574699520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964606208001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:54:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:54:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30878392496685056,"km_value":30878392496685.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":992340060574699520,"description":"Unknown IO ID 45"} 
[2026-09-09 08:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964606208001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":992340060574699520}} 
[2026-09-09 08:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":175244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787862,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:54:44] local.INFO: GPS data processed {"connection_id":175244,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:54:44] local.INFO: Acknowledgment sent {"connection_id":175244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:54:44] local.INFO: TCP Data received {"connection_id":178059,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:54:44] local.INFO: Processing buffer {"connection_id":178059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:54:44] local.INFO: IMEI packet received {"connection_id":178059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":178059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:54:45] local.INFO: TCP Data received {"connection_id":178059,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:54:45] local.INFO: Processing buffer {"connection_id":178059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:54:45] local.INFO: Packet analysis {"connection_id":178059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:54:45] local.INFO: Extracted packet for processing {"connection_id":178059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964514816001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788924187000,"timestamp_ms":1788924187000,"timestamp_seconds":1788924187,"priority":1,"record_length":96,"hex_timestamp":"000001a08430d178"} 
[2026-09-09 08:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:54: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-09-09 08:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 08:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964514816001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964514816001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:54:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964514816001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":178059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:54:45] local.INFO: GPS data processed {"connection_id":178059,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:54:45] local.INFO: Acknowledgment sent {"connection_id":178059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:54:59] local.INFO: TCP Data received {"connection_id":176597,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:59] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:54:59] local.INFO: IMEI packet received {"connection_id":176597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":176597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:55:01] local.INFO: TCP Data received {"connection_id":176597,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:55:02] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:55:02] local.INFO: IMEI packet received {"connection_id":176597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":176597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:55:06] local.INFO: TCP Data received {"connection_id":176597,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:55:06] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:55:06] local.INFO: IMEI packet received {"connection_id":176597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":176597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:55:12] local.INFO: TCP Data received {"connection_id":176597,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084315260012d7c254005eb4d300000016122..."} 
[2026-09-09 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084315260012d7c254005eb4d300000016122..."} 
[2026-09-09 08:55:12] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084315260012d7c254005eb4d300000016122..."} 
[2026-09-09 08:55:12] local.INFO: Packet analysis {"connection_id":176597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:55:12] local.INFO: Extracted packet for processing {"connection_id":176597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763110720,"raw_latitude":99306800,"longitude_deg":76.311072,"latitude_deg":9.93068,"altitude":0,"angle":353,"satellites":34,"speed":12,"hex_longitude":"2d7c2540","hex_latitude":"05eb4d30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964599808001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130247859663536128,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626629007970304,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:12] 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-09-09 08:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788924220000,"timestamp_ms":1788924220000,"timestamp_seconds":1788924220,"priority":1,"record_length":96,"hex_timestamp":"000001a084315260"} 
[2026-09-09 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-09-09 08:55: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-09-09 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 08:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964599808001,"66":14135,"10":206,"87":13824,"24":12,"16":130247859663536128,"45":8945626629007970304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-09 08:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964599808001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:55:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-09 08:55:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130247859663536128,"km_value":130247859663536.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626629007970304,"description":"Unknown IO ID 45"} 
[2026-09-09 08:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964599808001,"power":14135,"unknown_10":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8945626629007970304}} 
[2026-09-09 08:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":176597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:55:12] local.INFO: GPS data processed {"connection_id":176597,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:55:12] local.INFO: Acknowledgment sent {"connection_id":176597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:55:15] local.INFO: TCP Data received {"connection_id":175244,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08431d348012d0dab000706ecc80028010a1a..."} 
[2026-09-09 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08431d348012d0dab000706ecc80028010a1a..."} 
[2026-09-09 08:55:15] local.INFO: Processing buffer {"connection_id":175244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08431d348012d0dab000706ecc80028010a1a..."} 
[2026-09-09 08:55:15] local.INFO: Packet analysis {"connection_id":175244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:55:15] local.INFO: Extracted packet for processing {"connection_id":175244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08431"} 
[2026-09-09 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":755870464,"raw_latitude":117894344,"longitude_deg":75.5870464,"latitude_deg":11.7894344,"altitude":40,"angle":266,"satellites":26,"speed":26,"hex_longitude":"2d0dab00","hex_latitude":"0706ecc8","is_valid_coordinates":true} 
[2026-09-09 08:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964608000001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30878495575900160,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":987203142249506816,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:15] 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-09-09 08:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788924253000,"timestamp_ms":1788924253000,"timestamp_seconds":1788924253,"priority":1,"record_length":96,"hex_timestamp":"000001a08431d348"} 
[2026-09-09 08:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 08:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 08:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 08:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 08:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964608000001,"66":14374,"219":206,"94":10240,"24":26,"16":30878495575900160,"45":987203142249506816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 08:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 08:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 08:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964608000001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:55:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 08:55:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 08:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30878495575900160,"km_value":30878495575900.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":987203142249506816,"description":"Unknown IO ID 45"} 
[2026-09-09 08:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964608000001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":987203142249506816}} 
[2026-09-09 08:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":175244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:55:15] local.INFO: GPS data processed {"connection_id":175244,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:55:15] local.INFO: Acknowledgment sent {"connection_id":175244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:55:17] local.INFO: TCP Data received {"connection_id":178059,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:55:17] local.INFO: Processing buffer {"connection_id":178059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:55:17] local.INFO: Packet analysis {"connection_id":178059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:55:17] local.INFO: Extracted packet for processing {"connection_id":178059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964514816001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924187000,"timestamp_ms":1788924187000,"timestamp_seconds":1788924187,"priority":1,"record_length":96,"hex_timestamp":"000001a08430d178"} 
[2026-09-09 08:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 08:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964514816001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964514816001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964514816001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":178059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:55:17] local.INFO: GPS data processed {"connection_id":178059,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:55:17] local.INFO: Acknowledgment sent {"connection_id":178059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:55:38] local.INFO: TCP Data received {"connection_id":175245,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:38] local.INFO: Processing buffer {"connection_id":175245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:38] local.INFO: IMEI packet received {"connection_id":175245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 08:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":175245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:55:39] local.INFO: TCP Data received {"connection_id":175245,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:39] local.INFO: Processing buffer {"connection_id":175245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:39] local.INFO: IMEI packet received {"connection_id":175245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":175245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:55:39] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:55:39] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:55:39] local.INFO: IMEI packet received {"connection_id":175482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":175482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:55:40] local.INFO: TCP Data received {"connection_id":175245,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:40] local.INFO: Processing buffer {"connection_id":175245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:40] local.INFO: IMEI packet received {"connection_id":175245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":175245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:55:40] local.INFO: TCP Data received {"connection_id":175245,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:40] local.INFO: Processing buffer {"connection_id":175245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 08:55:40] local.INFO: IMEI packet received {"connection_id":175245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 08:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":175245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:55:44] local.INFO: TCP Data received {"connection_id":176597,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084331f50012d7be40005ec34780005001921..."} 
[2026-09-09 08:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084331f50012d7be40005ec34780005001921..."} 
[2026-09-09 08:55:44] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084331f50012d7be40005ec34780005001921..."} 
[2026-09-09 08:55:44] local.INFO: Packet analysis {"connection_id":176597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:55:44] local.INFO: Extracted packet for processing {"connection_id":176597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:55:44] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":99366008,"longitude_deg":76.3094016,"latitude_deg":9.9366008,"altitude":5,"angle":25,"satellites":33,"speed":10,"hex_longitude":"2d7be400","hex_latitude":"05ec3478","is_valid_coordinates":true} 
[2026-09-09 08:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964630272001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130250879025545216,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927190018048622592,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55: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-09-09 08:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788924338000,"timestamp_ms":1788924338000,"timestamp_seconds":1788924338,"priority":1,"record_length":96,"hex_timestamp":"000001a084331f50"} 
[2026-09-09 08:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:55: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-09-09 08:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 08:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964630272001,"66":13678,"198":206,"87":13824,"24":10,"16":130250879025545216,"45":8927190018048622592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 08:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964630272001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:55:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 08:55:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130250879025545216,"km_value":130250879025545.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927190018048622592,"description":"Unknown IO ID 45"} 
[2026-09-09 08:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964630272001,"power":13678,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8927190018048622592}} 
[2026-09-09 08:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":176597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:55:44] local.INFO: GPS data processed {"connection_id":176597,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:55:44] local.INFO: Acknowledgment sent {"connection_id":176597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:55:44] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:55:44] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:55:44] local.INFO: IMEI packet received {"connection_id":175482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":175482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:55:46] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:55:46] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:55:46] local.INFO: Packet analysis {"connection_id":175482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:55:46] local.INFO: Extracted packet for processing {"connection_id":175482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964514816001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788924187000,"timestamp_ms":1788924187000,"timestamp_seconds":1788924187,"priority":1,"record_length":96,"hex_timestamp":"000001a08430d178"} 
[2026-09-09 08:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 08:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964514816001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964514816001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964514816001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":175482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:55:46] local.INFO: GPS data processed {"connection_id":175482,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:55:46] local.INFO: Acknowledgment sent {"connection_id":175482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:56:01] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:56:01] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:56:01] local.INFO: IMEI packet received {"connection_id":175484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":175484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:56:01] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:56:01] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:56:01] local.INFO: IMEI packet received {"connection_id":175484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":175484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:56:07] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:56:07] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:56:07] local.INFO: IMEI packet received {"connection_id":175484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":175484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:56:09] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084332338012d7be4c005ec35480005003320..."} 
[2026-09-09 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084332338012d7be4c005ec35480005003320..."} 
[2026-09-09 08:56:09] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084332338012d7be4c005ec35480005003320..."} 
[2026-09-09 08:56:09] local.INFO: Packet analysis {"connection_id":175484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:56:09] local.INFO: Extracted packet for processing {"connection_id":175484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99366216,"longitude_deg":76.3094208,"latitude_deg":9.9366216,"altitude":5,"angle":51,"satellites":32,"speed":11,"hex_longitude":"2d7be4c0","hex_latitude":"05ec3548","is_valid_coordinates":true} 
[2026-09-09 08:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964630528001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130250891910447104,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386792863744,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:09] 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-09-09 08:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788924339000,"timestamp_ms":1788924339000,"timestamp_seconds":1788924339,"priority":1,"record_length":96,"hex_timestamp":"000001a084332338"} 
[2026-09-09 08:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:56: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-09-09 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 08:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964630528001,"66":13678,"198":206,"87":13824,"24":11,"16":130250891910447104,"45":8927260386792863744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 08:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964630528001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:56:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 08:56:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130250891910447104,"km_value":130250891910447.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386792863744,"description":"Unknown IO ID 45"} 
[2026-09-09 08:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964630528001,"power":13678,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927260386792863744}} 
[2026-09-09 08:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":175484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:56:09] local.INFO: GPS data processed {"connection_id":175484,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:56:09] local.INFO: Acknowledgment sent {"connection_id":175484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:56:17] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:56:17] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:56:17] local.INFO: Packet analysis {"connection_id":175482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:56:17] local.INFO: Extracted packet for processing {"connection_id":175482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964514816001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924187000,"timestamp_ms":1788924187000,"timestamp_seconds":1788924187,"priority":1,"record_length":96,"hex_timestamp":"000001a08430d178"} 
[2026-09-09 08:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 08:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964514816001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964514816001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964514816001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":175482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:56:17] local.INFO: GPS data processed {"connection_id":175482,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:56:17] local.INFO: Acknowledgment sent {"connection_id":175482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:56:41] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084332720012d7be60005ec35d8000500471f..."} 
[2026-09-09 08:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084332720012d7be60005ec35d8000500471f..."} 
[2026-09-09 08:56:41] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084332720012d7be60005ec35d8000500471f..."} 
[2026-09-09 08:56:41] local.INFO: Packet analysis {"connection_id":175484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:56:41] local.INFO: Extracted packet for processing {"connection_id":175484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763094528,"raw_latitude":99366360,"longitude_deg":76.3094528,"latitude_deg":9.936636,"altitude":5,"angle":71,"satellites":31,"speed":14,"hex_longitude":"2d7be600","hex_latitude":"05ec35d8","is_valid_coordinates":true} 
[2026-09-09 08:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964630784001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130250909090316288,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025449984,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:41] 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-09-09 08:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788924340000,"timestamp_ms":1788924340000,"timestamp_seconds":1788924340,"priority":1,"record_length":96,"hex_timestamp":"000001a084332720"} 
[2026-09-09 08:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 08:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964630784001,"66":13656,"198":206,"87":13824,"24":14,"16":130250909090316288,"45":8927471493025449984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 08:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964630784001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:56:41] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 08:56:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130250909090316288,"km_value":130250909090316.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025449984,"description":"Unknown IO ID 45"} 
[2026-09-09 08:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964630784001,"power":13656,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8927471493025449984}} 
[2026-09-09 08:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":175484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:56:41] local.INFO: GPS data processed {"connection_id":175484,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:56:41] local.INFO: Acknowledgment sent {"connection_id":175484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:56:45] local.INFO: TCP Data received {"connection_id":178061,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:56:45] local.INFO: Processing buffer {"connection_id":178061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:56:45] local.INFO: IMEI packet received {"connection_id":178061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":178061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:56:49] local.INFO: TCP Data received {"connection_id":178061,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:56:49] local.INFO: Processing buffer {"connection_id":178061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:56:49] local.INFO: IMEI packet received {"connection_id":178061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":178061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:56:50] local.INFO: TCP Data received {"connection_id":178061,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:56:50] local.INFO: Processing buffer {"connection_id":178061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:56:50] local.INFO: Packet analysis {"connection_id":178061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:56:50] local.INFO: Extracted packet for processing {"connection_id":178061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964514816001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788924187000,"timestamp_ms":1788924187000,"timestamp_seconds":1788924187,"priority":1,"record_length":96,"hex_timestamp":"000001a08430d178"} 
[2026-09-09 08:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 08:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964514816001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964514816001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:56:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964514816001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":178061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:56:50] local.INFO: GPS data processed {"connection_id":178061,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:56:50] local.INFO: Acknowledgment sent {"connection_id":178061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:56:55] local.INFO: TCP Data received {"connection_id":178061,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:56:55] local.INFO: Processing buffer {"connection_id":178061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08430d178012d34c14006aa42c8000501072a..."} 
[2026-09-09 08:56:55] local.INFO: Packet analysis {"connection_id":178061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:56:55] local.INFO: Extracted packet for processing {"connection_id":178061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08430"} 
[2026-09-09 08:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":263,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 08:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964514816001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788924187000,"timestamp_ms":1788924187000,"timestamp_seconds":1788924187,"priority":1,"record_length":96,"hex_timestamp":"000001a08430d178"} 
[2026-09-09 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-09-09 08:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 08:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964514816001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964514816001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:56:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:56:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964514816001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":178061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:56:55] local.INFO: GPS data processed {"connection_id":178061,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:56:55] local.INFO: Acknowledgment sent {"connection_id":178061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:57:01] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:57:01] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:57:01] local.INFO: IMEI packet received {"connection_id":175485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":175485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:57:04] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:57:04] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:57:04] local.INFO: IMEI packet received {"connection_id":175485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":175485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:57:06] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:57:06] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:57:06] local.INFO: IMEI packet received {"connection_id":175485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":175485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:57:10] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843332d8012d7beb8005ec36a8000500541f..."} 
[2026-09-09 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843332d8012d7beb8005ec36a8000500541f..."} 
[2026-09-09 08:57:10] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843332d8012d7beb8005ec36a8000500541f..."} 
[2026-09-09 08:57:10] local.INFO: Packet analysis {"connection_id":175485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:57:10] local.INFO: Extracted packet for processing {"connection_id":175485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763095936,"raw_latitude":99366568,"longitude_deg":76.3095936,"latitude_deg":9.9366568,"altitude":5,"angle":84,"satellites":31,"speed":14,"hex_longitude":"2d7beb80","hex_latitude":"05ec36a8","is_valid_coordinates":true} 
[2026-09-09 08:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964631040001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130250977809793024,"note":"Value kept but may cause issues"} 
[2026-09-09 08:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927823336746375168,"note":"Value kept but may cause issues"} 
[2026-09-09 08:57:10] 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-09-09 08:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788924343000,"timestamp_ms":1788924343000,"timestamp_seconds":1788924343,"priority":1,"record_length":96,"hex_timestamp":"000001a0843332d8"} 
[2026-09-09 08:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 08:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964631040001,"66":13928,"198":206,"87":13824,"24":14,"16":130250977809793024,"45":8927823336746375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 08:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964631040001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:57:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 08:57:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130250977809793024,"km_value":130250977809793.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927823336746375168,"description":"Unknown IO ID 45"} 
[2026-09-09 08:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964631040001,"power":13928,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8927823336746375168}} 
[2026-09-09 08:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":175485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:57:10] local.INFO: GPS data processed {"connection_id":175485,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:57:10] local.INFO: Acknowledgment sent {"connection_id":175485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:57:37] local.INFO: TCP Data received {"connection_id":178062,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:57:37] local.INFO: Processing buffer {"connection_id":178062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:57:37] local.INFO: IMEI packet received {"connection_id":178062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":178062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:57:39] local.INFO: TCP Data received {"connection_id":178062,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:57:39] local.INFO: Processing buffer {"connection_id":178062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:57:39] local.INFO: IMEI packet received {"connection_id":178062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":178062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:57:41] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084337158012d7c0f8005ec3840000500581f..."} 
[2026-09-09 08:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084337158012d7c0f8005ec3840000500581f..."} 
[2026-09-09 08:57:41] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084337158012d7c0f8005ec3840000500581f..."} 
[2026-09-09 08:57:41] local.INFO: Packet analysis {"connection_id":175485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:57:41] local.INFO: Extracted packet for processing {"connection_id":175485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763105152,"raw_latitude":99366976,"longitude_deg":76.3105152,"latitude_deg":9.9366976,"altitude":5,"angle":88,"satellites":31,"speed":33,"hex_longitude":"2d7c0f80","hex_latitude":"05ec3840","is_valid_coordinates":true} 
[2026-09-09 08:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964631808001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130251415896457216,"note":"Value kept but may cause issues"} 
[2026-09-09 08:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929371449118337024,"note":"Value kept but may cause issues"} 
[2026-09-09 08:57:41] 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-09-09 08:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788924359000,"timestamp_ms":1788924359000,"timestamp_seconds":1788924359,"priority":1,"record_length":96,"hex_timestamp":"000001a084337158"} 
[2026-09-09 08:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 08:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964631808001,"66":14102,"198":206,"87":13824,"24":33,"16":130251415896457216,"45":8929371449118337024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 08:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964631808001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:57:41] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 08:57:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130251415896457216,"km_value":130251415896457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929371449118337024,"description":"Unknown IO ID 45"} 
[2026-09-09 08:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964631808001,"power":14102,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8929371449118337024}} 
[2026-09-09 08:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":175485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:57:41] local.INFO: GPS data processed {"connection_id":175485,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:57:41] local.INFO: Acknowledgment sent {"connection_id":175485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:57:44] local.INFO: TCP Data received {"connection_id":178062,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:57:44] local.INFO: Processing buffer {"connection_id":178062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:57:44] local.INFO: IMEI packet received {"connection_id":178062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":178062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:57:45] local.INFO: TCP Data received {"connection_id":178062,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:57:45] local.INFO: Processing buffer {"connection_id":178062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:57:45] local.INFO: Packet analysis {"connection_id":178062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:57:45] local.INFO: Extracted packet for processing {"connection_id":178062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 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-09-09 08:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 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-09-09 08:57: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-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 08:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:57:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":178062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:57:46] local.INFO: GPS data processed {"connection_id":178062,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:57:46] local.INFO: Acknowledgment sent {"connection_id":178062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:58:01] local.INFO: TCP Data received {"connection_id":175248,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:58:01] local.INFO: Processing buffer {"connection_id":175248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:58:01] local.INFO: IMEI packet received {"connection_id":175248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":175248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:58:07] local.INFO: TCP Data received {"connection_id":175248,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:58:07] local.INFO: Processing buffer {"connection_id":175248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:58:07] local.INFO: IMEI packet received {"connection_id":175248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":175248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:58:08] local.INFO: TCP Data received {"connection_id":175248,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08433a038012d7c32c005ec39d8000800581c..."} 
[2026-09-09 08:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08433a038012d7c32c005ec39d8000800581c..."} 
[2026-09-09 08:58:08] local.INFO: Processing buffer {"connection_id":175248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08433a038012d7c32c005ec39d8000800581c..."} 
[2026-09-09 08:58:08] local.INFO: Packet analysis {"connection_id":175248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:58:08] local.INFO: Extracted packet for processing {"connection_id":175248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08433"} 
[2026-09-09 08:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":99367384,"longitude_deg":76.3114176,"latitude_deg":9.9367384,"altitude":8,"angle":88,"satellites":28,"speed":13,"hex_longitude":"2d7c32c0","hex_latitude":"05ec39d8","is_valid_coordinates":true} 
[2026-09-09 08:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964635904001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130251849688154112,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939504548280025088,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:08] 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-09-09 08:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788924371000,"timestamp_ms":1788924371000,"timestamp_seconds":1788924371,"priority":1,"record_length":96,"hex_timestamp":"000001a08433a038"} 
[2026-09-09 08:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 08:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964635904001,"66":14298,"198":206,"87":13824,"24":13,"16":130251849688154112,"45":8939504548280025088},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 08:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964635904001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:58:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 08:58:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130251849688154112,"km_value":130251849688154.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939504548280025088,"description":"Unknown IO ID 45"} 
[2026-09-09 08:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964635904001,"power":14298,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8939504548280025088}} 
[2026-09-09 08:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":175248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:58:08] local.INFO: GPS data processed {"connection_id":175248,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:58:08] local.INFO: Acknowledgment sent {"connection_id":175248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:58:17] local.INFO: TCP Data received {"connection_id":178062,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:58:17] local.INFO: Processing buffer {"connection_id":178062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:58:17] local.INFO: Packet analysis {"connection_id":178062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:58:17] local.INFO: Extracted packet for processing {"connection_id":178062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 08:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 08:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":178062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:58:17] local.INFO: GPS data processed {"connection_id":178062,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:58:17] local.INFO: Acknowledgment sent {"connection_id":178062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:58:39] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:58:39] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:58:39] local.INFO: IMEI packet received {"connection_id":176598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":176598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:58:40] local.INFO: TCP Data received {"connection_id":175248,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084356d28012d7d1d0005ec3df8000700fa26..."} 
[2026-09-09 08:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084356d28012d7d1d0005ec3df8000700fa26..."} 
[2026-09-09 08:58:40] local.INFO: Processing buffer {"connection_id":175248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084356d28012d7d1d0005ec3df8000700fa26..."} 
[2026-09-09 08:58:40] local.INFO: Packet analysis {"connection_id":175248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08435"} 
[2026-09-09 08:58:40] local.INFO: Extracted packet for processing {"connection_id":175248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08435"} 
[2026-09-09 08:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99368440,"longitude_deg":76.3174144,"latitude_deg":9.936844,"altitude":7,"angle":250,"satellites":38,"speed":8,"hex_longitude":"2d7d1d00","hex_latitude":"05ec3df8","is_valid_coordinates":true} 
[2026-09-09 08:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964668928001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130254800330686464,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992295424,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:40] 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-09-09 08:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788924489000,"timestamp_ms":1788924489000,"timestamp_seconds":1788924489,"priority":1,"record_length":96,"hex_timestamp":"000001a084356d28"} 
[2026-09-09 08:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-09 08:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964668928001,"66":13580,"110":206,"87":13824,"24":8,"16":130254800330686464,"45":9015502791992295424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 08:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964668928001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:58:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 08:58:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130254800330686464,"km_value":130254800330686.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992295424,"description":"Unknown IO ID 45"} 
[2026-09-09 08:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964668928001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015502791992295424}} 
[2026-09-09 08:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":175248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:58:40] local.INFO: GPS data processed {"connection_id":175248,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:58:40] local.INFO: Acknowledgment sent {"connection_id":175248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:58:44] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:58:44] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:58:44] local.INFO: IMEI packet received {"connection_id":176598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":176598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:58:46] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:58:46] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:58:46] local.INFO: Packet analysis {"connection_id":176598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:58:46] local.INFO: Extracted packet for processing {"connection_id":176598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 08:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":176598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:58:46] local.INFO: GPS data processed {"connection_id":176598,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:58:46] local.INFO: Acknowledgment sent {"connection_id":176598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:59:06] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:59:06] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:59:06] local.INFO: IMEI packet received {"connection_id":175251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 08:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":175251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:59:11] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:59:11] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 08:59:11] local.INFO: IMEI packet received {"connection_id":175251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 08:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":175251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:59:13] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084358498012d7d15c005ec3bd80007010625..."} 
[2026-09-09 08:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084358498012d7d15c005ec3bd80007010625..."} 
[2026-09-09 08:59:13] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084358498012d7d15c005ec3bd80007010625..."} 
[2026-09-09 08:59:13] local.INFO: Packet analysis {"connection_id":175251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08435"} 
[2026-09-09 08:59:13] local.INFO: Extracted packet for processing {"connection_id":175251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08435"} 
[2026-09-09 08:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":99367896,"longitude_deg":76.3172288,"latitude_deg":9.9367896,"altitude":7,"angle":262,"satellites":37,"speed":16,"hex_longitude":"2d7d15c0","hex_latitude":"05ec3bd8","is_valid_coordinates":true} 
[2026-09-09 08:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964669184001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130254890524999680,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054503921664,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59: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-09-09 08:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788924495000,"timestamp_ms":1788924495000,"timestamp_seconds":1788924495,"priority":1,"record_length":96,"hex_timestamp":"000001a084358498"} 
[2026-09-09 08:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:59: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-09-09 08:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632065,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2218049864,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3548287850065690624,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110797678,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3758173565,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221613633,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3254845440,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":125,"raw_value":1134913618405490694,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862858351403282857,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,110,87,24,241,157,16,194,160,105,45,128,62,7,38,10,66,97,37,1,240,28,227,132,236,4,113,205,251,30,40,239,55,2,206,5,14,125,51,54],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-09-09 08:59:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504678199381721088,"timestamp_seconds":504678199381721.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 08:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964669184001,"66":13896,"110":206,"87":13824,"24":16,"16":130254890524999680,"45":9015362054503921664},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 08:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964669184001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:59:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 08:59:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130254890524999680,"km_value":130254890524999.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054503921664,"description":"Unknown IO ID 45"} 
[2026-09-09 08:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964669184001,"power":13896,"unknown_110":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9015362054503921664}} 
[2026-09-09 08:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":175251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:59:14] local.INFO: GPS data processed {"connection_id":175251,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:59:14] local.INFO: Acknowledgment sent {"connection_id":175251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:59:17] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:59:17] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:59:17] local.INFO: Packet analysis {"connection_id":176598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:59:17] local.INFO: Extracted packet for processing {"connection_id":176598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 08:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 08:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 08:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":176598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:59:17] local.INFO: GPS data processed {"connection_id":176598,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:59:17] local.INFO: Acknowledgment sent {"connection_id":176598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:59:22] local.INFO: TCP Data received {"connection_id":175250,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:59:22] local.INFO: Processing buffer {"connection_id":175250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:59:22] local.INFO: IMEI packet received {"connection_id":175250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":175250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:59:39] local.INFO: TCP Data received {"connection_id":176599,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:59:39] local.INFO: Processing buffer {"connection_id":176599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:59:39] local.INFO: IMEI packet received {"connection_id":176599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 08:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":176599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:59:42] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:59:42] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 08:59:42] local.INFO: IMEI packet received {"connection_id":175253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 08:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":175253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 08:59:44] local.INFO: TCP Data received {"connection_id":176599,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:59:44] local.INFO: Processing buffer {"connection_id":176599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 08:59:44] local.INFO: IMEI packet received {"connection_id":176599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 08:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":176599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 08:59:45] local.INFO: TCP Data received {"connection_id":176599,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:59:45] local.INFO: Processing buffer {"connection_id":176599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 08:59:45] local.INFO: Packet analysis {"connection_id":176599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:59:45] local.INFO: Extracted packet for processing {"connection_id":176599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 08:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 08:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 08:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 08:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:59: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-09-09 08:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 08:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 08:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 08:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 08:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 08:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 08:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 08:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 08:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 08:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 08:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 08:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":176599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:59:45] local.INFO: GPS data processed {"connection_id":176599,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:59:45] local.INFO: Acknowledgment sent {"connection_id":176599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 08:59:46] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08435bb48012d7cf04005ec39680009010c22..."} 
[2026-09-09 08:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08435bb48012d7cf04005ec39680009010c22..."} 
[2026-09-09 08:59:46] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08435bb48012d7cf04005ec39680009010c22..."} 
[2026-09-09 08:59:46] local.INFO: Packet analysis {"connection_id":175251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08435"} 
[2026-09-09 08:59:46] local.INFO: Extracted packet for processing {"connection_id":175251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08435"} 
[2026-09-09 08:59:46] local.INFO: GPS Element Parsed {"raw_longitude":763162688,"raw_latitude":99367272,"longitude_deg":76.3162688,"latitude_deg":9.9367272,"altitude":9,"angle":268,"satellites":34,"speed":36,"hex_longitude":"2d7cf040","hex_latitude":"05ec3968","is_valid_coordinates":true} 
[2026-09-09 08:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 08:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964670720001,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130255350086500352,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360922630144,"note":"Value kept but may cause issues"} 
[2026-09-09 08:59: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-09-09 08:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788924509000,"timestamp_ms":1788924509000,"timestamp_seconds":1788924509,"priority":1,"record_length":96,"hex_timestamp":"000001a08435bb48"} 
[2026-09-09 08:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 08:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 08:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-09 08:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 08:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 08:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 08:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 08:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 08:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 08:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 08:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 08:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 08:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964670720001,"66":14298,"110":206,"87":13824,"24":36,"16":130255350086500352,"45":9013321360922630144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 08:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 08:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 08:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964670720001,"description":"Unknown IO ID 0"} 
[2026-09-09 08:59:46] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 08:59:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 08:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130255350086500352,"km_value":130255350086500.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 08:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360922630144,"description":"Unknown IO ID 45"} 
[2026-09-09 08:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964670720001,"power":14298,"unknown_110":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9013321360922630144}} 
[2026-09-09 08:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":175251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 08:59:46] local.INFO: GPS data processed {"connection_id":175251,"processed":1,"errors":0,"total":1} 
[2026-09-09 08:59:46] local.INFO: Acknowledgment sent {"connection_id":175251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:00:02] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:00:02] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:00:02] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:00:03] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:00:03] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:00:03] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:00:06] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:00:06] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:00:06] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:00:08] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08435e640012d7cccc005ec3858000b010b25..."} 
[2026-09-09 09:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08435e640012d7cccc005ec3858000b010b25..."} 
[2026-09-09 09:00:08] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08435e640012d7cccc005ec3858000b010b25..."} 
[2026-09-09 09:00:08] local.INFO: Packet analysis {"connection_id":176600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08435"} 
[2026-09-09 09:00:08] local.INFO: Extracted packet for processing {"connection_id":176600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08435"} 
[2026-09-09 09:00:08] local.INFO: GPS Element Parsed {"raw_longitude":763153600,"raw_latitude":99367000,"longitude_deg":76.31536,"latitude_deg":9.9367,"altitude":11,"angle":267,"satellites":37,"speed":18,"hex_longitude":"2d7cccc0","hex_latitude":"05ec3858","is_valid_coordinates":true} 
[2026-09-09 09:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964674304001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130255783878197248,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002766049295820800,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00: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-09-09 09:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788924520000,"timestamp_ms":1788924520000,"timestamp_seconds":1788924520,"priority":1,"record_length":96,"hex_timestamp":"000001a08435e640"} 
[2026-09-09 09:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 09:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964674304001,"66":13624,"110":206,"87":13824,"24":18,"16":130255783878197248,"45":9002766049295820800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964674304001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:00:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:00:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130255783878197248,"km_value":130255783878197.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002766049295820800,"description":"Unknown IO ID 45"} 
[2026-09-09 09:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964674304001,"power":13624,"unknown_110":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9002766049295820800}} 
[2026-09-09 09:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":176600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:00:08] local.INFO: GPS data processed {"connection_id":176600,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:00:08] local.INFO: Acknowledgment sent {"connection_id":176600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:00:12] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843620d8012d7ca7c005ec3730000c010c24..."} 
[2026-09-09 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843620d8012d7ca7c005ec3730000c010c24..."} 
[2026-09-09 09:00:12] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843620d8012d7ca7c005ec3730000c010c24..."} 
[2026-09-09 09:00:12] local.INFO: Packet analysis {"connection_id":176600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:00:12] local.INFO: Extracted packet for processing {"connection_id":176600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763144128,"raw_latitude":99366704,"longitude_deg":76.3144128,"latitude_deg":9.9366704,"altitude":12,"angle":268,"satellites":36,"speed":25,"hex_longitude":"2d7ca7c0","hex_latitude":"05ec3730","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964677120001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130256234849763328,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992773687622522880,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00: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-09-09 09:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788924535000,"timestamp_ms":1788924535000,"timestamp_seconds":1788924535,"priority":1,"record_length":96,"hex_timestamp":"000001a0843620d8"} 
[2026-09-09 09:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:00: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-09-09 09: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 09:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964677120001,"66":13678,"110":206,"87":13824,"24":25,"16":130256234849763328,"45":8992773687622522880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964677120001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:00:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:00:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130256234849763328,"km_value":130256234849763.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992773687622522880,"description":"Unknown IO ID 45"} 
[2026-09-09 09:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964677120001,"power":13678,"unknown_110":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8992773687622522880}} 
[2026-09-09 09:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":176600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:00:13] local.INFO: GPS data processed {"connection_id":176600,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:00:13] local.INFO: Acknowledgment sent {"connection_id":176600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:00:16] local.INFO: TCP Data received {"connection_id":176599,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:00:16] local.INFO: Processing buffer {"connection_id":176599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:00:16] local.INFO: Packet analysis {"connection_id":176599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:00:16] local.INFO: Extracted packet for processing {"connection_id":176599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 09:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":176599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:00:17] local.INFO: GPS data processed {"connection_id":176599,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:00:17] local.INFO: Acknowledgment sent {"connection_id":176599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:00:42] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:00:42] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:00:42] local.INFO: IMEI packet received {"connection_id":175487,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":175487,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:00:44] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:00:44] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:00:44] local.INFO: IMEI packet received {"connection_id":175486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":175486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:00:45] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:00:45] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:00:45] local.INFO: IMEI packet received {"connection_id":175487,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":175487,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:00:46] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084365788012d7c84c005ec3608000c010b26..."} 
[2026-09-09 09:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084365788012d7c84c005ec3608000c010b26..."} 
[2026-09-09 09:00:46] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084365788012d7c84c005ec3608000c010b26..."} 
[2026-09-09 09:00:46] local.INFO: Packet analysis {"connection_id":176600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:00:46] local.INFO: Extracted packet for processing {"connection_id":176600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:00:46] local.INFO: GPS Element Parsed {"raw_longitude":763135168,"raw_latitude":99366408,"longitude_deg":76.3135168,"latitude_deg":9.9366408,"altitude":12,"angle":267,"satellites":38,"speed":30,"hex_longitude":"2d7c84c0","hex_latitude":"05ec3608","is_valid_coordinates":true} 
[2026-09-09 09:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964680960001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130256668641460224,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982359113484152832,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00: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-09-09 09:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788924549000,"timestamp_ms":1788924549000,"timestamp_seconds":1788924549,"priority":1,"record_length":96,"hex_timestamp":"000001a084365788"} 
[2026-09-09 09:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:00: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-09-09 09:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 09:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964680960001,"66":14080,"110":206,"87":13824,"24":30,"16":130256668641460224,"45":8982359113484152832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964680960001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:00:46] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:00:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130256668641460224,"km_value":130256668641460.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982359113484152832,"description":"Unknown IO ID 45"} 
[2026-09-09 09:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964680960001,"power":14080,"unknown_110":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8982359113484152832}} 
[2026-09-09 09:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":176600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:00:46] local.INFO: GPS data processed {"connection_id":176600,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:00:46] local.INFO: Acknowledgment sent {"connection_id":176600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:00:49] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:00:49] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:00:49] local.INFO: IMEI packet received {"connection_id":175487,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":175487,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:00:49] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:00:49] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:00:49] local.INFO: IMEI packet received {"connection_id":175486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":175486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:00:50] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0843770c8012d0bb54007071cc0001800bf1c..."} 
[2026-09-09 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843770c8012d0bb54007071cc0001800bf1c..."} 
[2026-09-09 09:00:50] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843770c8012d0bb54007071cc0001800bf1c..."} 
[2026-09-09 09:00:50] local.INFO: Packet analysis {"connection_id":175487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:00:50] local.INFO: Extracted packet for processing {"connection_id":175487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":755742016,"raw_latitude":117906624,"longitude_deg":75.5742016,"latitude_deg":11.7906624,"altitude":24,"angle":191,"satellites":28,"speed":23,"hex_longitude":"2d0bb540","hex_latitude":"07071cc0","is_valid_coordinates":true} 
[2026-09-09 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964701952001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30886518574809088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843369429154168832,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788924621000,"timestamp_ms":1788924621000,"timestamp_seconds":1788924621,"priority":1,"record_length":96,"hex_timestamp":"000001a0843770c8"} 
[2026-09-09 09:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 09:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964701952001,"66":14461,"163":206,"94":10240,"24":23,"16":30886518574809088,"45":843369429154168832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964701952001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30886518574809088,"km_value":30886518574809.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":843369429154168832,"description":"Unknown IO ID 45"} 
[2026-09-09 09:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964701952001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843369429154168832}} 
[2026-09-09 09:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":175487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787889,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:00:50] local.INFO: GPS data processed {"connection_id":175487,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:00:50] local.INFO: Acknowledgment sent {"connection_id":175487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:00:50] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:00:50] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:00:50] local.INFO: Packet analysis {"connection_id":175486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:00:50] local.INFO: Extracted packet for processing {"connection_id":175486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 09:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":175486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:00:50] local.INFO: GPS data processed {"connection_id":175486,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:00:50] local.INFO: Acknowledgment sent {"connection_id":175486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:00:50] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084377898012d0bb38007071878001800cd1c..."} 
[2026-09-09 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084377898012d0bb38007071878001800cd1c..."} 
[2026-09-09 09:00:50] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084377898012d0bb38007071878001800cd1c..."} 
[2026-09-09 09:00:50] local.INFO: Packet analysis {"connection_id":175487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:00:50] local.INFO: Extracted packet for processing {"connection_id":175487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":755741568,"raw_latitude":117905528,"longitude_deg":75.5741568,"latitude_deg":11.7905528,"altitude":24,"angle":205,"satellites":28,"speed":23,"hex_longitude":"2d0bb380","hex_latitude":"07071878","is_valid_coordinates":true} 
[2026-09-09 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964702976001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30886578704351232,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843650904130109440,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788924623000,"timestamp_ms":1788924623000,"timestamp_seconds":1788924623,"priority":1,"record_length":96,"hex_timestamp":"000001a084377898"} 
[2026-09-09 09:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 09:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964702976001,"66":14439,"163":206,"94":10240,"24":23,"16":30886578704351232,"45":843650904130109440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 09:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964702976001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30886578704351232,"km_value":30886578704351.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":843650904130109440,"description":"Unknown IO ID 45"} 
[2026-09-09 09:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964702976001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843650904130109440}} 
[2026-09-09 09:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":175487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787891,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:00:51] local.INFO: GPS data processed {"connection_id":175487,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:00:51] local.INFO: Acknowledgment sent {"connection_id":175487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:00:55] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:00:55] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:00:55] local.INFO: Packet analysis {"connection_id":175486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:00:55] local.INFO: Extracted packet for processing {"connection_id":175486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:00:55] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 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-09-09 09:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:00:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:00:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":175486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:00:55] local.INFO: GPS data processed {"connection_id":175486,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:00:55] local.INFO: Acknowledgment sent {"connection_id":175486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:01:10] local.INFO: TCP Data received {"connection_id":175254,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:10] local.INFO: Processing buffer {"connection_id":175254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:10] local.INFO: IMEI packet received {"connection_id":175254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":175254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:01:11] local.INFO: TCP Data received {"connection_id":175254,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:11] local.INFO: Processing buffer {"connection_id":175254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:11] local.INFO: IMEI packet received {"connection_id":175254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":175254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:01:16] local.INFO: TCP Data received {"connection_id":175254,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:16] local.INFO: Processing buffer {"connection_id":175254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:16] local.INFO: IMEI packet received {"connection_id":175254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":175254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:01:17] local.INFO: TCP Data received {"connection_id":175254,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084367e98012d7c600005ec34f0000f010c27..."} 
[2026-09-09 09:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084367e98012d7c600005ec34f0000f010c27..."} 
[2026-09-09 09:01:17] local.INFO: Processing buffer {"connection_id":175254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084367e98012d7c600005ec34f0000f010c27..."} 
[2026-09-09 09:01:17] local.INFO: Packet analysis {"connection_id":175254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:01:17] local.INFO: Extracted packet for processing {"connection_id":175254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:01:17] local.INFO: GPS Element Parsed {"raw_longitude":763125760,"raw_latitude":99366128,"longitude_deg":76.312576,"latitude_deg":9.9366128,"altitude":15,"angle":268,"satellites":39,"speed":38,"hex_longitude":"2d7c6000","hex_latitude":"05ec34f0","is_valid_coordinates":true} 
[2026-09-09 09:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964684544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130257115318059008,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972507489299204096,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:17] 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-09-09 09:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924559000,"timestamp_ms":1788924559000,"timestamp_seconds":1788924559,"priority":1,"record_length":96,"hex_timestamp":"000001a084367e98"} 
[2026-09-09 09:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:01: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-09-09 09: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 09:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444141568,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2218092864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:17] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-09 09:01:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3255631872,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963502592,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:17] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,110,87,24,241,157,16,195,160,32,45,192,55,12,36,10,66,230,56,11,37,194,187,64,1,240,218,227,132,236,4,113,205,109,29,248,38,239,53,2,206,5,7],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-09-09 09:01:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864984861270474752,"timestamp_seconds":864984861270474.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964684544001,"66":14070,"198":206,"87":13824,"24":38,"16":130257115318059008,"45":8972507489299204096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 09:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964684544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:01:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 09:01:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130257115318059008,"km_value":130257115318059.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972507489299204096,"description":"Unknown IO ID 45"} 
[2026-09-09 09:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964684544001,"power":14070,"unknown_198":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8972507489299204096}} 
[2026-09-09 09:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":175254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:01:17] local.INFO: GPS data processed {"connection_id":175254,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:01:17] local.INFO: Acknowledgment sent {"connection_id":175254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:01:22] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084377c80012d0bb18007071710001800df1c..."} 
[2026-09-09 09:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084377c80012d0bb18007071710001800df1c..."} 
[2026-09-09 09:01:22] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084377c80012d0bb18007071710001800df1c..."} 
[2026-09-09 09:01:22] local.INFO: Packet analysis {"connection_id":175487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:01:22] local.INFO: Extracted packet for processing {"connection_id":175487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:01:22] local.INFO: GPS Element Parsed {"raw_longitude":755741056,"raw_latitude":117905168,"longitude_deg":75.5741056,"latitude_deg":11.7905168,"altitude":24,"angle":223,"satellites":28,"speed":23,"hex_longitude":"2d0bb180","hex_latitude":"07071710","is_valid_coordinates":true} 
[2026-09-09 09:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964703488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30886608769122304,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843158322920585216,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:22] 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-09-09 09:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788924624000,"timestamp_ms":1788924624000,"timestamp_seconds":1788924624,"priority":1,"record_length":96,"hex_timestamp":"000001a084377c80"} 
[2026-09-09 09:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:01: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-09-09 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:01: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-09-09 09:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964703488001,"66":14396,"163":206,"94":10240,"24":23,"16":30886608769122304,"45":843158322920585216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 09:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964703488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:01:22] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:01:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30886608769122304,"km_value":30886608769122.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":843158322920585216,"description":"Unknown IO ID 45"} 
[2026-09-09 09:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964703488001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843158322920585216}} 
[2026-09-09 09:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":175487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787894,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:01:22] local.INFO: GPS data processed {"connection_id":175487,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:01:22] local.INFO: Acknowledgment sent {"connection_id":175487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:01:22] local.INFO: TCP Data received {"connection_id":175254,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08436a990012d7c3bc005ec34100010010b28..."} 
[2026-09-09 09:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08436a990012d7c3bc005ec34100010010b28..."} 
[2026-09-09 09:01:22] local.INFO: Processing buffer {"connection_id":175254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08436a990012d7c3bc005ec34100010010b28..."} 
[2026-09-09 09:01:22] local.INFO: Packet analysis {"connection_id":175254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:01:22] local.INFO: Extracted packet for processing {"connection_id":175254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":99365904,"longitude_deg":76.311648,"latitude_deg":9.9365904,"altitude":16,"angle":267,"satellites":40,"speed":30,"hex_longitude":"2d7c3bc0","hex_latitude":"05ec3410","is_valid_coordinates":true} 
[2026-09-09 09:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964687104001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130257557699690496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962163283905015808,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:22] 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-09-09 09:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788924570000,"timestamp_ms":1788924570000,"timestamp_seconds":1788924570,"priority":1,"record_length":96,"hex_timestamp":"000001a08436a990"} 
[2026-09-09 09:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 09:01: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-09-09 09:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964687104001,"66":14070,"198":206,"87":13824,"24":30,"16":130257557699690496,"45":8962163283905015808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 09:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964687104001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:01:22] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 09:01:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130257557699690496,"km_value":130257557699690.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962163283905015808,"description":"Unknown IO ID 45"} 
[2026-09-09 09:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964687104001,"power":14070,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8962163283905015808}} 
[2026-09-09 09:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":175254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:01:22] local.INFO: GPS data processed {"connection_id":175254,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:01:22] local.INFO: Acknowledgment sent {"connection_id":175254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:01:39] local.INFO: TCP Data received {"connection_id":175255,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:01:39] local.INFO: Processing buffer {"connection_id":175255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:01:39] local.INFO: IMEI packet received {"connection_id":175255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":175255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:01:40] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:40] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:40] local.INFO: IMEI packet received {"connection_id":175257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":175257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:01:41] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:41] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:41] local.INFO: IMEI packet received {"connection_id":175257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":175257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:01:43] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:43] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:43] local.INFO: IMEI packet received {"connection_id":175257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":175257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:01:44] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:44] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:01:44] local.INFO: IMEI packet received {"connection_id":175257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":175257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:01:44] local.INFO: TCP Data received {"connection_id":175255,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:01:44] local.INFO: Processing buffer {"connection_id":175255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:01:44] local.INFO: IMEI packet received {"connection_id":175255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":175255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:01:45] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0843899a8012d0afdc007067fa0000c00dc1c..."} 
[2026-09-09 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843899a8012d0afdc007067fa0000c00dc1c..."} 
[2026-09-09 09:01:45] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843899a8012d0afdc007067fa0000c00dc1c..."} 
[2026-09-09 09:01:45] local.INFO: Packet analysis {"connection_id":175257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08438"} 
[2026-09-09 09:01:45] local.INFO: Extracted packet for processing {"connection_id":175257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08438"} 
[2026-09-09 09:01:45] local.INFO: GPS Element Parsed {"raw_longitude":755695040,"raw_latitude":117866400,"longitude_deg":75.569504,"latitude_deg":11.78664,"altitude":12,"angle":220,"satellites":28,"speed":31,"hex_longitude":"2d0afdc0","hex_latitude":"07067fa0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964719872001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30889752685182976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798826014080354304,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01: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-09-09 09:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788924697000,"timestamp_ms":1788924697000,"timestamp_seconds":1788924697,"priority":1,"record_length":96,"hex_timestamp":"000001a0843899a8"} 
[2026-09-09 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-09-09 09:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:01: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-09-09 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-09-09 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-09-09 09:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964719872001,"66":14396,"163":206,"94":10240,"24":31,"16":30889752685182976,"45":798826014080354304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 09:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964719872001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:01:45] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:01:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30889752685182976,"km_value":30889752685182.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":798826014080354304,"description":"Unknown IO ID 45"} 
[2026-09-09 09:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964719872001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":798826014080354304}} 
[2026-09-09 09:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":175257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787896,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:01:45] local.INFO: GPS data processed {"connection_id":175257,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:01:45] local.INFO: Acknowledgment sent {"connection_id":175257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:01:45] local.INFO: TCP Data received {"connection_id":175255,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:01:45] local.INFO: Processing buffer {"connection_id":175255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:01:45] local.INFO: Packet analysis {"connection_id":175255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:01:45] local.INFO: Extracted packet for processing {"connection_id":175255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 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-09-09 09:01: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-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:01:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":175255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:01:45] local.INFO: GPS data processed {"connection_id":175255,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:01:45] local.INFO: Acknowledgment sent {"connection_id":175255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:01:50] local.INFO: TCP Data received {"connection_id":175255,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:01:50] local.INFO: Processing buffer {"connection_id":175255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:01:50] local.INFO: Packet analysis {"connection_id":175255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:01:50] local.INFO: Extracted packet for processing {"connection_id":175255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 09:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 09:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:01:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":175255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:01:50] local.INFO: GPS data processed {"connection_id":175255,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:01:50] local.INFO: Acknowledgment sent {"connection_id":175255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:01:59] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:59] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:01:59] local.INFO: IMEI packet received {"connection_id":176601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":176601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:02:01] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:02:01] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:02:01] local.INFO: IMEI packet received {"connection_id":176601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":176601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:02:06] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:02:06] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:02:06] local.INFO: IMEI packet received {"connection_id":176601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":176601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:02:08] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08436e040012d7c188005ec32e80012010c28..."} 
[2026-09-09 09:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08436e040012d7c188005ec32e80012010c28..."} 
[2026-09-09 09:02:08] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08436e040012d7c188005ec32e80012010c28..."} 
[2026-09-09 09:02:08] local.INFO: Packet analysis {"connection_id":176601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:02:08] local.INFO: Extracted packet for processing {"connection_id":176601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08436"} 
[2026-09-09 09:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763107456,"raw_latitude":99365608,"longitude_deg":76.3107456,"latitude_deg":9.9365608,"altitude":18,"angle":268,"satellites":40,"speed":24,"hex_longitude":"2d7c1880","hex_latitude":"05ec32e8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964689920001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130257991491387392,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815999197184,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:08] 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-09-09 09:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788924584000,"timestamp_ms":1788924584000,"timestamp_seconds":1788924584,"priority":1,"record_length":96,"hex_timestamp":"000001a08436e040"} 
[2026-09-09 09:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 09:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964689920001,"66":13656,"198":206,"87":13824,"24":24,"16":130257991491387392,"45":8951959815999197184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 09:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964689920001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:02:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 09:02:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130257991491387392,"km_value":130257991491387.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815999197184,"description":"Unknown IO ID 45"} 
[2026-09-09 09:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964689920001,"power":13656,"unknown_198":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8951959815999197184}} 
[2026-09-09 09:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":176601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:02:08] local.INFO: GPS data processed {"connection_id":176601,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:02:08] local.INFO: Acknowledgment sent {"connection_id":176601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:02:19] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084389d90012d0afc4007067d18000c00d01d..."} 
[2026-09-09 09:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084389d90012d0afc4007067d18000c00d01d..."} 
[2026-09-09 09:02:19] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084389d90012d0afc4007067d18000c00d01d..."} 
[2026-09-09 09:02:19] local.INFO: Packet analysis {"connection_id":175257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08438"} 
[2026-09-09 09:02:19] local.INFO: Extracted packet for processing {"connection_id":175257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08438"} 
[2026-09-09 09:02:19] local.INFO: GPS Element Parsed {"raw_longitude":755694656,"raw_latitude":117865752,"longitude_deg":75.5694656,"latitude_deg":11.7865752,"altitude":12,"angle":208,"satellites":29,"speed":29,"hex_longitude":"2d0afc40","hex_latitude":"07067d18","is_valid_coordinates":true} 
[2026-09-09 09:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964722432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30889787044921344,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792000245893406720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:19] 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-09-09 09:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788924698000,"timestamp_ms":1788924698000,"timestamp_seconds":1788924698,"priority":1,"record_length":96,"hex_timestamp":"000001a084389d90"} 
[2026-09-09 09:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:02: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-09-09 09:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964722432001,"66":14428,"163":206,"94":10240,"24":29,"16":30889787044921344,"45":792000245893406720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 09:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964722432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:02:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:02:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30889787044921344,"km_value":30889787044921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":792000245893406720,"description":"Unknown IO ID 45"} 
[2026-09-09 09:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964722432001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":792000245893406720}} 
[2026-09-09 09:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":175257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787900,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:02:19] local.INFO: GPS data processed {"connection_id":175257,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:02:19] local.INFO: Acknowledgment sent {"connection_id":175257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:02:21] local.INFO: TCP Data received {"connection_id":175255,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:02:21] local.INFO: Processing buffer {"connection_id":175255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08434e858012d34bf0006aa4340000c000221..."} 
[2026-09-09 09:02:21] local.INFO: Packet analysis {"connection_id":175255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:02:21] local.INFO: Extracted packet for processing {"connection_id":175255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08434"} 
[2026-09-09 09:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821632,"longitude_deg":75.8431488,"latitude_deg":11.1821632,"altitude":12,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4340","is_valid_coordinates":true} 
[2026-09-09 09:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964591872001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788924455000,"timestamp_ms":1788924455000,"timestamp_seconds":1788924455,"priority":1,"record_length":96,"hex_timestamp":"000001a08434e858"} 
[2026-09-09 09:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964591872001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964591872001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:02:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964591872001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":175255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:02:21] local.INFO: GPS data processed {"connection_id":175255,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:02:21] local.INFO: Acknowledgment sent {"connection_id":175255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:02:39] local.INFO: TCP Data received {"connection_id":178065,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:02:39] local.INFO: Processing buffer {"connection_id":178065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:02:39] local.INFO: IMEI packet received {"connection_id":178065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":178065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:02:39] local.INFO: TCP Data received {"connection_id":178065,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:02:39] local.INFO: Processing buffer {"connection_id":178065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:02:39] local.INFO: IMEI packet received {"connection_id":178065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":178065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:02:40] local.INFO: TCP Data received {"connection_id":178067,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:02:40] local.INFO: Processing buffer {"connection_id":178067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:02:40] local.INFO: IMEI packet received {"connection_id":178067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":178067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:02:44] local.INFO: TCP Data received {"connection_id":178065,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:02:44] local.INFO: Processing buffer {"connection_id":178065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:02:44] local.INFO: IMEI packet received {"connection_id":178065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":178065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:02:45] local.INFO: TCP Data received {"connection_id":178067,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:02:45] local.INFO: Processing buffer {"connection_id":178067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:02:45] local.INFO: IMEI packet received {"connection_id":178067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":178067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:02:46] local.INFO: TCP Data received {"connection_id":178067,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08438a948012d0af88007067658000d00dd1d..."} 
[2026-09-09 09:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08438a948012d0af88007067658000d00dd1d..."} 
[2026-09-09 09:02:46] local.INFO: Processing buffer {"connection_id":178067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08438a948012d0af88007067658000d00dd1d..."} 
[2026-09-09 09:02:46] local.INFO: Packet analysis {"connection_id":178067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08438"} 
[2026-09-09 09:02:46] local.INFO: Extracted packet for processing {"connection_id":178067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08438"} 
[2026-09-09 09:02:46] local.INFO: GPS Element Parsed {"raw_longitude":755693696,"raw_latitude":117864024,"longitude_deg":75.5693696,"latitude_deg":11.7864024,"altitude":13,"angle":221,"satellites":29,"speed":24,"hex_longitude":"2d0af880","hex_latitude":"07067658","is_valid_coordinates":true} 
[2026-09-09 09:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964722688001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30889885829169152,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791578033428174848,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02: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-09-09 09:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788924701000,"timestamp_ms":1788924701000,"timestamp_seconds":1788924701,"priority":1,"record_length":96,"hex_timestamp":"000001a08438a948"} 
[2026-09-09 09:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 09:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964722688001,"66":14439,"163":206,"94":10240,"24":24,"16":30889885829169152,"45":791578033428174848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 09:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964722688001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:02:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:02:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30889885829169152,"km_value":30889885829169.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":791578033428174848,"description":"Unknown IO ID 45"} 
[2026-09-09 09:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964722688001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":791578033428174848}} 
[2026-09-09 09:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":178067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787902,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:02:46] local.INFO: GPS data processed {"connection_id":178067,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:02:46] local.INFO: Acknowledgment sent {"connection_id":178067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:02:46] local.INFO: TCP Data received {"connection_id":178065,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:02:46] local.INFO: Processing buffer {"connection_id":178065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:02:46] local.INFO: Packet analysis {"connection_id":178065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:02:46] local.INFO: Extracted packet for processing {"connection_id":178065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 09:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":178065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:02:46] local.INFO: GPS data processed {"connection_id":178065,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:02:46] local.INFO: Acknowledgment sent {"connection_id":178065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:02:47] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843722a8012d7bf50005ec30c00011010728..."} 
[2026-09-09 09:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843722a8012d7bf50005ec30c00011010728..."} 
[2026-09-09 09:02:47] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843722a8012d7bf50005ec30c00011010728..."} 
[2026-09-09 09:02:47] local.INFO: Packet analysis {"connection_id":176601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:02:47] local.INFO: Extracted packet for processing {"connection_id":176601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763098368,"raw_latitude":99365056,"longitude_deg":76.3098368,"latitude_deg":9.9365056,"altitude":17,"angle":263,"satellites":40,"speed":13,"hex_longitude":"2d7bf500","hex_latitude":"05ec30c0","is_valid_coordinates":true} 
[2026-09-09 09:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964693504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130258425283084288,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942037823070070784,"note":"Value kept but may cause issues"} 
[2026-09-09 09:02: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-09-09 09:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788924601000,"timestamp_ms":1788924601000,"timestamp_seconds":1788924601,"priority":1,"record_length":96,"hex_timestamp":"000001a0843722a8"} 
[2026-09-09 09:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:02: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-09-09 09:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 09:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964693504001,"66":13961,"198":206,"87":13824,"24":13,"16":130258425283084288,"45":8942037823070070784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 09:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964693504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:02:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 09:02:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130258425283084288,"km_value":130258425283084.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942037823070070784,"description":"Unknown IO ID 45"} 
[2026-09-09 09:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964693504001,"power":13961,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8942037823070070784}} 
[2026-09-09 09:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":176601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:02:47] local.INFO: GPS data processed {"connection_id":176601,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:02:47] local.INFO: Acknowledgment sent {"connection_id":176601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:03:01] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:03:01] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:03:01] local.INFO: IMEI packet received {"connection_id":175488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":175488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:03:06] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:03:06] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:03:06] local.INFO: IMEI packet received {"connection_id":175488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":175488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:03:07] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084376510012d7bd14005ec2990001200fe28..."} 
[2026-09-09 09:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084376510012d7bd14005ec2990001200fe28..."} 
[2026-09-09 09:03:07] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084376510012d7bd14005ec2990001200fe28..."} 
[2026-09-09 09:03:07] local.INFO: Packet analysis {"connection_id":175488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:03:07] local.INFO: Extracted packet for processing {"connection_id":175488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08437"} 
[2026-09-09 09:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763089216,"raw_latitude":99363216,"longitude_deg":76.3089216,"latitude_deg":9.9363216,"altitude":18,"angle":254,"satellites":40,"speed":27,"hex_longitude":"2d7bd140","hex_latitude":"05ec2990","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964697856001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130258871959683072,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932045461396701184,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:07] 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-09-09 09:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788924618000,"timestamp_ms":1788924618000,"timestamp_seconds":1788924618,"priority":1,"record_length":96,"hex_timestamp":"000001a084376510"} 
[2026-09-09 09:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 09:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964697856001,"66":13504,"198":206,"87":13824,"24":27,"16":130258871959683072,"45":8932045461396701184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 09:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964697856001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:03:07] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 09:03:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130258871959683072,"km_value":130258871959683.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932045461396701184,"description":"Unknown IO ID 45"} 
[2026-09-09 09:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964697856001,"power":13504,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8932045461396701184}} 
[2026-09-09 09:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":175488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:03:07] local.INFO: GPS data processed {"connection_id":175488,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:03:07] local.INFO: Acknowledgment sent {"connection_id":175488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:03:17] local.INFO: TCP Data received {"connection_id":178067,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08439b6d0012d0b4ec00705ff10001400371d..."} 
[2026-09-09 09:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08439b6d0012d0b4ec00705ff10001400371d..."} 
[2026-09-09 09:03:17] local.INFO: Processing buffer {"connection_id":178067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08439b6d0012d0b4ec00705ff10001400371d..."} 
[2026-09-09 09:03:17] local.INFO: Packet analysis {"connection_id":178067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:03:17] local.INFO: Extracted packet for processing {"connection_id":178067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:03:17] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833488,"longitude_deg":75.5715776,"latitude_deg":11.7833488,"altitude":20,"angle":55,"satellites":29,"speed":6,"hex_longitude":"2d0b4ec0","hex_latitude":"0705ff10","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964740864001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30891921643667456,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814729350254348288,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:17] 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-09-09 09:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924770000,"timestamp_ms":1788924770000,"timestamp_seconds":1788924770,"priority":1,"record_length":96,"hex_timestamp":"000001a08439b6d0"} 
[2026-09-09 09:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 09:03:17] 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-09-09 09: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-09-09 09:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964740864001,"66":14374,"165":206,"94":10240,"24":6,"16":30891921643667456,"45":814729350254348288},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-09 09:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964740864001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:03:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-09 09:03:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30891921643667456,"km_value":30891921643667.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":814729350254348288,"description":"Unknown IO ID 45"} 
[2026-09-09 09:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964740864001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814729350254348288}} 
[2026-09-09 09:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":178067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787906,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:03:17] local.INFO: GPS data processed {"connection_id":178067,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:03:17] local.INFO: Acknowledgment sent {"connection_id":178067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:03:18] local.INFO: TCP Data received {"connection_id":178065,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:03:18] local.INFO: Processing buffer {"connection_id":178065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:03:18] local.INFO: Packet analysis {"connection_id":178065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:03:18] local.INFO: Extracted packet for processing {"connection_id":178065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 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-09-09 09:03: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-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":178065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:03:18] local.INFO: GPS data processed {"connection_id":178065,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:03:18] local.INFO: Acknowledgment sent {"connection_id":178065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:03:38] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08439c288012d7a5e0005eb9448000500ee1d..."} 
[2026-09-09 09:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08439c288012d7a5e0005eb9448000500ee1d..."} 
[2026-09-09 09:03:38] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08439c288012d7a5e0005eb9448000500ee1d..."} 
[2026-09-09 09:03:38] local.INFO: Packet analysis {"connection_id":175488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:03:38] local.INFO: Extracted packet for processing {"connection_id":175488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":762994176,"raw_latitude":99325000,"longitude_deg":76.2994176,"latitude_deg":9.9325,"altitude":5,"angle":238,"satellites":29,"speed":11,"hex_longitude":"2d7a5e00","hex_latitude":"05eb9448","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964738560001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130263785402269696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826773820097542144,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] 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-09-09 09:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788924773000,"timestamp_ms":1788924773000,"timestamp_seconds":1788924773,"priority":1,"record_length":96,"hex_timestamp":"000001a08439c288"} 
[2026-09-09 09:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2218286864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3704619021,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2583691264,"corrected_to":0} 
[2026-09-09 09:03:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147871724,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227910997,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3351838720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3959156736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2346376700715614213,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.WARNING: Large IO value detected {"io_id":236,"raw_value":731835025363511296,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:38] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,98,87,24,241,157,16,201,160,92,45,174,11,39,10,66,38,64,188,12,41,235,1,240,131,227,200,132,4,113,205,26,138,37,144,239,53,198,2,206,5,18,28,230,56,236],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":200,"original":2583691264,"validated":0},{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-09-09 09:03:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504675983179972608,"timestamp_seconds":504675983179972.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964738560001,"66":13319,"161":206,"87":13824,"24":11,"16":130263785402269696,"45":8826773820097542144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-09 09:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964738560001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:03:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-09 09:03:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130263785402269696,"km_value":130263785402269.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826773820097542144,"description":"Unknown IO ID 45"} 
[2026-09-09 09:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964738560001,"power":13319,"unknown_161":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8826773820097542144}} 
[2026-09-09 09:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":175488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:03:39] local.INFO: GPS data processed {"connection_id":175488,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:03:39] local.INFO: Acknowledgment sent {"connection_id":175488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:03:39] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:03:39] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:03:39] local.INFO: IMEI packet received {"connection_id":175258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":175258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:03:40] local.INFO: TCP Data received {"connection_id":175259,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175259,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:40] local.INFO: Processing buffer {"connection_id":175259,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:40] local.INFO: IMEI packet received {"connection_id":175259,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":175259,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:03:40] local.INFO: TCP Data received {"connection_id":175259,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175259,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:40] local.INFO: Processing buffer {"connection_id":175259,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:40] local.INFO: IMEI packet received {"connection_id":175259,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":175259,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:03:41] local.INFO: TCP Data received {"connection_id":175259,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175259,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:41] local.INFO: Processing buffer {"connection_id":175259,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:41] local.INFO: IMEI packet received {"connection_id":175259,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":175259,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:03:44] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:03:44] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:03:44] local.INFO: IMEI packet received {"connection_id":175258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":175258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:03:45] local.INFO: TCP Data received {"connection_id":175259,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175259,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:45] local.INFO: Processing buffer {"connection_id":175259,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:03:45] local.INFO: IMEI packet received {"connection_id":175259,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":175259,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:03:45] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:03:45] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:03:45] local.INFO: Packet analysis {"connection_id":175258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:03:45] local.INFO: Extracted packet for processing {"connection_id":175258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 09:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:03: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-09-09 09:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:03: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-09-09 09:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:03:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":175258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:03:46] local.INFO: GPS data processed {"connection_id":175258,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:03:46] local.INFO: Acknowledgment sent {"connection_id":175258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:04:02] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:04:02] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:04:02] local.INFO: IMEI packet received {"connection_id":175489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":175489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:04:06] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:04:06] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:04:06] local.INFO: IMEI packet received {"connection_id":175489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":175489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:04:07] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843a1490012d7a5d8005eb9420000600ee21..."} 
[2026-09-09 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843a1490012d7a5d8005eb9420000600ee21..."} 
[2026-09-09 09:04:07] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843a1490012d7a5d8005eb9420000600ee21..."} 
[2026-09-09 09:04:07] local.INFO: Packet analysis {"connection_id":175489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843a"} 
[2026-09-09 09:04:07] local.INFO: Extracted packet for processing {"connection_id":175489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843a"} 
[2026-09-09 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":99324960,"longitude_deg":76.2994048,"latitude_deg":9.932496,"altitude":6,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d7a5d80","hex_latitude":"05eb9420","is_valid_coordinates":true} 
[2026-09-09 09:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964741888001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130263798287171584,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817485145865209856,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] 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-09-09 09:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788924794000,"timestamp_ms":1788924794000,"timestamp_seconds":1788924794,"priority":1,"record_length":96,"hex_timestamp":"000001a0843a1490"} 
[2026-09-09 09:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":14592,"corrected_to":0} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2218297864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-292733898453604352,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3892391291,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3958149120,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197867844,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3358523392,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":252,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6849976328083832837,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:07] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,161,87,24,241,157,16,202,160,143,45,7,34,10,66,98,201,92,174,11,39,38,64,1,240,82,227,132,235,4,113,205,26,184,5,208,41,239,55,2,206,15,31,252,56],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":202,"original":14592,"validated":0},{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-09-09 09:04:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360549778511822848,"timestamp_seconds":360549778511822.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964741888001,"66":13352,"161":206,"87":13824,"24":0,"16":130263798287171584,"45":8817485145865209856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-09 09:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964741888001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:04:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-09 09:04:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130263798287171584,"km_value":130263798287171.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817485145865209856,"description":"Unknown IO ID 45"} 
[2026-09-09 09:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964741888001,"power":13352,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8817485145865209856}} 
[2026-09-09 09:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":175489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:04:07] local.INFO: GPS data processed {"connection_id":175489,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:04:07] local.INFO: Acknowledgment sent {"connection_id":175489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:04:17] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:04:17] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:04:17] local.INFO: Packet analysis {"connection_id":175258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:04:17] local.INFO: Extracted packet for processing {"connection_id":175258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 09:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:04: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-09-09 09:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":175258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:04:17] local.INFO: GPS data processed {"connection_id":175258,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:04:17] local.INFO: Acknowledgment sent {"connection_id":175258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:04:39] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843a6698012d7a5d8005eb9420000600ee1b..."} 
[2026-09-09 09:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843a6698012d7a5d8005eb9420000600ee1b..."} 
[2026-09-09 09:04:39] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843a6698012d7a5d8005eb9420000600ee1b..."} 
[2026-09-09 09:04:39] local.INFO: Packet analysis {"connection_id":175489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843a"} 
[2026-09-09 09:04:39] local.INFO: Extracted packet for processing {"connection_id":175489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843a"} 
[2026-09-09 09:04:39] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":99324960,"longitude_deg":76.2994048,"latitude_deg":9.932496,"altitude":6,"angle":238,"satellites":27,"speed":0,"hex_longitude":"2d7a5d80","hex_latitude":"05eb9420","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964747264001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130263798287171584,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408376844288,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:39] 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-09-09 09:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788924815000,"timestamp_ms":1788924815000,"timestamp_seconds":1788924815,"priority":1,"record_length":96,"hex_timestamp":"000001a0843a6698"} 
[2026-09-09 09:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-09 09:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964747264001,"66":13928,"163":206,"87":13824,"24":0,"16":130263798287171584,"45":8817344408376844288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-09 09:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964747264001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:04:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:04:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130263798287171584,"km_value":130263798287171.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408376844288,"description":"Unknown IO ID 45"} 
[2026-09-09 09:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964747264001,"power":13928,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8817344408376844288}} 
[2026-09-09 09:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":175489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:04:39] local.INFO: GPS data processed {"connection_id":175489,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:04:39] local.INFO: Acknowledgment sent {"connection_id":175489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:04:39] local.INFO: TCP Data received {"connection_id":176602,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:04:39] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:04:39] local.INFO: IMEI packet received {"connection_id":176602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":176602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:04:44] local.INFO: TCP Data received {"connection_id":176602,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:04:44] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:04:44] local.INFO: IMEI packet received {"connection_id":176602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":176602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:04:46] local.INFO: TCP Data received {"connection_id":176602,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:04:46] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:04:46] local.INFO: Packet analysis {"connection_id":176602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:04:46] local.INFO: Extracted packet for processing {"connection_id":176602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 09:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":176602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:04:46] local.INFO: GPS data processed {"connection_id":176602,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:04:46] local.INFO: Acknowledgment sent {"connection_id":176602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:05:01] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:05:01] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:05:01] local.INFO: IMEI packet received {"connection_id":176604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":176604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:05:06] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:05:06] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:05:06] local.INFO: IMEI packet received {"connection_id":176604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":176604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:05:07] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843ab8a0012d7a5d8005eb9420000600ee20..."} 
[2026-09-09 09:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843ab8a0012d7a5d8005eb9420000600ee20..."} 
[2026-09-09 09:05:07] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843ab8a0012d7a5d8005eb9420000600ee20..."} 
[2026-09-09 09:05:07] local.INFO: Packet analysis {"connection_id":176604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843a"} 
[2026-09-09 09:05:07] local.INFO: Extracted packet for processing {"connection_id":176604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843a"} 
[2026-09-09 09:05:07] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":99324960,"longitude_deg":76.2994048,"latitude_deg":9.932496,"altitude":6,"angle":238,"satellites":32,"speed":0,"hex_longitude":"2d7a5d80","hex_latitude":"05eb9420","is_valid_coordinates":true} 
[2026-09-09 09:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964752640001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130263798287171584,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408376844288,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:07] 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-09-09 09:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788924836000,"timestamp_ms":1788924836000,"timestamp_seconds":1788924836,"priority":1,"record_length":96,"hex_timestamp":"000001a0843ab8a0"} 
[2026-09-09 09:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 09:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964752640001,"66":13493,"163":206,"87":13824,"24":0,"16":130263798287171584,"45":8817344408376844288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-09 09:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964752640001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:05:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:05:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130263798287171584,"km_value":130263798287171.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408376844288,"description":"Unknown IO ID 45"} 
[2026-09-09 09:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964752640001,"power":13493,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8817344408376844288}} 
[2026-09-09 09:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":176604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:05:07] local.INFO: GPS data processed {"connection_id":176604,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:05:07] local.INFO: Acknowledgment sent {"connection_id":176604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:05:18] local.INFO: TCP Data received {"connection_id":176602,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:05:18] local.INFO: Processing buffer {"connection_id":176602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:05:18] local.INFO: Packet analysis {"connection_id":176602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:05:18] local.INFO: Extracted packet for processing {"connection_id":176602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 09:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:05: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-09-09 09:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:05: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-09-09 09:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:05:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":176602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:05:18] local.INFO: GPS data processed {"connection_id":176602,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:05:18] local.INFO: Acknowledgment sent {"connection_id":176602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:05:37] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843b0aa8012d7a5d8005eb9420000600ee1c..."} 
[2026-09-09 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843b0aa8012d7a5d8005eb9420000600ee1c..."} 
[2026-09-09 09:05:37] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843b0aa8012d7a5d8005eb9420000600ee1c..."} 
[2026-09-09 09:05:37] local.INFO: Packet analysis {"connection_id":176604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843b"} 
[2026-09-09 09:05:37] local.INFO: Extracted packet for processing {"connection_id":176604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843b"} 
[2026-09-09 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":99324960,"longitude_deg":76.2994048,"latitude_deg":9.932496,"altitude":6,"angle":238,"satellites":28,"speed":0,"hex_longitude":"2d7a5d80","hex_latitude":"05eb9420","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964758016001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130263798287171584,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408376844288,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:37] 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-09-09 09:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788924857000,"timestamp_ms":1788924857000,"timestamp_seconds":1788924857,"priority":1,"record_length":96,"hex_timestamp":"000001a0843b0aa8"} 
[2026-09-09 09:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-09 09:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964758016001,"66":13559,"163":206,"87":13824,"24":0,"16":130263798287171584,"45":8817344408376844288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-09 09:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964758016001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:05:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:05:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130263798287171584,"km_value":130263798287171.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408376844288,"description":"Unknown IO ID 45"} 
[2026-09-09 09:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964758016001,"power":13559,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8817344408376844288}} 
[2026-09-09 09:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":176604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:05:38] local.INFO: GPS data processed {"connection_id":176604,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:05:38] local.INFO: Acknowledgment sent {"connection_id":176604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:05:39] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:05:39] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:05:39] local.INFO: IMEI packet received {"connection_id":175490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":175490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:05:44] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:05:44] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:05:44] local.INFO: IMEI packet received {"connection_id":175490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":175490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:05:45] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:05:45] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:05:45] local.INFO: Packet analysis {"connection_id":175490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:05:45] local.INFO: Extracted packet for processing {"connection_id":175490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 09:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:05: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-09-09 09:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:05:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":175490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:05:45] local.INFO: GPS data processed {"connection_id":175490,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:05:45] local.INFO: Acknowledgment sent {"connection_id":175490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:05:47] local.INFO: TCP Data received {"connection_id":178071,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:05:47] local.INFO: Processing buffer {"connection_id":178071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:05:47] local.INFO: IMEI packet received {"connection_id":178071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":178071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:06:06] local.INFO: TCP Data received {"connection_id":175260,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:06:06] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:06:06] local.INFO: IMEI packet received {"connection_id":175260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":175260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:06:11] local.INFO: TCP Data received {"connection_id":175260,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:06:11] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:06:11] local.INFO: IMEI packet received {"connection_id":175260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":175260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:06:12] local.INFO: TCP Data received {"connection_id":175260,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843b58c8012d7a5ac005eb9300000600fc1f..."} 
[2026-09-09 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843b58c8012d7a5ac005eb9300000600fc1f..."} 
[2026-09-09 09:06:12] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843b58c8012d7a5ac005eb9300000600fc1f..."} 
[2026-09-09 09:06:12] local.INFO: Packet analysis {"connection_id":175260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843b"} 
[2026-09-09 09:06:12] local.INFO: Extracted packet for processing {"connection_id":175260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843b"} 
[2026-09-09 09:06:12] local.INFO: GPS Element Parsed {"raw_longitude":762993344,"raw_latitude":99324672,"longitude_deg":76.2993344,"latitude_deg":9.9324672,"altitude":6,"angle":252,"satellites":31,"speed":13,"hex_longitude":"2d7a5ac0","hex_latitude":"05eb9300","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964763392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130263836941877248,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408376844288,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06: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-09-09 09:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788924877000,"timestamp_ms":1788924877000,"timestamp_seconds":1788924877,"priority":1,"record_length":96,"hex_timestamp":"000001a0843b58c8"} 
[2026-09-09 09:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 09:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964763392001,"66":13472,"163":206,"87":13824,"24":13,"16":130263836941877248,"45":8817344408376844288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-09 09:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964763392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:06:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:06:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130263836941877248,"km_value":130263836941877.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408376844288,"description":"Unknown IO ID 45"} 
[2026-09-09 09:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964763392001,"power":13472,"unknown_163":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8817344408376844288}} 
[2026-09-09 09:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":175260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:06:12] local.INFO: GPS data processed {"connection_id":175260,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:06:12] local.INFO: Acknowledgment sent {"connection_id":175260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:06:14] local.INFO: TCP Data received {"connection_id":175260,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843b6480012d7a564005eb9220000601081e..."} 
[2026-09-09 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843b6480012d7a564005eb9220000601081e..."} 
[2026-09-09 09:06:14] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843b6480012d7a564005eb9220000601081e..."} 
[2026-09-09 09:06:14] local.INFO: Packet analysis {"connection_id":175260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843b"} 
[2026-09-09 09:06:14] local.INFO: Extracted packet for processing {"connection_id":175260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843b"} 
[2026-09-09 09:06:14] local.INFO: GPS Element Parsed {"raw_longitude":762992192,"raw_latitude":99324448,"longitude_deg":76.2992192,"latitude_deg":9.9324448,"altitude":6,"angle":264,"satellites":30,"speed":15,"hex_longitude":"2d7a5640","hex_latitude":"05eb9220","is_valid_coordinates":true} 
[2026-09-09 09:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964768512001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130263892776452096,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816570352190816256,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:14] 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-09-09 09:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788924880000,"timestamp_ms":1788924880000,"timestamp_seconds":1788924880,"priority":1,"record_length":96,"hex_timestamp":"000001a0843b6480"} 
[2026-09-09 09:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:06: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-09-09 09:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 09:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964768512001,"66":13906,"163":206,"87":13824,"24":15,"16":130263892776452096,"45":8816570352190816256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-09 09:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964768512001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:06:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:06:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130263892776452096,"km_value":130263892776452.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816570352190816256,"description":"Unknown IO ID 45"} 
[2026-09-09 09:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964768512001,"power":13906,"unknown_163":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8816570352190816256}} 
[2026-09-09 09:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":175260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:06:15] local.INFO: GPS data processed {"connection_id":175260,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:06:15] local.INFO: Acknowledgment sent {"connection_id":175260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:06:17] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:06:17] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:06:17] local.INFO: Packet analysis {"connection_id":175490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:06:17] local.INFO: Extracted packet for processing {"connection_id":175490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 09:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":175490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:06:17] local.INFO: GPS data processed {"connection_id":175490,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:06:17] local.INFO: Acknowledgment sent {"connection_id":175490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:06:44] local.INFO: TCP Data received {"connection_id":178073,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:06:44] local.INFO: Processing buffer {"connection_id":178073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:06:44] local.INFO: IMEI packet received {"connection_id":178073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":178073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:06:46] local.INFO: TCP Data received {"connection_id":175260,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843b6c50012d7a534005eb9240000601161e..."} 
[2026-09-09 09:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843b6c50012d7a534005eb9240000601161e..."} 
[2026-09-09 09:06:46] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843b6c50012d7a534005eb9240000601161e..."} 
[2026-09-09 09:06:46] local.INFO: Packet analysis {"connection_id":175260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843b"} 
[2026-09-09 09:06:46] local.INFO: Extracted packet for processing {"connection_id":175260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843b"} 
[2026-09-09 09:06:46] local.INFO: GPS Element Parsed {"raw_longitude":762991424,"raw_latitude":99324480,"longitude_deg":76.2991424,"latitude_deg":9.932448,"altitude":6,"angle":278,"satellites":30,"speed":13,"hex_longitude":"2d7a5340","hex_latitude":"05eb9240","is_valid_coordinates":true} 
[2026-09-09 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964769280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130263927136190464,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303714795560960,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:46] 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-09-09 09:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788924882000,"timestamp_ms":1788924882000,"timestamp_seconds":1788924882,"priority":1,"record_length":96,"hex_timestamp":"000001a0843b6c50"} 
[2026-09-09 09:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:06: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-09-09 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 09:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964769280001,"66":13504,"163":206,"87":13824,"24":13,"16":130263927136190464,"45":8815303714795560960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-09 09:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964769280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:06:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 09:06:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130263927136190464,"km_value":130263927136190.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303714795560960,"description":"Unknown IO ID 45"} 
[2026-09-09 09:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964769280001,"power":13504,"unknown_163":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8815303714795560960}} 
[2026-09-09 09:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":175260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:06:46] local.INFO: GPS data processed {"connection_id":175260,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:06:46] local.INFO: Acknowledgment sent {"connection_id":175260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:06:49] local.INFO: TCP Data received {"connection_id":178073,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:06:49] local.INFO: Processing buffer {"connection_id":178073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:06:49] local.INFO: IMEI packet received {"connection_id":178073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":178073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:06:50] local.INFO: TCP Data received {"connection_id":178073,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:06:50] local.INFO: Processing buffer {"connection_id":178073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:06:50] local.INFO: Packet analysis {"connection_id":178073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:06:50] local.INFO: Extracted packet for processing {"connection_id":178073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 09:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:06:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":178073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:06:51] local.INFO: GPS data processed {"connection_id":178073,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:06:51] local.INFO: Acknowledgment sent {"connection_id":178073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:06:55] local.INFO: TCP Data received {"connection_id":178073,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:06:55] local.INFO: Processing buffer {"connection_id":178073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084397850012d34c14006aa43700007000228..."} 
[2026-09-09 09:06:55] local.INFO: Packet analysis {"connection_id":178073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:06:55] local.INFO: Extracted packet for processing {"connection_id":178073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08439"} 
[2026-09-09 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964660480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150325760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788924754000,"timestamp_ms":1788924754000,"timestamp_seconds":1788924754,"priority":1,"record_length":96,"hex_timestamp":"000001a084397850"} 
[2026-09-09 09:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964660480001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3800756639150325760},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964660480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:06:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:06:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150325760,"description":"Unknown IO ID 45"} 
[2026-09-09 09:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964660480001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150325760}} 
[2026-09-09 09:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":178073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:06:55] local.INFO: GPS data processed {"connection_id":178073,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:06:55] local.INFO: Acknowledgment sent {"connection_id":178073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:07:01] local.INFO: TCP Data received {"connection_id":178074,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:07:01] local.INFO: Processing buffer {"connection_id":178074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:07:01] local.INFO: IMEI packet received {"connection_id":178074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":178074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:07:05] local.INFO: TCP Data received {"connection_id":178074,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:07:05] local.INFO: Processing buffer {"connection_id":178074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:07:05] local.INFO: IMEI packet received {"connection_id":178074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":178074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:07:07] local.INFO: TCP Data received {"connection_id":178074,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843d3d28012d79ffc005ec5b88000c01541d..."} 
[2026-09-09 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843d3d28012d79ffc005ec5b88000c01541d..."} 
[2026-09-09 09:07:07] local.INFO: Processing buffer {"connection_id":178074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843d3d28012d79ffc005ec5b88000c01541d..."} 
[2026-09-09 09:07:07] local.INFO: Packet analysis {"connection_id":178074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:07] local.INFO: Extracted packet for processing {"connection_id":178074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":762970048,"raw_latitude":99376008,"longitude_deg":76.2970048,"latitude_deg":9.9376008,"altitude":12,"angle":340,"satellites":29,"speed":30,"hex_longitude":"2d79ffc0","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-09 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964800256001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130266645850488832,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790956129323288576,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:07] 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-09-09 09:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925001000,"timestamp_ms":1788925001000,"timestamp_seconds":1788925001,"priority":1,"record_length":96,"hex_timestamp":"000001a0843d3d28"} 
[2026-09-09 09:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 09:07: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-09-09 09:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964800256001,"66":13798,"99":206,"87":13824,"24":30,"16":130266645850488832,"45":8790956129323288576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 09:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964800256001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:07:07] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 09:07:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130266645850488832,"km_value":130266645850488.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790956129323288576,"description":"Unknown IO ID 45"} 
[2026-09-09 09:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964800256001,"power":13798,"unknown_99":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8790956129323288576}} 
[2026-09-09 09:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":178074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:07:07] local.INFO: GPS data processed {"connection_id":178074,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:07:07] local.INFO: Acknowledgment sent {"connection_id":178074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:07:07] local.INFO: TCP Data received {"connection_id":178074,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843d6820012d79f80005ec74c0000b000323..."} 
[2026-09-09 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843d6820012d79f80005ec74c0000b000323..."} 
[2026-09-09 09:07:07] local.INFO: Processing buffer {"connection_id":178074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843d6820012d79f80005ec74c0000b000323..."} 
[2026-09-09 09:07:07] local.INFO: Packet analysis {"connection_id":178074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:07] local.INFO: Extracted packet for processing {"connection_id":178074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":762968064,"raw_latitude":99382464,"longitude_deg":76.2968064,"latitude_deg":9.9382464,"altitude":11,"angle":3,"satellites":35,"speed":8,"hex_longitude":"2d79f800","hex_latitude":"05ec74c0","is_valid_coordinates":true} 
[2026-09-09 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964800256001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130266972268003328,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790956129323288576,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:07] 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-09-09 09:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925012000,"timestamp_ms":1788925012000,"timestamp_seconds":1788925012,"priority":1,"record_length":96,"hex_timestamp":"000001a0843d6820"} 
[2026-09-09 09:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 09:07: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-09-09 09:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964800256001,"66":13928,"100":206,"87":13824,"24":8,"16":130266972268003328,"45":8790956129323288576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964800256001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:07:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:07:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130266972268003328,"km_value":130266972268003.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790956129323288576,"description":"Unknown IO ID 45"} 
[2026-09-09 09:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964800256001,"power":13928,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8790956129323288576}} 
[2026-09-09 09:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":178074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:07:07] local.INFO: GPS data processed {"connection_id":178074,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:07:07] local.INFO: Acknowledgment sent {"connection_id":178074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:07:38] local.INFO: TCP Data received {"connection_id":178074,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843d6ff0012d79f84005ec75b8000a001821..."} 
[2026-09-09 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843d6ff0012d79f84005ec75b8000a001821..."} 
[2026-09-09 09:07:38] local.INFO: Processing buffer {"connection_id":178074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843d6ff0012d79f84005ec75b8000a001821..."} 
[2026-09-09 09:07:38] local.INFO: Packet analysis {"connection_id":178074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:38] local.INFO: Extracted packet for processing {"connection_id":178074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":762968128,"raw_latitude":99382712,"longitude_deg":76.2968128,"latitude_deg":9.9382712,"altitude":10,"angle":24,"satellites":33,"speed":5,"hex_longitude":"2d79f840","hex_latitude":"05ec75b8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964803072001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130266985152905216,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788774698255433728,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:38] 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-09-09 09:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788925014000,"timestamp_ms":1788925014000,"timestamp_seconds":1788925014,"priority":1,"record_length":96,"hex_timestamp":"000001a0843d6ff0"} 
[2026-09-09 09:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 09:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964803072001,"66":12906,"100":206,"87":13824,"24":5,"16":130266985152905216,"45":8788774698255433728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964803072001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:07:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:07:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130266985152905216,"km_value":130266985152905.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788774698255433728,"description":"Unknown IO ID 45"} 
[2026-09-09 09:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964803072001,"power":12906,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8788774698255433728}} 
[2026-09-09 09:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":178074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:07:39] local.INFO: GPS data processed {"connection_id":178074,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:07:39] local.INFO: Acknowledgment sent {"connection_id":178074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:07:39] local.INFO: TCP Data received {"connection_id":178075,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:07:39] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:07:39] local.INFO: IMEI packet received {"connection_id":178075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":178075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:07:40] local.INFO: TCP Data received {"connection_id":178075,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:07:40] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:07:40] local.INFO: IMEI packet received {"connection_id":178075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":178075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:07:44] local.INFO: TCP Data received {"connection_id":178075,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:07:44] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:07:44] local.INFO: IMEI packet received {"connection_id":178075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":178075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:07:45] local.INFO: TCP Data received {"connection_id":178075,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:07:45] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:07:45] local.INFO: Packet analysis {"connection_id":178075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:45] local.INFO: Extracted packet for processing {"connection_id":178075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 09:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:07: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-09-09 09:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09: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-09-09 09:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:07:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":178075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:07:45] local.INFO: GPS data processed {"connection_id":178075,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:07:45] local.INFO: Acknowledgment sent {"connection_id":178075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:07:50] local.INFO: TCP Data received {"connection_id":178075,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:07:50] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:07:50] local.INFO: Packet analysis {"connection_id":178075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:50] local.INFO: Extracted packet for processing {"connection_id":178075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:07:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 09:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:07:50] 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-09-09 09:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:07: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-09-09 09:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:07:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:07:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":178075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:07:50] local.INFO: GPS data processed {"connection_id":178075,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:07:50] local.INFO: Acknowledgment sent {"connection_id":178075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:07:57] local.INFO: TCP Data received {"connection_id":175261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:07:57] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:07:57] local.INFO: IMEI packet received {"connection_id":175261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":175261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:08:01] local.INFO: TCP Data received {"connection_id":175261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:08:01] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:08:01] local.INFO: IMEI packet received {"connection_id":175261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":175261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:08:06] local.INFO: TCP Data received {"connection_id":175261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:08:06] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:08:06] local.INFO: IMEI packet received {"connection_id":175261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":175261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:08:07] local.INFO: TCP Data received {"connection_id":175261,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843d9318012d79fb8005ec7708000c004b23..."} 
[2026-09-09 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843d9318012d79fb8005ec7708000c004b23..."} 
[2026-09-09 09:08:07] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843d9318012d79fb8005ec7708000c004b23..."} 
[2026-09-09 09:08:07] local.INFO: Packet analysis {"connection_id":175261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:08:07] local.INFO: Extracted packet for processing {"connection_id":175261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":762968960,"raw_latitude":99383048,"longitude_deg":76.296896,"latitude_deg":9.9383048,"altitude":12,"angle":75,"satellites":35,"speed":5,"hex_longitude":"2d79fb80","hex_latitude":"05ec7708","is_valid_coordinates":true} 
[2026-09-09 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964803584001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130267028102578176,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788845066999674880,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:07] 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-09-09 09:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925023000,"timestamp_ms":1788925023000,"timestamp_seconds":1788925023,"priority":1,"record_length":96,"hex_timestamp":"000001a0843d9318"} 
[2026-09-09 09:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-09 09:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964803584001,"66":14070,"100":206,"87":13824,"24":5,"16":130267028102578176,"45":8788845066999674880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964803584001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:08:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:08:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130267028102578176,"km_value":130267028102578.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788845066999674880,"description":"Unknown IO ID 45"} 
[2026-09-09 09:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964803584001,"power":14070,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8788845066999674880}} 
[2026-09-09 09:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":175261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:08:07] local.INFO: GPS data processed {"connection_id":175261,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:08:07] local.INFO: Acknowledgment sent {"connection_id":175261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:08:23] local.INFO: TCP Data received {"connection_id":178075,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:08:23] local.INFO: Processing buffer {"connection_id":178075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:08:23] local.INFO: Packet analysis {"connection_id":178075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:08:23] local.INFO: Extracted packet for processing {"connection_id":178075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 09:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":178075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:08:23] local.INFO: GPS data processed {"connection_id":178075,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:08:23] local.INFO: Acknowledgment sent {"connection_id":178075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:08:39] local.INFO: TCP Data received {"connection_id":175261,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843da2b8012d79ffc005ec78e0000c003f25..."} 
[2026-09-09 09:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843da2b8012d79ffc005ec78e0000c003f25..."} 
[2026-09-09 09:08:39] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843da2b8012d79ffc005ec78e0000c003f25..."} 
[2026-09-09 09:08:39] local.INFO: Packet analysis {"connection_id":175261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:08:39] local.INFO: Extracted packet for processing {"connection_id":175261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:08:39] local.INFO: GPS Element Parsed {"raw_longitude":762970048,"raw_latitude":99383520,"longitude_deg":76.2970048,"latitude_deg":9.938352,"altitude":12,"angle":63,"satellites":37,"speed":14,"hex_longitude":"2d79ffc0","hex_latitude":"05ec78e0","is_valid_coordinates":true} 
[2026-09-09 09:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964805888001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130267083937153024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789759860674070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788925027000,"timestamp_ms":1788925027000,"timestamp_seconds":1788925027,"priority":1,"record_length":96,"hex_timestamp":"000001a0843da2b8"} 
[2026-09-09 09:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 09:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964805888001,"66":13852,"100":206,"87":13824,"24":14,"16":130267083937153024,"45":8789759860674070528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964805888001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:08:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:08:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130267083937153024,"km_value":130267083937153.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789759860674070528,"description":"Unknown IO ID 45"} 
[2026-09-09 09:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964805888001,"power":13852,"unknown_100":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8789759860674070528}} 
[2026-09-09 09:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":175261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:08:39] local.INFO: GPS data processed {"connection_id":175261,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:08:39] local.INFO: Acknowledgment sent {"connection_id":175261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:08:39] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:08:39] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:08:39] local.INFO: IMEI packet received {"connection_id":175262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":175262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:08:44] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:08:44] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:08:44] local.INFO: IMEI packet received {"connection_id":175262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:08:45] local.INFO: TCP Data received {"connection_id":178077,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178077,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:08:45] local.INFO: Processing buffer {"connection_id":178077,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:08:45] local.INFO: IMEI packet received {"connection_id":178077,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":178077,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:08:46] local.INFO: TCP Data received {"connection_id":178077,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0843e5e38012d0a82400705aa00001a01481d..."} 
[2026-09-09 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843e5e38012d0a82400705aa00001a01481d..."} 
[2026-09-09 09:08:46] local.INFO: Processing buffer {"connection_id":178077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843e5e38012d0a82400705aa00001a01481d..."} 
[2026-09-09 09:08:46] local.INFO: Packet analysis {"connection_id":178077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843e"} 
[2026-09-09 09:08:46] local.INFO: Extracted packet for processing {"connection_id":178077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843e"} 
[2026-09-09 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":755663424,"raw_latitude":117811712,"longitude_deg":75.5663424,"latitude_deg":11.7811712,"altitude":26,"angle":328,"satellites":29,"speed":13,"hex_longitude":"2d0a8240","hex_latitude":"0705aa00","is_valid_coordinates":true} 
[2026-09-09 09:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964818944001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30896560208347136,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757519561232281600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:46] 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-09-09 09:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925075000,"timestamp_ms":1788925075000,"timestamp_seconds":1788925075,"priority":1,"record_length":96,"hex_timestamp":"000001a0843e5e38"} 
[2026-09-09 09:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178077,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178077,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964818944001,"66":14396,"153":206,"94":10240,"24":13,"16":30896560208347136,"45":757519561232281600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964818944001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:08:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:08:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30896560208347136,"km_value":30896560208347.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":757519561232281600,"description":"Unknown IO ID 45"} 
[2026-09-09 09:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964818944001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757519561232281600}} 
[2026-09-09 09:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":178077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:08:46] local.INFO: GPS data processed {"connection_id":178077,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:08:46] local.INFO: Acknowledgment sent {"connection_id":178077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:08:48] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:08:48] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:08:48] local.INFO: Packet analysis {"connection_id":175262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:08:48] local.INFO: Extracted packet for processing {"connection_id":175262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 09:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:08:48] 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-09-09 09:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":175262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:08:48] local.INFO: GPS data processed {"connection_id":175262,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:08:48] local.INFO: Acknowledgment sent {"connection_id":175262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:09:01] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:09:01] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:09:01] local.INFO: IMEI packet received {"connection_id":175491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":175491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:09:03] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:09:03] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:09:03] local.INFO: IMEI packet received {"connection_id":175491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":175491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:09:05] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843dbe10012d7a08c005ec7d28000b004a26..."} 
[2026-09-09 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843dbe10012d7a08c005ec7d28000b004a26..."} 
[2026-09-09 09:09:05] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843dbe10012d7a08c005ec7d28000b004a26..."} 
[2026-09-09 09:09:05] local.INFO: Packet analysis {"connection_id":175491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:09:05] local.INFO: Extracted packet for processing {"connection_id":175491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":762972352,"raw_latitude":99384616,"longitude_deg":76.2972352,"latitude_deg":9.9384616,"altitude":11,"angle":74,"satellites":38,"speed":5,"hex_longitude":"2d7a08c0","hex_latitude":"05ec7d28","is_valid_coordinates":true} 
[2026-09-09 09:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964806912001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130267208491204608,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790956129325211648,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:05] 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-09-09 09:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788925034000,"timestamp_ms":1788925034000,"timestamp_seconds":1788925034,"priority":1,"record_length":96,"hex_timestamp":"000001a0843dbe10"} 
[2026-09-09 09:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 09:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964806912001,"66":13428,"100":206,"87":13824,"24":5,"16":130267208491204608,"45":8790956129325211648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964806912001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:09:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:09:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130267208491204608,"km_value":130267208491204.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790956129325211648,"description":"Unknown IO ID 45"} 
[2026-09-09 09:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964806912001,"power":13428,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8790956129325211648}} 
[2026-09-09 09:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":175491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:09:05] local.INFO: GPS data processed {"connection_id":175491,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:09:05] local.INFO: Acknowledgment sent {"connection_id":175491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:09:17] local.INFO: TCP Data received {"connection_id":178077,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0843e8930012d0a77000705bfe8001b01591b..."} 
[2026-09-09 09:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843e8930012d0a77000705bfe8001b01591b..."} 
[2026-09-09 09:09:17] local.INFO: Processing buffer {"connection_id":178077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843e8930012d0a77000705bfe8001b01591b..."} 
[2026-09-09 09:09:17] local.INFO: Packet analysis {"connection_id":178077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843e"} 
[2026-09-09 09:09:17] local.INFO: Extracted packet for processing {"connection_id":178077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843e"} 
[2026-09-09 09:09:17] local.INFO: GPS Element Parsed {"raw_longitude":755660544,"raw_latitude":117817320,"longitude_deg":75.5660544,"latitude_deg":11.781732,"altitude":27,"angle":345,"satellites":27,"speed":23,"hex_longitude":"2d0a7700","hex_latitude":"0705bfe8","is_valid_coordinates":true} 
[2026-09-09 09:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964819200001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30896869445992448,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255640576,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:17] 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-09-09 09:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925086000,"timestamp_ms":1788925086000,"timestamp_seconds":1788925086,"priority":1,"record_length":96,"hex_timestamp":"000001a0843e8930"} 
[2026-09-09 09:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178077,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178077,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964819200001,"66":14407,"153":206,"94":10240,"24":23,"16":30896869445992448,"45":757238086255640576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964819200001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:09:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:09:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30896869445992448,"km_value":30896869445992.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255640576,"description":"Unknown IO ID 45"} 
[2026-09-09 09:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964819200001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":757238086255640576}} 
[2026-09-09 09:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":178077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787935,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:09:17] local.INFO: GPS data processed {"connection_id":178077,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:09:17] local.INFO: Acknowledgment sent {"connection_id":178077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:09:20] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:09:20] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:09:20] local.INFO: Packet analysis {"connection_id":175262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:09:20] local.INFO: Extracted packet for processing {"connection_id":175262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 09:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:09:20] 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-09-09 09:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":175262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:09:20] local.INFO: GPS data processed {"connection_id":175262,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:09:20] local.INFO: Acknowledgment sent {"connection_id":175262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:09:36] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843f6fa8012d7a1a8005ec8138000b00ef27..."} 
[2026-09-09 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843f6fa8012d7a1a8005ec8138000b00ef27..."} 
[2026-09-09 09:09:36] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843f6fa8012d7a1a8005ec8138000b00ef27..."} 
[2026-09-09 09:09:36] local.INFO: Packet analysis {"connection_id":175491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:09:36] local.INFO: Extracted packet for processing {"connection_id":175491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":99385656,"longitude_deg":76.2976896,"latitude_deg":9.9385656,"altitude":11,"angle":239,"satellites":39,"speed":10,"hex_longitude":"2d7a1a80","hex_latitude":"05ec8138","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964836864001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130267500548980736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691185348608,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:36] 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-09-09 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788925145000,"timestamp_ms":1788925145000,"timestamp_seconds":1788925145,"priority":1,"record_length":96,"hex_timestamp":"000001a0843f6fa8"} 
[2026-09-09 09:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-09 09:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964836864001,"66":13939,"100":206,"87":13824,"24":10,"16":130267500548980736,"45":8798696691185348608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964836864001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:09:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:09:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130267500548980736,"km_value":130267500548980.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691185348608,"description":"Unknown IO ID 45"} 
[2026-09-09 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964836864001,"power":13939,"unknown_100":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8798696691185348608}} 
[2026-09-09 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":175491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:09:36] local.INFO: GPS data processed {"connection_id":175491,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:09:36] local.INFO: Acknowledgment sent {"connection_id":175491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:09:39] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:09:39] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:09:39] local.INFO: IMEI packet received {"connection_id":176608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":176608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:09:40] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:09:40] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:09:40] local.INFO: IMEI packet received {"connection_id":176610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":176610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:09:44] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:09:44] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:09:44] local.INFO: IMEI packet received {"connection_id":176608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":176608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:09:45] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:09:45] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:09:45] local.INFO: IMEI packet received {"connection_id":176610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":176610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:09:45] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:09:45] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:09:45] local.INFO: Packet analysis {"connection_id":176608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:09:45] local.INFO: Extracted packet for processing {"connection_id":176608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 09:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:09: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-09-09 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":176608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:09:45] local.INFO: GPS data processed {"connection_id":176608,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:09:45] local.INFO: Acknowledgment sent {"connection_id":176608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:09:46] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0843ed750012d0a75800705c708001b015d1d..."} 
[2026-09-09 09:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843ed750012d0a75800705c708001b015d1d..."} 
[2026-09-09 09:09:46] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843ed750012d0a75800705c708001b015d1d..."} 
[2026-09-09 09:09:46] local.INFO: Packet analysis {"connection_id":176610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843e"} 
[2026-09-09 09:09:46] local.INFO: Extracted packet for processing {"connection_id":176610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843e"} 
[2026-09-09 09:09:46] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117819144,"longitude_deg":75.566016,"latitude_deg":11.7819144,"altitude":27,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d0a7580","hex_latitude":"0705c708","is_valid_coordinates":true} 
[2026-09-09 09:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964822016001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30896959640305664,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754071492769081344,"note":"Value kept but may cause issues"} 
[2026-09-09 09:09:46] 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-09-09 09:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925106000,"timestamp_ms":1788925106000,"timestamp_seconds":1788925106,"priority":1,"record_length":96,"hex_timestamp":"000001a0843ed750"} 
[2026-09-09 09:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964822016001,"66":14461,"153":206,"94":10240,"24":0,"16":30896959640305664,"45":754071492769081344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964822016001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:09:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:09:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30896959640305664,"km_value":30896959640305.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":754071492769081344,"description":"Unknown IO ID 45"} 
[2026-09-09 09:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964822016001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":754071492769081344}} 
[2026-09-09 09:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":176610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:09:46] local.INFO: GPS data processed {"connection_id":176610,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:09:46] local.INFO: Acknowledgment sent {"connection_id":176610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:09:59] local.INFO: TCP Data received {"connection_id":178078,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:09:59] local.INFO: Processing buffer {"connection_id":178078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:09:59] local.INFO: IMEI packet received {"connection_id":178078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":178078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:10:01] local.INFO: TCP Data received {"connection_id":178078,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:10:01] local.INFO: Processing buffer {"connection_id":178078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:10:01] local.INFO: IMEI packet received {"connection_id":178078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":178078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:10:06] local.INFO: TCP Data received {"connection_id":178078,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:10:06] local.INFO: Processing buffer {"connection_id":178078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:10:06] local.INFO: IMEI packet received {"connection_id":178078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":178078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:10:07] local.INFO: TCP Data received {"connection_id":178078,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843f7390012d7a198005ec80c8000b010427..."} 
[2026-09-09 09:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843f7390012d7a198005ec80c8000b010427..."} 
[2026-09-09 09:10:07] local.INFO: Processing buffer {"connection_id":178078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843f7390012d7a198005ec80c8000b010427..."} 
[2026-09-09 09:10:07] local.INFO: Packet analysis {"connection_id":178078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:08] local.INFO: Extracted packet for processing {"connection_id":178078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:08] local.INFO: GPS Element Parsed {"raw_longitude":762976640,"raw_latitude":99385544,"longitude_deg":76.297664,"latitude_deg":9.9385544,"altitude":11,"angle":260,"satellites":39,"speed":12,"hex_longitude":"2d7a1980","hex_latitude":"05ec80c8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964837120001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130267517728849920,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584952768512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:08] 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-09-09 09:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788925146000,"timestamp_ms":1788925146000,"timestamp_seconds":1788925146,"priority":1,"record_length":96,"hex_timestamp":"000001a0843f7390"} 
[2026-09-09 09:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-09 09:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964837120001,"66":13765,"100":206,"87":13824,"24":12,"16":130267517728849920,"45":8798485584952768512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964837120001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:10:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:10:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130267517728849920,"km_value":130267517728849.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584952768512,"description":"Unknown IO ID 45"} 
[2026-09-09 09:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964837120001,"power":13765,"unknown_100":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8798485584952768512}} 
[2026-09-09 09:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":178078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:10:08] local.INFO: GPS data processed {"connection_id":178078,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:10:08] local.INFO: Acknowledgment sent {"connection_id":178078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:10:17] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0843f2958012d0a75800705c708001b015d1c..."} 
[2026-09-09 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843f2958012d0a75800705c708001b015d1c..."} 
[2026-09-09 09:10:17] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843f2958012d0a75800705c708001b015d1c..."} 
[2026-09-09 09:10:17] local.INFO: Packet analysis {"connection_id":176610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:17] local.INFO: Extracted packet for processing {"connection_id":176610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:17] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117819144,"longitude_deg":75.566016,"latitude_deg":11.7819144,"altitude":27,"angle":349,"satellites":28,"speed":0,"hex_longitude":"2d0a7580","hex_latitude":"0705c708","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964827136001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30896959640305664,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280304482304,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:17] 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-09-09 09:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925127000,"timestamp_ms":1788925127000,"timestamp_seconds":1788925127,"priority":1,"record_length":96,"hex_timestamp":"000001a0843f2958"} 
[2026-09-09 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-09-09 09:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 09:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964827136001,"66":14396,"153":206,"94":10240,"24":0,"16":30896959640305664,"45":753649280304482304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964827136001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:10:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:10:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30896959640305664,"km_value":30896959640305.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280304482304,"description":"Unknown IO ID 45"} 
[2026-09-09 09:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964827136001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753649280304482304}} 
[2026-09-09 09:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":176610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:10:17] local.INFO: GPS data processed {"connection_id":176610,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:10:17] local.INFO: Acknowledgment sent {"connection_id":176610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:10:17] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:10:17] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:10:17] local.INFO: Packet analysis {"connection_id":176608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:10:17] local.INFO: Extracted packet for processing {"connection_id":176608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 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-09-09 09:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":176608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:10:17] local.INFO: GPS data processed {"connection_id":176608,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:10:17] local.INFO: Acknowledgment sent {"connection_id":176608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:10:39] local.INFO: TCP Data received {"connection_id":178078,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843faa40012d79fe4005ec77a0000e00f725..."} 
[2026-09-09 09:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843faa40012d79fe4005ec77a0000e00f725..."} 
[2026-09-09 09:10:39] local.INFO: Processing buffer {"connection_id":178078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843faa40012d79fe4005ec77a0000e00f725..."} 
[2026-09-09 09:10:39] local.INFO: Packet analysis {"connection_id":178078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:39] local.INFO: Extracted packet for processing {"connection_id":178078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:39] local.INFO: GPS Element Parsed {"raw_longitude":762969664,"raw_latitude":99383200,"longitude_deg":76.2969664,"latitude_deg":9.93832,"altitude":14,"angle":247,"satellites":37,"speed":18,"hex_longitude":"2d79fe40","hex_latitude":"05ec77a0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964837376001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130267869916168192,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798204109976029184,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788925160000,"timestamp_ms":1788925160000,"timestamp_seconds":1788925160,"priority":1,"record_length":96,"hex_timestamp":"000001a0843faa40"} 
[2026-09-09 09:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 09:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964837376001,"66":13450,"100":206,"87":13824,"24":18,"16":130267869916168192,"45":8798204109976029184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964837376001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:10:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:10:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130267869916168192,"km_value":130267869916168.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798204109976029184,"description":"Unknown IO ID 45"} 
[2026-09-09 09:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964837376001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8798204109976029184}} 
[2026-09-09 09:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":178078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:10:39] local.INFO: GPS data processed {"connection_id":178078,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:10:39] local.INFO: Acknowledgment sent {"connection_id":178078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:10:39] local.INFO: TCP Data received {"connection_id":178079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:10:39] local.INFO: Processing buffer {"connection_id":178079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:10:39] local.INFO: IMEI packet received {"connection_id":178079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":178079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:10:44] local.INFO: TCP Data received {"connection_id":178079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:10:44] local.INFO: Processing buffer {"connection_id":178079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:10:44] local.INFO: IMEI packet received {"connection_id":178079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":178079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:10:45] local.INFO: TCP Data received {"connection_id":176611,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:10:45] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:10:45] local.INFO: IMEI packet received {"connection_id":176611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":176611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:10:45] local.INFO: TCP Data received {"connection_id":178079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:10:45] local.INFO: Processing buffer {"connection_id":178079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:10:45] local.INFO: Packet analysis {"connection_id":178079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:10:45] local.INFO: Extracted packet for processing {"connection_id":178079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 09:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:10: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-09-09 09:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:10:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":178079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:10:45] local.INFO: GPS data processed {"connection_id":178079,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:10:45] local.INFO: Acknowledgment sent {"connection_id":178079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:10:46] local.INFO: TCP Data received {"connection_id":176611,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:10:46] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:10:46] local.INFO: IMEI packet received {"connection_id":176611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":176611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:10:46] local.INFO: TCP Data received {"connection_id":176611,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0843f7b60012d0a75800705c708001b015d1c..."} 
[2026-09-09 09:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843f7b60012d0a75800705c708001b015d1c..."} 
[2026-09-09 09:10:46] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843f7b60012d0a75800705c708001b015d1c..."} 
[2026-09-09 09:10:46] local.INFO: Packet analysis {"connection_id":176611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:46] local.INFO: Extracted packet for processing {"connection_id":176611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117819144,"longitude_deg":75.566016,"latitude_deg":11.7819144,"altitude":27,"angle":349,"satellites":28,"speed":0,"hex_longitude":"2d0a7580","hex_latitude":"0705c708","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964832512001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30896959640305664,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280304482304,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:46] 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-09-09 09:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925148000,"timestamp_ms":1788925148000,"timestamp_seconds":1788925148,"priority":1,"record_length":96,"hex_timestamp":"000001a0843f7b60"} 
[2026-09-09 09:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964832512001,"66":14548,"153":206,"94":10240,"24":0,"16":30896959640305664,"45":753649280304482304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964832512001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:10:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:10:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30896959640305664,"km_value":30896959640305.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280304482304,"description":"Unknown IO ID 45"} 
[2026-09-09 09:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964832512001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753649280304482304}} 
[2026-09-09 09:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":176611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:10:47] local.INFO: GPS data processed {"connection_id":176611,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:10:47] local.INFO: Acknowledgment sent {"connection_id":176611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:10:47] local.INFO: TCP Data received {"connection_id":176611,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0843fcd68012d0a75800705c708001b015d1c..."} 
[2026-09-09 09:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843fcd68012d0a75800705c708001b015d1c..."} 
[2026-09-09 09:10:47] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843fcd68012d0a75800705c708001b015d1c..."} 
[2026-09-09 09:10:47] local.INFO: Packet analysis {"connection_id":176611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:47] local.INFO: Extracted packet for processing {"connection_id":176611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:10:47] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117819144,"longitude_deg":75.566016,"latitude_deg":11.7819144,"altitude":27,"angle":349,"satellites":28,"speed":0,"hex_longitude":"2d0a7580","hex_latitude":"0705c708","is_valid_coordinates":true} 
[2026-09-09 09:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964837888001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30896959640305664,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280304482304,"note":"Value kept but may cause issues"} 
[2026-09-09 09:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788925169000,"timestamp_ms":1788925169000,"timestamp_seconds":1788925169,"priority":1,"record_length":96,"hex_timestamp":"000001a0843fcd68"} 
[2026-09-09 09:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 09:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964837888001,"66":14439,"153":206,"94":10240,"24":0,"16":30896959640305664,"45":753649280304482304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964837888001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:10:47] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:10:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30896959640305664,"km_value":30896959640305.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280304482304,"description":"Unknown IO ID 45"} 
[2026-09-09 09:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964837888001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753649280304482304}} 
[2026-09-09 09:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":176611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787946,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:10:47] local.INFO: GPS data processed {"connection_id":176611,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:10:47] local.INFO: Acknowledgment sent {"connection_id":176611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:11:01] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:11:01] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:11:01] local.INFO: IMEI packet received {"connection_id":175493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":175493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:11:06] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:11:06] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:11:06] local.INFO: IMEI packet received {"connection_id":175493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":175493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:11:07] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843feca8012d79f7c005ec7530000e013127..."} 
[2026-09-09 09:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843feca8012d79f7c005ec7530000e013127..."} 
[2026-09-09 09:11:07] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843feca8012d79f7c005ec7530000e013127..."} 
[2026-09-09 09:11:07] local.INFO: Packet analysis {"connection_id":175493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:11:07] local.INFO: Extracted packet for processing {"connection_id":175493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:11:07] local.INFO: GPS Element Parsed {"raw_longitude":762968000,"raw_latitude":99382576,"longitude_deg":76.2968,"latitude_deg":9.9382576,"altitude":14,"angle":305,"satellites":39,"speed":6,"hex_longitude":"2d79f7c0","hex_latitude":"05ec7530","is_valid_coordinates":true} 
[2026-09-09 09:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964840960001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130267960110481408,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790533916860063744,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:07] 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-09-09 09:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925177000,"timestamp_ms":1788925177000,"timestamp_seconds":1788925177,"priority":1,"record_length":96,"hex_timestamp":"000001a0843feca8"} 
[2026-09-09 09:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-09 09:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964840960001,"66":13656,"100":206,"87":13824,"24":6,"16":130267960110481408,"45":8790533916860063744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964840960001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:11:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:11:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130267960110481408,"km_value":130267960110481.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790533916860063744,"description":"Unknown IO ID 45"} 
[2026-09-09 09:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964840960001,"power":13656,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8790533916860063744}} 
[2026-09-09 09:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":175493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:11:07] local.INFO: GPS data processed {"connection_id":175493,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:11:07] local.INFO: Acknowledgment sent {"connection_id":175493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:11:16] local.INFO: TCP Data received {"connection_id":178079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:11:16] local.INFO: Processing buffer {"connection_id":178079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:11:16] local.INFO: Packet analysis {"connection_id":178079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:11:16] local.INFO: Extracted packet for processing {"connection_id":178079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 09:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:11:16] 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-09-09 09:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":178079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:11:16] local.INFO: GPS data processed {"connection_id":178079,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:11:16] local.INFO: Acknowledgment sent {"connection_id":178079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:11:17] local.INFO: TCP Data received {"connection_id":175492,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:11:17] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:11:17] local.INFO: IMEI packet received {"connection_id":175492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":175492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:11:18] local.INFO: TCP Data received {"connection_id":176611,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0843fe0f0012d0a75000705c688001a00ac1c..."} 
[2026-09-09 09:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843fe0f0012d0a75000705c688001a00ac1c..."} 
[2026-09-09 09:11:18] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843fe0f0012d0a75000705c688001a00ac1c..."} 
[2026-09-09 09:11:18] local.INFO: Packet analysis {"connection_id":176611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:11:18] local.INFO: Extracted packet for processing {"connection_id":176611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:11:18] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117819016,"longitude_deg":75.5660032,"latitude_deg":11.7819016,"altitude":26,"angle":172,"satellites":28,"speed":1,"hex_longitude":"2d0a7500","hex_latitude":"0705c688","is_valid_coordinates":true} 
[2026-09-09 09:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964843264001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30896968230240256,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280304482304,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:18] 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-09-09 09:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788925174000,"timestamp_ms":1788925174000,"timestamp_seconds":1788925174,"priority":1,"record_length":96,"hex_timestamp":"000001a0843fe0f0"} 
[2026-09-09 09:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:11: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-09-09 09:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:11:18] 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-09-09 09:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964843264001,"66":14407,"153":206,"94":10240,"24":1,"16":30896968230240256,"45":753649280304482304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964843264001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:11:18] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:11:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30896968230240256,"km_value":30896968230240.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280304482304,"description":"Unknown IO ID 45"} 
[2026-09-09 09:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964843264001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753649280304482304}} 
[2026-09-09 09:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":176611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787949,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:11:19] local.INFO: GPS data processed {"connection_id":176611,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:11:19] local.INFO: Acknowledgment sent {"connection_id":176611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:11:38] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0843ff478012d79f6c005ec7618000e014e27..."} 
[2026-09-09 09:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843ff478012d79f6c005ec7618000e014e27..."} 
[2026-09-09 09:11:38] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843ff478012d79f6c005ec7618000e014e27..."} 
[2026-09-09 09:11:38] local.INFO: Packet analysis {"connection_id":175493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:11:38] local.INFO: Extracted packet for processing {"connection_id":175493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843f"} 
[2026-09-09 09:11:38] local.INFO: GPS Element Parsed {"raw_longitude":762967744,"raw_latitude":99382808,"longitude_deg":76.2967744,"latitude_deg":9.9382808,"altitude":14,"angle":334,"satellites":39,"speed":7,"hex_longitude":"2d79f6c0","hex_latitude":"05ec7618","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964845312001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130267977290350592,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788704329511284736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:38] 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-09-09 09:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788925179000,"timestamp_ms":1788925179000,"timestamp_seconds":1788925179,"priority":1,"record_length":96,"hex_timestamp":"000001a0843ff478"} 
[2026-09-09 09:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 09:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964845312001,"66":13852,"100":206,"87":13824,"24":7,"16":130267977290350592,"45":8788704329511284736},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964845312001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:11:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:11:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130267977290350592,"km_value":130267977290350.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788704329511284736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964845312001,"power":13852,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8788704329511284736}} 
[2026-09-09 09:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":175493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:11:39] local.INFO: GPS data processed {"connection_id":175493,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:11:39] local.INFO: Acknowledgment sent {"connection_id":175493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:11:40] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:11:40] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:11:40] local.INFO: IMEI packet received {"connection_id":176612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":176612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:11:42] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:11:42] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:11:42] local.INFO: IMEI packet received {"connection_id":175264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":175264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:11:44] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:11:44] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:11:44] local.INFO: IMEI packet received {"connection_id":175263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":175263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:11:45] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:11:45] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:11:45] local.INFO: IMEI packet received {"connection_id":176612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":176612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:11:46] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0844013b8012d0a74c00705c5c0001b01391d..."} 
[2026-09-09 09:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844013b8012d0a74c00705c5c0001b01391d..."} 
[2026-09-09 09:11:46] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844013b8012d0a74c00705c5c0001b01391d..."} 
[2026-09-09 09:11:46] local.INFO: Packet analysis {"connection_id":176612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08440"} 
[2026-09-09 09:11:46] local.INFO: Extracted packet for processing {"connection_id":176612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08440"} 
[2026-09-09 09:11:46] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117818816,"longitude_deg":75.5659968,"latitude_deg":11.7818816,"altitude":27,"angle":313,"satellites":29,"speed":1,"hex_longitude":"2d0a74c0","hex_latitude":"0705c5c0","is_valid_coordinates":true} 
[2026-09-09 09:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964844544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30896989705076736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542816094208,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:46] 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-09-09 09:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925187000,"timestamp_ms":1788925187000,"timestamp_seconds":1788925187,"priority":1,"record_length":96,"hex_timestamp":"000001a0844013b8"} 
[2026-09-09 09:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964844544001,"66":14407,"153":206,"94":10240,"24":1,"16":30896989705076736,"45":753508542816094208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964844544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:11:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:11:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30896989705076736,"km_value":30896989705076.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542816094208,"description":"Unknown IO ID 45"} 
[2026-09-09 09:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964844544001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753508542816094208}} 
[2026-09-09 09:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":176612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787951,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:11:46] local.INFO: GPS data processed {"connection_id":176612,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:11:46] local.INFO: Acknowledgment sent {"connection_id":176612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:11:49] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:11:49] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:11:49] local.INFO: IMEI packet received {"connection_id":175263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":175263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:11:50] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:11:50] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:11:50] local.INFO: Packet analysis {"connection_id":175263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:11:50] local.INFO: Extracted packet for processing {"connection_id":175263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 09:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:11:50] 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-09-09 09:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:11:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":175263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:11:50] local.INFO: GPS data processed {"connection_id":175263,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:11:50] local.INFO: Acknowledgment sent {"connection_id":175263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:11:55] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:11:55] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0843db640012d34c14006aa4370000800022a..."} 
[2026-09-09 09:11:55] local.INFO: Packet analysis {"connection_id":175263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:11:55] local.INFO: Extracted packet for processing {"connection_id":175263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0843d"} 
[2026-09-09 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964737024001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788925032000,"timestamp_ms":1788925032000,"timestamp_seconds":1788925032,"priority":1,"record_length":96,"hex_timestamp":"000001a0843db640"} 
[2026-09-09 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-09-09 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:11:55] 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-09-09 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-09-09 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-09-09 09:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964737024001,"66":25593,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964737024001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:11:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:11:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964737024001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":175263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:11:55] local.INFO: GPS data processed {"connection_id":175263,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:11:55] local.INFO: Acknowledgment sent {"connection_id":175263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:12:01] local.INFO: TCP Data received {"connection_id":176613,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:12:01] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:12:01] local.INFO: IMEI packet received {"connection_id":176613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":176613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:12:06] local.INFO: TCP Data received {"connection_id":176613,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:12:06] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:12:06] local.INFO: IMEI packet received {"connection_id":176613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":176613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:12:07] local.INFO: TCP Data received {"connection_id":176613,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084403eb0012d79e74005ec95a8000c015726..."} 
[2026-09-09 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084403eb0012d79e74005ec95a8000c015726..."} 
[2026-09-09 09:12:07] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084403eb0012d79e74005ec95a8000c015726..."} 
[2026-09-09 09:12:07] local.INFO: Packet analysis {"connection_id":176613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08440"} 
[2026-09-09 09:12:07] local.INFO: Extracted packet for processing {"connection_id":176613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08440"} 
[2026-09-09 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":762963776,"raw_latitude":99390888,"longitude_deg":76.2963776,"latitude_deg":9.9390888,"altitude":12,"angle":343,"satellites":38,"speed":11,"hex_longitude":"2d79e740","hex_latitude":"05ec95a8","is_valid_coordinates":true} 
[2026-09-09 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964845824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130268415377014784,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788422854534633472,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:07] 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-09-09 09:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925198000,"timestamp_ms":1788925198000,"timestamp_seconds":1788925198,"priority":1,"record_length":96,"hex_timestamp":"000001a084403eb0"} 
[2026-09-09 09:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 09:12: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-09-09 09: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-09-09 09:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964845824001,"66":13678,"100":206,"87":13824,"24":11,"16":130268415377014784,"45":8788422854534633472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964845824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:12:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:12:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130268415377014784,"km_value":130268415377014.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788422854534633472,"description":"Unknown IO ID 45"} 
[2026-09-09 09:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964845824001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8788422854534633472}} 
[2026-09-09 09:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":176613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:12:07] local.INFO: GPS data processed {"connection_id":176613,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:12:07] local.INFO: Acknowledgment sent {"connection_id":176613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:12:17] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084424a20012d0a75c0070615f8000e00281c..."} 
[2026-09-09 09:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084424a20012d0a75c0070615f8000e00281c..."} 
[2026-09-09 09:12:17] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084424a20012d0a75c0070615f8000e00281c..."} 
[2026-09-09 09:12:17] local.INFO: Packet analysis {"connection_id":176612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:17] local.INFO: Extracted packet for processing {"connection_id":176612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:17] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117839352,"longitude_deg":75.5660224,"latitude_deg":11.7839352,"altitude":14,"angle":40,"satellites":28,"speed":11,"hex_longitude":"2d0a75c0","hex_latitude":"070615f8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964884736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30898046267031552,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911565418496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:17] 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-09-09 09:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925332000,"timestamp_ms":1788925332000,"timestamp_seconds":1788925332,"priority":1,"record_length":96,"hex_timestamp":"000001a084424a20"} 
[2026-09-09 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-09-09 09:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 09:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964884736001,"66":14396,"153":206,"94":10240,"24":11,"16":30898046267031552,"45":753578911565418496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964884736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:12:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:12:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30898046267031552,"km_value":30898046267031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911565418496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964884736001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":753578911565418496}} 
[2026-09-09 09:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":176612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787955,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:12:17] local.INFO: GPS data processed {"connection_id":176612,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:12:17] local.INFO: Acknowledgment sent {"connection_id":176612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:12:39] local.INFO: TCP Data received {"connection_id":176613,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084407560012d79e08005eca6c00009014c27..."} 
[2026-09-09 09:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084407560012d79e08005eca6c00009014c27..."} 
[2026-09-09 09:12:39] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084407560012d79e08005eca6c00009014c27..."} 
[2026-09-09 09:12:39] local.INFO: Packet analysis {"connection_id":176613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08440"} 
[2026-09-09 09:12:39] local.INFO: Extracted packet for processing {"connection_id":176613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08440"} 
[2026-09-09 09:12:39] local.INFO: GPS Element Parsed {"raw_longitude":762962048,"raw_latitude":99395264,"longitude_deg":76.2962048,"latitude_deg":9.9395264,"altitude":9,"angle":332,"satellites":39,"speed":10,"hex_longitude":"2d79e080","hex_latitude":"05eca6c0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964850688001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130268643010281472,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784059992397686784,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788925212000,"timestamp_ms":1788925212000,"timestamp_seconds":1788925212,"priority":1,"record_length":96,"hex_timestamp":"000001a084407560"} 
[2026-09-09 09:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 09:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964850688001,"66":13624,"100":206,"87":13824,"24":10,"16":130268643010281472,"45":8784059992397686784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964850688001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:12:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:12:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130268643010281472,"km_value":130268643010281.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784059992397686784,"description":"Unknown IO ID 45"} 
[2026-09-09 09:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964850688001,"power":13624,"unknown_100":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8784059992397686784}} 
[2026-09-09 09:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":176613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:12:39] local.INFO: GPS data processed {"connection_id":176613,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:12:39] local.INFO: Acknowledgment sent {"connection_id":176613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:12:39] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:12:39] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:12:39] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:12:40] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:12:40] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:12:40] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:12:41] local.INFO: TCP Data received {"connection_id":175266,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175266,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:12:41] local.INFO: Processing buffer {"connection_id":175266,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:12:41] local.INFO: IMEI packet received {"connection_id":175266,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":175266,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:12:43] local.INFO: TCP Data received {"connection_id":175266,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175266,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:12:43] local.INFO: Processing buffer {"connection_id":175266,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:12:43] local.INFO: IMEI packet received {"connection_id":175266,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":175266,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:12:43] local.INFO: TCP Data received {"connection_id":175266,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084424e08012d0a7680070616b8000e003b1d..."} 
[2026-09-09 09:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084424e08012d0a7680070616b8000e003b1d..."} 
[2026-09-09 09:12:43] local.INFO: Processing buffer {"connection_id":175266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084424e08012d0a7680070616b8000e003b1d..."} 
[2026-09-09 09:12:43] local.INFO: Packet analysis {"connection_id":175266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:43] local.INFO: Extracted packet for processing {"connection_id":175266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:43] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117839544,"longitude_deg":75.5660416,"latitude_deg":11.7839544,"altitude":14,"angle":59,"satellites":29,"speed":11,"hex_longitude":"2d0a7680","hex_latitude":"070616b8","is_valid_coordinates":true} 
[2026-09-09 09:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964884992001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30898059151933440,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649053833216,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:43] 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-09-09 09:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788925333000,"timestamp_ms":1788925333000,"timestamp_seconds":1788925333,"priority":1,"record_length":96,"hex_timestamp":"000001a084424e08"} 
[2026-09-09 09:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175266,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175266,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964884992001,"66":14396,"153":206,"94":10240,"24":11,"16":30898059151933440,"45":753719649053833216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964884992001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:12:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:12:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30898059151933440,"km_value":30898059151933.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649053833216,"description":"Unknown IO ID 45"} 
[2026-09-09 09:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964884992001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":753719649053833216}} 
[2026-09-09 09:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":175266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787957,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:12:44] local.INFO: GPS data processed {"connection_id":175266,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:12:44] local.INFO: Acknowledgment sent {"connection_id":175266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:12:44] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:12:44] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:12:44] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:12:45] local.INFO: TCP Data received {"connection_id":175266,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0844251f0012d0a77c007061730000e004d1d..."} 
[2026-09-09 09:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844251f0012d0a77c007061730000e004d1d..."} 
[2026-09-09 09:12:45] local.INFO: Processing buffer {"connection_id":175266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844251f0012d0a77c007061730000e004d1d..."} 
[2026-09-09 09:12:45] local.INFO: Packet analysis {"connection_id":175266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:45] local.INFO: Extracted packet for processing {"connection_id":175266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:45] local.INFO: GPS Element Parsed {"raw_longitude":755660736,"raw_latitude":117839664,"longitude_deg":75.5660736,"latitude_deg":11.7839664,"altitude":14,"angle":77,"satellites":29,"speed":12,"hex_longitude":"2d0a77c0","hex_latitude":"07061730","is_valid_coordinates":true} 
[2026-09-09 09:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964885248001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30898072036835328,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755286415360,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12: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-09-09 09:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925334000,"timestamp_ms":1788925334000,"timestamp_seconds":1788925334,"priority":1,"record_length":96,"hex_timestamp":"000001a0844251f0"} 
[2026-09-09 09:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:12: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-09-09 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175266,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175266,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964885248001,"66":14330,"153":206,"94":10240,"24":12,"16":30898072036835328,"45":753930755286415360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964885248001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:12:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:12:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30898072036835328,"km_value":30898072036835.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755286415360,"description":"Unknown IO ID 45"} 
[2026-09-09 09:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964885248001,"power":14330,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":753930755286415360}} 
[2026-09-09 09:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":175266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:12:45] local.INFO: GPS data processed {"connection_id":175266,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:12:45] local.INFO: Acknowledgment sent {"connection_id":175266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:12:45] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:12:45] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:12:45] local.INFO: Packet analysis {"connection_id":175265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:45] local.INFO: Extracted packet for processing {"connection_id":175265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:12: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-09-09 09: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:12:45] 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-09-09 09:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":175265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:12:45] local.INFO: GPS data processed {"connection_id":175265,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:12:45] local.INFO: Acknowledgment sent {"connection_id":175265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:12:52] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:12:52] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:12:52] local.INFO: Packet analysis {"connection_id":175265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:52] local.INFO: Extracted packet for processing {"connection_id":175265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":175265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:12:52] local.INFO: GPS data processed {"connection_id":175265,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:12:52] local.INFO: Acknowledgment sent {"connection_id":175265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:13:01] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:13:01] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:13:01] local.INFO: IMEI packet received {"connection_id":175267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":175267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:13:06] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:13:06] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:13:06] local.INFO: IMEI packet received {"connection_id":175267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":175267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:13:07] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08440c768012d79df0005ecaa580008014f23..."} 
[2026-09-09 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08440c768012d79df0005ecaa580008014f23..."} 
[2026-09-09 09:13:07] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08440c768012d79df0005ecaa580008014f23..."} 
[2026-09-09 09:13:07] local.INFO: Packet analysis {"connection_id":175267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08440"} 
[2026-09-09 09:13:07] local.INFO: Extracted packet for processing {"connection_id":175267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08440"} 
[2026-09-09 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":762961664,"raw_latitude":99396184,"longitude_deg":76.2961664,"latitude_deg":9.9396184,"altitude":8,"angle":335,"satellites":35,"speed":0,"hex_longitude":"2d79df00","hex_latitude":"05ecaa58","is_valid_coordinates":true} 
[2026-09-09 09:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964854272001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130268694549889024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782160036306010112,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:07] 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-09-09 09:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925233000,"timestamp_ms":1788925233000,"timestamp_seconds":1788925233,"priority":1,"record_length":96,"hex_timestamp":"000001a08440c768"} 
[2026-09-09 09:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 09:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964854272001,"66":13472,"100":206,"87":13824,"24":0,"16":130268694549889024,"45":8782160036306010112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964854272001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:13:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:13:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130268694549889024,"km_value":130268694549889.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782160036306010112,"description":"Unknown IO ID 45"} 
[2026-09-09 09:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964854272001,"power":13472,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782160036306010112}} 
[2026-09-09 09:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":175267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:13:07] local.INFO: GPS data processed {"connection_id":175267,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:13:07] local.INFO: Acknowledgment sent {"connection_id":175267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:13:16] local.INFO: TCP Data received {"connection_id":175266,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0844255d8012d0a78c007061750000e005b1d..."} 
[2026-09-09 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844255d8012d0a78c007061750000e005b1d..."} 
[2026-09-09 09:13:16] local.INFO: Processing buffer {"connection_id":175266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844255d8012d0a78c007061750000e005b1d..."} 
[2026-09-09 09:13:16] local.INFO: Packet analysis {"connection_id":175266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:13:16] local.INFO: Extracted packet for processing {"connection_id":175266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:13:16] local.INFO: GPS Element Parsed {"raw_longitude":755660992,"raw_latitude":117839696,"longitude_deg":75.5660992,"latitude_deg":11.7839696,"altitude":14,"angle":91,"satellites":29,"speed":13,"hex_longitude":"2d0a78c0","hex_latitude":"07061750","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964885504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30898089216704512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754282599007334400,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:16] 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-09-09 09:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788925335000,"timestamp_ms":1788925335000,"timestamp_seconds":1788925335,"priority":1,"record_length":96,"hex_timestamp":"000001a0844255d8"} 
[2026-09-09 09:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-09 09:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175266,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175266,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964885504001,"66":14330,"153":206,"94":10240,"24":13,"16":30898089216704512,"45":754282599007334400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964885504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:13:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:13:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30898089216704512,"km_value":30898089216704.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":754282599007334400,"description":"Unknown IO ID 45"} 
[2026-09-09 09:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964885504001,"power":14330,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":754282599007334400}} 
[2026-09-09 09:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":175266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:13:16] local.INFO: GPS data processed {"connection_id":175266,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:13:16] local.INFO: Acknowledgment sent {"connection_id":175266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:13:23] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:13:23] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:13:23] local.INFO: Packet analysis {"connection_id":175265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:13:23] local.INFO: Extracted packet for processing {"connection_id":175265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":175265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:13:23] local.INFO: GPS data processed {"connection_id":175265,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:13:23] local.INFO: Acknowledgment sent {"connection_id":175265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:13:38] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084411970012d79df0005ecaa580008014f25..."} 
[2026-09-09 09:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084411970012d79df0005ecaa580008014f25..."} 
[2026-09-09 09:13:38] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084411970012d79df0005ecaa580008014f25..."} 
[2026-09-09 09:13:38] local.INFO: Packet analysis {"connection_id":175267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08441"} 
[2026-09-09 09:13:38] local.INFO: Extracted packet for processing {"connection_id":175267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08441"} 
[2026-09-09 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":762961664,"raw_latitude":99396184,"longitude_deg":76.2961664,"latitude_deg":9.9396184,"altitude":8,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d79df00","hex_latitude":"05ecaa58","is_valid_coordinates":true} 
[2026-09-09 09:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964859648001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130268694549889024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8781737823841179648,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:38] 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-09-09 09:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788925254000,"timestamp_ms":1788925254000,"timestamp_seconds":1788925254,"priority":1,"record_length":96,"hex_timestamp":"000001a084411970"} 
[2026-09-09 09:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 09:13: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-09-09 09:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964859648001,"66":14135,"100":206,"87":13824,"24":0,"16":130268694549889024,"45":8781737823841179648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964859648001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:13:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:13:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130268694549889024,"km_value":130268694549889.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8781737823841179648,"description":"Unknown IO ID 45"} 
[2026-09-09 09:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964859648001,"power":14135,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8781737823841179648}} 
[2026-09-09 09:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":175267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:13:38] local.INFO: GPS data processed {"connection_id":175267,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:13:38] local.INFO: Acknowledgment sent {"connection_id":175267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:13:39] local.INFO: TCP Data received {"connection_id":176615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:13:39] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:13:39] local.INFO: IMEI packet received {"connection_id":176615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":176615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:13:40] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:13:40] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:13:40] local.INFO: IMEI packet received {"connection_id":176614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":176614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:13:44] local.INFO: TCP Data received {"connection_id":176615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:13:44] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:13:44] local.INFO: IMEI packet received {"connection_id":176615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":176615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:13:45] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:13:45] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:13:45] local.INFO: IMEI packet received {"connection_id":176614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":176614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:13:45] local.INFO: TCP Data received {"connection_id":176615,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:13:45] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:13:45] local.INFO: Packet analysis {"connection_id":176615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:13:45] local.INFO: Extracted packet for processing {"connection_id":176615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:13: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-09-09 09:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:13:45] 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-09-09 09:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:13:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":176615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:13:45] local.INFO: GPS data processed {"connection_id":176615,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:13:45] local.INFO: Acknowledgment sent {"connection_id":176615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:13:46] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0844376e8012d0a7c0007061800000d01181c..."} 
[2026-09-09 09:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844376e8012d0a7c0007061800000d01181c..."} 
[2026-09-09 09:13:46] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844376e8012d0a7c0007061800000d01181c..."} 
[2026-09-09 09:13:46] local.INFO: Packet analysis {"connection_id":176614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:13:46] local.INFO: Extracted packet for processing {"connection_id":176614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:13:46] local.INFO: GPS Element Parsed {"raw_longitude":755661824,"raw_latitude":117839872,"longitude_deg":75.5661824,"latitude_deg":11.7839872,"altitude":13,"angle":280,"satellites":28,"speed":10,"hex_longitude":"2d0a7c00","hex_latitude":"07061800","is_valid_coordinates":true} 
[2026-09-09 09:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964902400001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30898505828532224,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758363986169444352,"note":"Value kept but may cause issues"} 
[2026-09-09 09:13:46] 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-09-09 09:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925409000,"timestamp_ms":1788925409000,"timestamp_seconds":1788925409,"priority":1,"record_length":96,"hex_timestamp":"000001a0844376e8"} 
[2026-09-09 09:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:13: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-09-09 09:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 09:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964902400001,"66":14494,"153":206,"94":10240,"24":10,"16":30898505828532224,"45":758363986169444352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964902400001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:13:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:13:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30898505828532224,"km_value":30898505828532.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":758363986169444352,"description":"Unknown IO ID 45"} 
[2026-09-09 09:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964902400001,"power":14494,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":758363986169444352}} 
[2026-09-09 09:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":176614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787966,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:13:46] local.INFO: GPS data processed {"connection_id":176614,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:13:46] local.INFO: Acknowledgment sent {"connection_id":176614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:14:06] local.INFO: TCP Data received {"connection_id":178081,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:14:06] local.INFO: Processing buffer {"connection_id":178081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:14:06] local.INFO: IMEI packet received {"connection_id":178081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":178081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:14:11] local.INFO: TCP Data received {"connection_id":178081,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:14:11] local.INFO: Processing buffer {"connection_id":178081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:14:11] local.INFO: IMEI packet received {"connection_id":178081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":178081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:14:12] local.INFO: TCP Data received {"connection_id":178081,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084438e58012d79e90005ec9510000a00a027..."} 
[2026-09-09 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084438e58012d79e90005ec9510000a00a027..."} 
[2026-09-09 09:14:12] local.INFO: Processing buffer {"connection_id":178081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084438e58012d79e90005ec9510000a00a027..."} 
[2026-09-09 09:14:12] local.INFO: Packet analysis {"connection_id":178081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:12] local.INFO: Extracted packet for processing {"connection_id":178081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":762964224,"raw_latitude":99390736,"longitude_deg":76.2964224,"latitude_deg":9.9390736,"altitude":10,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2d79e900","hex_latitude":"05ec9510","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964900864001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130269033852305408,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617515163648,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14: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-09-09 09:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788925415000,"timestamp_ms":1788925415000,"timestamp_seconds":1788925415,"priority":1,"record_length":96,"hex_timestamp":"000001a084438e58"} 
[2026-09-09 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-09-09 09:14: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-09-09 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-09 09:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964900864001,"66":14070,"100":206,"87":13824,"24":0,"16":130269033852305408,"45":8782652617515163648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964900864001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:14:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:14:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130269033852305408,"km_value":130269033852305.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617515163648,"description":"Unknown IO ID 45"} 
[2026-09-09 09:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964900864001,"power":14070,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782652617515163648}} 
[2026-09-09 09:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":178081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:14:12] local.INFO: GPS data processed {"connection_id":178081,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:14:12] local.INFO: Acknowledgment sent {"connection_id":178081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:14:13] local.INFO: TCP Data received {"connection_id":178081,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08443d0c0012d79f0c005ec81a0000a009429..."} 
[2026-09-09 09:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08443d0c0012d79f0c005ec81a0000a009429..."} 
[2026-09-09 09:14:13] local.INFO: Processing buffer {"connection_id":178081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08443d0c0012d79f0c005ec81a0000a009429..."} 
[2026-09-09 09:14:13] local.INFO: Packet analysis {"connection_id":178081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:13] local.INFO: Extracted packet for processing {"connection_id":178081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:13] local.INFO: GPS Element Parsed {"raw_longitude":762966208,"raw_latitude":99385760,"longitude_deg":76.2966208,"latitude_deg":9.938576,"altitude":10,"angle":148,"satellites":41,"speed":19,"hex_longitude":"2d79f0c0","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964906240001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130269295845310464,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784552573606891520,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14: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-09-09 09:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788925432000,"timestamp_ms":1788925432000,"timestamp_seconds":1788925432,"priority":1,"record_length":96,"hex_timestamp":"000001a08443d0c0"} 
[2026-09-09 09:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:14: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-09-09 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 09:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964906240001,"66":14157,"100":206,"87":13824,"24":19,"16":130269295845310464,"45":8784552573606891520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964906240001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:14:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:14:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130269295845310464,"km_value":130269295845310.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784552573606891520,"description":"Unknown IO ID 45"} 
[2026-09-09 09:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964906240001,"power":14157,"unknown_100":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8784552573606891520}} 
[2026-09-09 09:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":178081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:14:13] local.INFO: GPS data processed {"connection_id":178081,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:14:13] local.INFO: Acknowledgment sent {"connection_id":178081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:14:16] local.INFO: TCP Data received {"connection_id":176615,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:14:16] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:14:16] local.INFO: Packet analysis {"connection_id":176615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:14:16] local.INFO: Extracted packet for processing {"connection_id":176615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:14:16] 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-09-09 09:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:14:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":176615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:14:17] local.INFO: GPS data processed {"connection_id":176615,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:14:17] local.INFO: Acknowledgment sent {"connection_id":176615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:14:17] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0844382a0012d0a788007061808000d01011c..."} 
[2026-09-09 09:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844382a0012d0a788007061808000d01011c..."} 
[2026-09-09 09:14:17] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844382a0012d0a788007061808000d01011c..."} 
[2026-09-09 09:14:17] local.INFO: Packet analysis {"connection_id":176614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:17] local.INFO: Extracted packet for processing {"connection_id":176614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:17] local.INFO: GPS Element Parsed {"raw_longitude":755660928,"raw_latitude":117839880,"longitude_deg":75.5660928,"latitude_deg":11.783988,"altitude":13,"angle":257,"satellites":28,"speed":11,"hex_longitude":"2d0a7880","hex_latitude":"07061808","is_valid_coordinates":true} 
[2026-09-09 09:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964904704001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30898548778205184,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755478867658407936,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:17] 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-09-09 09:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925412000,"timestamp_ms":1788925412000,"timestamp_seconds":1788925412,"priority":1,"record_length":96,"hex_timestamp":"000001a0844382a0"} 
[2026-09-09 09:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 09:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964904704001,"66":14439,"153":206,"94":10240,"24":11,"16":30898548778205184,"45":755478867658407936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964904704001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:14:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:14:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30898548778205184,"km_value":30898548778205.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":755478867658407936,"description":"Unknown IO ID 45"} 
[2026-09-09 09:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964904704001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":755478867658407936}} 
[2026-09-09 09:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":176614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787970,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:14:17] local.INFO: GPS data processed {"connection_id":176614,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:14:17] local.INFO: Acknowledgment sent {"connection_id":176614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:14:39] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:14:39] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:14:39] local.INFO: IMEI packet received {"connection_id":175495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":175495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:14:40] local.INFO: TCP Data received {"connection_id":175268,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:14:40] local.INFO: Processing buffer {"connection_id":175268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:14:40] local.INFO: IMEI packet received {"connection_id":175268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":175268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:14:44] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:14:44] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:14:44] local.INFO: IMEI packet received {"connection_id":175495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":175495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:14:44] local.INFO: TCP Data received {"connection_id":178081,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08443f000012d79f98005ec70f8000b00a128..."} 
[2026-09-09 09:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08443f000012d79f98005ec70f8000b00a128..."} 
[2026-09-09 09:14:44] local.INFO: Processing buffer {"connection_id":178081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08443f000012d79f98005ec70f8000b00a128..."} 
[2026-09-09 09:14:44] local.INFO: Packet analysis {"connection_id":178081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:44] local.INFO: Extracted packet for processing {"connection_id":178081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:44] local.INFO: GPS Element Parsed {"raw_longitude":762968448,"raw_latitude":99381496,"longitude_deg":76.2968448,"latitude_deg":9.9381496,"altitude":11,"angle":161,"satellites":40,"speed":29,"hex_longitude":"2d79f980","hex_latitude":"05ec70f8","is_valid_coordinates":true} 
[2026-09-09 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964910592001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130269527773544448,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786734004675125248,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14: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-09-09 09:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788925440000,"timestamp_ms":1788925440000,"timestamp_seconds":1788925440,"priority":1,"record_length":96,"hex_timestamp":"000001a08443f000"} 
[2026-09-09 09:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:14: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-09-09 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 09:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964910592001,"66":14211,"100":206,"87":13824,"24":29,"16":130269527773544448,"45":8786734004675125248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964910592001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:14:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:14:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130269527773544448,"km_value":130269527773544.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786734004675125248,"description":"Unknown IO ID 45"} 
[2026-09-09 09:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964910592001,"power":14211,"unknown_100":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8786734004675125248}} 
[2026-09-09 09:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":178081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:14:44] local.INFO: GPS data processed {"connection_id":178081,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:14:44] local.INFO: Acknowledgment sent {"connection_id":178081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:14:45] local.INFO: TCP Data received {"connection_id":175268,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:14:45] local.INFO: Processing buffer {"connection_id":175268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:14:45] local.INFO: IMEI packet received {"connection_id":175268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":175268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:14:45] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:14:45] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:14:45] local.INFO: Packet analysis {"connection_id":175495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:14:45] local.INFO: Extracted packet for processing {"connection_id":175495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:14: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-09-09 09: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:14:45] 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-09-09 09: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-09-09 09:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:14:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":175495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:14:45] local.INFO: GPS data processed {"connection_id":175495,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:14:45] local.INFO: Acknowledgment sent {"connection_id":175495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:14:46] local.INFO: TCP Data received {"connection_id":175268,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084438688012d0a77c007061798000d00eb1d..."} 
[2026-09-09 09:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084438688012d0a77c007061798000d00eb1d..."} 
[2026-09-09 09:14:46] local.INFO: Processing buffer {"connection_id":175268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084438688012d0a77c007061798000d00eb1d..."} 
[2026-09-09 09:14:46] local.INFO: Packet analysis {"connection_id":175268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:46] local.INFO: Extracted packet for processing {"connection_id":175268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08443"} 
[2026-09-09 09:14:46] local.INFO: GPS Element Parsed {"raw_longitude":755660736,"raw_latitude":117839768,"longitude_deg":75.5660736,"latitude_deg":11.7839768,"altitude":13,"angle":235,"satellites":29,"speed":8,"hex_longitude":"2d0a77c0","hex_latitude":"07061798","is_valid_coordinates":true} 
[2026-09-09 09:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964905472001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30898561663107072,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754493705239922688,"note":"Value kept but may cause issues"} 
[2026-09-09 09:14:46] 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-09-09 09:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925413000,"timestamp_ms":1788925413000,"timestamp_seconds":1788925413,"priority":1,"record_length":96,"hex_timestamp":"000001a084438688"} 
[2026-09-09 09:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:14:46] 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-09-09 09:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964905472001,"66":14439,"153":206,"94":10240,"24":8,"16":30898561663107072,"45":754493705239922688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964905472001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:14:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:14:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30898561663107072,"km_value":30898561663107.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":754493705239922688,"description":"Unknown IO ID 45"} 
[2026-09-09 09:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964905472001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":754493705239922688}} 
[2026-09-09 09:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":175268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787973,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:14:46] local.INFO: GPS data processed {"connection_id":175268,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:14:46] local.INFO: Acknowledgment sent {"connection_id":175268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:15:00] local.INFO: TCP Data received {"connection_id":176616,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:00] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:00] local.INFO: IMEI packet received {"connection_id":176616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":176616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:15:00] local.INFO: TCP Data received {"connection_id":176616,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:00] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:00] local.INFO: IMEI packet received {"connection_id":176616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":176616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:15:01] local.INFO: TCP Data received {"connection_id":176616,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:01] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:01] local.INFO: IMEI packet received {"connection_id":176616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":176616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:15:06] local.INFO: TCP Data received {"connection_id":176616,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:06] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:15:06] local.INFO: IMEI packet received {"connection_id":176616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":176616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:15:08] local.INFO: TCP Data received {"connection_id":176616,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084441af8012d7a050005ec4cb0000b00a427..."} 
[2026-09-09 09:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084441af8012d7a050005ec4cb0000b00a427..."} 
[2026-09-09 09:15:08] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084441af8012d7a050005ec4cb0000b00a427..."} 
[2026-09-09 09:15:08] local.INFO: Packet analysis {"connection_id":176616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:15:08] local.INFO: Extracted packet for processing {"connection_id":176616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:15:08] local.INFO: GPS Element Parsed {"raw_longitude":762971392,"raw_latitude":99372208,"longitude_deg":76.2971392,"latitude_deg":9.9372208,"altitude":11,"angle":164,"satellites":39,"speed":37,"hex_longitude":"2d7a0500","hex_latitude":"05ec4cb0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964912640001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130270000219947008,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789196910720251904,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:08] 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-09-09 09:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788925451000,"timestamp_ms":1788925451000,"timestamp_seconds":1788925451,"priority":1,"record_length":96,"hex_timestamp":"000001a084441af8"} 
[2026-09-09 09:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 09:15:08] 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-09-09 09: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-09-09 09:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964912640001,"66":13820,"100":206,"87":13824,"24":37,"16":130270000219947008,"45":8789196910720251904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964912640001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:15:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:15:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130270000219947008,"km_value":130270000219947.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789196910720251904,"description":"Unknown IO ID 45"} 
[2026-09-09 09:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964912640001,"power":13820,"unknown_100":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8789196910720251904}} 
[2026-09-09 09:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":176616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:15:08] local.INFO: GPS data processed {"connection_id":176616,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:15:08] local.INFO: Acknowledgment sent {"connection_id":176616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:15:17] local.INFO: TCP Data received {"connection_id":175268,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08444d678012d0a82c00705a978001200ba1d..."} 
[2026-09-09 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08444d678012d0a82c00705a978001200ba1d..."} 
[2026-09-09 09:15:17] local.INFO: Processing buffer {"connection_id":175268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08444d678012d0a82c00705a978001200ba1d..."} 
[2026-09-09 09:15:17] local.INFO: Packet analysis {"connection_id":175268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:15:17] local.INFO: Extracted packet for processing {"connection_id":175268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:15:17] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117811576,"longitude_deg":75.5663552,"latitude_deg":11.7811576,"altitude":18,"angle":186,"satellites":29,"speed":12,"hex_longitude":"2d0a82c0","hex_latitude":"0705a978","is_valid_coordinates":true} 
[2026-09-09 09:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964927488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30899991887216640,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255679488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:17] 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-09-09 09:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925499000,"timestamp_ms":1788925499000,"timestamp_seconds":1788925499,"priority":1,"record_length":96,"hex_timestamp":"000001a08444d678"} 
[2026-09-09 09:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 09:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964927488001,"66":14428,"153":206,"94":10240,"24":12,"16":30899991887216640,"45":757238086255679488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964927488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:15:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:15:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30899991887216640,"km_value":30899991887216.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255679488,"description":"Unknown IO ID 45"} 
[2026-09-09 09:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964927488001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":757238086255679488}} 
[2026-09-09 09:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":175268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787975,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:15:17] local.INFO: GPS data processed {"connection_id":175268,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:15:17] local.INFO: Acknowledgment sent {"connection_id":175268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:15:17] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:15:17] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:15:17] local.INFO: Packet analysis {"connection_id":175495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:15:17] local.INFO: Extracted packet for processing {"connection_id":175495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:15:17] 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-09-09 09:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:15:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":175495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:15:17] local.INFO: GPS data processed {"connection_id":175495,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:15:17] local.INFO: Acknowledgment sent {"connection_id":175495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:15:39] local.INFO: TCP Data received {"connection_id":178083,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:15:39] local.INFO: Processing buffer {"connection_id":178083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:15:39] local.INFO: IMEI packet received {"connection_id":178083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":178083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:15:39] local.INFO: TCP Data received {"connection_id":176616,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084444dc0012d7a0ec005ec2b20000a009b26..."} 
[2026-09-09 09:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084444dc0012d7a0ec005ec2b20000a009b26..."} 
[2026-09-09 09:15:39] local.INFO: Processing buffer {"connection_id":176616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084444dc0012d7a0ec005ec2b20000a009b26..."} 
[2026-09-09 09:15:39] local.INFO: Packet analysis {"connection_id":176616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:15:39] local.INFO: Extracted packet for processing {"connection_id":176616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:15:39] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99363616,"longitude_deg":76.2973888,"latitude_deg":9.9363616,"altitude":10,"angle":155,"satellites":38,"speed":11,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec2b20","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964915456001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130270434011643904,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792433872950046720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788925464000,"timestamp_ms":1788925464000,"timestamp_seconds":1788925464,"priority":1,"record_length":96,"hex_timestamp":"000001a084444dc0"} 
[2026-09-09 09:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 09:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964915456001,"66":13493,"100":206,"87":13824,"24":11,"16":130270434011643904,"45":8792433872950046720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964915456001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:15:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:15:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130270434011643904,"km_value":130270434011643.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792433872950046720,"description":"Unknown IO ID 45"} 
[2026-09-09 09:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964915456001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8792433872950046720}} 
[2026-09-09 09:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":176616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:15:39] local.INFO: GPS data processed {"connection_id":176616,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:15:39] local.INFO: Acknowledgment sent {"connection_id":176616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:15:40] local.INFO: TCP Data received {"connection_id":178082,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:15:40] local.INFO: Processing buffer {"connection_id":178082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:15:40] local.INFO: IMEI packet received {"connection_id":178082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":178082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:15:44] local.INFO: TCP Data received {"connection_id":178083,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:15:44] local.INFO: Processing buffer {"connection_id":178083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:15:44] local.INFO: IMEI packet received {"connection_id":178083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":178083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:15:45] local.INFO: TCP Data received {"connection_id":178083,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:15:45] local.INFO: Processing buffer {"connection_id":178083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:15:45] local.INFO: Packet analysis {"connection_id":178083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:15:45] local.INFO: Extracted packet for processing {"connection_id":178083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:15: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-09-09 09: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:15:45] 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-09-09 09: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-09-09 09:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":178083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:15:45] local.INFO: GPS data processed {"connection_id":178083,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:15:45] local.INFO: Acknowledgment sent {"connection_id":178083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:15:46] local.INFO: TCP Data received {"connection_id":178082,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:15:46] local.INFO: Processing buffer {"connection_id":178082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:15:46] local.INFO: IMEI packet received {"connection_id":178082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":178082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:15:47] local.INFO: TCP Data received {"connection_id":178082,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08444da60012d0a82000705a850001200d01d..."} 
[2026-09-09 09:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08444da60012d0a82000705a850001200d01d..."} 
[2026-09-09 09:15:47] local.INFO: Processing buffer {"connection_id":178082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08444da60012d0a82000705a850001200d01d..."} 
[2026-09-09 09:15:47] local.INFO: Packet analysis {"connection_id":178082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:15:47] local.INFO: Extracted packet for processing {"connection_id":178082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":755663360,"raw_latitude":117811280,"longitude_deg":75.566336,"latitude_deg":11.781128,"altitude":18,"angle":208,"satellites":29,"speed":13,"hex_longitude":"2d0a8200","hex_latitude":"0705a850","is_valid_coordinates":true} 
[2026-09-09 09:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964927744001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30900009067085824,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823743961088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788925500000,"timestamp_ms":1788925500000,"timestamp_seconds":1788925500,"priority":1,"record_length":96,"hex_timestamp":"000001a08444da60"} 
[2026-09-09 09:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 09:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964927744001,"66":14407,"153":206,"94":10240,"24":13,"16":30900009067085824,"45":757378823743961088},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964927744001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:15:47] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:15:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30900009067085824,"km_value":30900009067085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823743961088,"description":"Unknown IO ID 45"} 
[2026-09-09 09:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964927744001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757378823743961088}} 
[2026-09-09 09:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":178082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787979,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:15:47] local.INFO: GPS data processed {"connection_id":178082,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:15:47] local.INFO: Acknowledgment sent {"connection_id":178082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:16:01] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:01] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:01] local.INFO: IMEI packet received {"connection_id":175498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":175498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:16:02] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:02] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:02] local.INFO: IMEI packet received {"connection_id":175498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":175498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:16:02] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:02] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:02] local.INFO: IMEI packet received {"connection_id":175498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":175498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:16:04] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:04] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:16:04] local.INFO: IMEI packet received {"connection_id":175498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":175498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:16:05] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084449fc8012d7a188005ec15a0000e00a028..."} 
[2026-09-09 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084449fc8012d7a188005ec15a0000e00a028..."} 
[2026-09-09 09:16:05] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084449fc8012d7a188005ec15a0000e00a028..."} 
[2026-09-09 09:16:05] local.INFO: Packet analysis {"connection_id":175498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:16:05] local.INFO: Extracted packet for processing {"connection_id":175498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":762976384,"raw_latitude":99358112,"longitude_deg":76.2976384,"latitude_deg":9.9358112,"altitude":14,"angle":160,"satellites":40,"speed":16,"hex_longitude":"2d7a1880","hex_latitude":"05ec15a0","is_valid_coordinates":true} 
[2026-09-09 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964918784001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130270730364387328,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253970776064,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:05] 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-09-09 09:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788925485000,"timestamp_ms":1788925485000,"timestamp_seconds":1788925485,"priority":1,"record_length":96,"hex_timestamp":"000001a084449fc8"} 
[2026-09-09 09:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-09 09:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964918784001,"66":14026,"100":206,"87":13824,"24":16,"16":130270730364387328,"45":8795178253970776064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 09:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964918784001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:16:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 09:16:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130270730364387328,"km_value":130270730364387.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253970776064,"description":"Unknown IO ID 45"} 
[2026-09-09 09:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964918784001,"power":14026,"unknown_100":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8795178253970776064}} 
[2026-09-09 09:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":175498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:16:05] local.INFO: GPS data processed {"connection_id":175498,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:16:05] local.INFO: Acknowledgment sent {"connection_id":175498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:16:05] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08444d290012d7a1f0005ec0310000c00ae25..."} 
[2026-09-09 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08444d290012d7a1f0005ec0310000c00ae25..."} 
[2026-09-09 09:16:05] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08444d290012d7a1f0005ec0310000c00ae25..."} 
[2026-09-09 09:16:05] local.INFO: Packet analysis {"connection_id":175498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:16:05] local.INFO: Extracted packet for processing {"connection_id":175498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":99353360,"longitude_deg":76.2978048,"latitude_deg":9.935336,"altitude":12,"angle":174,"satellites":37,"speed":13,"hex_longitude":"2d7a1f00","hex_latitude":"05ec0310","is_valid_coordinates":true} 
[2026-09-09 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964924160001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130270975177523200,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797922634992295936,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16: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-09-09 09:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788925498000,"timestamp_ms":1788925498000,"timestamp_seconds":1788925498,"priority":1,"record_length":96,"hex_timestamp":"000001a08444d290"} 
[2026-09-09 09:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-09 09:16:05] 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-09-09 09:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964924160001,"66":13689,"99":206,"87":13824,"24":13,"16":130270975177523200,"45":8797922634992295936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 09:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964924160001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:16:05] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 09:16:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130270975177523200,"km_value":130270975177523.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797922634992295936,"description":"Unknown IO ID 45"} 
[2026-09-09 09:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964924160001,"power":13689,"unknown_99":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8797922634992295936}} 
[2026-09-09 09:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":175498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:16:05] local.INFO: GPS data processed {"connection_id":175498,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:16:05] local.INFO: Acknowledgment sent {"connection_id":175498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:16:17] local.INFO: TCP Data received {"connection_id":178083,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:16:17] local.INFO: Processing buffer {"connection_id":178083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:16:17] local.INFO: Packet analysis {"connection_id":178083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:16:17] local.INFO: Extracted packet for processing {"connection_id":178083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:16:17] 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-09-09 09:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":178083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:16:17] local.INFO: GPS data processed {"connection_id":178083,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:16:17] local.INFO: Acknowledgment sent {"connection_id":178083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:16:23] local.INFO: TCP Data received {"connection_id":178082,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08444e618012d0a7e800705a3e0001200dd1b..."} 
[2026-09-09 09:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08444e618012d0a7e800705a3e0001200dd1b..."} 
[2026-09-09 09:16:23] local.INFO: Processing buffer {"connection_id":178082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08444e618012d0a7e800705a3e0001200dd1b..."} 
[2026-09-09 09:16:23] local.INFO: Packet analysis {"connection_id":178082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:16:23] local.INFO: Extracted packet for processing {"connection_id":178082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:16:23] local.INFO: GPS Element Parsed {"raw_longitude":755662464,"raw_latitude":117810144,"longitude_deg":75.5662464,"latitude_deg":11.7810144,"altitude":18,"angle":221,"satellites":27,"speed":22,"hex_longitude":"2d0a7e80","hex_latitude":"0705a3e0","is_valid_coordinates":true} 
[2026-09-09 09:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964928000001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30900077786562560,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757167717511352320,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16: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-09-09 09:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788925503000,"timestamp_ms":1788925503000,"timestamp_seconds":1788925503,"priority":1,"record_length":96,"hex_timestamp":"000001a08444e618"} 
[2026-09-09 09:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964928000001,"66":13678,"153":206,"94":10240,"24":22,"16":30900077786562560,"45":757167717511352320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 09:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964928000001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:16:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 09:16:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30900077786562560,"km_value":30900077786562.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":757167717511352320,"description":"Unknown IO ID 45"} 
[2026-09-09 09:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964928000001,"power":13678,"unknown_153":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":757167717511352320}} 
[2026-09-09 09:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":178082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:16:24] local.INFO: GPS data processed {"connection_id":178082,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:16:24] local.INFO: Acknowledgment sent {"connection_id":178082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:16:37] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08444d678012d7a1fc005ec01d8000c00a224..."} 
[2026-09-09 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08444d678012d7a1fc005ec01d8000c00a224..."} 
[2026-09-09 09:16:37] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08444d678012d7a1fc005ec01d8000c00a224..."} 
[2026-09-09 09:16:37] local.INFO: Packet analysis {"connection_id":175498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:16:37] local.INFO: Extracted packet for processing {"connection_id":175498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08444"} 
[2026-09-09 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762978240,"raw_latitude":99353048,"longitude_deg":76.297824,"latitude_deg":9.9353048,"altitude":12,"angle":162,"satellites":36,"speed":14,"hex_longitude":"2d7a1fc0","hex_latitude":"05ec01d8","is_valid_coordinates":true} 
[2026-09-09 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964927488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130270992357392384,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222339698688,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:37] 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-09-09 09:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788925499000,"timestamp_ms":1788925499000,"timestamp_seconds":1788925499,"priority":1,"record_length":96,"hex_timestamp":"000001a08444d678"} 
[2026-09-09 09:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 09:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964927488001,"66":13798,"99":206,"87":13824,"24":14,"16":130270992357392384,"45":8799752222339698688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 09:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964927488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:16:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 09:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130270992357392384,"km_value":130270992357392.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222339698688,"description":"Unknown IO ID 45"} 
[2026-09-09 09:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964927488001,"power":13798,"unknown_99":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8799752222339698688}} 
[2026-09-09 09:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":175498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:16:37] local.INFO: GPS data processed {"connection_id":175498,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:16:37] local.INFO: Acknowledgment sent {"connection_id":175498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:16:40] local.INFO: TCP Data received {"connection_id":176617,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:16:40] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:16:40] local.INFO: IMEI packet received {"connection_id":176617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":176617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:16:44] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:16:44] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:16:44] local.INFO: IMEI packet received {"connection_id":176618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":176618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:16:45] local.INFO: TCP Data received {"connection_id":176617,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:16:45] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:16:45] local.INFO: IMEI packet received {"connection_id":176617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":176617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:16:46] local.INFO: TCP Data received {"connection_id":176617,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084463220012d0a494007058820001001311a..."} 
[2026-09-09 09:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084463220012d0a494007058820001001311a..."} 
[2026-09-09 09:16:46] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084463220012d0a494007058820001001311a..."} 
[2026-09-09 09:16:46] local.INFO: Packet analysis {"connection_id":176617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:16:46] local.INFO: Extracted packet for processing {"connection_id":176617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:16:46] local.INFO: GPS Element Parsed {"raw_longitude":755648832,"raw_latitude":117803040,"longitude_deg":75.5648832,"latitude_deg":11.780304,"altitude":16,"angle":305,"satellites":26,"speed":10,"hex_longitude":"2d0a4940","hex_latitude":"07058820","is_valid_coordinates":true} 
[2026-09-09 09:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964949504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30901048449171456,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741756962534119424,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:46] 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-09-09 09:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925588000,"timestamp_ms":1788925588000,"timestamp_seconds":1788925588,"priority":1,"record_length":96,"hex_timestamp":"000001a084463220"} 
[2026-09-09 09:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:16: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-09-09 09:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 09:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964949504001,"66":14396,"177":206,"94":10240,"24":10,"16":30901048449171456,"45":741756962534119424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 09:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964949504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:16:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 09:16:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30901048449171456,"km_value":30901048449171.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":741756962534119424,"description":"Unknown IO ID 45"} 
[2026-09-09 09:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964949504001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":741756962534119424}} 
[2026-09-09 09:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":176617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787985,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:16:46] local.INFO: GPS data processed {"connection_id":176617,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:16:46] local.INFO: Acknowledgment sent {"connection_id":176617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:16:50] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:16:50] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:16:50] local.INFO: IMEI packet received {"connection_id":176618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":176618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:16:52] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:16:52] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:16:52] local.INFO: Packet analysis {"connection_id":176618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:16:52] local.INFO: Extracted packet for processing {"connection_id":176618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":176618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:16:52] local.INFO: GPS data processed {"connection_id":176618,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:16:52] local.INFO: Acknowledgment sent {"connection_id":176618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:16:57] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:16:57] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084422310012d34c14006aa4370000900022b..."} 
[2026-09-09 09:16:57] local.INFO: Packet analysis {"connection_id":176618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:16:57] local.INFO: Extracted packet for processing {"connection_id":176618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08442"} 
[2026-09-09 09:16:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964808192001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788925322000,"timestamp_ms":1788925322000,"timestamp_seconds":1788925322,"priority":1,"record_length":96,"hex_timestamp":"000001a084422310"} 
[2026-09-09 09:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 09:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964808192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964808192001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:16:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:16:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964808192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":176618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:16:57] local.INFO: GPS data processed {"connection_id":176618,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:16:57] local.INFO: Acknowledgment sent {"connection_id":176618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:17:01] local.INFO: TCP Data received {"connection_id":175500,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:17:01] local.INFO: Processing buffer {"connection_id":175500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:17:01] local.INFO: IMEI packet received {"connection_id":175500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":175500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:17:01] local.INFO: TCP Data received {"connection_id":175500,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:17:01] local.INFO: Processing buffer {"connection_id":175500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:17:01] local.INFO: IMEI packet received {"connection_id":175500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":175500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:17:06] local.INFO: TCP Data received {"connection_id":175500,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:17:06] local.INFO: Processing buffer {"connection_id":175500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:17:06] local.INFO: IMEI packet received {"connection_id":175500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":175500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:17:07] local.INFO: TCP Data received {"connection_id":175500,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084465930012d7a9e4005ebafe80010004428..."} 
[2026-09-09 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084465930012d7a9e4005ebafe80010004428..."} 
[2026-09-09 09:17:07] local.INFO: Processing buffer {"connection_id":175500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084465930012d7a9e4005ebafe80010004428..."} 
[2026-09-09 09:17:07] local.INFO: Packet analysis {"connection_id":175500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:07] local.INFO: Extracted packet for processing {"connection_id":175500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":99332072,"longitude_deg":76.3010624,"latitude_deg":9.9332072,"altitude":16,"angle":68,"satellites":40,"speed":28,"hex_longitude":"2d7a9e40","hex_latitude":"05ebafe8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964949248001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130273436193783808,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825999763911634944,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:07] 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-09-09 09:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925598000,"timestamp_ms":1788925598000,"timestamp_seconds":1788925598,"priority":1,"record_length":96,"hex_timestamp":"000001a084465930"} 
[2026-09-09 09:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09: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-09-09 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 09:17: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-09-09 09: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-09-09 09:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964949248001,"66":13765,"161":206,"87":13824,"24":28,"16":130273436193783808,"45":8825999763911634944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-09 09:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964949248001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:17:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-09 09:17:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130273436193783808,"km_value":130273436193783.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825999763911634944,"description":"Unknown IO ID 45"} 
[2026-09-09 09:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964949248001,"power":13765,"unknown_161":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8825999763911634944}} 
[2026-09-09 09:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":175500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:17:07] local.INFO: GPS data processed {"connection_id":175500,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:17:07] local.INFO: Acknowledgment sent {"connection_id":175500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:17:17] local.INFO: TCP Data received {"connection_id":176617,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084463608012d0a480007058878001001151a..."} 
[2026-09-09 09:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084463608012d0a480007058878001001151a..."} 
[2026-09-09 09:17:17] local.INFO: Processing buffer {"connection_id":176617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084463608012d0a480007058878001001151a..."} 
[2026-09-09 09:17:17] local.INFO: Packet analysis {"connection_id":176617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:17] local.INFO: Extracted packet for processing {"connection_id":176617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:17] local.INFO: GPS Element Parsed {"raw_longitude":755648512,"raw_latitude":117803128,"longitude_deg":75.5648512,"latitude_deg":11.7803128,"altitude":16,"angle":277,"satellites":26,"speed":10,"hex_longitude":"2d0a4800","hex_latitude":"07058878","is_valid_coordinates":true} 
[2026-09-09 09:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964950528001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30901061334073344,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741194012580913152,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:17] 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-09-09 09:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925589000,"timestamp_ms":1788925589000,"timestamp_seconds":1788925589,"priority":1,"record_length":96,"hex_timestamp":"000001a084463608"} 
[2026-09-09 09:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964950528001,"66":14396,"177":206,"94":10240,"24":10,"16":30901061334073344,"45":741194012580913152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 09:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964950528001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:17:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 09:17:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30901061334073344,"km_value":30901061334073.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":741194012580913152,"description":"Unknown IO ID 45"} 
[2026-09-09 09:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964950528001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":741194012580913152}} 
[2026-09-09 09:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":176617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787989,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:17:17] local.INFO: GPS data processed {"connection_id":176617,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:17:17] local.INFO: Acknowledgment sent {"connection_id":176617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:17:22] local.INFO: TCP Data received {"connection_id":175499,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:17:22] local.INFO: Processing buffer {"connection_id":175499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:17:22] local.INFO: IMEI packet received {"connection_id":175499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":175499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:17:39] local.INFO: TCP Data received {"connection_id":175500,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084468428012d7abfc005ebbc98000f00422a..."} 
[2026-09-09 09:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084468428012d7abfc005ebbc98000f00422a..."} 
[2026-09-09 09:17:39] local.INFO: Processing buffer {"connection_id":175500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084468428012d7abfc005ebbc98000f00422a..."} 
[2026-09-09 09:17:39] local.INFO: Packet analysis {"connection_id":175500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:39] local.INFO: Extracted packet for processing {"connection_id":175500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763019200,"raw_latitude":99335320,"longitude_deg":76.30192,"latitude_deg":9.933532,"altitude":15,"angle":66,"satellites":42,"speed":37,"hex_longitude":"2d7abfc0","hex_latitude":"05ebbc98","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964953088001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130273874280448000,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835569913120679936,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:39] 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-09-09 09:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788925609000,"timestamp_ms":1788925609000,"timestamp_seconds":1788925609,"priority":1,"record_length":96,"hex_timestamp":"000001a084468428"} 
[2026-09-09 09:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 09:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964953088001,"66":13406,"161":206,"87":13824,"24":37,"16":130273874280448000,"45":8835569913120679936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-09 09:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964953088001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:17:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-09 09:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130273874280448000,"km_value":130273874280448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835569913120679936,"description":"Unknown IO ID 45"} 
[2026-09-09 09:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964953088001,"power":13406,"unknown_161":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8835569913120679936}} 
[2026-09-09 09:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":175500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:17:39] local.INFO: GPS data processed {"connection_id":175500,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:17:39] local.INFO: Acknowledgment sent {"connection_id":175500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:17:40] local.INFO: TCP Data received {"connection_id":178084,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:40] local.INFO: Processing buffer {"connection_id":178084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:40] local.INFO: IMEI packet received {"connection_id":178084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":178084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:17:40] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:17:40] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:17:40] local.INFO: IMEI packet received {"connection_id":175269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":175269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:17:40] local.INFO: TCP Data received {"connection_id":178084,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:40] local.INFO: Processing buffer {"connection_id":178084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:40] local.INFO: IMEI packet received {"connection_id":178084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":178084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:17:41] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:17:41] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:17:41] local.INFO: IMEI packet received {"connection_id":175269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":175269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:17:42] local.INFO: TCP Data received {"connection_id":176619,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:17:42] local.INFO: Processing buffer {"connection_id":176619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:17:42] local.INFO: IMEI packet received {"connection_id":176619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":176619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:17:42] local.INFO: TCP Data received {"connection_id":178084,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:42] local.INFO: Processing buffer {"connection_id":178084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:42] local.INFO: IMEI packet received {"connection_id":178084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":178084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:17:42] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:17:42] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:17:42] local.INFO: Packet analysis {"connection_id":175269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:42] local.INFO: Extracted packet for processing {"connection_id":175269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 09:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:17: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-09-09 09: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-09-09 09:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:17:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":175269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:17:42] local.INFO: GPS data processed {"connection_id":175269,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:17:42] local.INFO: Acknowledgment sent {"connection_id":175269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:17:45] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:17:45] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:17:45] local.INFO: Packet analysis {"connection_id":175269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:45] local.INFO: Extracted packet for processing {"connection_id":175269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 09:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:17:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":175269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:17:45] local.INFO: GPS data processed {"connection_id":175269,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:17:45] local.INFO: Acknowledgment sent {"connection_id":175269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:17:45] local.INFO: TCP Data received {"connection_id":178084,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:45] local.INFO: Processing buffer {"connection_id":178084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:17:45] local.INFO: IMEI packet received {"connection_id":178084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":178084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:17:46] local.INFO: TCP Data received {"connection_id":178084,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084472450012d09e9c007057460000700aa1d..."} 
[2026-09-09 09:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084472450012d09e9c007057460000700aa1d..."} 
[2026-09-09 09:17:46] local.INFO: Processing buffer {"connection_id":178084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084472450012d09e9c007057460000700aa1d..."} 
[2026-09-09 09:17:46] local.INFO: Packet analysis {"connection_id":178084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:17:46] local.INFO: Extracted packet for processing {"connection_id":178084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:17:46] local.INFO: GPS Element Parsed {"raw_longitude":755624384,"raw_latitude":117797984,"longitude_deg":75.5624384,"latitude_deg":11.7797984,"altitude":7,"angle":170,"satellites":29,"speed":20,"hex_longitude":"2d09e9c0","hex_latitude":"07057460","is_valid_coordinates":true} 
[2026-09-09 09:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964965888001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30902324054458368,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714172414815643648,"note":"Value kept but may cause issues"} 
[2026-09-09 09:17:46] 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-09-09 09:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925650000,"timestamp_ms":1788925650000,"timestamp_seconds":1788925650,"priority":1,"record_length":96,"hex_timestamp":"000001a084472450"} 
[2026-09-09 09:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964965888001,"66":14309,"177":206,"94":10240,"24":20,"16":30902324054458368,"45":714172414815643648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 09:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964965888001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:17:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 09:17:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30902324054458368,"km_value":30902324054458.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":714172414815643648,"description":"Unknown IO ID 45"} 
[2026-09-09 09:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964965888001,"power":14309,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":714172414815643648}} 
[2026-09-09 09:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":178084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787993,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:17:46] local.INFO: GPS data processed {"connection_id":178084,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:17:46] local.INFO: Acknowledgment sent {"connection_id":178084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:18:11] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:18:11] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:18:11] local.INFO: IMEI packet received {"connection_id":176620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":176620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:18:16] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:18:16] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:18:16] local.INFO: Packet analysis {"connection_id":175269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:18:16] local.INFO: Extracted packet for processing {"connection_id":175269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 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-09-09 09:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:18:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":175269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:18:16] local.INFO: GPS data processed {"connection_id":175269,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:18:16] local.INFO: Acknowledgment sent {"connection_id":175269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:18:18] local.INFO: TCP Data received {"connection_id":178084,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08447c478012d09c440070566500007009e1d..."} 
[2026-09-09 09:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08447c478012d09c440070566500007009e1d..."} 
[2026-09-09 09:18:18] local.INFO: Processing buffer {"connection_id":178084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08447c478012d09c440070566500007009e1d..."} 
[2026-09-09 09:18:18] local.INFO: Packet analysis {"connection_id":178084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:18:18] local.INFO: Extracted packet for processing {"connection_id":178084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:18:18] local.INFO: GPS Element Parsed {"raw_longitude":755614784,"raw_latitude":117794384,"longitude_deg":75.5614784,"latitude_deg":11.7794384,"altitude":7,"angle":158,"satellites":29,"speed":16,"hex_longitude":"2d09c440","hex_latitude":"07056650","is_valid_coordinates":true} 
[2026-09-09 09:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964976640001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30903152983146496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703476365699551232,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:18] 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-09-09 09:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788925691000,"timestamp_ms":1788925691000,"timestamp_seconds":1788925691,"priority":1,"record_length":96,"hex_timestamp":"000001a08447c478"} 
[2026-09-09 09:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 09:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964976640001,"66":14407,"177":206,"94":10240,"24":16,"16":30903152983146496,"45":703476365699551232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 09:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964976640001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:18:18] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 09:18:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30903152983146496,"km_value":30903152983146.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":703476365699551232,"description":"Unknown IO ID 45"} 
[2026-09-09 09:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964976640001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":703476365699551232}} 
[2026-09-09 09:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":178084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787995,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:18:18] local.INFO: GPS data processed {"connection_id":178084,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:18:18] local.INFO: Acknowledgment sent {"connection_id":178084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:18:21] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:18:21] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:18:21] local.INFO: IMEI packet received {"connection_id":176620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":176620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:18:30] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08446ab38012d7ae14005ebccb80010003f2b..."} 
[2026-09-09 09:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446ab38012d7ae14005ebccb80010003f2b..."} 
[2026-09-09 09:18:30] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446ab38012d7ae14005ebccb80010003f2b..."} 
[2026-09-09 09:18:30] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:18:30] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763027776,"raw_latitude":99339448,"longitude_deg":76.3027776,"latitude_deg":9.9339448,"altitude":16,"angle":63,"satellites":43,"speed":36,"hex_longitude":"2d7ae140","hex_latitude":"05ebccb8","is_valid_coordinates":true} 
[2026-09-09 09:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964955904001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130274329546981376,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844999324841318400,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:30] 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-09-09 09:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788925619000,"timestamp_ms":1788925619000,"timestamp_seconds":1788925619,"priority":1,"record_length":96,"hex_timestamp":"000001a08446ab38"} 
[2026-09-09 09:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:18: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-09-09 09:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-09 09:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964955904001,"66":13678,"99":206,"87":13824,"24":36,"16":130274329546981376,"45":8844999324841318400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 09:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964955904001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:18:30] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 09:18:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130274329546981376,"km_value":130274329546981.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844999324841318400,"description":"Unknown IO ID 45"} 
[2026-09-09 09:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964955904001,"power":13678,"unknown_99":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8844999324841318400}} 
[2026-09-09 09:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:18:30] local.INFO: GPS data processed {"connection_id":176620,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:18:30] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:18:39] local.INFO: TCP Data received {"connection_id":178085,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:18:39] local.INFO: Processing buffer {"connection_id":178085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:18:39] local.INFO: IMEI packet received {"connection_id":178085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":178085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:18:40] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:18:40] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:18:40] local.INFO: IMEI packet received {"connection_id":175501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":175501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:18:44] local.INFO: TCP Data received {"connection_id":178085,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:18:44] local.INFO: Processing buffer {"connection_id":178085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:18:44] local.INFO: IMEI packet received {"connection_id":178085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":178085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:18:45] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:18:45] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:18:45] local.INFO: IMEI packet received {"connection_id":175501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":175501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:18:45] local.INFO: TCP Data received {"connection_id":178085,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:18:45] local.INFO: Processing buffer {"connection_id":178085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:18:45] local.INFO: Packet analysis {"connection_id":178085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:18:45] local.INFO: Extracted packet for processing {"connection_id":178085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 09:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:18:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":178085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:18:45] local.INFO: GPS data processed {"connection_id":178085,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:18:45] local.INFO: Acknowledgment sent {"connection_id":178085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:18:45] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08447c860012d09c480070564c8000700af1d..."} 
[2026-09-09 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08447c860012d09c480070564c8000700af1d..."} 
[2026-09-09 09:18:45] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08447c860012d09c480070564c8000700af1d..."} 
[2026-09-09 09:18:45] local.INFO: Packet analysis {"connection_id":175501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:18:45] local.INFO: Extracted packet for processing {"connection_id":175501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:18:45] local.INFO: GPS Element Parsed {"raw_longitude":755614848,"raw_latitude":117793992,"longitude_deg":75.5614848,"latitude_deg":11.7793992,"altitude":7,"angle":175,"satellites":29,"speed":16,"hex_longitude":"2d09c480","hex_latitude":"070564c8","is_valid_coordinates":true} 
[2026-09-09 09:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964976896001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30903170163015680,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703757840676179968,"note":"Value kept but may cause issues"} 
[2026-09-09 09:18:46] 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-09-09 09:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925692000,"timestamp_ms":1788925692000,"timestamp_seconds":1788925692,"priority":1,"record_length":96,"hex_timestamp":"000001a08447c860"} 
[2026-09-09 09:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964976896001,"66":14407,"177":206,"94":10240,"24":16,"16":30903170163015680,"45":703757840676179968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 09:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964976896001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:18:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 09:18:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30903170163015680,"km_value":30903170163015.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":703757840676179968,"description":"Unknown IO ID 45"} 
[2026-09-09 09:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964976896001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":703757840676179968}} 
[2026-09-09 09:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":175501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:18:46] local.INFO: GPS data processed {"connection_id":175501,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:18:46] local.INFO: Acknowledgment sent {"connection_id":175501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:19:01] local.INFO: TCP Data received {"connection_id":178087,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:19:01] local.INFO: Processing buffer {"connection_id":178087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:19:01] local.INFO: IMEI packet received {"connection_id":178087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":178087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:19:06] local.INFO: TCP Data received {"connection_id":178087,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:19:06] local.INFO: Processing buffer {"connection_id":178087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:19:06] local.INFO: IMEI packet received {"connection_id":178087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":178087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:19:07] local.INFO: TCP Data received {"connection_id":178087,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08446d630012d7b038005ebddd00012003f2c..."} 
[2026-09-09 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446d630012d7b038005ebddd00012003f2c..."} 
[2026-09-09 09:19:07] local.INFO: Processing buffer {"connection_id":178087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446d630012d7b038005ebddd00012003f2c..."} 
[2026-09-09 09:19:07] local.INFO: Packet analysis {"connection_id":178087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:19:07] local.INFO: Extracted packet for processing {"connection_id":178087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":99343824,"longitude_deg":76.3036544,"latitude_deg":9.9343824,"altitude":18,"angle":63,"satellites":44,"speed":35,"hex_longitude":"2d7b0380","hex_latitude":"05ebddd0","is_valid_coordinates":true} 
[2026-09-09 09:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964958464001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130274801993383936,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854428736562182144,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:07] 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-09-09 09:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925630000,"timestamp_ms":1788925630000,"timestamp_seconds":1788925630,"priority":1,"record_length":96,"hex_timestamp":"000001a08446d630"} 
[2026-09-09 09:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 09:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964958464001,"66":13580,"99":206,"87":13824,"24":35,"16":130274801993383936,"45":8854428736562182144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 09:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964958464001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:19:07] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 09:19:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130274801993383936,"km_value":130274801993383.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854428736562182144,"description":"Unknown IO ID 45"} 
[2026-09-09 09:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964958464001,"power":13580,"unknown_99":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8854428736562182144}} 
[2026-09-09 09:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":178087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:19:07] local.INFO: GPS data processed {"connection_id":178087,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:19:07] local.INFO: Acknowledgment sent {"connection_id":178087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:19:16] local.INFO: TCP Data received {"connection_id":178085,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:19:16] local.INFO: Processing buffer {"connection_id":178085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:19:16] local.INFO: Packet analysis {"connection_id":178085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:19:16] local.INFO: Extracted packet for processing {"connection_id":178085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 09:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:19:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":178085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:19:16] local.INFO: GPS data processed {"connection_id":178085,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:19:16] local.INFO: Acknowledgment sent {"connection_id":178085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:19:17] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08447cc48012d09c44007056308000700ba1d..."} 
[2026-09-09 09:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08447cc48012d09c44007056308000700ba1d..."} 
[2026-09-09 09:19:17] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08447cc48012d09c44007056308000700ba1d..."} 
[2026-09-09 09:19:17] local.INFO: Packet analysis {"connection_id":175501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:19:17] local.INFO: Extracted packet for processing {"connection_id":175501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:19:17] local.INFO: GPS Element Parsed {"raw_longitude":755614784,"raw_latitude":117793544,"longitude_deg":75.5614784,"latitude_deg":11.7793544,"altitude":7,"angle":186,"satellites":29,"speed":18,"hex_longitude":"2d09c440","hex_latitude":"07056308","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964977152001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30903191637852160,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703828209420257280,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:17] 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-09-09 09:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925693000,"timestamp_ms":1788925693000,"timestamp_seconds":1788925693,"priority":1,"record_length":96,"hex_timestamp":"000001a08447cc48"} 
[2026-09-09 09:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964977152001,"66":14407,"177":206,"94":10240,"24":18,"16":30903191637852160,"45":703828209420257280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 09:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964977152001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:19:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 09:19:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30903191637852160,"km_value":30903191637852.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":703828209420257280,"description":"Unknown IO ID 45"} 
[2026-09-09 09:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964977152001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":703828209420257280}} 
[2026-09-09 09:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":175501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788001,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:19:17] local.INFO: GPS data processed {"connection_id":175501,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:19:17] local.INFO: Acknowledgment sent {"connection_id":175501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:19:39] local.INFO: TCP Data received {"connection_id":178087,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084470128012d7b260005ebef180013003f2c..."} 
[2026-09-09 09:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084470128012d7b260005ebef180013003f2c..."} 
[2026-09-09 09:19:39] local.INFO: Processing buffer {"connection_id":178087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084470128012d7b260005ebef180013003f2c..."} 
[2026-09-09 09:19:39] local.INFO: Packet analysis {"connection_id":178087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:19:39] local.INFO: Extracted packet for processing {"connection_id":178087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763045376,"raw_latitude":99348248,"longitude_deg":76.3045376,"latitude_deg":9.9348248,"altitude":19,"angle":63,"satellites":44,"speed":36,"hex_longitude":"2d7b2600","hex_latitude":"05ebef18","is_valid_coordinates":true} 
[2026-09-09 09:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964961280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130275270144819200,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254515642368,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] 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-09-09 09:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788925641000,"timestamp_ms":1788925641000,"timestamp_seconds":1788925641,"priority":1,"record_length":96,"hex_timestamp":"000001a084470128"} 
[2026-09-09 09:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632082,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219167864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3543720478763909120,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2725249035,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470074787,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3526492160,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":122,"raw_value":6287031589198626821,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675162891826286167,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:39] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,99,87,24,241,157,16,212,160,171,45,64,204,43,10,66,211,132,192,188,15,42,161,89,1,240,197,227,235,4,113,205,18,91,208,39,239,54,163,2,206,5,13,122,52],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-09-09 09:19:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297106150896107520,"timestamp_seconds":1297106150896107.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964961280001,"66":13798,"99":206,"87":13824,"24":36,"16":130275270144819200,"45":8864069254515642368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 09:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964961280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:19:39] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 09:19:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130275270144819200,"km_value":130275270144819.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254515642368,"description":"Unknown IO ID 45"} 
[2026-09-09 09:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964961280001,"power":13798,"unknown_99":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8864069254515642368}} 
[2026-09-09 09:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":178087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:19:39] local.INFO: GPS data processed {"connection_id":178087,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:19:39] local.INFO: Acknowledgment sent {"connection_id":178087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:19:39] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:19:39] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:19:39] local.INFO: IMEI packet received {"connection_id":175270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":175270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:19:44] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:19:44] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:19:44] local.INFO: IMEI packet received {"connection_id":175270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":175270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:19:45] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:19:45] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:19:45] local.INFO: IMEI packet received {"connection_id":175502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":175502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:19:46] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:19:46] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:19:46] local.INFO: Packet analysis {"connection_id":175270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:19:46] local.INFO: Extracted packet for processing {"connection_id":175270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 09:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:19:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":175270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:19:46] local.INFO: GPS data processed {"connection_id":175270,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:19:46] local.INFO: Acknowledgment sent {"connection_id":175270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:19:49] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:19:49] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:19:49] local.INFO: IMEI packet received {"connection_id":175502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":175502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:19:50] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08447f358012d09c24007055130000800cd1c..."} 
[2026-09-09 09:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08447f358012d09c24007055130000800cd1c..."} 
[2026-09-09 09:19:50] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08447f358012d09c24007055130000800cd1c..."} 
[2026-09-09 09:19:50] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:19:50] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:19:50] local.INFO: GPS Element Parsed {"raw_longitude":755614272,"raw_latitude":117788976,"longitude_deg":75.5614272,"latitude_deg":11.7788976,"altitude":8,"angle":205,"satellites":28,"speed":6,"hex_longitude":"2d09c240","hex_latitude":"07055130","is_valid_coordinates":true} 
[2026-09-09 09:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964977408001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30903419271118848,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703757840675964928,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:50] 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-09-09 09:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788925703000,"timestamp_ms":1788925703000,"timestamp_seconds":1788925703,"priority":1,"record_length":96,"hex_timestamp":"000001a08447f358"} 
[2026-09-09 09:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:19: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-09-09 09:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964977408001,"66":14396,"177":206,"94":10240,"24":6,"16":30903419271118848,"45":703757840675964928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 09:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964977408001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:19:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 09:19:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30903419271118848,"km_value":30903419271118.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":703757840675964928,"description":"Unknown IO ID 45"} 
[2026-09-09 09:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964977408001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":703757840675964928}} 
[2026-09-09 09:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:19:50] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:19:50] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:19:50] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08447fb28012d09c18007055018000800c11c..."} 
[2026-09-09 09:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08447fb28012d09c18007055018000800c11c..."} 
[2026-09-09 09:19:50] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08447fb28012d09c18007055018000800c11c..."} 
[2026-09-09 09:19:50] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:19:50] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08447"} 
[2026-09-09 09:19:50] local.INFO: GPS Element Parsed {"raw_longitude":755614080,"raw_latitude":117788696,"longitude_deg":75.561408,"latitude_deg":11.7788696,"altitude":8,"angle":193,"satellites":28,"speed":6,"hex_longitude":"2d09c180","hex_latitude":"07055018","is_valid_coordinates":true} 
[2026-09-09 09:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964979968001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30903432156020736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703194890721374208,"note":"Value kept but may cause issues"} 
[2026-09-09 09:19:50] 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-09-09 09:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788925705000,"timestamp_ms":1788925705000,"timestamp_seconds":1788925705,"priority":1,"record_length":96,"hex_timestamp":"000001a08447fb28"} 
[2026-09-09 09:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964979968001,"66":14309,"177":206,"94":10240,"24":6,"16":30903432156020736,"45":703194890721374208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 09:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964979968001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:19:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 09:19:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30903432156020736,"km_value":30903432156020.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":703194890721374208,"description":"Unknown IO ID 45"} 
[2026-09-09 09:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964979968001,"power":14309,"unknown_177":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":703194890721374208}} 
[2026-09-09 09:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:19:51] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:19:51] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:20:01] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:20:01] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:20:01] local.INFO: IMEI packet received {"connection_id":175503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":175503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:20:06] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:20:06] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:20:06] local.INFO: IMEI packet received {"connection_id":175503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":175503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:20:07] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08448fcf8012d7cb04005ec39c8001000572d..."} 
[2026-09-09 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08448fcf8012d7cb04005ec39c8001000572d..."} 
[2026-09-09 09:20:07] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08448fcf8012d7cb04005ec39c8001000572d..."} 
[2026-09-09 09:20:07] local.INFO: Packet analysis {"connection_id":175503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08448"} 
[2026-09-09 09:20:07] local.INFO: Extracted packet for processing {"connection_id":175503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08448"} 
[2026-09-09 09:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":99367368,"longitude_deg":76.3146304,"latitude_deg":9.9367368,"altitude":16,"angle":87,"satellites":45,"speed":30,"hex_longitude":"2d7cb040","hex_latitude":"05ec39c8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964994304001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130280239421980672,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974055601671268352,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:07] 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-09-09 09:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925771000,"timestamp_ms":1788925771000,"timestamp_seconds":1788925771,"priority":1,"record_length":96,"hex_timestamp":"000001a08448fcf8"} 
[2026-09-09 09:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 09:20: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-09-09 09: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-09-09 09:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964994304001,"66":13798,"198":206,"87":13824,"24":30,"16":130280239421980672,"45":8974055601671268352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 09:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964994304001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:20:07] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 09:20:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130280239421980672,"km_value":130280239421980.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974055601671268352,"description":"Unknown IO ID 45"} 
[2026-09-09 09:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964994304001,"power":13798,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8974055601671268352}} 
[2026-09-09 09:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":175503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:20:07] local.INFO: GPS data processed {"connection_id":175503,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:20:07] local.INFO: Acknowledgment sent {"connection_id":175503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:20:17] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:20:17] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:20:17] local.INFO: Packet analysis {"connection_id":175270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:20:17] local.INFO: Extracted packet for processing {"connection_id":175270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 09:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:20:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":175270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:20:17] local.INFO: GPS data processed {"connection_id":175270,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:20:17] local.INFO: Acknowledgment sent {"connection_id":175270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:20:21] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0844985b0012d09c9000704ff00000a008b1b..."} 
[2026-09-09 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844985b0012d09c9000704ff00000a008b1b..."} 
[2026-09-09 09:20:21] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844985b0012d09c9000704ff00000a008b1b..."} 
[2026-09-09 09:20:21] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08449"} 
[2026-09-09 09:20:21] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08449"} 
[2026-09-09 09:20:21] local.INFO: GPS Element Parsed {"raw_longitude":755616000,"raw_latitude":117767936,"longitude_deg":75.5616,"latitude_deg":11.7767936,"altitude":10,"angle":139,"satellites":27,"speed":12,"hex_longitude":"2d09c900","hex_latitude":"0704ff00","is_valid_coordinates":true} 
[2026-09-09 09:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965005312001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30904591797190656,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704391159367290880,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:21] 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-09-09 09:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788925806000,"timestamp_ms":1788925806000,"timestamp_seconds":1788925806,"priority":1,"record_length":96,"hex_timestamp":"000001a0844985b0"} 
[2026-09-09 09:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 09:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965005312001,"66":14439,"179":206,"94":10240,"24":12,"16":30904591797190656,"45":704391159367290880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,94,24,16,45]} 
[2026-09-09 09:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965005312001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:20:21] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-09 09:20:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30904591797190656,"km_value":30904591797190.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":704391159367290880,"description":"Unknown IO ID 45"} 
[2026-09-09 09:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965005312001,"power":14439,"unknown_179":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":704391159367290880}} 
[2026-09-09 09:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:20:22] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:20:22] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:20:36] local.INFO: TCP Data received {"connection_id":175272,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:36] local.INFO: Processing buffer {"connection_id":175272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:36] local.INFO: IMEI packet received {"connection_id":175272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":175272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:20:37] local.INFO: TCP Data received {"connection_id":175272,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:37] local.INFO: Processing buffer {"connection_id":175272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:37] local.INFO: IMEI packet received {"connection_id":175272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":175272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:20:38] local.INFO: TCP Data received {"connection_id":175272,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:38] local.INFO: Processing buffer {"connection_id":175272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:38] local.INFO: IMEI packet received {"connection_id":175272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":175272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:20:38] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084492fc0012d7cd60005ec3b20001000572c..."} 
[2026-09-09 09:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084492fc0012d7cd60005ec3b20001000572c..."} 
[2026-09-09 09:20:38] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084492fc0012d7cd60005ec3b20001000572c..."} 
[2026-09-09 09:20:38] local.INFO: Packet analysis {"connection_id":175503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08449"} 
[2026-09-09 09:20:38] local.INFO: Extracted packet for processing {"connection_id":175503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08449"} 
[2026-09-09 09:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763155968,"raw_latitude":99367712,"longitude_deg":76.3155968,"latitude_deg":9.9367712,"altitude":16,"angle":87,"satellites":44,"speed":32,"hex_longitude":"2d7cd600","hex_latitude":"05ec3b20","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964997376001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130280703278448640,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650786363392,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:38] 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-09-09 09:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788925784000,"timestamp_ms":1788925784000,"timestamp_seconds":1788925784,"priority":1,"record_length":96,"hex_timestamp":"000001a084492fc0"} 
[2026-09-09 09:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 09:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964997376001,"66":13656,"198":206,"87":13824,"24":32,"16":130280703278448640,"45":8984751650786363392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 09:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964997376001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:20:38] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 09:20:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130280703278448640,"km_value":130280703278448.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650786363392,"description":"Unknown IO ID 45"} 
[2026-09-09 09:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964997376001,"power":13656,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8984751650786363392}} 
[2026-09-09 09:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":175503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:20:38] local.INFO: GPS data processed {"connection_id":175503,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:20:38] local.INFO: Acknowledgment sent {"connection_id":175503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:20:39] local.INFO: TCP Data received {"connection_id":175272,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:39] local.INFO: Processing buffer {"connection_id":175272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:20:39] local.INFO: IMEI packet received {"connection_id":175272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":175272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:20:39] local.INFO: TCP Data received {"connection_id":176621,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:20:39] local.INFO: Processing buffer {"connection_id":176621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:20:39] local.INFO: IMEI packet received {"connection_id":176621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":176621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:20:44] local.INFO: TCP Data received {"connection_id":176621,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:20:44] local.INFO: Processing buffer {"connection_id":176621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:20:44] local.INFO: IMEI packet received {"connection_id":176621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":176621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:20:46] local.INFO: TCP Data received {"connection_id":176621,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:20:46] local.INFO: Processing buffer {"connection_id":176621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:20:46] local.INFO: Packet analysis {"connection_id":176621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:20:46] local.INFO: Extracted packet for processing {"connection_id":176621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 09:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:20:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":176621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:20:46] local.INFO: GPS data processed {"connection_id":176621,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:20:46] local.INFO: Acknowledgment sent {"connection_id":176621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:21:01] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:21:01] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:21:01] local.INFO: IMEI packet received {"connection_id":175274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":175274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:21:06] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:21:06] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:21:06] local.INFO: IMEI packet received {"connection_id":175274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":175274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:21:07] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084495ea0012d7cfb0005ec3ca0000e00572d..."} 
[2026-09-09 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084495ea0012d7cfb0005ec3ca0000e00572d..."} 
[2026-09-09 09:21:07] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084495ea0012d7cfb0005ec3ca0000e00572d..."} 
[2026-09-09 09:21:07] local.INFO: Packet analysis {"connection_id":175274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08449"} 
[2026-09-09 09:21:07] local.INFO: Extracted packet for processing {"connection_id":175274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08449"} 
[2026-09-09 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":99368096,"longitude_deg":76.316544,"latitude_deg":9.9368096,"altitude":14,"angle":87,"satellites":45,"speed":32,"hex_longitude":"2d7cfb00","hex_latitude":"05ec3ca0","is_valid_coordinates":true} 
[2026-09-09 09:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965000704001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130281154250014720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995377331157278720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:07] 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-09-09 09:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925796000,"timestamp_ms":1788925796000,"timestamp_seconds":1788925796,"priority":1,"record_length":96,"hex_timestamp":"000001a084495ea0"} 
[2026-09-09 09:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:21: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-09-09 09:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 09:21: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-09-09 09:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965000704001,"66":13906,"198":206,"87":13824,"24":32,"16":130281154250014720,"45":8995377331157278720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 09:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965000704001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:21:07] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 09:21:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130281154250014720,"km_value":130281154250014.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995377331157278720,"description":"Unknown IO ID 45"} 
[2026-09-09 09:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965000704001,"power":13906,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8995377331157278720}} 
[2026-09-09 09:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":175274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:21:07] local.INFO: GPS data processed {"connection_id":175274,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:21:07] local.INFO: Acknowledgment sent {"connection_id":175274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:21:17] local.INFO: TCP Data received {"connection_id":176621,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:21:17] local.INFO: Processing buffer {"connection_id":176621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:21:17] local.INFO: Packet analysis {"connection_id":176621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:21:17] local.INFO: Extracted packet for processing {"connection_id":176621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 09:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:21:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":176621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:21:17] local.INFO: GPS data processed {"connection_id":176621,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:21:17] local.INFO: Acknowledgment sent {"connection_id":176621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:21:38] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084499550012d7d1e4005ec3ea8000c00532b..."} 
[2026-09-09 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084499550012d7d1e4005ec3ea8000c00532b..."} 
[2026-09-09 09:21:38] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084499550012d7d1e4005ec3ea8000c00532b..."} 
[2026-09-09 09:21:38] local.INFO: Packet analysis {"connection_id":175274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08449"} 
[2026-09-09 09:21:38] local.INFO: Extracted packet for processing {"connection_id":175274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08449"} 
[2026-09-09 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99368616,"longitude_deg":76.3174464,"latitude_deg":9.9368616,"altitude":12,"angle":83,"satellites":43,"speed":19,"hex_longitude":"2d7d1e40","hex_latitude":"05ec3ea8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965003776001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130281583746744320,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791905295671296,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:38] 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-09-09 09:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788925810000,"timestamp_ms":1788925810000,"timestamp_seconds":1788925810,"priority":1,"record_length":96,"hex_timestamp":"000001a084499550"} 
[2026-09-09 09:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 09:21: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-09-09 09: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-09-09 09:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965003776001,"66":13091,"110":206,"87":13824,"24":19,"16":130281583746744320,"45":9005791905295671296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965003776001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:21:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:21:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130281583746744320,"km_value":130281583746744.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791905295671296,"description":"Unknown IO ID 45"} 
[2026-09-09 09:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965003776001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9005791905295671296}} 
[2026-09-09 09:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":175274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:21:38] local.INFO: GPS data processed {"connection_id":175274,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:21:38] local.INFO: Acknowledgment sent {"connection_id":175274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:21:44] local.INFO: TCP Data received {"connection_id":176622,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:21:44] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:21:44] local.INFO: IMEI packet received {"connection_id":176622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":176622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:21:49] local.INFO: TCP Data received {"connection_id":176622,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:21:49] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:21:49] local.INFO: IMEI packet received {"connection_id":176622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":176622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:21:50] local.INFO: TCP Data received {"connection_id":176622,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:21:50] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:21:50] local.INFO: Packet analysis {"connection_id":176622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:21:50] local.INFO: Extracted packet for processing {"connection_id":176622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:21:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 09:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:21:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:21:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":176622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:21:50] local.INFO: GPS data processed {"connection_id":176622,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:21:50] local.INFO: Acknowledgment sent {"connection_id":176622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:21:55] local.INFO: TCP Data received {"connection_id":176622,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:21:55] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08446bad8012d34c14006aa4370000600022c..."} 
[2026-09-09 09:21:55] local.INFO: Packet analysis {"connection_id":176622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:21:55] local.INFO: Extracted packet for processing {"connection_id":176622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08446"} 
[2026-09-09 09:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964882432001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788925623000,"timestamp_ms":1788925623000,"timestamp_seconds":1788925623,"priority":1,"record_length":96,"hex_timestamp":"000001a08446bad8"} 
[2026-09-09 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-09-09 09:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964882432001,"66":25549,"9":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-09 09:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964882432001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:21:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 09:21:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964882432001,"power":25549,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":176622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:21:55] local.INFO: GPS data processed {"connection_id":176622,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:21:55] local.INFO: Acknowledgment sent {"connection_id":176622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:22:01] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:01] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:01] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:22:03] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:03] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:03] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:22:05] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:05] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:05] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:22:06] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:06] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:22:06] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:22:07] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b0868012d7d398005ec3920000800d32a..."} 
[2026-09-09 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b0868012d7d398005ec3920000800d32a..."} 
[2026-09-09 09:22:07] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b0868012d7d398005ec3920000800d32a..."} 
[2026-09-09 09:22:07] local.INFO: Packet analysis {"connection_id":175505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:22:07] local.INFO: Extracted packet for processing {"connection_id":175505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99367200,"longitude_deg":76.318144,"latitude_deg":9.93672,"altitude":8,"angle":211,"satellites":42,"speed":10,"hex_longitude":"2d7d3980","hex_latitude":"05ec3920","is_valid_coordinates":true} 
[2026-09-09 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965031168001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282013243473920,"note":"Value kept but may cause issues"} 
[2026-09-09 09:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665566316695552,"note":"Value kept but may cause issues"} 
[2026-09-09 09:22:07] 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-09-09 09:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788925905000,"timestamp_ms":1788925905000,"timestamp_seconds":1788925905,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b0868"} 
[2026-09-09 09:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 09:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965031168001,"66":13472,"110":206,"87":13824,"24":10,"16":130282013243473920,"45":9023665566316695552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965031168001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:22:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:22:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282013243473920,"km_value":130282013243473.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665566316695552,"description":"Unknown IO ID 45"} 
[2026-09-09 09:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965031168001,"power":13472,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9023665566316695552}} 
[2026-09-09 09:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":175505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:22:07] local.INFO: GPS data processed {"connection_id":175505,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:22:07] local.INFO: Acknowledgment sent {"connection_id":175505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:22:38] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b4ad0012d7d374005ec3350000700a929..."} 
[2026-09-09 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b4ad0012d7d374005ec3350000700a929..."} 
[2026-09-09 09:22:38] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b4ad0012d7d374005ec3350000700a929..."} 
[2026-09-09 09:22:38] local.INFO: Packet analysis {"connection_id":175505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:22:38] local.INFO: Extracted packet for processing {"connection_id":175505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":99365712,"longitude_deg":76.3180864,"latitude_deg":9.9365712,"altitude":7,"angle":169,"satellites":41,"speed":2,"hex_longitude":"2d7d3740","hex_latitude":"05ec3350","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965031680001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282103437787136,"note":"Value kept but may cause issues"} 
[2026-09-09 09:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091339857920,"note":"Value kept but may cause issues"} 
[2026-09-09 09:22:38] 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-09-09 09:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788925922000,"timestamp_ms":1788925922000,"timestamp_seconds":1788925922,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b4ad0"} 
[2026-09-09 09:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 09:22: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-09-09 09: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-09-09 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965031680001,"66":13972,"110":206,"87":13824,"24":2,"16":130282103437787136,"45":9023384091339857920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965031680001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:22:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:22:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282103437787136,"km_value":130282103437787.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091339857920,"description":"Unknown IO ID 45"} 
[2026-09-09 09:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965031680001,"power":13972,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9023384091339857920}} 
[2026-09-09 09:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":175505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:22:38] local.INFO: GPS data processed {"connection_id":175505,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:22:38] local.INFO: Acknowledgment sent {"connection_id":175505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:22:39] local.INFO: TCP Data received {"connection_id":178089,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:22:39] local.INFO: Processing buffer {"connection_id":178089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:22:39] local.INFO: IMEI packet received {"connection_id":178089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":178089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:22:42] local.INFO: TCP Data received {"connection_id":178089,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:22:42] local.INFO: Processing buffer {"connection_id":178089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:22:43] local.INFO: IMEI packet received {"connection_id":178089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":178089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:22:44] local.INFO: TCP Data received {"connection_id":178089,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:22:44] local.INFO: Processing buffer {"connection_id":178089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:22:44] local.INFO: Packet analysis {"connection_id":178089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:22:44] local.INFO: Extracted packet for processing {"connection_id":178089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:22: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-09-09 09:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:22: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-09-09 09:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":178089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:22:44] local.INFO: GPS data processed {"connection_id":178089,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:22:44] local.INFO: Acknowledgment sent {"connection_id":178089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:23:06] local.INFO: TCP Data received {"connection_id":176625,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:23:06] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:23:06] local.INFO: IMEI packet received {"connection_id":176625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":176625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:23:11] local.INFO: TCP Data received {"connection_id":176625,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:23:11] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:23:11] local.INFO: IMEI packet received {"connection_id":176625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":176625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:23:12] local.INFO: TCP Data received {"connection_id":176625,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d7d374005ec32680007009c27..."} 
[2026-09-09 09:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d7d374005ec32680007009c27..."} 
[2026-09-09 09:23:12] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d7d374005ec32680007009c27..."} 
[2026-09-09 09:23:12] local.INFO: Packet analysis {"connection_id":176625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:23:12] local.INFO: Extracted packet for processing {"connection_id":176625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":99365480,"longitude_deg":76.3180864,"latitude_deg":9.936548,"altitude":7,"angle":156,"satellites":39,"speed":6,"hex_longitude":"2d7d3740","hex_latitude":"05ec3268","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036032001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282112027721728,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772641878016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23: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-09-09 09:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:23: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-09-09 09: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 09:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036032001,"66":13646,"110":206,"87":13824,"24":6,"16":130282112027721728,"45":9022750772641878016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036032001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:23:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:23:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282112027721728,"km_value":130282112027721.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772641878016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036032001,"power":13646,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9022750772641878016}} 
[2026-09-09 09:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":176625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:23:12] local.INFO: GPS data processed {"connection_id":176625,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:23:12] local.INFO: Acknowledgment sent {"connection_id":176625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:23:15] local.INFO: TCP Data received {"connection_id":178089,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:23:15] local.INFO: Processing buffer {"connection_id":178089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:23:15] local.INFO: Packet analysis {"connection_id":178089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:23:15] local.INFO: Extracted packet for processing {"connection_id":178089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09: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-09-09 09:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":178089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:23:15] local.INFO: GPS data processed {"connection_id":178089,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:23:15] local.INFO: Acknowledgment sent {"connection_id":178089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:23:18] local.INFO: TCP Data received {"connection_id":176625,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b5a70012d7d378005ec3128000700ae28..."} 
[2026-09-09 09:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b5a70012d7d378005ec3128000700ae28..."} 
[2026-09-09 09:23:18] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b5a70012d7d378005ec3128000700ae28..."} 
[2026-09-09 09:23:18] local.INFO: Packet analysis {"connection_id":176625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:23:18] local.INFO: Extracted packet for processing {"connection_id":176625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:23:18] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":99365160,"longitude_deg":76.3180928,"latitude_deg":9.936516,"altitude":7,"angle":174,"satellites":40,"speed":6,"hex_longitude":"2d7d3780","hex_latitude":"05ec3128","is_valid_coordinates":true} 
[2026-09-09 09:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282129207590912,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772641818624,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:18] 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-09-09 09:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788925926000,"timestamp_ms":1788925926000,"timestamp_seconds":1788925926,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b5a70"} 
[2026-09-09 09:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-09 09:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":13580,"110":206,"87":13824,"24":6,"16":130282129207590912,"45":9022750772641818624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:23:18] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:23:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282129207590912,"km_value":130282129207590.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772641818624,"description":"Unknown IO ID 45"} 
[2026-09-09 09:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9022750772641818624}} 
[2026-09-09 09:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":176625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:23:18] local.INFO: GPS data processed {"connection_id":176625,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:23:18] local.INFO: Acknowledgment sent {"connection_id":176625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:23:39] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:23:39] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:23:39] local.INFO: IMEI packet received {"connection_id":175506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":175506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:23:42] local.INFO: TCP Data received {"connection_id":176626,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:23:42] local.INFO: Processing buffer {"connection_id":176626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:23:42] local.INFO: IMEI packet received {"connection_id":176626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":176626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:23:44] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:23:44] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:23:44] local.INFO: IMEI packet received {"connection_id":175506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":175506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:23:45] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:23:45] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:23:45] local.INFO: Packet analysis {"connection_id":175506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:23:45] local.INFO: Extracted packet for processing {"connection_id":175506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:23: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-09-09 09:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":175506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:23:45] local.INFO: GPS data processed {"connection_id":175506,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:23:45] local.INFO: Acknowledgment sent {"connection_id":175506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:23:59] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:23:59] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:23:59] local.INFO: IMEI packet received {"connection_id":176627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":176627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:24:01] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:24:01] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:24:01] local.INFO: IMEI packet received {"connection_id":176627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":176627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:24:06] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:24:06] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:24:06] local.INFO: IMEI packet received {"connection_id":176627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":176627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:24:07] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844c7f68012d7d398005ec1060000700701d..."} 
[2026-09-09 09:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844c7f68012d7d398005ec1060000700701d..."} 
[2026-09-09 09:24:07] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844c7f68012d7d398005ec1060000700701d..."} 
[2026-09-09 09:24:07] local.INFO: Packet analysis {"connection_id":176627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844c"} 
[2026-09-09 09:24:07] local.INFO: Extracted packet for processing {"connection_id":176627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844c"} 
[2026-09-09 09:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356768,"longitude_deg":76.318144,"latitude_deg":9.9356768,"altitude":7,"angle":112,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1060","is_valid_coordinates":true} 
[2026-09-09 09:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965050880001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282558704320512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337254912,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:07] 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-09-09 09:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788926001000,"timestamp_ms":1788926001000,"timestamp_seconds":1788926001,"priority":1,"record_length":96,"hex_timestamp":"000001a0844c7f68"} 
[2026-09-09 09:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 09:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965050880001,"66":13602,"110":206,"87":13824,"24":0,"16":130282558704320512,"45":9023384091337254912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965050880001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:24:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:24:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282558704320512,"km_value":130282558704320.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337254912,"description":"Unknown IO ID 45"} 
[2026-09-09 09:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965050880001,"power":13602,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337254912}} 
[2026-09-09 09:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":176627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:24:07] local.INFO: GPS data processed {"connection_id":176627,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:24:07] local.INFO: Acknowledgment sent {"connection_id":176627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:24:16] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:24:16] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:24:16] local.INFO: Packet analysis {"connection_id":175506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:24:16] local.INFO: Extracted packet for processing {"connection_id":175506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":175506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:24:16] local.INFO: GPS data processed {"connection_id":175506,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:24:16] local.INFO: Acknowledgment sent {"connection_id":175506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:24:39] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844cbde8012d7d38c005ec0e780006005f1a..."} 
[2026-09-09 09:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844cbde8012d7d38c005ec0e780006005f1a..."} 
[2026-09-09 09:24:39] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844cbde8012d7d38c005ec0e780006005f1a..."} 
[2026-09-09 09:24:39] local.INFO: Packet analysis {"connection_id":176627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844c"} 
[2026-09-09 09:24:39] local.INFO: Extracted packet for processing {"connection_id":176627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844c"} 
[2026-09-09 09:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356280,"longitude_deg":76.3181248,"latitude_deg":9.935628,"altitude":6,"angle":95,"satellites":26,"speed":4,"hex_longitude":"2d7d38c0","hex_latitude":"05ec0e78","is_valid_coordinates":true} 
[2026-09-09 09:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965056256001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282584474124288,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337187328,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:39] 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-09-09 09:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788926017000,"timestamp_ms":1788926017000,"timestamp_seconds":1788926017,"priority":1,"record_length":96,"hex_timestamp":"000001a0844cbde8"} 
[2026-09-09 09:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 09:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965056256001,"66":13798,"110":206,"87":13824,"24":4,"16":130282584474124288,"45":9023384091337187328},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965056256001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:24:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:24:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282584474124288,"km_value":130282584474124.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337187328,"description":"Unknown IO ID 45"} 
[2026-09-09 09:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965056256001,"power":13798,"unknown_110":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9023384091337187328}} 
[2026-09-09 09:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":176627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:24:39] local.INFO: GPS data processed {"connection_id":176627,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:24:39] local.INFO: Acknowledgment sent {"connection_id":176627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:24:39] local.INFO: TCP Data received {"connection_id":178090,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:24:39] local.INFO: Processing buffer {"connection_id":178090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:24:39] local.INFO: IMEI packet received {"connection_id":178090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":178090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:24:44] local.INFO: TCP Data received {"connection_id":178090,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:24:44] local.INFO: Processing buffer {"connection_id":178090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:24:44] local.INFO: IMEI packet received {"connection_id":178090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":178090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:24:45] local.INFO: TCP Data received {"connection_id":178090,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:24:45] local.INFO: Processing buffer {"connection_id":178090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:24:45] local.INFO: Packet analysis {"connection_id":178090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:24:45] local.INFO: Extracted packet for processing {"connection_id":178090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:24: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-09-09 09:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":178090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:24:45] local.INFO: GPS data processed {"connection_id":178090,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:24:45] local.INFO: Acknowledgment sent {"connection_id":178090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:25:01] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:25:01] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:25:01] local.INFO: IMEI packet received {"connection_id":175507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":175507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:25:06] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:25:06] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:25:06] local.INFO: IMEI packet received {"connection_id":175507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":175507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:25:07] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844ce8e0012d7d394005ec0e18000601141d..."} 
[2026-09-09 09:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844ce8e0012d7d394005ec0e18000601141d..."} 
[2026-09-09 09:25:07] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844ce8e0012d7d394005ec0e18000601141d..."} 
[2026-09-09 09:25:07] local.INFO: Packet analysis {"connection_id":175507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844c"} 
[2026-09-09 09:25:07] local.INFO: Extracted packet for processing {"connection_id":175507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844c"} 
[2026-09-09 09:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":99356184,"longitude_deg":76.3181376,"latitude_deg":9.9356184,"altitude":6,"angle":276,"satellites":29,"speed":1,"hex_longitude":"2d7d3940","hex_latitude":"05ec0e18","is_valid_coordinates":true} 
[2026-09-09 09:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965060352001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282601653993472,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104529408,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:07] 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-09-09 09:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788926028000,"timestamp_ms":1788926028000,"timestamp_seconds":1788926028,"priority":1,"record_length":96,"hex_timestamp":"000001a0844ce8e0"} 
[2026-09-09 09:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:25: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-09-09 09:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 09:25: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-09-09 09: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-09-09 09:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965060352001,"66":13678,"110":206,"87":13824,"24":1,"16":130282601653993472,"45":9023172985104529408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965060352001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:25:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:25:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282601653993472,"km_value":130282601653993.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104529408,"description":"Unknown IO ID 45"} 
[2026-09-09 09:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965060352001,"power":13678,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9023172985104529408}} 
[2026-09-09 09:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":175507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:25:08] local.INFO: GPS data processed {"connection_id":175507,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:25:08] local.INFO: Acknowledgment sent {"connection_id":175507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:25:17] local.INFO: TCP Data received {"connection_id":178090,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:25:17] local.INFO: Processing buffer {"connection_id":178090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:25:17] local.INFO: Packet analysis {"connection_id":178090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:25:17] local.INFO: Extracted packet for processing {"connection_id":178090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":178090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:25:17] local.INFO: GPS data processed {"connection_id":178090,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:25:17] local.INFO: Acknowledgment sent {"connection_id":178090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:25:39] local.INFO: TCP Data received {"connection_id":175278,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:25:39] local.INFO: Processing buffer {"connection_id":175278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:25:39] local.INFO: IMEI packet received {"connection_id":175278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":175278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:25:39] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844d0ff0012d7d398005ec0d70000600721d..."} 
[2026-09-09 09:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844d0ff0012d7d398005ec0d70000600721d..."} 
[2026-09-09 09:25:39] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844d0ff0012d7d398005ec0d70000600721d..."} 
[2026-09-09 09:25:39] local.INFO: Packet analysis {"connection_id":175507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844d"} 
[2026-09-09 09:25:39] local.INFO: Extracted packet for processing {"connection_id":175507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844d"} 
[2026-09-09 09:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356016,"longitude_deg":76.318144,"latitude_deg":9.9356016,"altitude":6,"angle":114,"satellites":29,"speed":2,"hex_longitude":"2d7d3980","hex_latitude":"05ec0d70","is_valid_coordinates":true} 
[2026-09-09 09:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965063168001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282614538895360,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722592860160,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:39] 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-09-09 09:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788926038000,"timestamp_ms":1788926038000,"timestamp_seconds":1788926038,"priority":1,"record_length":96,"hex_timestamp":"000001a0844d0ff0"} 
[2026-09-09 09:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 09:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965063168001,"66":13472,"110":206,"87":13824,"24":2,"16":130282614538895360,"45":9023313722592860160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965063168001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:25:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:25:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282614538895360,"km_value":130282614538895.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722592860160,"description":"Unknown IO ID 45"} 
[2026-09-09 09:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965063168001,"power":13472,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9023313722592860160}} 
[2026-09-09 09:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":175507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:25:39] local.INFO: GPS data processed {"connection_id":175507,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:25:39] local.INFO: Acknowledgment sent {"connection_id":175507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:25:40] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:40] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:40] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:25:40] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:40] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:40] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:25:41] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:41] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:41] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:25:42] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:42] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:25:42] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:25:43] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0844e3cb8012d0b8140070509c0001e004e1a..."} 
[2026-09-09 09:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844e3cb8012d0b8140070509c0001e004e1a..."} 
[2026-09-09 09:25:43] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844e3cb8012d0b8140070509c0001e004e1a..."} 
[2026-09-09 09:25:43] local.INFO: Packet analysis {"connection_id":176628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844e"} 
[2026-09-09 09:25:43] local.INFO: Extracted packet for processing {"connection_id":176628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844e"} 
[2026-09-09 09:25:43] local.INFO: GPS Element Parsed {"raw_longitude":755728704,"raw_latitude":117770688,"longitude_deg":75.5728704,"latitude_deg":11.7770688,"altitude":30,"angle":78,"satellites":26,"speed":18,"hex_longitude":"2d0b8140","hex_latitude":"070509c0","is_valid_coordinates":true} 
[2026-09-09 09:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965082112001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30911283356237824,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820851430981892096,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:43] 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-09-09 09:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788926115000,"timestamp_ms":1788926115000,"timestamp_seconds":1788926115,"priority":1,"record_length":96,"hex_timestamp":"000001a0844e3cb8"} 
[2026-09-09 09:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:25:43] 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-09-09 09:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965082112001,"66":14428,"96":206,"94":10240,"24":18,"16":30911283356237824,"45":820851430981892096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-09 09:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965082112001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:25:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 09:25:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30911283356237824,"km_value":30911283356237.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":820851430981892096,"description":"Unknown IO ID 45"} 
[2026-09-09 09:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965082112001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":820851430981892096}} 
[2026-09-09 09:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":176628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:25:43] local.INFO: GPS data processed {"connection_id":176628,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:25:43] local.INFO: Acknowledgment sent {"connection_id":176628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:25:44] local.INFO: TCP Data received {"connection_id":175278,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:25:44] local.INFO: Processing buffer {"connection_id":175278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:25:44] local.INFO: IMEI packet received {"connection_id":175278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":175278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:25:45] local.INFO: TCP Data received {"connection_id":175278,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:25:45] local.INFO: Processing buffer {"connection_id":175278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:25:45] local.INFO: Packet analysis {"connection_id":175278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:25:45] local.INFO: Extracted packet for processing {"connection_id":175278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:25: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-09-09 09:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:25:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":175278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:25:46] local.INFO: GPS data processed {"connection_id":175278,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:25:46] local.INFO: Acknowledgment sent {"connection_id":175278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:25:59] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:25:59] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:25:59] local.INFO: IMEI packet received {"connection_id":178091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":178091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:26:01] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:26:01] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:26:01] local.INFO: IMEI packet received {"connection_id":178091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":178091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:26:06] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:26:06] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:26:06] local.INFO: IMEI packet received {"connection_id":178091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":178091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:26:07] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844d5e10012d7d394005ec0d180006007c1d..."} 
[2026-09-09 09:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844d5e10012d7d394005ec0d180006007c1d..."} 
[2026-09-09 09:26:07] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844d5e10012d7d394005ec0d180006007c1d..."} 
[2026-09-09 09:26:07] local.INFO: Packet analysis {"connection_id":178091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844d"} 
[2026-09-09 09:26:07] local.INFO: Extracted packet for processing {"connection_id":178091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844d"} 
[2026-09-09 09:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":99355928,"longitude_deg":76.3181376,"latitude_deg":9.9355928,"altitude":6,"angle":124,"satellites":29,"speed":0,"hex_longitude":"2d7d3940","hex_latitude":"05ec0d18","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965065728001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282623128829952,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091336994816,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:07] 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-09-09 09:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788926058000,"timestamp_ms":1788926058000,"timestamp_seconds":1788926058,"priority":1,"record_length":96,"hex_timestamp":"000001a0844d5e10"} 
[2026-09-09 09:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 09:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965065728001,"66":13602,"110":206,"87":13824,"24":0,"16":130282623128829952,"45":9023384091336994816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 09:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965065728001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:26:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 09:26:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282623128829952,"km_value":130282623128829.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091336994816,"description":"Unknown IO ID 45"} 
[2026-09-09 09:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965065728001,"power":13602,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091336994816}} 
[2026-09-09 09:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":178091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:26:07] local.INFO: GPS data processed {"connection_id":178091,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:26:07] local.INFO: Acknowledgment sent {"connection_id":178091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:26:17] local.INFO: TCP Data received {"connection_id":175278,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:26:17] local.INFO: Processing buffer {"connection_id":175278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:26:17] local.INFO: Packet analysis {"connection_id":175278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:26:17] local.INFO: Extracted packet for processing {"connection_id":175278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":175278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:26:18] local.INFO: GPS data processed {"connection_id":175278,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:26:18] local.INFO: Acknowledgment sent {"connection_id":175278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:26:38] local.INFO: TCP Data received {"connection_id":178091,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0844f1390012d7d340005ec0a400006012c1c..."} 
[2026-09-09 09:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844f1390012d7d340005ec0a400006012c1c..."} 
[2026-09-09 09:26:38] local.INFO: Processing buffer {"connection_id":178091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844f1390012d7d340005ec0a400006012c1c..."} 
[2026-09-09 09:26:38] local.INFO: Packet analysis {"connection_id":178091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:26:38] local.INFO: Extracted packet for processing {"connection_id":178091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":99355200,"longitude_deg":76.3180032,"latitude_deg":9.93552,"altitude":6,"angle":300,"satellites":28,"speed":1,"hex_longitude":"2d7d3400","hex_latitude":"05ec0a40","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965099264001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282726208045056,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709044736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:38] 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-09-09 09:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788926170000,"timestamp_ms":1788926170000,"timestamp_seconds":1788926170,"priority":1,"record_length":96,"hex_timestamp":"000001a0844f1390"} 
[2026-09-09 09:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":84,"data_length":795,"current_offset":136} 
[2026-09-09 09:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965099264001,"66":13722,"109":206,"87":13824,"24":1,"16":130282726208045056,"45":9021906347709044736},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965099264001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:26:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:26:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282726208045056,"km_value":130282726208045.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709044736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965099264001,"power":13722,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021906347709044736}} 
[2026-09-09 09:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":178091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:26:39] local.INFO: GPS data processed {"connection_id":178091,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:26:39] local.INFO: Acknowledgment sent {"connection_id":178091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:26:44] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:26:44] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:26:44] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:26:49] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:26:49] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:26:49] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:26:50] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:26:50] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:26:50] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:26:50] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 09:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:26:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:26:50] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:26:50] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:26:55] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:26:55] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844b52a0012d34c14006aa4370000600022b..."} 
[2026-09-09 09:26:55] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:26:55] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844b"} 
[2026-09-09 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457964959488001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788925924000,"timestamp_ms":1788925924000,"timestamp_seconds":1788925924,"priority":1,"record_length":96,"hex_timestamp":"000001a0844b52a0"} 
[2026-09-09 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-09-09 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457964959488001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457964959488001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:26:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:26:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457964959488001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:26:55] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:26:55] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:27:01] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:27:01] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:27:01] local.INFO: IMEI packet received {"connection_id":175279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":175279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:27:06] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:27:06] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:27:06] local.INFO: IMEI packet received {"connection_id":175279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":175279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:27:07] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0844f1b60012d7d338005ec0ac0000601441d..."} 
[2026-09-09 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844f1b60012d7d338005ec0ac0000601441d..."} 
[2026-09-09 09:27:07] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844f1b60012d7d338005ec0ac0000601441d..."} 
[2026-09-09 09:27:07] local.INFO: Packet analysis {"connection_id":175279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:27:07] local.INFO: Extracted packet for processing {"connection_id":175279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":99355328,"longitude_deg":76.3179904,"latitude_deg":9.9355328,"altitude":6,"angle":324,"satellites":29,"speed":1,"hex_longitude":"2d7d3380","hex_latitude":"05ec0ac0","is_valid_coordinates":true} 
[2026-09-09 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965099520001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282734797979648,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978964877312,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:07] 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-09-09 09:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788926172000,"timestamp_ms":1788926172000,"timestamp_seconds":1788926172,"priority":1,"record_length":96,"hex_timestamp":"000001a0844f1b60"} 
[2026-09-09 09:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:27: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-09-09 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 09:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:27:07] 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-09-09 09:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965099520001,"66":13678,"109":206,"87":13824,"24":1,"16":130282734797979648,"45":9021835978964877312},"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-09-09 09:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965099520001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:27:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:27:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282734797979648,"km_value":130282734797979.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978964877312,"description":"Unknown IO ID 45"} 
[2026-09-09 09:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965099520001,"power":13678,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021835978964877312}} 
[2026-09-09 09:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":175279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:27:07] local.INFO: GPS data processed {"connection_id":175279,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:27:07] local.INFO: Acknowledgment sent {"connection_id":175279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:27:30] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0844f0fa8012d0bc2c007052b50002300331b..."} 
[2026-09-09 09:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844f0fa8012d0bc2c007052b50002300331b..."} 
[2026-09-09 09:27:30] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844f0fa8012d0bc2c007052b50002300331b..."} 
[2026-09-09 09:27:30] local.INFO: Packet analysis {"connection_id":176628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:27:30] local.INFO: Extracted packet for processing {"connection_id":176628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:27:30] local.INFO: GPS Element Parsed {"raw_longitude":755745472,"raw_latitude":117779280,"longitude_deg":75.5745472,"latitude_deg":11.777928,"altitude":35,"angle":51,"satellites":27,"speed":16,"hex_longitude":"2d0bc2c0","hex_latitude":"07052b50","is_valid_coordinates":true} 
[2026-09-09 09:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965096704001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30912735055183872,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846676760095336448,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788926169000,"timestamp_ms":1788926169000,"timestamp_seconds":1788926169,"priority":1,"record_length":96,"hex_timestamp":"000001a0844f0fa8"} 
[2026-09-09 09:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:27: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-09-09 09: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 09:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965096704001,"66":14580,"97":206,"94":10240,"24":16,"16":30912735055183872,"45":846676760095336448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-09-09 09:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965096704001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:27:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:27:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30912735055183872,"km_value":30912735055183.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":846676760095336448,"description":"Unknown IO ID 45"} 
[2026-09-09 09:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965096704001,"power":14580,"unknown_97":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":846676760095336448}} 
[2026-09-09 09:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":176628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:27:30] local.INFO: GPS data processed {"connection_id":176628,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:27:30] local.INFO: Acknowledgment sent {"connection_id":176628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:27:39] local.INFO: TCP Data received {"connection_id":178093,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:27:39] local.INFO: Processing buffer {"connection_id":178093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:27:39] local.INFO: IMEI packet received {"connection_id":178093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":178093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:27:39] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0844f6980012d7d330005ec0c30000601451c..."} 
[2026-09-09 09:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844f6980012d7d330005ec0c30000601451c..."} 
[2026-09-09 09:27:39] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844f6980012d7d330005ec0c30000601451c..."} 
[2026-09-09 09:27:39] local.INFO: Packet analysis {"connection_id":175279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:27:39] local.INFO: Extracted packet for processing {"connection_id":175279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":99355696,"longitude_deg":76.3179776,"latitude_deg":9.9355696,"altitude":6,"angle":325,"satellites":28,"speed":0,"hex_longitude":"2d7d3300","hex_latitude":"05ec0c30","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965100032001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282756272816128,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241476554752,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:39] 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-09-09 09:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788926192000,"timestamp_ms":1788926192000,"timestamp_seconds":1788926192,"priority":1,"record_length":96,"hex_timestamp":"000001a0844f6980"} 
[2026-09-09 09:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 09:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:27:39] 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-09-09 09:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965100032001,"66":13722,"109":206,"87":13824,"24":0,"16":130282756272816128,"45":9021695241476554752},"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-09-09 09:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965100032001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:27:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:27:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282756272816128,"km_value":130282756272816.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241476554752,"description":"Unknown IO ID 45"} 
[2026-09-09 09:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965100032001,"power":13722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021695241476554752}} 
[2026-09-09 09:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":175279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:27:39] local.INFO: GPS data processed {"connection_id":175279,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:27:39] local.INFO: Acknowledgment sent {"connection_id":175279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:27:43] local.INFO: TCP Data received {"connection_id":178093,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:27:43] local.INFO: Processing buffer {"connection_id":178093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:27:43] local.INFO: IMEI packet received {"connection_id":178093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":178093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:27:44] local.INFO: TCP Data received {"connection_id":178093,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:27:44] local.INFO: Processing buffer {"connection_id":178093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:27:44] local.INFO: Packet analysis {"connection_id":178093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:27:44] local.INFO: Extracted packet for processing {"connection_id":178093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 09:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:27: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-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":178093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:27:44] local.INFO: GPS data processed {"connection_id":178093,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:27:44] local.INFO: Acknowledgment sent {"connection_id":178093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:27:45] local.INFO: TCP Data received {"connection_id":175509,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:27:45] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:27:45] local.INFO: IMEI packet received {"connection_id":175509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":175509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:27:51] local.INFO: TCP Data received {"connection_id":175509,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:27:51] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:27:51] local.INFO: IMEI packet received {"connection_id":175509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":175509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:28:06] local.INFO: TCP Data received {"connection_id":175280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:28:06] local.INFO: Processing buffer {"connection_id":175280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:28:06] local.INFO: IMEI packet received {"connection_id":175280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":175280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:28:11] local.INFO: TCP Data received {"connection_id":175280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:28:11] local.INFO: Processing buffer {"connection_id":175280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:28:11] local.INFO: IMEI packet received {"connection_id":175280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":175280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:28:12] local.INFO: TCP Data received {"connection_id":175280,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0844f9090012d7d2fc005ec0cf80007011e1e..."} 
[2026-09-09 09:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844f9090012d7d2fc005ec0cf80007011e1e..."} 
[2026-09-09 09:28:12] local.INFO: Processing buffer {"connection_id":175280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844f9090012d7d2fc005ec0cf80007011e1e..."} 
[2026-09-09 09:28:12] local.INFO: Packet analysis {"connection_id":175280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:28:12] local.INFO: Extracted packet for processing {"connection_id":175280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":99355896,"longitude_deg":76.3178944,"latitude_deg":9.9355896,"altitude":7,"angle":286,"satellites":30,"speed":1,"hex_longitude":"2d7d2fc0","hex_latitude":"05ec0cf8","is_valid_coordinates":true} 
[2026-09-09 09:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965105152001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503988293632,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28: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-09-09 09:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788926202000,"timestamp_ms":1788926202000,"timestamp_seconds":1788926202,"priority":1,"record_length":96,"hex_timestamp":"000001a0844f9090"} 
[2026-09-09 09:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:28: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-09-09 09:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 09:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:28: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-09-09 09:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965105152001,"66":13787,"109":206,"87":13824,"24":1,"16":130282799222489088,"45":9021554503988293632},"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-09-09 09:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965105152001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:28:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:28:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503988293632,"description":"Unknown IO ID 45"} 
[2026-09-09 09:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965105152001,"power":13787,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021554503988293632}} 
[2026-09-09 09:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":175280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:28:12] local.INFO: GPS data processed {"connection_id":175280,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:28:12] local.INFO: Acknowledgment sent {"connection_id":175280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:28:16] local.INFO: TCP Data received {"connection_id":178093,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:28:16] local.INFO: Processing buffer {"connection_id":178093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:28:16] local.INFO: Packet analysis {"connection_id":178093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:28:16] local.INFO: Extracted packet for processing {"connection_id":178093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 09:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":178093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:28:16] local.INFO: GPS data processed {"connection_id":178093,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:28:16] local.INFO: Acknowledgment sent {"connection_id":178093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:28:17] local.INFO: TCP Data received {"connection_id":175280,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0844f9478012d7d2f8005ec0d000007011f1f..."} 
[2026-09-09 09:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844f9478012d7d2f8005ec0d000007011f1f..."} 
[2026-09-09 09:28:17] local.INFO: Processing buffer {"connection_id":175280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844f9478012d7d2f8005ec0d000007011f1f..."} 
[2026-09-09 09:28:17] local.INFO: Packet analysis {"connection_id":175280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:28:17] local.INFO: Extracted packet for processing {"connection_id":175280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:28:17] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99355904,"longitude_deg":76.317888,"latitude_deg":9.9355904,"altitude":7,"angle":287,"satellites":31,"speed":1,"hex_longitude":"2d7d2f80","hex_latitude":"05ec0d00","is_valid_coordinates":true} 
[2026-09-09 09:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965107712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639710314035200,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28: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-09-09 09:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788926203000,"timestamp_ms":1788926203000,"timestamp_seconds":1788926203,"priority":1,"record_length":96,"hex_timestamp":"000001a0844f9478"} 
[2026-09-09 09:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-09 09:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:28: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-09-09 09:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965107712001,"66":13243,"109":206,"87":13824,"24":1,"16":130282799222489088,"45":9020639710314035200},"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-09-09 09:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965107712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:28:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:28:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639710314035200,"description":"Unknown IO ID 45"} 
[2026-09-09 09:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965107712001,"power":13243,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9020639710314035200}} 
[2026-09-09 09:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":175280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:28:17] local.INFO: GPS data processed {"connection_id":175280,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:28:17] local.INFO: Acknowledgment sent {"connection_id":175280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:28:39] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:28:39] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:28:39] local.INFO: IMEI packet received {"connection_id":175510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":175510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:28:44] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:28:44] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:28:44] local.INFO: IMEI packet received {"connection_id":175510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":175510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:28:46] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:28:46] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:28:46] local.INFO: Packet analysis {"connection_id":175510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:28:46] local.INFO: Extracted packet for processing {"connection_id":175510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 09:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":175510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:28:46] local.INFO: GPS data processed {"connection_id":175510,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:28:46] local.INFO: Acknowledgment sent {"connection_id":175510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:28:52] local.INFO: TCP Data received {"connection_id":175509,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:28:52] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:28:52] local.INFO: IMEI packet received {"connection_id":175509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":175509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:28:55] local.INFO: TCP Data received {"connection_id":175509,"ip":"42.106.6.41","data_length":1590,"data_hex":"000000000000030f8e0a000001a084501560012d0bde400705a860001200561b..."} 
[2026-09-09 09:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":1590,"packet_hex":"000000000000030f8e0a000001a084501560012d0bde400705a860001200561b..."} 
[2026-09-09 09:28:55] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a084501560012d0bde400705a860001200561b..."} 
[2026-09-09 09:28:55] local.INFO: Packet analysis {"connection_id":175509,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08450"} 
[2026-09-09 09:28:55] local.INFO: Extracted packet for processing {"connection_id":175509,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08450"} 
[2026-09-09 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":755752512,"raw_latitude":117811296,"longitude_deg":75.5752512,"latitude_deg":11.7811296,"altitude":18,"angle":86,"satellites":27,"speed":11,"hex_longitude":"2d0bde40","hex_latitude":"0705a860","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965112576001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30914401502494720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854065478243743744,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788926236000,"timestamp_ms":1788926236000,"timestamp_seconds":1788926236,"priority":1,"record_length":96,"hex_timestamp":"000001a084501560"} 
[2026-09-09 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-09-09 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 09:28: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-09-09 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-09-09 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-09-09 09:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965112576001,"66":14363,"164":206,"94":10240,"24":11,"16":30914401502494720,"45":854065478243743744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 09:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965112576001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:28:55] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 09:28:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30914401502494720,"km_value":30914401502494.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":854065478243743744,"description":"Unknown IO ID 45"} 
[2026-09-09 09:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965112576001,"power":14363,"unknown_164":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":854065478243743744}} 
[2026-09-09 09:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":175509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788045,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:28:55] local.INFO: GPS data processed {"connection_id":175509,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:28:55] local.INFO: Acknowledgment sent {"connection_id":175509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:28:55] local.INFO: Packet analysis {"connection_id":175509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08450"} 
[2026-09-09 09:28:55] local.INFO: Extracted packet for processing {"connection_id":175509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08450"} 
[2026-09-09 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":755752768,"raw_latitude":117811272,"longitude_deg":75.5752768,"latitude_deg":11.7811272,"altitude":18,"angle":101,"satellites":27,"speed":11,"hex_longitude":"2d0bdf40","hex_latitude":"0705a848","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965116416001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30914418682363904,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855191378150842368,"note":"Value kept but may cause issues"} 
[2026-09-09 09:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788926237000,"timestamp_ms":1788926237000,"timestamp_seconds":1788926237,"priority":1,"record_length":96,"hex_timestamp":"000001a084501948"} 
[2026-09-09 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-09-09 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-09 09:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965116416001,"66":14363,"164":206,"94":10240,"24":11,"16":30914418682363904,"45":855191378150842368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 09:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965116416001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:28:55] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 09:28:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30914418682363904,"km_value":30914418682363.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":855191378150842368,"description":"Unknown IO ID 45"} 
[2026-09-09 09:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965116416001,"power":14363,"unknown_164":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":855191378150842368}} 
[2026-09-09 09:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":175509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:28:55] local.INFO: GPS data processed {"connection_id":175509,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:28:55] local.INFO: Acknowledgment sent {"connection_id":175509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:29:00] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:29:00] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:29:00] local.INFO: IMEI packet received {"connection_id":175512,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":175512,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:29:01] local.INFO: TCP Data received {"connection_id":176630,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:29:01] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:29:01] local.INFO: IMEI packet received {"connection_id":176630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":176630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:29:02] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:29:02] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:29:02] local.INFO: IMEI packet received {"connection_id":175512,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":175512,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:29:02] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084513670012d0c24800705f0d00024000b1a..."} 
[2026-09-09 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084513670012d0c24800705f0d00024000b1a..."} 
[2026-09-09 09:29:02] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084513670012d0c24800705f0d00024000b1a..."} 
[2026-09-09 09:29:02] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08451"} 
[2026-09-09 09:29:02] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08451"} 
[2026-09-09 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":755770496,"raw_latitude":117829840,"longitude_deg":75.5770496,"latitude_deg":11.782984,"altitude":36,"angle":11,"satellites":26,"speed":8,"hex_longitude":"2d0c2480","hex_latitude":"0705f0d0","is_valid_coordinates":true} 
[2026-09-09 09:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965130240001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30916295583072256,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874120570337212416,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788926310000,"timestamp_ms":1788926310000,"timestamp_seconds":1788926310,"priority":1,"record_length":96,"hex_timestamp":"000001a084513670"} 
[2026-09-09 09:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 09:29:02] 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-09-09 09:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965130240001,"66":14450,"164":206,"94":10240,"24":8,"16":30916295583072256,"45":874120570337212416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 09:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965130240001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:29:02] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 09:29:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30916295583072256,"km_value":30916295583072.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":874120570337212416,"description":"Unknown IO ID 45"} 
[2026-09-09 09:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965130240001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":874120570337212416}} 
[2026-09-09 09:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788047,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:29:03] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:29:03] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:29:05] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084518878012d0c2a4007060f600025000a1a..."} 
[2026-09-09 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084518878012d0c2a4007060f600025000a1a..."} 
[2026-09-09 09:29:05] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084518878012d0c2a4007060f600025000a1a..."} 
[2026-09-09 09:29:05] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08451"} 
[2026-09-09 09:29:05] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08451"} 
[2026-09-09 09:29:05] local.INFO: GPS Element Parsed {"raw_longitude":755771968,"raw_latitude":117837664,"longitude_deg":75.5771968,"latitude_deg":11.7837664,"altitude":37,"angle":10,"satellites":26,"speed":17,"hex_longitude":"2d0c2a40","hex_latitude":"07060f60","is_valid_coordinates":true} 
[2026-09-09 09:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965135360001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30916682130128896,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874964995269513216,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788926331000,"timestamp_ms":1788926331000,"timestamp_seconds":1788926331,"priority":1,"record_length":96,"hex_timestamp":"000001a084518878"} 
[2026-09-09 09:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:29: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-09-09 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 09:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965135360001,"66":14309,"164":206,"94":10240,"24":17,"16":30916682130128896,"45":874964995269513216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 09:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965135360001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:29:05] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 09:29:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30916682130128896,"km_value":30916682130128.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":874964995269513216,"description":"Unknown IO ID 45"} 
[2026-09-09 09:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965135360001,"power":14309,"unknown_164":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":874964995269513216}} 
[2026-09-09 09:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788048,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:29:06] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:29:06] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:29:06] local.INFO: TCP Data received {"connection_id":176630,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:29:06] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:29:06] local.INFO: IMEI packet received {"connection_id":176630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":176630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:29:07] local.INFO: TCP Data received {"connection_id":176630,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0844f9478012d7d2f8005ec0d000007011f1f..."} 
[2026-09-09 09:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844f9478012d7d2f8005ec0d000007011f1f..."} 
[2026-09-09 09:29:07] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844f9478012d7d2f8005ec0d000007011f1f..."} 
[2026-09-09 09:29:07] local.INFO: Packet analysis {"connection_id":176630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:29:07] local.INFO: Extracted packet for processing {"connection_id":176630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99355904,"longitude_deg":76.317888,"latitude_deg":9.9355904,"altitude":7,"angle":287,"satellites":31,"speed":1,"hex_longitude":"2d7d2f80","hex_latitude":"05ec0d00","is_valid_coordinates":true} 
[2026-09-09 09:29: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-09-09 09:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965107968001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569341569859584,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:07] 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-09-09 09:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788926203000,"timestamp_ms":1788926203000,"timestamp_seconds":1788926203,"priority":1,"record_length":96,"hex_timestamp":"000001a0844f9478"} 
[2026-09-09 09:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-09 09:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965107968001,"66":13243,"109":206,"87":13824,"24":1,"16":130282799222489088,"45":9020569341569859584},"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-09-09 09:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965107968001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:29:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:29:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569341569859584,"description":"Unknown IO ID 45"} 
[2026-09-09 09:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965107968001,"power":13243,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9020569341569859584}} 
[2026-09-09 09:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":176630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:29:07] local.INFO: GPS data processed {"connection_id":176630,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:29:07] local.INFO: Acknowledgment sent {"connection_id":176630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:29:12] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:29:12] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:29:12] local.INFO: IMEI packet received {"connection_id":175511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":175511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:29:17] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:29:17] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:29:17] local.INFO: Packet analysis {"connection_id":175510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:29:17] local.INFO: Extracted packet for processing {"connection_id":175510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 09:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":175510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:29:17] local.INFO: GPS data processed {"connection_id":175510,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:29:17] local.INFO: Acknowledgment sent {"connection_id":175510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:29:39] local.INFO: TCP Data received {"connection_id":178095,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:29:39] local.INFO: Processing buffer {"connection_id":178095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:29:39] local.INFO: IMEI packet received {"connection_id":178095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":178095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:29:40] local.INFO: TCP Data received {"connection_id":176630,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0844f9c48012d7d2f4005ec0d100007011c1f..."} 
[2026-09-09 09:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844f9c48012d7d2f4005ec0d100007011c1f..."} 
[2026-09-09 09:29:40] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844f9c48012d7d2f4005ec0d100007011c1f..."} 
[2026-09-09 09:29:40] local.INFO: Packet analysis {"connection_id":176630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:29:40] local.INFO: Extracted packet for processing {"connection_id":176630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":99355920,"longitude_deg":76.3178816,"latitude_deg":9.935592,"altitude":7,"angle":284,"satellites":31,"speed":0,"hex_longitude":"2d7d2f40","hex_latitude":"05ec0d10","is_valid_coordinates":true} 
[2026-09-09 09:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965107968001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569341569859584,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:40] 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-09-09 09:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788926205000,"timestamp_ms":1788926205000,"timestamp_seconds":1788926205,"priority":1,"record_length":96,"hex_timestamp":"000001a0844f9c48"} 
[2026-09-09 09:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-09 09:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965107968001,"66":13059,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020569341569859584},"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-09-09 09:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965107968001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:29:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:29:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569341569859584,"description":"Unknown IO ID 45"} 
[2026-09-09 09:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965107968001,"power":13059,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020569341569859584}} 
[2026-09-09 09:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":176630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:29:40] local.INFO: GPS data processed {"connection_id":176630,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:29:40] local.INFO: Acknowledgment sent {"connection_id":176630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:29:42] local.INFO: TCP Data received {"connection_id":178096,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:29:42] local.INFO: Processing buffer {"connection_id":178096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:29:42] local.INFO: IMEI packet received {"connection_id":178096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":178096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:29:44] local.INFO: TCP Data received {"connection_id":178095,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:29:44] local.INFO: Processing buffer {"connection_id":178095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:29:44] local.INFO: IMEI packet received {"connection_id":178095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":178095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:29:45] local.INFO: TCP Data received {"connection_id":178095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:29:45] local.INFO: Processing buffer {"connection_id":178095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:29:45] local.INFO: Packet analysis {"connection_id":178095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:29:45] local.INFO: Extracted packet for processing {"connection_id":178095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 09:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:29: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-09-09 09:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:29:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":178095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:29:45] local.INFO: GPS data processed {"connection_id":178095,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:29:45] local.INFO: Acknowledgment sent {"connection_id":178095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:30:01] local.INFO: TCP Data received {"connection_id":178097,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:30:01] local.INFO: Processing buffer {"connection_id":178097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:30:01] local.INFO: IMEI packet received {"connection_id":178097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":178097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:30:06] local.INFO: TCP Data received {"connection_id":178097,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:30:06] local.INFO: Processing buffer {"connection_id":178097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:30:06] local.INFO: IMEI packet received {"connection_id":178097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":178097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:30:07] local.INFO: TCP Data received {"connection_id":178097,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:30:07] local.INFO: Processing buffer {"connection_id":178097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:30:07] local.INFO: Packet analysis {"connection_id":178097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:30:07] local.INFO: Extracted packet for processing {"connection_id":178097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355928,"longitude_deg":76.3178688,"latitude_deg":9.9355928,"altitude":7,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0d18","is_valid_coordinates":true} 
[2026-09-09 09:30: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-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972825686016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] 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-09-09 09:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788926206000,"timestamp_ms":1788926206000,"timestamp_seconds":1788926206,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fa030"} 
[2026-09-09 09:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174136155465,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219774864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147871754,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3681878016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960094720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,219,160,148,45,128,13,7,31,10,66,144,192,1,240,227,132,236,4,113,205,27,51,29,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:30:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715552711770143,"timestamp_seconds":504715552711770.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108480001,"66":13059,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020498972825686016},"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-09-09 09:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:30:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:30:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972825686016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108480001,"power":13059,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020498972825686016}} 
[2026-09-09 09:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":178097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:30:07] local.INFO: GPS data processed {"connection_id":178097,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:30:07] local.INFO: Acknowledgment sent {"connection_id":178097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:30:16] local.INFO: TCP Data received {"connection_id":178095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:30:16] local.INFO: Processing buffer {"connection_id":178095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:30:16] local.INFO: Packet analysis {"connection_id":178095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:30:16] local.INFO: Extracted packet for processing {"connection_id":178095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 09:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:30: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-09-09 09:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":178095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:30:16] local.INFO: GPS data processed {"connection_id":178095,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:30:16] local.INFO: Acknowledgment sent {"connection_id":178095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:30:38] local.INFO: TCP Data received {"connection_id":178097,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:30:38] local.INFO: Processing buffer {"connection_id":178097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:30:38] local.INFO: Packet analysis {"connection_id":178097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:30:38] local.INFO: Extracted packet for processing {"connection_id":178097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355928,"longitude_deg":76.3178688,"latitude_deg":9.9355928,"altitude":7,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0d18","is_valid_coordinates":true} 
[2026-09-09 09:30: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-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972825686016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] 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-09-09 09:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788926206000,"timestamp_ms":1788926206000,"timestamp_seconds":1788926206,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fa030"} 
[2026-09-09 09:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174136155465,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219774864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147871754,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3681878016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960094720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,219,160,148,45,128,13,7,31,10,66,144,192,1,240,227,132,236,4,113,205,27,51,29,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:30:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715552711770143,"timestamp_seconds":504715552711770.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108480001,"66":13059,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020498972825686016},"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-09-09 09:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:30:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:30:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972825686016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108480001,"power":13059,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020498972825686016}} 
[2026-09-09 09:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":178097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:30:38] local.INFO: GPS data processed {"connection_id":178097,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:30:38] local.INFO: Acknowledgment sent {"connection_id":178097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:30:44] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:30:44] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:30:44] local.INFO: IMEI packet received {"connection_id":175513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":175513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:30:49] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:30:49] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:30:49] local.INFO: IMEI packet received {"connection_id":175513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":175513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:30:50] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:30:50] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:30:50] local.INFO: Packet analysis {"connection_id":175513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:30:50] local.INFO: Extracted packet for processing {"connection_id":175513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:30:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 09:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:30:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:30:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":175513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:30:50] local.INFO: GPS data processed {"connection_id":175513,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:30:50] local.INFO: Acknowledgment sent {"connection_id":175513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:30:55] local.INFO: TCP Data received {"connection_id":175515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175515,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:30:55] local.INFO: Processing buffer {"connection_id":175515,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:30:55] local.INFO: IMEI packet received {"connection_id":175515,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":175515,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:30:59] local.INFO: TCP Data received {"connection_id":175515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175515,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:30:59] local.INFO: Processing buffer {"connection_id":175515,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:30:59] local.INFO: IMEI packet received {"connection_id":175515,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":175515,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:31:00] local.INFO: TCP Data received {"connection_id":175515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0845316e8012d0c608007062ed8001700961a..."} 
[2026-09-09 09:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845316e8012d0c608007062ed8001700961a..."} 
[2026-09-09 09:31:00] local.INFO: Processing buffer {"connection_id":175515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845316e8012d0c608007062ed8001700961a..."} 
[2026-09-09 09:31:00] local.INFO: Packet analysis {"connection_id":175515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:31:00] local.INFO: Extracted packet for processing {"connection_id":175515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:31:00] local.INFO: GPS Element Parsed {"raw_longitude":755785856,"raw_latitude":117845720,"longitude_deg":75.5785856,"latitude_deg":11.784572,"altitude":23,"angle":150,"satellites":26,"speed":24,"hex_longitude":"2d0c6080","hex_latitude":"07062ed8","is_valid_coordinates":true} 
[2026-09-09 09:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965165312001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30918030749859840,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888968375365675008,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788926433000,"timestamp_ms":1788926433000,"timestamp_seconds":1788926433,"priority":1,"record_length":96,"hex_timestamp":"000001a0845316e8"} 
[2026-09-09 09:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:31: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":125,"data_length":795,"current_offset":136} 
[2026-09-09 09:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965165312001,"66":14374,"164":206,"94":10240,"24":24,"16":30918030749859840,"45":888968375365675008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 09:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965165312001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:31:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 09:31:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30918030749859840,"km_value":30918030749859.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":888968375365675008,"description":"Unknown IO ID 45"} 
[2026-09-09 09:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965165312001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":888968375365675008}} 
[2026-09-09 09:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":175515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:31:00] local.INFO: GPS data processed {"connection_id":175515,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:31:00] local.INFO: Acknowledgment sent {"connection_id":175515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:31:01] local.INFO: TCP Data received {"connection_id":175515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084532688012d0c6540070627e80015008b1b..."} 
[2026-09-09 09:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084532688012d0c6540070627e80015008b1b..."} 
[2026-09-09 09:31:01] local.INFO: Processing buffer {"connection_id":175515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084532688012d0c6540070627e80015008b1b..."} 
[2026-09-09 09:31:01] local.INFO: Packet analysis {"connection_id":175515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:31:01] local.INFO: Extracted packet for processing {"connection_id":175515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:31:01] local.INFO: GPS Element Parsed {"raw_longitude":755787072,"raw_latitude":117843944,"longitude_deg":75.5787072,"latitude_deg":11.7843944,"altitude":21,"angle":139,"satellites":27,"speed":19,"hex_longitude":"2d0c6540","hex_latitude":"070627e8","is_valid_coordinates":true} 
[2026-09-09 09:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965166848001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30918138124042240,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891853493876217856,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788926437000,"timestamp_ms":1788926437000,"timestamp_seconds":1788926437,"priority":1,"record_length":96,"hex_timestamp":"000001a084532688"} 
[2026-09-09 09:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:31: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-09-09 09:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 09:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965166848001,"66":14396,"164":206,"94":10240,"24":19,"16":30918138124042240,"45":891853493876217856},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 09:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965166848001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:31:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 09:31:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30918138124042240,"km_value":30918138124042.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":891853493876217856,"description":"Unknown IO ID 45"} 
[2026-09-09 09:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965166848001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":891853493876217856}} 
[2026-09-09 09:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":175515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:31:01] local.INFO: GPS data processed {"connection_id":175515,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:31:01] local.INFO: Acknowledgment sent {"connection_id":175515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:31:02] local.INFO: TCP Data received {"connection_id":178098,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:31:02] local.INFO: Processing buffer {"connection_id":178098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:31:02] local.INFO: IMEI packet received {"connection_id":178098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":178098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:31:07] local.INFO: TCP Data received {"connection_id":178098,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:31:07] local.INFO: Processing buffer {"connection_id":178098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:31:07] local.INFO: IMEI packet received {"connection_id":178098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":178098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:31:08] local.INFO: TCP Data received {"connection_id":178098,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:31:08] local.INFO: Processing buffer {"connection_id":178098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:31:08] local.INFO: Packet analysis {"connection_id":178098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:31:08] local.INFO: Extracted packet for processing {"connection_id":178098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355928,"longitude_deg":76.3178688,"latitude_deg":9.9355928,"altitude":7,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0d18","is_valid_coordinates":true} 
[2026-09-09 09:31: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-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972825686016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] 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-09-09 09:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788926206000,"timestamp_ms":1788926206000,"timestamp_seconds":1788926206,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fa030"} 
[2026-09-09 09:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174136155465,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219774864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147871754,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3681878016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960094720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:08] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,219,160,148,45,128,13,7,31,10,66,144,192,1,240,227,132,236,4,113,205,27,51,29,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:31:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715552711770143,"timestamp_seconds":504715552711770.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108480001,"66":13059,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020498972825686016},"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-09-09 09:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:31:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:31:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972825686016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108480001,"power":13059,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020498972825686016}} 
[2026-09-09 09:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":178098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:31:08] local.INFO: GPS data processed {"connection_id":178098,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:31:08] local.INFO: Acknowledgment sent {"connection_id":178098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:31:22] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:31:22] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:31:22] local.INFO: Packet analysis {"connection_id":175513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:31:22] local.INFO: Extracted packet for processing {"connection_id":175513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 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-09-09 09:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":175513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:31:22] local.INFO: GPS data processed {"connection_id":175513,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:31:22] local.INFO: Acknowledgment sent {"connection_id":175513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:31:39] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:31:39] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:31:39] local.INFO: IMEI packet received {"connection_id":175281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":175281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:31:39] local.INFO: TCP Data received {"connection_id":178098,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:31:39] local.INFO: Processing buffer {"connection_id":178098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fa030012d7d2ec005ec0d180007011c1e..."} 
[2026-09-09 09:31:39] local.INFO: Packet analysis {"connection_id":178098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:31:39] local.INFO: Extracted packet for processing {"connection_id":178098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355928,"longitude_deg":76.3178688,"latitude_deg":9.9355928,"altitude":7,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0d18","is_valid_coordinates":true} 
[2026-09-09 09:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108480001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972825686016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] 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-09-09 09:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788926206000,"timestamp_ms":1788926206000,"timestamp_seconds":1788926206,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fa030"} 
[2026-09-09 09:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174136155465,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219774864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147871754,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3681878016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960094720,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:39] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,219,160,148,45,128,13,7,31,10,66,144,192,1,240,227,132,236,4,113,205,27,51,29,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:31:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715552711770143,"timestamp_seconds":504715552711770.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108480001,"66":13059,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020498972825686016},"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-09-09 09:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108480001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:31:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:31:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972825686016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108480001,"power":13059,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020498972825686016}} 
[2026-09-09 09:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":178098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:31:39] local.INFO: GPS data processed {"connection_id":178098,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:31:39] local.INFO: Acknowledgment sent {"connection_id":178098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:31:40] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:31:40] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:31:40] local.INFO: IMEI packet received {"connection_id":176631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":176631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:31:41] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:31:41] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:31:41] local.INFO: IMEI packet received {"connection_id":176631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":176631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:31:44] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:31:44] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:31:44] local.INFO: IMEI packet received {"connection_id":175281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":175281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:31:45] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:31:45] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:31:45] local.INFO: IMEI packet received {"connection_id":176631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":176631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:31:45] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:31:45] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:31:45] local.INFO: Packet analysis {"connection_id":175281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:31:45] local.INFO: Extracted packet for processing {"connection_id":175281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 09:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:31: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-09-09 09:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:31:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":175281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:31:45] local.INFO: GPS data processed {"connection_id":175281,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:31:45] local.INFO: Acknowledgment sent {"connection_id":175281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:31:45] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0845374a8012d0c7e0007060d58001500871b..."} 
[2026-09-09 09:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845374a8012d0c7e0007060d58001500871b..."} 
[2026-09-09 09:31:45] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845374a8012d0c7e0007060d58001500871b..."} 
[2026-09-09 09:31:45] local.INFO: Packet analysis {"connection_id":176631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:31:45] local.INFO: Extracted packet for processing {"connection_id":176631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:31:45] local.INFO: GPS Element Parsed {"raw_longitude":755793408,"raw_latitude":117837144,"longitude_deg":75.5793408,"latitude_deg":11.7837144,"altitude":21,"angle":135,"satellites":27,"speed":19,"hex_longitude":"2d0c7e00","hex_latitude":"07060d58","is_valid_coordinates":true} 
[2026-09-09 09:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965167872001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30918584800641024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893190500015138816,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:45] 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-09-09 09:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926457000,"timestamp_ms":1788926457000,"timestamp_seconds":1788926457,"priority":1,"record_length":96,"hex_timestamp":"000001a0845374a8"} 
[2026-09-09 09:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965167872001,"66":14396,"220":206,"94":10240,"24":19,"16":30918584800641024,"45":893190500015138816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 09:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965167872001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:31:45] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 09:31:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30918584800641024,"km_value":30918584800641.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":893190500015138816,"description":"Unknown IO ID 45"} 
[2026-09-09 09:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965167872001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":893190500015138816}} 
[2026-09-09 09:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":176631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:31:45] local.INFO: GPS data processed {"connection_id":176631,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:31:45] local.INFO: Acknowledgment sent {"connection_id":176631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:31:50] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084538c18012d0c82c0070608f8001800771a..."} 
[2026-09-09 09:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084538c18012d0c82c0070608f8001800771a..."} 
[2026-09-09 09:31:50] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084538c18012d0c82c0070608f8001800771a..."} 
[2026-09-09 09:31:50] local.INFO: Packet analysis {"connection_id":176631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:31:50] local.INFO: Extracted packet for processing {"connection_id":176631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:31:50] local.INFO: GPS Element Parsed {"raw_longitude":755794624,"raw_latitude":117836024,"longitude_deg":75.5794624,"latitude_deg":11.7836024,"altitude":24,"angle":119,"satellites":26,"speed":6,"hex_longitude":"2d0c82c0","hex_latitude":"070608f8","is_valid_coordinates":true} 
[2026-09-09 09:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965172992001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30918662110052352,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900157005686986752,"note":"Value kept but may cause issues"} 
[2026-09-09 09:31:50] 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-09-09 09:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788926463000,"timestamp_ms":1788926463000,"timestamp_seconds":1788926463,"priority":1,"record_length":96,"hex_timestamp":"000001a084538c18"} 
[2026-09-09 09:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965172992001,"66":14396,"220":206,"94":10240,"24":6,"16":30918662110052352,"45":900157005686986752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 09:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965172992001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:31:50] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 09:31:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30918662110052352,"km_value":30918662110052.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":900157005686986752,"description":"Unknown IO ID 45"} 
[2026-09-09 09:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965172992001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":900157005686986752}} 
[2026-09-09 09:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":176631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788064,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:31:51] local.INFO: GPS data processed {"connection_id":176631,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:31:51] local.INFO: Acknowledgment sent {"connection_id":176631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:32:06] local.INFO: TCP Data received {"connection_id":178099,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:32:06] local.INFO: Processing buffer {"connection_id":178099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:32:06] local.INFO: IMEI packet received {"connection_id":178099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":178099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:32:11] local.INFO: TCP Data received {"connection_id":178099,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:32:11] local.INFO: Processing buffer {"connection_id":178099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:32:11] local.INFO: IMEI packet received {"connection_id":178099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":178099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:32:12] local.INFO: TCP Data received {"connection_id":178099,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:32:12] local.INFO: Processing buffer {"connection_id":178099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:32:12] local.INFO: Packet analysis {"connection_id":178099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:32:12] local.INFO: Extracted packet for processing {"connection_id":178099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32: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-09-09 09:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:12] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:32:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:32:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:32:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":178099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:32:12] local.INFO: GPS data processed {"connection_id":178099,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:32:12] local.INFO: Acknowledgment sent {"connection_id":178099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:32:16] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:32:16] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0844fea68012d34c14006aa4370000700022b..."} 
[2026-09-09 09:32:16] local.INFO: Packet analysis {"connection_id":175281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:32:16] local.INFO: Extracted packet for processing {"connection_id":175281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0844f"} 
[2026-09-09 09:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 09:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965036544001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788926225000,"timestamp_ms":1788926225000,"timestamp_seconds":1788926225,"priority":1,"record_length":96,"hex_timestamp":"000001a0844fea68"} 
[2026-09-09 09:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965036544001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965036544001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965036544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":175281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:32:16] local.INFO: GPS data processed {"connection_id":175281,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:32:16] local.INFO: Acknowledgment sent {"connection_id":175281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:32:17] local.INFO: TCP Data received {"connection_id":178099,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:32:17] local.INFO: Processing buffer {"connection_id":178099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:32:17] local.INFO: Packet analysis {"connection_id":178099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:32:17] local.INFO: Extracted packet for processing {"connection_id":178099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:32:17] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32: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-09-09 09:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:32:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:32:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:32:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":178099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:32:17] local.INFO: GPS data processed {"connection_id":178099,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:32:17] local.INFO: Acknowledgment sent {"connection_id":178099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:32:19] local.INFO: TCP Data received {"connection_id":175282,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 09:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175282,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 09:32:19] local.INFO: Processing buffer {"connection_id":175282,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 09:32:19] local.INFO: Packet analysis {"connection_id":175282,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 09:32:19] local.INFO: Extracted packet for processing {"connection_id":175282,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 09:32:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 09:32:19] 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-09-09 09:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:19] 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-09-09 09:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-09 09:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-09 09:32:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175282,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 09:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175282,"device_imei":null,"avl_records_count":1} 
[2026-09-09 09:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175282,"device_imei":null,"avl_records_count":1} 
[2026-09-09 09:32:19] 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-09-09 09:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":175282,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 09:32:19] local.INFO: GPS data processed {"connection_id":175282,"processed":0,"errors":0,"total":1} 
[2026-09-09 09:32:19] local.INFO: Acknowledgment sent {"connection_id":175282,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:32:19] local.INFO: TCP Data received {"connection_id":176633,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 09:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176633,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 09:32:19] local.INFO: Processing buffer {"connection_id":176633,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 09:32:19] local.INFO: Packet analysis {"connection_id":176633,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 09:32:19] local.INFO: Extracted packet for processing {"connection_id":176633,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 09:32:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 09:32:19] 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-09-09 09:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:19] 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-09-09 09:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-09 09:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-09 09:32:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176633,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 09:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176633,"device_imei":null,"avl_records_count":1} 
[2026-09-09 09:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176633,"device_imei":null,"avl_records_count":1} 
[2026-09-09 09:32:19] 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-09-09 09:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":176633,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 09:32:19] local.INFO: GPS data processed {"connection_id":176633,"processed":0,"errors":0,"total":1} 
[2026-09-09 09:32:19] local.INFO: Acknowledgment sent {"connection_id":176633,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:32:22] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08453ce80012d0c83c0070608500018008719..."} 
[2026-09-09 09:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08453ce80012d0c83c0070608500018008719..."} 
[2026-09-09 09:32:22] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08453ce80012d0c83c0070608500018008719..."} 
[2026-09-09 09:32:22] local.INFO: Packet analysis {"connection_id":176631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:32:22] local.INFO: Extracted packet for processing {"connection_id":176631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755794880,"raw_latitude":117835856,"longitude_deg":75.579488,"latitude_deg":11.7835856,"altitude":24,"angle":135,"satellites":25,"speed":2,"hex_longitude":"2d0c83c0","hex_latitude":"07060850","is_valid_coordinates":true} 
[2026-09-09 09:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965174528001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30918692174823424,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901494011826075648,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32: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-09-09 09:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788926480000,"timestamp_ms":1788926480000,"timestamp_seconds":1788926480,"priority":1,"record_length":96,"hex_timestamp":"000001a08453ce80"} 
[2026-09-09 09:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:32: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-09-09 09:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965174528001,"66":13787,"220":206,"94":10240,"24":2,"16":30918692174823424,"45":901494011826075648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 09:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965174528001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:32:22] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 09:32:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30918692174823424,"km_value":30918692174823.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":901494011826075648,"description":"Unknown IO ID 45"} 
[2026-09-09 09:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965174528001,"power":13787,"unknown_220":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":901494011826075648}} 
[2026-09-09 09:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":176631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788068,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:32:22] local.INFO: GPS data processed {"connection_id":176631,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:32:22] local.INFO: Acknowledgment sent {"connection_id":176631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:32:40] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:32:40] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:32:40] local.INFO: IMEI packet received {"connection_id":175283,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":175283,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:32:40] local.INFO: TCP Data received {"connection_id":175284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:32:40] local.INFO: Processing buffer {"connection_id":175284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:32:40] local.INFO: IMEI packet received {"connection_id":175284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":175284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:32:41] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:32:41] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:32:41] local.INFO: IMEI packet received {"connection_id":175283,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":175283,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:32:44] local.INFO: TCP Data received {"connection_id":175284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:32:44] local.INFO: Processing buffer {"connection_id":175284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:32:44] local.INFO: IMEI packet received {"connection_id":175284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":175284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:32:45] local.INFO: TCP Data received {"connection_id":175284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:32:45] local.INFO: Processing buffer {"connection_id":175284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:32:45] local.INFO: Packet analysis {"connection_id":175284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:32:45] local.INFO: Extracted packet for processing {"connection_id":175284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:32: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-09-09 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":175284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:32:45] local.INFO: GPS data processed {"connection_id":175284,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:32:45] local.INFO: Acknowledgment sent {"connection_id":175284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:32:45] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:32:45] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:32:45] local.INFO: IMEI packet received {"connection_id":175283,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":175283,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:32:46] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08453da38012d0c8500070607600018007919..."} 
[2026-09-09 09:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08453da38012d0c8500070607600018007919..."} 
[2026-09-09 09:32:46] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08453da38012d0c8500070607600018007919..."} 
[2026-09-09 09:32:46] local.INFO: Packet analysis {"connection_id":175283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:32:46] local.INFO: Extracted packet for processing {"connection_id":175283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:32:46] local.INFO: GPS Element Parsed {"raw_longitude":755795200,"raw_latitude":117835616,"longitude_deg":75.57952,"latitude_deg":11.7835616,"altitude":24,"angle":121,"satellites":25,"speed":8,"hex_longitude":"2d0c8500","hex_latitude":"07060760","is_valid_coordinates":true} 
[2026-09-09 09:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965178880001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30918709354692608,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901775486802743296,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:46] 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-09-09 09:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788926483000,"timestamp_ms":1788926483000,"timestamp_seconds":1788926483,"priority":1,"record_length":96,"hex_timestamp":"000001a08453da38"} 
[2026-09-09 09:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-09 09:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965178880001,"66":14515,"220":206,"94":10240,"24":8,"16":30918709354692608,"45":901775486802743296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 09:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965178880001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:32:46] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 09:32:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30918709354692608,"km_value":30918709354692.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":901775486802743296,"description":"Unknown IO ID 45"} 
[2026-09-09 09:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965178880001,"power":14515,"unknown_220":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":901775486802743296}} 
[2026-09-09 09:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":175283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788070,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:32:46] local.INFO: GPS data processed {"connection_id":175283,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:32:46] local.INFO: Acknowledgment sent {"connection_id":175283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:32:47] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08453f978012d0c8d00070601e8001800861b..."} 
[2026-09-09 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08453f978012d0c8d00070601e8001800861b..."} 
[2026-09-09 09:32:47] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08453f978012d0c8d00070601e8001800861b..."} 
[2026-09-09 09:32:47] local.INFO: Packet analysis {"connection_id":175283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:32:47] local.INFO: Extracted packet for processing {"connection_id":175283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08453"} 
[2026-09-09 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":755797248,"raw_latitude":117834216,"longitude_deg":75.5797248,"latitude_deg":11.7834216,"altitude":24,"angle":134,"satellites":27,"speed":16,"hex_longitude":"2d0c8d00","hex_latitude":"070601e8","is_valid_coordinates":true} 
[2026-09-09 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965179648001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30918829613776896,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":902127330523570176,"note":"Value kept but may cause issues"} 
[2026-09-09 09:32:47] 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-09-09 09:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788926491000,"timestamp_ms":1788926491000,"timestamp_seconds":1788926491,"priority":1,"record_length":96,"hex_timestamp":"000001a08453f978"} 
[2026-09-09 09:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 09:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965179648001,"66":14407,"220":206,"94":10240,"24":16,"16":30918829613776896,"45":902127330523570176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 09:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965179648001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:32:47] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 09:32:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30918829613776896,"km_value":30918829613776.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":902127330523570176,"description":"Unknown IO ID 45"} 
[2026-09-09 09:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965179648001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":902127330523570176}} 
[2026-09-09 09:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":175283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:32:47] local.INFO: GPS data processed {"connection_id":175283,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:32:47] local.INFO: Acknowledgment sent {"connection_id":175283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:33:01] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:33:01] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:33:01] local.INFO: IMEI packet received {"connection_id":175285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":175285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:33:06] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:33:06] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:33:06] local.INFO: IMEI packet received {"connection_id":175285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":175285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:33:08] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:33:08] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:33:08] local.INFO: Packet analysis {"connection_id":175285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:33:08] local.INFO: Extracted packet for processing {"connection_id":175285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] 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-09-09 09:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:33:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:33:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:33:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":175285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:33:09] local.INFO: GPS data processed {"connection_id":175285,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:33:09] local.INFO: Acknowledgment sent {"connection_id":175285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:33:17] local.INFO: TCP Data received {"connection_id":175284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:33:17] local.INFO: Processing buffer {"connection_id":175284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:33:17] local.INFO: Packet analysis {"connection_id":175284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:33:17] local.INFO: Extracted packet for processing {"connection_id":175284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":175284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:33:17] local.INFO: GPS data processed {"connection_id":175284,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:33:17] local.INFO: Acknowledgment sent {"connection_id":175284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:33:18] local.INFO: TCP Data received {"connection_id":175283,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084558bd0012d0c6c800705a388001800dc1a..."} 
[2026-09-09 09:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084558bd0012d0c6c800705a388001800dc1a..."} 
[2026-09-09 09:33:18] local.INFO: Processing buffer {"connection_id":175283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084558bd0012d0c6c800705a388001800dc1a..."} 
[2026-09-09 09:33:18] local.INFO: Packet analysis {"connection_id":175283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08455"} 
[2026-09-09 09:33:18] local.INFO: Extracted packet for processing {"connection_id":175283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08455"} 
[2026-09-09 09:33:18] local.INFO: GPS Element Parsed {"raw_longitude":755788928,"raw_latitude":117810056,"longitude_deg":75.5788928,"latitude_deg":11.7810056,"altitude":24,"angle":220,"satellites":26,"speed":22,"hex_longitude":"2d0c6c80","hex_latitude":"0705a388","is_valid_coordinates":true} 
[2026-09-09 09:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965207808001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30920981392392192,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895794143541147648,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:18] 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-09-09 09:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788926594000,"timestamp_ms":1788926594000,"timestamp_seconds":1788926594,"priority":1,"record_length":96,"hex_timestamp":"000001a084558bd0"} 
[2026-09-09 09:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 09:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965207808001,"66":14374,"220":206,"94":10240,"24":22,"16":30920981392392192,"45":895794143541147648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 09:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965207808001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:33:18] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 09:33:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30920981392392192,"km_value":30920981392392.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":895794143541147648,"description":"Unknown IO ID 45"} 
[2026-09-09 09:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965207808001,"power":14374,"unknown_220":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":895794143541147648}} 
[2026-09-09 09:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":175283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788074,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:33:18] local.INFO: GPS data processed {"connection_id":175283,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:33:18] local.INFO: Acknowledgment sent {"connection_id":175283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:33:39] local.INFO: TCP Data received {"connection_id":178100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:33:39] local.INFO: Processing buffer {"connection_id":178100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:33:39] local.INFO: IMEI packet received {"connection_id":178100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":178100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:33:40] local.INFO: TCP Data received {"connection_id":175516,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:33:40] local.INFO: Processing buffer {"connection_id":175516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:33:40] local.INFO: IMEI packet received {"connection_id":175516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":175516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:33:40] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:33:40] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:33:40] local.INFO: Packet analysis {"connection_id":175285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:33:40] local.INFO: Extracted packet for processing {"connection_id":175285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] 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-09-09 09:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:33:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:33:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:33:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":175285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:33:40] local.INFO: GPS data processed {"connection_id":175285,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:33:40] local.INFO: Acknowledgment sent {"connection_id":175285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:33:44] local.INFO: TCP Data received {"connection_id":178100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:33:44] local.INFO: Processing buffer {"connection_id":178100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:33:44] local.INFO: IMEI packet received {"connection_id":178100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":178100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:33:45] local.INFO: TCP Data received {"connection_id":178100,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:33:45] local.INFO: Processing buffer {"connection_id":178100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:33:45] local.INFO: Packet analysis {"connection_id":178100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:33:45] local.INFO: Extracted packet for processing {"connection_id":178100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 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-09-09 09:33: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-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":178100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:33:45] local.INFO: GPS data processed {"connection_id":178100,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:33:45] local.INFO: Acknowledgment sent {"connection_id":178100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:33:45] local.INFO: TCP Data received {"connection_id":175516,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:33:45] local.INFO: Processing buffer {"connection_id":175516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:33:45] local.INFO: IMEI packet received {"connection_id":175516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":175516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:33:46] local.INFO: TCP Data received {"connection_id":175516,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084558fb8012d0c6c000705a1c0001800c81a..."} 
[2026-09-09 09:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084558fb8012d0c6c000705a1c0001800c81a..."} 
[2026-09-09 09:33:46] local.INFO: Processing buffer {"connection_id":175516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084558fb8012d0c6c000705a1c0001800c81a..."} 
[2026-09-09 09:33:46] local.INFO: Packet analysis {"connection_id":175516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08455"} 
[2026-09-09 09:33:46] local.INFO: Extracted packet for processing {"connection_id":175516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08455"} 
[2026-09-09 09:33:46] local.INFO: GPS Element Parsed {"raw_longitude":755788800,"raw_latitude":117809600,"longitude_deg":75.57888,"latitude_deg":11.78096,"altitude":24,"angle":200,"satellites":26,"speed":19,"hex_longitude":"2d0c6c00","hex_latitude":"0705a1c0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965208064001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30921002867228672,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193587615744,"note":"Value kept but may cause issues"} 
[2026-09-09 09:33:46] 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-09-09 09:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788926595000,"timestamp_ms":1788926595000,"timestamp_seconds":1788926595,"priority":1,"record_length":96,"hex_timestamp":"000001a084558fb8"} 
[2026-09-09 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-09-09 09:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 09:33: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-09-09 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-09-09 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-09-09 09:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175516,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175516,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965208064001,"66":14374,"220":206,"94":10240,"24":19,"16":30921002867228672,"45":895231193587615744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 09:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965208064001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:33:46] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 09:33:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30921002867228672,"km_value":30921002867228.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193587615744,"description":"Unknown IO ID 45"} 
[2026-09-09 09:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965208064001,"power":14374,"unknown_220":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":895231193587615744}} 
[2026-09-09 09:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":175516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788077,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:33:46] local.INFO: GPS data processed {"connection_id":175516,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:33:46] local.INFO: Acknowledgment sent {"connection_id":175516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:34:01] local.INFO: TCP Data received {"connection_id":178102,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:34:01] local.INFO: Processing buffer {"connection_id":178102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:34:01] local.INFO: IMEI packet received {"connection_id":178102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":178102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:34:06] local.INFO: TCP Data received {"connection_id":178102,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:34:06] local.INFO: Processing buffer {"connection_id":178102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:34:06] local.INFO: IMEI packet received {"connection_id":178102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":178102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:34:08] local.INFO: TCP Data received {"connection_id":178102,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:34:08] local.INFO: Processing buffer {"connection_id":178102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:34:08] local.INFO: Packet analysis {"connection_id":178102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:08] local.INFO: Extracted packet for processing {"connection_id":178102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] 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-09-09 09:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:34:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:34:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:34:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":178102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:34:08] local.INFO: GPS data processed {"connection_id":178102,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:34:08] local.INFO: Acknowledgment sent {"connection_id":178102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:34:17] local.INFO: TCP Data received {"connection_id":178100,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:34:17] local.INFO: Processing buffer {"connection_id":178100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:34:17] local.INFO: Packet analysis {"connection_id":178100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:17] local.INFO: Extracted packet for processing {"connection_id":178100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":178100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:34:17] local.INFO: GPS data processed {"connection_id":178100,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:34:17] local.INFO: Acknowledgment sent {"connection_id":178100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:34:35] local.INFO: TCP Data received {"connection_id":175516,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0845593a0012d0c6c4007059fc0001900b11a..."} 
[2026-09-09 09:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845593a0012d0c6c4007059fc0001900b11a..."} 
[2026-09-09 09:34:35] local.INFO: Processing buffer {"connection_id":175516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845593a0012d0c6c4007059fc0001900b11a..."} 
[2026-09-09 09:34:35] local.INFO: Packet analysis {"connection_id":175516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08455"} 
[2026-09-09 09:34:35] local.INFO: Extracted packet for processing {"connection_id":175516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08455"} 
[2026-09-09 09:34:35] local.INFO: GPS Element Parsed {"raw_longitude":755788864,"raw_latitude":117809088,"longitude_deg":75.5788864,"latitude_deg":11.7809088,"altitude":25,"angle":177,"satellites":26,"speed":20,"hex_longitude":"2d0c6c40","hex_latitude":"07059fc0","is_valid_coordinates":true} 
[2026-09-09 09:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965208320001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30921028637032448,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895090456099143680,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788926596000,"timestamp_ms":1788926596000,"timestamp_seconds":1788926596,"priority":1,"record_length":96,"hex_timestamp":"000001a0845593a0"} 
[2026-09-09 09:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 09:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175516,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175516,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965208320001,"66":14548,"220":206,"94":10240,"24":20,"16":30921028637032448,"45":895090456099143680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 09:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965208320001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:34:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 09:34:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30921028637032448,"km_value":30921028637032.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":895090456099143680,"description":"Unknown IO ID 45"} 
[2026-09-09 09:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965208320001,"power":14548,"unknown_220":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":895090456099143680}} 
[2026-09-09 09:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":175516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788080,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:34:35] local.INFO: GPS data processed {"connection_id":175516,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:34:35] local.INFO: Acknowledgment sent {"connection_id":175516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:34:39] local.INFO: TCP Data received {"connection_id":178102,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:34:39] local.INFO: Processing buffer {"connection_id":178102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:34:39] local.INFO: Packet analysis {"connection_id":178102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:39] local.INFO: Extracted packet for processing {"connection_id":178102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] 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-09-09 09:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:34:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:34:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:34:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":178102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:34:39] local.INFO: GPS data processed {"connection_id":178102,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:34:39] local.INFO: Acknowledgment sent {"connection_id":178102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:34:40] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:34:40] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:34:40] local.INFO: IMEI packet received {"connection_id":176635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":176635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:34:41] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:34:41] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:34:41] local.INFO: IMEI packet received {"connection_id":176635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":176635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:34:44] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:34:44] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:34:44] local.INFO: IMEI packet received {"connection_id":175517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":175517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:34:46] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:34:46] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:34:46] local.INFO: IMEI packet received {"connection_id":176635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":176635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:34:47] local.INFO: TCP Data received {"connection_id":175518,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:34:47] local.INFO: Processing buffer {"connection_id":175518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:34:47] local.INFO: IMEI packet received {"connection_id":175518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":175518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:34:49] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:34:49] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:34:49] local.INFO: IMEI packet received {"connection_id":175517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":175517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:34:51] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:34:51] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:34:51] local.INFO: Packet analysis {"connection_id":175517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:51] local.INFO: Extracted packet for processing {"connection_id":175517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":175517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:34:51] local.INFO: GPS data processed {"connection_id":175517,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:34:51] local.INFO: Acknowledgment sent {"connection_id":175517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:34:52] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a084567a18012d0c448007058430001600f619..."} 
[2026-09-09 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084567a18012d0c448007058430001600f619..."} 
[2026-09-09 09:34:52] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084567a18012d0c448007058430001600f619..."} 
[2026-09-09 09:34:52] local.INFO: Packet analysis {"connection_id":176635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08456"} 
[2026-09-09 09:34:52] local.INFO: Extracted packet for processing {"connection_id":176635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08456"} 
[2026-09-09 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":755778688,"raw_latitude":117802032,"longitude_deg":75.5778688,"latitude_deg":11.7802032,"altitude":22,"angle":246,"satellites":25,"speed":22,"hex_longitude":"2d0c4480","hex_latitude":"07058430","is_valid_coordinates":true} 
[2026-09-09 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965222912001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30921780256309248,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885590675633377280,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:52] 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-09-09 09:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788926655000,"timestamp_ms":1788926655000,"timestamp_seconds":1788926655,"priority":1,"record_length":96,"hex_timestamp":"000001a084567a18"} 
[2026-09-09 09:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965222912001,"66":14450,"164":206,"94":10240,"24":22,"16":30921780256309248,"45":885590675633377280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 09:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965222912001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:34:52] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 09:34:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30921780256309248,"km_value":30921780256309.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":885590675633377280,"description":"Unknown IO ID 45"} 
[2026-09-09 09:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965222912001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":885590675633377280}} 
[2026-09-09 09:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":176635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788083,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:34:52] local.INFO: GPS data processed {"connection_id":176635,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:34:52] local.INFO: Acknowledgment sent {"connection_id":176635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:34:56] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:34:56] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:34:56] local.INFO: Packet analysis {"connection_id":175517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:56] local.INFO: Extracted packet for processing {"connection_id":175517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:34:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:34:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":175517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:34:56] local.INFO: GPS data processed {"connection_id":175517,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:34:56] local.INFO: Acknowledgment sent {"connection_id":175517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:35:01] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:35:01] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:35:01] local.INFO: IMEI packet received {"connection_id":175286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":175286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:35:06] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:35:06] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:35:06] local.INFO: IMEI packet received {"connection_id":175286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":175286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:35:07] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:35:07] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:35:07] local.INFO: Packet analysis {"connection_id":175286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:35:07] local.INFO: Extracted packet for processing {"connection_id":175286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] 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-09-09 09:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:35:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:35:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:35:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":175286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:35:07] local.INFO: GPS data processed {"connection_id":175286,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:35:07] local.INFO: Acknowledgment sent {"connection_id":175286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:35:38] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:35:38] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:35:38] local.INFO: Packet analysis {"connection_id":175286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:35:38] local.INFO: Extracted packet for processing {"connection_id":175286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] 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-09-09 09:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:35:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:35:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:35:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":175286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:35:38] local.INFO: GPS data processed {"connection_id":175286,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:35:38] local.INFO: Acknowledgment sent {"connection_id":175286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:35:42] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:35:42] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:35:42] local.INFO: IMEI packet received {"connection_id":175519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":175519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:35:44] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:35:44] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:35:44] local.INFO: IMEI packet received {"connection_id":175519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":175519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:35:45] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:35:45] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:35:45] local.INFO: Packet analysis {"connection_id":175519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:35:45] local.INFO: Extracted packet for processing {"connection_id":175519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:35: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-09-09 09:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:35:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":175519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:35:45] local.INFO: GPS data processed {"connection_id":175519,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:35:45] local.INFO: Acknowledgment sent {"connection_id":175519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:35:50] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:35:50] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:35:50] local.INFO: Packet analysis {"connection_id":175519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:35:50] local.INFO: Extracted packet for processing {"connection_id":175519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:35:50] 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-09-09 09:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:35:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":175519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:35:50] local.INFO: GPS data processed {"connection_id":175519,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:35:50] local.INFO: Acknowledgment sent {"connection_id":175519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:36:01] local.INFO: TCP Data received {"connection_id":178104,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:36:01] local.INFO: Processing buffer {"connection_id":178104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:36:01] local.INFO: IMEI packet received {"connection_id":178104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":178104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:36:06] local.INFO: TCP Data received {"connection_id":178104,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:36:06] local.INFO: Processing buffer {"connection_id":178104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:36:06] local.INFO: IMEI packet received {"connection_id":178104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":178104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:36:07] local.INFO: TCP Data received {"connection_id":178104,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:36:07] local.INFO: Processing buffer {"connection_id":178104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:36:07] local.INFO: Packet analysis {"connection_id":178104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:36:07] local.INFO: Extracted packet for processing {"connection_id":178104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] 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-09-09 09:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:36:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:36:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:36:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":178104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:36:07] local.INFO: GPS data processed {"connection_id":178104,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:36:07] local.INFO: Acknowledgment sent {"connection_id":178104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:36:19] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a08456b4b0012d0c3c4007057ec0001600b01a..."} 
[2026-09-09 09:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08456b4b0012d0c3c4007057ec0001600b01a..."} 
[2026-09-09 09:36:19] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08456b4b0012d0c3c4007057ec0001600b01a..."} 
[2026-09-09 09:36:19] local.INFO: Packet analysis {"connection_id":176635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08456"} 
[2026-09-09 09:36:19] local.INFO: Extracted packet for processing {"connection_id":176635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08456"} 
[2026-09-09 09:36:19] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117800640,"longitude_deg":75.5776576,"latitude_deg":11.780064,"altitude":22,"angle":176,"satellites":26,"speed":8,"hex_longitude":"2d0c3c40","hex_latitude":"07057ec0","is_valid_coordinates":true} 
[2026-09-09 09:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965223680001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30921909105328128,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883972194517135360,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36: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-09-09 09:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788926670000,"timestamp_ms":1788926670000,"timestamp_seconds":1788926670,"priority":1,"record_length":96,"hex_timestamp":"000001a08456b4b0"} 
[2026-09-09 09:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 09:36:19] 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-09-09 09:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965223680001,"66":14559,"164":206,"94":10240,"24":8,"16":30921909105328128,"45":883972194517135360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-09 09:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965223680001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:36:19] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-09 09:36:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30921909105328128,"km_value":30921909105328.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":883972194517135360,"description":"Unknown IO ID 45"} 
[2026-09-09 09:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965223680001,"power":14559,"unknown_164":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":883972194517135360}} 
[2026-09-09 09:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":176635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788090,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:36:19] local.INFO: GPS data processed {"connection_id":176635,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:36:19] local.INFO: Acknowledgment sent {"connection_id":176635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:36:21] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:36:21] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:36:21] local.INFO: Packet analysis {"connection_id":175519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:36:21] local.INFO: Extracted packet for processing {"connection_id":175519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:36:21] 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-09-09 09:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":175519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:36:21] local.INFO: GPS data processed {"connection_id":175519,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:36:21] local.INFO: Acknowledgment sent {"connection_id":175519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:36:22] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:22] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:22] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:36:24] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:24] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:24] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:36:39] local.INFO: TCP Data received {"connection_id":178104,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:36:39] local.INFO: Processing buffer {"connection_id":178104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084543028012d7d2ec005ec0cf00009011c21..."} 
[2026-09-09 09:36:39] local.INFO: Packet analysis {"connection_id":178104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:36:39] local.INFO: Extracted packet for processing {"connection_id":178104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965108736001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337332736,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] 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-09-09 09:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788926505000,"timestamp_ms":1788926505000,"timestamp_seconds":1788926505,"priority":1,"record_length":96,"hex_timestamp":"000001a084543028"} 
[2026-09-09 09:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397957961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2219776864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743817,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3682205696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960127488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,219,160,156,45,64,13,7,31,10,66,148,128,240,187,227,132,236,1,4,113,205,105,51,48,28,239,53,2,206,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-09 09:36:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504715548416802882,"timestamp_seconds":504715548416802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965108736001,"66":2568,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337332736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965108736001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:36:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:36:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337332736,"description":"Unknown IO ID 45"} 
[2026-09-09 09:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965108736001,"power":2568,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337332736}} 
[2026-09-09 09:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":178104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:36:39] local.INFO: GPS data processed {"connection_id":178104,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:36:39] local.INFO: Acknowledgment sent {"connection_id":178104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:36:40] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:36:40] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:36:40] local.INFO: IMEI packet received {"connection_id":175287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":175287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:36:44] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:36:44] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:36:44] local.INFO: IMEI packet received {"connection_id":175287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":175287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:36:45] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:36:45] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:36:45] local.INFO: Packet analysis {"connection_id":175287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:36:45] local.INFO: Extracted packet for processing {"connection_id":175287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:36: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-09-09 09:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:36:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":175287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:36:45] local.INFO: GPS data processed {"connection_id":175287,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:36:45] local.INFO: Acknowledgment sent {"connection_id":175287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:36:50] local.INFO: TCP Data received {"connection_id":175288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:50] local.INFO: Processing buffer {"connection_id":175288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:50] local.INFO: IMEI packet received {"connection_id":175288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":175288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:36:59] local.INFO: TCP Data received {"connection_id":175288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:59] local.INFO: Processing buffer {"connection_id":175288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:36:59] local.INFO: IMEI packet received {"connection_id":175288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":175288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:37:01] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:37:01] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:37:01] local.INFO: IMEI packet received {"connection_id":175520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":175520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:37:06] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:37:06] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:37:06] local.INFO: IMEI packet received {"connection_id":175520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":175520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:37:08] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:37:08] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:37:08] local.INFO: Packet analysis {"connection_id":175520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:37:08] local.INFO: Extracted packet for processing {"connection_id":175520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] 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-09-09 09:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 09:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:08] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:37:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:37:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:37:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":175520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:37:08] local.INFO: GPS data processed {"connection_id":175520,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:37:08] local.INFO: Acknowledgment sent {"connection_id":175520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:37:16] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:37:16] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:37:16] local.INFO: Packet analysis {"connection_id":175287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:37:16] local.INFO: Extracted packet for processing {"connection_id":175287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:37:16] 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-09-09 09:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":175287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:37:16] local.INFO: GPS data processed {"connection_id":175287,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:37:16] local.INFO: Acknowledgment sent {"connection_id":175287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:37:39] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:37:39] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:37:39] local.INFO: Packet analysis {"connection_id":175520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:37:39] local.INFO: Extracted packet for processing {"connection_id":175520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] 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-09-09 09:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 09:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:39] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:37:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:37:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:37:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":175520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:37:39] local.INFO: GPS data processed {"connection_id":175520,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:37:39] local.INFO: Acknowledgment sent {"connection_id":175520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:37:39] local.INFO: TCP Data received {"connection_id":175289,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:37:39] local.INFO: Processing buffer {"connection_id":175289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:37:39] local.INFO: IMEI packet received {"connection_id":175289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":175289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:37:44] local.INFO: TCP Data received {"connection_id":175289,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:37:44] local.INFO: Processing buffer {"connection_id":175289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:37:44] local.INFO: IMEI packet received {"connection_id":175289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":175289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:37:45] local.INFO: TCP Data received {"connection_id":175289,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:37:45] local.INFO: Processing buffer {"connection_id":175289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084548230012d34c14006aa42c8000200022d..."} 
[2026-09-09 09:37:45] local.INFO: Packet analysis {"connection_id":175289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:37:45] local.INFO: Extracted packet for processing {"connection_id":175289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08454"} 
[2026-09-09 09:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":2,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965113600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 09:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926526000,"timestamp_ms":1788926526000,"timestamp_seconds":1788926526,"priority":1,"record_length":96,"hex_timestamp":"000001a084548230"} 
[2026-09-09 09:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:37: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-09-09 09:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965113600001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847937024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965113600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 09:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965113600001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 09:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":175289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:37:45] local.INFO: GPS data processed {"connection_id":175289,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:37:45] local.INFO: Acknowledgment sent {"connection_id":175289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:38:06] local.INFO: TCP Data received {"connection_id":178106,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:38:06] local.INFO: Processing buffer {"connection_id":178106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:38:06] local.INFO: IMEI packet received {"connection_id":178106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":178106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:38:11] local.INFO: TCP Data received {"connection_id":178106,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:38:11] local.INFO: Processing buffer {"connection_id":178106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:38:11] local.INFO: IMEI packet received {"connection_id":178106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":178106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:38:12] local.INFO: TCP Data received {"connection_id":178106,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:38:12] local.INFO: Processing buffer {"connection_id":178106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:38:12] local.INFO: Packet analysis {"connection_id":178106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:38:12] local.INFO: Extracted packet for processing {"connection_id":178106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38: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-09-09 09:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 09:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:12] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:38:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:38:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:38:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":178106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:38:12] local.INFO: GPS data processed {"connection_id":178106,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:38:12] local.INFO: Acknowledgment sent {"connection_id":178106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:38:17] local.INFO: TCP Data received {"connection_id":175289,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:38:17] local.INFO: Processing buffer {"connection_id":175289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:38:17] local.INFO: Packet analysis {"connection_id":175289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:38:17] local.INFO: Extracted packet for processing {"connection_id":175289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 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-09-09 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":175289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:38:17] local.INFO: GPS data processed {"connection_id":175289,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:38:17] local.INFO: Acknowledgment sent {"connection_id":175289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:38:17] local.INFO: TCP Data received {"connection_id":178106,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:38:17] local.INFO: Processing buffer {"connection_id":178106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:38:17] local.INFO: Packet analysis {"connection_id":178106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:38:17] local.INFO: Extracted packet for processing {"connection_id":178106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38: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-09-09 09:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 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-09-09 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:17] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:38:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 09:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:38:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:38:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":178106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:38:17] local.INFO: GPS data processed {"connection_id":178106,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:38:17] local.INFO: Acknowledgment sent {"connection_id":178106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:38:39] local.INFO: TCP Data received {"connection_id":178107,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:38:39] local.INFO: Processing buffer {"connection_id":178107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:38:39] local.INFO: IMEI packet received {"connection_id":178107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":178107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:38:44] local.INFO: TCP Data received {"connection_id":178107,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:38:44] local.INFO: Processing buffer {"connection_id":178107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:38:44] local.INFO: IMEI packet received {"connection_id":178107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":178107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:38:45] local.INFO: TCP Data received {"connection_id":178107,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:38:45] local.INFO: Processing buffer {"connection_id":178107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:38:45] local.INFO: Packet analysis {"connection_id":178107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:38:45] local.INFO: Extracted packet for processing {"connection_id":178107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 09:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:38: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-09-09 09:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:38:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":178107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:38:45] local.INFO: GPS data processed {"connection_id":178107,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:38:45] local.INFO: Acknowledgment sent {"connection_id":178107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:39:02] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:39:02] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:39:02] local.INFO: IMEI packet received {"connection_id":176637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":176637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:39:06] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:39:06] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:39:06] local.INFO: IMEI packet received {"connection_id":176637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":176637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:39:09] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:39:09] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:39:09] local.INFO: Packet analysis {"connection_id":176637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:39:09] local.INFO: Extracted packet for processing {"connection_id":176637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] 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-09-09 09:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 09:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:09] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:39:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:39:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:39:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":176637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:39:09] local.INFO: GPS data processed {"connection_id":176637,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:39:09] local.INFO: Acknowledgment sent {"connection_id":176637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:39:16] local.INFO: TCP Data received {"connection_id":178107,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:39:16] local.INFO: Processing buffer {"connection_id":178107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:39:16] local.INFO: Packet analysis {"connection_id":178107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:39:16] local.INFO: Extracted packet for processing {"connection_id":178107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 09:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:39:16] 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-09-09 09: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-09-09 09:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:39:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":178107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:39:16] local.INFO: GPS data processed {"connection_id":178107,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:39:16] local.INFO: Acknowledgment sent {"connection_id":178107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:39:39] local.INFO: TCP Data received {"connection_id":175522,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:39:39] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:39:39] local.INFO: IMEI packet received {"connection_id":175522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":175522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:39:42] local.INFO: TCP Data received {"connection_id":176637,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:39:42] local.INFO: Processing buffer {"connection_id":176637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:39:42] local.INFO: Packet analysis {"connection_id":176637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:39:42] local.INFO: Extracted packet for processing {"connection_id":176637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] 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-09-09 09:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 09:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:42] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:39:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:39:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:39:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":176637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:39:43] local.INFO: GPS data processed {"connection_id":176637,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:39:43] local.INFO: Acknowledgment sent {"connection_id":176637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:39:44] local.INFO: TCP Data received {"connection_id":175522,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:39:44] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:39:44] local.INFO: IMEI packet received {"connection_id":175522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":175522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:39:45] local.INFO: TCP Data received {"connection_id":175522,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:39:45] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:39:45] local.INFO: Packet analysis {"connection_id":175522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:39:45] local.INFO: Extracted packet for processing {"connection_id":175522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 09:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:39: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-09-09 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:39:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:39:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":175522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:39:45] local.INFO: GPS data processed {"connection_id":175522,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:39:45] local.INFO: Acknowledgment sent {"connection_id":175522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:40:01] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:40:01] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:40:01] local.INFO: IMEI packet received {"connection_id":175295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":175295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:40:06] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:40:06] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:40:06] local.INFO: IMEI packet received {"connection_id":175295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":175295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:40:07] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:40:07] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:40:07] local.INFO: Packet analysis {"connection_id":175295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:40:07] local.INFO: Extracted packet for processing {"connection_id":175295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] 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-09-09 09:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 09:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:07] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:40:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:40:07] 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-09-09 09:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:40:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:40:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":175295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:40:07] local.INFO: GPS data processed {"connection_id":175295,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:40:07] local.INFO: Acknowledgment sent {"connection_id":175295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:40:17] local.INFO: TCP Data received {"connection_id":175522,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:40:17] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:40:17] local.INFO: Packet analysis {"connection_id":175522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:40:17] local.INFO: Extracted packet for processing {"connection_id":175522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 09:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":175522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:40:17] local.INFO: GPS data processed {"connection_id":175522,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:40:17] local.INFO: Acknowledgment sent {"connection_id":175522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:40:22] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:40:22] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:40:22] local.INFO: IMEI packet received {"connection_id":175294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":175294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:40:39] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:40:39] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:40:39] local.INFO: Packet analysis {"connection_id":175295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:40:39] local.INFO: Extracted packet for processing {"connection_id":175295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] 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-09-09 09:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 09:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:39] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:40:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:40:39] 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-09-09 09:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:40:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:40:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":175295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:40:39] local.INFO: GPS data processed {"connection_id":175295,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:40:39] local.INFO: Acknowledgment sent {"connection_id":175295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:40:40] local.INFO: TCP Data received {"connection_id":176638,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:40:40] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:40:40] local.INFO: IMEI packet received {"connection_id":176638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":176638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:40:45] local.INFO: TCP Data received {"connection_id":176638,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:40:45] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:40:45] local.INFO: IMEI packet received {"connection_id":176638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":176638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:40:47] local.INFO: TCP Data received {"connection_id":176638,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:40:47] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:40:47] local.INFO: Packet analysis {"connection_id":176638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:40:47] local.INFO: Extracted packet for processing {"connection_id":176638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 09:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:40:47] 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-09-09 09:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":176638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:40:47] local.INFO: GPS data processed {"connection_id":176638,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:40:47] local.INFO: Acknowledgment sent {"connection_id":176638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:40:47] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:40:47] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:40:47] local.INFO: IMEI packet received {"connection_id":175523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":175523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:41:01] local.INFO: TCP Data received {"connection_id":178108,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:41:01] local.INFO: Processing buffer {"connection_id":178108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:41:01] local.INFO: IMEI packet received {"connection_id":178108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":178108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:41:06] local.INFO: TCP Data received {"connection_id":178108,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:41:06] local.INFO: Processing buffer {"connection_id":178108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:41:06] local.INFO: IMEI packet received {"connection_id":178108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":178108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:41:08] local.INFO: TCP Data received {"connection_id":178108,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:41:08] local.INFO: Processing buffer {"connection_id":178108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:41:08] local.INFO: Packet analysis {"connection_id":178108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:41:08] local.INFO: Extracted packet for processing {"connection_id":178108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] 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-09-09 09:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 09:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:08] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:41:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:41:08] 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-09-09 09:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:41:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:41:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":178108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:41:08] local.INFO: GPS data processed {"connection_id":178108,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:41:08] local.INFO: Acknowledgment sent {"connection_id":178108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:41:18] local.INFO: TCP Data received {"connection_id":176638,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:41:18] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:41:18] local.INFO: Packet analysis {"connection_id":176638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:41:18] local.INFO: Extracted packet for processing {"connection_id":176638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 09:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:41: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-09-09 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:41: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-09-09 09:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:41:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":176638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:41:18] local.INFO: GPS data processed {"connection_id":176638,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:41:18] local.INFO: Acknowledgment sent {"connection_id":176638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:41:39] local.INFO: TCP Data received {"connection_id":175296,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:41:39] local.INFO: Processing buffer {"connection_id":175296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:41:39] local.INFO: IMEI packet received {"connection_id":175296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":175296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:41:40] local.INFO: TCP Data received {"connection_id":178108,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:41:40] local.INFO: Processing buffer {"connection_id":178108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08458c7f0012d7d2ec005ec0cf00009011c24..."} 
[2026-09-09 09:41:40] local.INFO: Packet analysis {"connection_id":178108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:41:40] local.INFO: Extracted packet for processing {"connection_id":178108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08458"} 
[2026-09-09 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":9,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965185280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] 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-09-09 09:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788926806000,"timestamp_ms":1788926806000,"timestamp_seconds":1788926806,"priority":1,"record_length":96,"hex_timestamp":"000001a08458c7f0"} 
[2026-09-09 09:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2233786518697150976,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2628976282477527040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6880286831628178051,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-9221705121392490751,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335439600,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:40] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,87,24,241,157,16,219,160,45,192,13,7,30,10,66,156,64,31,148,128,240,187,206,1,47,4],"length":326,"final_offset":456,"validated_count":27,"validation_warnings":[]} 
[2026-09-09 09:41:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830749377560576,"timestamp_seconds":648830749377560.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:41:40] 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-09-09 09:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965185280001,"66":2264,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965185280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:41:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:41:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965185280001,"power":2264,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":178108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:41:40] local.INFO: GPS data processed {"connection_id":178108,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:41:40] local.INFO: Acknowledgment sent {"connection_id":178108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:41:44] local.INFO: TCP Data received {"connection_id":175296,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:41:44] local.INFO: Processing buffer {"connection_id":175296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:41:44] local.INFO: IMEI packet received {"connection_id":175296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":175296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:41:46] local.INFO: TCP Data received {"connection_id":175296,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:41:46] local.INFO: Processing buffer {"connection_id":175296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:41:46] local.INFO: Packet analysis {"connection_id":175296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:41:46] local.INFO: Extracted packet for processing {"connection_id":175296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 09:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":175296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:41:46] local.INFO: GPS data processed {"connection_id":175296,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:41:46] local.INFO: Acknowledgment sent {"connection_id":175296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:41:55] local.INFO: TCP Data received {"connection_id":175297,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:41:55] local.INFO: Processing buffer {"connection_id":175297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:41:55] local.INFO: IMEI packet received {"connection_id":175297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":175297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:41:56] local.INFO: TCP Data received {"connection_id":175297,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d01f8012d0d29400703e850001400031b..."} 
[2026-09-09 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d01f8012d0d29400703e850001400031b..."} 
[2026-09-09 09:41:56] local.INFO: Processing buffer {"connection_id":175297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d01f8012d0d29400703e850001400031b..."} 
[2026-09-09 09:41:56] local.INFO: Packet analysis {"connection_id":175297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:41:56] local.INFO: Extracted packet for processing {"connection_id":175297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117696592,"longitude_deg":75.5837248,"latitude_deg":11.7696592,"altitude":20,"angle":3,"satellites":27,"speed":17,"hex_longitude":"2d0d2940","hex_latitude":"0703e850","is_valid_coordinates":true} 
[2026-09-09 09:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965329664001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30929996528746496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020341215232,"note":"Value kept but may cause issues"} 
[2026-09-09 09:41:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 09:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788927083000,"timestamp_ms":1788927083000,"timestamp_seconds":1788927083,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d01f8"} 
[2026-09-09 09:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-09 09:41:56] 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-09-09 09:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965329664001,"66":14439,"16":30929996528746496,"94":11008,"24":17,"45":949204020341215232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 09:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965329664001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30929996528746496,"km_value":30929996528746.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:41:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020341215232,"description":"Unknown IO ID 45"} 
[2026-09-09 09:41:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457965329664001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":17,"unknown_45":949204020341215232}} 
[2026-09-09 09:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":175297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:41:56] local.INFO: GPS data processed {"connection_id":175297,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:41:56] local.INFO: Acknowledgment sent {"connection_id":175297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:42:01] local.INFO: TCP Data received {"connection_id":176640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:42:01] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:42:01] local.INFO: IMEI packet received {"connection_id":176640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":176640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:42:06] local.INFO: TCP Data received {"connection_id":176640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:42:06] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:42:06] local.INFO: IMEI packet received {"connection_id":176640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":176640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:42:08] local.INFO: TCP Data received {"connection_id":176640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:42:08] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:42:08] local.INFO: Packet analysis {"connection_id":176640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:42:08] local.INFO: Extracted packet for processing {"connection_id":176640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:08] 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-09-09 09:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:42:08] 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-09-09 09: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-09-09 09:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:42:08] 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-09-09 09:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:42:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:42:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":176640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:42:08] local.INFO: GPS data processed {"connection_id":176640,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:42:08] local.INFO: Acknowledgment sent {"connection_id":176640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:42:18] local.INFO: TCP Data received {"connection_id":175296,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:42:18] local.INFO: Processing buffer {"connection_id":175296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:42:18] local.INFO: Packet analysis {"connection_id":175296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:42:18] local.INFO: Extracted packet for processing {"connection_id":175296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 09:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:42: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-09-09 09:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:42:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":175296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:42:18] local.INFO: GPS data processed {"connection_id":175296,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:42:18] local.INFO: Acknowledgment sent {"connection_id":175296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:42:39] local.INFO: TCP Data received {"connection_id":178109,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:42:39] local.INFO: Processing buffer {"connection_id":178109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:42:39] local.INFO: IMEI packet received {"connection_id":178109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":178109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:42:40] local.INFO: TCP Data received {"connection_id":176640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:42:40] local.INFO: Processing buffer {"connection_id":176640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:42:40] local.INFO: Packet analysis {"connection_id":176640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:42:40] local.INFO: Extracted packet for processing {"connection_id":176640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:40] 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-09-09 09:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:42:40] 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-09-09 09:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:42:40] 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-09-09 09:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:42:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:42:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":176640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:42:40] local.INFO: GPS data processed {"connection_id":176640,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:42:40] local.INFO: Acknowledgment sent {"connection_id":176640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:42:42] local.INFO: TCP Data received {"connection_id":175525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:42:42] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:42:42] local.INFO: IMEI packet received {"connection_id":175525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":175525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:42:44] local.INFO: TCP Data received {"connection_id":178109,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:42:44] local.INFO: Processing buffer {"connection_id":178109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:42:44] local.INFO: IMEI packet received {"connection_id":178109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":178109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:42:45] local.INFO: TCP Data received {"connection_id":175525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:42:45] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:42:45] local.INFO: IMEI packet received {"connection_id":175525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:42:45] local.INFO: TCP Data received {"connection_id":178109,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:42:45] local.INFO: Processing buffer {"connection_id":178109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845919f8012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:42:45] local.INFO: Packet analysis {"connection_id":178109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:42:45] local.INFO: Extracted packet for processing {"connection_id":178109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08459"} 
[2026-09-09 09:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965190656001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788926827000,"timestamp_ms":1788926827000,"timestamp_seconds":1788926827,"priority":1,"record_length":96,"hex_timestamp":"000001a0845919f8"} 
[2026-09-09 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-09-09 09:42: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-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 09:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965190656001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965190656001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:42:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965190656001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":178109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:42:45] local.INFO: GPS data processed {"connection_id":178109,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:42:45] local.INFO: Acknowledgment sent {"connection_id":178109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:42:50] local.INFO: TCP Data received {"connection_id":175525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:42:50] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:42:50] local.INFO: IMEI packet received {"connection_id":175525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":175525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:42:51] local.INFO: TCP Data received {"connection_id":175525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d1968012d0d29000703f218001701601b..."} 
[2026-09-09 09:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d1968012d0d29000703f218001701601b..."} 
[2026-09-09 09:42:51] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d1968012d0d29000703f218001701601b..."} 
[2026-09-09 09:42:51] local.INFO: Packet analysis {"connection_id":175525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:42:51] local.INFO: Extracted packet for processing {"connection_id":175525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755837184,"raw_latitude":117699096,"longitude_deg":75.5837184,"latitude_deg":11.7699096,"altitude":23,"angle":352,"satellites":27,"speed":14,"hex_longitude":"2d0d2900","hex_latitude":"0703f218","is_valid_coordinates":true} 
[2026-09-09 09:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965333248001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30930116787830784,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948359595412705280,"note":"Value kept but may cause issues"} 
[2026-09-09 09:42:51] 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-09-09 09:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788927089000,"timestamp_ms":1788927089000,"timestamp_seconds":1788927089,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d1968"} 
[2026-09-09 09:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:42: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-09-09 09:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965333248001,"66":14428,"16":30930116787830784,"94":11008,"24":14,"45":948359595412705280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 09:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965333248001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30930116787830784,"km_value":30930116787830.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":948359595412705280,"description":"Unknown IO ID 45"} 
[2026-09-09 09:42:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457965333248001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":948359595412705280}} 
[2026-09-09 09:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":175525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788119,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:42:51] local.INFO: GPS data processed {"connection_id":175525,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:42:51] local.INFO: Acknowledgment sent {"connection_id":175525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:43:06] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:43:06] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:43:06] local.INFO: IMEI packet received {"connection_id":176641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":176641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:43:11] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:43:11] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:43:11] local.INFO: IMEI packet received {"connection_id":176641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":176641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:43:12] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:43:12] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:43:12] local.INFO: Packet analysis {"connection_id":176641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:12] local.INFO: Extracted packet for processing {"connection_id":176641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43: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-09-09 09:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:43:12] 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-09-09 09:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:43:12] 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-09-09 09:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:43:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:43:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":176641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:43:12] local.INFO: GPS data processed {"connection_id":176641,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:43:12] local.INFO: Acknowledgment sent {"connection_id":176641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:43:17] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:43:17] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:43:17] local.INFO: Packet analysis {"connection_id":176641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:17] local.INFO: Extracted packet for processing {"connection_id":176641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43: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-09-09 09:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:43:17] 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-09-09 09:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:43: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-09-09 09:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:43:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:43:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":176641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:43:17] local.INFO: GPS data processed {"connection_id":176641,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:43:17] local.INFO: Acknowledgment sent {"connection_id":176641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:43:17] local.INFO: TCP Data received {"connection_id":178109,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:43:17] local.INFO: Processing buffer {"connection_id":178109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:43:17] local.INFO: Packet analysis {"connection_id":178109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:17] local.INFO: Extracted packet for processing {"connection_id":178109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 09:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":178109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:43:17] local.INFO: GPS data processed {"connection_id":178109,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:43:17] local.INFO: Acknowledgment sent {"connection_id":178109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:43:22] local.INFO: TCP Data received {"connection_id":175525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d6b70012d0d268007040ca0001a01611a..."} 
[2026-09-09 09:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d6b70012d0d268007040ca0001a01611a..."} 
[2026-09-09 09:43:22] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d6b70012d0d268007040ca0001a01611a..."} 
[2026-09-09 09:43:22] local.INFO: Packet analysis {"connection_id":175525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:22] local.INFO: Extracted packet for processing {"connection_id":175525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755836544,"raw_latitude":117705888,"longitude_deg":75.5836544,"latitude_deg":11.7705888,"altitude":26,"angle":353,"satellites":26,"speed":9,"hex_longitude":"2d0d2680","hex_latitude":"07040ca0","is_valid_coordinates":true} 
[2026-09-09 09:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965334784001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30930447500312576,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948289226669168640,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43: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-09-09 09:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788927110000,"timestamp_ms":1788927110000,"timestamp_seconds":1788927110,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d6b70"} 
[2026-09-09 09:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:43: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-09-09 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 09:43: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-09-09 09:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965334784001,"66":14548,"16":30930447500312576,"94":11008,"24":9,"45":948289226669168640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 09:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965334784001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30930447500312576,"km_value":30930447500312.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":948289226669168640,"description":"Unknown IO ID 45"} 
[2026-09-09 09:43:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457965334784001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":948289226669168640}} 
[2026-09-09 09:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":175525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788123,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:43:22] local.INFO: GPS data processed {"connection_id":175525,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:43:22] local.INFO: Acknowledgment sent {"connection_id":175525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:43:39] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:43:39] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:43:39] local.INFO: IMEI packet received {"connection_id":175527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":175527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:43:40] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:43:40] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:43:40] local.INFO: IMEI packet received {"connection_id":175526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":175526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:43:44] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:43:44] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:43:44] local.INFO: IMEI packet received {"connection_id":175527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":175527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:43:46] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:43:46] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:43:46] local.INFO: IMEI packet received {"connection_id":175526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":175526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:43:46] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:43:46] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:43:46] local.INFO: Packet analysis {"connection_id":175527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:46] local.INFO: Extracted packet for processing {"connection_id":175527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 09:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":175527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:43:46] local.INFO: GPS data processed {"connection_id":175527,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:43:46] local.INFO: Acknowledgment sent {"connection_id":175527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:43:47] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0845edaa0012d0d338007046dd0001f00121b..."} 
[2026-09-09 09:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845edaa0012d0d338007046dd0001f00121b..."} 
[2026-09-09 09:43:47] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845edaa0012d0d338007046dd0001f00121b..."} 
[2026-09-09 09:43:47] local.INFO: Packet analysis {"connection_id":175526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845e"} 
[2026-09-09 09:43:47] local.INFO: Extracted packet for processing {"connection_id":175526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845e"} 
[2026-09-09 09:43:47] local.INFO: GPS Element Parsed {"raw_longitude":755839872,"raw_latitude":117730768,"longitude_deg":75.5839872,"latitude_deg":11.7730768,"altitude":31,"angle":18,"satellites":27,"speed":22,"hex_longitude":"2d0d3380","hex_latitude":"07046dd0","is_valid_coordinates":true} 
[2026-09-09 09:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965362944001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30931697335795712,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950611395234478080,"note":"Value kept but may cause issues"} 
[2026-09-09 09:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788927204000,"timestamp_ms":1788927204000,"timestamp_seconds":1788927204,"priority":1,"record_length":96,"hex_timestamp":"000001a0845edaa0"} 
[2026-09-09 09:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:43:47] 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-09-09 09:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965362944001,"66":14439,"17":206,"94":11008,"24":22,"16":30931697335795712,"45":950611395234478080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965362944001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:43:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30931697335795712,"km_value":30931697335795.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":950611395234478080,"description":"Unknown IO ID 45"} 
[2026-09-09 09:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965362944001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":950611395234478080}} 
[2026-09-09 09:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":175526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788125,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:43:47] local.INFO: GPS data processed {"connection_id":175526,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:43:47] local.INFO: Acknowledgment sent {"connection_id":175526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:44:01] local.INFO: TCP Data received {"connection_id":175300,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:44:01] local.INFO: Processing buffer {"connection_id":175300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:44:01] local.INFO: IMEI packet received {"connection_id":175300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":175300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:44:06] local.INFO: TCP Data received {"connection_id":175300,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:44:06] local.INFO: Processing buffer {"connection_id":175300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:44:06] local.INFO: IMEI packet received {"connection_id":175300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":175300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:44:07] local.INFO: TCP Data received {"connection_id":175300,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:44:07] local.INFO: Processing buffer {"connection_id":175300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:44:07] local.INFO: Packet analysis {"connection_id":175300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:07] local.INFO: Extracted packet for processing {"connection_id":175300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:07] 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-09-09 09:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:44:07] 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-09-09 09:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:44:07] 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-09-09 09:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:44:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:44:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":175300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:44:07] local.INFO: GPS data processed {"connection_id":175300,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:44:07] local.INFO: Acknowledgment sent {"connection_id":175300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:44:17] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:44:17] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:44:17] local.INFO: Packet analysis {"connection_id":175527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:17] local.INFO: Extracted packet for processing {"connection_id":175527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 09:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:44: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-09-09 09:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":175527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:44:17] local.INFO: GPS data processed {"connection_id":175527,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:44:17] local.INFO: Acknowledgment sent {"connection_id":175527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:44:18] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0845eee28012d0d370007047720001f00051b..."} 
[2026-09-09 09:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845eee28012d0d370007047720001f00051b..."} 
[2026-09-09 09:44:18] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845eee28012d0d370007047720001f00051b..."} 
[2026-09-09 09:44:18] local.INFO: Packet analysis {"connection_id":175526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845e"} 
[2026-09-09 09:44:18] local.INFO: Extracted packet for processing {"connection_id":175526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845e"} 
[2026-09-09 09:44:18] local.INFO: GPS Element Parsed {"raw_longitude":755840768,"raw_latitude":117733152,"longitude_deg":75.5840768,"latitude_deg":11.7733152,"altitude":31,"angle":5,"satellites":27,"speed":15,"hex_longitude":"2d0d3700","hex_latitude":"07047720","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965364224001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30931821889847296,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951244713932738560,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788927209000,"timestamp_ms":1788927209000,"timestamp_seconds":1788927209,"priority":1,"record_length":96,"hex_timestamp":"000001a0845eee28"} 
[2026-09-09 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-09-09 09:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:44:18] 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-09-09 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-09-09 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-09-09 09:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965364224001,"66":14450,"17":206,"94":11008,"24":15,"16":30931821889847296,"45":951244713932738560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965364224001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:44:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30931821889847296,"km_value":30931821889847.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":951244713932738560,"description":"Unknown IO ID 45"} 
[2026-09-09 09:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965364224001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":951244713932738560}} 
[2026-09-09 09:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":175526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788128,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:44:18] local.INFO: GPS data processed {"connection_id":175526,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:44:18] local.INFO: Acknowledgment sent {"connection_id":175526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:44:38] local.INFO: TCP Data received {"connection_id":175300,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:44:38] local.INFO: Processing buffer {"connection_id":175300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:44:38] local.INFO: Packet analysis {"connection_id":175300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:38] local.INFO: Extracted packet for processing {"connection_id":175300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:38] 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-09-09 09:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:44:38] 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-09-09 09: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-09-09 09:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:44:38] 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-09-09 09:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:44:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:44:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":175300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:44:38] local.INFO: GPS data processed {"connection_id":175300,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:44:38] local.INFO: Acknowledgment sent {"connection_id":175300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:44:40] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:44:40] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:44:40] local.INFO: IMEI packet received {"connection_id":175301,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":175301,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:44:44] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:44:44] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:44:44] local.INFO: IMEI packet received {"connection_id":176642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":176642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:44:45] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:44:45] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:44:45] local.INFO: IMEI packet received {"connection_id":175301,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":175301,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:44:46] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0845ef210012d0d3700070478a0001f01621b..."} 
[2026-09-09 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845ef210012d0d3700070478a0001f01621b..."} 
[2026-09-09 09:44:46] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845ef210012d0d3700070478a0001f01621b..."} 
[2026-09-09 09:44:46] local.INFO: Packet analysis {"connection_id":175301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845e"} 
[2026-09-09 09:44:46] local.INFO: Extracted packet for processing {"connection_id":175301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845e"} 
[2026-09-09 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":755840768,"raw_latitude":117733536,"longitude_deg":75.5840768,"latitude_deg":11.7733536,"altitude":31,"angle":354,"satellites":27,"speed":13,"hex_longitude":"2d0d3700","hex_latitude":"070478a0","is_valid_coordinates":true} 
[2026-09-09 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965365504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30931839069716480,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952229876351836160,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788927210000,"timestamp_ms":1788927210000,"timestamp_seconds":1788927210,"priority":1,"record_length":96,"hex_timestamp":"000001a0845ef210"} 
[2026-09-09 09:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 09:44:46] 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-09-09 09:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965365504001,"66":14559,"17":206,"94":11008,"24":13,"16":30931839069716480,"45":952229876351836160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965365504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:44:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30931839069716480,"km_value":30931839069716.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":952229876351836160,"description":"Unknown IO ID 45"} 
[2026-09-09 09:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965365504001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":952229876351836160}} 
[2026-09-09 09:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":175301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788130,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:44:46] local.INFO: GPS data processed {"connection_id":175301,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:44:46] local.INFO: Acknowledgment sent {"connection_id":175301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:44:49] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:44:49] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:44:49] local.INFO: IMEI packet received {"connection_id":176642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":176642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:44:50] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:44:50] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:44:50] local.INFO: Packet analysis {"connection_id":176642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:50] local.INFO: Extracted packet for processing {"connection_id":176642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 09:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:44:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":176642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:44:50] local.INFO: GPS data processed {"connection_id":176642,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:44:50] local.INFO: Acknowledgment sent {"connection_id":176642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:44:55] local.INFO: TCP Data received {"connection_id":176642,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:44:55] local.INFO: Processing buffer {"connection_id":176642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:44:55] local.INFO: Packet analysis {"connection_id":176642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:55] local.INFO: Extracted packet for processing {"connection_id":176642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 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-09-09 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:44:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:44:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":176642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:44:55] local.INFO: GPS data processed {"connection_id":176642,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:44:55] local.INFO: Acknowledgment sent {"connection_id":176642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:45:02] local.INFO: TCP Data received {"connection_id":175302,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:45:02] local.INFO: Processing buffer {"connection_id":175302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:45:02] local.INFO: IMEI packet received {"connection_id":175302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":175302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:45:06] local.INFO: TCP Data received {"connection_id":175302,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:45:06] local.INFO: Processing buffer {"connection_id":175302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:45:06] local.INFO: IMEI packet received {"connection_id":175302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":175302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:45:07] local.INFO: TCP Data received {"connection_id":175302,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:45:07] local.INFO: Processing buffer {"connection_id":175302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:45:07] local.INFO: Packet analysis {"connection_id":175302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:45:07] local.INFO: Extracted packet for processing {"connection_id":175302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:07] 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-09-09 09:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:45:07] 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-09-09 09: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-09-09 09:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:45:07] 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-09-09 09:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:45:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:45:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":175302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:45:07] local.INFO: GPS data processed {"connection_id":175302,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:45:07] local.INFO: Acknowledgment sent {"connection_id":175302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:45:17] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084606528012d0ce3c00704bdb0001f01041b..."} 
[2026-09-09 09:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084606528012d0ce3c00704bdb0001f01041b..."} 
[2026-09-09 09:45:17] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084606528012d0ce3c00704bdb0001f01041b..."} 
[2026-09-09 09:45:17] local.INFO: Packet analysis {"connection_id":175301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08460"} 
[2026-09-09 09:45:17] local.INFO: Extracted packet for processing {"connection_id":175301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08460"} 
[2026-09-09 09:45:17] local.INFO: GPS Element Parsed {"raw_longitude":755819456,"raw_latitude":117751216,"longitude_deg":75.5819456,"latitude_deg":11.7751216,"altitude":31,"angle":260,"satellites":27,"speed":21,"hex_longitude":"2d0ce3c0","hex_latitude":"0704bdb0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965386752001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30933733150294016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":939000552450777088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927305000,"timestamp_ms":1788927305000,"timestamp_seconds":1788927305,"priority":1,"record_length":96,"hex_timestamp":"000001a084606528"} 
[2026-09-09 09:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 09:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965386752001,"66":14515,"17":206,"94":11008,"24":21,"16":30933733150294016,"45":939000552450777088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965386752001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:45:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30933733150294016,"km_value":30933733150294.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":939000552450777088,"description":"Unknown IO ID 45"} 
[2026-09-09 09:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965386752001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":939000552450777088}} 
[2026-09-09 09:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":175301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788134,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:45:17] local.INFO: GPS data processed {"connection_id":175301,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:45:17] local.INFO: Acknowledgment sent {"connection_id":175301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:45:39] local.INFO: TCP Data received {"connection_id":175302,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:45:39] local.INFO: Processing buffer {"connection_id":175302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:45:39] local.INFO: Packet analysis {"connection_id":175302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:45:39] local.INFO: Extracted packet for processing {"connection_id":175302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:39] 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-09-09 09:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:45:39] 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-09-09 09: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-09-09 09:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:45:39] 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-09-09 09:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:45:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:45:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":175302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:45:39] local.INFO: GPS data processed {"connection_id":175302,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:45:39] local.INFO: Acknowledgment sent {"connection_id":175302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:45:39] local.INFO: TCP Data received {"connection_id":178110,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:45:39] local.INFO: Processing buffer {"connection_id":178110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:45:39] local.INFO: IMEI packet received {"connection_id":178110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":178110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:45:40] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:45:40] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:45:40] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:45:42] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:45:42] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:45:42] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:45:43] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:45:43] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:45:43] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:45:44] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084606cf8012d0cdf000704bd68002001111b..."} 
[2026-09-09 09:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084606cf8012d0cdf000704bd68002001111b..."} 
[2026-09-09 09:45:44] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084606cf8012d0cdf000704bd68002001111b..."} 
[2026-09-09 09:45:44] local.INFO: Packet analysis {"connection_id":175529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08460"} 
[2026-09-09 09:45:44] local.INFO: Extracted packet for processing {"connection_id":175529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08460"} 
[2026-09-09 09:45:44] local.INFO: GPS Element Parsed {"raw_longitude":755818240,"raw_latitude":117751144,"longitude_deg":75.581824,"latitude_deg":11.7751144,"altitude":32,"angle":273,"satellites":27,"speed":27,"hex_longitude":"2d0cdf00","hex_latitude":"0704bd68","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965390080001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30933793279836160,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928797084545298432,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788927307000,"timestamp_ms":1788927307000,"timestamp_seconds":1788927307,"priority":1,"record_length":96,"hex_timestamp":"000001a084606cf8"} 
[2026-09-09 09:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 09:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965390080001,"66":14548,"17":206,"94":11008,"24":27,"16":30933793279836160,"45":928797084545298432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965390080001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:45:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30933793279836160,"km_value":30933793279836.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":928797084545298432,"description":"Unknown IO ID 45"} 
[2026-09-09 09:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965390080001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":928797084545298432}} 
[2026-09-09 09:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":175529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788136,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:45:44] local.INFO: GPS data processed {"connection_id":175529,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:45:44] local.INFO: Acknowledgment sent {"connection_id":175529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:45:44] local.INFO: TCP Data received {"connection_id":178110,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:45:44] local.INFO: Processing buffer {"connection_id":178110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:45:44] local.INFO: IMEI packet received {"connection_id":178110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":178110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:45:45] local.INFO: TCP Data received {"connection_id":178110,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:45:45] local.INFO: Processing buffer {"connection_id":178110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:45:45] local.INFO: Packet analysis {"connection_id":178110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:45:45] local.INFO: Extracted packet for processing {"connection_id":178110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 09:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:45: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-09-09 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":178110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:45:45] local.INFO: GPS data processed {"connection_id":178110,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:45:45] local.INFO: Acknowledgment sent {"connection_id":178110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:46:01] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:46:01] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:46:01] local.INFO: IMEI packet received {"connection_id":176643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":176643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:46:06] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:46:06] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:46:06] local.INFO: IMEI packet received {"connection_id":176643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":176643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:46:07] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:46:07] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:46:07] local.INFO: Packet analysis {"connection_id":176643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:46:07] local.INFO: Extracted packet for processing {"connection_id":176643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:07] 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-09-09 09:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:46:07] 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-09-09 09:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:46:07] 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-09-09 09:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:46:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:46:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":176643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:46:07] local.INFO: GPS data processed {"connection_id":176643,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:46:07] local.INFO: Acknowledgment sent {"connection_id":176643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:46:15] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084615b40012d0cb50007048cd8001f009719..."} 
[2026-09-09 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084615b40012d0cb50007048cd8001f009719..."} 
[2026-09-09 09:46:15] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084615b40012d0cb50007048cd8001f009719..."} 
[2026-09-09 09:46:15] local.INFO: Packet analysis {"connection_id":175529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:46:15] local.INFO: Extracted packet for processing {"connection_id":175529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":755807488,"raw_latitude":117738712,"longitude_deg":75.5807488,"latitude_deg":11.7738712,"altitude":31,"angle":151,"satellites":25,"speed":42,"hex_longitude":"2d0cb500","hex_latitude":"07048cd8","is_valid_coordinates":true} 
[2026-09-09 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965404160001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30935734605053952,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910078998592755712,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46: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-09-09 09:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788927368000,"timestamp_ms":1788927368000,"timestamp_seconds":1788927368,"priority":1,"record_length":96,"hex_timestamp":"000001a084615b40"} 
[2026-09-09 09:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:46:15] 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-09-09 09:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965404160001,"66":14439,"95":206,"94":10240,"24":42,"16":30935734605053952,"45":910078998592755712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-09 09:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965404160001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:46:15] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 09:46:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30935734605053952,"km_value":30935734605053.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":910078998592755712,"description":"Unknown IO ID 45"} 
[2026-09-09 09:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965404160001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":910078998592755712}} 
[2026-09-09 09:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":175529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788139,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:46:15] local.INFO: GPS data processed {"connection_id":175529,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:46:15] local.INFO: Acknowledgment sent {"connection_id":175529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:46:16] local.INFO: TCP Data received {"connection_id":178110,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:46:16] local.INFO: Processing buffer {"connection_id":178110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:46:16] local.INFO: Packet analysis {"connection_id":178110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:46:16] local.INFO: Extracted packet for processing {"connection_id":178110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 09:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":178110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:46:16] local.INFO: GPS data processed {"connection_id":178110,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:46:16] local.INFO: Acknowledgment sent {"connection_id":178110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:46:17] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:46:17] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:46:17] local.INFO: IMEI packet received {"connection_id":175530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":175530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:46:38] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:46:38] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845d5fb8012d7d2ec005ec0cf00012011c1d..."} 
[2026-09-09 09:46:38] local.INFO: Packet analysis {"connection_id":176643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:46:38] local.INFO: Extracted packet for processing {"connection_id":176643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":18,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965262336001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:38] 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-09-09 09:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788927107000,"timestamp_ms":1788927107000,"timestamp_seconds":1788927107,"priority":1,"record_length":96,"hex_timestamp":"000001a0845d5fb8"} 
[2026-09-09 09:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:46:38] 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-09-09 09: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-09-09 09:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:46:38] 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-09-09 09:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965262336001,"66":2231,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965262336001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:46:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:46:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965262336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":176643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:46:38] local.INFO: GPS data processed {"connection_id":176643,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:46:38] local.INFO: Acknowledgment sent {"connection_id":176643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:46:39] local.INFO: TCP Data received {"connection_id":176644,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:46:39] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:46:39] local.INFO: IMEI packet received {"connection_id":176644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":176644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:46:42] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:46:42] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:46:42] local.INFO: IMEI packet received {"connection_id":175531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":175531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:46:44] local.INFO: TCP Data received {"connection_id":176644,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:46:44] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:46:44] local.INFO: IMEI packet received {"connection_id":176644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":176644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:46:45] local.INFO: TCP Data received {"connection_id":176644,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:46:45] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:46:45] local.INFO: Packet analysis {"connection_id":176644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:46:45] local.INFO: Extracted packet for processing {"connection_id":176644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 09:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:46: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-09-09 09:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:46:45] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:46:45] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:46:45] local.INFO: IMEI packet received {"connection_id":178111,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":178111,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":176644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:46:45] local.INFO: GPS data processed {"connection_id":176644,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:46:45] local.INFO: Acknowledgment sent {"connection_id":176644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:46:48] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:46:48] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:46:48] local.INFO: IMEI packet received {"connection_id":178111,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":178111,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:46:48] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084616310012d0cb88007048538001d00a21a..."} 
[2026-09-09 09:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084616310012d0cb88007048538001d00a21a..."} 
[2026-09-09 09:46:48] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084616310012d0cb88007048538001d00a21a..."} 
[2026-09-09 09:46:48] local.INFO: Packet analysis {"connection_id":178111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:46:48] local.INFO: Extracted packet for processing {"connection_id":178111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:46:48] local.INFO: GPS Element Parsed {"raw_longitude":755808384,"raw_latitude":117736760,"longitude_deg":75.5808384,"latitude_deg":11.773676,"altitude":29,"angle":162,"satellites":26,"speed":40,"hex_longitude":"2d0cb880","hex_latitude":"07048538","is_valid_coordinates":true} 
[2026-09-09 09:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965406208001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30935841979236352,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915638129380874240,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46: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-09-09 09:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788927370000,"timestamp_ms":1788927370000,"timestamp_seconds":1788927370,"priority":1,"record_length":96,"hex_timestamp":"000001a084616310"} 
[2026-09-09 09:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965406208001,"66":14396,"95":206,"94":10240,"24":40,"16":30935841979236352,"45":915638129380874240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-09 09:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965406208001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:46:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 09:46:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30935841979236352,"km_value":30935841979236.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":915638129380874240,"description":"Unknown IO ID 45"} 
[2026-09-09 09:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965406208001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":915638129380874240}} 
[2026-09-09 09:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":178111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788143,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:46:48] local.INFO: GPS data processed {"connection_id":178111,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:46:48] local.INFO: Acknowledgment sent {"connection_id":178111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:46:50] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084616ae0012d0cba8007047d20001b00ae1a..."} 
[2026-09-09 09:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084616ae0012d0cba8007047d20001b00ae1a..."} 
[2026-09-09 09:46:50] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084616ae0012d0cba8007047d20001b00ae1a..."} 
[2026-09-09 09:46:50] local.INFO: Packet analysis {"connection_id":178111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:46:50] local.INFO: Extracted packet for processing {"connection_id":178111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:46:50] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117734688,"longitude_deg":75.5808896,"latitude_deg":11.7734688,"altitude":27,"angle":174,"satellites":26,"speed":40,"hex_longitude":"2d0cba80","hex_latitude":"07047d20","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965406720001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30935945058451456,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916623291798861824,"note":"Value kept but may cause issues"} 
[2026-09-09 09:46:50] 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-09-09 09:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788927372000,"timestamp_ms":1788927372000,"timestamp_seconds":1788927372,"priority":1,"record_length":96,"hex_timestamp":"000001a084616ae0"} 
[2026-09-09 09:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965406720001,"66":14439,"95":206,"94":10240,"24":40,"16":30935945058451456,"45":916623291798861824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-09 09:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965406720001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:46:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 09:46:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 09:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30935945058451456,"km_value":30935945058451.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":916623291798861824,"description":"Unknown IO ID 45"} 
[2026-09-09 09:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965406720001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":916623291798861824}} 
[2026-09-09 09:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":178111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788144,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:46:50] local.INFO: GPS data processed {"connection_id":178111,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:46:50] local.INFO: Acknowledgment sent {"connection_id":178111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:47:01] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:47:01] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:47:01] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:47:06] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:47:06] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:47:06] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:47:08] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:47:08] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:47:08] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:47:08] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:08] 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-09-09 09:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 09:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-09 09:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:47:08] 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-09-09 09:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:47:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:47:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:47:08] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:47:08] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:47:16] local.INFO: TCP Data received {"connection_id":176644,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:47:16] local.INFO: Processing buffer {"connection_id":176644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:47:16] local.INFO: Packet analysis {"connection_id":176644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:47:16] local.INFO: Extracted packet for processing {"connection_id":176644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 09:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":176644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:47:16] local.INFO: GPS data processed {"connection_id":176644,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:47:16] local.INFO: Acknowledgment sent {"connection_id":176644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:47:21] local.INFO: TCP Data received {"connection_id":178111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084622660012d0c53800703e130001400751b..."} 
[2026-09-09 09:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084622660012d0c53800703e130001400751b..."} 
[2026-09-09 09:47:21] local.INFO: Processing buffer {"connection_id":178111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084622660012d0c53800703e130001400751b..."} 
[2026-09-09 09:47:21] local.INFO: Packet analysis {"connection_id":178111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:47:21] local.INFO: Extracted packet for processing {"connection_id":178111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:47:21] local.INFO: GPS Element Parsed {"raw_longitude":755782528,"raw_latitude":117694768,"longitude_deg":75.5782528,"latitude_deg":11.7694768,"altitude":20,"angle":117,"satellites":27,"speed":5,"hex_longitude":"2d0c5380","hex_latitude":"0703e130","is_valid_coordinates":true} 
[2026-09-09 09:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965418752001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30938388894842880,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887983212907870208,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47: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-09-09 09:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788927420000,"timestamp_ms":1788927420000,"timestamp_seconds":1788927420,"priority":1,"record_length":96,"hex_timestamp":"000001a084622660"} 
[2026-09-09 09:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2220994864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504071689207808,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638152328360799,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2869952718,"corrected_to":0} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3087084812,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3741371819,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3914399744,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84737921265370185,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":168,"raw_value":6474775320867840,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-5710556612508778473,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:21] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,16,94,24,241,157,234,160,22,45,128,226,20,27,10,66,14,228,21,235,64,1,240,103,227,233,132,4,113,205,51,196,151,192,239,56,2,109,7,52,206,216,168,12],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2869952718,"validated":0}]} 
[2026-09-09 09:47:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441337814188294144,"timestamp_seconds":1441337814188294.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965418752001,"66":14439,"16":30938388894842880,"94":11008,"24":5,"45":887983212907870208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 09:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965418752001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30938388894842880,"km_value":30938388894842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:47:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":887983212907870208,"description":"Unknown IO ID 45"} 
[2026-09-09 09:47:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457965418752001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":887983212907870208}} 
[2026-09-09 09:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":178111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788147,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:47:21] local.INFO: GPS data processed {"connection_id":178111,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:47:21] local.INFO: Acknowledgment sent {"connection_id":178111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:47:26] local.INFO: TCP Data received {"connection_id":175303,"ip":"91.231.89.20","data_length":614,"data_hex":"16030302610100025d0303ae16aca6c4eaed423dbbd4cac9cd49bdfff0b1780f..."} 
[2026-09-09 09:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175303,"packet_length":614,"packet_hex":"16030302610100025d0303ae16aca6c4eaed423dbbd4cac9cd49bdfff0b1780f..."} 
[2026-09-09 09:47:26] local.INFO: Processing buffer {"connection_id":175303,"buffer_length":614,"buffer_hex":"16030302610100025d0303ae16aca6c4eaed423dbbd4cac9cd49bdfff0b1780f..."} 
[2026-09-09 09:47:26] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175303,"buffer_length":614,"first_bytes_hex":"16030302610100025d0303ae16aca6c4"} 
[2026-09-09 09:47:39] local.INFO: TCP Data received {"connection_id":178113,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:47:39] local.INFO: Processing buffer {"connection_id":178113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:47:39] local.INFO: IMEI packet received {"connection_id":178113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":178113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:47:39] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:47:39] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:47:39] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:47:39] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:39] 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-09-09 09:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 09:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-09 09:47: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-09-09 09: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-09-09 09:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:47:39] 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-09-09 09:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:47:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:47:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:47:39] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:47:39] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:47:40] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:47:40] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:47:40] local.INFO: IMEI packet received {"connection_id":176645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":176645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:47:43] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:47:43] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:47:43] local.INFO: IMEI packet received {"connection_id":176645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":176645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:47:43] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084622a48012d0c54400703e108001300651b..."} 
[2026-09-09 09:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084622a48012d0c54400703e108001300651b..."} 
[2026-09-09 09:47:43] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084622a48012d0c54400703e108001300651b..."} 
[2026-09-09 09:47:43] local.INFO: Packet analysis {"connection_id":176645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:47:43] local.INFO: Extracted packet for processing {"connection_id":176645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:47:43] local.INFO: GPS Element Parsed {"raw_longitude":755782720,"raw_latitude":117694728,"longitude_deg":75.578272,"latitude_deg":11.7694728,"altitude":19,"angle":101,"satellites":27,"speed":5,"hex_longitude":"2d0c5440","hex_latitude":"0703e108","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965419520001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30938397484777472,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888194319140335616,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:43] 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-09-09 09:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788927421000,"timestamp_ms":1788927421000,"timestamp_seconds":1788927421,"priority":1,"record_length":96,"hex_timestamp":"000001a084622a48"} 
[2026-09-09 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-09-09 09:47: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-09-09 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:47:43] 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-09-09 09: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-09-09 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-09-09 09:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965419520001,"66":14439,"16":30938397484777472,"94":11008,"24":5,"45":888194319140335616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 09:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965419520001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30938397484777472,"km_value":30938397484777.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:47:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":888194319140335616,"description":"Unknown IO ID 45"} 
[2026-09-09 09:47:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457965419520001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":888194319140335616}} 
[2026-09-09 09:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":176645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:47:43] local.INFO: GPS data processed {"connection_id":176645,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:47:43] local.INFO: Acknowledgment sent {"connection_id":176645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:47:44] local.INFO: TCP Data received {"connection_id":178113,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:47:44] local.INFO: Processing buffer {"connection_id":178113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:47:44] local.INFO: IMEI packet received {"connection_id":178113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":178113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:47:46] local.INFO: TCP Data received {"connection_id":178113,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:47:46] local.INFO: Processing buffer {"connection_id":178113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0845db1c0012d34c14006aa42c8000800022a..."} 
[2026-09-09 09:47:46] local.INFO: Packet analysis {"connection_id":178113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:47:46] local.INFO: Extracted packet for processing {"connection_id":178113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0845d"} 
[2026-09-09 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965267712001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788927128000,"timestamp_ms":1788927128000,"timestamp_seconds":1788927128,"priority":1,"record_length":96,"hex_timestamp":"000001a0845db1c0"} 
[2026-09-09 09:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965267712001,"66":25538,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965267712001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965267712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":178113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:47:46] local.INFO: GPS data processed {"connection_id":178113,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:47:46] local.INFO: Acknowledgment sent {"connection_id":178113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:48:06] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:48:06] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:48:06] local.INFO: IMEI packet received {"connection_id":176646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":176646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:48:11] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:48:11] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:48:11] local.INFO: IMEI packet received {"connection_id":176646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":176646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:48:12] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:48:12] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:48:12] local.INFO: Packet analysis {"connection_id":176646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:48:12] local.INFO: Extracted packet for processing {"connection_id":176646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48: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-09-09 09:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 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-09-09 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-09 09:48: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-09-09 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-09-09 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-09-09 09:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:48:12] 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-09-09 09:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:48:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:48:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":176646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:48:12] local.INFO: GPS data processed {"connection_id":176646,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:48:12] local.INFO: Acknowledgment sent {"connection_id":176646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:48:15] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084623600012d0c56c00703e0f8001400571b..."} 
[2026-09-09 09:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084623600012d0c56c00703e0f8001400571b..."} 
[2026-09-09 09:48:15] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084623600012d0c56c00703e0f8001400571b..."} 
[2026-09-09 09:48:15] local.INFO: Packet analysis {"connection_id":176645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:48:15] local.INFO: Extracted packet for processing {"connection_id":176645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:48:15] local.INFO: GPS Element Parsed {"raw_longitude":755783360,"raw_latitude":117694712,"longitude_deg":75.578336,"latitude_deg":11.7694712,"altitude":20,"angle":87,"satellites":27,"speed":9,"hex_longitude":"2d0c56c0","hex_latitude":"0703e0f8","is_valid_coordinates":true} 
[2026-09-09 09:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965419776001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30938431844515840,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888405425372858368,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:15] 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-09-09 09:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788927424000,"timestamp_ms":1788927424000,"timestamp_seconds":1788927424,"priority":1,"record_length":96,"hex_timestamp":"000001a084623600"} 
[2026-09-09 09:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 09:48:15] 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-09-09 09:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965419776001,"66":14407,"16":30938431844515840,"94":11008,"24":9,"45":888405425372858368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 09:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965419776001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30938431844515840,"km_value":30938431844515.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:48:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":888405425372858368,"description":"Unknown IO ID 45"} 
[2026-09-09 09:48:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457965419776001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":888405425372858368}} 
[2026-09-09 09:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":176645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788152,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:48:15] local.INFO: GPS data processed {"connection_id":176645,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:48:15] local.INFO: Acknowledgment sent {"connection_id":176645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:48:17] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:48:17] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:48:17] local.INFO: Packet analysis {"connection_id":176646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:48:17] local.INFO: Extracted packet for processing {"connection_id":176646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:48:17] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48: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-09-09 09:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 09:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-09 09:48: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-09-09 09:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:48: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-09-09 09:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:48:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:48:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":176646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:48:17] local.INFO: GPS data processed {"connection_id":176646,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:48:17] local.INFO: Acknowledgment sent {"connection_id":176646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:48:18] local.INFO: TCP Data received {"connection_id":178113,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:48:18] local.INFO: Processing buffer {"connection_id":178113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:48:18] local.INFO: Packet analysis {"connection_id":178113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:48:18] local.INFO: Extracted packet for processing {"connection_id":178113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 09:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:48:18] 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-09-09 09:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":178113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:48:18] local.INFO: GPS data processed {"connection_id":178113,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:48:18] local.INFO: Acknowledgment sent {"connection_id":178113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:48:39] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:48:39] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:48:39] local.INFO: IMEI packet received {"connection_id":175535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":175535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:48:40] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:48:40] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:48:40] local.INFO: IMEI packet received {"connection_id":175534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":175534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:48:42] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:48:42] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:48:42] local.INFO: IMEI packet received {"connection_id":175534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":175534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:48:43] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084637a38012d0c610007037028001500dc1b..."} 
[2026-09-09 09:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084637a38012d0c610007037028001500dc1b..."} 
[2026-09-09 09:48:43] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084637a38012d0c610007037028001500dc1b..."} 
[2026-09-09 09:48:43] local.INFO: Packet analysis {"connection_id":175534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08463"} 
[2026-09-09 09:48:43] local.INFO: Extracted packet for processing {"connection_id":175534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08463"} 
[2026-09-09 09:48:43] local.INFO: GPS Element Parsed {"raw_longitude":755785984,"raw_latitude":117665832,"longitude_deg":75.5785984,"latitude_deg":11.7665832,"altitude":21,"angle":220,"satellites":27,"speed":9,"hex_longitude":"2d0c6100","hex_latitude":"07037028","is_valid_coordinates":true} 
[2026-09-09 09:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965441280001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30940102586793984,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892275706295355392,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:43] 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-09-09 09:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788927507000,"timestamp_ms":1788927507000,"timestamp_seconds":1788927507,"priority":1,"record_length":96,"hex_timestamp":"000001a084637a38"} 
[2026-09-09 09:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 09:48:43] 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-09-09 09:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965441280001,"66":14450,"16":30940102586793984,"94":11008,"24":9,"45":892275706295355392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 09:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965441280001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30940102586793984,"km_value":30940102586793.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:48:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":892275706295355392,"description":"Unknown IO ID 45"} 
[2026-09-09 09:48:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457965441280001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":892275706295355392}} 
[2026-09-09 09:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":175534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788155,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:48:43] local.INFO: GPS data processed {"connection_id":175534,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:48:43] local.INFO: Acknowledgment sent {"connection_id":175534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:48:44] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:48:44] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:48:44] local.INFO: IMEI packet received {"connection_id":175535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":175535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:48:50] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:48:50] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:48:50] local.INFO: Packet analysis {"connection_id":175535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:48:50] local.INFO: Extracted packet for processing {"connection_id":175535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 09:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:48:50] 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-09-09 09:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:48: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-09-09 09:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:48:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":175535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:48:50] local.INFO: GPS data processed {"connection_id":175535,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:48:50] local.INFO: Acknowledgment sent {"connection_id":175535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:49:01] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:49:01] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:49:01] local.INFO: IMEI packet received {"connection_id":175537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":175537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:49:06] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:49:06] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:49:06] local.INFO: IMEI packet received {"connection_id":175537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":175537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:49:08] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:49:08] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:49:08] local.INFO: Packet analysis {"connection_id":175537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:49:08] local.INFO: Extracted packet for processing {"connection_id":175537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:08] 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-09-09 09:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 09:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-09 09:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:49:08] 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-09-09 09:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:49:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:49:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":175537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:49:08] local.INFO: GPS data processed {"connection_id":175537,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:49:08] local.INFO: Acknowledgment sent {"connection_id":175537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:49:14] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084637e20012d0c608007036f90001500ee1b..."} 
[2026-09-09 09:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084637e20012d0c608007036f90001500ee1b..."} 
[2026-09-09 09:49:14] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084637e20012d0c608007036f90001500ee1b..."} 
[2026-09-09 09:49:14] local.INFO: Packet analysis {"connection_id":175534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08463"} 
[2026-09-09 09:49:14] local.INFO: Extracted packet for processing {"connection_id":175534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08463"} 
[2026-09-09 09:49:14] local.INFO: GPS Element Parsed {"raw_longitude":755785856,"raw_latitude":117665680,"longitude_deg":75.5785856,"latitude_deg":11.766568,"altitude":21,"angle":238,"satellites":27,"speed":9,"hex_longitude":"2d0c6080","hex_latitude":"07036f90","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965441792001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30940111176728576,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891994231318521856,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49: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-09-09 09:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788927508000,"timestamp_ms":1788927508000,"timestamp_seconds":1788927508,"priority":1,"record_length":96,"hex_timestamp":"000001a084637e20"} 
[2026-09-09 09:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":114,"data_length":795,"current_offset":136} 
[2026-09-09 09:49: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-09-09 09: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-09-09 09:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965441792001,"66":14450,"16":30940111176728576,"94":11008,"24":9,"45":891994231318521856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 09:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965441792001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30940111176728576,"km_value":30940111176728.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:49:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":891994231318521856,"description":"Unknown IO ID 45"} 
[2026-09-09 09:49:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457965441792001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":891994231318521856}} 
[2026-09-09 09:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":175534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788158,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:49:15] local.INFO: GPS data processed {"connection_id":175534,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:49:15] local.INFO: Acknowledgment sent {"connection_id":175534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:49:21] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:49:21] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:49:21] local.INFO: Packet analysis {"connection_id":175535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:49:21] local.INFO: Extracted packet for processing {"connection_id":175535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 09:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:49: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-09-09 09:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:49:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:49:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":175535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:49:21] local.INFO: GPS data processed {"connection_id":175535,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:49:21] local.INFO: Acknowledgment sent {"connection_id":175535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:49:40] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:49:40] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:49:40] local.INFO: Packet analysis {"connection_id":175537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:49:40] local.INFO: Extracted packet for processing {"connection_id":175537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:40] 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-09-09 09:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 09:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-09 09:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:49:40] 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-09-09 09:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:49:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:49:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":175537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:49:40] local.INFO: GPS data processed {"connection_id":175537,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:49:40] local.INFO: Acknowledgment sent {"connection_id":175537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:49:40] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:49:40] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:49:40] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:49:41] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:49:41] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:49:41] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:49:44] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:49:44] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:49:44] local.INFO: IMEI packet received {"connection_id":176649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":176649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:49:45] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:49:45] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:49:45] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:49:46] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a084638208012d0c5f8007036f30001501011b..."} 
[2026-09-09 09:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084638208012d0c5f8007036f30001501011b..."} 
[2026-09-09 09:49:46] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084638208012d0c5f8007036f30001501011b..."} 
[2026-09-09 09:49:46] local.INFO: Packet analysis {"connection_id":176647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08463"} 
[2026-09-09 09:49:46] local.INFO: Extracted packet for processing {"connection_id":176647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08463"} 
[2026-09-09 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":755785600,"raw_latitude":117665584,"longitude_deg":75.57856,"latitude_deg":11.7665584,"altitude":21,"angle":257,"satellites":27,"speed":11,"hex_longitude":"2d0c5f80","hex_latitude":"07036f30","is_valid_coordinates":true} 
[2026-09-09 09:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965442048001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30940124061630464,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891853493830127616,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:46] 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-09-09 09:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788927509000,"timestamp_ms":1788927509000,"timestamp_seconds":1788927509,"priority":1,"record_length":96,"hex_timestamp":"000001a084638208"} 
[2026-09-09 09:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 09:49:46] 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-09-09 09:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965442048001,"66":14450,"16":30940124061630464,"94":11008,"24":11,"45":891853493830127616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-09 09:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965442048001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30940124061630464,"km_value":30940124061630.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:49:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":891853493830127616,"description":"Unknown IO ID 45"} 
[2026-09-09 09:49:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457965442048001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":891853493830127616}} 
[2026-09-09 09:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":176647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:49:46] local.INFO: GPS data processed {"connection_id":176647,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:49:46] local.INFO: Acknowledgment sent {"connection_id":176647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:49:49] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:49:49] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:49:49] local.INFO: IMEI packet received {"connection_id":176649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":176649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:49:50] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:49:50] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:49:50] local.INFO: Packet analysis {"connection_id":176649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:49:50] local.INFO: Extracted packet for processing {"connection_id":176649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:49:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 09:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:49:50] 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-09-09 09:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:49:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:49:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":176649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:49:50] local.INFO: GPS data processed {"connection_id":176649,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:49:50] local.INFO: Acknowledgment sent {"connection_id":176649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:49:55] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:49:55] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:49:55] local.INFO: Packet analysis {"connection_id":176649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:49:55] local.INFO: Extracted packet for processing {"connection_id":176649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 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-09-09 09:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:49:55] 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-09-09 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-09-09 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-09-09 09:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:49:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:49:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":176649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:49:55] local.INFO: GPS data processed {"connection_id":176649,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:49:55] local.INFO: Acknowledgment sent {"connection_id":176649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:50:01] local.INFO: TCP Data received {"connection_id":176650,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:50:01] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:50:01] local.INFO: IMEI packet received {"connection_id":176650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":176650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:50:06] local.INFO: TCP Data received {"connection_id":176650,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:50:06] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:50:06] local.INFO: IMEI packet received {"connection_id":176650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":176650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:50:07] local.INFO: TCP Data received {"connection_id":176650,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:50:07] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:50:07] local.INFO: Packet analysis {"connection_id":176650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:50:07] local.INFO: Extracted packet for processing {"connection_id":176650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:07] 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-09-09 09:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 09:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-09 09:50: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-09-09 09:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:50:07] 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-09-09 09:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:50:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:50:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":176650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:50:07] local.INFO: GPS data processed {"connection_id":176650,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:50:07] local.INFO: Acknowledgment sent {"connection_id":176650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:50:17] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846500d8012d0c1d4007035168001400da1c..."} 
[2026-09-09 09:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846500d8012d0c1d4007035168001400da1c..."} 
[2026-09-09 09:50:17] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846500d8012d0c1d4007035168001400da1c..."} 
[2026-09-09 09:50:17] local.INFO: Packet analysis {"connection_id":176647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08465"} 
[2026-09-09 09:50:17] local.INFO: Extracted packet for processing {"connection_id":176647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08465"} 
[2026-09-09 09:50:17] local.INFO: GPS Element Parsed {"raw_longitude":755768640,"raw_latitude":117657960,"longitude_deg":75.576864,"latitude_deg":11.765796,"altitude":20,"angle":218,"satellites":28,"speed":10,"hex_longitude":"2d0c1d40","hex_latitude":"07035168","is_valid_coordinates":true} 
[2026-09-09 09:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965467136001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30941077544370176,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873205776621123584,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:17] 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-09-09 09:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927607000,"timestamp_ms":1788927607000,"timestamp_seconds":1788927607,"priority":1,"record_length":96,"hex_timestamp":"000001a0846500d8"} 
[2026-09-09 09:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 09:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965467136001,"66":14461,"37":206,"94":11008,"24":10,"16":30941077544370176,"45":873205776621123584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 09:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965467136001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:50:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 09:50:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30941077544370176,"km_value":30941077544370.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":873205776621123584,"description":"Unknown IO ID 45"} 
[2026-09-09 09:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965467136001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":873205776621123584}} 
[2026-09-09 09:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":176647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:50:18] local.INFO: GPS data processed {"connection_id":176647,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:50:18] local.INFO: Acknowledgment sent {"connection_id":176647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:50:39] local.INFO: TCP Data received {"connection_id":176650,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:50:39] local.INFO: Processing buffer {"connection_id":176650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:50:39] local.INFO: Packet analysis {"connection_id":176650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:50:39] local.INFO: Extracted packet for processing {"connection_id":176650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:39] 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-09-09 09:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 09:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-09 09:50: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-09-09 09: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-09-09 09:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:50:39] 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-09-09 09:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:50:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:50:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":176650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:50:39] local.INFO: GPS data processed {"connection_id":176650,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:50:39] local.INFO: Acknowledgment sent {"connection_id":176650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:50:39] local.INFO: TCP Data received {"connection_id":175538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:50:39] local.INFO: Processing buffer {"connection_id":175538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:50:39] local.INFO: IMEI packet received {"connection_id":175538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":175538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:50:40] local.INFO: TCP Data received {"connection_id":175305,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:50:40] local.INFO: Processing buffer {"connection_id":175305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:50:40] local.INFO: IMEI packet received {"connection_id":175305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":175305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:50:44] local.INFO: TCP Data received {"connection_id":175538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:50:44] local.INFO: Processing buffer {"connection_id":175538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:50:44] local.INFO: IMEI packet received {"connection_id":175538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":175538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:50:45] local.INFO: TCP Data received {"connection_id":175305,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:50:45] local.INFO: Processing buffer {"connection_id":175305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:50:45] local.INFO: IMEI packet received {"connection_id":175305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":175305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:50:45] local.INFO: TCP Data received {"connection_id":175538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:50:45] local.INFO: Processing buffer {"connection_id":175538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:50:45] local.INFO: Packet analysis {"connection_id":175538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:50:45] local.INFO: Extracted packet for processing {"connection_id":175538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 09:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:50:45] 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-09-09 09:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":175538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:50:45] local.INFO: GPS data processed {"connection_id":175538,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:50:45] local.INFO: Acknowledgment sent {"connection_id":175538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:50:45] local.INFO: TCP Data received {"connection_id":175305,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846504c0012d0c1d0007035070001400c61c..."} 
[2026-09-09 09:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846504c0012d0c1d0007035070001400c61c..."} 
[2026-09-09 09:50:45] local.INFO: Processing buffer {"connection_id":175305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846504c0012d0c1d0007035070001400c61c..."} 
[2026-09-09 09:50:45] local.INFO: Packet analysis {"connection_id":175305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08465"} 
[2026-09-09 09:50:45] local.INFO: Extracted packet for processing {"connection_id":175305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08465"} 
[2026-09-09 09:50:45] local.INFO: GPS Element Parsed {"raw_longitude":755768576,"raw_latitude":117657712,"longitude_deg":75.5768576,"latitude_deg":11.7657712,"altitude":20,"angle":198,"satellites":28,"speed":10,"hex_longitude":"2d0c1d00","hex_latitude":"07035070","is_valid_coordinates":true} 
[2026-09-09 09:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965467392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30941090429272064,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872924301644359680,"note":"Value kept but may cause issues"} 
[2026-09-09 09:50: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-09-09 09:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927608000,"timestamp_ms":1788927608000,"timestamp_seconds":1788927608,"priority":1,"record_length":96,"hex_timestamp":"000001a0846504c0"} 
[2026-09-09 09:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 09:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965467392001,"66":14515,"37":206,"94":11008,"24":10,"16":30941090429272064,"45":872924301644359680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 09:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965467392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:50:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 09:50:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30941090429272064,"km_value":30941090429272.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":872924301644359680,"description":"Unknown IO ID 45"} 
[2026-09-09 09:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965467392001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":872924301644359680}} 
[2026-09-09 09:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":175305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788168,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:50:46] local.INFO: GPS data processed {"connection_id":175305,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:50:46] local.INFO: Acknowledgment sent {"connection_id":175305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:51:01] local.INFO: TCP Data received {"connection_id":175539,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:51:01] local.INFO: Processing buffer {"connection_id":175539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:51:01] local.INFO: IMEI packet received {"connection_id":175539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":175539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:51:06] local.INFO: TCP Data received {"connection_id":175539,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:51:06] local.INFO: Processing buffer {"connection_id":175539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:51:06] local.INFO: IMEI packet received {"connection_id":175539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":175539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:51:07] local.INFO: TCP Data received {"connection_id":175539,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:51:07] local.INFO: Processing buffer {"connection_id":175539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:51:07] local.INFO: Packet analysis {"connection_id":175539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:51:07] local.INFO: Extracted packet for processing {"connection_id":175539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:07] 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-09-09 09:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 09:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-09 09:51: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-09-09 09: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-09-09 09:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:51:07] 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-09-09 09:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:51:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:51:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":175539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:51:08] local.INFO: GPS data processed {"connection_id":175539,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:51:08] local.INFO: Acknowledgment sent {"connection_id":175539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:51:16] local.INFO: TCP Data received {"connection_id":175538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:51:16] local.INFO: Processing buffer {"connection_id":175538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:51:16] local.INFO: Packet analysis {"connection_id":175538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:51:16] local.INFO: Extracted packet for processing {"connection_id":175538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 09:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":175538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:51:16] local.INFO: GPS data processed {"connection_id":175538,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:51:16] local.INFO: Acknowledgment sent {"connection_id":175538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:51:17] local.INFO: TCP Data received {"connection_id":175305,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08465df80012d0c0580070341200014013b1a..."} 
[2026-09-09 09:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08465df80012d0c0580070341200014013b1a..."} 
[2026-09-09 09:51:17] local.INFO: Processing buffer {"connection_id":175305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08465df80012d0c0580070341200014013b1a..."} 
[2026-09-09 09:51:17] local.INFO: Packet analysis {"connection_id":175305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08465"} 
[2026-09-09 09:51:17] local.INFO: Extracted packet for processing {"connection_id":175305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08465"} 
[2026-09-09 09:51:17] local.INFO: GPS Element Parsed {"raw_longitude":755762560,"raw_latitude":117653792,"longitude_deg":75.576256,"latitude_deg":11.7653792,"altitude":20,"angle":315,"satellites":26,"speed":4,"hex_longitude":"2d0c0580","hex_latitude":"07034120","is_valid_coordinates":true} 
[2026-09-09 09:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965481728001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30941524220968960,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866309639690565632,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:17] 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-09-09 09:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927664000,"timestamp_ms":1788927664000,"timestamp_seconds":1788927664,"priority":1,"record_length":96,"hex_timestamp":"000001a08465df80"} 
[2026-09-09 09:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 09:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965481728001,"66":14428,"37":206,"94":11008,"24":4,"16":30941524220968960,"45":866309639690565632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-09 09:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965481728001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:51:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 09:51:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30941524220968960,"km_value":30941524220968.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":866309639690565632,"description":"Unknown IO ID 45"} 
[2026-09-09 09:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965481728001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":866309639690565632}} 
[2026-09-09 09:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":175305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788171,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:51:17] local.INFO: GPS data processed {"connection_id":175305,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:51:17] local.INFO: Acknowledgment sent {"connection_id":175305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:51:39] local.INFO: TCP Data received {"connection_id":175539,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:51:39] local.INFO: Processing buffer {"connection_id":175539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08461f780012d7d2ec005ec0cf00011011c21..."} 
[2026-09-09 09:51:39] local.INFO: Packet analysis {"connection_id":175539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:51:39] local.INFO: Extracted packet for processing {"connection_id":175539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08461"} 
[2026-09-09 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":17,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965339392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:39] 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-09-09 09:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788927408000,"timestamp_ms":1788927408000,"timestamp_seconds":1788927408,"priority":1,"record_length":96,"hex_timestamp":"000001a08461f780"} 
[2026-09-09 09:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:51: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-09-09 09:51: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-09-09 09:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:51:39] 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-09-09 09:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965339392001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965339392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:51:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:51:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965339392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":175539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:51:39] local.INFO: GPS data processed {"connection_id":175539,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:51:39] local.INFO: Acknowledgment sent {"connection_id":175539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:51:39] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:51:39] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:51:39] local.INFO: IMEI packet received {"connection_id":175540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":175540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:51:40] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:40] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:40] local.INFO: IMEI packet received {"connection_id":175541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":175541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:51:40] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:40] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:40] local.INFO: IMEI packet received {"connection_id":175541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":175541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:51:41] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:41] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:41] local.INFO: IMEI packet received {"connection_id":175541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":175541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:51:43] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:43] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:51:43] local.INFO: IMEI packet received {"connection_id":175541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":175541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:51:44] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:51:44] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:51:44] local.INFO: IMEI packet received {"connection_id":175540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":175540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:51:45] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:51:45] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:51:45] local.INFO: Packet analysis {"connection_id":175540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:51:45] local.INFO: Extracted packet for processing {"connection_id":175540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 09:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:51:45] 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-09-09 09:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":175540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:51:45] local.INFO: GPS data processed {"connection_id":175540,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:51:45] local.INFO: Acknowledgment sent {"connection_id":175540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:52:01] local.INFO: TCP Data received {"connection_id":176652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:52:01] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:52:01] local.INFO: IMEI packet received {"connection_id":176652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":176652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:52:06] local.INFO: TCP Data received {"connection_id":176652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:52:06] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:52:06] local.INFO: IMEI packet received {"connection_id":176652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":176652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:52:10] local.INFO: TCP Data received {"connection_id":176652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:52:10] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:52:10] local.INFO: Packet analysis {"connection_id":176652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:52:10] local.INFO: Extracted packet for processing {"connection_id":176652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:52:10] 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-09-09 09:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:52:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:52:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":176652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:52:10] local.INFO: GPS data processed {"connection_id":176652,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:52:10] local.INFO: Acknowledgment sent {"connection_id":176652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:52:17] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:52:17] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:52:17] local.INFO: Packet analysis {"connection_id":175540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:52:17] local.INFO: Extracted packet for processing {"connection_id":175540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 09:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:52:17] 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-09-09 09: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-09-09 09:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":175540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:52:17] local.INFO: GPS data processed {"connection_id":175540,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:52:17] local.INFO: Acknowledgment sent {"connection_id":175540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:52:17] local.INFO: TCP Data received {"connection_id":175542,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:52:17] local.INFO: Processing buffer {"connection_id":175542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:52:17] local.INFO: IMEI packet received {"connection_id":175542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":175542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:52:39] local.INFO: TCP Data received {"connection_id":178114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:52:39] local.INFO: Processing buffer {"connection_id":178114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:52:39] local.INFO: IMEI packet received {"connection_id":178114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":178114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:52:41] local.INFO: TCP Data received {"connection_id":176652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:52:41] local.INFO: Processing buffer {"connection_id":176652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:52:41] local.INFO: Packet analysis {"connection_id":176652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:52:41] local.INFO: Extracted packet for processing {"connection_id":176652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:52: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-09-09 09:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:52:41] 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-09-09 09:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:52:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:52:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":176652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:52:41] local.INFO: GPS data processed {"connection_id":176652,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:52:41] local.INFO: Acknowledgment sent {"connection_id":176652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:52:42] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:52:42] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:52:42] local.INFO: IMEI packet received {"connection_id":175307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":175307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:52:44] local.INFO: TCP Data received {"connection_id":178114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:52:44] local.INFO: Processing buffer {"connection_id":178114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:52:44] local.INFO: IMEI packet received {"connection_id":178114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":178114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:52:45] local.INFO: TCP Data received {"connection_id":178114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:52:45] local.INFO: Processing buffer {"connection_id":178114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084624988012d34c14006aa42c80004000229..."} 
[2026-09-09 09:52:45] local.INFO: Packet analysis {"connection_id":178114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:52:45] local.INFO: Extracted packet for processing {"connection_id":178114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08462"} 
[2026-09-09 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965344768001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927429000,"timestamp_ms":1788927429000,"timestamp_seconds":1788927429,"priority":1,"record_length":96,"hex_timestamp":"000001a084624988"} 
[2026-09-09 09:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 09:52:45] 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-09-09 09:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965344768001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965344768001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965344768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":178114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:52:45] local.INFO: GPS data processed {"connection_id":178114,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:52:45] local.INFO: Acknowledgment sent {"connection_id":178114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:53:06] local.INFO: TCP Data received {"connection_id":175543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:53:06] local.INFO: Processing buffer {"connection_id":175543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:53:06] local.INFO: IMEI packet received {"connection_id":175543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":175543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:53:11] local.INFO: TCP Data received {"connection_id":175543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:53:11] local.INFO: Processing buffer {"connection_id":175543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:53:11] local.INFO: IMEI packet received {"connection_id":175543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":175543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:53:12] local.INFO: TCP Data received {"connection_id":175543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:53:12] local.INFO: Processing buffer {"connection_id":175543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:53:12] local.INFO: Packet analysis {"connection_id":175543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:53:12] local.INFO: Extracted packet for processing {"connection_id":175543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53: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-09-09 09:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:53:12] 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-09-09 09:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:53:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:53:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":175543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:53:12] local.INFO: GPS data processed {"connection_id":175543,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:53:12] local.INFO: Acknowledgment sent {"connection_id":175543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:53:16] local.INFO: TCP Data received {"connection_id":178114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:53:16] local.INFO: Processing buffer {"connection_id":178114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:53:16] local.INFO: Packet analysis {"connection_id":178114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:53:16] local.INFO: Extracted packet for processing {"connection_id":178114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 09:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":178114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:53:16] local.INFO: GPS data processed {"connection_id":178114,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:53:16] local.INFO: Acknowledgment sent {"connection_id":178114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:53:17] local.INFO: TCP Data received {"connection_id":175543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:53:17] local.INFO: Processing buffer {"connection_id":175543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:53:17] local.INFO: Packet analysis {"connection_id":175543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:53:17] local.INFO: Extracted packet for processing {"connection_id":175543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:53:17] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53: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-09-09 09:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:53: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-09-09 09:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:53:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:53:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":175543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:53:17] local.INFO: GPS data processed {"connection_id":175543,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:53:17] local.INFO: Acknowledgment sent {"connection_id":175543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:53:39] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:53:39] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:53:39] local.INFO: IMEI packet received {"connection_id":175545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":175545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:53:44] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:53:44] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:53:44] local.INFO: IMEI packet received {"connection_id":175545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:53:45] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:53:45] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:53:45] local.INFO: Packet analysis {"connection_id":175545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:53:45] local.INFO: Extracted packet for processing {"connection_id":175545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 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-09-09 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 09:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:53:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":175545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:53:45] local.INFO: GPS data processed {"connection_id":175545,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:53:45] local.INFO: Acknowledgment sent {"connection_id":175545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:54:01] local.INFO: TCP Data received {"connection_id":176653,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:54:01] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:54:01] local.INFO: IMEI packet received {"connection_id":176653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":176653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:54:06] local.INFO: TCP Data received {"connection_id":176653,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:54:06] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:54:06] local.INFO: IMEI packet received {"connection_id":176653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":176653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:54:07] local.INFO: TCP Data received {"connection_id":176653,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:54:07] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:54:07] local.INFO: Packet analysis {"connection_id":176653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:54:07] local.INFO: Extracted packet for processing {"connection_id":176653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:07] 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-09-09 09:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09: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-09-09 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:54:07] 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-09-09 09:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:54:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":176653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:54:08] local.INFO: GPS data processed {"connection_id":176653,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:54:08] local.INFO: Acknowledgment sent {"connection_id":176653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:54:16] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:54:16] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:54:16] local.INFO: Packet analysis {"connection_id":175545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:54:16] local.INFO: Extracted packet for processing {"connection_id":175545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 09:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":175545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:54:16] local.INFO: GPS data processed {"connection_id":175545,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:54:16] local.INFO: Acknowledgment sent {"connection_id":175545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:54:39] local.INFO: TCP Data received {"connection_id":178115,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:54:39] local.INFO: Processing buffer {"connection_id":178115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:54:39] local.INFO: IMEI packet received {"connection_id":178115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":178115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:54:39] local.INFO: TCP Data received {"connection_id":176653,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:54:39] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:54:39] local.INFO: Packet analysis {"connection_id":176653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:54:39] local.INFO: Extracted packet for processing {"connection_id":176653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:39] 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-09-09 09:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:54:39] 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-09-09 09:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:54:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:54:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":176653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:54:39] local.INFO: GPS data processed {"connection_id":176653,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:54:39] local.INFO: Acknowledgment sent {"connection_id":176653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:54:44] local.INFO: TCP Data received {"connection_id":178115,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:54:44] local.INFO: Processing buffer {"connection_id":178115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:54:44] local.INFO: IMEI packet received {"connection_id":178115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":178115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:54:45] local.INFO: TCP Data received {"connection_id":178115,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:54:45] local.INFO: Processing buffer {"connection_id":178115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:54:45] local.INFO: Packet analysis {"connection_id":178115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:54:45] local.INFO: Extracted packet for processing {"connection_id":178115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 09:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:54:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":178115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:54:45] local.INFO: GPS data processed {"connection_id":178115,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:54:45] local.INFO: Acknowledgment sent {"connection_id":178115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:55:01] local.INFO: TCP Data received {"connection_id":176655,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:55:01] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:55:01] local.INFO: IMEI packet received {"connection_id":176655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":176655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:55:06] local.INFO: TCP Data received {"connection_id":176655,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:55:06] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:55:06] local.INFO: IMEI packet received {"connection_id":176655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":176655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:55:09] local.INFO: TCP Data received {"connection_id":176655,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:55:09] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:55:09] local.INFO: Packet analysis {"connection_id":176655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:09] local.INFO: Extracted packet for processing {"connection_id":176655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:09] 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-09-09 09:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:55:09] 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-09-09 09:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:55:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:55:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":176655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:55:09] local.INFO: GPS data processed {"connection_id":176655,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:55:09] local.INFO: Acknowledgment sent {"connection_id":176655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:55:17] local.INFO: TCP Data received {"connection_id":178115,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:55:17] local.INFO: Processing buffer {"connection_id":178115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:55:17] local.INFO: Packet analysis {"connection_id":178115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:17] local.INFO: Extracted packet for processing {"connection_id":178115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 09:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":178115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:55:17] local.INFO: GPS data processed {"connection_id":178115,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:55:17] local.INFO: Acknowledgment sent {"connection_id":178115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:55:40] local.INFO: TCP Data received {"connection_id":176655,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:55:40] local.INFO: Processing buffer {"connection_id":176655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:55:40] local.INFO: Packet analysis {"connection_id":176655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:40] local.INFO: Extracted packet for processing {"connection_id":176655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:40] 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-09-09 09:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:55:40] 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-09-09 09:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:55:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:55:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":176655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:55:40] local.INFO: GPS data processed {"connection_id":176655,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:55:40] local.INFO: Acknowledgment sent {"connection_id":176655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:55:44] local.INFO: TCP Data received {"connection_id":175310,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:55:44] local.INFO: Processing buffer {"connection_id":175310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:55:44] local.INFO: IMEI packet received {"connection_id":175310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":175310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:55:49] local.INFO: TCP Data received {"connection_id":175310,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:55:49] local.INFO: Processing buffer {"connection_id":175310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:55:49] local.INFO: IMEI packet received {"connection_id":175310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":175310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:55:50] local.INFO: TCP Data received {"connection_id":175310,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:55:50] local.INFO: Processing buffer {"connection_id":175310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:55:50] local.INFO: Packet analysis {"connection_id":175310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:50] local.INFO: Extracted packet for processing {"connection_id":175310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 09:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:55:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:55:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":175310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:55:50] local.INFO: GPS data processed {"connection_id":175310,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:55:50] local.INFO: Acknowledgment sent {"connection_id":175310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:55:55] local.INFO: TCP Data received {"connection_id":175310,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:55:55] local.INFO: Processing buffer {"connection_id":175310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:55:55] local.INFO: Packet analysis {"connection_id":175310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:55] local.INFO: Extracted packet for processing {"connection_id":175310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 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-09-09 09:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:55:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:55:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":175310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:55:55] local.INFO: GPS data processed {"connection_id":175310,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:55:55] local.INFO: Acknowledgment sent {"connection_id":175310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:56:01] local.INFO: TCP Data received {"connection_id":178117,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:56:01] local.INFO: Processing buffer {"connection_id":178117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:56:01] local.INFO: IMEI packet received {"connection_id":178117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":178117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:56:06] local.INFO: TCP Data received {"connection_id":178117,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:56:06] local.INFO: Processing buffer {"connection_id":178117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:56:06] local.INFO: IMEI packet received {"connection_id":178117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":178117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:56:07] local.INFO: TCP Data received {"connection_id":178117,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:56:07] local.INFO: Processing buffer {"connection_id":178117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:56:07] local.INFO: Packet analysis {"connection_id":178117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:56:07] local.INFO: Extracted packet for processing {"connection_id":178117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:07] 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-09-09 09:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:56: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-09-09 09:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:56:07] 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-09-09 09:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:56:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:56:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":178117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:56:07] local.INFO: GPS data processed {"connection_id":178117,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:56:07] local.INFO: Acknowledgment sent {"connection_id":178117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:56:38] local.INFO: TCP Data received {"connection_id":178117,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:56:38] local.INFO: Processing buffer {"connection_id":178117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084668f48012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:56:38] local.INFO: Packet analysis {"connection_id":178117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:56:38] local.INFO: Extracted packet for processing {"connection_id":178117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965416448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:38] 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-09-09 09:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788927709000,"timestamp_ms":1788927709000,"timestamp_seconds":1788927709,"priority":1,"record_length":96,"hex_timestamp":"000001a084668f48"} 
[2026-09-09 09:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:56:38] 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-09-09 09:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965416448001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"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-09-09 09:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965416448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:56:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:56:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965416448001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":178117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:56:38] local.INFO: GPS data processed {"connection_id":178117,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:56:38] local.INFO: Acknowledgment sent {"connection_id":178117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:56:39] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:56:39] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:56:39] local.INFO: IMEI packet received {"connection_id":175311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":175311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:56:44] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:56:44] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:56:44] local.INFO: IMEI packet received {"connection_id":175311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":175311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:56:45] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:56:45] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:56:45] local.INFO: Packet analysis {"connection_id":175311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:56:45] local.INFO: Extracted packet for processing {"connection_id":175311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 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-09-09 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 09:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:56:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:56:45] local.INFO: TCP Data received {"connection_id":178118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178118,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:56:45] local.INFO: Processing buffer {"connection_id":178118,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:56:45] local.INFO: IMEI packet received {"connection_id":178118,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":178118,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":175311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:56:45] local.INFO: GPS data processed {"connection_id":175311,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:56:45] local.INFO: Acknowledgment sent {"connection_id":175311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:56:48] local.INFO: TCP Data received {"connection_id":178118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846a34e0012d0b284007035b68001301561e..."} 
[2026-09-09 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846a34e0012d0b284007035b68001301561e..."} 
[2026-09-09 09:56:48] local.INFO: Processing buffer {"connection_id":178118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846a34e0012d0b284007035b68001301561e..."} 
[2026-09-09 09:56:48] local.INFO: Packet analysis {"connection_id":178118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846a"} 
[2026-09-09 09:56:48] local.INFO: Extracted packet for processing {"connection_id":178118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846a"} 
[2026-09-09 09:56:48] local.INFO: GPS Element Parsed {"raw_longitude":755705920,"raw_latitude":117660520,"longitude_deg":75.570592,"latitude_deg":11.766052,"altitude":19,"angle":342,"satellites":30,"speed":6,"hex_longitude":"2d0b2840","hex_latitude":"07035b68","is_valid_coordinates":true} 
[2026-09-09 09:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965554176001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30944835640754176,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804174038583379968,"note":"Value kept but may cause issues"} 
[2026-09-09 09:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788927948000,"timestamp_ms":1788927948000,"timestamp_seconds":1788927948,"priority":1,"record_length":96,"hex_timestamp":"000001a0846a34e0"} 
[2026-09-09 09:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178118,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178118,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965554176001,"66":14407,"17":206,"94":11008,"24":6,"16":30944835640754176,"45":804174038583379968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965554176001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:56:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30944835640754176,"km_value":30944835640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":804174038583379968,"description":"Unknown IO ID 45"} 
[2026-09-09 09:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965554176001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":804174038583379968}} 
[2026-09-09 09:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":178118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:56:48] local.INFO: GPS data processed {"connection_id":178118,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:56:48] local.INFO: Acknowledgment sent {"connection_id":178118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:57:01] local.INFO: TCP Data received {"connection_id":178119,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:57:01] local.INFO: Processing buffer {"connection_id":178119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:57:01] local.INFO: IMEI packet received {"connection_id":178119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":178119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:57:06] local.INFO: TCP Data received {"connection_id":178119,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:57:06] local.INFO: Processing buffer {"connection_id":178119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:57:06] local.INFO: IMEI packet received {"connection_id":178119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":178119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:57:07] local.INFO: TCP Data received {"connection_id":178119,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:57:07] local.INFO: Processing buffer {"connection_id":178119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:57:07] local.INFO: Packet analysis {"connection_id":178119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:07] local.INFO: Extracted packet for processing {"connection_id":178119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:07] 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-09-09 09:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 09:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:57: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-09-09 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:57:07] 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-09-09 09:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:57:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:57:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":178119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:57:07] local.INFO: GPS data processed {"connection_id":178119,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:57:07] local.INFO: Acknowledgment sent {"connection_id":178119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:57:17] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:57:17] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:57:17] local.INFO: Packet analysis {"connection_id":175311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:57:17] local.INFO: Extracted packet for processing {"connection_id":175311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 09:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":175311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:57:17] local.INFO: GPS data processed {"connection_id":175311,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:57:17] local.INFO: Acknowledgment sent {"connection_id":175311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:57:20] local.INFO: TCP Data received {"connection_id":178118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b4a38012d0b234007035b00001400f01d..."} 
[2026-09-09 09:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b4a38012d0b234007035b00001400f01d..."} 
[2026-09-09 09:57:20] local.INFO: Processing buffer {"connection_id":178118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b4a38012d0b234007035b00001400f01d..."} 
[2026-09-09 09:57:20] local.INFO: Packet analysis {"connection_id":178118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:20] local.INFO: Extracted packet for processing {"connection_id":178118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:20] local.INFO: GPS Element Parsed {"raw_longitude":755704640,"raw_latitude":117660416,"longitude_deg":75.570464,"latitude_deg":11.7660416,"altitude":20,"angle":240,"satellites":29,"speed":3,"hex_longitude":"2d0b2340","hex_latitude":"07035b00","is_valid_coordinates":true} 
[2026-09-09 09:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965572352001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30945213597876224,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802766663699881984,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788928019000,"timestamp_ms":1788928019000,"timestamp_seconds":1788928019,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b4a38"} 
[2026-09-09 09:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141504,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5629620313393920,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504071810711552,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336274961,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3221685095,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":109,"raw_value":4032102400,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84736240859415392,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2900325871057371155,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:20] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,17,94,24,241,157,16,240,160,35,45,128,91,19,30,10,66,23,192,92,20,31,15,1,158,227,132,3,4,113,205,5,166,43,29,239,56,2,109,7,206,104,11],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-09 09:57:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369371488205078528,"timestamp_seconds":1369371488205078.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178118,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178118,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965572352001,"66":14352,"17":206,"94":11008,"24":3,"16":30945213597876224,"45":802766663699881984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965572352001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:57:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30945213597876224,"km_value":30945213597876.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":802766663699881984,"description":"Unknown IO ID 45"} 
[2026-09-09 09:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965572352001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":802766663699881984}} 
[2026-09-09 09:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":178118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:57:20] local.INFO: GPS data processed {"connection_id":178118,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:57:20] local.INFO: Acknowledgment sent {"connection_id":178118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:57:38] local.INFO: TCP Data received {"connection_id":178119,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:57:38] local.INFO: Processing buffer {"connection_id":178119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:57:38] local.INFO: Packet analysis {"connection_id":178119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:38] local.INFO: Extracted packet for processing {"connection_id":178119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:38] 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-09-09 09:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 09:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:57: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-09-09 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:57:38] 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-09-09 09:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:57:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:57:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":178119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:57:38] local.INFO: GPS data processed {"connection_id":178119,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:57:38] local.INFO: Acknowledgment sent {"connection_id":178119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:57:39] local.INFO: TCP Data received {"connection_id":178120,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:57:39] local.INFO: Processing buffer {"connection_id":178120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:57:39] local.INFO: IMEI packet received {"connection_id":178120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":178120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:57:40] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:57:40] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:57:40] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:57:44] local.INFO: TCP Data received {"connection_id":178120,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:57:44] local.INFO: Processing buffer {"connection_id":178120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:57:44] local.INFO: IMEI packet received {"connection_id":178120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":178120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:57:45] local.INFO: TCP Data received {"connection_id":178120,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:57:45] local.INFO: Processing buffer {"connection_id":178120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08466e150012d34c14006aa42c80007000229..."} 
[2026-09-09 09:57:45] local.INFO: Packet analysis {"connection_id":178120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:57:45] local.INFO: Extracted packet for processing {"connection_id":178120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08466"} 
[2026-09-09 09:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965421824001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788927730000,"timestamp_ms":1788927730000,"timestamp_seconds":1788927730,"priority":1,"record_length":96,"hex_timestamp":"000001a08466e150"} 
[2026-09-09 09:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 09:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965421824001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965421824001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:57:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965421824001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":178120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:57:45] local.INFO: GPS data processed {"connection_id":178120,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:57:45] local.INFO: Acknowledgment sent {"connection_id":178120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:57:47] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:57:47] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:57:47] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:57:49] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:57:49] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:57:49] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:57:50] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b55f0012d0b2200070359f0001500df1e..."} 
[2026-09-09 09:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b55f0012d0b2200070359f0001500df1e..."} 
[2026-09-09 09:57:50] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b55f0012d0b2200070359f0001500df1e..."} 
[2026-09-09 09:57:50] local.INFO: Packet analysis {"connection_id":176657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:50] local.INFO: Extracted packet for processing {"connection_id":176657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:50] local.INFO: GPS Element Parsed {"raw_longitude":755704320,"raw_latitude":117660144,"longitude_deg":75.570432,"latitude_deg":11.7660144,"altitude":21,"angle":223,"satellites":30,"speed":7,"hex_longitude":"2d0b2200","hex_latitude":"070359f0","is_valid_coordinates":true} 
[2026-09-09 09:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965572864001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30945230777745408,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802555557467324416,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788928022000,"timestamp_ms":1788928022000,"timestamp_seconds":1788928022,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b55f0"} 
[2026-09-09 09:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2221581864,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504071810908160,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636889607986705,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3221685087,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":109,"raw_value":4033871872,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84736252670575463,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":208,"raw_value":5629637476483072,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2990397863661404180,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:50] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,17,94,24,241,157,16,240,160,66,45,91,19,29,10,35,128,30,23,192,1,229,227,132,3,4,113,205,244,38,120,31,239,54,2,109,7,20,206,136,208,11],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-09 09:57:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441415888103473152,"timestamp_seconds":1441415888103473.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 09:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965572864001,"66":14374,"17":206,"94":11008,"24":7,"16":30945230777745408,"45":802555557467324416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965572864001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:57:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30945230777745408,"km_value":30945230777745.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":802555557467324416,"description":"Unknown IO ID 45"} 
[2026-09-09 09:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965572864001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":802555557467324416}} 
[2026-09-09 09:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":176657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788200,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:57:50] local.INFO: GPS data processed {"connection_id":176657,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:57:50] local.INFO: Acknowledgment sent {"connection_id":176657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:57:51] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b61a8012d0b2000070356b0001500d11e..."} 
[2026-09-09 09:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b61a8012d0b2000070356b0001500d11e..."} 
[2026-09-09 09:57:51] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b61a8012d0b2000070356b0001500d11e..."} 
[2026-09-09 09:57:51] local.INFO: Packet analysis {"connection_id":176657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:51] local.INFO: Extracted packet for processing {"connection_id":176657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755703808,"raw_latitude":117659312,"longitude_deg":75.5703808,"latitude_deg":11.7659312,"altitude":21,"angle":209,"satellites":30,"speed":15,"hex_longitude":"2d0b2000","hex_latitude":"070356b0","is_valid_coordinates":true} 
[2026-09-09 09:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965573632001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30945278022385664,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802203713746366464,"note":"Value kept but may cause issues"} 
[2026-09-09 09:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788928025000,"timestamp_ms":1788928025000,"timestamp_seconds":1788928025,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b61a8"} 
[2026-09-09 09:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 09:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965573632001,"66":14396,"17":206,"94":11008,"24":15,"16":30945278022385664,"45":802203713746366464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965573632001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30945278022385664,"km_value":30945278022385.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":802203713746366464,"description":"Unknown IO ID 45"} 
[2026-09-09 09:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965573632001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":802203713746366464}} 
[2026-09-09 09:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":176657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:57:51] local.INFO: GPS data processed {"connection_id":176657,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:57:51] local.INFO: Acknowledgment sent {"connection_id":176657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:58:01] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:58:01] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:58:01] local.INFO: IMEI packet received {"connection_id":175548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":175548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:58:06] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:58:06] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:58:06] local.INFO: IMEI packet received {"connection_id":175548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":175548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:58:07] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:58:07] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:58:07] local.INFO: Packet analysis {"connection_id":175548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:07] local.INFO: Extracted packet for processing {"connection_id":175548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:07] 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-09-09 09:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 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-09-09 09:58: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-09-09 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:58:07] 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-09-09 09:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:58:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:58:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":175548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:58:08] local.INFO: GPS data processed {"connection_id":175548,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:58:08] local.INFO: Acknowledgment sent {"connection_id":175548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:58:12] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:58:12] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:58:12] local.INFO: IMEI packet received {"connection_id":175312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":175312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:58:17] local.INFO: TCP Data received {"connection_id":178120,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:58:17] local.INFO: Processing buffer {"connection_id":178120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:58:17] local.INFO: Packet analysis {"connection_id":178120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:17] local.INFO: Extracted packet for processing {"connection_id":178120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 09:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":178120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:58:17] local.INFO: GPS data processed {"connection_id":178120,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:58:17] local.INFO: Acknowledgment sent {"connection_id":178120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:58:23] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846ba028012d0b124007033648001600ca1f..."} 
[2026-09-09 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846ba028012d0b124007033648001600ca1f..."} 
[2026-09-09 09:58:23] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846ba028012d0b124007033648001600ca1f..."} 
[2026-09-09 09:58:23] local.INFO: Packet analysis {"connection_id":176657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:23] local.INFO: Extracted packet for processing {"connection_id":176657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":755700288,"raw_latitude":117651016,"longitude_deg":75.5700288,"latitude_deg":11.7651016,"altitude":22,"angle":202,"satellites":31,"speed":29,"hex_longitude":"2d0b1240","hex_latitude":"07033648","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965574400001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30945716109049856,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801640763792732160,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58: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-09-09 09:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788928041000,"timestamp_ms":1788928041000,"timestamp_seconds":1788928041,"priority":1,"record_length":96,"hex_timestamp":"000001a0846ba028"} 
[2026-09-09 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-09-09 09:58: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-09-09 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 09:58: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-09-09 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-09-09 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-09-09 09:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965574400001,"66":14461,"17":206,"94":11008,"24":29,"16":30945716109049856,"45":801640763792732160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965574400001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:58:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30945716109049856,"km_value":30945716109049.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":801640763792732160,"description":"Unknown IO ID 45"} 
[2026-09-09 09:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965574400001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":801640763792732160}} 
[2026-09-09 09:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":176657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:58:23] local.INFO: GPS data processed {"connection_id":176657,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:58:23] local.INFO: Acknowledgment sent {"connection_id":176657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:58:38] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:58:38] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:58:38] local.INFO: Packet analysis {"connection_id":175548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:38] local.INFO: Extracted packet for processing {"connection_id":175548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09: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-09-09 09:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:38] 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-09-09 09:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 09:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:58: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-09-09 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09: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-09-09 09:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:58:38] 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-09-09 09:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:58:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:58:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":175548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:58:39] local.INFO: GPS data processed {"connection_id":175548,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:58:39] local.INFO: Acknowledgment sent {"connection_id":175548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:58:39] local.INFO: TCP Data received {"connection_id":176658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:58:39] local.INFO: Processing buffer {"connection_id":176658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:58:39] local.INFO: IMEI packet received {"connection_id":176658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":176658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:58:42] local.INFO: TCP Data received {"connection_id":176659,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:58:42] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 09:58:42] local.INFO: IMEI packet received {"connection_id":176659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 09:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":176659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:58:44] local.INFO: TCP Data received {"connection_id":176658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:58:44] local.INFO: Processing buffer {"connection_id":176658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:58:44] local.INFO: IMEI packet received {"connection_id":176658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":176658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:58:46] local.INFO: TCP Data received {"connection_id":176658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:58:46] local.INFO: Processing buffer {"connection_id":176658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:58:46] local.INFO: Packet analysis {"connection_id":176658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:46] local.INFO: Extracted packet for processing {"connection_id":176658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 09:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":176658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:58:46] local.INFO: GPS data processed {"connection_id":176658,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:58:46] local.INFO: Acknowledgment sent {"connection_id":176658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:58:51] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:58:51] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:58:51] local.INFO: IMEI packet received {"connection_id":175549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":175549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:58:53] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 09:58:53] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 09:58:53] local.INFO: IMEI packet received {"connection_id":175549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":175549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:58:55] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:58:55] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 09:58:55] local.INFO: IMEI packet received {"connection_id":175549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":175549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:58:55] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.109.136.2","data_length":1340,"data_hex":"000000000000030f8e0a000001a0846c8a88012d0af3000702c658000f00671e..."} 
[2026-09-09 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0846c8a88012d0af3000702c658000f00671e..."} 
[2026-09-09 09:58:55] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":1357,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a084..."} 
[2026-09-09 09:58:55] local.INFO: IMEI packet received {"connection_id":175549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":175549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:58:57] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.109.136.2","data_length":1045,"data_hex":"e30010006df22900000000000001a0846c4438012d0aecc00702de78001100ca..."} 
[2026-09-09 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":1045,"packet_hex":"e30010006df22900000000000001a0846c4438012d0aecc00702de78001100ca..."} 
[2026-09-09 09:58:57] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0846c8a88012d0af3000702c658000f00671e..."} 
[2026-09-09 09:58:57] local.INFO: Packet analysis {"connection_id":175549,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0846c"} 
[2026-09-09 09:58:57] local.INFO: Extracted packet for processing {"connection_id":175549,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0846c"} 
[2026-09-09 09:58:57] local.INFO: GPS Element Parsed {"raw_longitude":755692288,"raw_latitude":117622360,"longitude_deg":75.5692288,"latitude_deg":11.762236,"altitude":15,"angle":103,"satellites":30,"speed":10,"hex_longitude":"2d0af300","hex_latitude":"0702c658","is_valid_coordinates":true} 
[2026-09-09 09:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965593600001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30947258002309120,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788692914854596608,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788928101000,"timestamp_ms":1788928101000,"timestamp_seconds":1788928101,"priority":1,"record_length":96,"hex_timestamp":"000001a0846c8a88"} 
[2026-09-09 09:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965593600001,"66":14407,"17":206,"94":11008,"24":10,"16":30947258002309120,"45":788692914854596608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965593600001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:58:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30947258002309120,"km_value":30947258002309.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":788692914854596608,"description":"Unknown IO ID 45"} 
[2026-09-09 09:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965593600001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":788692914854596608}} 
[2026-09-09 09:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":175549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:58:58] local.INFO: GPS data processed {"connection_id":175549,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:58:58] local.INFO: Acknowledgment sent {"connection_id":175549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:58:58] local.INFO: Packet analysis {"connection_id":175549,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0846c"} 
[2026-09-09 09:58:58] local.INFO: Extracted packet for processing {"connection_id":175549,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846c"} 
[2026-09-09 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":755693056,"raw_latitude":117622288,"longitude_deg":75.5693056,"latitude_deg":11.7622288,"altitude":15,"angle":92,"satellites":31,"speed":15,"hex_longitude":"2d0af600","hex_latitude":"0702c610","is_valid_coordinates":true} 
[2026-09-09 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965593856001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30947292362047488,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788974389831292928,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788928103000,"timestamp_ms":1788928103000,"timestamp_seconds":1788928103,"priority":1,"record_length":96,"hex_timestamp":"000001a0846c9258"} 
[2026-09-09 09:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965593856001,"66":14407,"17":206,"94":11008,"24":15,"16":30947292362047488,"45":788974389831292928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965593856001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:58:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30947292362047488,"km_value":30947292362047.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":788974389831292928,"description":"Unknown IO ID 45"} 
[2026-09-09 09:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965593856001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":788974389831292928}} 
[2026-09-09 09:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":175549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788208,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:58:58] local.INFO: GPS data processed {"connection_id":175549,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:58:58] local.INFO: Acknowledgment sent {"connection_id":175549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:58:58] local.INFO: Packet analysis {"connection_id":175549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846c"} 
[2026-09-09 09:58:58] local.INFO: Extracted packet for processing {"connection_id":175549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846c"} 
[2026-09-09 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":755695040,"raw_latitude":117622032,"longitude_deg":75.569504,"latitude_deg":11.7622032,"altitude":15,"angle":109,"satellites":31,"speed":17,"hex_longitude":"2d0afdc0","hex_latitude":"0702c510","is_valid_coordinates":true} 
[2026-09-09 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965594368001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30947386851328000,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789818814761406464,"note":"Value kept but may cause issues"} 
[2026-09-09 09:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788928107000,"timestamp_ms":1788928107000,"timestamp_seconds":1788928107,"priority":1,"record_length":96,"hex_timestamp":"000001a0846ca1f8"} 
[2026-09-09 09:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 09:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965594368001,"66":14428,"17":206,"94":11008,"24":17,"16":30947386851328000,"45":789818814761406464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965594368001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:58:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30947386851328000,"km_value":30947386851328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":789818814761406464,"description":"Unknown IO ID 45"} 
[2026-09-09 09:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965594368001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":789818814761406464}} 
[2026-09-09 09:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":175549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788209,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:58:58] local.INFO: GPS data processed {"connection_id":175549,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:58:58] local.INFO: Acknowledgment sent {"connection_id":175549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:59:03] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846ca5e0012d0aff000702c440000f007f1f..."} 
[2026-09-09 09:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846ca5e0012d0aff000702c440000f007f1f..."} 
[2026-09-09 09:59:03] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846ca5e0012d0aff000702c440000f007f1f..."} 
[2026-09-09 09:59:03] local.INFO: Packet analysis {"connection_id":175549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846c"} 
[2026-09-09 09:59:03] local.INFO: Extracted packet for processing {"connection_id":175549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846c"} 
[2026-09-09 09:59:03] local.INFO: GPS Element Parsed {"raw_longitude":755695360,"raw_latitude":117621824,"longitude_deg":75.569536,"latitude_deg":11.7621824,"altitude":15,"angle":127,"satellites":31,"speed":13,"hex_longitude":"2d0aff00","hex_latitude":"0702c440","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965595392001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30947404031197184,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792000245830848512,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788928108000,"timestamp_ms":1788928108000,"timestamp_seconds":1788928108,"priority":1,"record_length":96,"hex_timestamp":"000001a0846ca5e0"} 
[2026-09-09 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-09-09 09:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 09:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 09:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965595392001,"66":14559,"17":206,"94":11008,"24":13,"16":30947404031197184,"45":792000245830848512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965595392001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:59:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30947404031197184,"km_value":30947404031197.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":792000245830848512,"description":"Unknown IO ID 45"} 
[2026-09-09 09:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965595392001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":792000245830848512}} 
[2026-09-09 09:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":175549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:59:03] local.INFO: GPS data processed {"connection_id":175549,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:59:03] local.INFO: Acknowledgment sent {"connection_id":175549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:59:06] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:59:06] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:59:06] local.INFO: IMEI packet received {"connection_id":175313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 09:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":175313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:59:11] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:59:11] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 09:59:11] local.INFO: IMEI packet received {"connection_id":175313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 09:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":175313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:59:13] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:59:13] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:59:13] local.INFO: Packet analysis {"connection_id":175313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:59:13] local.INFO: Extracted packet for processing {"connection_id":175313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 09:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 09:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 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-09-09 09:59:13] 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-09-09 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 09:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:59:13] 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-09-09 09:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:59:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:59:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":175313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:59:13] local.INFO: GPS data processed {"connection_id":175313,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:59:13] local.INFO: Acknowledgment sent {"connection_id":175313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:59:17] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:59:17] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 09:59:17] local.INFO: Packet analysis {"connection_id":175313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:59:17] local.INFO: Extracted packet for processing {"connection_id":175313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 09:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59: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-09-09 09:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 09:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:59:17] 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-09-09 09:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 09:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 09:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 09:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 09:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 09:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 09:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 09:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:59:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 09:59:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 09:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 09:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 09:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:59:17] local.INFO: GPS data processed {"connection_id":175313,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:59:17] local.INFO: Acknowledgment sent {"connection_id":175313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:59:17] local.INFO: TCP Data received {"connection_id":176658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:59:17] local.INFO: Processing buffer {"connection_id":176658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:59:17] local.INFO: Packet analysis {"connection_id":176658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:59:17] local.INFO: Extracted packet for processing {"connection_id":176658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 09:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":176658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:59:17] local.INFO: GPS data processed {"connection_id":176658,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:59:17] local.INFO: Acknowledgment sent {"connection_id":176658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:59:39] local.INFO: TCP Data received {"connection_id":178121,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:59:39] local.INFO: Processing buffer {"connection_id":178121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:59:39] local.INFO: IMEI packet received {"connection_id":178121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 09:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":178121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:59:40] local.INFO: TCP Data received {"connection_id":175314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:59:40] local.INFO: Processing buffer {"connection_id":175314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:59:40] local.INFO: IMEI packet received {"connection_id":175314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 09:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":175314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 09:59:44] local.INFO: TCP Data received {"connection_id":178121,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:59:44] local.INFO: Processing buffer {"connection_id":178121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 09:59:44] local.INFO: IMEI packet received {"connection_id":178121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 09:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":178121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:59:45] local.INFO: TCP Data received {"connection_id":175314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:59:45] local.INFO: Processing buffer {"connection_id":175314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 09:59:45] local.INFO: IMEI packet received {"connection_id":175314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 09:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":175314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 09:59:45] local.INFO: TCP Data received {"connection_id":178121,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:59:45] local.INFO: Processing buffer {"connection_id":178121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 09:59:45] local.INFO: Packet analysis {"connection_id":178121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:59:45] local.INFO: Extracted packet for processing {"connection_id":178121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 09:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 09:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 09:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 09:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 09:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 09:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 09:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 09:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 09:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 09:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 09:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 09:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 09:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 09:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 09:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":178121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:59:45] local.INFO: GPS data processed {"connection_id":178121,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:59:45] local.INFO: Acknowledgment sent {"connection_id":178121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:59:46] local.INFO: TCP Data received {"connection_id":175314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846d6930012d0b148007029e58001000be12..."} 
[2026-09-09 09:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846d6930012d0b148007029e58001000be12..."} 
[2026-09-09 09:59:46] local.INFO: Processing buffer {"connection_id":175314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846d6930012d0b148007029e58001000be12..."} 
[2026-09-09 09:59:46] local.INFO: Packet analysis {"connection_id":175314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846d"} 
[2026-09-09 09:59:46] local.INFO: Extracted packet for processing {"connection_id":175314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846d"} 
[2026-09-09 09:59:46] local.INFO: GPS Element Parsed {"raw_longitude":755700864,"raw_latitude":117612120,"longitude_deg":75.5700864,"latitude_deg":11.761212,"altitude":16,"angle":190,"satellites":18,"speed":2,"hex_longitude":"2d0b1480","hex_latitude":"07029e58","is_valid_coordinates":true} 
[2026-09-09 09:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965607680001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948001031651328,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060131328,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 09:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788928158000,"timestamp_ms":1788928158000,"timestamp_seconds":1788928158,"priority":1,"record_length":96,"hex_timestamp":"000001a0846d6930"} 
[2026-09-09 09:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 09:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965607680001,"66":13798,"17":206,"94":11008,"24":2,"16":30948001031651328,"45":798263064060131328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965607680001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:59:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30948001031651328,"km_value":30948001031651.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060131328,"description":"Unknown IO ID 45"} 
[2026-09-09 09:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965607680001,"power":13798,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":798263064060131328}} 
[2026-09-09 09:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":175314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788215,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:59:46] local.INFO: GPS data processed {"connection_id":175314,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:59:46] local.INFO: Acknowledgment sent {"connection_id":175314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 09:59:53] local.INFO: TCP Data received {"connection_id":175314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0846d6d18012d0b14c007029e500010009511..."} 
[2026-09-09 09:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846d6d18012d0b14c007029e500010009511..."} 
[2026-09-09 09:59:53] local.INFO: Processing buffer {"connection_id":175314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846d6d18012d0b14c007029e500010009511..."} 
[2026-09-09 09:59:53] local.INFO: Packet analysis {"connection_id":175314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846d"} 
[2026-09-09 09:59:53] local.INFO: Extracted packet for processing {"connection_id":175314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846d"} 
[2026-09-09 09:59:53] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117612112,"longitude_deg":75.5700928,"latitude_deg":11.7612112,"altitude":16,"angle":149,"satellites":17,"speed":2,"hex_longitude":"2d0b14c0","hex_latitude":"07029e50","is_valid_coordinates":true} 
[2026-09-09 09:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 09:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965608448001,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948005326618624,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798403801548478464,"note":"Value kept but may cause issues"} 
[2026-09-09 09:59: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-09-09 09:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788928159000,"timestamp_ms":1788928159000,"timestamp_seconds":1788928159,"priority":1,"record_length":96,"hex_timestamp":"000001a0846d6d18"} 
[2026-09-09 09:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 09:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 09:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 09:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 09:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 09:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 09:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 09:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 09:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 09:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 09:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 09:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 09:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965608448001,"66":14396,"17":206,"94":11008,"24":2,"16":30948005326618624,"45":798403801548478464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-09 09:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 09:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 09:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965608448001,"description":"Unknown IO ID 0"} 
[2026-09-09 09:59:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 09:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30948005326618624,"km_value":30948005326618.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 09:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":798403801548478464,"description":"Unknown IO ID 45"} 
[2026-09-09 09:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965608448001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":798403801548478464}} 
[2026-09-09 09:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":175314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 09:59:53] local.INFO: GPS data processed {"connection_id":175314,"processed":1,"errors":0,"total":1} 
[2026-09-09 09:59:53] local.INFO: Acknowledgment sent {"connection_id":175314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:00:01] local.INFO: TCP Data received {"connection_id":175550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:00:01] local.INFO: Processing buffer {"connection_id":175550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:00:01] local.INFO: IMEI packet received {"connection_id":175550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 10:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":175550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:00:06] local.INFO: TCP Data received {"connection_id":175550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:00:06] local.INFO: Processing buffer {"connection_id":175550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:00:06] local.INFO: IMEI packet received {"connection_id":175550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 10:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":175550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:00:07] local.INFO: TCP Data received {"connection_id":175550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:00:07] local.INFO: Processing buffer {"connection_id":175550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:00:07] local.INFO: Packet analysis {"connection_id":175550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:00:07] local.INFO: Extracted packet for processing {"connection_id":175550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 10:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:07] 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-09-09 10:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 10:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:00: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-09-09 10:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 10:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:00:07] 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-09-09 10:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 10:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 10:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 10:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 10:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 10:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:00:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 10:00:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 10:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 10:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 10:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":175550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:00:07] local.INFO: GPS data processed {"connection_id":175550,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:00:07] local.INFO: Acknowledgment sent {"connection_id":175550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:00:17] local.INFO: TCP Data received {"connection_id":178121,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:00:17] local.INFO: Processing buffer {"connection_id":178121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:00:17] local.INFO: Packet analysis {"connection_id":178121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:00:17] local.INFO: Extracted packet for processing {"connection_id":178121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 10:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":178121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:00:17] local.INFO: GPS data processed {"connection_id":178121,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:00:17] local.INFO: Acknowledgment sent {"connection_id":178121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:00:38] local.INFO: TCP Data received {"connection_id":175550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:00:38] local.INFO: Processing buffer {"connection_id":175550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:00:38] local.INFO: Packet analysis {"connection_id":175550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:00:38] local.INFO: Extracted packet for processing {"connection_id":175550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:38] 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-09-09 10:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 10:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:00: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-09-09 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 10:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:00:38] 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-09-09 10:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 10:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 10:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 10:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 10:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 10:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:00:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 10:00:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 10:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 10:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 10:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":175550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:00:38] local.INFO: GPS data processed {"connection_id":175550,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:00:38] local.INFO: Acknowledgment sent {"connection_id":175550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:00:39] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:00:39] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:00:39] local.INFO: IMEI packet received {"connection_id":175315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":175315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:00:44] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:00:44] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:00:44] local.INFO: IMEI packet received {"connection_id":175315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":175315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:00:45] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:00:45] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:00:45] local.INFO: Packet analysis {"connection_id":175315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:00:45] local.INFO: Extracted packet for processing {"connection_id":175315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 10:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:00:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":175315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:00:45] local.INFO: GPS data processed {"connection_id":175315,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:00:45] local.INFO: Acknowledgment sent {"connection_id":175315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:01:01] local.INFO: TCP Data received {"connection_id":175316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:01:01] local.INFO: Processing buffer {"connection_id":175316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:01:01] local.INFO: IMEI packet received {"connection_id":175316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 10:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":175316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:01:06] local.INFO: TCP Data received {"connection_id":175316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:01:06] local.INFO: Processing buffer {"connection_id":175316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:01:06] local.INFO: IMEI packet received {"connection_id":175316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 10:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":175316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:01:07] local.INFO: TCP Data received {"connection_id":175316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:01:07] local.INFO: Processing buffer {"connection_id":175316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:01:07] local.INFO: Packet analysis {"connection_id":175316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:07] local.INFO: Extracted packet for processing {"connection_id":175316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 10:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:07] 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-09-09 10:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 10:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:01: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-09-09 10:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 10:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:01:07] 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-09-09 10:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 10:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 10:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 10:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 10:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 10:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:01:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 10:01:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 10:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 10:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 10:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":175316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:01:07] local.INFO: GPS data processed {"connection_id":175316,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:01:07] local.INFO: Acknowledgment sent {"connection_id":175316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:01:17] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:01:17] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:01:17] local.INFO: Packet analysis {"connection_id":175315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:17] local.INFO: Extracted packet for processing {"connection_id":175315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 10:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:01:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":175315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:01:17] local.INFO: GPS data processed {"connection_id":175315,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:01:17] local.INFO: Acknowledgment sent {"connection_id":175315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:01:38] local.INFO: TCP Data received {"connection_id":175316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:01:38] local.INFO: Processing buffer {"connection_id":175316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b2710012d7d2ec005ec0cf0000e011c1a..."} 
[2026-09-09 10:01:38] local.INFO: Packet analysis {"connection_id":175316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:38] local.INFO: Extracted packet for processing {"connection_id":175316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":14,"angle":284,"satellites":26,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965493504001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:38] 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-09-09 10:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788928010000,"timestamp_ms":1788928010000,"timestamp_seconds":1788928010,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b2710"} 
[2026-09-09 10:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:01: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-09-09 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 10:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:01:38] 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-09-09 10:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 10:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 10:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965493504001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 10:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 10:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 10:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965493504001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:01:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 10:01:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 10:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 10:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965493504001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 10:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":175316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:01:38] local.INFO: GPS data processed {"connection_id":175316,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:01:38] local.INFO: Acknowledgment sent {"connection_id":175316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:01:44] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:01:44] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:01:44] local.INFO: IMEI packet received {"connection_id":175551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":175551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:01:49] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:01:49] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:01:49] local.INFO: IMEI packet received {"connection_id":175551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":175551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:01:50] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:01:50] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:01:50] local.INFO: Packet analysis {"connection_id":175551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:50] local.INFO: Extracted packet for processing {"connection_id":175551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 10:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:01:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":175551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:01:50] local.INFO: GPS data processed {"connection_id":175551,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:01:50] local.INFO: Acknowledgment sent {"connection_id":175551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:01:55] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:01:55] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:01:55] local.INFO: Packet analysis {"connection_id":175551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:55] local.INFO: Extracted packet for processing {"connection_id":175551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 10:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:01:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:01:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":175551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:01:55] local.INFO: GPS data processed {"connection_id":175551,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:01:55] local.INFO: Acknowledgment sent {"connection_id":175551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:02:01] local.INFO: TCP Data received {"connection_id":178124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:02:01] local.INFO: Processing buffer {"connection_id":178124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:02:01] local.INFO: IMEI packet received {"connection_id":178124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 10:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":178124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:02:06] local.INFO: TCP Data received {"connection_id":178124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:02:06] local.INFO: Processing buffer {"connection_id":178124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:02:06] local.INFO: IMEI packet received {"connection_id":178124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 10:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":178124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:02:07] local.INFO: TCP Data received {"connection_id":178124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846fbed8012d7d2ec005ec0cf00006011c19..."} 
[2026-09-09 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846fbed8012d7d2ec005ec0cf00006011c19..."} 
[2026-09-09 10:02:07] local.INFO: Processing buffer {"connection_id":178124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846fbed8012d7d2ec005ec0cf00006011c19..."} 
[2026-09-09 10:02:07] local.INFO: Packet analysis {"connection_id":178124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846f"} 
[2026-09-09 10:02:07] local.INFO: Extracted packet for processing {"connection_id":178124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846f"} 
[2026-09-09 10:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":6,"angle":284,"satellites":25,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965570560001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 10:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 10:02:07] 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-09-09 10:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788928311000,"timestamp_ms":1788928311000,"timestamp_seconds":1788928311,"priority":1,"record_length":96,"hex_timestamp":"000001a0846fbed8"} 
[2026-09-09 10:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:02: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-09-09 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 10:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:02:07] 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-09-09 10:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 10:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 10:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965570560001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 10:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 10:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 10:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965570560001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:02:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 10:02:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 10:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 10:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965570560001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 10:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":178124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:02:07] local.INFO: GPS data processed {"connection_id":178124,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:02:07] local.INFO: Acknowledgment sent {"connection_id":178124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:02:38] local.INFO: TCP Data received {"connection_id":178124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846fbed8012d7d2ec005ec0cf00006011c19..."} 
[2026-09-09 10:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846fbed8012d7d2ec005ec0cf00006011c19..."} 
[2026-09-09 10:02:38] local.INFO: Processing buffer {"connection_id":178124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846fbed8012d7d2ec005ec0cf00006011c19..."} 
[2026-09-09 10:02:38] local.INFO: Packet analysis {"connection_id":178124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846f"} 
[2026-09-09 10:02:38] local.INFO: Extracted packet for processing {"connection_id":178124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846f"} 
[2026-09-09 10:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":6,"angle":284,"satellites":25,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965570560001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 10:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 10:02:38] 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-09-09 10:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788928311000,"timestamp_ms":1788928311000,"timestamp_seconds":1788928311,"priority":1,"record_length":96,"hex_timestamp":"000001a0846fbed8"} 
[2026-09-09 10:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":205,"data_length":795,"current_offset":136} 
[2026-09-09 10:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:02:38] 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-09-09 10:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 10:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 10:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965570560001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 10:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 10:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 10:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965570560001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:02:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 10:02:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 10:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 10:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965570560001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 10:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":178124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:02:38] local.INFO: GPS data processed {"connection_id":178124,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:02:38] local.INFO: Acknowledgment sent {"connection_id":178124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:02:39] local.INFO: TCP Data received {"connection_id":175317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:02:39] local.INFO: Processing buffer {"connection_id":175317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:02:39] local.INFO: IMEI packet received {"connection_id":175317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":175317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:02:44] local.INFO: TCP Data received {"connection_id":175317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:02:44] local.INFO: Processing buffer {"connection_id":175317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:02:44] local.INFO: IMEI packet received {"connection_id":175317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":175317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:02:45] local.INFO: TCP Data received {"connection_id":175317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:02:45] local.INFO: Processing buffer {"connection_id":175317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846b7918012d34c14006aa42c8000900022b..."} 
[2026-09-09 10:02:45] local.INFO: Packet analysis {"connection_id":175317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:02:45] local.INFO: Extracted packet for processing {"connection_id":175317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846b"} 
[2026-09-09 10:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965498880001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928031000,"timestamp_ms":1788928031000,"timestamp_seconds":1788928031,"priority":1,"record_length":96,"hex_timestamp":"000001a0846b7918"} 
[2026-09-09 10:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965498880001,"66":25560,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965498880001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965498880001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":175317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:02:45] local.INFO: GPS data processed {"connection_id":175317,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:02:45] local.INFO: Acknowledgment sent {"connection_id":175317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:03:01] local.INFO: TCP Data received {"connection_id":176660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:03:01] local.INFO: Processing buffer {"connection_id":176660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:03:01] local.INFO: IMEI packet received {"connection_id":176660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 10:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":176660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:03:06] local.INFO: TCP Data received {"connection_id":176660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:03:06] local.INFO: Processing buffer {"connection_id":176660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 10:03:06] local.INFO: IMEI packet received {"connection_id":176660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 10:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":176660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:03:07] local.INFO: TCP Data received {"connection_id":176660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0846fbed8012d7d2ec005ec0cf00006011c19..."} 
[2026-09-09 10:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0846fbed8012d7d2ec005ec0cf00006011c19..."} 
[2026-09-09 10:03:07] local.INFO: Processing buffer {"connection_id":176660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0846fbed8012d7d2ec005ec0cf00006011c19..."} 
[2026-09-09 10:03:07] local.INFO: Packet analysis {"connection_id":176660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0846f"} 
[2026-09-09 10:03:07] local.INFO: Extracted packet for processing {"connection_id":176660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0846f"} 
[2026-09-09 10:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":99355888,"longitude_deg":76.3178688,"latitude_deg":9.9355888,"altitude":6,"angle":284,"satellites":25,"speed":0,"hex_longitude":"2d7d2ec0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965570560001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282799222489088,"note":"Value kept but may cause issues"} 
[2026-09-09 10:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358235337322496,"note":"Value kept but may cause issues"} 
[2026-09-09 10:03:07] 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-09-09 10:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788928311000,"timestamp_ms":1788928311000,"timestamp_seconds":1788928311,"priority":1,"record_length":96,"hex_timestamp":"000001a0846fbed8"} 
[2026-09-09 10:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:03: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-09-09 10: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":205,"data_length":795,"current_offset":136} 
[2026-09-09 10:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 10:03:07] 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-09-09 10:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 10:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 10:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965570560001,"66":2253,"109":206,"87":13824,"24":0,"16":130282799222489088,"45":9020358235337322496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 10:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 10:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 10:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965570560001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:03:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 10:03:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 10:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282799222489088,"km_value":130282799222489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358235337322496,"description":"Unknown IO ID 45"} 
[2026-09-09 10:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965570560001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020358235337322496}} 
[2026-09-09 10:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":176660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:03:07] local.INFO: GPS data processed {"connection_id":176660,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:03:07] local.INFO: Acknowledgment sent {"connection_id":176660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:03:18] local.INFO: TCP Data received {"connection_id":175317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:03:18] local.INFO: Processing buffer {"connection_id":175317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:03:18] local.INFO: Packet analysis {"connection_id":175317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:03:18] local.INFO: Extracted packet for processing {"connection_id":175317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 10:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:03: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-09-09 10: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":175317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:03:18] local.INFO: GPS data processed {"connection_id":175317,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:03:18] local.INFO: Acknowledgment sent {"connection_id":175317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:03:39] local.INFO: TCP Data received {"connection_id":178125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:03:39] local.INFO: Processing buffer {"connection_id":178125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:03:39] local.INFO: IMEI packet received {"connection_id":178125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":178125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:03:44] local.INFO: TCP Data received {"connection_id":178125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:03:44] local.INFO: Processing buffer {"connection_id":178125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:03:44] local.INFO: IMEI packet received {"connection_id":178125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":178125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:03:45] local.INFO: TCP Data received {"connection_id":178125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:03:45] local.INFO: Processing buffer {"connection_id":178125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:03:45] local.INFO: Packet analysis {"connection_id":178125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:03:45] local.INFO: Extracted packet for processing {"connection_id":178125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 10:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:03: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-09-09 10:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:03:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":178125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:03:45] local.INFO: GPS data processed {"connection_id":178125,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:03:45] local.INFO: Acknowledgment sent {"connection_id":178125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:03:47] local.INFO: TCP Data received {"connection_id":178126,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:03:47] local.INFO: Processing buffer {"connection_id":178126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:03:47] local.INFO: IMEI packet received {"connection_id":178126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":178126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:04:18] local.INFO: TCP Data received {"connection_id":178125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:04:18] local.INFO: Processing buffer {"connection_id":178125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:04:18] local.INFO: Packet analysis {"connection_id":178125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:04:18] local.INFO: Extracted packet for processing {"connection_id":178125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 10:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:04: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-09-09 10:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:04:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":178125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:04:18] local.INFO: GPS data processed {"connection_id":178125,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:04:18] local.INFO: Acknowledgment sent {"connection_id":178125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:04:44] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:04:44] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:04:44] local.INFO: IMEI packet received {"connection_id":175319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":175319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:04:49] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:04:49] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:04:49] local.INFO: IMEI packet received {"connection_id":175319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":175319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:04:50] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:04:50] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:04:50] local.INFO: Packet analysis {"connection_id":175319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:04:50] local.INFO: Extracted packet for processing {"connection_id":175319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 10:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 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-09-09 10:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 10:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:04:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":175319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:04:50] local.INFO: GPS data processed {"connection_id":175319,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:04:50] local.INFO: Acknowledgment sent {"connection_id":175319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:04:55] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:04:55] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:04:55] local.INFO: Packet analysis {"connection_id":175319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:04:55] local.INFO: Extracted packet for processing {"connection_id":175319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 10:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 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-09-09 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 10:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:04:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:04:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":175319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:04:55] local.INFO: GPS data processed {"connection_id":175319,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:04:55] local.INFO: Acknowledgment sent {"connection_id":175319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:05:39] local.INFO: TCP Data received {"connection_id":178127,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:05:39] local.INFO: Processing buffer {"connection_id":178127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:05:39] local.INFO: IMEI packet received {"connection_id":178127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":178127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:05:44] local.INFO: TCP Data received {"connection_id":178127,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:05:44] local.INFO: Processing buffer {"connection_id":178127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:05:44] local.INFO: IMEI packet received {"connection_id":178127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":178127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:05:45] local.INFO: TCP Data received {"connection_id":178127,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:05:45] local.INFO: Processing buffer {"connection_id":178127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:05:45] local.INFO: Packet analysis {"connection_id":178127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:05:45] local.INFO: Extracted packet for processing {"connection_id":178127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 10:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 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-09-09 10:05: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-09-09 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 10:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:05:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":178127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:05:45] local.INFO: GPS data processed {"connection_id":178127,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:05:45] local.INFO: Acknowledgment sent {"connection_id":178127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:05:50] local.INFO: TCP Data received {"connection_id":178127,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:05:50] local.INFO: Processing buffer {"connection_id":178127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:05:50] local.INFO: Packet analysis {"connection_id":178127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:05:50] local.INFO: Extracted packet for processing {"connection_id":178127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:05:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 10:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:05:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:05:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":178127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:05:50] local.INFO: GPS data processed {"connection_id":178127,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:05:50] local.INFO: Acknowledgment sent {"connection_id":178127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:06:22] local.INFO: TCP Data received {"connection_id":178127,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:06:22] local.INFO: Processing buffer {"connection_id":178127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:06:22] local.INFO: Packet analysis {"connection_id":178127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:06:22] local.INFO: Extracted packet for processing {"connection_id":178127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 10:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:06: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-09-09 10:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:06:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:06:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":178127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:06:22] local.INFO: GPS data processed {"connection_id":178127,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:06:22] local.INFO: Acknowledgment sent {"connection_id":178127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:06:39] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:06:39] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:06:39] local.INFO: IMEI packet received {"connection_id":175553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":175553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:06:45] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:06:45] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:06:45] local.INFO: IMEI packet received {"connection_id":175553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":175553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:06:46] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:06:46] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:06:46] local.INFO: Packet analysis {"connection_id":175553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:06:46] local.INFO: Extracted packet for processing {"connection_id":175553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 10:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":175553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:06:46] local.INFO: GPS data processed {"connection_id":175553,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:06:46] local.INFO: Acknowledgment sent {"connection_id":175553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:07:17] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:07:17] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:07:17] local.INFO: Packet analysis {"connection_id":175553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:07:17] local.INFO: Extracted packet for processing {"connection_id":175553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 10:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:07:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":175553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:07:18] local.INFO: GPS data processed {"connection_id":175553,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:07:18] local.INFO: Acknowledgment sent {"connection_id":175553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:07:39] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:07:39] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:07:39] local.INFO: IMEI packet received {"connection_id":175321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":175321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:07:44] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:07:44] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:07:44] local.INFO: IMEI packet received {"connection_id":175321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":175321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:07:45] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:07:45] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847010e0012d34c14006aa42c8000700022b..."} 
[2026-09-09 10:07:45] local.INFO: Packet analysis {"connection_id":175321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:07:45] local.INFO: Extracted packet for processing {"connection_id":175321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08470"} 
[2026-09-09 10:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928332000,"timestamp_ms":1788928332000,"timestamp_seconds":1788928332,"priority":1,"record_length":96,"hex_timestamp":"000001a0847010e0"} 
[2026-09-09 10:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:07: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-09-09 10:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 10:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965575936001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:07:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965575936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":175321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:07:45] local.INFO: GPS data processed {"connection_id":175321,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:07:45] local.INFO: Acknowledgment sent {"connection_id":175321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:08:17] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:08:17] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:08:17] local.INFO: Packet analysis {"connection_id":175321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:08:17] local.INFO: Extracted packet for processing {"connection_id":175321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":175321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:08:17] local.INFO: GPS data processed {"connection_id":175321,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:08:17] local.INFO: Acknowledgment sent {"connection_id":175321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:08:39] local.INFO: TCP Data received {"connection_id":175322,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:08:39] local.INFO: Processing buffer {"connection_id":175322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:08:39] local.INFO: IMEI packet received {"connection_id":175322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":175322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:08:44] local.INFO: TCP Data received {"connection_id":175322,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:08:44] local.INFO: Processing buffer {"connection_id":175322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:08:44] local.INFO: IMEI packet received {"connection_id":175322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:08:46] local.INFO: TCP Data received {"connection_id":175322,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:08:46] local.INFO: Processing buffer {"connection_id":175322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:08:46] local.INFO: Packet analysis {"connection_id":175322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:08:46] local.INFO: Extracted packet for processing {"connection_id":175322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":175322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:08:46] local.INFO: GPS data processed {"connection_id":175322,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:08:46] local.INFO: Acknowledgment sent {"connection_id":175322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:09:17] local.INFO: TCP Data received {"connection_id":175322,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:09:17] local.INFO: Processing buffer {"connection_id":175322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:09:17] local.INFO: Packet analysis {"connection_id":175322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:09:17] local.INFO: Extracted packet for processing {"connection_id":175322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":175322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:09:17] local.INFO: GPS data processed {"connection_id":175322,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:09:17] local.INFO: Acknowledgment sent {"connection_id":175322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:09:22] local.INFO: TCP Data received {"connection_id":176662,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:09:22] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:09:22] local.INFO: IMEI packet received {"connection_id":176662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":176662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:09:41] local.INFO: TCP Data received {"connection_id":176663,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:09:41] local.INFO: Processing buffer {"connection_id":176663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:09:41] local.INFO: IMEI packet received {"connection_id":176663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":176663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:09:44] local.INFO: TCP Data received {"connection_id":178129,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:09:44] local.INFO: Processing buffer {"connection_id":178129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:09:44] local.INFO: IMEI packet received {"connection_id":178129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":178129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:09:52] local.INFO: TCP Data received {"connection_id":178129,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:09:52] local.INFO: Processing buffer {"connection_id":178129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:09:52] local.INFO: IMEI packet received {"connection_id":178129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":178129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:09:53] local.INFO: TCP Data received {"connection_id":178129,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:09:53] local.INFO: Processing buffer {"connection_id":178129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:09:53] local.INFO: Packet analysis {"connection_id":178129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:09:53] local.INFO: Extracted packet for processing {"connection_id":178129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":178129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:09:53] local.INFO: GPS data processed {"connection_id":178129,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:09:53] local.INFO: Acknowledgment sent {"connection_id":178129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:09:55] local.INFO: TCP Data received {"connection_id":178129,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:09:55] local.INFO: Processing buffer {"connection_id":178129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:09:55] local.INFO: Packet analysis {"connection_id":178129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:09:55] local.INFO: Extracted packet for processing {"connection_id":178129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:09:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:09:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":178129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:09:55] local.INFO: GPS data processed {"connection_id":178129,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:09:55] local.INFO: Acknowledgment sent {"connection_id":178129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:10:39] local.INFO: TCP Data received {"connection_id":175324,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:10:39] local.INFO: Processing buffer {"connection_id":175324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:10:39] local.INFO: IMEI packet received {"connection_id":175324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":175324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:10:44] local.INFO: TCP Data received {"connection_id":175324,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:10:44] local.INFO: Processing buffer {"connection_id":175324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:10:44] local.INFO: IMEI packet received {"connection_id":175324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":175324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:10:45] local.INFO: TCP Data received {"connection_id":175324,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:10:45] local.INFO: Processing buffer {"connection_id":175324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:10:45] local.INFO: Packet analysis {"connection_id":175324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:10:45] local.INFO: Extracted packet for processing {"connection_id":175324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:10: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-09-09 10:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:10:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":175324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:10:45] local.INFO: GPS data processed {"connection_id":175324,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:10:45] local.INFO: Acknowledgment sent {"connection_id":175324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:11:17] local.INFO: TCP Data received {"connection_id":175324,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:11:17] local.INFO: Processing buffer {"connection_id":175324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:11:17] local.INFO: Packet analysis {"connection_id":175324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:11:17] local.INFO: Extracted packet for processing {"connection_id":175324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":175324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:11:17] local.INFO: GPS data processed {"connection_id":175324,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:11:17] local.INFO: Acknowledgment sent {"connection_id":175324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:11:39] local.INFO: TCP Data received {"connection_id":178130,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:11:39] local.INFO: Processing buffer {"connection_id":178130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:11:39] local.INFO: IMEI packet received {"connection_id":178130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":178130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:11:44] local.INFO: TCP Data received {"connection_id":178130,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:11:44] local.INFO: Processing buffer {"connection_id":178130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:11:44] local.INFO: IMEI packet received {"connection_id":178130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":178130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:11:45] local.INFO: TCP Data received {"connection_id":178130,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:11:45] local.INFO: Processing buffer {"connection_id":178130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:11:45] local.INFO: Packet analysis {"connection_id":178130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:11:45] local.INFO: Extracted packet for processing {"connection_id":178130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:11: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-09-09 10:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:11:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":178130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:11:45] local.INFO: GPS data processed {"connection_id":178130,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:11:45] local.INFO: Acknowledgment sent {"connection_id":178130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:12:17] local.INFO: TCP Data received {"connection_id":178130,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:12:17] local.INFO: Processing buffer {"connection_id":178130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:12:17] local.INFO: Packet analysis {"connection_id":178130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:12:17] local.INFO: Extracted packet for processing {"connection_id":178130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":178130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:12:17] local.INFO: GPS data processed {"connection_id":178130,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:12:17] local.INFO: Acknowledgment sent {"connection_id":178130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:12:40] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:12:40] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:12:40] local.INFO: IMEI packet received {"connection_id":175556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":175556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:12:44] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:12:44] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:12:44] local.INFO: IMEI packet received {"connection_id":175556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":175556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:12:45] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:12:45] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08474a8a8012d34c14006aa42c8000500022b..."} 
[2026-09-09 10:12:45] local.INFO: Packet analysis {"connection_id":175556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:12:45] local.INFO: Extracted packet for processing {"connection_id":175556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08474"} 
[2026-09-09 10:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965652992001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928633000,"timestamp_ms":1788928633000,"timestamp_seconds":1788928633,"priority":1,"record_length":96,"hex_timestamp":"000001a08474a8a8"} 
[2026-09-09 10:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:12: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-09-09 10:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965652992001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965652992001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965652992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":175556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:12:45] local.INFO: GPS data processed {"connection_id":175556,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:12:45] local.INFO: Acknowledgment sent {"connection_id":175556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:13:16] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:13:16] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:13:16] local.INFO: Packet analysis {"connection_id":175556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:13:16] local.INFO: Extracted packet for processing {"connection_id":175556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 10:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":175556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:13:16] local.INFO: GPS data processed {"connection_id":175556,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:13:16] local.INFO: Acknowledgment sent {"connection_id":175556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:13:44] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:13:44] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:13:44] local.INFO: IMEI packet received {"connection_id":175326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":175326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:13:49] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:13:49] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:13:49] local.INFO: IMEI packet received {"connection_id":175326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":175326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:13:51] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:13:51] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:13:51] local.INFO: Packet analysis {"connection_id":175326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:13:51] local.INFO: Extracted packet for processing {"connection_id":175326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 10:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":175326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:13:51] local.INFO: GPS data processed {"connection_id":175326,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:13:51] local.INFO: Acknowledgment sent {"connection_id":175326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:13:55] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:13:55] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:13:55] local.INFO: Packet analysis {"connection_id":175326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:13:55] local.INFO: Extracted packet for processing {"connection_id":175326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 10:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 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-09-09 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 10:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:13:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":175326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:13:55] local.INFO: GPS data processed {"connection_id":175326,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:13:55] local.INFO: Acknowledgment sent {"connection_id":175326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:14:39] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:14:39] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:14:39] local.INFO: IMEI packet received {"connection_id":175327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":175327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:14:44] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:14:44] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:14:44] local.INFO: IMEI packet received {"connection_id":175327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":175327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:14:45] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:14:45] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:14:45] local.INFO: Packet analysis {"connection_id":175327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:14:45] local.INFO: Extracted packet for processing {"connection_id":175327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 10:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 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-09-09 10:14: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-09-09 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 10:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:14:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":175327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:14:45] local.INFO: GPS data processed {"connection_id":175327,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:14:45] local.INFO: Acknowledgment sent {"connection_id":175327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:15:02] local.INFO: TCP Data received {"connection_id":176666,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:15:02] local.INFO: Processing buffer {"connection_id":176666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:15:02] local.INFO: IMEI packet received {"connection_id":176666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":176666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:15:16] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:15:16] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:15:16] local.INFO: Packet analysis {"connection_id":175327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:15:16] local.INFO: Extracted packet for processing {"connection_id":175327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 10:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":175327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:15:16] local.INFO: GPS data processed {"connection_id":175327,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:15:16] local.INFO: Acknowledgment sent {"connection_id":175327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:15:40] local.INFO: TCP Data received {"connection_id":175328,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:15:40] local.INFO: Processing buffer {"connection_id":175328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:15:40] local.INFO: IMEI packet received {"connection_id":175328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":175328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:15:44] local.INFO: TCP Data received {"connection_id":175328,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:15:44] local.INFO: Processing buffer {"connection_id":175328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:15:44] local.INFO: IMEI packet received {"connection_id":175328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":175328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:15:45] local.INFO: TCP Data received {"connection_id":175328,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:15:45] local.INFO: Processing buffer {"connection_id":175328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:15:45] local.INFO: Packet analysis {"connection_id":175328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:15:45] local.INFO: Extracted packet for processing {"connection_id":175328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 10:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:15: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-09-09 10:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":175328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:15:45] local.INFO: GPS data processed {"connection_id":175328,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:15:45] local.INFO: Acknowledgment sent {"connection_id":175328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:16:16] local.INFO: TCP Data received {"connection_id":175328,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:16:16] local.INFO: Processing buffer {"connection_id":175328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:16:16] local.INFO: Packet analysis {"connection_id":175328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:16:16] local.INFO: Extracted packet for processing {"connection_id":175328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 10:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":175328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:16:16] local.INFO: GPS data processed {"connection_id":175328,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:16:16] local.INFO: Acknowledgment sent {"connection_id":175328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:16:39] local.INFO: TCP Data received {"connection_id":178131,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:16:39] local.INFO: Processing buffer {"connection_id":178131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:16:39] local.INFO: IMEI packet received {"connection_id":178131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":178131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:16:44] local.INFO: TCP Data received {"connection_id":178131,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:16:44] local.INFO: Processing buffer {"connection_id":178131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:16:44] local.INFO: IMEI packet received {"connection_id":178131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":178131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:16:45] local.INFO: TCP Data received {"connection_id":178131,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:16:45] local.INFO: Processing buffer {"connection_id":178131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:16:45] local.INFO: Packet analysis {"connection_id":178131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:16:45] local.INFO: Extracted packet for processing {"connection_id":178131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 10:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:16: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-09-09 10:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":178131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:16:45] local.INFO: GPS data processed {"connection_id":178131,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:16:45] local.INFO: Acknowledgment sent {"connection_id":178131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:17:16] local.INFO: TCP Data received {"connection_id":178131,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:17:16] local.INFO: Processing buffer {"connection_id":178131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:17:16] local.INFO: Packet analysis {"connection_id":178131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:17:16] local.INFO: Extracted packet for processing {"connection_id":178131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 10:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":178131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:17:16] local.INFO: GPS data processed {"connection_id":178131,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:17:16] local.INFO: Acknowledgment sent {"connection_id":178131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:17:39] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:17:39] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:17:39] local.INFO: IMEI packet received {"connection_id":175329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":175329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:17:44] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:17:44] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:17:44] local.INFO: IMEI packet received {"connection_id":175329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":175329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:17:45] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:17:45] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084794070012d34c14006aa42c8000900022d..."} 
[2026-09-09 10:17:45] local.INFO: Packet analysis {"connection_id":175329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:17:45] local.INFO: Extracted packet for processing {"connection_id":175329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08479"} 
[2026-09-09 10:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965730048001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788928934000,"timestamp_ms":1788928934000,"timestamp_seconds":1788928934,"priority":1,"record_length":96,"hex_timestamp":"000001a084794070"} 
[2026-09-09 10:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:17: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-09-09 10:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965730048001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965730048001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:17:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965730048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":175329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:17:45] local.INFO: GPS data processed {"connection_id":175329,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:17:45] local.INFO: Acknowledgment sent {"connection_id":175329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:18:16] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:18:16] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:18:16] local.INFO: Packet analysis {"connection_id":175329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:18:16] local.INFO: Extracted packet for processing {"connection_id":175329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":175329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:18:16] local.INFO: GPS data processed {"connection_id":175329,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:18:16] local.INFO: Acknowledgment sent {"connection_id":175329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:18:44] local.INFO: TCP Data received {"connection_id":178132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:18:44] local.INFO: Processing buffer {"connection_id":178132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:18:44] local.INFO: IMEI packet received {"connection_id":178132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":178132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:18:49] local.INFO: TCP Data received {"connection_id":178132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:18:49] local.INFO: Processing buffer {"connection_id":178132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:18:49] local.INFO: IMEI packet received {"connection_id":178132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":178132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:18:50] local.INFO: TCP Data received {"connection_id":178132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:18:50] local.INFO: Processing buffer {"connection_id":178132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:18:50] local.INFO: Packet analysis {"connection_id":178132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:18:50] local.INFO: Extracted packet for processing {"connection_id":178132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:18:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:18:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:18:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":178132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:18:50] local.INFO: GPS data processed {"connection_id":178132,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:18:50] local.INFO: Acknowledgment sent {"connection_id":178132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:18:55] local.INFO: TCP Data received {"connection_id":178132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:18:55] local.INFO: Processing buffer {"connection_id":178132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:18:55] local.INFO: Packet analysis {"connection_id":178132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:18:55] local.INFO: Extracted packet for processing {"connection_id":178132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:18:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:18:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":178132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:18:55] local.INFO: GPS data processed {"connection_id":178132,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:18:55] local.INFO: Acknowledgment sent {"connection_id":178132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:19:39] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:19:39] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:19:39] local.INFO: IMEI packet received {"connection_id":176670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":176670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:19:44] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:19:44] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:19:44] local.INFO: IMEI packet received {"connection_id":176670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":176670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:19:46] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:19:46] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:19:46] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:19:46] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:19:46] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:19:46] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:19:50] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:19:50] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:19:50] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:19:50] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:19:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:19:50] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:19:50] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:20:21] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:20:21] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:20:21] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:20:21] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:20:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:20:21] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:20:21] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:20:39] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:20:39] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:20:39] local.INFO: IMEI packet received {"connection_id":175332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":175332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:20:42] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:20:42] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:20:42] local.INFO: IMEI packet received {"connection_id":175557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":175557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:20:44] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:20:44] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:20:44] local.INFO: IMEI packet received {"connection_id":175332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":175332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:20:45] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:20:45] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:20:45] local.INFO: Packet analysis {"connection_id":175332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:20:45] local.INFO: Extracted packet for processing {"connection_id":175332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 10:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 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-09-09 10:20: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-09-09 10:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 10:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":175332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:20:45] local.INFO: GPS data processed {"connection_id":175332,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:20:45] local.INFO: Acknowledgment sent {"connection_id":175332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:21:17] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:21:17] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:21:17] local.INFO: Packet analysis {"connection_id":175332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:21:17] local.INFO: Extracted packet for processing {"connection_id":175332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":175332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:21:17] local.INFO: GPS data processed {"connection_id":175332,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:21:17] local.INFO: Acknowledgment sent {"connection_id":175332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:21:39] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:21:39] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:21:39] local.INFO: IMEI packet received {"connection_id":175558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":175558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:21:44] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:21:44] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:21:44] local.INFO: IMEI packet received {"connection_id":175558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":175558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:21:45] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:21:45] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:21:45] local.INFO: Packet analysis {"connection_id":175558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:21:45] local.INFO: Extracted packet for processing {"connection_id":175558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:21:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":175558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:21:45] local.INFO: GPS data processed {"connection_id":175558,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:21:45] local.INFO: Acknowledgment sent {"connection_id":175558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:22:17] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:22:17] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:22:17] local.INFO: Packet analysis {"connection_id":175558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:22:17] local.INFO: Extracted packet for processing {"connection_id":175558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":175558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:22:17] local.INFO: GPS data processed {"connection_id":175558,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:22:17] local.INFO: Acknowledgment sent {"connection_id":175558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:22:39] local.INFO: TCP Data received {"connection_id":178133,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:22:39] local.INFO: Processing buffer {"connection_id":178133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:22:39] local.INFO: IMEI packet received {"connection_id":178133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":178133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:22:44] local.INFO: TCP Data received {"connection_id":178133,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:22:44] local.INFO: Processing buffer {"connection_id":178133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:22:44] local.INFO: IMEI packet received {"connection_id":178133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":178133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:22:45] local.INFO: TCP Data received {"connection_id":178133,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:22:45] local.INFO: Processing buffer {"connection_id":178133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0847dd838012d34c14006aa42c8000b00022d..."} 
[2026-09-09 10:22:45] local.INFO: Packet analysis {"connection_id":178133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:22:45] local.INFO: Extracted packet for processing {"connection_id":178133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0847d"} 
[2026-09-09 10:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788929235000,"timestamp_ms":1788929235000,"timestamp_seconds":1788929235,"priority":1,"record_length":96,"hex_timestamp":"000001a0847dd838"} 
[2026-09-09 10:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:22: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-09-09 10:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965807104001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965807104001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":178133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:22:45] local.INFO: GPS data processed {"connection_id":178133,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:22:45] local.INFO: Acknowledgment sent {"connection_id":178133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:23:16] local.INFO: TCP Data received {"connection_id":178133,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:23:16] local.INFO: Processing buffer {"connection_id":178133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:23:16] local.INFO: Packet analysis {"connection_id":178133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:23:16] local.INFO: Extracted packet for processing {"connection_id":178133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":178133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:23:16] local.INFO: GPS data processed {"connection_id":178133,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:23:16] local.INFO: Acknowledgment sent {"connection_id":178133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:23:44] local.INFO: TCP Data received {"connection_id":176672,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:23:44] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:23:44] local.INFO: IMEI packet received {"connection_id":176672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":176672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:23:49] local.INFO: TCP Data received {"connection_id":176672,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:23:49] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:23:49] local.INFO: IMEI packet received {"connection_id":176672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":176672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:23:50] local.INFO: TCP Data received {"connection_id":176672,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:23:50] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:23:50] local.INFO: Packet analysis {"connection_id":176672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:23:50] local.INFO: Extracted packet for processing {"connection_id":176672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:23:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":176672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:23:50] local.INFO: GPS data processed {"connection_id":176672,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:23:50] local.INFO: Acknowledgment sent {"connection_id":176672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:23:55] local.INFO: TCP Data received {"connection_id":176672,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:23:55] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:23:55] local.INFO: Packet analysis {"connection_id":176672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:23:55] local.INFO: Extracted packet for processing {"connection_id":176672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:23:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:23:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":176672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:23:55] local.INFO: GPS data processed {"connection_id":176672,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:23:55] local.INFO: Acknowledgment sent {"connection_id":176672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:24:39] local.INFO: TCP Data received {"connection_id":176673,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:24:39] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:24:39] local.INFO: IMEI packet received {"connection_id":176673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":176673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:24:44] local.INFO: TCP Data received {"connection_id":176673,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:24:44] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:24:44] local.INFO: IMEI packet received {"connection_id":176673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":176673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:24:47] local.INFO: TCP Data received {"connection_id":176673,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:24:47] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:24:47] local.INFO: Packet analysis {"connection_id":176673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:24:47] local.INFO: Extracted packet for processing {"connection_id":176673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:24:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":176673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:24:47] local.INFO: GPS data processed {"connection_id":176673,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:24:47] local.INFO: Acknowledgment sent {"connection_id":176673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:25:19] local.INFO: TCP Data received {"connection_id":176673,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:25:19] local.INFO: Processing buffer {"connection_id":176673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:25:19] local.INFO: Packet analysis {"connection_id":176673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:25:19] local.INFO: Extracted packet for processing {"connection_id":176673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:25: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-09-09 10:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:25:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:25:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":176673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:25:19] local.INFO: GPS data processed {"connection_id":176673,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:25:19] local.INFO: Acknowledgment sent {"connection_id":176673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:25:39] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:25:39] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:25:39] local.INFO: IMEI packet received {"connection_id":175561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":175561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:25:44] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:25:44] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:25:44] local.INFO: IMEI packet received {"connection_id":175561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":175561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:25:46] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:25:46] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:25:46] local.INFO: Packet analysis {"connection_id":175561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:25:46] local.INFO: Extracted packet for processing {"connection_id":175561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":175561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:25:46] local.INFO: GPS data processed {"connection_id":175561,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:25:46] local.INFO: Acknowledgment sent {"connection_id":175561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:26:12] local.INFO: TCP Data received {"connection_id":176674,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:26:12] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:26:12] local.INFO: IMEI packet received {"connection_id":176674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":176674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:26:17] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:26:17] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:26:17] local.INFO: Packet analysis {"connection_id":175561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:26:17] local.INFO: Extracted packet for processing {"connection_id":175561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":175561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:26:17] local.INFO: GPS data processed {"connection_id":175561,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:26:17] local.INFO: Acknowledgment sent {"connection_id":175561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:26:39] local.INFO: TCP Data received {"connection_id":178135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:26:39] local.INFO: Processing buffer {"connection_id":178135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:26:39] local.INFO: IMEI packet received {"connection_id":178135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":178135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:26:42] local.INFO: TCP Data received {"connection_id":175333,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:26:42] local.INFO: Processing buffer {"connection_id":175333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:26:42] local.INFO: IMEI packet received {"connection_id":175333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":175333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:26:44] local.INFO: TCP Data received {"connection_id":178135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:26:44] local.INFO: Processing buffer {"connection_id":178135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:26:44] local.INFO: IMEI packet received {"connection_id":178135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":178135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:26:47] local.INFO: TCP Data received {"connection_id":178135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:26:47] local.INFO: Processing buffer {"connection_id":178135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:26:47] local.INFO: Packet analysis {"connection_id":178135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:26:47] local.INFO: Extracted packet for processing {"connection_id":178135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":178135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:26:47] local.INFO: GPS data processed {"connection_id":178135,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:26:47] local.INFO: Acknowledgment sent {"connection_id":178135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:27:20] local.INFO: TCP Data received {"connection_id":178135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:27:20] local.INFO: Processing buffer {"connection_id":178135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:27:20] local.INFO: Packet analysis {"connection_id":178135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:27:20] local.INFO: Extracted packet for processing {"connection_id":178135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":178135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:27:20] local.INFO: GPS data processed {"connection_id":178135,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:27:20] local.INFO: Acknowledgment sent {"connection_id":178135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:27:39] local.INFO: TCP Data received {"connection_id":176675,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:27:39] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:27:39] local.INFO: IMEI packet received {"connection_id":176675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":176675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:27:44] local.INFO: TCP Data received {"connection_id":176675,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:27:44] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:27:44] local.INFO: IMEI packet received {"connection_id":176675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":176675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:27:47] local.INFO: TCP Data received {"connection_id":176675,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:27:47] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084827000012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:27:47] local.INFO: Packet analysis {"connection_id":176675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:27:47] local.INFO: Extracted packet for processing {"connection_id":176675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08482"} 
[2026-09-09 10:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965884160001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788929536000,"timestamp_ms":1788929536000,"timestamp_seconds":1788929536,"priority":1,"record_length":96,"hex_timestamp":"000001a084827000"} 
[2026-09-09 10:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965884160001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965884160001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965884160001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":176675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:27:47] local.INFO: GPS data processed {"connection_id":176675,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:27:47] local.INFO: Acknowledgment sent {"connection_id":176675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:28:19] local.INFO: TCP Data received {"connection_id":176675,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:28:19] local.INFO: Processing buffer {"connection_id":176675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:28:19] local.INFO: Packet analysis {"connection_id":176675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:28:19] local.INFO: Extracted packet for processing {"connection_id":176675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:28: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-09-09 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:28:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":176675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:28:19] local.INFO: GPS data processed {"connection_id":176675,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:28:19] local.INFO: Acknowledgment sent {"connection_id":176675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:28:44] local.INFO: TCP Data received {"connection_id":175334,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:28:44] local.INFO: Processing buffer {"connection_id":175334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:28:44] local.INFO: IMEI packet received {"connection_id":175334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":175334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:28:49] local.INFO: TCP Data received {"connection_id":175334,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:28:49] local.INFO: Processing buffer {"connection_id":175334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:28:49] local.INFO: IMEI packet received {"connection_id":175334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":175334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:28:51] local.INFO: TCP Data received {"connection_id":175334,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:28:51] local.INFO: Processing buffer {"connection_id":175334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:28:51] local.INFO: Packet analysis {"connection_id":175334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:28:51] local.INFO: Extracted packet for processing {"connection_id":175334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":175334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:28:51] local.INFO: GPS data processed {"connection_id":175334,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:28:51] local.INFO: Acknowledgment sent {"connection_id":175334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:28:55] local.INFO: TCP Data received {"connection_id":175334,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:28:55] local.INFO: Processing buffer {"connection_id":175334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:28:55] local.INFO: Packet analysis {"connection_id":175334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:28:55] local.INFO: Extracted packet for processing {"connection_id":175334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:28:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:28:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":175334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:28:55] local.INFO: GPS data processed {"connection_id":175334,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:28:55] local.INFO: Acknowledgment sent {"connection_id":175334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:29:39] local.INFO: TCP Data received {"connection_id":176677,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:29:39] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:29:39] local.INFO: IMEI packet received {"connection_id":176677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":176677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:29:44] local.INFO: TCP Data received {"connection_id":176677,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:29:44] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:29:44] local.INFO: IMEI packet received {"connection_id":176677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":176677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:29:45] local.INFO: TCP Data received {"connection_id":176677,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:29:45] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:29:45] local.INFO: Packet analysis {"connection_id":176677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:29:45] local.INFO: Extracted packet for processing {"connection_id":176677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:29: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-09-09 10:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:29:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":176677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:29:45] local.INFO: GPS data processed {"connection_id":176677,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:29:45] local.INFO: Acknowledgment sent {"connection_id":176677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:29:50] local.INFO: TCP Data received {"connection_id":176677,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:29:50] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:29:50] local.INFO: Packet analysis {"connection_id":176677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:29:50] local.INFO: Extracted packet for processing {"connection_id":176677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":176677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:29:50] local.INFO: GPS data processed {"connection_id":176677,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:29:50] local.INFO: Acknowledgment sent {"connection_id":176677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:30:21] local.INFO: TCP Data received {"connection_id":176677,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:30:21] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:30:21] local.INFO: Packet analysis {"connection_id":176677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:30:21] local.INFO: Extracted packet for processing {"connection_id":176677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":176677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:30:21] local.INFO: GPS data processed {"connection_id":176677,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:30:21] local.INFO: Acknowledgment sent {"connection_id":176677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:30:39] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:30:39] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:30:39] local.INFO: IMEI packet received {"connection_id":175335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":175335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:30:44] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:30:44] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:30:44] local.INFO: IMEI packet received {"connection_id":175335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":175335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:30:47] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:30:47] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:30:47] local.INFO: Packet analysis {"connection_id":175335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:30:47] local.INFO: Extracted packet for processing {"connection_id":175335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:30:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":175335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:30:47] local.INFO: GPS data processed {"connection_id":175335,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:30:47] local.INFO: Acknowledgment sent {"connection_id":175335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:31:19] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:31:19] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:31:19] local.INFO: Packet analysis {"connection_id":175335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:31:19] local.INFO: Extracted packet for processing {"connection_id":175335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:31: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-09-09 10:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":175335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:31:19] local.INFO: GPS data processed {"connection_id":175335,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:31:19] local.INFO: Acknowledgment sent {"connection_id":175335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:31:41] local.INFO: TCP Data received {"connection_id":178137,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:31:41] local.INFO: Processing buffer {"connection_id":178137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:31:41] local.INFO: IMEI packet received {"connection_id":178137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":178137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:31:44] local.INFO: TCP Data received {"connection_id":178137,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:31:44] local.INFO: Processing buffer {"connection_id":178137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:31:44] local.INFO: IMEI packet received {"connection_id":178137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":178137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:31:47] local.INFO: TCP Data received {"connection_id":178137,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:31:47] local.INFO: Processing buffer {"connection_id":178137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:31:47] local.INFO: Packet analysis {"connection_id":178137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:31:47] local.INFO: Extracted packet for processing {"connection_id":178137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":178137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:31:47] local.INFO: GPS data processed {"connection_id":178137,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:31:47] local.INFO: Acknowledgment sent {"connection_id":178137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:31:47] local.INFO: TCP Data received {"connection_id":178138,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:31:47] local.INFO: Processing buffer {"connection_id":178138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:31:47] local.INFO: IMEI packet received {"connection_id":178138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":178138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:31:50] local.INFO: TCP Data received {"connection_id":178137,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:31:50] local.INFO: Processing buffer {"connection_id":178137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:31:50] local.INFO: Packet analysis {"connection_id":178137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:31:50] local.INFO: Extracted packet for processing {"connection_id":178137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:31:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:31:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:31:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":178137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:31:50] local.INFO: GPS data processed {"connection_id":178137,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:31:50] local.INFO: Acknowledgment sent {"connection_id":178137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:32:22] local.INFO: TCP Data received {"connection_id":178137,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:32:22] local.INFO: Processing buffer {"connection_id":178137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:32:22] local.INFO: Packet analysis {"connection_id":178137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:32:22] local.INFO: Extracted packet for processing {"connection_id":178137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:32:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:32:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:32:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":178137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:32:22] local.INFO: GPS data processed {"connection_id":178137,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:32:22] local.INFO: Acknowledgment sent {"connection_id":178137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:32:39] local.INFO: TCP Data received {"connection_id":175563,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:32:39] local.INFO: Processing buffer {"connection_id":175563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:32:39] local.INFO: IMEI packet received {"connection_id":175563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":175563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:32:48] local.INFO: TCP Data received {"connection_id":175563,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:32:48] local.INFO: Processing buffer {"connection_id":175563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:32:48] local.INFO: IMEI packet received {"connection_id":175563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":175563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:32:51] local.INFO: TCP Data received {"connection_id":175563,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:32:51] local.INFO: Processing buffer {"connection_id":175563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848707c8012d34c14006aa42c8000500022d..."} 
[2026-09-09 10:32:51] local.INFO: Packet analysis {"connection_id":175563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:32:51] local.INFO: Extracted packet for processing {"connection_id":175563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08487"} 
[2026-09-09 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":5,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457965961216001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788929837000,"timestamp_ms":1788929837000,"timestamp_seconds":1788929837,"priority":1,"record_length":96,"hex_timestamp":"000001a0848707c8"} 
[2026-09-09 10:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457965961216001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457965961216001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:32:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457965961216001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":175563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:32:51] local.INFO: GPS data processed {"connection_id":175563,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:32:51] local.INFO: Acknowledgment sent {"connection_id":175563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:33:58] local.INFO: TCP Data received {"connection_id":175563,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:33:58] local.INFO: Processing buffer {"connection_id":175563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:33:58] local.INFO: Packet analysis {"connection_id":175563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:33:58] local.INFO: Extracted packet for processing {"connection_id":175563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:33:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 10:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 10:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788930138000,"timestamp_ms":1788930138000,"timestamp_seconds":1788930138,"priority":1,"record_length":96,"hex_timestamp":"000001a0848b9f90"} 
[2026-09-09 10:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966038272001,"66":25582,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 10:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966038272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":175563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:33:58] local.INFO: GPS data processed {"connection_id":175563,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:33:58] local.INFO: Acknowledgment sent {"connection_id":175563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:34:14] local.INFO: TCP Data received {"connection_id":176679,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:14] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:14] local.INFO: IMEI packet received {"connection_id":176679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":176679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:34:20] local.INFO: TCP Data received {"connection_id":176679,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:20] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:20] local.INFO: IMEI packet received {"connection_id":176679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":176679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:34:22] local.INFO: TCP Data received {"connection_id":176679,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:34:22] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:34:22] local.INFO: Packet analysis {"connection_id":176679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:34:22] local.INFO: Extracted packet for processing {"connection_id":176679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:34:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:34:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 10:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 10:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788930138000,"timestamp_ms":1788930138000,"timestamp_seconds":1788930138,"priority":1,"record_length":96,"hex_timestamp":"000001a0848b9f90"} 
[2026-09-09 10:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966038272001,"66":25582,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 10:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:34:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966038272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":176679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:34:22] local.INFO: GPS data processed {"connection_id":176679,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:34:22] local.INFO: Acknowledgment sent {"connection_id":176679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:34:44] local.INFO: TCP Data received {"connection_id":176680,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:44] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:44] local.INFO: IMEI packet received {"connection_id":176680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":176680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:34:49] local.INFO: TCP Data received {"connection_id":176680,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:49] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:34:49] local.INFO: IMEI packet received {"connection_id":176680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":176680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:34:52] local.INFO: TCP Data received {"connection_id":176680,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:34:52] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:34:52] local.INFO: Packet analysis {"connection_id":176680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:34:52] local.INFO: Extracted packet for processing {"connection_id":176680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 10:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 10:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788930138000,"timestamp_ms":1788930138000,"timestamp_seconds":1788930138,"priority":1,"record_length":96,"hex_timestamp":"000001a0848b9f90"} 
[2026-09-09 10:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966038272001,"66":25582,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 10:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966038272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":176680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:34:53] local.INFO: GPS data processed {"connection_id":176680,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:34:53] local.INFO: Acknowledgment sent {"connection_id":176680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:35:24] local.INFO: TCP Data received {"connection_id":176680,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:35:24] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:35:24] local.INFO: Packet analysis {"connection_id":176680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:35:24] local.INFO: Extracted packet for processing {"connection_id":176680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:35:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 10:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 10:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788930138000,"timestamp_ms":1788930138000,"timestamp_seconds":1788930138,"priority":1,"record_length":96,"hex_timestamp":"000001a0848b9f90"} 
[2026-09-09 10:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966038272001,"66":25582,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 10:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966038272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":176680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:35:24] local.INFO: GPS data processed {"connection_id":176680,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:35:24] local.INFO: Acknowledgment sent {"connection_id":176680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:35:45] local.INFO: TCP Data received {"connection_id":178139,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:35:45] local.INFO: Processing buffer {"connection_id":178139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:35:45] local.INFO: IMEI packet received {"connection_id":178139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":178139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:35:49] local.INFO: TCP Data received {"connection_id":178139,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:35:49] local.INFO: Processing buffer {"connection_id":178139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:35:49] local.INFO: IMEI packet received {"connection_id":178139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":178139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:35:50] local.INFO: TCP Data received {"connection_id":178139,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:35:50] local.INFO: Processing buffer {"connection_id":178139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:35:50] local.INFO: Packet analysis {"connection_id":178139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:35:50] local.INFO: Extracted packet for processing {"connection_id":178139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:35:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 10:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 10:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788930138000,"timestamp_ms":1788930138000,"timestamp_seconds":1788930138,"priority":1,"record_length":96,"hex_timestamp":"000001a0848b9f90"} 
[2026-09-09 10:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966038272001,"66":25582,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 10:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966038272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":178139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:35:50] local.INFO: GPS data processed {"connection_id":178139,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:35:50] local.INFO: Acknowledgment sent {"connection_id":178139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:35:54] local.INFO: TCP Data received {"connection_id":178139,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:35:54] local.INFO: Processing buffer {"connection_id":178139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:35:54] local.INFO: Packet analysis {"connection_id":178139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:35:54] local.INFO: Extracted packet for processing {"connection_id":178139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:35:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 10:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 10:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788930138000,"timestamp_ms":1788930138000,"timestamp_seconds":1788930138,"priority":1,"record_length":96,"hex_timestamp":"000001a0848b9f90"} 
[2026-09-09 10:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966038272001,"66":25582,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 10:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966038272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":178139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:35:54] local.INFO: GPS data processed {"connection_id":178139,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:35:54] local.INFO: Acknowledgment sent {"connection_id":178139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:36:39] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:36:39] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:36:39] local.INFO: IMEI packet received {"connection_id":176681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":176681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:36:44] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:36:44] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:36:44] local.INFO: IMEI packet received {"connection_id":176681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":176681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:36:47] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:36:47] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:36:47] local.INFO: Packet analysis {"connection_id":176681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:36:47] local.INFO: Extracted packet for processing {"connection_id":176681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 10:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 10:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788930138000,"timestamp_ms":1788930138000,"timestamp_seconds":1788930138,"priority":1,"record_length":96,"hex_timestamp":"000001a0848b9f90"} 
[2026-09-09 10:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:36: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-09-09 10:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966038272001,"66":25582,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 10:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966038272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":176681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:36:47] local.INFO: GPS data processed {"connection_id":176681,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:36:47] local.INFO: Acknowledgment sent {"connection_id":176681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:37:19] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:37:19] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:37:19] local.INFO: Packet analysis {"connection_id":176681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:37:19] local.INFO: Extracted packet for processing {"connection_id":176681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:37:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 10:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 10:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788930138000,"timestamp_ms":1788930138000,"timestamp_seconds":1788930138,"priority":1,"record_length":96,"hex_timestamp":"000001a0848b9f90"} 
[2026-09-09 10:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:37: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":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966038272001,"66":25582,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 10:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966038272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":176681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:37:19] local.INFO: GPS data processed {"connection_id":176681,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:37:19] local.INFO: Acknowledgment sent {"connection_id":176681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:37:22] local.INFO: TCP Data received {"connection_id":175339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:37:22] local.INFO: Processing buffer {"connection_id":175339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:37:22] local.INFO: IMEI packet received {"connection_id":175339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":175339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:37:39] local.INFO: TCP Data received {"connection_id":178140,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:37:39] local.INFO: Processing buffer {"connection_id":178140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:37:39] local.INFO: IMEI packet received {"connection_id":178140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":178140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:37:44] local.INFO: TCP Data received {"connection_id":178140,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:37:44] local.INFO: Processing buffer {"connection_id":178140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:37:44] local.INFO: IMEI packet received {"connection_id":178140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":178140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:37:46] local.INFO: TCP Data received {"connection_id":178140,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:37:46] local.INFO: Processing buffer {"connection_id":178140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0848b9f90012d34c14006aa42c8000800022c..."} 
[2026-09-09 10:37:46] local.INFO: Packet analysis {"connection_id":178140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:37:46] local.INFO: Extracted packet for processing {"connection_id":178140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0848b"} 
[2026-09-09 10:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:37:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-09 10:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-09 10:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788930138000,"timestamp_ms":1788930138000,"timestamp_seconds":1788930138,"priority":1,"record_length":96,"hex_timestamp":"000001a0848b9f90"} 
[2026-09-09 10:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966038272001,"66":25582,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-09 10:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966038272001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":178140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:37:46] local.INFO: GPS data processed {"connection_id":178140,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:37:46] local.INFO: Acknowledgment sent {"connection_id":178140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:37:47] local.INFO: TCP Data received {"connection_id":175340,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:37:47] local.INFO: Processing buffer {"connection_id":175340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:37:47] local.INFO: IMEI packet received {"connection_id":175340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":175340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:38:17] local.INFO: TCP Data received {"connection_id":178140,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:38:17] local.INFO: Processing buffer {"connection_id":178140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:38:17] local.INFO: Packet analysis {"connection_id":178140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:38:17] local.INFO: Extracted packet for processing {"connection_id":178140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":178140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:38:17] local.INFO: GPS data processed {"connection_id":178140,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:38:17] local.INFO: Acknowledgment sent {"connection_id":178140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:38:44] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:38:44] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:38:44] local.INFO: IMEI packet received {"connection_id":175341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":175341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:38:49] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:38:49] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:38:49] local.INFO: IMEI packet received {"connection_id":175341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":175341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:38:50] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:38:50] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:38:50] local.INFO: Packet analysis {"connection_id":175341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:38:50] local.INFO: Extracted packet for processing {"connection_id":175341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:38:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":175341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:38:50] local.INFO: GPS data processed {"connection_id":175341,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:38:50] local.INFO: Acknowledgment sent {"connection_id":175341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:38:55] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:38:55] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:38:55] local.INFO: Packet analysis {"connection_id":175341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:38:55] local.INFO: Extracted packet for processing {"connection_id":175341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:38:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 10:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 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-09-09 10:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 10:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:38:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:38:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":175341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:38:55] local.INFO: GPS data processed {"connection_id":175341,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:38:55] local.INFO: Acknowledgment sent {"connection_id":175341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:39:00] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:39:00] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:39:00] local.INFO: Packet analysis {"connection_id":175341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:39:00] local.INFO: Extracted packet for processing {"connection_id":175341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:39:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:39:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":175341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:39:00] local.INFO: GPS data processed {"connection_id":175341,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:39:00] local.INFO: Acknowledgment sent {"connection_id":175341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:39:39] local.INFO: TCP Data received {"connection_id":175565,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:39:39] local.INFO: Processing buffer {"connection_id":175565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:39:39] local.INFO: IMEI packet received {"connection_id":175565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":175565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:39:44] local.INFO: TCP Data received {"connection_id":175565,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:39:44] local.INFO: Processing buffer {"connection_id":175565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:39:44] local.INFO: IMEI packet received {"connection_id":175565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":175565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:39:47] local.INFO: TCP Data received {"connection_id":175565,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:39:47] local.INFO: Processing buffer {"connection_id":175565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:39:47] local.INFO: Packet analysis {"connection_id":175565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:39:47] local.INFO: Extracted packet for processing {"connection_id":175565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":175565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:39:47] local.INFO: GPS data processed {"connection_id":175565,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:39:47] local.INFO: Acknowledgment sent {"connection_id":175565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:40:20] local.INFO: TCP Data received {"connection_id":175565,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:40:20] local.INFO: Processing buffer {"connection_id":175565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:40:20] local.INFO: Packet analysis {"connection_id":175565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:40:20] local.INFO: Extracted packet for processing {"connection_id":175565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:40:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":175565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:40:20] local.INFO: GPS data processed {"connection_id":175565,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:40:20] local.INFO: Acknowledgment sent {"connection_id":175565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:40:39] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:40:39] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:40:39] local.INFO: IMEI packet received {"connection_id":176684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":176684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:40:44] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:40:44] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:40:44] local.INFO: IMEI packet received {"connection_id":176684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":176684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:40:45] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:40:45] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:40:45] local.INFO: Packet analysis {"connection_id":176684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:40:45] local.INFO: Extracted packet for processing {"connection_id":176684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:40: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-09-09 10:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:40:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":176684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:40:45] local.INFO: GPS data processed {"connection_id":176684,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:40:45] local.INFO: Acknowledgment sent {"connection_id":176684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:41:17] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:41:17] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:41:17] local.INFO: Packet analysis {"connection_id":176684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:41:17] local.INFO: Extracted packet for processing {"connection_id":176684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:41: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-09-09 10:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":176684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:41:17] local.INFO: GPS data processed {"connection_id":176684,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:41:17] local.INFO: Acknowledgment sent {"connection_id":176684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:41:39] local.INFO: TCP Data received {"connection_id":178141,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:41:39] local.INFO: Processing buffer {"connection_id":178141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:41:39] local.INFO: IMEI packet received {"connection_id":178141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":178141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:41:44] local.INFO: TCP Data received {"connection_id":178141,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:41:44] local.INFO: Processing buffer {"connection_id":178141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:41:44] local.INFO: IMEI packet received {"connection_id":178141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":178141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:41:46] local.INFO: TCP Data received {"connection_id":178141,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:41:46] local.INFO: Processing buffer {"connection_id":178141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:41:46] local.INFO: Packet analysis {"connection_id":178141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:41:46] local.INFO: Extracted packet for processing {"connection_id":178141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":178141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:41:46] local.INFO: GPS data processed {"connection_id":178141,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:41:46] local.INFO: Acknowledgment sent {"connection_id":178141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:42:18] local.INFO: TCP Data received {"connection_id":178141,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:42:18] local.INFO: Processing buffer {"connection_id":178141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:42:18] local.INFO: Packet analysis {"connection_id":178141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:42:18] local.INFO: Extracted packet for processing {"connection_id":178141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:42:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":178141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:42:18] local.INFO: GPS data processed {"connection_id":178141,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:42:18] local.INFO: Acknowledgment sent {"connection_id":178141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:42:39] local.INFO: TCP Data received {"connection_id":178143,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:42:39] local.INFO: Processing buffer {"connection_id":178143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:42:39] local.INFO: IMEI packet received {"connection_id":178143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":178143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:42:44] local.INFO: TCP Data received {"connection_id":178143,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:42:44] local.INFO: Processing buffer {"connection_id":178143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:42:44] local.INFO: IMEI packet received {"connection_id":178143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":178143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:42:45] local.INFO: TCP Data received {"connection_id":178143,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:42:45] local.INFO: Processing buffer {"connection_id":178143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084903758012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:42:45] local.INFO: Packet analysis {"connection_id":178143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:42:45] local.INFO: Extracted packet for processing {"connection_id":178143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08490"} 
[2026-09-09 10:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966115328001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788930439000,"timestamp_ms":1788930439000,"timestamp_seconds":1788930439,"priority":1,"record_length":96,"hex_timestamp":"000001a084903758"} 
[2026-09-09 10:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 10:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966115328001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966115328001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:42:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966115328001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":178143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:42:45] local.INFO: GPS data processed {"connection_id":178143,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:42:45] local.INFO: Acknowledgment sent {"connection_id":178143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:43:02] local.INFO: TCP Data received {"connection_id":175342,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:43:02] local.INFO: Processing buffer {"connection_id":175342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:43:02] local.INFO: IMEI packet received {"connection_id":175342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":175342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:43:17] local.INFO: TCP Data received {"connection_id":178143,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:43:17] local.INFO: Processing buffer {"connection_id":178143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:43:17] local.INFO: Packet analysis {"connection_id":178143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:43:17] local.INFO: Extracted packet for processing {"connection_id":178143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 10:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":178143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:43:17] local.INFO: GPS data processed {"connection_id":178143,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:43:17] local.INFO: Acknowledgment sent {"connection_id":178143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:43:39] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:43:39] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:43:39] local.INFO: IMEI packet received {"connection_id":175566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":175566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:43:44] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:43:44] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:43:44] local.INFO: IMEI packet received {"connection_id":175566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":175566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:43:45] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:43:45] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:43:45] local.INFO: Packet analysis {"connection_id":175566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:43:45] local.INFO: Extracted packet for processing {"connection_id":175566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 10:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:43: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-09-09 10:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:43:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":175566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:43:45] local.INFO: GPS data processed {"connection_id":175566,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:43:45] local.INFO: Acknowledgment sent {"connection_id":175566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:44:17] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:44:17] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:44:17] local.INFO: Packet analysis {"connection_id":175566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:44:17] local.INFO: Extracted packet for processing {"connection_id":175566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 10:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":175566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:44:17] local.INFO: GPS data processed {"connection_id":175566,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:44:17] local.INFO: Acknowledgment sent {"connection_id":175566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:44:39] local.INFO: TCP Data received {"connection_id":176687,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:44:39] local.INFO: Processing buffer {"connection_id":176687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:44:39] local.INFO: IMEI packet received {"connection_id":176687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":176687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:44:44] local.INFO: TCP Data received {"connection_id":176687,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:44:44] local.INFO: Processing buffer {"connection_id":176687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:44:44] local.INFO: IMEI packet received {"connection_id":176687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":176687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:44:45] local.INFO: TCP Data received {"connection_id":176687,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:44:45] local.INFO: Processing buffer {"connection_id":176687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:44:45] local.INFO: Packet analysis {"connection_id":176687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:44:45] local.INFO: Extracted packet for processing {"connection_id":176687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 10:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:44: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-09-09 10:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":176687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:44:45] local.INFO: GPS data processed {"connection_id":176687,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:44:45] local.INFO: Acknowledgment sent {"connection_id":176687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:45:17] local.INFO: TCP Data received {"connection_id":176687,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:45:17] local.INFO: Processing buffer {"connection_id":176687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:45:17] local.INFO: Packet analysis {"connection_id":176687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:45:17] local.INFO: Extracted packet for processing {"connection_id":176687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 10:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 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-09-09 10:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 10:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:45:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":176687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:45:17] local.INFO: GPS data processed {"connection_id":176687,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:45:17] local.INFO: Acknowledgment sent {"connection_id":176687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:45:40] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:45:40] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:45:40] local.INFO: IMEI packet received {"connection_id":175343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":175343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:45:44] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:45:44] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:45:44] local.INFO: IMEI packet received {"connection_id":175343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":175343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:45:46] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:45:46] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:45:46] local.INFO: Packet analysis {"connection_id":175343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:45:46] local.INFO: Extracted packet for processing {"connection_id":175343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 10:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":175343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:45:46] local.INFO: GPS data processed {"connection_id":175343,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:45:46] local.INFO: Acknowledgment sent {"connection_id":175343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:46:17] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:46:17] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:46:17] local.INFO: Packet analysis {"connection_id":175343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:46:17] local.INFO: Extracted packet for processing {"connection_id":175343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 10:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":175343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:46:17] local.INFO: GPS data processed {"connection_id":175343,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:46:17] local.INFO: Acknowledgment sent {"connection_id":175343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:46:39] local.INFO: TCP Data received {"connection_id":178144,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:46:39] local.INFO: Processing buffer {"connection_id":178144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:46:39] local.INFO: IMEI packet received {"connection_id":178144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":178144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:46:44] local.INFO: TCP Data received {"connection_id":178144,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:46:44] local.INFO: Processing buffer {"connection_id":178144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:46:44] local.INFO: IMEI packet received {"connection_id":178144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":178144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:46:48] local.INFO: TCP Data received {"connection_id":178144,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:46:48] local.INFO: Processing buffer {"connection_id":178144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:46:48] local.INFO: Packet analysis {"connection_id":178144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:46:48] local.INFO: Extracted packet for processing {"connection_id":178144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 10:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:46:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":178144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:46:48] local.INFO: GPS data processed {"connection_id":178144,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:46:48] local.INFO: Acknowledgment sent {"connection_id":178144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:47:19] local.INFO: TCP Data received {"connection_id":178144,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:47:19] local.INFO: Processing buffer {"connection_id":178144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:47:19] local.INFO: Packet analysis {"connection_id":178144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:47:19] local.INFO: Extracted packet for processing {"connection_id":178144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 10:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:47: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-09-09 10:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:47:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":178144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:47:20] local.INFO: GPS data processed {"connection_id":178144,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:47:20] local.INFO: Acknowledgment sent {"connection_id":178144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:47:39] local.INFO: TCP Data received {"connection_id":175568,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:47:39] local.INFO: Processing buffer {"connection_id":175568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:47:39] local.INFO: IMEI packet received {"connection_id":175568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":175568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:47:44] local.INFO: TCP Data received {"connection_id":175568,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:47:44] local.INFO: Processing buffer {"connection_id":175568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:47:44] local.INFO: IMEI packet received {"connection_id":175568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":175568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:47:49] local.INFO: TCP Data received {"connection_id":175568,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:47:49] local.INFO: Processing buffer {"connection_id":175568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08494cf20012d34c14006aa42c8000900022c..."} 
[2026-09-09 10:47:49] local.INFO: Packet analysis {"connection_id":175568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:47:49] local.INFO: Extracted packet for processing {"connection_id":175568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08494"} 
[2026-09-09 10:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966192384001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788930740000,"timestamp_ms":1788930740000,"timestamp_seconds":1788930740,"priority":1,"record_length":96,"hex_timestamp":"000001a08494cf20"} 
[2026-09-09 10:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:47: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-09-09 10:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966192384001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966192384001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966192384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":175568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:47:49] local.INFO: GPS data processed {"connection_id":175568,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:47:49] local.INFO: Acknowledgment sent {"connection_id":175568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:48:21] local.INFO: TCP Data received {"connection_id":175568,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:48:21] local.INFO: Processing buffer {"connection_id":175568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:48:21] local.INFO: Packet analysis {"connection_id":175568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:48:21] local.INFO: Extracted packet for processing {"connection_id":175568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:48:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":175568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:48:21] local.INFO: GPS data processed {"connection_id":175568,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:48:21] local.INFO: Acknowledgment sent {"connection_id":175568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:48:39] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:48:39] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:48:39] local.INFO: IMEI packet received {"connection_id":176689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":176689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:48:44] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:48:44] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:48:44] local.INFO: IMEI packet received {"connection_id":176689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":176689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:48:46] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:48:46] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:48:46] local.INFO: Packet analysis {"connection_id":176689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:48:46] local.INFO: Extracted packet for processing {"connection_id":176689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":176689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:48:46] local.INFO: GPS data processed {"connection_id":176689,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:48:46] local.INFO: Acknowledgment sent {"connection_id":176689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:48:47] local.INFO: TCP Data received {"connection_id":175344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:48:47] local.INFO: Processing buffer {"connection_id":175344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:48:47] local.INFO: IMEI packet received {"connection_id":175344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":175344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:49:18] local.INFO: TCP Data received {"connection_id":176689,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:49:18] local.INFO: Processing buffer {"connection_id":176689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:49:18] local.INFO: Packet analysis {"connection_id":176689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:49:18] local.INFO: Extracted packet for processing {"connection_id":176689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:49: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-09-09 10:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":176689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:49:18] local.INFO: GPS data processed {"connection_id":176689,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:49:18] local.INFO: Acknowledgment sent {"connection_id":176689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:49:39] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:49:39] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:49:39] local.INFO: IMEI packet received {"connection_id":175345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":175345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:49:44] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:49:44] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:49:44] local.INFO: IMEI packet received {"connection_id":175345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":175345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:49:45] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:49:45] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:49:45] local.INFO: Packet analysis {"connection_id":175345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:49:45] local.INFO: Extracted packet for processing {"connection_id":175345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:49: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-09-09 10:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:49:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":175345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:49:45] local.INFO: GPS data processed {"connection_id":175345,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:49:45] local.INFO: Acknowledgment sent {"connection_id":175345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:50:17] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:50:17] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:50:17] local.INFO: Packet analysis {"connection_id":175345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:50:17] local.INFO: Extracted packet for processing {"connection_id":175345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":175345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:50:17] local.INFO: GPS data processed {"connection_id":175345,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:50:17] local.INFO: Acknowledgment sent {"connection_id":175345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:50:39] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:50:39] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:50:39] local.INFO: IMEI packet received {"connection_id":175347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":175347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:50:44] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:50:44] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:50:44] local.INFO: IMEI packet received {"connection_id":175347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":175347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:50:46] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:50:46] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:50:46] local.INFO: Packet analysis {"connection_id":175347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:50:46] local.INFO: Extracted packet for processing {"connection_id":175347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":175347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:50:46] local.INFO: GPS data processed {"connection_id":175347,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:50:46] local.INFO: Acknowledgment sent {"connection_id":175347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:51:17] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:51:17] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:51:17] local.INFO: Packet analysis {"connection_id":175347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:51:17] local.INFO: Extracted packet for processing {"connection_id":175347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":175347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:51:17] local.INFO: GPS data processed {"connection_id":175347,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:51:17] local.INFO: Acknowledgment sent {"connection_id":175347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:51:39] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:51:39] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:51:39] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:51:44] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:51:44] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:51:44] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:51:45] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:51:45] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:51:45] local.INFO: Packet analysis {"connection_id":176691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:51:45] local.INFO: Extracted packet for processing {"connection_id":176691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:51: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-09-09 10:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":176691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:51:45] local.INFO: GPS data processed {"connection_id":176691,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:51:45] local.INFO: Acknowledgment sent {"connection_id":176691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:52:17] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:52:17] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:52:17] local.INFO: Packet analysis {"connection_id":176691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:52:17] local.INFO: Extracted packet for processing {"connection_id":176691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":176691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:52:17] local.INFO: GPS data processed {"connection_id":176691,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:52:17] local.INFO: Acknowledgment sent {"connection_id":176691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:52:39] local.INFO: TCP Data received {"connection_id":176692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:52:39] local.INFO: Processing buffer {"connection_id":176692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:52:39] local.INFO: IMEI packet received {"connection_id":176692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":176692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:52:44] local.INFO: TCP Data received {"connection_id":176692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:52:44] local.INFO: Processing buffer {"connection_id":176692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:52:44] local.INFO: IMEI packet received {"connection_id":176692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":176692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:52:45] local.INFO: TCP Data received {"connection_id":176692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:52:45] local.INFO: Processing buffer {"connection_id":176692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849966e8012d34c14006aa42c8000700022c..."} 
[2026-09-09 10:52:45] local.INFO: Packet analysis {"connection_id":176692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:52:45] local.INFO: Extracted packet for processing {"connection_id":176692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08499"} 
[2026-09-09 10:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966269440001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931041000,"timestamp_ms":1788931041000,"timestamp_seconds":1788931041,"priority":1,"record_length":96,"hex_timestamp":"000001a0849966e8"} 
[2026-09-09 10:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:52: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-09-09 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966269440001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966269440001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966269440001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":176692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:52:45] local.INFO: GPS data processed {"connection_id":176692,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:52:45] local.INFO: Acknowledgment sent {"connection_id":176692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:53:16] local.INFO: TCP Data received {"connection_id":176692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:53:16] local.INFO: Processing buffer {"connection_id":176692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:53:16] local.INFO: Packet analysis {"connection_id":176692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:53:16] local.INFO: Extracted packet for processing {"connection_id":176692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":176692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:53:16] local.INFO: GPS data processed {"connection_id":176692,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:53:16] local.INFO: Acknowledgment sent {"connection_id":176692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:53:39] local.INFO: TCP Data received {"connection_id":178146,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:53:39] local.INFO: Processing buffer {"connection_id":178146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:53:39] local.INFO: IMEI packet received {"connection_id":178146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":178146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:53:44] local.INFO: TCP Data received {"connection_id":178146,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:53:44] local.INFO: Processing buffer {"connection_id":178146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:53:44] local.INFO: IMEI packet received {"connection_id":178146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":178146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:53:47] local.INFO: TCP Data received {"connection_id":178146,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:53:47] local.INFO: Processing buffer {"connection_id":178146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:53:47] local.INFO: Packet analysis {"connection_id":178146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:53:47] local.INFO: Extracted packet for processing {"connection_id":178146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:53: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-09-09 10:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":178146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:53:47] local.INFO: GPS data processed {"connection_id":178146,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:53:47] local.INFO: Acknowledgment sent {"connection_id":178146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:54:17] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:54:17] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:54:17] local.INFO: IMEI packet received {"connection_id":175572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":175572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:54:18] local.INFO: TCP Data received {"connection_id":178146,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:54:18] local.INFO: Processing buffer {"connection_id":178146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:54:18] local.INFO: Packet analysis {"connection_id":178146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:54:18] local.INFO: Extracted packet for processing {"connection_id":178146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:54: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-09-09 10:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":178146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:54:18] local.INFO: GPS data processed {"connection_id":178146,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:54:18] local.INFO: Acknowledgment sent {"connection_id":178146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:54:39] local.INFO: TCP Data received {"connection_id":176693,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:54:39] local.INFO: Processing buffer {"connection_id":176693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:54:39] local.INFO: IMEI packet received {"connection_id":176693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":176693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:54:41] local.INFO: TCP Data received {"connection_id":176694,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:54:41] local.INFO: Processing buffer {"connection_id":176694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:54:41] local.INFO: IMEI packet received {"connection_id":176694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":176694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:54:44] local.INFO: TCP Data received {"connection_id":176693,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:54:44] local.INFO: Processing buffer {"connection_id":176693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:54:44] local.INFO: IMEI packet received {"connection_id":176693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":176693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:54:45] local.INFO: TCP Data received {"connection_id":176693,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:54:45] local.INFO: Processing buffer {"connection_id":176693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:54:45] local.INFO: Packet analysis {"connection_id":176693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:54:45] local.INFO: Extracted packet for processing {"connection_id":176693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:54: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-09-09 10:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:54:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":176693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:54:45] local.INFO: GPS data processed {"connection_id":176693,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:54:45] local.INFO: Acknowledgment sent {"connection_id":176693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:54:47] local.INFO: TCP Data received {"connection_id":176694,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:54:47] local.INFO: Processing buffer {"connection_id":176694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:54:47] local.INFO: IMEI packet received {"connection_id":176694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 10:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":176694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:54:47] local.INFO: TCP Data received {"connection_id":176694,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0849ca6f0012c2352800a7887b0026e00ae31..."} 
[2026-09-09 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849ca6f0012c2352800a7887b0026e00ae31..."} 
[2026-09-09 10:54:47] local.INFO: Processing buffer {"connection_id":176694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849ca6f0012c2352800a7887b0026e00ae31..."} 
[2026-09-09 10:54:47] local.INFO: Packet analysis {"connection_id":176694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849c"} 
[2026-09-09 10:54:47] local.INFO: Extracted packet for processing {"connection_id":176694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849c"} 
[2026-09-09 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":740512384,"raw_latitude":175671216,"longitude_deg":74.0512384,"latitude_deg":17.5671216,"altitude":622,"angle":174,"satellites":49,"speed":0,"hex_longitude":"2c235280","hex_latitude":"0a7887b0","is_valid_coordinates":true} 
[2026-09-09 10:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966395648001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 10:54:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2545237521877938178,"note":"Value kept but may cause issues"} 
[2026-09-09 10:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,238,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788931254000,"timestamp_ms":1788931254000,"timestamp_seconds":1788931254,"priority":1,"record_length":96,"hex_timestamp":"000001a0849ca6f0"} 
[2026-09-09 10:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 10: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-09 10:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 10:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 10:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 10:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 10:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966395648001,"66":28256,"201":206,"238":34048,"24":0,"16":3893516702842880,"44":2545237521877938178},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,238,24,16,44]} 
[2026-09-09 10:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 10:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 10:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966395648001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:54:47] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 10:54:47] local.INFO: Unknown IO ID detected {"io_id":238,"value":34048,"description":"Unknown IO ID 238"} 
[2026-09-09 10:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:54:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":2545237521877938178,"description":"Unknown IO ID 44"} 
[2026-09-09 10:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966395648001,"power":28256,"unknown_201":206,"unknown_238":34048,"ignition":0,"odometer":null,"unknown_44":2545237521877938178}} 
[2026-09-09 10:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":176694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:54:47] local.INFO: GPS data processed {"connection_id":176694,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:54:47] local.INFO: Acknowledgment sent {"connection_id":176694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:55:17] local.INFO: TCP Data received {"connection_id":176693,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:55:17] local.INFO: Processing buffer {"connection_id":176693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:55:17] local.INFO: Packet analysis {"connection_id":176693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:55:17] local.INFO: Extracted packet for processing {"connection_id":176693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":176693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:55:17] local.INFO: GPS data processed {"connection_id":176693,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:55:17] local.INFO: Acknowledgment sent {"connection_id":176693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:55:33] local.INFO: TCP Data received {"connection_id":176695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:55:33] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:55:33] local.INFO: IMEI packet received {"connection_id":176695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 10:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":176695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:55:37] local.INFO: TCP Data received {"connection_id":176695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:55:37] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:55:37] local.INFO: IMEI packet received {"connection_id":176695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 10:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":176695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:55:39] local.INFO: TCP Data received {"connection_id":178147,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:55:39] local.INFO: Processing buffer {"connection_id":178147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:55:39] local.INFO: IMEI packet received {"connection_id":178147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":178147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:55:42] local.INFO: TCP Data received {"connection_id":176695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:55:42] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 10:55:42] local.INFO: IMEI packet received {"connection_id":176695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 10:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":176695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:55:44] local.INFO: TCP Data received {"connection_id":178147,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:55:44] local.INFO: Processing buffer {"connection_id":178147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:55:44] local.INFO: IMEI packet received {"connection_id":178147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":178147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:55:45] local.INFO: TCP Data received {"connection_id":178147,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:55:45] local.INFO: Processing buffer {"connection_id":178147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:55:45] local.INFO: Packet analysis {"connection_id":178147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:55:45] local.INFO: Extracted packet for processing {"connection_id":178147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:55: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-09-09 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:55:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":178147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:55:45] local.INFO: GPS data processed {"connection_id":178147,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:55:45] local.INFO: Acknowledgment sent {"connection_id":178147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:56:16] local.INFO: TCP Data received {"connection_id":178147,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:56:16] local.INFO: Processing buffer {"connection_id":178147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:56:16] local.INFO: Packet analysis {"connection_id":178147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:56:16] local.INFO: Extracted packet for processing {"connection_id":178147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":178147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:56:17] local.INFO: GPS data processed {"connection_id":178147,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:56:17] local.INFO: Acknowledgment sent {"connection_id":178147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:56:39] local.INFO: TCP Data received {"connection_id":176696,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:56:39] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:56:39] local.INFO: IMEI packet received {"connection_id":176696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":176696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:56:44] local.INFO: TCP Data received {"connection_id":176696,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:56:44] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:56:44] local.INFO: IMEI packet received {"connection_id":176696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":176696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:56:45] local.INFO: TCP Data received {"connection_id":176696,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:56:45] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:56:45] local.INFO: Packet analysis {"connection_id":176696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:56:45] local.INFO: Extracted packet for processing {"connection_id":176696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10: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-09-09 10:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:56:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":176696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:56:45] local.INFO: GPS data processed {"connection_id":176696,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:56:45] local.INFO: Acknowledgment sent {"connection_id":176696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:57:17] local.INFO: TCP Data received {"connection_id":176696,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:57:17] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:57:17] local.INFO: Packet analysis {"connection_id":176696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:57:17] local.INFO: Extracted packet for processing {"connection_id":176696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":176696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:57:17] local.INFO: GPS data processed {"connection_id":176696,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:57:17] local.INFO: Acknowledgment sent {"connection_id":176696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:57:39] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:57:39] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:57:39] local.INFO: IMEI packet received {"connection_id":176697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":176697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:57:44] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:57:44] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:57:44] local.INFO: IMEI packet received {"connection_id":176697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":176697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:57:45] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:57:45] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0849dfeb0012d34c14006aa42c80007000228..."} 
[2026-09-09 10:57:45] local.INFO: Packet analysis {"connection_id":176697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:57:45] local.INFO: Extracted packet for processing {"connection_id":176697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0849d"} 
[2026-09-09 10:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10: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-09-09 10:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966346496001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931342000,"timestamp_ms":1788931342000,"timestamp_seconds":1788931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0849dfeb0"} 
[2026-09-09 10:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:57: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-09-09 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 10:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10: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-09-09 10:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966346496001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966346496001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:57:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966346496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":176697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:57:45] local.INFO: GPS data processed {"connection_id":176697,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:57:45] local.INFO: Acknowledgment sent {"connection_id":176697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:58:18] local.INFO: TCP Data received {"connection_id":176697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:58:18] local.INFO: Processing buffer {"connection_id":176697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:58:18] local.INFO: Packet analysis {"connection_id":176697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 10:58:18] local.INFO: Extracted packet for processing {"connection_id":176697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 10:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 10:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:58: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-09-09 10:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":176697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:58:18] local.INFO: GPS data processed {"connection_id":176697,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:58:18] local.INFO: Acknowledgment sent {"connection_id":176697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:58:39] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:58:39] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:58:39] local.INFO: IMEI packet received {"connection_id":175573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":175573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:58:44] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:58:44] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:58:44] local.INFO: IMEI packet received {"connection_id":175573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":175573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:58:45] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:58:45] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:58:45] local.INFO: Packet analysis {"connection_id":175573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 10:58:45] local.INFO: Extracted packet for processing {"connection_id":175573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 10:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 10:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10: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-09-09 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:58:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":175573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:58:45] local.INFO: GPS data processed {"connection_id":175573,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:58:45] local.INFO: Acknowledgment sent {"connection_id":175573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:59:17] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:59:17] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:59:17] local.INFO: Packet analysis {"connection_id":175573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 10:59:17] local.INFO: Extracted packet for processing {"connection_id":175573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 10:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 10:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 10:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:59:17] local.INFO: GPS data processed {"connection_id":175573,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:59:17] local.INFO: Acknowledgment sent {"connection_id":175573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 10:59:39] local.INFO: TCP Data received {"connection_id":175349,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:59:39] local.INFO: Processing buffer {"connection_id":175349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:59:39] local.INFO: IMEI packet received {"connection_id":175349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 10:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":175349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 10:59:44] local.INFO: TCP Data received {"connection_id":175349,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:59:44] local.INFO: Processing buffer {"connection_id":175349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 10:59:44] local.INFO: IMEI packet received {"connection_id":175349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 10:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":175349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 10:59:45] local.INFO: TCP Data received {"connection_id":175349,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:59:45] local.INFO: Processing buffer {"connection_id":175349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 10:59:45] local.INFO: Packet analysis {"connection_id":175349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 10:59:45] local.INFO: Extracted packet for processing {"connection_id":175349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 10:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 10:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 10:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 10:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 10:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 10:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 10:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 10:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 10:59: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-09-09 10:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 10:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 10:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 10:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 10:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 10:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 10:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 10:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 10:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 10:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 10:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 10:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 10:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 10:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 10:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 10:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 10:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 10:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 10:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 10:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":175349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 10:59:45] local.INFO: GPS data processed {"connection_id":175349,"processed":1,"errors":0,"total":1} 
[2026-09-09 10:59:45] local.INFO: Acknowledgment sent {"connection_id":175349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:00:17] local.INFO: TCP Data received {"connection_id":175349,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:00:17] local.INFO: Processing buffer {"connection_id":175349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:00:17] local.INFO: Packet analysis {"connection_id":175349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:00:17] local.INFO: Extracted packet for processing {"connection_id":175349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 11:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":175349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:00:17] local.INFO: GPS data processed {"connection_id":175349,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:00:17] local.INFO: Acknowledgment sent {"connection_id":175349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:00:39] local.INFO: TCP Data received {"connection_id":178150,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:00:39] local.INFO: Processing buffer {"connection_id":178150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:00:39] local.INFO: IMEI packet received {"connection_id":178150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":178150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:00:45] local.INFO: TCP Data received {"connection_id":178150,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:00:45] local.INFO: Processing buffer {"connection_id":178150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:00:45] local.INFO: IMEI packet received {"connection_id":178150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":178150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:00:47] local.INFO: TCP Data received {"connection_id":178150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:00:47] local.INFO: Processing buffer {"connection_id":178150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:00:47] local.INFO: Packet analysis {"connection_id":178150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:00:47] local.INFO: Extracted packet for processing {"connection_id":178150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 11:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":178150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:00:47] local.INFO: GPS data processed {"connection_id":178150,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:00:47] local.INFO: Acknowledgment sent {"connection_id":178150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:01:02] local.INFO: TCP Data received {"connection_id":175350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:01:02] local.INFO: Processing buffer {"connection_id":175350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:01:02] local.INFO: IMEI packet received {"connection_id":175350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":175350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:01:19] local.INFO: TCP Data received {"connection_id":178150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:01:19] local.INFO: Processing buffer {"connection_id":178150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:01:19] local.INFO: Packet analysis {"connection_id":178150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:01:19] local.INFO: Extracted packet for processing {"connection_id":178150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 11:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:01: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-09-09 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":178150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:01:19] local.INFO: GPS data processed {"connection_id":178150,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:01:19] local.INFO: Acknowledgment sent {"connection_id":178150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:01:39] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:01:39] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:01:39] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:01:44] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:01:44] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:01:44] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:01:46] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:01:46] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:01:46] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:01:46] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 11:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:01: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-09-09 11:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:01:46] local.INFO: GPS data processed {"connection_id":175351,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:01:46] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:02:17] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:02:17] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:02:17] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:02:17] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 11:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:02: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-09-09 11:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:02:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:02:17] local.INFO: GPS data processed {"connection_id":175351,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:02:17] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:02:39] local.INFO: TCP Data received {"connection_id":178151,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:02:39] local.INFO: Processing buffer {"connection_id":178151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:02:39] local.INFO: IMEI packet received {"connection_id":178151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":178151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:02:44] local.INFO: TCP Data received {"connection_id":178151,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:02:44] local.INFO: Processing buffer {"connection_id":178151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:02:44] local.INFO: IMEI packet received {"connection_id":178151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":178151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:02:45] local.INFO: TCP Data received {"connection_id":178151,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:02:45] local.INFO: Processing buffer {"connection_id":178151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a29678012d34c14006aa42c8000800022b..."} 
[2026-09-09 11:02:45] local.INFO: Packet analysis {"connection_id":178151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:02:45] local.INFO: Extracted packet for processing {"connection_id":178151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a2"} 
[2026-09-09 11:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966423552001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931643000,"timestamp_ms":1788931643000,"timestamp_seconds":1788931643,"priority":1,"record_length":96,"hex_timestamp":"000001a084a29678"} 
[2026-09-09 11:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:02: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-09-09 11:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966423552001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966423552001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966423552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":178151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:02:45] local.INFO: GPS data processed {"connection_id":178151,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:02:45] local.INFO: Acknowledgment sent {"connection_id":178151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:03:17] local.INFO: TCP Data received {"connection_id":178151,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:03:17] local.INFO: Processing buffer {"connection_id":178151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:03:17] local.INFO: Packet analysis {"connection_id":178151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:03:17] local.INFO: Extracted packet for processing {"connection_id":178151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":178151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:03:17] local.INFO: GPS data processed {"connection_id":178151,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:03:17] local.INFO: Acknowledgment sent {"connection_id":178151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:03:39] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:03:39] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:03:39] local.INFO: IMEI packet received {"connection_id":175352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":175352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:03:44] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:03:44] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:03:44] local.INFO: IMEI packet received {"connection_id":175352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":175352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:03:46] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:03:46] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:03:46] local.INFO: Packet analysis {"connection_id":175352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:03:46] local.INFO: Extracted packet for processing {"connection_id":175352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":175352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:03:46] local.INFO: GPS data processed {"connection_id":175352,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:03:46] local.INFO: Acknowledgment sent {"connection_id":175352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:03:50] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:03:50] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:03:50] local.INFO: Packet analysis {"connection_id":175352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:03:50] local.INFO: Extracted packet for processing {"connection_id":175352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:03:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":175352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:03:50] local.INFO: GPS data processed {"connection_id":175352,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:03:50] local.INFO: Acknowledgment sent {"connection_id":175352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:04:21] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:04:21] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:04:21] local.INFO: Packet analysis {"connection_id":175352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:04:21] local.INFO: Extracted packet for processing {"connection_id":175352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:04:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:04:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":175352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:04:21] local.INFO: GPS data processed {"connection_id":175352,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:04:21] local.INFO: Acknowledgment sent {"connection_id":175352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:04:39] local.INFO: TCP Data received {"connection_id":175354,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:04:39] local.INFO: Processing buffer {"connection_id":175354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:04:39] local.INFO: IMEI packet received {"connection_id":175354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":175354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:04:44] local.INFO: TCP Data received {"connection_id":175354,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:04:44] local.INFO: Processing buffer {"connection_id":175354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:04:44] local.INFO: IMEI packet received {"connection_id":175354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":175354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:04:46] local.INFO: TCP Data received {"connection_id":175354,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:04:46] local.INFO: Processing buffer {"connection_id":175354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:04:46] local.INFO: Packet analysis {"connection_id":175354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:04:46] local.INFO: Extracted packet for processing {"connection_id":175354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":175354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:04:46] local.INFO: GPS data processed {"connection_id":175354,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:04:46] local.INFO: Acknowledgment sent {"connection_id":175354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:05:19] local.INFO: TCP Data received {"connection_id":175354,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:05:19] local.INFO: Processing buffer {"connection_id":175354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:05:19] local.INFO: Packet analysis {"connection_id":175354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:05:19] local.INFO: Extracted packet for processing {"connection_id":175354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:05: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-09-09 11:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":175354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:05:19] local.INFO: GPS data processed {"connection_id":175354,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:05:19] local.INFO: Acknowledgment sent {"connection_id":175354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:05:39] local.INFO: TCP Data received {"connection_id":178152,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:05:39] local.INFO: Processing buffer {"connection_id":178152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:05:39] local.INFO: IMEI packet received {"connection_id":178152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":178152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:05:44] local.INFO: TCP Data received {"connection_id":178152,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:05:44] local.INFO: Processing buffer {"connection_id":178152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:05:44] local.INFO: IMEI packet received {"connection_id":178152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":178152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:05:45] local.INFO: TCP Data received {"connection_id":178152,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:05:45] local.INFO: Processing buffer {"connection_id":178152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:05:45] local.INFO: Packet analysis {"connection_id":178152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:05:45] local.INFO: Extracted packet for processing {"connection_id":178152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:05: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-09-09 11:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:05:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":178152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:05:45] local.INFO: GPS data processed {"connection_id":178152,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:05:45] local.INFO: Acknowledgment sent {"connection_id":178152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:06:17] local.INFO: TCP Data received {"connection_id":178152,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:06:17] local.INFO: Processing buffer {"connection_id":178152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:06:17] local.INFO: Packet analysis {"connection_id":178152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:06:17] local.INFO: Extracted packet for processing {"connection_id":178152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":178152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:06:17] local.INFO: GPS data processed {"connection_id":178152,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:06:17] local.INFO: Acknowledgment sent {"connection_id":178152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:06:39] local.INFO: TCP Data received {"connection_id":176700,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:06:39] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:06:39] local.INFO: IMEI packet received {"connection_id":176700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":176700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:06:41] local.INFO: TCP Data received {"connection_id":176701,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:06:41] local.INFO: Processing buffer {"connection_id":176701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:06:41] local.INFO: IMEI packet received {"connection_id":176701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":176701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:06:44] local.INFO: TCP Data received {"connection_id":176700,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:06:44] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:06:44] local.INFO: IMEI packet received {"connection_id":176700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":176700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:06:45] local.INFO: TCP Data received {"connection_id":176700,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:06:45] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:06:45] local.INFO: Packet analysis {"connection_id":176700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:06:45] local.INFO: Extracted packet for processing {"connection_id":176700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:06: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-09-09 11:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:06:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":176700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:06:45] local.INFO: GPS data processed {"connection_id":176700,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:06:45] local.INFO: Acknowledgment sent {"connection_id":176700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:07:17] local.INFO: TCP Data received {"connection_id":176700,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:07:17] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:07:17] local.INFO: Packet analysis {"connection_id":176700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:07:17] local.INFO: Extracted packet for processing {"connection_id":176700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:07:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":176700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:07:17] local.INFO: GPS data processed {"connection_id":176700,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:07:17] local.INFO: Acknowledgment sent {"connection_id":176700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:07:39] local.INFO: TCP Data received {"connection_id":176702,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:07:39] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:07:39] local.INFO: IMEI packet received {"connection_id":176702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":176702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:07:44] local.INFO: TCP Data received {"connection_id":176702,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:07:44] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:07:44] local.INFO: IMEI packet received {"connection_id":176702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":176702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:07:46] local.INFO: TCP Data received {"connection_id":176702,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:07:46] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084a72e40012d34c14006aa42c8000400022b..."} 
[2026-09-09 11:07:46] local.INFO: Packet analysis {"connection_id":176702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:07:46] local.INFO: Extracted packet for processing {"connection_id":176702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084a7"} 
[2026-09-09 11:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966500608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788931944000,"timestamp_ms":1788931944000,"timestamp_seconds":1788931944,"priority":1,"record_length":96,"hex_timestamp":"000001a084a72e40"} 
[2026-09-09 11:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966500608001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966500608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966500608001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":176702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:07:46] local.INFO: GPS data processed {"connection_id":176702,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:07:46] local.INFO: Acknowledgment sent {"connection_id":176702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:08:18] local.INFO: TCP Data received {"connection_id":176702,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:08:18] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:08:18] local.INFO: Packet analysis {"connection_id":176702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:08:18] local.INFO: Extracted packet for processing {"connection_id":176702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:08: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-09-09 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:08:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":176702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:08:18] local.INFO: GPS data processed {"connection_id":176702,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:08:18] local.INFO: Acknowledgment sent {"connection_id":176702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:08:44] local.INFO: TCP Data received {"connection_id":175357,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:08:44] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:08:44] local.INFO: IMEI packet received {"connection_id":175357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:08:49] local.INFO: TCP Data received {"connection_id":175357,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:08:49] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:08:49] local.INFO: IMEI packet received {"connection_id":175357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":175357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:08:51] local.INFO: TCP Data received {"connection_id":175357,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:08:51] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:08:51] local.INFO: Packet analysis {"connection_id":175357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:08:51] local.INFO: Extracted packet for processing {"connection_id":175357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":175357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:08:51] local.INFO: GPS data processed {"connection_id":175357,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:08:51] local.INFO: Acknowledgment sent {"connection_id":175357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:08:55] local.INFO: TCP Data received {"connection_id":175357,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:08:55] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:08:55] local.INFO: Packet analysis {"connection_id":175357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:08:55] local.INFO: Extracted packet for processing {"connection_id":175357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:08:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":175357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:08:55] local.INFO: GPS data processed {"connection_id":175357,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:08:55] local.INFO: Acknowledgment sent {"connection_id":175357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:09:39] local.INFO: TCP Data received {"connection_id":178154,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:09:39] local.INFO: Processing buffer {"connection_id":178154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:09:39] local.INFO: IMEI packet received {"connection_id":178154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":178154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:09:44] local.INFO: TCP Data received {"connection_id":178154,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:09:44] local.INFO: Processing buffer {"connection_id":178154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:09:44] local.INFO: IMEI packet received {"connection_id":178154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":178154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:09:45] local.INFO: TCP Data received {"connection_id":178154,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:09:45] local.INFO: Processing buffer {"connection_id":178154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:09:45] local.INFO: Packet analysis {"connection_id":178154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:09:45] local.INFO: Extracted packet for processing {"connection_id":178154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:09: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-09-09 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":178154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:09:45] local.INFO: GPS data processed {"connection_id":178154,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:09:45] local.INFO: Acknowledgment sent {"connection_id":178154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:10:18] local.INFO: TCP Data received {"connection_id":178154,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:10:18] local.INFO: Processing buffer {"connection_id":178154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:10:18] local.INFO: Packet analysis {"connection_id":178154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:10:18] local.INFO: Extracted packet for processing {"connection_id":178154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:10: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-09-09 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:10:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:10:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":178154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:10:18] local.INFO: GPS data processed {"connection_id":178154,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:10:18] local.INFO: Acknowledgment sent {"connection_id":178154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:10:39] local.INFO: TCP Data received {"connection_id":178156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:10:39] local.INFO: Processing buffer {"connection_id":178156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:10:39] local.INFO: IMEI packet received {"connection_id":178156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":178156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:10:44] local.INFO: TCP Data received {"connection_id":178156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:10:44] local.INFO: Processing buffer {"connection_id":178156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:10:44] local.INFO: IMEI packet received {"connection_id":178156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":178156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:10:45] local.INFO: TCP Data received {"connection_id":178156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:10:45] local.INFO: Processing buffer {"connection_id":178156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:10:45] local.INFO: Packet analysis {"connection_id":178156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:10:45] local.INFO: Extracted packet for processing {"connection_id":178156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:10: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-09-09 11:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:10:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":178156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:10:45] local.INFO: GPS data processed {"connection_id":178156,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:10:45] local.INFO: Acknowledgment sent {"connection_id":178156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:11:17] local.INFO: TCP Data received {"connection_id":178156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:11:17] local.INFO: Processing buffer {"connection_id":178156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:11:17] local.INFO: Packet analysis {"connection_id":178156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:11:17] local.INFO: Extracted packet for processing {"connection_id":178156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":178156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:11:17] local.INFO: GPS data processed {"connection_id":178156,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:11:17] local.INFO: Acknowledgment sent {"connection_id":178156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:11:39] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:11:39] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:11:39] local.INFO: IMEI packet received {"connection_id":175576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":175576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:11:44] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:11:44] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:11:44] local.INFO: IMEI packet received {"connection_id":175576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":175576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:11:46] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:11:46] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:11:46] local.INFO: Packet analysis {"connection_id":175576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:11:46] local.INFO: Extracted packet for processing {"connection_id":175576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":175576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:11:46] local.INFO: GPS data processed {"connection_id":175576,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:11:46] local.INFO: Acknowledgment sent {"connection_id":175576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:11:51] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:11:51] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:11:51] local.INFO: IMEI packet received {"connection_id":176703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":176703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:11:52] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:11:52] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:11:52] local.INFO: IMEI packet received {"connection_id":176703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":176703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:11:55] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:11:55] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:11:55] local.INFO: IMEI packet received {"connection_id":176703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":176703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:11:56] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-09 11:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-09 11:11:56] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-09 11:11:56] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 11:11:56] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 11:11:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 11:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767744363134976,"note":"Value kept but may cause issues"} 
[2026-09-09 11:11: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-09-09 11:11: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-09-09 11:11:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 11:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-09 11:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-09 11:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 11:11:56] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 11:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 11:11:56] local.ERROR: GPS data processing failed {"connection_id":176703,"error":"No valid data to process"} 
[2026-09-09 11:11:56] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 11:12:02] local.INFO: TCP Data received {"connection_id":175359,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:12:02] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:12:02] local.INFO: IMEI packet received {"connection_id":175359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":175359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:12:17] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:12:17] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:12:17] local.INFO: Packet analysis {"connection_id":175576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:12:17] local.INFO: Extracted packet for processing {"connection_id":175576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":175576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:12:17] local.INFO: GPS data processed {"connection_id":175576,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:12:17] local.INFO: Acknowledgment sent {"connection_id":175576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:12:27] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b02338012d1965c0071ff1800046000009..."} 
[2026-09-09 11:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b02338012d1965c0071ff1800046000009..."} 
[2026-09-09 11:12:27] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b02338012d1965c0071ff1800046000009..."} 
[2026-09-09 11:12:27] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:12:27] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533952,"longitude_deg":75.6639168,"latitude_deg":11.9533952,"altitude":70,"angle":0,"satellites":9,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff180","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767765837971456,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12: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-09-09 11:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788932531000,"timestamp_ms":1788932531000,"timestamp_seconds":1788932531,"priority":1,"record_length":96,"hex_timestamp":"000001a084b02338"} 
[2026-09-09 11:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:12: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-09-09 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 11:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:12:27] 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-09-09 11:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12189,"102":206,"83":41984,"24":0,"16":18767765837971456},"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]} 
[2026-09-09 11:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 11:12:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767765837971456,"km_value":18767765837971.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:12:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12189,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-09 11:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:12:27] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:12:27] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:12:41] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:12:41] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:12:41] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:12:44] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:12:44] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:12:44] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:12:45] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:12:45] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084abc608012d34c14006aa42c8000600022a..."} 
[2026-09-09 11:12:45] local.INFO: Packet analysis {"connection_id":175577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:12:45] local.INFO: Extracted packet for processing {"connection_id":175577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ab"} 
[2026-09-09 11:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966577664001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788932245000,"timestamp_ms":1788932245000,"timestamp_seconds":1788932245,"priority":1,"record_length":96,"hex_timestamp":"000001a084abc608"} 
[2026-09-09 11:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:12: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-09-09 11:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966577664001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966577664001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966577664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":175577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:12:45] local.INFO: GPS data processed {"connection_id":175577,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:12:45] local.INFO: Acknowledgment sent {"connection_id":175577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:12:58] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b07540012d196440071ff2680043010f0a..."} 
[2026-09-09 11:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b07540012d196440071ff2680043010f0a..."} 
[2026-09-09 11:12:58] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b07540012d196440071ff2680043010f0a..."} 
[2026-09-09 11:12:58] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:12:58] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119534184,"longitude_deg":75.6638784,"latitude_deg":11.9534184,"altitude":67,"angle":271,"satellites":10,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071ff268","is_valid_coordinates":true} 
[2026-09-09 11:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966727936001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767791607775232,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429199360,"note":"Value kept but may cause issues"} 
[2026-09-09 11:12: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-09-09 11:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788932552000,"timestamp_ms":1788932552000,"timestamp_seconds":1788932552,"priority":1,"record_length":96,"hex_timestamp":"000001a084b07540"} 
[2026-09-09 11:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:12:58] 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-09-09 11:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-09 11:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:12:58] 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-09-09 11:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966727936001,"66":12254,"102":206,"83":41984,"24":0,"16":18767791607775232,"45":1830079960429199360},"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-09-09 11:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966727936001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:12:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767791607775232,"km_value":18767791607775.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429199360,"description":"Unknown IO ID 45"} 
[2026-09-09 11:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966727936001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429199360}} 
[2026-09-09 11:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:12:58] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:12:58] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:13:17] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:13:17] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:13:17] local.INFO: Packet analysis {"connection_id":175577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:13:17] local.INFO: Extracted packet for processing {"connection_id":175577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":175577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:13:17] local.INFO: GPS data processed {"connection_id":175577,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:13:17] local.INFO: Acknowledgment sent {"connection_id":175577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:13:29] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b07540012d196440071ff2680043010f0a..."} 
[2026-09-09 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b07540012d196440071ff2680043010f0a..."} 
[2026-09-09 11:13:29] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b07540012d196440071ff2680043010f0a..."} 
[2026-09-09 11:13:29] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:13:29] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119534184,"longitude_deg":75.6638784,"latitude_deg":11.9534184,"altitude":67,"angle":271,"satellites":10,"speed":0,"hex_longitude":"2d196440","hex_latitude":"071ff268","is_valid_coordinates":true} 
[2026-09-09 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966733312001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767791607775232,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747964192768,"note":"Value kept but may cause issues"} 
[2026-09-09 11: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-09-09 11:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788932552000,"timestamp_ms":1788932552000,"timestamp_seconds":1788932552,"priority":1,"record_length":96,"hex_timestamp":"000001a084b07540"} 
[2026-09-09 11:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:13: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-09 11:13: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-09-09 11:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:13:29] 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-09-09 11:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966733312001,"66":12254,"102":206,"83":41984,"24":0,"16":18767791607775232,"45":1829657747964192768},"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-09-09 11:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966733312001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:13:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767791607775232,"km_value":18767791607775.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747964192768,"description":"Unknown IO ID 45"} 
[2026-09-09 11:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966733312001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747964192768}} 
[2026-09-09 11:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:13:29] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:13:29] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:13:44] local.INFO: TCP Data received {"connection_id":178157,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:13:44] local.INFO: Processing buffer {"connection_id":178157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:13:44] local.INFO: IMEI packet received {"connection_id":178157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":178157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:13:49] local.INFO: TCP Data received {"connection_id":178157,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:13:49] local.INFO: Processing buffer {"connection_id":178157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:13:49] local.INFO: IMEI packet received {"connection_id":178157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":178157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:13:51] local.INFO: TCP Data received {"connection_id":178157,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:13:51] local.INFO: Processing buffer {"connection_id":178157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:13:51] local.INFO: Packet analysis {"connection_id":178157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:13:51] local.INFO: Extracted packet for processing {"connection_id":178157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":178157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:13:51] local.INFO: GPS data processed {"connection_id":178157,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:13:51] local.INFO: Acknowledgment sent {"connection_id":178157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:13:55] local.INFO: TCP Data received {"connection_id":178157,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:13:55] local.INFO: Processing buffer {"connection_id":178157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:13:55] local.INFO: Packet analysis {"connection_id":178157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:13:55] local.INFO: Extracted packet for processing {"connection_id":178157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:13:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":178157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:13:55] local.INFO: GPS data processed {"connection_id":178157,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:13:55] local.INFO: Acknowledgment sent {"connection_id":178157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:14:00] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b0c748012d196400071ff2e00041010f0c..."} 
[2026-09-09 11:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b0c748012d196400071ff2e00041010f0c..."} 
[2026-09-09 11:14:00] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b0c748012d196400071ff2e00041010f0c..."} 
[2026-09-09 11:14:00] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:14:00] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119534304,"longitude_deg":75.663872,"latitude_deg":11.9534304,"altitude":65,"angle":271,"satellites":12,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff2e0","is_valid_coordinates":true} 
[2026-09-09 11:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966733312001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767800197709824,"note":"Value kept but may cause issues"} 
[2026-09-09 11:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747964192768,"note":"Value kept but may cause issues"} 
[2026-09-09 11: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-09-09 11:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788932573000,"timestamp_ms":1788932573000,"timestamp_seconds":1788932573,"priority":1,"record_length":96,"hex_timestamp":"000001a084b0c748"} 
[2026-09-09 11:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:14: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-09 11:14: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-09-09 11:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:14:00] 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-09-09 11:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966733312001,"66":12287,"102":206,"83":41984,"24":0,"16":18767800197709824,"45":1829657747964192768},"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-09-09 11:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966733312001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:14:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767800197709824,"km_value":18767800197709.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747964192768,"description":"Unknown IO ID 45"} 
[2026-09-09 11:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966733312001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747964192768}} 
[2026-09-09 11:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:14:00] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:14:00] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:14:32] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b11950012d196400071ff2c80042010f0d..."} 
[2026-09-09 11:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b11950012d196400071ff2c80042010f0d..."} 
[2026-09-09 11:14:32] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b11950012d196400071ff2c80042010f0d..."} 
[2026-09-09 11:14:32] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:14:32] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119534280,"longitude_deg":75.663872,"latitude_deg":11.953428,"altitude":66,"angle":271,"satellites":13,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff2c8","is_valid_coordinates":true} 
[2026-09-09 11:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966738688001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767804492677120,"note":"Value kept but may cause issues"} 
[2026-09-09 11:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379220045824,"note":"Value kept but may cause issues"} 
[2026-09-09 11:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788932594000,"timestamp_ms":1788932594000,"timestamp_seconds":1788932594,"priority":1,"record_length":96,"hex_timestamp":"000001a084b11950"} 
[2026-09-09 11:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:14:32] 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-09-09 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 11:14: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-09-09 11:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:14:32] 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-09-09 11:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966738688001,"66":12211,"102":206,"83":41984,"24":0,"16":18767804492677120,"45":1829587379220045824},"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-09-09 11:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966738688001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:14:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767804492677120,"km_value":18767804492677.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379220045824,"description":"Unknown IO ID 45"} 
[2026-09-09 11:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966738688001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379220045824}} 
[2026-09-09 11:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:14:32] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:14:32] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:14:39] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:14:39] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:14:39] local.INFO: IMEI packet received {"connection_id":175360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":175360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:14:44] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:14:44] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:14:44] local.INFO: IMEI packet received {"connection_id":175360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":175360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:14:45] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:14:45] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:14:45] local.INFO: Packet analysis {"connection_id":175360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:14:45] local.INFO: Extracted packet for processing {"connection_id":175360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:14: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-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:14:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":175360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:14:45] local.INFO: GPS data processed {"connection_id":175360,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:14:45] local.INFO: Acknowledgment sent {"connection_id":175360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:15:03] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b134a8012d196400071ff2d8004201350d..."} 
[2026-09-09 11:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b134a8012d196400071ff2d8004201350d..."} 
[2026-09-09 11:15:03] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b134a8012d196400071ff2d8004201350d..."} 
[2026-09-09 11:15:03] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:15:03] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119534296,"longitude_deg":75.663872,"latitude_deg":11.9534296,"altitude":66,"angle":309,"satellites":13,"speed":1,"hex_longitude":"2d196400","hex_latitude":"071ff2d8","is_valid_coordinates":true} 
[2026-09-09 11:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966744064001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767804492677120,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379220039680,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788932601000,"timestamp_ms":1788932601000,"timestamp_seconds":1788932601,"priority":1,"record_length":96,"hex_timestamp":"000001a084b134a8"} 
[2026-09-09 11:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:15:03] 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-09-09 11:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 11:15: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-09-09 11:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:15:03] 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-09-09 11:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966744064001,"66":12265,"102":206,"83":41984,"24":1,"16":18767804492677120,"45":1829587379220039680},"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-09-09 11:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966744064001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:15:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767804492677120,"km_value":18767804492677.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379220039680,"description":"Unknown IO ID 45"} 
[2026-09-09 11:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966744064001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1829587379220039680}} 
[2026-09-09 11:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:15:03] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:15:03] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:15:17] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:15:17] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:15:17] local.INFO: Packet analysis {"connection_id":175360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:15:17] local.INFO: Extracted packet for processing {"connection_id":175360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:15:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":175360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:15:17] local.INFO: GPS data processed {"connection_id":175360,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:15:17] local.INFO: Acknowledgment sent {"connection_id":175360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:15:34] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b14060012d1963c0071ff300004101260e..."} 
[2026-09-09 11:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b14060012d1963c0071ff300004101260e..."} 
[2026-09-09 11:15:34] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b14060012d1963c0071ff300004101260e..."} 
[2026-09-09 11:15:34] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:15:34] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756638656,"raw_latitude":119534336,"longitude_deg":75.6638656,"latitude_deg":11.9534336,"altitude":65,"angle":294,"satellites":14,"speed":1,"hex_longitude":"2d1963c0","hex_latitude":"071ff300","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966745856001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767808787644416,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379220043776,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788932604000,"timestamp_ms":1788932604000,"timestamp_seconds":1788932604,"priority":1,"record_length":96,"hex_timestamp":"000001a084b14060"} 
[2026-09-09 11:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:15: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-09-09 11:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 11:15:34] 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-09-09 11: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-09-09 11:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966745856001,"66":12265,"102":206,"83":41984,"24":1,"16":18767808787644416,"45":1829587379220043776},"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-09-09 11:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966745856001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:15:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767808787644416,"km_value":18767808787644.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379220043776,"description":"Unknown IO ID 45"} 
[2026-09-09 11:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966745856001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1829587379220043776}} 
[2026-09-09 11:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:15:34] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:15:34] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:15:39] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:15:39] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:15:39] local.INFO: IMEI packet received {"connection_id":175361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":175361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:15:44] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:15:44] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:15:44] local.INFO: IMEI packet received {"connection_id":175361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":175361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:15:45] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:15:45] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:15:45] local.INFO: Packet analysis {"connection_id":175361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:15:45] local.INFO: Extracted packet for processing {"connection_id":175361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:15: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-09-09 11:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":175361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:15:45] local.INFO: GPS data processed {"connection_id":175361,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:15:45] local.INFO: Acknowledgment sent {"connection_id":175361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:16:05] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b19268012d196380071ff340003e01270f..."} 
[2026-09-09 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b19268012d196380071ff340003e01270f..."} 
[2026-09-09 11:16:05] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b19268012d196380071ff340003e01270f..."} 
[2026-09-09 11:16:05] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:16:05] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119534400,"longitude_deg":75.6638592,"latitude_deg":11.95344,"altitude":62,"angle":295,"satellites":15,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071ff340","is_valid_coordinates":true} 
[2026-09-09 11:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966746624001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767825967513600,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829517010475876352,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788932625000,"timestamp_ms":1788932625000,"timestamp_seconds":1788932625,"priority":1,"record_length":96,"hex_timestamp":"000001a084b19268"} 
[2026-09-09 11:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:16: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 11:16:05] 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-09-09 11:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966746624001,"66":12232,"102":206,"83":41984,"24":0,"16":18767825967513600,"45":1829517010475876352},"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-09-09 11:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966746624001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767825967513600,"km_value":18767825967513.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829517010475876352,"description":"Unknown IO ID 45"} 
[2026-09-09 11:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966746624001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829517010475876352}} 
[2026-09-09 11:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:16:05] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:16:05] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:16:17] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:16:17] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:16:17] local.INFO: Packet analysis {"connection_id":175361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:16:17] local.INFO: Extracted packet for processing {"connection_id":175361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":175361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:16:17] local.INFO: GPS data processed {"connection_id":175361,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:16:17] local.INFO: Acknowledgment sent {"connection_id":175361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:16:30] local.INFO: TCP Data received {"connection_id":178158,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:16:30] local.INFO: Processing buffer {"connection_id":178158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:16:30] local.INFO: IMEI packet received {"connection_id":178158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":178158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:16:35] local.INFO: TCP Data received {"connection_id":178158,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:16:35] local.INFO: Processing buffer {"connection_id":178158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:16:35] local.INFO: IMEI packet received {"connection_id":178158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":178158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:16:36] local.INFO: TCP Data received {"connection_id":178158,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b1e470012d196380071ff318003e012710..."} 
[2026-09-09 11:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b1e470012d196380071ff318003e012710..."} 
[2026-09-09 11:16:36] local.INFO: Processing buffer {"connection_id":178158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b1e470012d196380071ff318003e012710..."} 
[2026-09-09 11:16:36] local.INFO: Packet analysis {"connection_id":178158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:16:36] local.INFO: Extracted packet for processing {"connection_id":178158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b1"} 
[2026-09-09 11:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119534360,"longitude_deg":75.6638592,"latitude_deg":11.953436,"altitude":62,"angle":295,"satellites":16,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-09-09 11:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966752000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767843147382784,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731715072,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788932646000,"timestamp_ms":1788932646000,"timestamp_seconds":1788932646,"priority":1,"record_length":96,"hex_timestamp":"000001a084b1e470"} 
[2026-09-09 11:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:16: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 11:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:16:36] 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-09-09 11:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966752000001,"66":12178,"102":206,"83":41984,"24":0,"16":18767843147382784,"45":1829446641731715072},"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-09-09 11:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966752000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:16:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767843147382784,"km_value":18767843147382.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731715072,"description":"Unknown IO ID 45"} 
[2026-09-09 11:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966752000001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829446641731715072}} 
[2026-09-09 11:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":178158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:16:36] local.INFO: GPS data processed {"connection_id":178158,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:16:36] local.INFO: Acknowledgment sent {"connection_id":178158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:16:39] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:16:39] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:16:39] local.INFO: IMEI packet received {"connection_id":176706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":176706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:16:44] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:16:44] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:16:44] local.INFO: IMEI packet received {"connection_id":176706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":176706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:16:45] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:16:45] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:16:45] local.INFO: Packet analysis {"connection_id":176706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:16:45] local.INFO: Extracted packet for processing {"connection_id":176706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:16: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-09-09 11:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":176706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:16:45] local.INFO: GPS data processed {"connection_id":176706,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:16:45] local.INFO: Acknowledgment sent {"connection_id":176706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:17:07] local.INFO: TCP Data received {"connection_id":178158,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b46128012d196680071ff070004100ab17..."} 
[2026-09-09 11:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b46128012d196680071ff070004100ab17..."} 
[2026-09-09 11:17:07] local.INFO: Processing buffer {"connection_id":178158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b46128012d196680071ff070004100ab17..."} 
[2026-09-09 11:17:07] local.INFO: Packet analysis {"connection_id":178158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:17:07] local.INFO: Extracted packet for processing {"connection_id":178158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533680,"longitude_deg":75.663936,"latitude_deg":11.953368,"altitude":65,"angle":171,"satellites":23,"speed":3,"hex_longitude":"2d196680","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966798848001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767963406467072,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661685248,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788932809000,"timestamp_ms":1788932809000,"timestamp_seconds":1788932809,"priority":1,"record_length":96,"hex_timestamp":"000001a084b46128"} 
[2026-09-09 11:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:17: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-09 11:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:17:07] 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-09-09 11:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966798848001,"66":12189,"102":206,"83":41984,"24":3,"16":18767963406467072,"45":1830291066661685248},"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-09-09 11:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966798848001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:17:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767963406467072,"km_value":18767963406467.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661685248,"description":"Unknown IO ID 45"} 
[2026-09-09 11:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966798848001,"power":12189,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830291066661685248}} 
[2026-09-09 11:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":178158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:17:08] local.INFO: GPS data processed {"connection_id":178158,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:17:08] local.INFO: Acknowledgment sent {"connection_id":178158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:17:18] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:17:18] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:17:18] local.INFO: Packet analysis {"connection_id":176706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:17:18] local.INFO: Extracted packet for processing {"connection_id":176706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:17: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-09-09 11:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:17:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":176706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:17:18] local.INFO: GPS data processed {"connection_id":176706,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:17:18] local.INFO: Acknowledgment sent {"connection_id":176706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:17:39] local.INFO: TCP Data received {"connection_id":178158,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b46510012d196600071feff0004100bc17..."} 
[2026-09-09 11:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b46510012d196600071feff0004100bc17..."} 
[2026-09-09 11:17:39] local.INFO: Processing buffer {"connection_id":178158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b46510012d196600071feff0004100bc17..."} 
[2026-09-09 11:17:39] local.INFO: Packet analysis {"connection_id":178158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:17:39] local.INFO: Extracted packet for processing {"connection_id":178158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533552,"longitude_deg":75.6639232,"latitude_deg":11.9533552,"altitude":65,"angle":188,"satellites":23,"speed":3,"hex_longitude":"2d196600","hex_latitude":"071feff0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966799104001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767971996401664,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661662720,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17: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-09-09 11:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788932810000,"timestamp_ms":1788932810000,"timestamp_seconds":1788932810,"priority":1,"record_length":96,"hex_timestamp":"000001a084b46510"} 
[2026-09-09 11:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-09 11:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:17:39] 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-09-09 11:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966799104001,"66":12048,"102":206,"83":41984,"24":3,"16":18767971996401664,"45":1830291066661662720},"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-09-09 11:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966799104001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:17:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767971996401664,"km_value":18767971996401.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661662720,"description":"Unknown IO ID 45"} 
[2026-09-09 11:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966799104001,"power":12048,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830291066661662720}} 
[2026-09-09 11:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":178158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:17:39] local.INFO: GPS data processed {"connection_id":178158,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:17:39] local.INFO: Acknowledgment sent {"connection_id":178158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:17:39] local.INFO: TCP Data received {"connection_id":175579,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:17:39] local.INFO: Processing buffer {"connection_id":175579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:17:39] local.INFO: IMEI packet received {"connection_id":175579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":175579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:17:44] local.INFO: TCP Data received {"connection_id":175579,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:17:44] local.INFO: Processing buffer {"connection_id":175579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:17:44] local.INFO: IMEI packet received {"connection_id":175579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":175579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:17:45] local.INFO: TCP Data received {"connection_id":175579,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:17:45] local.INFO: Processing buffer {"connection_id":175579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b05dd0012d34c14006aa42c80006000229..."} 
[2026-09-09 11:17:45] local.INFO: Packet analysis {"connection_id":175579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:17:45] local.INFO: Extracted packet for processing {"connection_id":175579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b0"} 
[2026-09-09 11:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":6,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966654720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788932546000,"timestamp_ms":1788932546000,"timestamp_seconds":1788932546,"priority":1,"record_length":96,"hex_timestamp":"000001a084b05dd0"} 
[2026-09-09 11:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:17: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-09-09 11:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966654720001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966654720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:17:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966654720001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":175579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:17:45] local.INFO: GPS data processed {"connection_id":175579,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:17:45] local.INFO: Acknowledgment sent {"connection_id":175579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:17:48] local.INFO: TCP Data received {"connection_id":175580,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:17:48] local.INFO: Processing buffer {"connection_id":175580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:17:48] local.INFO: IMEI packet received {"connection_id":175580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":175580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:18:10] local.INFO: TCP Data received {"connection_id":178158,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b46ce0012d1965c0071fef68004100cf17..."} 
[2026-09-09 11:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b46ce0012d1965c0071fef68004100cf17..."} 
[2026-09-09 11:18:10] local.INFO: Processing buffer {"connection_id":178158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b46ce0012d1965c0071fef68004100cf17..."} 
[2026-09-09 11:18:10] local.INFO: Packet analysis {"connection_id":178158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:18:10] local.INFO: Extracted packet for processing {"connection_id":178158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533416,"longitude_deg":75.6639168,"latitude_deg":11.9533416,"altitude":65,"angle":207,"satellites":23,"speed":2,"hex_longitude":"2d1965c0","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-09 11:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966799360001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18767980586336256,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173274624,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788932812000,"timestamp_ms":1788932812000,"timestamp_seconds":1788932812,"priority":1,"record_length":96,"hex_timestamp":"000001a084b46ce0"} 
[2026-09-09 11:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4804586537427664896,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2226368864,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2907963392,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503886003175424,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3024730113,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4066377793,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516333670,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":504667045355651328,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181877522301184,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495800,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2302113466862875669,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84751889572765682,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.WARNING: Large IO value detected {"io_id":232,"raw_value":18015721661399040,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,173,160,97,45,128,240,65,23,10,66,93,81,192,1,60,227,132,31,4,113,205,3,101,216,239,47,2,7,69,88,232],"length":583,"final_offset":713,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-09 11:18:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683950419435782144,"timestamp_seconds":4683950419435782.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 11:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":178158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":178158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":178158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:18:10] 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-09-09 11:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966799360001,"66":12156,"102":206,"83":41984,"24":2,"16":18767980586336256,"45":1830150329173274624},"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-09-09 11:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966799360001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:18:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18767980586336256,"km_value":18767980586336.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173274624,"description":"Unknown IO ID 45"} 
[2026-09-09 11:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966799360001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1830150329173274624}} 
[2026-09-09 11:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":178158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:18:10] local.INFO: GPS data processed {"connection_id":178158,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:18:10] local.INFO: Acknowledgment sent {"connection_id":178158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:18:17] local.INFO: TCP Data received {"connection_id":175579,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:18:17] local.INFO: Processing buffer {"connection_id":175579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:18:17] local.INFO: Packet analysis {"connection_id":175579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:18:17] local.INFO: Extracted packet for processing {"connection_id":175579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":175579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:18:17] local.INFO: GPS data processed {"connection_id":175579,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:18:17] local.INFO: Acknowledgment sent {"connection_id":175579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:18:30] local.INFO: TCP Data received {"connection_id":178159,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:18:30] local.INFO: Processing buffer {"connection_id":178159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:18:30] local.INFO: IMEI packet received {"connection_id":178159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":178159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:18:34] local.INFO: TCP Data received {"connection_id":178159,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:18:34] local.INFO: Processing buffer {"connection_id":178159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:18:34] local.INFO: IMEI packet received {"connection_id":178159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":178159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:18:35] local.INFO: TCP Data received {"connection_id":178159,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:18:35] local.INFO: Processing buffer {"connection_id":178159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:18:35] local.INFO: IMEI packet received {"connection_id":178159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":178159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:18:36] local.INFO: TCP Data received {"connection_id":178159,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4bee8012d1965c0071feeb0004000cd17..."} 
[2026-09-09 11:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4bee8012d1965c0071feeb0004000cd17..."} 
[2026-09-09 11:18:36] local.INFO: Processing buffer {"connection_id":178159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4bee8012d1965c0071feeb0004000cd17..."} 
[2026-09-09 11:18:36] local.INFO: Packet analysis {"connection_id":178159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:18:36] local.INFO: Extracted packet for processing {"connection_id":178159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533232,"longitude_deg":75.6639168,"latitude_deg":11.9533232,"altitude":64,"angle":205,"satellites":23,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071feeb0","is_valid_coordinates":true} 
[2026-09-09 11:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966799872001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18768006356140032,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429062144,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788932833000,"timestamp_ms":1788932833000,"timestamp_seconds":1788932833,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4bee8"} 
[2026-09-09 11:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 11:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:18:36] 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-09-09 11:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966799872001,"66":11711,"102":206,"83":41984,"24":0,"16":18768006356140032,"45":1830079960429062144},"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-09-09 11:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966799872001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:18:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18768006356140032,"km_value":18768006356140.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429062144,"description":"Unknown IO ID 45"} 
[2026-09-09 11:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966799872001,"power":11711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429062144}} 
[2026-09-09 11:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":178159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:18:36] local.INFO: GPS data processed {"connection_id":178159,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:18:36] local.INFO: Acknowledgment sent {"connection_id":178159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:18:37] local.INFO: TCP Data received {"connection_id":178159,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b510f0012d196580071fee78004000cd1a..."} 
[2026-09-09 11:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b510f0012d196580071fee78004000cd1a..."} 
[2026-09-09 11:18:37] local.INFO: Processing buffer {"connection_id":178159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b510f0012d196580071fee78004000cd1a..."} 
[2026-09-09 11:18:37] local.INFO: Packet analysis {"connection_id":178159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b5"} 
[2026-09-09 11:18:37] local.INFO: Extracted packet for processing {"connection_id":178159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b5"} 
[2026-09-09 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533176,"longitude_deg":75.6639104,"latitude_deg":11.9533176,"altitude":64,"angle":205,"satellites":26,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-09-09 11:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966805248001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18768014946074624,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429015040,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18: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-09-09 11:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788932854000,"timestamp_ms":1788932854000,"timestamp_seconds":1788932854,"priority":1,"record_length":96,"hex_timestamp":"000001a084b510f0"} 
[2026-09-09 11:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:18: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":191,"data_length":795,"current_offset":136} 
[2026-09-09 11:18:37] 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-09-09 11:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:18: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-09-09 11:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966805248001,"66":12232,"102":206,"83":41984,"24":0,"16":18768014946074624,"45":1830079960429015040},"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-09-09 11:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966805248001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:18:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 11:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18768014946074624,"km_value":18768014946074.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429015040,"description":"Unknown IO ID 45"} 
[2026-09-09 11:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966805248001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429015040}} 
[2026-09-09 11:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":178159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:18:38] local.INFO: GPS data processed {"connection_id":178159,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:18:38] local.INFO: Acknowledgment sent {"connection_id":178159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:18:39] local.INFO: TCP Data received {"connection_id":178160,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:18:39] local.INFO: Processing buffer {"connection_id":178160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:18:39] local.INFO: IMEI packet received {"connection_id":178160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":178160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:18:44] local.INFO: TCP Data received {"connection_id":178160,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:18:44] local.INFO: Processing buffer {"connection_id":178160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:18:44] local.INFO: IMEI packet received {"connection_id":178160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":178160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:18:46] local.INFO: TCP Data received {"connection_id":178160,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:18:46] local.INFO: Processing buffer {"connection_id":178160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:18:46] local.INFO: Packet analysis {"connection_id":178160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:18:46] local.INFO: Extracted packet for processing {"connection_id":178160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:18: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-09-09 11:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:18:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":178160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:18:46] local.INFO: GPS data processed {"connection_id":178160,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:18:46] local.INFO: Acknowledgment sent {"connection_id":178160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:19:09] local.INFO: TCP Data received {"connection_id":178159,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b65528012d19c880071ff498003400121a..."} 
[2026-09-09 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b65528012d19c880071ff498003400121a..."} 
[2026-09-09 11:19:09] local.INFO: Processing buffer {"connection_id":178159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b65528012d19c880071ff498003400121a..."} 
[2026-09-09 11:19:09] local.INFO: Packet analysis {"connection_id":178159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b6"} 
[2026-09-09 11:19:09] local.INFO: Extracted packet for processing {"connection_id":178159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b6"} 
[2026-09-09 11:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119534744,"longitude_deg":75.6664448,"latitude_deg":11.9534744,"altitude":52,"angle":18,"satellites":26,"speed":12,"hex_longitude":"2d19c880","hex_latitude":"071ff498","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966831616001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18769281961426944,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857664508146974720,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788932937000,"timestamp_ms":1788932937000,"timestamp_seconds":1788932937,"priority":1,"record_length":96,"hex_timestamp":"000001a084b65528"} 
[2026-09-09 11:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 11:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:19:09] 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-09-09 11:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966831616001,"66":14265,"101":206,"83":41984,"24":12,"16":18769281961426944,"45":1857664508146974720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 11:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966831616001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:19:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 11:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18769281961426944,"km_value":18769281961426.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857664508146974720,"description":"Unknown IO ID 45"} 
[2026-09-09 11:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966831616001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1857664508146974720}} 
[2026-09-09 11:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":178159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:19:09] local.INFO: GPS data processed {"connection_id":178159,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:19:09] local.INFO: Acknowledgment sent {"connection_id":178159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:19:17] local.INFO: TCP Data received {"connection_id":178160,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:19:17] local.INFO: Processing buffer {"connection_id":178160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:19:17] local.INFO: Packet analysis {"connection_id":178160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:19:17] local.INFO: Extracted packet for processing {"connection_id":178160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:19: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-09-09 11:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:19:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":178160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:19:17] local.INFO: GPS data processed {"connection_id":178160,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:19:17] local.INFO: Acknowledgment sent {"connection_id":178160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:19:30] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:19:30] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:19:30] local.INFO: IMEI packet received {"connection_id":176707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":176707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:19:34] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:19:34] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:19:34] local.INFO: IMEI packet received {"connection_id":176707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":176707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:19:35] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:19:35] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:19:35] local.INFO: IMEI packet received {"connection_id":176707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":176707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:19:36] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b660e0012d19ca40071ff858003400211a..."} 
[2026-09-09 11:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b660e0012d19ca40071ff858003400211a..."} 
[2026-09-09 11:19:36] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b660e0012d19ca40071ff858003400211a..."} 
[2026-09-09 11:19:36] local.INFO: Packet analysis {"connection_id":176707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b6"} 
[2026-09-09 11:19:36] local.INFO: Extracted packet for processing {"connection_id":176707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b6"} 
[2026-09-09 11:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119535704,"longitude_deg":75.6664896,"latitude_deg":11.9535704,"altitude":52,"angle":33,"satellites":26,"speed":15,"hex_longitude":"2d19ca40","hex_latitude":"071ff858","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966831872001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18769333501034496,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379579392,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19: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-09-09 11:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788932940000,"timestamp_ms":1788932940000,"timestamp_seconds":1788932940,"priority":1,"record_length":96,"hex_timestamp":"000001a084b660e0"} 
[2026-09-09 11:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 11:19: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-09-09 11: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-09-09 11:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:19:36] 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-09-09 11:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966831872001,"66":14265,"101":206,"83":41984,"24":15,"16":18769333501034496,"45":1857875614379579392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 11:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966831872001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:19:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 11:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18769333501034496,"km_value":18769333501034.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379579392,"description":"Unknown IO ID 45"} 
[2026-09-09 11:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966831872001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1857875614379579392}} 
[2026-09-09 11:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":176707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:19:36] local.INFO: GPS data processed {"connection_id":176707,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:19:36] local.INFO: Acknowledgment sent {"connection_id":176707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:19:41] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b668b0012d19cc80071ffaa00035003b1a..."} 
[2026-09-09 11:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b668b0012d19cc80071ffaa00035003b1a..."} 
[2026-09-09 11:19:41] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b668b0012d19cc80071ffaa00035003b1a..."} 
[2026-09-09 11:19:41] local.INFO: Packet analysis {"connection_id":176707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b6"} 
[2026-09-09 11:19:41] local.INFO: Extracted packet for processing {"connection_id":176707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b6"} 
[2026-09-09 11:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119536288,"longitude_deg":75.6665472,"latitude_deg":11.9536288,"altitude":53,"angle":59,"satellites":26,"speed":18,"hex_longitude":"2d19cc80","hex_latitude":"071ffaa0","is_valid_coordinates":true} 
[2026-09-09 11:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966832640001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18769372155740160,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195589068800,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788932942000,"timestamp_ms":1788932942000,"timestamp_seconds":1788932942,"priority":1,"record_length":96,"hex_timestamp":"000001a084b668b0"} 
[2026-09-09 11:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 11:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:19:41] 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-09-09 11:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966832640001,"66":14298,"101":206,"83":41984,"24":18,"16":18769372155740160,"45":1858368195589068800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 11:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966832640001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:19:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 11:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18769372155740160,"km_value":18769372155740.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195589068800,"description":"Unknown IO ID 45"} 
[2026-09-09 11:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966832640001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1858368195589068800}} 
[2026-09-09 11:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":176707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:19:41] local.INFO: GPS data processed {"connection_id":176707,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:19:41] local.INFO: Acknowledgment sent {"connection_id":176707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:19:44] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:19:44] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:19:44] local.INFO: IMEI packet received {"connection_id":175365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":175365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:19:49] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:19:49] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:19:49] local.INFO: IMEI packet received {"connection_id":175365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":175365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:19:51] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:19:51] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:19:51] local.INFO: Packet analysis {"connection_id":175365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:19:51] local.INFO: Extracted packet for processing {"connection_id":175365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:19: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-09-09 11:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:19:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":175365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:19:51] local.INFO: GPS data processed {"connection_id":175365,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:19:51] local.INFO: Acknowledgment sent {"connection_id":175365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:19:55] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:19:55] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:19:55] local.INFO: Packet analysis {"connection_id":175365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:19:55] local.INFO: Extracted packet for processing {"connection_id":175365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:19:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:19:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":175365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:19:55] local.INFO: GPS data processed {"connection_id":175365,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:19:55] local.INFO: Acknowledgment sent {"connection_id":175365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:20:12] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b67c38012d19d500071fff900035002d1a..."} 
[2026-09-09 11:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b67c38012d19d500071fff900035002d1a..."} 
[2026-09-09 11:20:12] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b67c38012d19d500071fff900035002d1a..."} 
[2026-09-09 11:20:12] local.INFO: Packet analysis {"connection_id":176707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b6"} 
[2026-09-09 11:20:12] local.INFO: Extracted packet for processing {"connection_id":176707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b6"} 
[2026-09-09 11:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756667648,"raw_latitude":119537552,"longitude_deg":75.6667648,"latitude_deg":11.9537552,"altitude":53,"angle":45,"satellites":26,"speed":18,"hex_longitude":"2d19d500","hex_latitude":"071fff90","is_valid_coordinates":true} 
[2026-09-09 11:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966833152001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18769492414824448,"note":"Value kept but may cause issues"} 
[2026-09-09 11:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514286817280,"note":"Value kept but may cause issues"} 
[2026-09-09 11:20: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-09-09 11:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788932947000,"timestamp_ms":1788932947000,"timestamp_seconds":1788932947,"priority":1,"record_length":96,"hex_timestamp":"000001a084b67c38"} 
[2026-09-09 11:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 11:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:20:12] 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-09-09 11:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966833152001,"66":14233,"101":206,"83":41984,"24":18,"16":18769492414824448,"45":1859001514286817280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 11:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966833152001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:20:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 11:20:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18769492414824448,"km_value":18769492414824.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514286817280,"description":"Unknown IO ID 45"} 
[2026-09-09 11:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966833152001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1859001514286817280}} 
[2026-09-09 11:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":176707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:20:12] local.INFO: GPS data processed {"connection_id":176707,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:20:12] local.INFO: Acknowledgment sent {"connection_id":176707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:20:30] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:20:30] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:20:30] local.INFO: IMEI packet received {"connection_id":175367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":175367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:20:33] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:20:33] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:20:33] local.INFO: IMEI packet received {"connection_id":175367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":175367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:20:35] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:20:35] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:20:35] local.INFO: IMEI packet received {"connection_id":175367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":175367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:20:36] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b77638012d19ac00072088e0002f015c1b..."} 
[2026-09-09 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b77638012d19ac00072088e0002f015c1b..."} 
[2026-09-09 11:20:36] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b77638012d19ac00072088e0002f015c1b..."} 
[2026-09-09 11:20:36] local.INFO: Packet analysis {"connection_id":175367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b7"} 
[2026-09-09 11:20:36] local.INFO: Extracted packet for processing {"connection_id":175367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b7"} 
[2026-09-09 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119572704,"longitude_deg":75.6657152,"latitude_deg":11.9572704,"altitude":47,"angle":348,"satellites":27,"speed":33,"hex_longitude":"2d19ac00","hex_latitude":"072088e0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966848256001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18771395085336576,"note":"Value kept but may cause issues"} 
[2026-09-09 11:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171038810112,"note":"Value kept but may cause issues"} 
[2026-09-09 11:20: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-09-09 11:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788933011000,"timestamp_ms":1788933011000,"timestamp_seconds":1788933011,"priority":1,"record_length":96,"hex_timestamp":"000001a084b77638"} 
[2026-09-09 11:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":218,"data_length":795,"current_offset":136} 
[2026-09-09 11:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:20:36] 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-09-09 11:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966848256001,"66":14363,"103":206,"83":41984,"24":33,"16":18771395085336576,"45":1853020171038810112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 11:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966848256001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:20:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 11:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18771395085336576,"km_value":18771395085336.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171038810112,"description":"Unknown IO ID 45"} 
[2026-09-09 11:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966848256001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1853020171038810112}} 
[2026-09-09 11:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":175367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:20:36] local.INFO: GPS data processed {"connection_id":175367,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:20:36] local.INFO: Acknowledgment sent {"connection_id":175367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:20:39] local.INFO: TCP Data received {"connection_id":178161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:20:39] local.INFO: Processing buffer {"connection_id":178161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:20:39] local.INFO: IMEI packet received {"connection_id":178161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":178161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:20:44] local.INFO: TCP Data received {"connection_id":178161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:20:44] local.INFO: Processing buffer {"connection_id":178161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:20:44] local.INFO: IMEI packet received {"connection_id":178161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":178161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:20:45] local.INFO: TCP Data received {"connection_id":178161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:20:45] local.INFO: Processing buffer {"connection_id":178161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:20:45] local.INFO: Packet analysis {"connection_id":178161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:20:45] local.INFO: Extracted packet for processing {"connection_id":178161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":178161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:20:45] local.INFO: GPS data processed {"connection_id":178161,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:20:45] local.INFO: Acknowledgment sent {"connection_id":178161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:21:07] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b82218012d1966c00720ac20003201071c..."} 
[2026-09-09 11:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b82218012d1966c00720ac20003201071c..."} 
[2026-09-09 11:21:07] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b82218012d1966c00720ac20003201071c..."} 
[2026-09-09 11:21:07] local.INFO: Packet analysis {"connection_id":175367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b8"} 
[2026-09-09 11:21:07] local.INFO: Extracted packet for processing {"connection_id":175367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b8"} 
[2026-09-09 11:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119581728,"longitude_deg":75.6639424,"latitude_deg":11.9581728,"altitude":50,"angle":263,"satellites":28,"speed":32,"hex_longitude":"2d1966c0","hex_latitude":"0720ac20","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966861056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18772889733955584,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833879872627230720,"note":"Value kept but may cause issues"} 
[2026-09-09 11: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-09-09 11:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788933055000,"timestamp_ms":1788933055000,"timestamp_seconds":1788933055,"priority":1,"record_length":96,"hex_timestamp":"000001a084b82218"} 
[2026-09-09 11:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 11:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:21:07] 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-09-09 11:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966861056001,"66":14374,"103":206,"83":41984,"24":32,"16":18772889733955584,"45":1833879872627230720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 11:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966861056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:21:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 11:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18772889733955584,"km_value":18772889733955.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833879872627230720,"description":"Unknown IO ID 45"} 
[2026-09-09 11:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966861056001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1833879872627230720}} 
[2026-09-09 11:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":175367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:21:07] local.INFO: GPS data processed {"connection_id":175367,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:21:07] local.INFO: Acknowledgment sent {"connection_id":175367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:21:17] local.INFO: TCP Data received {"connection_id":178161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:21:17] local.INFO: Processing buffer {"connection_id":178161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:21:17] local.INFO: Packet analysis {"connection_id":178161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:21:17] local.INFO: Extracted packet for processing {"connection_id":178161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":178161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:21:17] local.INFO: GPS data processed {"connection_id":178161,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:21:17] local.INFO: Acknowledgment sent {"connection_id":178161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:21:30] local.INFO: TCP Data received {"connection_id":176708,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:21:30] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:21:30] local.INFO: IMEI packet received {"connection_id":176708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":176708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:21:36] local.INFO: TCP Data received {"connection_id":176708,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:21:36] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:21:36] local.INFO: IMEI packet received {"connection_id":176708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":176708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:21:36] local.INFO: TCP Data received {"connection_id":176708,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b83988012d1952800720ab48003101131c..."} 
[2026-09-09 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b83988012d1952800720ab48003101131c..."} 
[2026-09-09 11:21:36] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b83988012d1952800720ab48003101131c..."} 
[2026-09-09 11:21:36] local.INFO: Packet analysis {"connection_id":176708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b8"} 
[2026-09-09 11:21:36] local.INFO: Extracted packet for processing {"connection_id":176708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b8"} 
[2026-09-09 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756634240,"raw_latitude":119581512,"longitude_deg":75.663424,"latitude_deg":11.9581512,"altitude":49,"angle":275,"satellites":28,"speed":33,"hex_longitude":"2d195280","hex_latitude":"0720ab48","is_valid_coordinates":true} 
[2026-09-09 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966862080001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18773138842058752,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435418140672,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788933061000,"timestamp_ms":1788933061000,"timestamp_seconds":1788933061,"priority":1,"record_length":96,"hex_timestamp":"000001a084b83988"} 
[2026-09-09 11:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 11:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:21:36] 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-09-09 11:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966862080001,"66":14374,"103":206,"83":41984,"24":33,"16":18773138842058752,"45":1830361435418140672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 11:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966862080001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:21:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 11:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18773138842058752,"km_value":18773138842058.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435418140672,"description":"Unknown IO ID 45"} 
[2026-09-09 11:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966862080001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1830361435418140672}} 
[2026-09-09 11:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":176708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:21:36] local.INFO: GPS data processed {"connection_id":176708,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:21:36] local.INFO: Acknowledgment sent {"connection_id":176708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:21:39] local.INFO: TCP Data received {"connection_id":176709,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:21:39] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:21:39] local.INFO: IMEI packet received {"connection_id":176709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":176709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:21:44] local.INFO: TCP Data received {"connection_id":176709,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:21:44] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:21:44] local.INFO: IMEI packet received {"connection_id":176709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":176709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:21:46] local.INFO: TCP Data received {"connection_id":176709,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:21:46] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:21:46] local.INFO: Packet analysis {"connection_id":176709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:21:46] local.INFO: Extracted packet for processing {"connection_id":176709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":176709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:21:46] local.INFO: GPS data processed {"connection_id":176709,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:21:46] local.INFO: Acknowledgment sent {"connection_id":176709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:22:07] local.INFO: TCP Data received {"connection_id":176708,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b84928012d1945400720ae98003001221c..."} 
[2026-09-09 11:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b84928012d1945400720ae98003001221c..."} 
[2026-09-09 11:22:07] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b84928012d1945400720ae98003001221c..."} 
[2026-09-09 11:22:07] local.INFO: Packet analysis {"connection_id":176708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b8"} 
[2026-09-09 11:22:07] local.INFO: Extracted packet for processing {"connection_id":176708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b8"} 
[2026-09-09 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756630848,"raw_latitude":119582360,"longitude_deg":75.6630848,"latitude_deg":11.958236,"altitude":48,"angle":290,"satellites":28,"speed":35,"hex_longitude":"2d194540","hex_latitude":"0720ae98","is_valid_coordinates":true} 
[2026-09-09 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966863616001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18773302050816000,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567139694592,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788933065000,"timestamp_ms":1788933065000,"timestamp_seconds":1788933065,"priority":1,"record_length":96,"hex_timestamp":"000001a084b84928"} 
[2026-09-09 11:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 11:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:22:07] 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-09-09 11:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966863616001,"66":14298,"103":206,"83":41984,"24":35,"16":18773302050816000,"45":1824661567139694592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 11:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966863616001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:22:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 11:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18773302050816000,"km_value":18773302050816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567139694592,"description":"Unknown IO ID 45"} 
[2026-09-09 11:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966863616001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1824661567139694592}} 
[2026-09-09 11:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":176708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:22:07] local.INFO: GPS data processed {"connection_id":176708,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:22:07] local.INFO: Acknowledgment sent {"connection_id":176708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:22:17] local.INFO: TCP Data received {"connection_id":176709,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:22:17] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:22:17] local.INFO: Packet analysis {"connection_id":176709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:22:17] local.INFO: Extracted packet for processing {"connection_id":176709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":176709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:22:17] local.INFO: GPS data processed {"connection_id":176709,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:22:17] local.INFO: Acknowledgment sent {"connection_id":176709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:22:33] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:33] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:33] local.INFO: IMEI packet received {"connection_id":175369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":175369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:22:34] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:34] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:34] local.INFO: IMEI packet received {"connection_id":175369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":175369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:22:35] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:35] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:35] local.INFO: IMEI packet received {"connection_id":175369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":175369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:22:39] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:39] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:22:39] local.INFO: IMEI packet received {"connection_id":175369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":175369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:22:39] local.INFO: TCP Data received {"connection_id":176710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:22:39] local.INFO: Processing buffer {"connection_id":176710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:22:39] local.INFO: IMEI packet received {"connection_id":176710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":176710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:22:40] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b96e20012d18d0c0072119c0004000041e..."} 
[2026-09-09 11:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b96e20012d18d0c0072119c0004000041e..."} 
[2026-09-09 11:22:40] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b96e20012d18d0c0072119c0004000041e..."} 
[2026-09-09 11:22:40] local.INFO: Packet analysis {"connection_id":175369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:22:40] local.INFO: Extracted packet for processing {"connection_id":175369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119609792,"longitude_deg":75.6601024,"latitude_deg":11.9609792,"altitude":64,"angle":4,"satellites":30,"speed":4,"hex_longitude":"2d18d0c0","hex_latitude":"072119c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966882816001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18775376520019968,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451430301696,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788933140000,"timestamp_ms":1788933140000,"timestamp_seconds":1788933140,"priority":1,"record_length":96,"hex_timestamp":"000001a084b96e20"} 
[2026-09-09 11:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-09 11:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:22:40] 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-09-09 11:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966882816001,"66":14298,"103":206,"83":41984,"24":4,"16":18775376520019968,"45":1787999451430301696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 11:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966882816001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:22:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 11:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18775376520019968,"km_value":18775376520019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451430301696,"description":"Unknown IO ID 45"} 
[2026-09-09 11:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966882816001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1787999451430301696}} 
[2026-09-09 11:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":175369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:22:40] local.INFO: GPS data processed {"connection_id":175369,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:22:40] local.INFO: Acknowledgment sent {"connection_id":175369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:22:41] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d18d100072125d8004101611e..."} 
[2026-09-09 11:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d18d100072125d8004101611e..."} 
[2026-09-09 11:22:41] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d18d100072125d8004101611e..."} 
[2026-09-09 11:22:41] local.INFO: Packet analysis {"connection_id":175369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:22:41] local.INFO: Extracted packet for processing {"connection_id":175369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119612888,"longitude_deg":75.6601088,"latitude_deg":11.9612888,"altitude":65,"angle":353,"satellites":30,"speed":21,"hex_longitude":"2d18d100","hex_latitude":"072125d8","is_valid_coordinates":true} 
[2026-09-09 11:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18775526843875328,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188918726656,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22: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-09-09 11:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 11:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:22:41] 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-09-09 11:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966883840001,"66":13896,"103":206,"83":41984,"24":21,"16":18775526843875328,"45":1788140188918726656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 11:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:22:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 11:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18775526843875328,"km_value":18775526843875.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188918726656,"description":"Unknown IO ID 45"} 
[2026-09-09 11:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966883840001,"power":13896,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1788140188918726656}} 
[2026-09-09 11:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":175369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:22:41] local.INFO: GPS data processed {"connection_id":175369,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:22:41] local.INFO: Acknowledgment sent {"connection_id":175369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:22:44] local.INFO: TCP Data received {"connection_id":176710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:22:44] local.INFO: Processing buffer {"connection_id":176710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:22:44] local.INFO: IMEI packet received {"connection_id":176710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":176710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:22:46] local.INFO: TCP Data received {"connection_id":176710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:22:46] local.INFO: Processing buffer {"connection_id":176710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b4f598012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:22:46] local.INFO: Packet analysis {"connection_id":176710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:22:46] local.INFO: Extracted packet for processing {"connection_id":176710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b4"} 
[2026-09-09 11:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966731776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788932847000,"timestamp_ms":1788932847000,"timestamp_seconds":1788932847,"priority":1,"record_length":96,"hex_timestamp":"000001a084b4f598"} 
[2026-09-09 11:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966731776001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966731776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966731776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":176710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:22:46] local.INFO: GPS data processed {"connection_id":176710,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:22:46] local.INFO: Acknowledgment sent {"connection_id":176710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:23:12] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b99530012d18d04007212a58004101531e..."} 
[2026-09-09 11:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b99530012d18d04007212a58004101531e..."} 
[2026-09-09 11:23:12] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b99530012d18d04007212a58004101531e..."} 
[2026-09-09 11:23:12] local.INFO: Packet analysis {"connection_id":175369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:23:12] local.INFO: Extracted packet for processing {"connection_id":175369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119614040,"longitude_deg":75.6600896,"latitude_deg":11.961404,"altitude":65,"angle":339,"satellites":30,"speed":24,"hex_longitude":"2d18d040","hex_latitude":"07212a58","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18775582678450176,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663696896,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23: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-09-09 11:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788933150000,"timestamp_ms":1788933150000,"timestamp_seconds":1788933150,"priority":1,"record_length":96,"hex_timestamp":"000001a084b99530"} 
[2026-09-09 11:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:23:12] 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-09-09 11: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-09 11:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:23:12] 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-09-09 11:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":13319,"103":206,"83":41984,"24":24,"16":18775582678450176,"45":1788210557663696896},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 11:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:23:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 11:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18775582678450176,"km_value":18775582678450.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663696896,"description":"Unknown IO ID 45"} 
[2026-09-09 11:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":13319,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1788210557663696896}} 
[2026-09-09 11:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":175369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:23:12] local.INFO: GPS data processed {"connection_id":175369,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:23:12] local.INFO: Acknowledgment sent {"connection_id":175369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:23:17] local.INFO: TCP Data received {"connection_id":176710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:23:17] local.INFO: Processing buffer {"connection_id":176710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:23:17] local.INFO: Packet analysis {"connection_id":176710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:23:17] local.INFO: Extracted packet for processing {"connection_id":176710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":176710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:23:17] local.INFO: GPS data processed {"connection_id":176710,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:23:17] local.INFO: Acknowledgment sent {"connection_id":176710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:23:21] local.INFO: TCP Data received {"connection_id":175581,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:23:21] local.INFO: Processing buffer {"connection_id":175581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:23:21] local.INFO: IMEI packet received {"connection_id":175581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":175581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:23:30] local.INFO: TCP Data received {"connection_id":178163,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:23:30] local.INFO: Processing buffer {"connection_id":178163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:23:30] local.INFO: IMEI packet received {"connection_id":178163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":178163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:23:35] local.INFO: TCP Data received {"connection_id":178163,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:23:35] local.INFO: Processing buffer {"connection_id":178163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:23:35] local.INFO: IMEI packet received {"connection_id":178163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":178163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:23:36] local.INFO: TCP Data received {"connection_id":178163,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b9a0e8012d18cc0007213190004101451f..."} 
[2026-09-09 11:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b9a0e8012d18cc0007213190004101451f..."} 
[2026-09-09 11:23:36] local.INFO: Processing buffer {"connection_id":178163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b9a0e8012d18cc0007213190004101451f..."} 
[2026-09-09 11:23:36] local.INFO: Packet analysis {"connection_id":178163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:23:36] local.INFO: Extracted packet for processing {"connection_id":178163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756599808,"raw_latitude":119615888,"longitude_deg":75.6599808,"latitude_deg":11.9615888,"altitude":65,"angle":325,"satellites":31,"speed":30,"hex_longitude":"2d18cc00","hex_latitude":"07213190","is_valid_coordinates":true} 
[2026-09-09 11:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966886400001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18775685757665280,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451431458816,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788933153000,"timestamp_ms":1788933153000,"timestamp_seconds":1788933153,"priority":1,"record_length":96,"hex_timestamp":"000001a084b9a0e8"} 
[2026-09-09 11:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:23:36] 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-09-09 11:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2226712864,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3017474048,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3104858113,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":114,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-2197755324954427385,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-626000077600973568,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,180,160,141,45,37,65,30,10,66,110,192,25,64,94,1,240,27,227,132,33,4,113,205,21,248,212,40,239,55,2,7,29,114,184,32],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-09 11:23:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684116475757723648,"timestamp_seconds":4684116475757724.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 11:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:23:36] 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-09-09 11:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966886400001,"66":14374,"103":206,"83":41984,"24":30,"16":18775685757665280,"45":1787999451431458816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 11:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966886400001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:23:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 11:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18775685757665280,"km_value":18775685757665.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451431458816,"description":"Unknown IO ID 45"} 
[2026-09-09 11:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966886400001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1787999451431458816}} 
[2026-09-09 11:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":178163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:23:36] local.INFO: GPS data processed {"connection_id":178163,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:23:36] local.INFO: Acknowledgment sent {"connection_id":178163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:23:39] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:23:39] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:23:39] local.INFO: IMEI packet received {"connection_id":176712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":176712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:23:41] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:23:41] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:23:41] local.INFO: IMEI packet received {"connection_id":176711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":176711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:23:44] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:23:44] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:23:44] local.INFO: IMEI packet received {"connection_id":176712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":176712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:23:46] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:23:46] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:23:46] local.INFO: Packet analysis {"connection_id":176712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:23:46] local.INFO: Extracted packet for processing {"connection_id":176712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":176712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:23:46] local.INFO: GPS data processed {"connection_id":176712,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:23:46] local.INFO: Acknowledgment sent {"connection_id":176712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:24:08] local.INFO: TCP Data received {"connection_id":178163,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084b9b088012d18c5c007213c70004101531f..."} 
[2026-09-09 11:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b9b088012d18c5c007213c70004101531f..."} 
[2026-09-09 11:24:08] local.INFO: Processing buffer {"connection_id":178163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b9b088012d18c5c007213c70004101531f..."} 
[2026-09-09 11:24:08] local.INFO: Packet analysis {"connection_id":178163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:24:08] local.INFO: Extracted packet for processing {"connection_id":178163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119618672,"longitude_deg":75.6598208,"latitude_deg":11.9618672,"altitude":65,"angle":339,"satellites":31,"speed":31,"hex_longitude":"2d18c5c0","hex_latitude":"07213c70","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18775840376487936,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786803182780911616,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24: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-09-09 11:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788933157000,"timestamp_ms":1788933157000,"timestamp_seconds":1788933157,"priority":1,"record_length":96,"hex_timestamp":"000001a084b9b088"} 
[2026-09-09 11:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:24:08] 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-09-09 11:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 11:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:24:08] 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-09-09 11:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966887168001,"66":13537,"103":206,"83":41984,"24":31,"16":18775840376487936,"45":1786803182780911616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 11:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:24:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 11:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18775840376487936,"km_value":18775840376487.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786803182780911616,"description":"Unknown IO ID 45"} 
[2026-09-09 11:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966887168001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1786803182780911616}} 
[2026-09-09 11:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":178163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:24:08] local.INFO: GPS data processed {"connection_id":178163,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:24:08] local.INFO: Acknowledgment sent {"connection_id":178163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:24:18] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:24:18] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:24:18] local.INFO: Packet analysis {"connection_id":176712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:24:18] local.INFO: Extracted packet for processing {"connection_id":176712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:24: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-09-09 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":176712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:24:18] local.INFO: GPS data processed {"connection_id":176712,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:24:18] local.INFO: Acknowledgment sent {"connection_id":176712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:24:30] local.INFO: TCP Data received {"connection_id":175582,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:24:30] local.INFO: Processing buffer {"connection_id":175582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:24:30] local.INFO: IMEI packet received {"connection_id":175582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":175582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:24:35] local.INFO: TCP Data received {"connection_id":175582,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:24:35] local.INFO: Processing buffer {"connection_id":175582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:24:35] local.INFO: IMEI packet received {"connection_id":175582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":175582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:24:36] local.INFO: TCP Data received {"connection_id":175582,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084baf8a8012d181dc00721a968004b01641f..."} 
[2026-09-09 11:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084baf8a8012d181dc00721a968004b01641f..."} 
[2026-09-09 11:24:36] local.INFO: Processing buffer {"connection_id":175582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084baf8a8012d181dc00721a968004b01641f..."} 
[2026-09-09 11:24:36] local.INFO: Packet analysis {"connection_id":175582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ba"} 
[2026-09-09 11:24:36] local.INFO: Extracted packet for processing {"connection_id":175582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ba"} 
[2026-09-09 11:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646568,"longitude_deg":75.65552,"latitude_deg":11.9646568,"altitude":75,"angle":356,"satellites":31,"speed":11,"hex_longitude":"2d181dc0","hex_latitude":"0721a968","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966909440001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18778507551178752,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841050112,"note":"Value kept but may cause issues"} 
[2026-09-09 11: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-09-09 11:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788933241000,"timestamp_ms":1788933241000,"timestamp_seconds":1788933241,"priority":1,"record_length":96,"hex_timestamp":"000001a084baf8a8"} 
[2026-09-09 11:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 11:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:24:36] 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-09-09 11:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966909440001,"66":14396,"105":206,"83":41984,"24":11,"16":18778507551178752,"45":1737826536841050112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 11:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966909440001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:24:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 11:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18778507551178752,"km_value":18778507551178.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841050112,"description":"Unknown IO ID 45"} 
[2026-09-09 11:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966909440001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737826536841050112}} 
[2026-09-09 11:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":175582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:24:36] local.INFO: GPS data processed {"connection_id":175582,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:24:36] local.INFO: Acknowledgment sent {"connection_id":175582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:24:44] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:24:44] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:24:44] local.INFO: IMEI packet received {"connection_id":176713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":176713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:24:49] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:24:49] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:24:49] local.INFO: IMEI packet received {"connection_id":176713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":176713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:24:50] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:24:50] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:24:50] local.INFO: Packet analysis {"connection_id":176713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:24:50] local.INFO: Extracted packet for processing {"connection_id":176713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:24:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:24:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":176713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:24:50] local.INFO: GPS data processed {"connection_id":176713,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:24:50] local.INFO: Acknowledgment sent {"connection_id":176713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:24:55] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:24:55] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:24:55] local.INFO: Packet analysis {"connection_id":176713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:24:55] local.INFO: Extracted packet for processing {"connection_id":176713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:24:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:24:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":176713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:24:55] local.INFO: GPS data processed {"connection_id":176713,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:24:55] local.INFO: Acknowledgment sent {"connection_id":176713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:25:07] local.INFO: TCP Data received {"connection_id":175582,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bafc90012d181e000721aaa0004b00101f..."} 
[2026-09-09 11:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bafc90012d181e000721aaa0004b00101f..."} 
[2026-09-09 11:25:07] local.INFO: Processing buffer {"connection_id":175582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bafc90012d181e000721aaa0004b00101f..."} 
[2026-09-09 11:25:07] local.INFO: Packet analysis {"connection_id":175582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ba"} 
[2026-09-09 11:25:07] local.INFO: Extracted packet for processing {"connection_id":175582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ba"} 
[2026-09-09 11:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646880,"longitude_deg":75.6555264,"latitude_deg":11.964688,"altitude":75,"angle":16,"satellites":31,"speed":14,"hex_longitude":"2d181e00","hex_latitude":"0721aaa0","is_valid_coordinates":true} 
[2026-09-09 11:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966909696001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18778520436080640,"note":"Value kept but may cause issues"} 
[2026-09-09 11:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096933888,"note":"Value kept but may cause issues"} 
[2026-09-09 11: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-09-09 11:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788933242000,"timestamp_ms":1788933242000,"timestamp_seconds":1788933242,"priority":1,"record_length":96,"hex_timestamp":"000001a084bafc90"} 
[2026-09-09 11:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 11:25: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-09-09 11:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:25:07] 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-09-09 11:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966909696001,"66":14363,"105":206,"83":41984,"24":14,"16":18778520436080640,"45":1737756168096933888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 11:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966909696001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:25:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 11:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18778520436080640,"km_value":18778520436080.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096933888,"description":"Unknown IO ID 45"} 
[2026-09-09 11:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966909696001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737756168096933888}} 
[2026-09-09 11:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":175582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:25:07] local.INFO: GPS data processed {"connection_id":175582,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:25:07] local.INFO: Acknowledgment sent {"connection_id":175582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:25:32] local.INFO: TCP Data received {"connection_id":178164,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:25:32] local.INFO: Processing buffer {"connection_id":178164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:25:32] local.INFO: IMEI packet received {"connection_id":178164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":178164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:25:40] local.INFO: TCP Data received {"connection_id":176715,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:25:40] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:25:40] local.INFO: IMEI packet received {"connection_id":176715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":176715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:25:44] local.INFO: TCP Data received {"connection_id":176715,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:25:44] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:25:44] local.INFO: IMEI packet received {"connection_id":176715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":176715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:25:45] local.INFO: TCP Data received {"connection_id":176715,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:25:45] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:25:45] local.INFO: Packet analysis {"connection_id":176715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:25:45] local.INFO: Extracted packet for processing {"connection_id":176715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:25: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-09-09 11:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:25:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":176715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:25:45] local.INFO: GPS data processed {"connection_id":176715,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:25:45] local.INFO: Acknowledgment sent {"connection_id":176715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:25:50] local.INFO: TCP Data received {"connection_id":176715,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:25:50] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:25:50] local.INFO: Packet analysis {"connection_id":176715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:25:50] local.INFO: Extracted packet for processing {"connection_id":176715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:25:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":176715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:25:50] local.INFO: GPS data processed {"connection_id":176715,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:25:50] local.INFO: Acknowledgment sent {"connection_id":176715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:26:02] local.INFO: TCP Data received {"connection_id":178164,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 11:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178164,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 11:26:02] local.INFO: Processing buffer {"connection_id":178164,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 11:26:02] local.INFO: IMEI packet received {"connection_id":178164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":178164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:26:05] local.INFO: TCP Data received {"connection_id":178164,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:26:05] local.INFO: Processing buffer {"connection_id":178164,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 11:26:05] local.INFO: IMEI packet received {"connection_id":178164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":178164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:26:12] local.INFO: TCP Data received {"connection_id":178164,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bc92d0012d18c740072307d0006700481e..."} 
[2026-09-09 11:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bc92d0012d18c740072307d0006700481e..."} 
[2026-09-09 11:26:12] local.INFO: Processing buffer {"connection_id":178164,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a084..."} 
[2026-09-09 11:26:12] local.INFO: IMEI packet received {"connection_id":178164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":178164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:26:13] local.INFO: TCP Data received {"connection_id":178164,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bc96b8012d18cbc007230790006600561f..."} 
[2026-09-09 11:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bc96b8012d18cbc007230790006600561f..."} 
[2026-09-09 11:26:13] local.INFO: Processing buffer {"connection_id":178164,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a084bc92d0012d18c740072307d0006700481e..."} 
[2026-09-09 11:26:13] local.INFO: Packet analysis {"connection_id":178164,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:26:13] local.INFO: Extracted packet for processing {"connection_id":178164,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119736272,"longitude_deg":75.6598592,"latitude_deg":11.9736272,"altitude":103,"angle":72,"satellites":30,"speed":38,"hex_longitude":"2d18c740","hex_latitude":"072307d0","is_valid_coordinates":true} 
[2026-09-09 11:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966936064001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18783494008209408,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783355114346821632,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788933346000,"timestamp_ms":1788933346000,"timestamp_seconds":1788933346,"priority":1,"record_length":96,"hex_timestamp":"000001a084bc92d0"} 
[2026-09-09 11:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 11:26: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-09-09 11:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:26:13] 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-09-09 11:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966936064001,"66":14494,"137":206,"83":42752,"24":38,"16":18783494008209408,"45":1783355114346821632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-09 11:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966936064001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:26:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-09 11:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18783494008209408,"km_value":18783494008209.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783355114346821632,"description":"Unknown IO ID 45"} 
[2026-09-09 11:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966936064001,"power":14494,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1783355114346821632}} 
[2026-09-09 11:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":178164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:26:13] local.INFO: GPS data processed {"connection_id":178164,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:26:13] local.INFO: Acknowledgment sent {"connection_id":178164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:26:13] local.INFO: Packet analysis {"connection_id":178164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:26:13] local.INFO: Extracted packet for processing {"connection_id":178164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756599744,"raw_latitude":119736208,"longitude_deg":75.6599744,"latitude_deg":11.9736208,"altitude":102,"angle":86,"satellites":31,"speed":38,"hex_longitude":"2d18cbc0","hex_latitude":"07230790","is_valid_coordinates":true} 
[2026-09-09 11:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966936576001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18783549842784256,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785466176672354304,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788933347000,"timestamp_ms":1788933347000,"timestamp_seconds":1788933347,"priority":1,"record_length":96,"hex_timestamp":"000001a084bc96b8"} 
[2026-09-09 11:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 11:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:26:13] 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-09-09 11:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966936576001,"66":14461,"137":206,"83":42752,"24":38,"16":18783549842784256,"45":1785466176672354304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-09 11:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966936576001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:26:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-09 11:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18783549842784256,"km_value":18783549842784.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785466176672354304,"description":"Unknown IO ID 45"} 
[2026-09-09 11:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966936576001,"power":14461,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1785466176672354304}} 
[2026-09-09 11:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":178164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:26:13] local.INFO: GPS data processed {"connection_id":178164,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:26:13] local.INFO: Acknowledgment sent {"connection_id":178164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:26:15] local.INFO: TCP Data received {"connection_id":178164,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bc9aa0012d18cfc007230658006600651f..."} 
[2026-09-09 11:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bc9aa0012d18cfc007230658006600651f..."} 
[2026-09-09 11:26:15] local.INFO: Processing buffer {"connection_id":178164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bc9aa0012d18cfc007230658006600651f..."} 
[2026-09-09 11:26:15] local.INFO: Packet analysis {"connection_id":178164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:26:15] local.INFO: Extracted packet for processing {"connection_id":178164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119735896,"longitude_deg":75.6600768,"latitude_deg":11.9735896,"altitude":102,"angle":101,"satellites":31,"speed":40,"hex_longitude":"2d18cfc0","hex_latitude":"07230658","is_valid_coordinates":true} 
[2026-09-09 11:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966936832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18783601382391808,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786732814067535872,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788933348000,"timestamp_ms":1788933348000,"timestamp_seconds":1788933348,"priority":1,"record_length":96,"hex_timestamp":"000001a084bc9aa0"} 
[2026-09-09 11:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:26: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 11:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:26:15] 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-09-09 11:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966936832001,"66":14461,"137":206,"83":42752,"24":40,"16":18783601382391808,"45":1786732814067535872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-09 11:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966936832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:26:15] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-09 11:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18783601382391808,"km_value":18783601382391.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786732814067535872,"description":"Unknown IO ID 45"} 
[2026-09-09 11:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966936832001,"power":14461,"unknown_137":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1786732814067535872}} 
[2026-09-09 11:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":178164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:26:15] local.INFO: GPS data processed {"connection_id":178164,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:26:15] local.INFO: Acknowledgment sent {"connection_id":178164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:26:21] local.INFO: TCP Data received {"connection_id":176715,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:26:21] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:26:21] local.INFO: Packet analysis {"connection_id":176715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:26:21] local.INFO: Extracted packet for processing {"connection_id":176715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:26:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":176715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:26:21] local.INFO: GPS data processed {"connection_id":176715,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:26:21] local.INFO: Acknowledgment sent {"connection_id":176715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:26:31] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:26:31] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:26:31] local.INFO: IMEI packet received {"connection_id":175370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":175370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:26:36] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:26:36] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:26:36] local.INFO: IMEI packet received {"connection_id":175370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":175370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:26:36] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bca270012d18d84007230278006400751f..."} 
[2026-09-09 11:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bca270012d18d84007230278006400751f..."} 
[2026-09-09 11:26:36] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bca270012d18d84007230278006400751f..."} 
[2026-09-09 11:26:36] local.INFO: Packet analysis {"connection_id":175370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:26:36] local.INFO: Extracted packet for processing {"connection_id":175370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756602944,"raw_latitude":119734904,"longitude_deg":75.6602944,"latitude_deg":11.9734904,"altitude":100,"angle":117,"satellites":31,"speed":42,"hex_longitude":"2d18d840","hex_latitude":"07230278","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966937088001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18783713051541504,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713974298624,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788933350000,"timestamp_ms":1788933350000,"timestamp_seconds":1788933350,"priority":1,"record_length":96,"hex_timestamp":"000001a084bca270"} 
[2026-09-09 11:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:26: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-09-09 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 11:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:26:36] 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-09-09 11:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966937088001,"66":13993,"137":206,"83":42752,"24":42,"16":18783713051541504,"45":1787858713974298624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-09 11:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966937088001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:26:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-09 11:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18783713051541504,"km_value":18783713051541.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713974298624,"description":"Unknown IO ID 45"} 
[2026-09-09 11:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966937088001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1787858713974298624}} 
[2026-09-09 11:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":175370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:26:36] local.INFO: GPS data processed {"connection_id":175370,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:26:36] local.INFO: Acknowledgment sent {"connection_id":175370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:26:39] local.INFO: TCP Data received {"connection_id":178165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:26:39] local.INFO: Processing buffer {"connection_id":178165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:26:39] local.INFO: IMEI packet received {"connection_id":178165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":178165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:26:44] local.INFO: TCP Data received {"connection_id":178165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:26:44] local.INFO: Processing buffer {"connection_id":178165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:26:44] local.INFO: IMEI packet received {"connection_id":178165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":178165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:26:46] local.INFO: TCP Data received {"connection_id":178165,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:26:46] local.INFO: Processing buffer {"connection_id":178165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:26:46] local.INFO: Packet analysis {"connection_id":178165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:26:46] local.INFO: Extracted packet for processing {"connection_id":178165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":178165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:26:46] local.INFO: GPS data processed {"connection_id":178165,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:26:46] local.INFO: Acknowledgment sent {"connection_id":178165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:27:08] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bcb5f8012d18ec800722fa10006100631c..."} 
[2026-09-09 11:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bcb5f8012d18ec800722fa10006100631c..."} 
[2026-09-09 11:27:08] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bcb5f8012d18ec800722fa10006100631c..."} 
[2026-09-09 11:27:08] local.INFO: Packet analysis {"connection_id":175370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:27:08] local.INFO: Extracted packet for processing {"connection_id":175370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bc"} 
[2026-09-09 11:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756608128,"raw_latitude":119732752,"longitude_deg":75.6608128,"latitude_deg":11.9732752,"altitude":97,"angle":99,"satellites":28,"speed":43,"hex_longitude":"2d18ec80","hex_latitude":"0722fa10","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966937600001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18783983634481152,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790251251276085248,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788933355000,"timestamp_ms":1788933355000,"timestamp_seconds":1788933355,"priority":1,"record_length":96,"hex_timestamp":"000001a084bcb5f8"} 
[2026-09-09 11:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 11:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:27:08] 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-09-09 11:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966937600001,"66":14515,"137":206,"83":42752,"24":43,"16":18783983634481152,"45":1790251251276085248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-09 11:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966937600001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:27:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-09 11:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18783983634481152,"km_value":18783983634481.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790251251276085248,"description":"Unknown IO ID 45"} 
[2026-09-09 11:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966937600001,"power":14515,"unknown_137":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1790251251276085248}} 
[2026-09-09 11:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":175370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:27:08] local.INFO: GPS data processed {"connection_id":175370,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:27:08] local.INFO: Acknowledgment sent {"connection_id":175370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:27:18] local.INFO: TCP Data received {"connection_id":178165,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:27:18] local.INFO: Processing buffer {"connection_id":178165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:27:18] local.INFO: Packet analysis {"connection_id":178165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:27:18] local.INFO: Extracted packet for processing {"connection_id":178165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:27: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-09-09 11:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":178165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:27:18] local.INFO: GPS data processed {"connection_id":178165,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:27:18] local.INFO: Acknowledgment sent {"connection_id":178165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:27:31] local.INFO: TCP Data received {"connection_id":176716,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:27:31] local.INFO: Processing buffer {"connection_id":176716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:27:31] local.INFO: IMEI packet received {"connection_id":176716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":176716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:27:33] local.INFO: TCP Data received {"connection_id":176716,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:27:33] local.INFO: Processing buffer {"connection_id":176716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:27:33] local.INFO: IMEI packet received {"connection_id":176716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":176716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:27:36] local.INFO: TCP Data received {"connection_id":176716,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:27:36] local.INFO: Processing buffer {"connection_id":176716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:27:36] local.INFO: IMEI packet received {"connection_id":176716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":176716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:27:37] local.INFO: TCP Data received {"connection_id":176716,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bd8cd0012d19ae400723a058003a00541b..."} 
[2026-09-09 11:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bd8cd0012d19ae400723a058003a00541b..."} 
[2026-09-09 11:27:37] local.INFO: Processing buffer {"connection_id":176716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bd8cd0012d19ae400723a058003a00541b..."} 
[2026-09-09 11:27:37] local.INFO: Packet analysis {"connection_id":176716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bd"} 
[2026-09-09 11:27:37] local.INFO: Extracted packet for processing {"connection_id":176716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bd"} 
[2026-09-09 11:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119775320,"longitude_deg":75.6657728,"latitude_deg":11.977532,"altitude":58,"angle":84,"satellites":27,"speed":47,"hex_longitude":"2d19ae40","hex_latitude":"0723a058","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966950912001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18787273579429888,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839579740954591232,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788933410000,"timestamp_ms":1788933410000,"timestamp_seconds":1788933410,"priority":1,"record_length":96,"hex_timestamp":"000001a084bd8cd0"} 
[2026-09-09 11:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 11:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:27: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-09-09 11:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966950912001,"66":14494,"177":206,"83":42752,"24":47,"16":18787273579429888,"45":1839579740954591232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-09 11:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966950912001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:27:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 11:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18787273579429888,"km_value":18787273579429.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839579740954591232,"description":"Unknown IO ID 45"} 
[2026-09-09 11:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966950912001,"power":14494,"unknown_177":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1839579740954591232}} 
[2026-09-09 11:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":176716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:27:37] local.INFO: GPS data processed {"connection_id":176716,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:27:37] local.INFO: Acknowledgment sent {"connection_id":176716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:27:39] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:27:39] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:27:39] local.INFO: IMEI packet received {"connection_id":176717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":176717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:27:44] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:27:44] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:27:44] local.INFO: IMEI packet received {"connection_id":176717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":176717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:27:46] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:27:46] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084b98d60012d34c14006aa42c8000b000228..."} 
[2026-09-09 11:27:46] local.INFO: Packet analysis {"connection_id":176717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:27:46] local.INFO: Extracted packet for processing {"connection_id":176717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084b9"} 
[2026-09-09 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788933148000,"timestamp_ms":1788933148000,"timestamp_seconds":1788933148,"priority":1,"record_length":96,"hex_timestamp":"000001a084b98d60"} 
[2026-09-09 11:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966808832001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966808832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":176717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:27:46] local.INFO: GPS data processed {"connection_id":176717,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:27:46] local.INFO: Acknowledgment sent {"connection_id":176717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:28:09] local.INFO: TCP Data received {"connection_id":176716,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bdac10012d19d5800723a558003700521c..."} 
[2026-09-09 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bdac10012d19d5800723a558003700521c..."} 
[2026-09-09 11:28:09] local.INFO: Processing buffer {"connection_id":176716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bdac10012d19d5800723a558003700521c..."} 
[2026-09-09 11:28:09] local.INFO: Packet analysis {"connection_id":176716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bd"} 
[2026-09-09 11:28:09] local.INFO: Extracted packet for processing {"connection_id":176716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bd"} 
[2026-09-09 11:28:09] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119776600,"longitude_deg":75.6667776,"latitude_deg":11.97766,"altitude":55,"angle":82,"satellites":28,"speed":52,"hex_longitude":"2d19d580","hex_latitude":"0723a558","is_valid_coordinates":true} 
[2026-09-09 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-09-09 11:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966952960001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18787758910734336,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896302512128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788933418000,"timestamp_ms":1788933418000,"timestamp_seconds":1788933418,"priority":1,"record_length":96,"hex_timestamp":"000001a084bdac10"} 
[2026-09-09 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-09-09 11:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 11:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 11:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:28:09] 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-09-09 11:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966952960001,"66":14515,"42":206,"83":42752,"24":52,"16":18787758910734336,"45":1850486896302512128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-09 11:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966952960001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:28:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-09 11:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18787758910734336,"km_value":18787758910734.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896302512128,"description":"Unknown IO ID 45"} 
[2026-09-09 11:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966952960001,"power":14515,"unknown_42":206,"unknown_83":42752,"ignition":52,"odometer":null,"unknown_45":1850486896302512128}} 
[2026-09-09 11:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":176716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:28:09] local.INFO: GPS data processed {"connection_id":176716,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:28:09] local.INFO: Acknowledgment sent {"connection_id":176716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:28:17] local.INFO: TCP Data received {"connection_id":176717,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:28:17] local.INFO: Processing buffer {"connection_id":176717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:28:17] local.INFO: Packet analysis {"connection_id":176717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:28:17] local.INFO: Extracted packet for processing {"connection_id":176717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":176717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:28:17] local.INFO: GPS data processed {"connection_id":176717,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:28:17] local.INFO: Acknowledgment sent {"connection_id":176717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:28:30] local.INFO: TCP Data received {"connection_id":176719,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:28:30] local.INFO: Processing buffer {"connection_id":176719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:28:30] local.INFO: IMEI packet received {"connection_id":176719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":176719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:28:37] local.INFO: TCP Data received {"connection_id":176719,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:28:37] local.INFO: Processing buffer {"connection_id":176719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:28:37] local.INFO: IMEI packet received {"connection_id":176719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":176719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:28:38] local.INFO: TCP Data received {"connection_id":176719,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bdc768012d19fac00723a9e8003400541e..."} 
[2026-09-09 11:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bdc768012d19fac00723a9e8003400541e..."} 
[2026-09-09 11:28:38] local.INFO: Processing buffer {"connection_id":176719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bdc768012d19fac00723a9e8003400541e..."} 
[2026-09-09 11:28:38] local.INFO: Packet analysis {"connection_id":176719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bd"} 
[2026-09-09 11:28:38] local.INFO: Extracted packet for processing {"connection_id":176719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bd"} 
[2026-09-09 11:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756677312,"raw_latitude":119777768,"longitude_deg":75.6677312,"latitude_deg":11.9777768,"altitude":52,"angle":84,"satellites":30,"speed":51,"hex_longitude":"2d19fac0","hex_latitude":"0723a9e8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966955008001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18788214177267712,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789138733056,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788933425000,"timestamp_ms":1788933425000,"timestamp_seconds":1788933425,"priority":1,"record_length":96,"hex_timestamp":"000001a084bdc768"} 
[2026-09-09 11:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:28: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-09-09 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 11:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:28: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-09-09 11:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966955008001,"66":14352,"42":206,"83":42752,"24":51,"16":18788214177267712,"45":1861534789138733056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-09 11:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966955008001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:28:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-09 11:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18788214177267712,"km_value":18788214177267.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789138733056,"description":"Unknown IO ID 45"} 
[2026-09-09 11:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966955008001,"power":14352,"unknown_42":206,"unknown_83":42752,"ignition":51,"odometer":null,"unknown_45":1861534789138733056}} 
[2026-09-09 11:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":176719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:28:38] local.INFO: GPS data processed {"connection_id":176719,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:28:38] local.INFO: Acknowledgment sent {"connection_id":176719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:28:39] local.INFO: TCP Data received {"connection_id":175584,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:28:39] local.INFO: Processing buffer {"connection_id":175584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:28:39] local.INFO: IMEI packet received {"connection_id":175584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":175584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:28:44] local.INFO: TCP Data received {"connection_id":175584,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:28:44] local.INFO: Processing buffer {"connection_id":175584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:28:44] local.INFO: IMEI packet received {"connection_id":175584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":175584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:28:45] local.INFO: TCP Data received {"connection_id":175584,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:28:45] local.INFO: Processing buffer {"connection_id":175584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:28:45] local.INFO: Packet analysis {"connection_id":175584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:28:45] local.INFO: Extracted packet for processing {"connection_id":175584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":175584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:28:45] local.INFO: GPS data processed {"connection_id":175584,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:28:45] local.INFO: Acknowledgment sent {"connection_id":175584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:29:07] local.INFO: TCP Data received {"connection_id":175372,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:29:07] local.INFO: Processing buffer {"connection_id":175372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:29:07] local.INFO: IMEI packet received {"connection_id":175372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":175372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:29:09] local.INFO: TCP Data received {"connection_id":176719,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bedcc0012d1adb8007244330002c00291c..."} 
[2026-09-09 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bedcc0012d1adb8007244330002c00291c..."} 
[2026-09-09 11:29:09] local.INFO: Processing buffer {"connection_id":176719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bedcc0012d1adb8007244330002c00291c..."} 
[2026-09-09 11:29:09] local.INFO: Packet analysis {"connection_id":176719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:09] local.INFO: Extracted packet for processing {"connection_id":176719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119817008,"longitude_deg":75.6734848,"latitude_deg":11.9817008,"altitude":44,"angle":41,"satellites":28,"speed":30,"hex_longitude":"2d1adb80","hex_latitude":"07244330","is_valid_coordinates":true} 
[2026-09-09 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966973696001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18791654446071808,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932255377047054336,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788933496000,"timestamp_ms":1788933496000,"timestamp_seconds":1788933496,"priority":1,"record_length":96,"hex_timestamp":"000001a084bedcc0"} 
[2026-09-09 11:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 11:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:29:09] 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-09-09 11:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966973696001,"66":14483,"137":206,"83":42752,"24":30,"16":18791654446071808,"45":1932255377047054336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-09 11:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966973696001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:29:09] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-09 11:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18791654446071808,"km_value":18791654446071.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932255377047054336,"description":"Unknown IO ID 45"} 
[2026-09-09 11:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966973696001,"power":14483,"unknown_137":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1932255377047054336}} 
[2026-09-09 11:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":176719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:29:09] local.INFO: GPS data processed {"connection_id":176719,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:29:09] local.INFO: Acknowledgment sent {"connection_id":176719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:29:17] local.INFO: TCP Data received {"connection_id":175584,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:29:17] local.INFO: Processing buffer {"connection_id":175584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:29:17] local.INFO: Packet analysis {"connection_id":175584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:17] local.INFO: Extracted packet for processing {"connection_id":175584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":175584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:29:17] local.INFO: GPS data processed {"connection_id":175584,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:29:17] local.INFO: Acknowledgment sent {"connection_id":175584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:29:30] local.INFO: TCP Data received {"connection_id":178166,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:29:30] local.INFO: Processing buffer {"connection_id":178166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:29:30] local.INFO: IMEI packet received {"connection_id":178166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":178166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:29:35] local.INFO: TCP Data received {"connection_id":178166,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:29:35] local.INFO: Processing buffer {"connection_id":178166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:29:35] local.INFO: IMEI packet received {"connection_id":178166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":178166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:29:35] local.INFO: TCP Data received {"connection_id":178166,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:29:35] local.INFO: Processing buffer {"connection_id":178166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:29:35] local.INFO: IMEI packet received {"connection_id":178166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":178166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:29:36] local.INFO: TCP Data received {"connection_id":178166,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bee878012d1ae14007244ae8002c001d1b..."} 
[2026-09-09 11:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bee878012d1ae14007244ae8002c001d1b..."} 
[2026-09-09 11:29:36] local.INFO: Processing buffer {"connection_id":178166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bee878012d1ae14007244ae8002c001d1b..."} 
[2026-09-09 11:29:36] local.INFO: Packet analysis {"connection_id":178166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:36] local.INFO: Extracted packet for processing {"connection_id":178166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756736320,"raw_latitude":119818984,"longitude_deg":75.673632,"latitude_deg":11.9818984,"altitude":44,"angle":29,"satellites":27,"speed":33,"hex_longitude":"2d1ae140","hex_latitude":"07244ae8","is_valid_coordinates":true} 
[2026-09-09 11:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966974976001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18791770410188800,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281233047269376,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788933499000,"timestamp_ms":1788933499000,"timestamp_seconds":1788933499,"priority":1,"record_length":96,"hex_timestamp":"000001a084bee878"} 
[2026-09-09 11:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-09 11:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:29:36] 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-09-09 11:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966974976001,"66":14428,"137":206,"83":42752,"24":33,"16":18791770410188800,"45":1935281233047269376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-09 11:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966974976001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:29:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-09 11:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18791770410188800,"km_value":18791770410188.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281233047269376,"description":"Unknown IO ID 45"} 
[2026-09-09 11:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966974976001,"power":14428,"unknown_137":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1935281233047269376}} 
[2026-09-09 11:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":178166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:29:36] local.INFO: GPS data processed {"connection_id":178166,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:29:36] local.INFO: Acknowledgment sent {"connection_id":178166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:29:41] local.INFO: TCP Data received {"connection_id":178166,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bf1f28012d1af40007246a98002a00271c..."} 
[2026-09-09 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bf1f28012d1af40007246a98002a00271c..."} 
[2026-09-09 11:29:41] local.INFO: Processing buffer {"connection_id":178166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bf1f28012d1af40007246a98002a00271c..."} 
[2026-09-09 11:29:41] local.INFO: Packet analysis {"connection_id":178166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bf"} 
[2026-09-09 11:29:41] local.INFO: Extracted packet for processing {"connection_id":178166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bf"} 
[2026-09-09 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756741120,"raw_latitude":119827096,"longitude_deg":75.674112,"latitude_deg":11.9827096,"altitude":42,"angle":39,"satellites":28,"speed":25,"hex_longitude":"2d1af400","hex_latitude":"07246a98","is_valid_coordinates":true} 
[2026-09-09 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966975744001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18792229971689472,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936899714163861504,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788933513000,"timestamp_ms":1788933513000,"timestamp_seconds":1788933513,"priority":1,"record_length":96,"hex_timestamp":"000001a084bf1f28"} 
[2026-09-09 11:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:29: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-09-09 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 11:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:29:41] 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-09-09 11:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966975744001,"66":14428,"176":206,"83":42752,"24":25,"16":18792229971689472,"45":1936899714163861504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-09 11:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966975744001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:29:41] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-09 11:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18792229971689472,"km_value":18792229971689.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936899714163861504,"description":"Unknown IO ID 45"} 
[2026-09-09 11:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966975744001,"power":14428,"unknown_176":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1936899714163861504}} 
[2026-09-09 11:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":178166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:29:41] local.INFO: GPS data processed {"connection_id":178166,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:29:41] local.INFO: Acknowledgment sent {"connection_id":178166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:29:42] local.INFO: TCP Data received {"connection_id":176720,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:29:42] local.INFO: Processing buffer {"connection_id":176720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:29:42] local.INFO: IMEI packet received {"connection_id":176720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":176720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:29:44] local.INFO: TCP Data received {"connection_id":176721,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:29:44] local.INFO: Processing buffer {"connection_id":176721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:29:44] local.INFO: IMEI packet received {"connection_id":176721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":176721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:29:49] local.INFO: TCP Data received {"connection_id":176721,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:29:49] local.INFO: Processing buffer {"connection_id":176721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:29:49] local.INFO: IMEI packet received {"connection_id":176721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":176721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:29:52] local.INFO: TCP Data received {"connection_id":176721,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:29:52] local.INFO: Processing buffer {"connection_id":176721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:29:52] local.INFO: Packet analysis {"connection_id":176721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:52] local.INFO: Extracted packet for processing {"connection_id":176721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":176721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:29:52] local.INFO: GPS data processed {"connection_id":176721,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:29:52] local.INFO: Acknowledgment sent {"connection_id":176721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:29:54] local.INFO: TCP Data received {"connection_id":176721,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:29:54] local.INFO: Processing buffer {"connection_id":176721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:29:54] local.INFO: Packet analysis {"connection_id":176721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:54] local.INFO: Extracted packet for processing {"connection_id":176721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":176721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:29:54] local.INFO: GPS data processed {"connection_id":176721,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:29:54] local.INFO: Acknowledgment sent {"connection_id":176721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:30:12] local.INFO: TCP Data received {"connection_id":178166,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bf51f0012d1b0d00072484800029002b1c..."} 
[2026-09-09 11:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bf51f0012d1b0d00072484800029002b1c..."} 
[2026-09-09 11:30:12] local.INFO: Processing buffer {"connection_id":178166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bf51f0012d1b0d00072484800029002b1c..."} 
[2026-09-09 11:30:12] local.INFO: Packet analysis {"connection_id":178166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bf"} 
[2026-09-09 11:30:12] local.INFO: Extracted packet for processing {"connection_id":178166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bf"} 
[2026-09-09 11:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756747520,"raw_latitude":119833728,"longitude_deg":75.674752,"latitude_deg":11.9833728,"altitude":41,"angle":43,"satellites":28,"speed":30,"hex_longitude":"2d1b0d00","hex_latitude":"07248480","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966979328001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18792672353320960,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942177369979262976,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788933526000,"timestamp_ms":1788933526000,"timestamp_seconds":1788933526,"priority":1,"record_length":96,"hex_timestamp":"000001a084bf51f0"} 
[2026-09-09 11:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 11:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:30:12] 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-09-09 11:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966979328001,"66":14407,"136":206,"83":42752,"24":30,"16":18792672353320960,"45":1942177369979262976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 11:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966979328001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:30:12] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 11:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18792672353320960,"km_value":18792672353320.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942177369979262976,"description":"Unknown IO ID 45"} 
[2026-09-09 11:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966979328001,"power":14407,"unknown_136":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1942177369979262976}} 
[2026-09-09 11:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":178166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:30:12] local.INFO: GPS data processed {"connection_id":178166,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:30:12] local.INFO: Acknowledgment sent {"connection_id":178166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:30:39] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:30:39] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:30:39] local.INFO: IMEI packet received {"connection_id":175585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":175585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:30:40] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:40] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:40] local.INFO: IMEI packet received {"connection_id":175587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":175587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:30:44] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:30:44] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:30:44] local.INFO: IMEI packet received {"connection_id":175585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":175585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:30:45] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:45] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:45] local.INFO: IMEI packet received {"connection_id":175587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":175587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:30:46] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:30:46] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:30:46] local.INFO: Packet analysis {"connection_id":175585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:30:46] local.INFO: Extracted packet for processing {"connection_id":175585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:30: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-09-09 11:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":175585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:30:46] local.INFO: GPS data processed {"connection_id":175585,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:30:46] local.INFO: Acknowledgment sent {"connection_id":175585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:30:48] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:48] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:48] local.INFO: IMEI packet received {"connection_id":175587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":175587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:30:56] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:56] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:30:56] local.INFO: IMEI packet received {"connection_id":175587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":175587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:30:58] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bf88a0012d1b28c007249b70002600381e..."} 
[2026-09-09 11:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bf88a0012d1b28c007249b70002600381e..."} 
[2026-09-09 11:30:58] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bf88a0012d1b28c007249b70002600381e..."} 
[2026-09-09 11:30:58] local.INFO: Packet analysis {"connection_id":175587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bf"} 
[2026-09-09 11:30:58] local.INFO: Extracted packet for processing {"connection_id":175587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bf"} 
[2026-09-09 11:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756754624,"raw_latitude":119839600,"longitude_deg":75.6754624,"latitude_deg":11.98396,"altitude":38,"angle":56,"satellites":30,"speed":17,"hex_longitude":"2d1b28c0","hex_latitude":"07249b70","is_valid_coordinates":true} 
[2026-09-09 11:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966982656001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18793114734952448,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949214244398727168,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788933540000,"timestamp_ms":1788933540000,"timestamp_seconds":1788933540,"priority":1,"record_length":96,"hex_timestamp":"000001a084bf88a0"} 
[2026-09-09 11:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:30:58] 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-09-09 11:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 11:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:30:58] 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-09-09 11:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966982656001,"66":14515,"136":206,"83":42752,"24":17,"16":18793114734952448,"45":1949214244398727168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 11:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966982656001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:30:58] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 11:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18793114734952448,"km_value":18793114734952.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949214244398727168,"description":"Unknown IO ID 45"} 
[2026-09-09 11:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966982656001,"power":14515,"unknown_136":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1949214244398727168}} 
[2026-09-09 11:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":175587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:30:58] local.INFO: GPS data processed {"connection_id":175587,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:30:58] local.INFO: Acknowledgment sent {"connection_id":175587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:30:59] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084bf88a0012d1b28c007249b70002600381e..."} 
[2026-09-09 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084bf88a0012d1b28c007249b70002600381e..."} 
[2026-09-09 11:30:59] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084bf88a0012d1b28c007249b70002600381e..."} 
[2026-09-09 11:30:59] local.INFO: Packet analysis {"connection_id":175587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084bf"} 
[2026-09-09 11:30:59] local.INFO: Extracted packet for processing {"connection_id":175587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084bf"} 
[2026-09-09 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756754624,"raw_latitude":119839600,"longitude_deg":75.6754624,"latitude_deg":11.98396,"altitude":38,"angle":56,"satellites":30,"speed":17,"hex_longitude":"2d1b28c0","hex_latitude":"07249b70","is_valid_coordinates":true} 
[2026-09-09 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966986240001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18793114734952448,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957025175003951104,"note":"Value kept but may cause issues"} 
[2026-09-09 11:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788933540000,"timestamp_ms":1788933540000,"timestamp_seconds":1788933540,"priority":1,"record_length":96,"hex_timestamp":"000001a084bf88a0"} 
[2026-09-09 11:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:30:59] 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-09-09 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 11:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:30:59] 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-09-09 11:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966986240001,"66":14515,"136":206,"83":42752,"24":17,"16":18793114734952448,"45":1957025175003951104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 11:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966986240001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:30:59] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 11:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18793114734952448,"km_value":18793114734952.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957025175003951104,"description":"Unknown IO ID 45"} 
[2026-09-09 11:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966986240001,"power":14515,"unknown_136":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1957025175003951104}} 
[2026-09-09 11:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":175587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:30:59] local.INFO: GPS data processed {"connection_id":175587,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:30:59] local.INFO: Acknowledgment sent {"connection_id":175587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:31:17] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:31:17] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:31:17] local.INFO: Packet analysis {"connection_id":175585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:31:17] local.INFO: Extracted packet for processing {"connection_id":175585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:31: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-09-09 11:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:31:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":175585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:31:17] local.INFO: GPS data processed {"connection_id":175585,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:31:17] local.INFO: Acknowledgment sent {"connection_id":175585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:31:35] local.INFO: TCP Data received {"connection_id":178167,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:31:35] local.INFO: Processing buffer {"connection_id":178167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:31:35] local.INFO: IMEI packet received {"connection_id":178167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":178167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:31:35] local.INFO: TCP Data received {"connection_id":178167,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:31:35] local.INFO: Processing buffer {"connection_id":178167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:31:35] local.INFO: IMEI packet received {"connection_id":178167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":178167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:31:39] local.INFO: TCP Data received {"connection_id":178168,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:31:39] local.INFO: Processing buffer {"connection_id":178168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:31:39] local.INFO: IMEI packet received {"connection_id":178168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":178168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:31:40] local.INFO: TCP Data received {"connection_id":178167,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:31:40] local.INFO: Processing buffer {"connection_id":178167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:31:40] local.INFO: IMEI packet received {"connection_id":178167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":178167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:31:42] local.INFO: TCP Data received {"connection_id":178167,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c0f000012d1b62c0072560c8002601561d..."} 
[2026-09-09 11:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c0f000012d1b62c0072560c8002601561d..."} 
[2026-09-09 11:31:42] local.INFO: Processing buffer {"connection_id":178167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c0f000012d1b62c0072560c8002601561d..."} 
[2026-09-09 11:31:42] local.INFO: Packet analysis {"connection_id":178167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c0"} 
[2026-09-09 11:31:42] local.INFO: Extracted packet for processing {"connection_id":178167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c0"} 
[2026-09-09 11:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756769472,"raw_latitude":119890120,"longitude_deg":75.6769472,"latitude_deg":11.989012,"altitude":38,"angle":342,"satellites":29,"speed":10,"hex_longitude":"2d1b62c0","hex_latitude":"072560c8","is_valid_coordinates":true} 
[2026-09-09 11:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967008000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18795833449250816,"note":"Value kept but may cause issues"} 
[2026-09-09 11:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092409397248,"note":"Value kept but may cause issues"} 
[2026-09-09 11:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788933632000,"timestamp_ms":1788933632000,"timestamp_seconds":1788933632,"priority":1,"record_length":96,"hex_timestamp":"000001a084c0f000"} 
[2026-09-09 11:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 11:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:31:42] 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-09-09 11:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967008000001,"66":14559,"217":206,"83":42752,"24":10,"16":18795833449250816,"45":1973421092409397248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-09 11:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967008000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:31:42] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-09 11:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18795833449250816,"km_value":18795833449250.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092409397248,"description":"Unknown IO ID 45"} 
[2026-09-09 11:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967008000001,"power":14559,"unknown_217":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1973421092409397248}} 
[2026-09-09 11:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":178167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:31:42] local.INFO: GPS data processed {"connection_id":178167,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:31:42] local.INFO: Acknowledgment sent {"connection_id":178167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:31:44] local.INFO: TCP Data received {"connection_id":178168,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:31:44] local.INFO: Processing buffer {"connection_id":178168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:31:44] local.INFO: IMEI packet received {"connection_id":178168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":178168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:31:45] local.INFO: TCP Data received {"connection_id":178168,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:31:45] local.INFO: Processing buffer {"connection_id":178168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:31:45] local.INFO: Packet analysis {"connection_id":178168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:31:45] local.INFO: Extracted packet for processing {"connection_id":178168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:31:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":178168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:31:45] local.INFO: GPS data processed {"connection_id":178168,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:31:45] local.INFO: Acknowledgment sent {"connection_id":178168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:32:14] local.INFO: TCP Data received {"connection_id":178167,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c10388012d1b60c0072566180026014a1e..."} 
[2026-09-09 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c10388012d1b60c0072566180026014a1e..."} 
[2026-09-09 11:32:14] local.INFO: Processing buffer {"connection_id":178167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c10388012d1b60c0072566180026014a1e..."} 
[2026-09-09 11:32:14] local.INFO: Packet analysis {"connection_id":178167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:32:14] local.INFO: Extracted packet for processing {"connection_id":178167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756768960,"raw_latitude":119891480,"longitude_deg":75.676896,"latitude_deg":11.989148,"altitude":38,"angle":330,"satellites":30,"speed":16,"hex_longitude":"2d1b60c0","hex_latitude":"07256618","is_valid_coordinates":true} 
[2026-09-09 11:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967009792001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18795902168727552,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973350723666102272,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788933637000,"timestamp_ms":1788933637000,"timestamp_seconds":1788933637,"priority":1,"record_length":96,"hex_timestamp":"000001a084c10388"} 
[2026-09-09 11:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 11:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:32:14] 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-09-09 11:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967009792001,"66":14483,"217":206,"83":42752,"24":16,"16":18795902168727552,"45":1973350723666102272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-09 11:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967009792001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:32:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-09 11:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18795902168727552,"km_value":18795902168727.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973350723666102272,"description":"Unknown IO ID 45"} 
[2026-09-09 11:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967009792001,"power":14483,"unknown_217":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1973350723666102272}} 
[2026-09-09 11:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":178167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:32:14] local.INFO: GPS data processed {"connection_id":178167,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:32:14] local.INFO: Acknowledgment sent {"connection_id":178167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:32:18] local.INFO: TCP Data received {"connection_id":178168,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:32:18] local.INFO: Processing buffer {"connection_id":178168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:32:18] local.INFO: Packet analysis {"connection_id":178168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:32:18] local.INFO: Extracted packet for processing {"connection_id":178168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":178168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:32:18] local.INFO: GPS data processed {"connection_id":178168,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:32:18] local.INFO: Acknowledgment sent {"connection_id":178168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:32:28] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:32:28] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:32:28] local.INFO: IMEI packet received {"connection_id":175588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":175588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:32:30] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:32:30] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:32:30] local.INFO: IMEI packet received {"connection_id":175588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":175588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:32:36] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:32:36] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:32:36] local.INFO: IMEI packet received {"connection_id":175588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":175588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:32:37] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c11af8012d1b5c4007256d00002701381e..."} 
[2026-09-09 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c11af8012d1b5c4007256d00002701381e..."} 
[2026-09-09 11:32:37] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c11af8012d1b5c4007256d00002701381e..."} 
[2026-09-09 11:32:37] local.INFO: Packet analysis {"connection_id":175588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:32:37] local.INFO: Extracted packet for processing {"connection_id":175588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756767808,"raw_latitude":119893248,"longitude_deg":75.6767808,"latitude_deg":11.9893248,"altitude":39,"angle":312,"satellites":30,"speed":6,"hex_longitude":"2d1b5c40","hex_latitude":"07256d00","is_valid_coordinates":true} 
[2026-09-09 11:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967011072001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18796005247942656,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972787773713029120,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788933643000,"timestamp_ms":1788933643000,"timestamp_seconds":1788933643,"priority":1,"record_length":96,"hex_timestamp":"000001a084c11af8"} 
[2026-09-09 11:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-09 11:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:32: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-09-09 11:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967011072001,"66":14396,"217":206,"83":42752,"24":6,"16":18796005247942656,"45":1972787773713029120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-09 11:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967011072001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:32:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-09 11:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18796005247942656,"km_value":18796005247942.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972787773713029120,"description":"Unknown IO ID 45"} 
[2026-09-09 11:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967011072001,"power":14396,"unknown_217":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1972787773713029120}} 
[2026-09-09 11:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":175588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:32:37] local.INFO: GPS data processed {"connection_id":175588,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:32:37] local.INFO: Acknowledgment sent {"connection_id":175588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:32:39] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:32:39] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:32:39] local.INFO: IMEI packet received {"connection_id":175589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":175589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:32:44] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:32:44] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:32:44] local.INFO: IMEI packet received {"connection_id":175589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":175589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:32:46] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:32:46] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084be2528012d34c14006aa42c8000a000229..."} 
[2026-09-09 11:32:46] local.INFO: Packet analysis {"connection_id":175589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:32:46] local.INFO: Extracted packet for processing {"connection_id":175589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084be"} 
[2026-09-09 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":10,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966885888001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788933449000,"timestamp_ms":1788933449000,"timestamp_seconds":1788933449,"priority":1,"record_length":96,"hex_timestamp":"000001a084be2528"} 
[2026-09-09 11:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966885888001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966885888001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966885888001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":175589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:32:46] local.INFO: GPS data processed {"connection_id":175589,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:32:46] local.INFO: Acknowledgment sent {"connection_id":175589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:33:09] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c15d60012d1b494007258020002901441e..."} 
[2026-09-09 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c15d60012d1b494007258020002901441e..."} 
[2026-09-09 11:33:09] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c15d60012d1b494007258020002901441e..."} 
[2026-09-09 11:33:09] local.INFO: Packet analysis {"connection_id":175588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:33:09] local.INFO: Extracted packet for processing {"connection_id":175588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756762944,"raw_latitude":119898144,"longitude_deg":75.6762944,"latitude_deg":11.9898144,"altitude":41,"angle":324,"satellites":30,"speed":18,"hex_longitude":"2d1b4940","hex_latitude":"07258020","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967012608001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18796340255391744,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971521136318283776,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788933660000,"timestamp_ms":1788933660000,"timestamp_seconds":1788933660,"priority":1,"record_length":96,"hex_timestamp":"000001a084c15d60"} 
[2026-09-09 11:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 11:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:33:09] 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-09-09 11:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967012608001,"66":14461,"217":206,"83":42752,"24":18,"16":18796340255391744,"45":1971521136318283776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-09 11:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967012608001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:33:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-09 11:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18796340255391744,"km_value":18796340255391.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971521136318283776,"description":"Unknown IO ID 45"} 
[2026-09-09 11:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967012608001,"power":14461,"unknown_217":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1971521136318283776}} 
[2026-09-09 11:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":175588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:33:09] local.INFO: GPS data processed {"connection_id":175588,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:33:09] local.INFO: Acknowledgment sent {"connection_id":175588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:33:19] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:33:19] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:33:19] local.INFO: Packet analysis {"connection_id":175589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:33:19] local.INFO: Extracted packet for processing {"connection_id":175589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:33: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-09-09 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:33:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":175589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:33:19] local.INFO: GPS data processed {"connection_id":175589,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:33:19] local.INFO: Acknowledgment sent {"connection_id":175589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:33:42] local.INFO: TCP Data received {"connection_id":178169,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:33:42] local.INFO: Processing buffer {"connection_id":178169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:33:42] local.INFO: IMEI packet received {"connection_id":178169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":178169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:33:43] local.INFO: TCP Data received {"connection_id":178169,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:33:43] local.INFO: Processing buffer {"connection_id":178169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:33:43] local.INFO: IMEI packet received {"connection_id":178169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":178169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:33:44] local.INFO: TCP Data received {"connection_id":176723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:33:44] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:33:44] local.INFO: IMEI packet received {"connection_id":176723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":176723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:33:45] local.INFO: TCP Data received {"connection_id":178169,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:33:45] local.INFO: Processing buffer {"connection_id":178169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:33:45] local.INFO: IMEI packet received {"connection_id":178169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":178169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:33:47] local.INFO: TCP Data received {"connection_id":178169,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c18858012d1b3fc007258f90002a01501e..."} 
[2026-09-09 11:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c18858012d1b3fc007258f90002a01501e..."} 
[2026-09-09 11:33:47] local.INFO: Processing buffer {"connection_id":178169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c18858012d1b3fc007258f90002a01501e..."} 
[2026-09-09 11:33:47] local.INFO: Packet analysis {"connection_id":178169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:33:47] local.INFO: Extracted packet for processing {"connection_id":178169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756760512,"raw_latitude":119902096,"longitude_deg":75.6760512,"latitude_deg":11.9902096,"altitude":42,"angle":336,"satellites":30,"speed":12,"hex_longitude":"2d1b3fc0","hex_latitude":"07258f90","is_valid_coordinates":true} 
[2026-09-09 11:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967016960001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18796563593691136,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966173111762034688,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788933671000,"timestamp_ms":1788933671000,"timestamp_seconds":1788933671,"priority":1,"record_length":96,"hex_timestamp":"000001a084c18858"} 
[2026-09-09 11:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 11:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:33:47] 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-09-09 11:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967016960001,"66":14113,"217":206,"83":42752,"24":12,"16":18796563593691136,"45":1966173111762034688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-09 11:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967016960001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:33:47] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-09 11:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18796563593691136,"km_value":18796563593691.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966173111762034688,"description":"Unknown IO ID 45"} 
[2026-09-09 11:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967016960001,"power":14113,"unknown_217":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1966173111762034688}} 
[2026-09-09 11:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":178169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:33:47] local.INFO: GPS data processed {"connection_id":178169,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:33:47] local.INFO: Acknowledgment sent {"connection_id":178169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:33:49] local.INFO: TCP Data received {"connection_id":176723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:33:49] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:33:49] local.INFO: IMEI packet received {"connection_id":176723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":176723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:33:50] local.INFO: TCP Data received {"connection_id":176723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:33:50] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:33:50] local.INFO: Packet analysis {"connection_id":176723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:33:50] local.INFO: Extracted packet for processing {"connection_id":176723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:33:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:33: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-09-09 11:33: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-09-09 11:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:33:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:33:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":176723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:33:50] local.INFO: GPS data processed {"connection_id":176723,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:33:50] local.INFO: Acknowledgment sent {"connection_id":176723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:33:51] local.INFO: TCP Data received {"connection_id":178169,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c1cac0012d1b35000725a6a8002b01441d..."} 
[2026-09-09 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c1cac0012d1b35000725a6a8002b01441d..."} 
[2026-09-09 11:33:51] local.INFO: Processing buffer {"connection_id":178169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c1cac0012d1b35000725a6a8002b01441d..."} 
[2026-09-09 11:33:51] local.INFO: Packet analysis {"connection_id":178169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:33:51] local.INFO: Extracted packet for processing {"connection_id":178169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c1"} 
[2026-09-09 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119908008,"longitude_deg":75.675776,"latitude_deg":11.9908008,"altitude":43,"angle":324,"satellites":29,"speed":12,"hex_longitude":"2d1b3500","hex_latitude":"0725a6a8","is_valid_coordinates":true} 
[2026-09-09 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967019776001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18796881421271040,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963499099484295168,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788933688000,"timestamp_ms":1788933688000,"timestamp_seconds":1788933688,"priority":1,"record_length":96,"hex_timestamp":"000001a084c1cac0"} 
[2026-09-09 11:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-09 11:33:51] 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-09-09 11:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:33:51] 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-09-09 11:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967019776001,"66":14113,"217":206,"83":42752,"24":12,"16":18796881421271040,"45":1963499099484295168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-09 11:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967019776001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:33:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-09 11:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18796881421271040,"km_value":18796881421271.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963499099484295168,"description":"Unknown IO ID 45"} 
[2026-09-09 11:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967019776001,"power":14113,"unknown_217":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1963499099484295168}} 
[2026-09-09 11:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":178169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:33:51] local.INFO: GPS data processed {"connection_id":178169,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:33:51] local.INFO: Acknowledgment sent {"connection_id":178169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:33:55] local.INFO: TCP Data received {"connection_id":176723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:33:55] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:33:55] local.INFO: Packet analysis {"connection_id":176723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:33:55] local.INFO: Extracted packet for processing {"connection_id":176723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:33:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:33:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":176723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:33:55] local.INFO: GPS data processed {"connection_id":176723,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:33:55] local.INFO: Acknowledgment sent {"connection_id":176723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:34:35] local.INFO: TCP Data received {"connection_id":178170,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:34:35] local.INFO: Processing buffer {"connection_id":178170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:34:35] local.INFO: IMEI packet received {"connection_id":178170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":178170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:34:39] local.INFO: TCP Data received {"connection_id":178171,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:34:39] local.INFO: Processing buffer {"connection_id":178171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:34:39] local.INFO: IMEI packet received {"connection_id":178171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":178171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:34:40] local.INFO: TCP Data received {"connection_id":178170,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:34:40] local.INFO: Processing buffer {"connection_id":178170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:34:40] local.INFO: IMEI packet received {"connection_id":178170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":178170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:34:41] local.INFO: TCP Data received {"connection_id":178170,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c38fe0012d1afd8007259bb80035006b1e..."} 
[2026-09-09 11:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c38fe0012d1afd8007259bb80035006b1e..."} 
[2026-09-09 11:34:41] local.INFO: Processing buffer {"connection_id":178170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c38fe0012d1afd8007259bb80035006b1e..."} 
[2026-09-09 11:34:41] local.INFO: Packet analysis {"connection_id":178170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c3"} 
[2026-09-09 11:34:41] local.INFO: Extracted packet for processing {"connection_id":178170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c3"} 
[2026-09-09 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756743552,"raw_latitude":119905208,"longitude_deg":75.6743552,"latitude_deg":11.9905208,"altitude":53,"angle":107,"satellites":30,"speed":6,"hex_longitude":"2d1afd80","hex_latitude":"07259bb8","is_valid_coordinates":true} 
[2026-09-09 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967053056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797697465057280,"note":"Value kept but may cause issues"} 
[2026-09-09 11:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944569907301378048,"note":"Value kept but may cause issues"} 
[2026-09-09 11:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788933804000,"timestamp_ms":1788933804000,"timestamp_seconds":1788933804,"priority":1,"record_length":96,"hex_timestamp":"000001a084c38fe0"} 
[2026-09-09 11:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-09 11:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:34:41] 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-09-09 11:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967053056001,"66":12993,"43":206,"83":41984,"24":6,"16":18797697465057280,"45":1944569907301378048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967053056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:34:41] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797697465057280,"km_value":18797697465057.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944569907301378048,"description":"Unknown IO ID 45"} 
[2026-09-09 11:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967053056001,"power":12993,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1944569907301378048}} 
[2026-09-09 11:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":178170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:34:41] local.INFO: GPS data processed {"connection_id":178170,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:34:41] local.INFO: Acknowledgment sent {"connection_id":178170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:34:44] local.INFO: TCP Data received {"connection_id":178171,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:34:44] local.INFO: Processing buffer {"connection_id":178171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:34:44] local.INFO: IMEI packet received {"connection_id":178171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":178171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:34:45] local.INFO: TCP Data received {"connection_id":178171,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:34:45] local.INFO: Processing buffer {"connection_id":178171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:34:45] local.INFO: Packet analysis {"connection_id":178171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:34:45] local.INFO: Extracted packet for processing {"connection_id":178171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:34: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-09-09 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:34:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":178171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:34:45] local.INFO: GPS data processed {"connection_id":178171,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:34:45] local.INFO: Acknowledgment sent {"connection_id":178171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:34:46] local.INFO: TCP Data received {"connection_id":178170,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c393c8012d1afdc007259b28003600811e..."} 
[2026-09-09 11:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c393c8012d1afdc007259b28003600811e..."} 
[2026-09-09 11:34:46] local.INFO: Processing buffer {"connection_id":178170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c393c8012d1afdc007259b28003600811e..."} 
[2026-09-09 11:34:46] local.INFO: Packet analysis {"connection_id":178170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c3"} 
[2026-09-09 11:34:46] local.INFO: Extracted packet for processing {"connection_id":178170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c3"} 
[2026-09-09 11:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756743616,"raw_latitude":119905064,"longitude_deg":75.6743616,"latitude_deg":11.9905064,"altitude":54,"angle":129,"satellites":30,"speed":6,"hex_longitude":"2d1afdc0","hex_latitude":"07259b28","is_valid_coordinates":true} 
[2026-09-09 11:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967053824001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797706054991872,"note":"Value kept but may cause issues"} 
[2026-09-09 11:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944851382278010880,"note":"Value kept but may cause issues"} 
[2026-09-09 11:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788933805000,"timestamp_ms":1788933805000,"timestamp_seconds":1788933805,"priority":1,"record_length":96,"hex_timestamp":"000001a084c393c8"} 
[2026-09-09 11:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-09 11:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:34:46] 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-09-09 11:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967053824001,"66":12385,"43":206,"83":41984,"24":6,"16":18797706054991872,"45":1944851382278010880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967053824001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:34:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797706054991872,"km_value":18797706054991.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944851382278010880,"description":"Unknown IO ID 45"} 
[2026-09-09 11:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967053824001,"power":12385,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1944851382278010880}} 
[2026-09-09 11:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":178170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:34:46] local.INFO: GPS data processed {"connection_id":178170,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:34:46] local.INFO: Acknowledgment sent {"connection_id":178170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:35:02] local.INFO: TCP Data received {"connection_id":178172,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:35:02] local.INFO: Processing buffer {"connection_id":178172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:35:02] local.INFO: IMEI packet received {"connection_id":178172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":178172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:35:17] local.INFO: TCP Data received {"connection_id":178171,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:35:17] local.INFO: Processing buffer {"connection_id":178171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:35:17] local.INFO: Packet analysis {"connection_id":178171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:35:17] local.INFO: Extracted packet for processing {"connection_id":178171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":178171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:35:17] local.INFO: GPS data processed {"connection_id":178171,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:35:17] local.INFO: Acknowledgment sent {"connection_id":178171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:35:28] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:35:28] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:35:28] local.INFO: IMEI packet received {"connection_id":175374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":175374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:35:31] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:35:31] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:35:31] local.INFO: IMEI packet received {"connection_id":175374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":175374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:35:36] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:35:36] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:35:36] local.INFO: IMEI packet received {"connection_id":175374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":175374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:35:39] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c397b0012d1afdc007259a680036009c1e..."} 
[2026-09-09 11:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c397b0012d1afdc007259a680036009c1e..."} 
[2026-09-09 11:35:39] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c397b0012d1afdc007259a680036009c1e..."} 
[2026-09-09 11:35:39] local.INFO: Packet analysis {"connection_id":175374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c3"} 
[2026-09-09 11:35:39] local.INFO: Extracted packet for processing {"connection_id":175374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c3"} 
[2026-09-09 11:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756743616,"raw_latitude":119904872,"longitude_deg":75.6743616,"latitude_deg":11.9904872,"altitude":54,"angle":156,"satellites":30,"speed":7,"hex_longitude":"2d1afdc0","hex_latitude":"07259a68","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967054080001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797714644926464,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944921751022151680,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788933806000,"timestamp_ms":1788933806000,"timestamp_seconds":1788933806,"priority":1,"record_length":96,"hex_timestamp":"000001a084c397b0"} 
[2026-09-09 11:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 11:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:35:39] 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-09-09 11:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967054080001,"66":12385,"43":206,"83":41984,"24":7,"16":18797714644926464,"45":1944921751022151680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967054080001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:35:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:35:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797714644926464,"km_value":18797714644926.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944921751022151680,"description":"Unknown IO ID 45"} 
[2026-09-09 11:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967054080001,"power":12385,"unknown_43":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1944921751022151680}} 
[2026-09-09 11:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":175374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:35:39] local.INFO: GPS data processed {"connection_id":175374,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:35:39] local.INFO: Acknowledgment sent {"connection_id":175374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:35:40] local.INFO: TCP Data received {"connection_id":178173,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:35:40] local.INFO: Processing buffer {"connection_id":178173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:35:40] local.INFO: IMEI packet received {"connection_id":178173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":178173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:35:43] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:35:43] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:35:43] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:35:44] local.INFO: TCP Data received {"connection_id":178173,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:35:44] local.INFO: Processing buffer {"connection_id":178173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:35:44] local.INFO: IMEI packet received {"connection_id":178173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":178173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:35:45] local.INFO: TCP Data received {"connection_id":178173,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:35:45] local.INFO: Processing buffer {"connection_id":178173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:35:45] local.INFO: Packet analysis {"connection_id":178173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:35:45] local.INFO: Extracted packet for processing {"connection_id":178173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:35: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-09-09 11:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:35:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":178173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:35:45] local.INFO: GPS data processed {"connection_id":178173,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:35:45] local.INFO: Acknowledgment sent {"connection_id":178173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:35:50] local.INFO: TCP Data received {"connection_id":178173,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:35:50] local.INFO: Processing buffer {"connection_id":178173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:35:50] local.INFO: Packet analysis {"connection_id":178173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:35:50] local.INFO: Extracted packet for processing {"connection_id":178173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:35: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-09-09 11:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:35:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":178173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:35:50] local.INFO: GPS data processed {"connection_id":178173,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:35:50] local.INFO: Acknowledgment sent {"connection_id":178173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:36:20] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c3e9b8012d1afd40072598d00037009c1d..."} 
[2026-09-09 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c3e9b8012d1afd40072598d00037009c1d..."} 
[2026-09-09 11:36:20] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c3e9b8012d1afd40072598d00037009c1d..."} 
[2026-09-09 11:36:20] local.INFO: Packet analysis {"connection_id":175374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c3"} 
[2026-09-09 11:36:20] local.INFO: Extracted packet for processing {"connection_id":175374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c3"} 
[2026-09-09 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756743488,"raw_latitude":119904464,"longitude_deg":75.6743488,"latitude_deg":11.9904464,"altitude":55,"angle":156,"satellites":29,"speed":0,"hex_longitude":"2d1afd40","hex_latitude":"072598d0","is_valid_coordinates":true} 
[2026-09-09 11:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967054336001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797740414730240,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944921751022102528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788933827000,"timestamp_ms":1788933827000,"timestamp_seconds":1788933827,"priority":1,"record_length":96,"hex_timestamp":"000001a084c3e9b8"} 
[2026-09-09 11:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 11:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:36:20] 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-09-09 11:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967054336001,"66":12972,"43":206,"83":41984,"24":0,"16":18797740414730240,"45":1944921751022102528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967054336001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:36:20] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797740414730240,"km_value":18797740414730.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944921751022102528,"description":"Unknown IO ID 45"} 
[2026-09-09 11:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967054336001,"power":12972,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1944921751022102528}} 
[2026-09-09 11:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":175374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:36:20] local.INFO: GPS data processed {"connection_id":175374,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:36:20] local.INFO: Acknowledgment sent {"connection_id":175374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:36:23] local.INFO: TCP Data received {"connection_id":178173,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:36:23] local.INFO: Processing buffer {"connection_id":178173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:36:23] local.INFO: Packet analysis {"connection_id":178173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:36:23] local.INFO: Extracted packet for processing {"connection_id":178173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":178173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:36:23] local.INFO: GPS data processed {"connection_id":178173,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:36:23] local.INFO: Acknowledgment sent {"connection_id":178173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:36:30] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:36:30] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:36:30] local.INFO: IMEI packet received {"connection_id":175375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":175375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:36:31] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:36:31] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:36:31] local.INFO: IMEI packet received {"connection_id":175375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":175375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:36:35] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:36:35] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:36:35] local.INFO: IMEI packet received {"connection_id":175375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":175375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:36:36] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c43bc0012d1afd00072595c0003700971f..."} 
[2026-09-09 11:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c43bc0012d1afd00072595c0003700971f..."} 
[2026-09-09 11:36:36] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c43bc0012d1afd00072595c0003700971f..."} 
[2026-09-09 11:36:36] local.INFO: Packet analysis {"connection_id":175375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c4"} 
[2026-09-09 11:36:36] local.INFO: Extracted packet for processing {"connection_id":175375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c4"} 
[2026-09-09 11:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":31,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967059712001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944781013533642752,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788933848000,"timestamp_ms":1788933848000,"timestamp_seconds":1788933848,"priority":1,"record_length":96,"hex_timestamp":"000001a084c43bc0"} 
[2026-09-09 11:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:36: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-09-09 11:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-09 11:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:36:36] 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-09-09 11:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967059712001,"66":12341,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944781013533642752},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967059712001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:36:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944781013533642752,"description":"Unknown IO ID 45"} 
[2026-09-09 11:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967059712001,"power":12341,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944781013533642752}} 
[2026-09-09 11:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":175375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:36:36] local.INFO: GPS data processed {"connection_id":175375,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:36:36] local.INFO: Acknowledgment sent {"connection_id":175375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:36:39] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:36:39] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:36:39] local.INFO: IMEI packet received {"connection_id":175592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":175592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:36:45] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:36:45] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:36:45] local.INFO: IMEI packet received {"connection_id":175592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":175592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:36:46] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:36:46] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:36:46] local.INFO: Packet analysis {"connection_id":175592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:36:46] local.INFO: Extracted packet for processing {"connection_id":175592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":175592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:36:46] local.INFO: GPS data processed {"connection_id":175592,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:36:46] local.INFO: Acknowledgment sent {"connection_id":175592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:37:07] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c48dc8012d1afd00072595c0003700971f..."} 
[2026-09-09 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c48dc8012d1afd00072595c0003700971f..."} 
[2026-09-09 11:37:07] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c48dc8012d1afd00072595c0003700971f..."} 
[2026-09-09 11:37:07] local.INFO: Packet analysis {"connection_id":175375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c4"} 
[2026-09-09 11:37:07] local.INFO: Extracted packet for processing {"connection_id":175375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c4"} 
[2026-09-09 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":31,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967065088001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788933869000,"timestamp_ms":1788933869000,"timestamp_seconds":1788933869,"priority":1,"record_length":96,"hex_timestamp":"000001a084c48dc8"} 
[2026-09-09 11:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:37: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-09-09 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 11:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:37:07] 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-09-09 11:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967065088001,"66":12993,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967065088001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:37:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967065088001,"power":12993,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":175375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:37:07] local.INFO: GPS data processed {"connection_id":175375,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:37:07] local.INFO: Acknowledgment sent {"connection_id":175375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:37:18] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:37:18] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:37:18] local.INFO: Packet analysis {"connection_id":175592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:37:18] local.INFO: Extracted packet for processing {"connection_id":175592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:37: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-09-09 11:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:37:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":175592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:37:18] local.INFO: GPS data processed {"connection_id":175592,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:37:18] local.INFO: Acknowledgment sent {"connection_id":175592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:37:30] local.INFO: TCP Data received {"connection_id":178174,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:37:30] local.INFO: Processing buffer {"connection_id":178174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:37:30] local.INFO: IMEI packet received {"connection_id":178174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":178174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:37:35] local.INFO: TCP Data received {"connection_id":178174,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:37:35] local.INFO: Processing buffer {"connection_id":178174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:37:35] local.INFO: IMEI packet received {"connection_id":178174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":178174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:37:35] local.INFO: TCP Data received {"connection_id":178174,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c4dfd0012d1afd00072595c00037009721..."} 
[2026-09-09 11:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c4dfd0012d1afd00072595c00037009721..."} 
[2026-09-09 11:37:35] local.INFO: Processing buffer {"connection_id":178174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c4dfd0012d1afd00072595c00037009721..."} 
[2026-09-09 11:37:35] local.INFO: Packet analysis {"connection_id":178174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c4"} 
[2026-09-09 11:37:35] local.INFO: Extracted packet for processing {"connection_id":178174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c4"} 
[2026-09-09 11:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":33,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 11:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967070464001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788933890000,"timestamp_ms":1788933890000,"timestamp_seconds":1788933890,"priority":1,"record_length":96,"hex_timestamp":"000001a084c4dfd0"} 
[2026-09-09 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-09-09 11:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-09 11:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 11:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:37:35] 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-09-09 11:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967070464001,"66":12993,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967070464001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:37:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967070464001,"power":12993,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":178174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:37:36] local.INFO: GPS data processed {"connection_id":178174,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:37:36] local.INFO: Acknowledgment sent {"connection_id":178174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:37:39] local.INFO: TCP Data received {"connection_id":176726,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:37:39] local.INFO: Processing buffer {"connection_id":176726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:37:39] local.INFO: IMEI packet received {"connection_id":176726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":176726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:37:44] local.INFO: TCP Data received {"connection_id":176726,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:37:44] local.INFO: Processing buffer {"connection_id":176726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:37:44] local.INFO: IMEI packet received {"connection_id":176726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":176726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:37:45] local.INFO: TCP Data received {"connection_id":176726,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:37:45] local.INFO: Processing buffer {"connection_id":176726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c2bcf0012d34c14006aa42c8000900022a..."} 
[2026-09-09 11:37:45] local.INFO: Packet analysis {"connection_id":176726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:37:45] local.INFO: Extracted packet for processing {"connection_id":176726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c2"} 
[2026-09-09 11:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457966962944001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788933750000,"timestamp_ms":1788933750000,"timestamp_seconds":1788933750,"priority":1,"record_length":96,"hex_timestamp":"000001a084c2bcf0"} 
[2026-09-09 11:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:37: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-09-09 11:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457966962944001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457966962944001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457966962944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":176726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:37:45] local.INFO: GPS data processed {"connection_id":176726,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:37:45] local.INFO: Acknowledgment sent {"connection_id":176726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:38:08] local.INFO: TCP Data received {"connection_id":178174,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c531d8012d1afd00072595c00037009720..."} 
[2026-09-09 11:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c531d8012d1afd00072595c00037009720..."} 
[2026-09-09 11:38:08] local.INFO: Processing buffer {"connection_id":178174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c531d8012d1afd00072595c00037009720..."} 
[2026-09-09 11:38:08] local.INFO: Packet analysis {"connection_id":178174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c5"} 
[2026-09-09 11:38:08] local.INFO: Extracted packet for processing {"connection_id":178174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c5"} 
[2026-09-09 11:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":32,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967075840001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788933911000,"timestamp_ms":1788933911000,"timestamp_seconds":1788933911,"priority":1,"record_length":96,"hex_timestamp":"000001a084c531d8"} 
[2026-09-09 11:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-09 11:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:38:08] 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-09-09 11:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967075840001,"66":12972,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967075840001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:38:08] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967075840001,"power":12972,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":178174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:38:08] local.INFO: GPS data processed {"connection_id":178174,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:38:08] local.INFO: Acknowledgment sent {"connection_id":178174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:38:16] local.INFO: TCP Data received {"connection_id":176726,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:38:16] local.INFO: Processing buffer {"connection_id":176726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:38:16] local.INFO: Packet analysis {"connection_id":176726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:38:16] local.INFO: Extracted packet for processing {"connection_id":176726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:38:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":176726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:38:16] local.INFO: GPS data processed {"connection_id":176726,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:38:16] local.INFO: Acknowledgment sent {"connection_id":176726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:38:35] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:38:35] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:38:35] local.INFO: IMEI packet received {"connection_id":175593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":175593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:38:37] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:38:37] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:38:37] local.INFO: IMEI packet received {"connection_id":175593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":175593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:38:39] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c583e0012d1afd00072595c00037009720..."} 
[2026-09-09 11:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c583e0012d1afd00072595c00037009720..."} 
[2026-09-09 11:38:39] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c583e0012d1afd00072595c00037009720..."} 
[2026-09-09 11:38:39] local.INFO: Packet analysis {"connection_id":175593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c5"} 
[2026-09-09 11:38:39] local.INFO: Extracted packet for processing {"connection_id":175593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c5"} 
[2026-09-09 11:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":32,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967081216001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788933932000,"timestamp_ms":1788933932000,"timestamp_seconds":1788933932,"priority":1,"record_length":96,"hex_timestamp":"000001a084c583e0"} 
[2026-09-09 11:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-09 11:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:38:39] 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-09-09 11:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967081216001,"66":12950,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967081216001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:38:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967081216001,"power":12950,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:38:39] local.INFO: TCP Data received {"connection_id":175376,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:38:39] local.INFO: Processing buffer {"connection_id":175376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:38:39] local.INFO: IMEI packet received {"connection_id":175376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":175376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":175593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:38:39] local.INFO: GPS data processed {"connection_id":175593,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:38:39] local.INFO: Acknowledgment sent {"connection_id":175593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:38:44] local.INFO: TCP Data received {"connection_id":175376,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:38:44] local.INFO: Processing buffer {"connection_id":175376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:38:44] local.INFO: IMEI packet received {"connection_id":175376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":175376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:38:45] local.INFO: TCP Data received {"connection_id":175376,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:38:45] local.INFO: Processing buffer {"connection_id":175376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:38:45] local.INFO: Packet analysis {"connection_id":175376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:38:45] local.INFO: Extracted packet for processing {"connection_id":175376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:38: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-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:38: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-09-09 11:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:38:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":175376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:38:45] local.INFO: GPS data processed {"connection_id":175376,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:38:45] local.INFO: Acknowledgment sent {"connection_id":175376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:39:10] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c5d5e8012d1afd00072595c00037009721..."} 
[2026-09-09 11:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c5d5e8012d1afd00072595c00037009721..."} 
[2026-09-09 11:39:10] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c5d5e8012d1afd00072595c00037009721..."} 
[2026-09-09 11:39:10] local.INFO: Packet analysis {"connection_id":175593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c5"} 
[2026-09-09 11:39:10] local.INFO: Extracted packet for processing {"connection_id":175593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c5"} 
[2026-09-09 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":33,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967086592001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788933953000,"timestamp_ms":1788933953000,"timestamp_seconds":1788933953,"priority":1,"record_length":96,"hex_timestamp":"000001a084c5d5e8"} 
[2026-09-09 11:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-09 11:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:39:10] 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-09-09 11:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967086592001,"66":12841,"43":206,"83":41984,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967086592001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:39:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967086592001,"power":12841,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":175593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:39:10] local.INFO: GPS data processed {"connection_id":175593,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:39:10] local.INFO: Acknowledgment sent {"connection_id":175593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:39:16] local.INFO: TCP Data received {"connection_id":175376,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:39:16] local.INFO: Processing buffer {"connection_id":175376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:39:16] local.INFO: Packet analysis {"connection_id":175376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:39:16] local.INFO: Extracted packet for processing {"connection_id":175376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:39: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-09-09 11:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:39:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":175376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:39:16] local.INFO: GPS data processed {"connection_id":175376,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:39:16] local.INFO: Acknowledgment sent {"connection_id":175376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:39:30] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:39:30] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:39:30] local.INFO: IMEI packet received {"connection_id":175594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":175594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:39:35] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:39:35] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:39:35] local.INFO: IMEI packet received {"connection_id":175594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":175594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:39:36] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c627f0012d1afd00072595c0003700971f..."} 
[2026-09-09 11:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c627f0012d1afd00072595c0003700971f..."} 
[2026-09-09 11:39:36] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c627f0012d1afd00072595c0003700971f..."} 
[2026-09-09 11:39:36] local.INFO: Packet analysis {"connection_id":175594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c6"} 
[2026-09-09 11:39:36] local.INFO: Extracted packet for processing {"connection_id":175594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c6"} 
[2026-09-09 11:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":31,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967091968001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788933974000,"timestamp_ms":1788933974000,"timestamp_seconds":1788933974,"priority":1,"record_length":96,"hex_timestamp":"000001a084c627f0"} 
[2026-09-09 11:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:39: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-09-09 11:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 11:39: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-09-09 11: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-09-09 11:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:39:36] 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-09-09 11:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967091968001,"66":12928,"43":206,"83":41984,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967091968001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:39:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967091968001,"power":12928,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":175594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:39:36] local.INFO: GPS data processed {"connection_id":175594,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:39:36] local.INFO: Acknowledgment sent {"connection_id":175594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:39:39] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:39:39] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:39:39] local.INFO: IMEI packet received {"connection_id":176728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":176728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:39:44] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:39:44] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:39:44] local.INFO: IMEI packet received {"connection_id":176728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":176728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:39:47] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:39:47] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:39:47] local.INFO: Packet analysis {"connection_id":176728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:39:47] local.INFO: Extracted packet for processing {"connection_id":176728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:39: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-09-09 11:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:39: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-09-09 11:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":176728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:39:47] local.INFO: GPS data processed {"connection_id":176728,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:39:47] local.INFO: Acknowledgment sent {"connection_id":176728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:40:10] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c679f8012d1afd00072595c00037009720..."} 
[2026-09-09 11:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c679f8012d1afd00072595c00037009720..."} 
[2026-09-09 11:40:10] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c679f8012d1afd00072595c00037009720..."} 
[2026-09-09 11:40:10] local.INFO: Packet analysis {"connection_id":175594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c6"} 
[2026-09-09 11:40:10] local.INFO: Extracted packet for processing {"connection_id":175594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c6"} 
[2026-09-09 11:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":32,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967097344001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788933995000,"timestamp_ms":1788933995000,"timestamp_seconds":1788933995,"priority":1,"record_length":96,"hex_timestamp":"000001a084c679f8"} 
[2026-09-09 11:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-09 11:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:40:10] 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-09-09 11:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967097344001,"66":12885,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967097344001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:40:10] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967097344001,"power":12885,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":175594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:40:10] local.INFO: GPS data processed {"connection_id":175594,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:40:10] local.INFO: Acknowledgment sent {"connection_id":175594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:40:18] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:40:18] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:40:18] local.INFO: Packet analysis {"connection_id":176728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:40:18] local.INFO: Extracted packet for processing {"connection_id":176728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:40: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-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":176728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:40:18] local.INFO: GPS data processed {"connection_id":176728,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:40:18] local.INFO: Acknowledgment sent {"connection_id":176728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:40:31] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:40:31] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:40:31] local.INFO: IMEI packet received {"connection_id":175379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":175379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:40:36] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:40:36] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:40:36] local.INFO: IMEI packet received {"connection_id":175379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":175379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:40:39] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c6cc00012d1afd00072595c00037009721..."} 
[2026-09-09 11:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c6cc00012d1afd00072595c00037009721..."} 
[2026-09-09 11:40:39] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c6cc00012d1afd00072595c00037009721..."} 
[2026-09-09 11:40:39] local.INFO: Packet analysis {"connection_id":175379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c6"} 
[2026-09-09 11:40:39] local.INFO: Extracted packet for processing {"connection_id":175379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c6"} 
[2026-09-09 11:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":33,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967102720001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788934016000,"timestamp_ms":1788934016000,"timestamp_seconds":1788934016,"priority":1,"record_length":96,"hex_timestamp":"000001a084c6cc00"} 
[2026-09-09 11:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-09 11:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:40:39] 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-09-09 11:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967102720001,"66":12874,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967102720001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:40:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967102720001,"power":12874,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":175379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:40:39] local.INFO: GPS data processed {"connection_id":175379,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:40:39] local.INFO: Acknowledgment sent {"connection_id":175379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:40:39] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:40:39] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:40:39] local.INFO: IMEI packet received {"connection_id":176729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":176729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:40:44] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:40:44] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:40:44] local.INFO: IMEI packet received {"connection_id":176729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":176729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:40:45] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:40:45] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:40:45] local.INFO: Packet analysis {"connection_id":176729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:40:45] local.INFO: Extracted packet for processing {"connection_id":176729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:40: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-09-09 11:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:40:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":176729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:40:45] local.INFO: GPS data processed {"connection_id":176729,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:40:45] local.INFO: Acknowledgment sent {"connection_id":176729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:41:01] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:41:01] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:41:01] local.INFO: IMEI packet received {"connection_id":175380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":175380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:41:10] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c71e08012d1afd00072595c00037009721..."} 
[2026-09-09 11:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c71e08012d1afd00072595c00037009721..."} 
[2026-09-09 11:41:10] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c71e08012d1afd00072595c00037009721..."} 
[2026-09-09 11:41:10] local.INFO: Packet analysis {"connection_id":175379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:41:10] local.INFO: Extracted packet for processing {"connection_id":175379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":33,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967108096001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788934037000,"timestamp_ms":1788934037000,"timestamp_seconds":1788934037,"priority":1,"record_length":96,"hex_timestamp":"000001a084c71e08"} 
[2026-09-09 11:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:41:10] 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-09-09 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-09 11:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:41:10] 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-09-09 11:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967108096001,"66":12852,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967108096001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:41:10] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967108096001,"power":12852,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":175379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:41:10] local.INFO: GPS data processed {"connection_id":175379,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:41:10] local.INFO: Acknowledgment sent {"connection_id":175379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:41:18] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:41:18] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:41:18] local.INFO: Packet analysis {"connection_id":176729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:41:18] local.INFO: Extracted packet for processing {"connection_id":176729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:41: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-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:41:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":176729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:41:18] local.INFO: GPS data processed {"connection_id":176729,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:41:18] local.INFO: Acknowledgment sent {"connection_id":176729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:41:40] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:41:40] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:41:40] local.INFO: IMEI packet received {"connection_id":175381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":175381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:41:44] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:41:44] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:41:44] local.INFO: IMEI packet received {"connection_id":175382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":175382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:41:45] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:41:45] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:41:45] local.INFO: IMEI packet received {"connection_id":175381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":175381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:41:46] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c77010012d1afd00072595c00037009721..."} 
[2026-09-09 11:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c77010012d1afd00072595c00037009721..."} 
[2026-09-09 11:41:46] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c77010012d1afd00072595c00037009721..."} 
[2026-09-09 11:41:46] local.INFO: Packet analysis {"connection_id":175381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:41:46] local.INFO: Extracted packet for processing {"connection_id":175381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":33,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967113472001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788934058000,"timestamp_ms":1788934058000,"timestamp_seconds":1788934058,"priority":1,"record_length":96,"hex_timestamp":"000001a084c77010"} 
[2026-09-09 11:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 11:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:41:46] 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-09-09 11:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967113472001,"66":12841,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967113472001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:41:46] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967113472001,"power":12841,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":175381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:41:46] local.INFO: GPS data processed {"connection_id":175381,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:41:46] local.INFO: Acknowledgment sent {"connection_id":175381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:41:49] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:41:49] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:41:49] local.INFO: IMEI packet received {"connection_id":175382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":175382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:41:51] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:41:51] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:41:51] local.INFO: Packet analysis {"connection_id":175382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:41:51] local.INFO: Extracted packet for processing {"connection_id":175382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:41:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":175382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:41:51] local.INFO: GPS data processed {"connection_id":175382,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:41:51] local.INFO: Acknowledgment sent {"connection_id":175382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:42:22] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:42:22] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:42:22] local.INFO: Packet analysis {"connection_id":175382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:42:22] local.INFO: Extracted packet for processing {"connection_id":175382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:42:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:42:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:42:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":175382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:42:23] local.INFO: GPS data processed {"connection_id":175382,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:42:23] local.INFO: Acknowledgment sent {"connection_id":175382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:42:30] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:42:30] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:42:30] local.INFO: IMEI packet received {"connection_id":176730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":176730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:42:35] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:42:35] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:42:35] local.INFO: IMEI packet received {"connection_id":176730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":176730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:42:36] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c7c218012d1afd00072595c00037009721..."} 
[2026-09-09 11:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c7c218012d1afd00072595c00037009721..."} 
[2026-09-09 11:42:36] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c7c218012d1afd00072595c00037009721..."} 
[2026-09-09 11:42:36] local.INFO: Packet analysis {"connection_id":176730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:42:36] local.INFO: Extracted packet for processing {"connection_id":176730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":33,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967118848001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788934079000,"timestamp_ms":1788934079000,"timestamp_seconds":1788934079,"priority":1,"record_length":96,"hex_timestamp":"000001a084c7c218"} 
[2026-09-09 11:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:42: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-09-09 11:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 11:42: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-09-09 11: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-09-09 11:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:42:36] 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-09-09 11:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967118848001,"66":12819,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967118848001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:42:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967118848001,"power":12819,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":176730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:42:36] local.INFO: GPS data processed {"connection_id":176730,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:42:36] local.INFO: Acknowledgment sent {"connection_id":176730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:42:39] local.INFO: TCP Data received {"connection_id":178176,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:42:39] local.INFO: Processing buffer {"connection_id":178176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:42:39] local.INFO: IMEI packet received {"connection_id":178176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":178176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:42:44] local.INFO: TCP Data received {"connection_id":178176,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:42:44] local.INFO: Processing buffer {"connection_id":178176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:42:44] local.INFO: IMEI packet received {"connection_id":178176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":178176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:42:46] local.INFO: TCP Data received {"connection_id":178176,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:42:46] local.INFO: Processing buffer {"connection_id":178176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c754b8012d34c14006aa42c8000900022b..."} 
[2026-09-09 11:42:46] local.INFO: Packet analysis {"connection_id":178176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:42:46] local.INFO: Extracted packet for processing {"connection_id":178176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c7"} 
[2026-09-09 11:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967040000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788934051000,"timestamp_ms":1788934051000,"timestamp_seconds":1788934051,"priority":1,"record_length":96,"hex_timestamp":"000001a084c754b8"} 
[2026-09-09 11:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967040000001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967040000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967040000001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":178176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:42:46] local.INFO: GPS data processed {"connection_id":178176,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:42:46] local.INFO: Acknowledgment sent {"connection_id":178176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:43:07] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084c81420012d1afd00072595c00037009721..."} 
[2026-09-09 11:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084c81420012d1afd00072595c00037009721..."} 
[2026-09-09 11:43:07] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084c81420012d1afd00072595c00037009721..."} 
[2026-09-09 11:43:07] local.INFO: Packet analysis {"connection_id":176730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084c8"} 
[2026-09-09 11:43:07] local.INFO: Extracted packet for processing {"connection_id":176730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084c8"} 
[2026-09-09 11:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":33,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967124224001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788934100000,"timestamp_ms":1788934100000,"timestamp_seconds":1788934100,"priority":1,"record_length":96,"hex_timestamp":"000001a084c81420"} 
[2026-09-09 11:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:43: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-09-09 11:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2063597568,"corrected_to":0} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2227557864,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3363504128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503886458716160,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-4214278530632319744,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2512388151,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3386970806872768768,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7687363975111442456,"corrected_to":0} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":39,"raw_value":4026608922,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":15481772796018688,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182040731058432,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954586940843806291,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2708281858088539936,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84753641919423893,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,175,83,24,241,157,16,200,160,112,45,149,55,33,10,66,30,204,1,240,74,227,132,37,4,113,205,39,253,192,31,239,50,43,2,7,164,123,69,216],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":200,"original":2063597568,"validated":0},{"io_id":205,"original":7687363975111442456,"validated":0}]} 
[2026-09-09 11:43:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963333840075751424,"timestamp_seconds":3963333840075751.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 11:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:43:07] 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-09-09 11:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967124224001,"66":12819,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967124224001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:43:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967124224001,"power":12819,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":176730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:43:07] local.INFO: GPS data processed {"connection_id":176730,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:43:07] local.INFO: Acknowledgment sent {"connection_id":176730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:43:18] local.INFO: TCP Data received {"connection_id":178176,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:43:18] local.INFO: Processing buffer {"connection_id":178176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:43:18] local.INFO: Packet analysis {"connection_id":178176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:43:18] local.INFO: Extracted packet for processing {"connection_id":178176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:43: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-09-09 11:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:43:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":178176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:43:18] local.INFO: GPS data processed {"connection_id":178176,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:43:18] local.INFO: Acknowledgment sent {"connection_id":178176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:43:31] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:43:31] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:43:31] local.INFO: IMEI packet received {"connection_id":175383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":175383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:43:35] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:43:35] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:43:35] local.INFO: IMEI packet received {"connection_id":175383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":175383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:43:39] local.INFO: TCP Data received {"connection_id":175595,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:43:39] local.INFO: Processing buffer {"connection_id":175595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:43:39] local.INFO: IMEI packet received {"connection_id":175595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":175595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:43:40] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:43:40] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:43:40] local.INFO: IMEI packet received {"connection_id":175383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":175383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:43:41] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cb9a78012d1afd00072595c00037009722..."} 
[2026-09-09 11:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cb9a78012d1afd00072595c00037009722..."} 
[2026-09-09 11:43:41] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cb9a78012d1afd00072595c00037009722..."} 
[2026-09-09 11:43:41] local.INFO: Packet analysis {"connection_id":175383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:43:41] local.INFO: Extracted packet for processing {"connection_id":175383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967183360001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788934331000,"timestamp_ms":1788934331000,"timestamp_seconds":1788934331,"priority":1,"record_length":96,"hex_timestamp":"000001a084cb9a78"} 
[2026-09-09 11:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 11:43: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-09-09 11:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:43:41] 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-09-09 11:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967183360001,"66":12667,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967183360001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:43:41] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967183360001,"power":12667,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":175383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:43:41] local.INFO: GPS data processed {"connection_id":175383,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:43:41] local.INFO: Acknowledgment sent {"connection_id":175383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:43:44] local.INFO: TCP Data received {"connection_id":175595,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:43:44] local.INFO: Processing buffer {"connection_id":175595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:43:44] local.INFO: IMEI packet received {"connection_id":175595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":175595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:43:45] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d1afd00072595c00037009720..."} 
[2026-09-09 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d1afd00072595c00037009720..."} 
[2026-09-09 11:43:45] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d1afd00072595c00037009720..."} 
[2026-09-09 11:43:45] local.INFO: Packet analysis {"connection_id":175383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:43:45] local.INFO: Extracted packet for processing {"connection_id":175383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":32,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967188736001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-09 11:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:43:45] 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-09-09 11:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967188736001,"66":12667,"43":206,"83":41984,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967188736001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:43:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967188736001,"power":12667,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":175383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:43:46] local.INFO: GPS data processed {"connection_id":175383,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:43:46] local.INFO: Acknowledgment sent {"connection_id":175383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:43:47] local.INFO: TCP Data received {"connection_id":175595,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:43:47] local.INFO: Processing buffer {"connection_id":175595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:43:47] local.INFO: Packet analysis {"connection_id":175595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:43:47] local.INFO: Extracted packet for processing {"connection_id":175595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:43: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-09-09 11:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:43:47] 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-09-09 11:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:43:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":175595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:43:47] local.INFO: GPS data processed {"connection_id":175595,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:43:47] local.INFO: Acknowledgment sent {"connection_id":175595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:44:19] local.INFO: TCP Data received {"connection_id":175595,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:44:19] local.INFO: Processing buffer {"connection_id":175595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:44:19] local.INFO: Packet analysis {"connection_id":175595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:44:19] local.INFO: Extracted packet for processing {"connection_id":175595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:44: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-09-09 11:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:44:19] 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-09-09 11:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:44:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":175595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:44:19] local.INFO: GPS data processed {"connection_id":175595,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:44:19] local.INFO: Acknowledgment sent {"connection_id":175595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:44:30] local.INFO: TCP Data received {"connection_id":176731,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:44:30] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:44:30] local.INFO: IMEI packet received {"connection_id":176731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":176731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:44:35] local.INFO: TCP Data received {"connection_id":176731,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:44:35] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:44:35] local.INFO: IMEI packet received {"connection_id":176731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":176731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:44:36] local.INFO: TCP Data received {"connection_id":176731,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cc3e88012d1afd00072595c00037009722..."} 
[2026-09-09 11:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cc3e88012d1afd00072595c00037009722..."} 
[2026-09-09 11:44:36] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cc3e88012d1afd00072595c00037009722..."} 
[2026-09-09 11:44:36] local.INFO: Packet analysis {"connection_id":176731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cc"} 
[2026-09-09 11:44:36] local.INFO: Extracted packet for processing {"connection_id":176731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cc"} 
[2026-09-09 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788934373000,"timestamp_ms":1788934373000,"timestamp_seconds":1788934373,"priority":1,"record_length":96,"hex_timestamp":"000001a084cc3e88"} 
[2026-09-09 11:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-09 11:44: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-09-09 11:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:44:36] 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-09-09 11:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":11254,"43":206,"83":41984,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:44:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":11254,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":176731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:44:36] local.INFO: GPS data processed {"connection_id":176731,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:44:36] local.INFO: Acknowledgment sent {"connection_id":176731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:44:44] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:44:44] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:44:44] local.INFO: IMEI packet received {"connection_id":175385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":175385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:44:49] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:44:49] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:44:49] local.INFO: IMEI packet received {"connection_id":175385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":175385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:44:52] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:44:52] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:44:52] local.INFO: Packet analysis {"connection_id":175385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:44:52] local.INFO: Extracted packet for processing {"connection_id":175385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":175385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:44:52] local.INFO: GPS data processed {"connection_id":175385,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:44:52] local.INFO: Acknowledgment sent {"connection_id":175385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:44:55] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:44:55] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:44:55] local.INFO: Packet analysis {"connection_id":175385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:44:55] local.INFO: Extracted packet for processing {"connection_id":175385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:44:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:44:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":175385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:44:55] local.INFO: GPS data processed {"connection_id":175385,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:44:55] local.INFO: Acknowledgment sent {"connection_id":175385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:45:07] local.INFO: TCP Data received {"connection_id":176731,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cc9090012d1afd00072595c00037009722..."} 
[2026-09-09 11:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cc9090012d1afd00072595c00037009722..."} 
[2026-09-09 11:45:07] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cc9090012d1afd00072595c00037009722..."} 
[2026-09-09 11:45:07] local.INFO: Packet analysis {"connection_id":176731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cc"} 
[2026-09-09 11:45:07] local.INFO: Extracted packet for processing {"connection_id":176731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cc"} 
[2026-09-09 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967199488001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788934394000,"timestamp_ms":1788934394000,"timestamp_seconds":1788934394,"priority":1,"record_length":96,"hex_timestamp":"000001a084cc9090"} 
[2026-09-09 11:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:45: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-09-09 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 11:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:45:07] 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-09-09 11:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967199488001,"66":12613,"43":206,"83":41984,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967199488001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:45:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967199488001,"power":12613,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":176731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:45:07] local.INFO: GPS data processed {"connection_id":176731,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:45:07] local.INFO: Acknowledgment sent {"connection_id":176731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:45:30] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:45:30] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:45:30] local.INFO: IMEI packet received {"connection_id":175596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":175596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:45:35] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:45:35] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:45:35] local.INFO: IMEI packet received {"connection_id":175596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":175596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:45:36] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cce298012d1afd00072595c00037009720..."} 
[2026-09-09 11:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cce298012d1afd00072595c00037009720..."} 
[2026-09-09 11:45:36] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cce298012d1afd00072595c00037009720..."} 
[2026-09-09 11:45:36] local.INFO: Packet analysis {"connection_id":175596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cc"} 
[2026-09-09 11:45:36] local.INFO: Extracted packet for processing {"connection_id":175596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cc"} 
[2026-09-09 11:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":32,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967204864001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788934415000,"timestamp_ms":1788934415000,"timestamp_seconds":1788934415,"priority":1,"record_length":96,"hex_timestamp":"000001a084cce298"} 
[2026-09-09 11:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:45: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-09-09 11:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-09 11:45: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-09-09 11: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-09-09 11:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:45:36] 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-09-09 11:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967204864001,"66":12613,"43":206,"83":41984,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967204864001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:45:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967204864001,"power":12613,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":175596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:45:37] local.INFO: GPS data processed {"connection_id":175596,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:45:37] local.INFO: Acknowledgment sent {"connection_id":175596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:45:39] local.INFO: TCP Data received {"connection_id":175597,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:45:39] local.INFO: Processing buffer {"connection_id":175597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:45:39] local.INFO: IMEI packet received {"connection_id":175597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":175597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:45:44] local.INFO: TCP Data received {"connection_id":175597,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:45:44] local.INFO: Processing buffer {"connection_id":175597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:45:44] local.INFO: IMEI packet received {"connection_id":175597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":175597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:45:46] local.INFO: TCP Data received {"connection_id":175597,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:45:46] local.INFO: Processing buffer {"connection_id":175597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:45:46] local.INFO: Packet analysis {"connection_id":175597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:45:46] local.INFO: Extracted packet for processing {"connection_id":175597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":175597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:45:46] local.INFO: GPS data processed {"connection_id":175597,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:45:46] local.INFO: Acknowledgment sent {"connection_id":175597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:46:08] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cd34a0012d1afd00072595c00037009723..."} 
[2026-09-09 11:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cd34a0012d1afd00072595c00037009723..."} 
[2026-09-09 11:46:08] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cd34a0012d1afd00072595c00037009723..."} 
[2026-09-09 11:46:08] local.INFO: Packet analysis {"connection_id":175596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cd"} 
[2026-09-09 11:46:08] local.INFO: Extracted packet for processing {"connection_id":175596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cd"} 
[2026-09-09 11:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967210240001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788934436000,"timestamp_ms":1788934436000,"timestamp_seconds":1788934436,"priority":1,"record_length":96,"hex_timestamp":"000001a084cd34a0"} 
[2026-09-09 11:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:46: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-09-09 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-09 11:46: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-09-09 11: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-09-09 11:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:46:08] 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-09-09 11:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967210240001,"66":12591,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967210240001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:46:08] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967210240001,"power":12591,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":175596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:46:08] local.INFO: GPS data processed {"connection_id":175596,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:46:08] local.INFO: Acknowledgment sent {"connection_id":175596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:46:17] local.INFO: TCP Data received {"connection_id":175597,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:46:17] local.INFO: Processing buffer {"connection_id":175597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:46:17] local.INFO: Packet analysis {"connection_id":175597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:46:17] local.INFO: Extracted packet for processing {"connection_id":175597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":175597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:46:17] local.INFO: GPS data processed {"connection_id":175597,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:46:17] local.INFO: Acknowledgment sent {"connection_id":175597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:46:21] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:46:21] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:46:21] local.INFO: IMEI packet received {"connection_id":175598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":175598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:46:30] local.INFO: TCP Data received {"connection_id":175599,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:46:30] local.INFO: Processing buffer {"connection_id":175599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:46:30] local.INFO: IMEI packet received {"connection_id":175599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":175599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:46:35] local.INFO: TCP Data received {"connection_id":175599,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:46:35] local.INFO: Processing buffer {"connection_id":175599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:46:35] local.INFO: IMEI packet received {"connection_id":175599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":175599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:46:37] local.INFO: TCP Data received {"connection_id":175599,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cd86a8012d1afd00072595c0003700971f..."} 
[2026-09-09 11:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cd86a8012d1afd00072595c0003700971f..."} 
[2026-09-09 11:46:37] local.INFO: Processing buffer {"connection_id":175599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cd86a8012d1afd00072595c0003700971f..."} 
[2026-09-09 11:46:37] local.INFO: Packet analysis {"connection_id":175599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cd"} 
[2026-09-09 11:46:37] local.INFO: Extracted packet for processing {"connection_id":175599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cd"} 
[2026-09-09 11:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":31,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967215616001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788934457000,"timestamp_ms":1788934457000,"timestamp_seconds":1788934457,"priority":1,"record_length":96,"hex_timestamp":"000001a084cd86a8"} 
[2026-09-09 11:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:46: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-09-09 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 11:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:46: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-09-09 11:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967215616001,"66":12591,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967215616001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:46:37] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967215616001,"power":12591,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":175599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:46:37] local.INFO: GPS data processed {"connection_id":175599,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:46:37] local.INFO: Acknowledgment sent {"connection_id":175599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:46:39] local.INFO: TCP Data received {"connection_id":175600,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:46:39] local.INFO: Processing buffer {"connection_id":175600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:46:39] local.INFO: IMEI packet received {"connection_id":175600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":175600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:46:42] local.INFO: TCP Data received {"connection_id":176732,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:46:42] local.INFO: Processing buffer {"connection_id":176732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:46:42] local.INFO: IMEI packet received {"connection_id":176732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":176732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:46:44] local.INFO: TCP Data received {"connection_id":175600,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:46:44] local.INFO: Processing buffer {"connection_id":175600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:46:44] local.INFO: IMEI packet received {"connection_id":175600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":175600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:46:47] local.INFO: TCP Data received {"connection_id":175600,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:46:47] local.INFO: Processing buffer {"connection_id":175600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:46:47] local.INFO: Packet analysis {"connection_id":175600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:46:47] local.INFO: Extracted packet for processing {"connection_id":175600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:46: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-09-09 11:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":175600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:46:47] local.INFO: GPS data processed {"connection_id":175600,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:46:47] local.INFO: Acknowledgment sent {"connection_id":175600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:47:08] local.INFO: TCP Data received {"connection_id":175599,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cdd8b0012d1afd00072595c00037009720..."} 
[2026-09-09 11:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cdd8b0012d1afd00072595c00037009720..."} 
[2026-09-09 11:47:08] local.INFO: Processing buffer {"connection_id":175599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cdd8b0012d1afd00072595c00037009720..."} 
[2026-09-09 11:47:08] local.INFO: Packet analysis {"connection_id":175599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cd"} 
[2026-09-09 11:47:08] local.INFO: Extracted packet for processing {"connection_id":175599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cd"} 
[2026-09-09 11:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":32,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967220992001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788934478000,"timestamp_ms":1788934478000,"timestamp_seconds":1788934478,"priority":1,"record_length":96,"hex_timestamp":"000001a084cdd8b0"} 
[2026-09-09 11:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:47: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-09-09 11:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 11:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:47:08] 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-09-09 11:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967220992001,"66":12580,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967220992001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:47:08] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967220992001,"power":12580,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":175599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:47:08] local.INFO: GPS data processed {"connection_id":175599,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:47:08] local.INFO: Acknowledgment sent {"connection_id":175599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:47:19] local.INFO: TCP Data received {"connection_id":175600,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:47:19] local.INFO: Processing buffer {"connection_id":175600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:47:19] local.INFO: Packet analysis {"connection_id":175600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:47:19] local.INFO: Extracted packet for processing {"connection_id":175600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:47: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-09-09 11:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:47:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":175600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:47:19] local.INFO: GPS data processed {"connection_id":175600,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:47:19] local.INFO: Acknowledgment sent {"connection_id":175600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:47:35] local.INFO: TCP Data received {"connection_id":175601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:47:35] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:47:35] local.INFO: IMEI packet received {"connection_id":175601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":175601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:47:39] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:47:39] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:47:39] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:47:40] local.INFO: TCP Data received {"connection_id":175601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:47:40] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:47:40] local.INFO: IMEI packet received {"connection_id":175601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":175601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:47:44] local.INFO: TCP Data received {"connection_id":175601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ce2ab8012d1afd00072595c00037009722..."} 
[2026-09-09 11:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ce2ab8012d1afd00072595c00037009722..."} 
[2026-09-09 11:47:44] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ce2ab8012d1afd00072595c00037009722..."} 
[2026-09-09 11:47:44] local.INFO: Packet analysis {"connection_id":175601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ce"} 
[2026-09-09 11:47:44] local.INFO: Extracted packet for processing {"connection_id":175601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ce"} 
[2026-09-09 11:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967226368001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788934499000,"timestamp_ms":1788934499000,"timestamp_seconds":1788934499,"priority":1,"record_length":96,"hex_timestamp":"000001a084ce2ab8"} 
[2026-09-09 11:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-09 11:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:47:44] 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-09-09 11:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967226368001,"66":12558,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967226368001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:47:44] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967226368001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":175601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:47:44] local.INFO: GPS data processed {"connection_id":175601,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:47:44] local.INFO: Acknowledgment sent {"connection_id":175601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:47:44] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:47:44] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:47:44] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:47:45] local.INFO: TCP Data received {"connection_id":175601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ce7cc0012d1afd00072595c00037009722..."} 
[2026-09-09 11:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ce7cc0012d1afd00072595c00037009722..."} 
[2026-09-09 11:47:45] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ce7cc0012d1afd00072595c00037009722..."} 
[2026-09-09 11:47:45] local.INFO: Packet analysis {"connection_id":175601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ce"} 
[2026-09-09 11:47:45] local.INFO: Extracted packet for processing {"connection_id":175601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ce"} 
[2026-09-09 11:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967231744001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788934520000,"timestamp_ms":1788934520000,"timestamp_seconds":1788934520,"priority":1,"record_length":96,"hex_timestamp":"000001a084ce7cc0"} 
[2026-09-09 11:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:47: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-09-09 11:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2063597568,"corrected_to":0} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2227977864,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3363504128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":52,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250188257662965184,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3437402113,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2512388151,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2415996186,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3098703402259978240,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,175,83,24,241,157,16,200,160,216,45,149,55,32,10,66,134,31,52,1,240,47,227,132,37,4,113,205,144,253,192,34,239,49,43,2,7,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":200,"original":2063597568,"validated":0},{"io_id":205,"original":724238542,"validated":0}]} 
[2026-09-09 11:47:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963333844370718720,"timestamp_seconds":3963333844370718.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 11:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:47:45] 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-09-09 11:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967231744001,"66":12580,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967231744001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:47:45] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967231744001,"power":12580,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":175601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:47:45] local.INFO: GPS data processed {"connection_id":175601,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:47:45] local.INFO: Acknowledgment sent {"connection_id":175601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:47:47] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:47:47] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cbec80012d34c14006aa42c8000900022c..."} 
[2026-09-09 11:47:47] local.INFO: Packet analysis {"connection_id":175386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:47:47] local.INFO: Extracted packet for processing {"connection_id":175386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cb"} 
[2026-09-09 11:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967117056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788934352000,"timestamp_ms":1788934352000,"timestamp_seconds":1788934352,"priority":1,"record_length":96,"hex_timestamp":"000001a084cbec80"} 
[2026-09-09 11:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:47: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-09-09 11: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-09-09 11:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967117056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967117056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967117056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":175386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:47:47] local.INFO: GPS data processed {"connection_id":175386,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:47:47] local.INFO: Acknowledgment sent {"connection_id":175386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:48:19] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:48:19] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:48:19] local.INFO: Packet analysis {"connection_id":175386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:48:19] local.INFO: Extracted packet for processing {"connection_id":175386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:48: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-09-09 11:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:48:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":175386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:48:19] local.INFO: GPS data processed {"connection_id":175386,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:48:19] local.INFO: Acknowledgment sent {"connection_id":175386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:48:30] local.INFO: TCP Data received {"connection_id":175602,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:48:30] local.INFO: Processing buffer {"connection_id":175602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:48:30] local.INFO: IMEI packet received {"connection_id":175602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":175602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:48:35] local.INFO: TCP Data received {"connection_id":175602,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:48:35] local.INFO: Processing buffer {"connection_id":175602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:48:35] local.INFO: IMEI packet received {"connection_id":175602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":175602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:48:36] local.INFO: TCP Data received {"connection_id":175602,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cecec8012d1afd00072595c00037009722..."} 
[2026-09-09 11:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cecec8012d1afd00072595c00037009722..."} 
[2026-09-09 11:48:36] local.INFO: Processing buffer {"connection_id":175602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cecec8012d1afd00072595c00037009722..."} 
[2026-09-09 11:48:36] local.INFO: Packet analysis {"connection_id":175602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ce"} 
[2026-09-09 11:48:36] local.INFO: Extracted packet for processing {"connection_id":175602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ce"} 
[2026-09-09 11:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967237120001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788934541000,"timestamp_ms":1788934541000,"timestamp_seconds":1788934541,"priority":1,"record_length":96,"hex_timestamp":"000001a084cecec8"} 
[2026-09-09 11:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:48: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-09-09 11:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-09 11:48: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-09-09 11:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:48:36] 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-09-09 11:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967237120001,"66":12558,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967237120001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:48:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967237120001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":175602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:48:36] local.INFO: GPS data processed {"connection_id":175602,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:48:36] local.INFO: Acknowledgment sent {"connection_id":175602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:48:42] local.INFO: TCP Data received {"connection_id":175602,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cf20d0012d1afd00072595c00037009720..."} 
[2026-09-09 11:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cf20d0012d1afd00072595c00037009720..."} 
[2026-09-09 11:48:42] local.INFO: Processing buffer {"connection_id":175602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cf20d0012d1afd00072595c00037009720..."} 
[2026-09-09 11:48:42] local.INFO: Packet analysis {"connection_id":175602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cf"} 
[2026-09-09 11:48:42] local.INFO: Extracted packet for processing {"connection_id":175602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cf"} 
[2026-09-09 11:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":32,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967242496001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788934562000,"timestamp_ms":1788934562000,"timestamp_seconds":1788934562,"priority":1,"record_length":96,"hex_timestamp":"000001a084cf20d0"} 
[2026-09-09 11:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2063597568,"corrected_to":0} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2228019864,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3363504128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250188257662965184,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3448154113,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2512388151,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684431642,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3098703402259978240,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:42] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,175,83,24,241,157,16,200,160,124,45,149,55,34,10,66,42,216,1,240,36,227,132,37,4,113,205,52,253,192,35,239,49,2,7,43,53,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":200,"original":2063597568,"validated":0},{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-09 11:48:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963333844370718720,"timestamp_seconds":3963333844370718.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 11:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:48:42] 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-09-09 11:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967242496001,"66":12548,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967242496001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:48:42] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967242496001,"power":12548,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":175602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:48:42] local.INFO: GPS data processed {"connection_id":175602,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:48:42] local.INFO: Acknowledgment sent {"connection_id":175602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:48:45] local.INFO: TCP Data received {"connection_id":178180,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:48:45] local.INFO: Processing buffer {"connection_id":178180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:48:45] local.INFO: IMEI packet received {"connection_id":178180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":178180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:48:49] local.INFO: TCP Data received {"connection_id":178180,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:48:49] local.INFO: Processing buffer {"connection_id":178180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:48:49] local.INFO: IMEI packet received {"connection_id":178180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":178180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:48:53] local.INFO: TCP Data received {"connection_id":178180,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:48:53] local.INFO: Processing buffer {"connection_id":178180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:48:53] local.INFO: Packet analysis {"connection_id":178180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:48:53] local.INFO: Extracted packet for processing {"connection_id":178180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":178180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:48:53] local.INFO: GPS data processed {"connection_id":178180,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:48:53] local.INFO: Acknowledgment sent {"connection_id":178180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:48:56] local.INFO: TCP Data received {"connection_id":178180,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:48:56] local.INFO: Processing buffer {"connection_id":178180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:48:56] local.INFO: Packet analysis {"connection_id":178180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:48:56] local.INFO: Extracted packet for processing {"connection_id":178180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:48:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:48:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:48:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":178180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:48:56] local.INFO: GPS data processed {"connection_id":178180,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:48:56] local.INFO: Acknowledgment sent {"connection_id":178180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:49:23] local.INFO: TCP Data received {"connection_id":175602,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cf72d8012d1afd00072595c00037009722..."} 
[2026-09-09 11:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cf72d8012d1afd00072595c00037009722..."} 
[2026-09-09 11:49:23] local.INFO: Processing buffer {"connection_id":175602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cf72d8012d1afd00072595c00037009722..."} 
[2026-09-09 11:49:23] local.INFO: Packet analysis {"connection_id":175602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cf"} 
[2026-09-09 11:49:23] local.INFO: Extracted packet for processing {"connection_id":175602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cf"} 
[2026-09-09 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967247872001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788934583000,"timestamp_ms":1788934583000,"timestamp_seconds":1788934583,"priority":1,"record_length":96,"hex_timestamp":"000001a084cf72d8"} 
[2026-09-09 11:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2063597568,"corrected_to":0} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2228040864,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3363504128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3453530113,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2512388151,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2818649370,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,175,83,24,241,157,16,200,160,206,45,149,55,34,10,66,124,42,1,240,14,227,132,37,4,113,205,134,253,192,31,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":200,"original":2063597568,"validated":0},{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-09 11:49:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963333835780784128,"timestamp_seconds":3963333835780784.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 11:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:49:23] 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-09-09 11:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967247872001,"66":12558,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967247872001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:49:23] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967247872001,"power":12558,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":175602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:49:23] local.INFO: GPS data processed {"connection_id":175602,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:49:23] local.INFO: Acknowledgment sent {"connection_id":175602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:49:29] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:49:29] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:49:29] local.INFO: IMEI packet received {"connection_id":175387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":175387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:49:30] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:49:30] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:49:30] local.INFO: IMEI packet received {"connection_id":175387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":175387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:49:35] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:49:35] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:49:35] local.INFO: IMEI packet received {"connection_id":175387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":175387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:49:36] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084cfc4e0012d1afd00072595c00037009723..."} 
[2026-09-09 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084cfc4e0012d1afd00072595c00037009723..."} 
[2026-09-09 11:49:36] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084cfc4e0012d1afd00072595c00037009723..."} 
[2026-09-09 11:49:36] local.INFO: Packet analysis {"connection_id":175387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084cf"} 
[2026-09-09 11:49:36] local.INFO: Extracted packet for processing {"connection_id":175387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084cf"} 
[2026-09-09 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967253248001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788934604000,"timestamp_ms":1788934604000,"timestamp_seconds":1788934604,"priority":1,"record_length":96,"hex_timestamp":"000001a084cfc4e0"} 
[2026-09-09 11:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:49: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-09-09 11:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2063597568,"corrected_to":0} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2228061864,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3363504128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250188257662965184,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3458906113,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2512388151,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2952867098,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,175,83,24,241,157,16,200,160,32,45,149,55,10,66,206,34,124,1,240,36,227,132,37,4,113,205,216,253,192,239,49,2,7,106,53],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":200,"original":2063597568,"validated":0},{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-09 11:49:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963333844370718720,"timestamp_seconds":3963333844370718.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 11:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:49:36] 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-09-09 11:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967253248001,"66":12548,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967253248001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:49:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967253248001,"power":12548,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":175387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:49:36] local.INFO: GPS data processed {"connection_id":175387,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:49:36] local.INFO: Acknowledgment sent {"connection_id":175387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:49:41] local.INFO: TCP Data received {"connection_id":178181,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:49:41] local.INFO: Processing buffer {"connection_id":178181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:49:41] local.INFO: IMEI packet received {"connection_id":178181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":178181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:49:48] local.INFO: TCP Data received {"connection_id":178181,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:49:48] local.INFO: Processing buffer {"connection_id":178181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:49:48] local.INFO: IMEI packet received {"connection_id":178181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":178181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:49:51] local.INFO: TCP Data received {"connection_id":178181,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:49:51] local.INFO: Processing buffer {"connection_id":178181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:49:51] local.INFO: Packet analysis {"connection_id":178181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:49:51] local.INFO: Extracted packet for processing {"connection_id":178181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":178181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:49:51] local.INFO: GPS data processed {"connection_id":178181,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:49:51] local.INFO: Acknowledgment sent {"connection_id":178181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:49:53] local.INFO: TCP Data received {"connection_id":178181,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:49:53] local.INFO: Processing buffer {"connection_id":178181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:49:53] local.INFO: Packet analysis {"connection_id":178181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:49:53] local.INFO: Extracted packet for processing {"connection_id":178181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":178181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:49:53] local.INFO: GPS data processed {"connection_id":178181,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:49:53] local.INFO: Acknowledgment sent {"connection_id":178181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:50:07] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d016e8012d1afd00072595c00037009723..."} 
[2026-09-09 11:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d016e8012d1afd00072595c00037009723..."} 
[2026-09-09 11:50:07] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d016e8012d1afd00072595c00037009723..."} 
[2026-09-09 11:50:07] local.INFO: Packet analysis {"connection_id":175387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:50:07] local.INFO: Extracted packet for processing {"connection_id":175387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967258624001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788934625000,"timestamp_ms":1788934625000,"timestamp_seconds":1788934625,"priority":1,"record_length":96,"hex_timestamp":"000001a084d016e8"} 
[2026-09-09 11:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:50: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-09-09 11: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":4,"data_length":795,"current_offset":136} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2063597568,"corrected_to":0} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2228082864,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3363504128,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3464282113,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2512388151,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3087084826,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5836438258392754176,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,175,83,24,241,157,16,200,160,114,45,149,55,34,10,66,32,206,1,240,14,227,132,37,4,113,205,42,253,192,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":200,"original":2063597568,"validated":0},{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-09 11:50:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963333848665686016,"timestamp_seconds":3963333848665686.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 11:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:50:07] 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-09-09 11:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967258624001,"66":12526,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967258624001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:50:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967258624001,"power":12526,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":175387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:50:07] local.INFO: GPS data processed {"connection_id":175387,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:50:07] local.INFO: Acknowledgment sent {"connection_id":175387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:50:30] local.INFO: TCP Data received {"connection_id":178182,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:50:30] local.INFO: Processing buffer {"connection_id":178182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:50:30] local.INFO: IMEI packet received {"connection_id":178182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":178182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:50:31] local.INFO: TCP Data received {"connection_id":178182,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:50:31] local.INFO: Processing buffer {"connection_id":178182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:50:31] local.INFO: IMEI packet received {"connection_id":178182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":178182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:50:35] local.INFO: TCP Data received {"connection_id":178182,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:50:35] local.INFO: Processing buffer {"connection_id":178182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:50:35] local.INFO: IMEI packet received {"connection_id":178182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":178182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:50:36] local.INFO: TCP Data received {"connection_id":178182,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d068f0012d1afd00072595c00037009723..."} 
[2026-09-09 11:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d068f0012d1afd00072595c00037009723..."} 
[2026-09-09 11:50:36] local.INFO: Processing buffer {"connection_id":178182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d068f0012d1afd00072595c00037009723..."} 
[2026-09-09 11:50:36] local.INFO: Packet analysis {"connection_id":178182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:50:36] local.INFO: Extracted packet for processing {"connection_id":178182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967264000001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788934646000,"timestamp_ms":1788934646000,"timestamp_seconds":1788934646,"priority":1,"record_length":96,"hex_timestamp":"000001a084d068f0"} 
[2026-09-09 11:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:50: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-09-09 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 11:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:50:36] 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-09-09 11:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967264000001,"66":12526,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967264000001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:50:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967264000001,"power":12526,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":178182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:50:36] local.INFO: GPS data processed {"connection_id":178182,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:50:36] local.INFO: Acknowledgment sent {"connection_id":178182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:50:39] local.INFO: TCP Data received {"connection_id":176733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:50:39] local.INFO: Processing buffer {"connection_id":176733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:50:39] local.INFO: IMEI packet received {"connection_id":176733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":176733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:50:41] local.INFO: TCP Data received {"connection_id":178182,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d0baf8012d1afd00072595c00037009722..."} 
[2026-09-09 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d0baf8012d1afd00072595c00037009722..."} 
[2026-09-09 11:50:41] local.INFO: Processing buffer {"connection_id":178182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d0baf8012d1afd00072595c00037009722..."} 
[2026-09-09 11:50:41] local.INFO: Packet analysis {"connection_id":178182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:50:41] local.INFO: Extracted packet for processing {"connection_id":178182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967269376001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788934667000,"timestamp_ms":1788934667000,"timestamp_seconds":1788934667,"priority":1,"record_length":96,"hex_timestamp":"000001a084d0baf8"} 
[2026-09-09 11:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:50: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-09-09 11:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 11:50: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-09-09 11:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:50:41] 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-09-09 11:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967269376001,"66":12461,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967269376001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:50:41] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967269376001,"power":12461,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":178182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:50:41] local.INFO: GPS data processed {"connection_id":178182,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:50:41] local.INFO: Acknowledgment sent {"connection_id":178182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:50:45] local.INFO: TCP Data received {"connection_id":176733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:50:45] local.INFO: Processing buffer {"connection_id":176733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:50:45] local.INFO: IMEI packet received {"connection_id":176733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:50:47] local.INFO: TCP Data received {"connection_id":176733,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:50:47] local.INFO: Processing buffer {"connection_id":176733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:50:47] local.INFO: Packet analysis {"connection_id":176733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:50:47] local.INFO: Extracted packet for processing {"connection_id":176733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:50: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-09-09 11:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:50:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":176733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:50:47] local.INFO: GPS data processed {"connection_id":176733,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:50:47] local.INFO: Acknowledgment sent {"connection_id":176733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:51:12] local.INFO: TCP Data received {"connection_id":178182,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d10d00012d1afd00072595c00037009720..."} 
[2026-09-09 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d10d00012d1afd00072595c00037009720..."} 
[2026-09-09 11:51:12] local.INFO: Processing buffer {"connection_id":178182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d10d00012d1afd00072595c00037009720..."} 
[2026-09-09 11:51:12] local.INFO: Packet analysis {"connection_id":178182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d1"} 
[2026-09-09 11:51:12] local.INFO: Extracted packet for processing {"connection_id":178182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d1"} 
[2026-09-09 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":32,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967274752001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788934688000,"timestamp_ms":1788934688000,"timestamp_seconds":1788934688,"priority":1,"record_length":96,"hex_timestamp":"000001a084d10d00"} 
[2026-09-09 11:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:51: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-09-09 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 11:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:51:12] 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-09-09 11:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967274752001,"66":12504,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967274752001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:51:12] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967274752001,"power":12504,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":178182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:51:12] local.INFO: GPS data processed {"connection_id":178182,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:51:12] local.INFO: Acknowledgment sent {"connection_id":178182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:51:19] local.INFO: TCP Data received {"connection_id":176733,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:51:19] local.INFO: Processing buffer {"connection_id":176733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:51:19] local.INFO: Packet analysis {"connection_id":176733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:51:19] local.INFO: Extracted packet for processing {"connection_id":176733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:51: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-09-09 11:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":176733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:51:19] local.INFO: GPS data processed {"connection_id":176733,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:51:19] local.INFO: Acknowledgment sent {"connection_id":176733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:51:30] local.INFO: TCP Data received {"connection_id":178183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:51:30] local.INFO: Processing buffer {"connection_id":178183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:51:30] local.INFO: IMEI packet received {"connection_id":178183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":178183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:51:35] local.INFO: TCP Data received {"connection_id":178183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:51:35] local.INFO: Processing buffer {"connection_id":178183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:51:35] local.INFO: IMEI packet received {"connection_id":178183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":178183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:51:35] local.INFO: TCP Data received {"connection_id":178183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d15f08012d1afd00072595c00037009722..."} 
[2026-09-09 11:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d15f08012d1afd00072595c00037009722..."} 
[2026-09-09 11:51:35] local.INFO: Processing buffer {"connection_id":178183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d15f08012d1afd00072595c00037009722..."} 
[2026-09-09 11:51:35] local.INFO: Packet analysis {"connection_id":178183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d1"} 
[2026-09-09 11:51:35] local.INFO: Extracted packet for processing {"connection_id":178183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d1"} 
[2026-09-09 11:51:35] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967280128001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788934709000,"timestamp_ms":1788934709000,"timestamp_seconds":1788934709,"priority":1,"record_length":96,"hex_timestamp":"000001a084d15f08"} 
[2026-09-09 11:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 11:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:51:35] 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-09-09 11:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967280128001,"66":12428,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967280128001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:51:35] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967280128001,"power":12428,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":178183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:51:36] local.INFO: GPS data processed {"connection_id":178183,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:51:36] local.INFO: Acknowledgment sent {"connection_id":178183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:51:39] local.INFO: TCP Data received {"connection_id":175388,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:51:39] local.INFO: Processing buffer {"connection_id":175388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:51:39] local.INFO: IMEI packet received {"connection_id":175388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":175388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:51:44] local.INFO: TCP Data received {"connection_id":175388,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:51:44] local.INFO: Processing buffer {"connection_id":175388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:51:44] local.INFO: IMEI packet received {"connection_id":175388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":175388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:51:45] local.INFO: TCP Data received {"connection_id":175388,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:51:45] local.INFO: Processing buffer {"connection_id":175388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:51:45] local.INFO: Packet analysis {"connection_id":175388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:51:45] local.INFO: Extracted packet for processing {"connection_id":175388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:51: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-09-09 11:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":175388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:51:45] local.INFO: GPS data processed {"connection_id":175388,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:51:45] local.INFO: Acknowledgment sent {"connection_id":175388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:52:04] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:52:04] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:52:04] local.INFO: IMEI packet received {"connection_id":176735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":176735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:52:06] local.INFO: TCP Data received {"connection_id":178183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d1b110012d1afd00072595c00037009722..."} 
[2026-09-09 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d1b110012d1afd00072595c00037009722..."} 
[2026-09-09 11:52:06] local.INFO: Processing buffer {"connection_id":178183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d1b110012d1afd00072595c00037009722..."} 
[2026-09-09 11:52:06] local.INFO: Packet analysis {"connection_id":178183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d1"} 
[2026-09-09 11:52:06] local.INFO: Extracted packet for processing {"connection_id":178183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d1"} 
[2026-09-09 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967285504001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788934730000,"timestamp_ms":1788934730000,"timestamp_seconds":1788934730,"priority":1,"record_length":96,"hex_timestamp":"000001a084d1b110"} 
[2026-09-09 11:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:52: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-09-09 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 11:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:52: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-09-09 11:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967285504001,"66":12461,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967285504001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:52:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967285504001,"power":12461,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":178183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:52:06] local.INFO: GPS data processed {"connection_id":178183,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:52:06] local.INFO: Acknowledgment sent {"connection_id":178183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:52:17] local.INFO: TCP Data received {"connection_id":175388,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:52:17] local.INFO: Processing buffer {"connection_id":175388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:52:17] local.INFO: Packet analysis {"connection_id":175388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:52:17] local.INFO: Extracted packet for processing {"connection_id":175388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":175388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:52:17] local.INFO: GPS data processed {"connection_id":175388,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:52:17] local.INFO: Acknowledgment sent {"connection_id":175388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:52:30] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:52:30] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:52:30] local.INFO: IMEI packet received {"connection_id":176736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":176736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:52:35] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:52:35] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:52:35] local.INFO: IMEI packet received {"connection_id":176736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":176736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:52:37] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d20318012d1afd00072595c00037009723..."} 
[2026-09-09 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d20318012d1afd00072595c00037009723..."} 
[2026-09-09 11:52:37] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d20318012d1afd00072595c00037009723..."} 
[2026-09-09 11:52:37] local.INFO: Packet analysis {"connection_id":176736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d2"} 
[2026-09-09 11:52:37] local.INFO: Extracted packet for processing {"connection_id":176736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d2"} 
[2026-09-09 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967290880001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788934751000,"timestamp_ms":1788934751000,"timestamp_seconds":1788934751,"priority":1,"record_length":96,"hex_timestamp":"000001a084d20318"} 
[2026-09-09 11:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:52: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-09-09 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 11:52: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-09-09 11: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-09-09 11:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:52: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-09-09 11:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967290880001,"66":12504,"43":206,"83":41984,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967290880001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:52:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967290880001,"power":12504,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":176736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:52:37] local.INFO: GPS data processed {"connection_id":176736,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:52:37] local.INFO: Acknowledgment sent {"connection_id":176736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:52:39] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:52:39] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:52:39] local.INFO: IMEI packet received {"connection_id":175605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":175605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:52:41] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:52:41] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:52:41] local.INFO: IMEI packet received {"connection_id":175606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":175606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:52:44] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:52:44] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:52:44] local.INFO: IMEI packet received {"connection_id":175605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":175605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:52:45] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:52:45] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d08448012d34c14006aa42c8000800022d..."} 
[2026-09-09 11:52:45] local.INFO: Packet analysis {"connection_id":175605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:52:45] local.INFO: Extracted packet for processing {"connection_id":175605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d0"} 
[2026-09-09 11:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788934653000,"timestamp_ms":1788934653000,"timestamp_seconds":1788934653,"priority":1,"record_length":96,"hex_timestamp":"000001a084d08448"} 
[2026-09-09 11:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:52: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-09-09 11:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:52: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-09-09 11:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967194112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967194112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":175605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:52:45] local.INFO: GPS data processed {"connection_id":175605,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:52:45] local.INFO: Acknowledgment sent {"connection_id":175605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:53:09] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d25520012d1afd00072595c00037009721..."} 
[2026-09-09 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d25520012d1afd00072595c00037009721..."} 
[2026-09-09 11:53:09] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d25520012d1afd00072595c00037009721..."} 
[2026-09-09 11:53:09] local.INFO: Packet analysis {"connection_id":176736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d2"} 
[2026-09-09 11:53:09] local.INFO: Extracted packet for processing {"connection_id":176736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d2"} 
[2026-09-09 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":33,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 11:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967296256001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788934772000,"timestamp_ms":1788934772000,"timestamp_seconds":1788934772,"priority":1,"record_length":96,"hex_timestamp":"000001a084d25520"} 
[2026-09-09 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-09-09 11:53: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-09-09 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 11:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 11:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:53:09] 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-09-09 11:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967296256001,"66":12504,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967296256001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:53:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967296256001,"power":12504,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":176736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:53:09] local.INFO: GPS data processed {"connection_id":176736,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:53:09] local.INFO: Acknowledgment sent {"connection_id":176736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:53:17] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:53:17] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:53:17] local.INFO: Packet analysis {"connection_id":175605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:53:17] local.INFO: Extracted packet for processing {"connection_id":175605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:53: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-09-09 11:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":175605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:53:17] local.INFO: GPS data processed {"connection_id":175605,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:53:17] local.INFO: Acknowledgment sent {"connection_id":175605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:53:30] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:53:30] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:53:30] local.INFO: IMEI packet received {"connection_id":176737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":176737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:53:35] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:53:35] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:53:35] local.INFO: IMEI packet received {"connection_id":176737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":176737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:53:36] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d2a728012d1afd00072595c00037009723..."} 
[2026-09-09 11:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d2a728012d1afd00072595c00037009723..."} 
[2026-09-09 11:53:36] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d2a728012d1afd00072595c00037009723..."} 
[2026-09-09 11:53:36] local.INFO: Packet analysis {"connection_id":176737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d2"} 
[2026-09-09 11:53:36] local.INFO: Extracted packet for processing {"connection_id":176737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d2"} 
[2026-09-09 11:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967301632001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788934793000,"timestamp_ms":1788934793000,"timestamp_seconds":1788934793,"priority":1,"record_length":96,"hex_timestamp":"000001a084d2a728"} 
[2026-09-09 11:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:53: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-09-09 11:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 11:53: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-09-09 11: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-09-09 11:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:53:36] 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-09-09 11:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967301632001,"66":12439,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967301632001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:53:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967301632001,"power":12439,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":176737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:53:36] local.INFO: GPS data processed {"connection_id":176737,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:53:36] local.INFO: Acknowledgment sent {"connection_id":176737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:53:44] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:53:44] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:53:44] local.INFO: IMEI packet received {"connection_id":175390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:53:49] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:53:49] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:53:49] local.INFO: IMEI packet received {"connection_id":175390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":175390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:53:51] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:53:51] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:53:51] local.INFO: Packet analysis {"connection_id":175390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:53:51] local.INFO: Extracted packet for processing {"connection_id":175390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":175390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:53:51] local.INFO: GPS data processed {"connection_id":175390,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:53:51] local.INFO: Acknowledgment sent {"connection_id":175390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:54:08] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d2f930012d1afd00072595c00037009723..."} 
[2026-09-09 11:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d2f930012d1afd00072595c00037009723..."} 
[2026-09-09 11:54:08] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d2f930012d1afd00072595c00037009723..."} 
[2026-09-09 11:54:08] local.INFO: Packet analysis {"connection_id":176737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d2"} 
[2026-09-09 11:54:08] local.INFO: Extracted packet for processing {"connection_id":176737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d2"} 
[2026-09-09 11:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967307008001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788934814000,"timestamp_ms":1788934814000,"timestamp_seconds":1788934814,"priority":1,"record_length":96,"hex_timestamp":"000001a084d2f930"} 
[2026-09-09 11:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:54: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-09-09 11:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 11:54: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-09-09 11:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:54:08] 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-09-09 11:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967307008001,"66":12504,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967307008001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:54:08] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967307008001,"power":12504,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":176737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:54:08] local.INFO: GPS data processed {"connection_id":176737,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:54:08] local.INFO: Acknowledgment sent {"connection_id":176737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:54:22] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:54:22] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:54:22] local.INFO: Packet analysis {"connection_id":175390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:54:22] local.INFO: Extracted packet for processing {"connection_id":175390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:54:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":175390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:54:22] local.INFO: GPS data processed {"connection_id":175390,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:54:22] local.INFO: Acknowledgment sent {"connection_id":175390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:54:35] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:54:35] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:54:35] local.INFO: IMEI packet received {"connection_id":175391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":175391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:54:39] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:54:39] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:54:39] local.INFO: IMEI packet received {"connection_id":176738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":176738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:54:40] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:54:40] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:54:40] local.INFO: IMEI packet received {"connection_id":175391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":175391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:54:41] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d34b38012d1afd00072595c00037009724..."} 
[2026-09-09 11:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d34b38012d1afd00072595c00037009724..."} 
[2026-09-09 11:54:41] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d34b38012d1afd00072595c00037009724..."} 
[2026-09-09 11:54:41] local.INFO: Packet analysis {"connection_id":175391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d3"} 
[2026-09-09 11:54:41] local.INFO: Extracted packet for processing {"connection_id":175391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d3"} 
[2026-09-09 11:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":36,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 11:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967312384001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788934835000,"timestamp_ms":1788934835000,"timestamp_seconds":1788934835,"priority":1,"record_length":96,"hex_timestamp":"000001a084d34b38"} 
[2026-09-09 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-09-09 11:54: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-09-09 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 11:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 11:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:54:41] 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-09-09 11:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967312384001,"66":12428,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967312384001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:54:41] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967312384001,"power":12428,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":175391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:54:41] local.INFO: GPS data processed {"connection_id":175391,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:54:41] local.INFO: Acknowledgment sent {"connection_id":175391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:54:43] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d39d40012d1afd00072595c00037009723..."} 
[2026-09-09 11:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d39d40012d1afd00072595c00037009723..."} 
[2026-09-09 11:54:43] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d39d40012d1afd00072595c00037009723..."} 
[2026-09-09 11:54:43] local.INFO: Packet analysis {"connection_id":175391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d3"} 
[2026-09-09 11:54:43] local.INFO: Extracted packet for processing {"connection_id":175391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d3"} 
[2026-09-09 11:54:43] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967317760001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788934856000,"timestamp_ms":1788934856000,"timestamp_seconds":1788934856,"priority":1,"record_length":96,"hex_timestamp":"000001a084d39d40"} 
[2026-09-09 11:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:54: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-09-09 11:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 11:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:54:43] 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-09-09 11:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967317760001,"66":12461,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967317760001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:54:43] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:54:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967317760001,"power":12461,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":175391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:54:43] local.INFO: GPS data processed {"connection_id":175391,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:54:43] local.INFO: Acknowledgment sent {"connection_id":175391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:54:44] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:54:44] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:54:44] local.INFO: IMEI packet received {"connection_id":176738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":176738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:54:45] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:54:45] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:54:45] local.INFO: Packet analysis {"connection_id":176738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:54:45] local.INFO: Extracted packet for processing {"connection_id":176738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:54:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":176738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:54:45] local.INFO: GPS data processed {"connection_id":176738,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:54:45] local.INFO: Acknowledgment sent {"connection_id":176738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:55:15] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d3ef48012d1afd00072595c00037009724..."} 
[2026-09-09 11:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d3ef48012d1afd00072595c00037009724..."} 
[2026-09-09 11:55:15] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d3ef48012d1afd00072595c00037009724..."} 
[2026-09-09 11:55:15] local.INFO: Packet analysis {"connection_id":175391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d3"} 
[2026-09-09 11:55:15] local.INFO: Extracted packet for processing {"connection_id":175391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d3"} 
[2026-09-09 11:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":36,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967323136001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788934877000,"timestamp_ms":1788934877000,"timestamp_seconds":1788934877,"priority":1,"record_length":96,"hex_timestamp":"000001a084d3ef48"} 
[2026-09-09 11:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 11:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:55:15] 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-09-09 11:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967323136001,"66":12461,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967323136001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:55:15] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967323136001,"power":12461,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":175391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:55:15] local.INFO: GPS data processed {"connection_id":175391,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:55:15] local.INFO: Acknowledgment sent {"connection_id":175391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:55:17] local.INFO: TCP Data received {"connection_id":176738,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:55:17] local.INFO: Processing buffer {"connection_id":176738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:55:17] local.INFO: Packet analysis {"connection_id":176738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:55:17] local.INFO: Extracted packet for processing {"connection_id":176738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":176738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:55:17] local.INFO: GPS data processed {"connection_id":176738,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:55:17] local.INFO: Acknowledgment sent {"connection_id":176738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:55:30] local.INFO: TCP Data received {"connection_id":178184,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:55:30] local.INFO: Processing buffer {"connection_id":178184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:55:30] local.INFO: IMEI packet received {"connection_id":178184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":178184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:55:39] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:55:39] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:55:39] local.INFO: IMEI packet received {"connection_id":175607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":175607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:55:44] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:55:44] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:55:44] local.INFO: IMEI packet received {"connection_id":175607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":175607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:55:47] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:55:47] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:55:47] local.INFO: Packet analysis {"connection_id":175607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:55:47] local.INFO: Extracted packet for processing {"connection_id":175607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:55:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":175607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:55:47] local.INFO: GPS data processed {"connection_id":175607,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:55:47] local.INFO: Acknowledgment sent {"connection_id":175607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:55:50] local.INFO: TCP Data received {"connection_id":178184,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:55:50] local.INFO: Processing buffer {"connection_id":178184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:55:50] local.INFO: IMEI packet received {"connection_id":178184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":178184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:55:51] local.INFO: TCP Data received {"connection_id":178184,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d44150012d1afd00072595c00037009724..."} 
[2026-09-09 11:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d44150012d1afd00072595c00037009724..."} 
[2026-09-09 11:55:51] local.INFO: Processing buffer {"connection_id":178184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d44150012d1afd00072595c00037009724..."} 
[2026-09-09 11:55:51] local.INFO: Packet analysis {"connection_id":178184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d4"} 
[2026-09-09 11:55:51] local.INFO: Extracted packet for processing {"connection_id":178184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d4"} 
[2026-09-09 11:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119903680,"longitude_deg":75.6743424,"latitude_deg":11.990368,"altitude":55,"angle":151,"satellites":36,"speed":0,"hex_longitude":"2d1afd00","hex_latitude":"072595c0","is_valid_coordinates":true} 
[2026-09-09 11:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967328512001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797779069435904,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944710644789264384,"note":"Value kept but may cause issues"} 
[2026-09-09 11:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788934898000,"timestamp_ms":1788934898000,"timestamp_seconds":1788934898,"priority":1,"record_length":96,"hex_timestamp":"000001a084d44150"} 
[2026-09-09 11:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 11:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:55:51] 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-09-09 11:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967328512001,"66":12493,"175":206,"83":42752,"24":0,"16":18797779069435904,"45":1944710644789264384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-09 11:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967328512001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:55:51] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-09 11:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 11:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797779069435904,"km_value":18797779069435.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944710644789264384,"description":"Unknown IO ID 45"} 
[2026-09-09 11:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967328512001,"power":12493,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1944710644789264384}} 
[2026-09-09 11:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":178184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:55:51] local.INFO: GPS data processed {"connection_id":178184,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:55:51] local.INFO: Acknowledgment sent {"connection_id":178184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:56:20] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:56:20] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:56:20] local.INFO: Packet analysis {"connection_id":175607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:56:20] local.INFO: Extracted packet for processing {"connection_id":175607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":175607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:56:20] local.INFO: GPS data processed {"connection_id":175607,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:56:20] local.INFO: Acknowledgment sent {"connection_id":175607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:56:30] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:56:30] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:56:30] local.INFO: IMEI packet received {"connection_id":176740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":176740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:56:33] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:56:33] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:56:33] local.INFO: IMEI packet received {"connection_id":176740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":176740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:56:34] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d7b420012d1af940072596a0002f00b724..."} 
[2026-09-09 11:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d7b420012d1af940072596a0002f00b724..."} 
[2026-09-09 11:56:34] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d7b420012d1af940072596a0002f00b724..."} 
[2026-09-09 11:56:34] local.INFO: Packet analysis {"connection_id":176740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d7"} 
[2026-09-09 11:56:34] local.INFO: Extracted packet for processing {"connection_id":176740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d7"} 
[2026-09-09 11:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756742464,"raw_latitude":119903904,"longitude_deg":75.6742464,"latitude_deg":11.9903904,"altitude":47,"angle":183,"satellites":36,"speed":6,"hex_longitude":"2d1af940","hex_latitude":"072596a0","is_valid_coordinates":true} 
[2026-09-09 11: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-09-09 11:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967391488001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797847788912640,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943655113626691584,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788935124000,"timestamp_ms":1788935124000,"timestamp_seconds":1788935124,"priority":1,"record_length":96,"hex_timestamp":"000001a084d7b420"} 
[2026-09-09 11:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-09 11:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11: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-09-09 11:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967391488001,"66":14189,"43":206,"83":41984,"24":6,"16":18797847788912640,"45":1943655113626691584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967391488001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:56:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797847788912640,"km_value":18797847788912.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943655113626691584,"description":"Unknown IO ID 45"} 
[2026-09-09 11:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967391488001,"power":14189,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1943655113626691584}} 
[2026-09-09 11:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":176740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:56:34] local.INFO: GPS data processed {"connection_id":176740,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:56:34] local.INFO: Acknowledgment sent {"connection_id":176740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:56:44] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:56:44] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:56:44] local.INFO: IMEI packet received {"connection_id":176741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":176741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:56:49] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:56:49] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:56:49] local.INFO: IMEI packet received {"connection_id":176741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":176741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:56:51] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:56:51] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:56:51] local.INFO: Packet analysis {"connection_id":176741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:56:51] local.INFO: Extracted packet for processing {"connection_id":176741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":176741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:56:51] local.INFO: GPS data processed {"connection_id":176741,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:56:51] local.INFO: Acknowledgment sent {"connection_id":176741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:56:56] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:56:56] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:56:56] local.INFO: Packet analysis {"connection_id":176741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:56:56] local.INFO: Extracted packet for processing {"connection_id":176741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:56:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:56:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:56:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":176741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:56:57] local.INFO: GPS data processed {"connection_id":176741,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:56:57] local.INFO: Acknowledgment sent {"connection_id":176741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:57:06] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084d88328012d1b1fc0072537d8003600ce22..."} 
[2026-09-09 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d88328012d1b1fc0072537d8003600ce22..."} 
[2026-09-09 11:57:06] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d88328012d1b1fc0072537d8003600ce22..."} 
[2026-09-09 11:57:06] local.INFO: Packet analysis {"connection_id":176740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d8"} 
[2026-09-09 11:57:06] local.INFO: Extracted packet for processing {"connection_id":176740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d8"} 
[2026-09-09 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756752320,"raw_latitude":119879640,"longitude_deg":75.675232,"latitude_deg":11.987964,"altitude":54,"angle":206,"satellites":34,"speed":20,"hex_longitude":"2d1b1fc0","hex_latitude":"072537d8","is_valid_coordinates":true} 
[2026-09-09 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967405056001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18799170638839808,"note":"Value kept but may cause issues"} 
[2026-09-09 11:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954632637712277504,"note":"Value kept but may cause issues"} 
[2026-09-09 11:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788935177000,"timestamp_ms":1788935177000,"timestamp_seconds":1788935177,"priority":1,"record_length":96,"hex_timestamp":"000001a084d88328"} 
[2026-09-09 11:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 11:57: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-09-09 11:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 11:57: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-09-09 11:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 11:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 11:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967405056001,"66":14189,"43":206,"83":41984,"24":20,"16":18799170638839808,"45":1954632637712277504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 11:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 11:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 11:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967405056001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:57:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 11:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 11:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18799170638839808,"km_value":18799170638839.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1954632637712277504,"description":"Unknown IO ID 45"} 
[2026-09-09 11:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967405056001,"power":14189,"unknown_43":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1954632637712277504}} 
[2026-09-09 11:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":176740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:57:06] local.INFO: GPS data processed {"connection_id":176740,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:57:06] local.INFO: Acknowledgment sent {"connection_id":176740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:57:29] local.INFO: TCP Data received {"connection_id":178186,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:29] local.INFO: Processing buffer {"connection_id":178186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:29] local.INFO: IMEI packet received {"connection_id":178186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 11:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":178186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:57:30] local.INFO: TCP Data received {"connection_id":178186,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:30] local.INFO: Processing buffer {"connection_id":178186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:30] local.INFO: IMEI packet received {"connection_id":178186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":178186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:57:30] local.INFO: TCP Data received {"connection_id":178186,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:30] local.INFO: Processing buffer {"connection_id":178186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:30] local.INFO: IMEI packet received {"connection_id":178186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":178186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:57:31] local.INFO: TCP Data received {"connection_id":178186,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:31] local.INFO: Processing buffer {"connection_id":178186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 11:57:31] local.INFO: IMEI packet received {"connection_id":178186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 11:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":178186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:57:39] local.INFO: TCP Data received {"connection_id":176742,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:57:39] local.INFO: Processing buffer {"connection_id":176742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:57:39] local.INFO: IMEI packet received {"connection_id":176742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":176742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:57:44] local.INFO: TCP Data received {"connection_id":176742,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:57:44] local.INFO: Processing buffer {"connection_id":176742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:57:44] local.INFO: IMEI packet received {"connection_id":176742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":176742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:57:46] local.INFO: TCP Data received {"connection_id":176742,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:57:46] local.INFO: Processing buffer {"connection_id":176742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d51c10012d34c14006aa42c8000700022b..."} 
[2026-09-09 11:57:46] local.INFO: Packet analysis {"connection_id":176742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:57:46] local.INFO: Extracted packet for processing {"connection_id":176742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d5"} 
[2026-09-09 11:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967271168001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788934954000,"timestamp_ms":1788934954000,"timestamp_seconds":1788934954,"priority":1,"record_length":96,"hex_timestamp":"000001a084d51c10"} 
[2026-09-09 11:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 11:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967271168001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967271168001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967271168001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":176742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:57:46] local.INFO: GPS data processed {"connection_id":176742,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:57:46] local.INFO: Acknowledgment sent {"connection_id":176742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:58:06] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:58:06] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:58:06] local.INFO: IMEI packet received {"connection_id":175608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":175608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:58:17] local.INFO: TCP Data received {"connection_id":176742,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:58:17] local.INFO: Processing buffer {"connection_id":176742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:58:17] local.INFO: Packet analysis {"connection_id":176742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 11:58:17] local.INFO: Extracted packet for processing {"connection_id":176742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 11:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 11:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":176742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:58:17] local.INFO: GPS data processed {"connection_id":176742,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:58:17] local.INFO: Acknowledgment sent {"connection_id":176742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:58:39] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:58:39] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:58:39] local.INFO: IMEI packet received {"connection_id":175609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":175609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:58:44] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:58:44] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:58:44] local.INFO: IMEI packet received {"connection_id":175609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":175609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:58:45] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:58:45] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:58:45] local.INFO: Packet analysis {"connection_id":175609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 11:58:45] local.INFO: Extracted packet for processing {"connection_id":175609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 11:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 11:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:58:45] 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-09-09 11:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:58:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":175609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:58:45] local.INFO: GPS data processed {"connection_id":175609,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:58:45] local.INFO: Acknowledgment sent {"connection_id":175609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:58:46] local.INFO: TCP Data received {"connection_id":178188,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:58:46] local.INFO: Processing buffer {"connection_id":178188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 11:58:46] local.INFO: IMEI packet received {"connection_id":178188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 11:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":178188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:59:17] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:59:17] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:59:17] local.INFO: Packet analysis {"connection_id":175609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 11:59:17] local.INFO: Extracted packet for processing {"connection_id":175609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 11:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 11:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:59:17] 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-09-09 11:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:59:17] local.INFO: GPS data processed {"connection_id":175609,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:59:17] local.INFO: Acknowledgment sent {"connection_id":175609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 11:59:39] local.INFO: TCP Data received {"connection_id":176744,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:59:39] local.INFO: Processing buffer {"connection_id":176744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:59:39] local.INFO: IMEI packet received {"connection_id":176744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 11:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":176744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 11:59:45] local.INFO: TCP Data received {"connection_id":176744,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:59:45] local.INFO: Processing buffer {"connection_id":176744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 11:59:45] local.INFO: IMEI packet received {"connection_id":176744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 11:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":176744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 11:59:46] local.INFO: TCP Data received {"connection_id":176744,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:59:46] local.INFO: Processing buffer {"connection_id":176744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 11:59:46] local.INFO: Packet analysis {"connection_id":176744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 11:59:46] local.INFO: Extracted packet for processing {"connection_id":176744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 11:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 11:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 11:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 11:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 11:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 11:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 11:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 11:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 11:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 11:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 11:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 11:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 11:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 11:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 11:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 11:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 11:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 11:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 11:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 11:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 11:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 11:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 11:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 11:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 11:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 11:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 11:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":176744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 11:59:46] local.INFO: GPS data processed {"connection_id":176744,"processed":1,"errors":0,"total":1} 
[2026-09-09 11:59:46] local.INFO: Acknowledgment sent {"connection_id":176744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:00:17] local.INFO: TCP Data received {"connection_id":176744,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:00:17] local.INFO: Processing buffer {"connection_id":176744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:00:17] local.INFO: Packet analysis {"connection_id":176744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:00:17] local.INFO: Extracted packet for processing {"connection_id":176744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 12:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":176744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:00:17] local.INFO: GPS data processed {"connection_id":176744,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:00:17] local.INFO: Acknowledgment sent {"connection_id":176744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:00:38] local.INFO: TCP Data received {"connection_id":178190,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:00:38] local.INFO: Processing buffer {"connection_id":178190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:00:38] local.INFO: IMEI packet received {"connection_id":178190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":178190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:00:44] local.INFO: TCP Data received {"connection_id":178190,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:00:44] local.INFO: Processing buffer {"connection_id":178190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:00:44] local.INFO: IMEI packet received {"connection_id":178190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":178190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:00:46] local.INFO: TCP Data received {"connection_id":178190,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:00:46] local.INFO: Processing buffer {"connection_id":178190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:00:46] local.INFO: Packet analysis {"connection_id":178190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:00:46] local.INFO: Extracted packet for processing {"connection_id":178190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 12:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":178190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:00:46] local.INFO: GPS data processed {"connection_id":178190,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:00:46] local.INFO: Acknowledgment sent {"connection_id":178190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:01:18] local.INFO: TCP Data received {"connection_id":178190,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:01:18] local.INFO: Processing buffer {"connection_id":178190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:01:18] local.INFO: Packet analysis {"connection_id":178190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:01:18] local.INFO: Extracted packet for processing {"connection_id":178190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 12:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:01:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":178190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:01:18] local.INFO: GPS data processed {"connection_id":178190,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:01:18] local.INFO: Acknowledgment sent {"connection_id":178190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:01:44] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:01:44] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:01:44] local.INFO: IMEI packet received {"connection_id":175395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":175395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:01:49] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:01:49] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:01:49] local.INFO: IMEI packet received {"connection_id":175395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":175395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:01:50] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:01:50] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:01:50] local.INFO: Packet analysis {"connection_id":175395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:01:50] local.INFO: Extracted packet for processing {"connection_id":175395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 12:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:01:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":175395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:01:50] local.INFO: GPS data processed {"connection_id":175395,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:01:50] local.INFO: Acknowledgment sent {"connection_id":175395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:01:55] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:01:55] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:01:55] local.INFO: Packet analysis {"connection_id":175395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:01:55] local.INFO: Extracted packet for processing {"connection_id":175395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 12:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:01:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:01:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":175395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:01:55] local.INFO: GPS data processed {"connection_id":175395,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:01:55] local.INFO: Acknowledgment sent {"connection_id":175395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:02:35] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:35] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:35] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:02:36] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:36] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:36] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:02:38] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:38] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:38] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:02:39] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:02:39] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:02:39] local.INFO: IMEI packet received {"connection_id":176747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":176747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:02:40] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:40] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:02:40] local.INFO: IMEI packet received {"connection_id":176746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":176746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:02:41] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084dd70e0012d18ca40072303e00060011223..."} 
[2026-09-09 12:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084dd70e0012d18ca40072303e00060011223..."} 
[2026-09-09 12:02:41] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084dd70e0012d18ca40072303e00060011223..."} 
[2026-09-09 12:02:41] local.INFO: Packet analysis {"connection_id":176746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084dd"} 
[2026-09-09 12:02:41] local.INFO: Extracted packet for processing {"connection_id":176746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084dd"} 
[2026-09-09 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119735264,"longitude_deg":75.659936,"latitude_deg":11.9735264,"altitude":96,"angle":274,"satellites":35,"speed":39,"hex_longitude":"2d18ca40","hex_latitude":"072303e0","is_valid_coordinates":true} 
[2026-09-09 12:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967486208001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18810728395833344,"note":"Value kept but may cause issues"} 
[2026-09-09 12:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793628950996013056,"note":"Value kept but may cause issues"} 
[2026-09-09 12:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788935500000,"timestamp_ms":1788935500000,"timestamp_seconds":1788935500,"priority":1,"record_length":96,"hex_timestamp":"000001a084dd70e0"} 
[2026-09-09 12:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 12:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:02:41] 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-09-09 12:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967486208001,"66":14070,"137":206,"83":42752,"24":39,"16":18810728395833344,"45":1793628950996013056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-09 12:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967486208001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:02:41] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-09 12:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 12:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18810728395833344,"km_value":18810728395833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793628950996013056,"description":"Unknown IO ID 45"} 
[2026-09-09 12:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967486208001,"power":14070,"unknown_137":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1793628950996013056}} 
[2026-09-09 12:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":176746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:02:41] local.INFO: GPS data processed {"connection_id":176746,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:02:41] local.INFO: Acknowledgment sent {"connection_id":176746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:02:44] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:02:44] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:02:44] local.INFO: IMEI packet received {"connection_id":176747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":176747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:02:45] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:02:45] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:02:45] local.INFO: Packet analysis {"connection_id":176747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:02:45] local.INFO: Extracted packet for processing {"connection_id":176747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 12:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":176747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:02:46] local.INFO: GPS data processed {"connection_id":176747,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:02:46] local.INFO: Acknowledgment sent {"connection_id":176747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:02:51] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:02:51] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084d9b3d8012d34c14006aa42c8000b00022c..."} 
[2026-09-09 12:02:51] local.INFO: Packet analysis {"connection_id":176747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:02:51] local.INFO: Extracted packet for processing {"connection_id":176747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084d9"} 
[2026-09-09 12:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967348224001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788935255000,"timestamp_ms":1788935255000,"timestamp_seconds":1788935255,"priority":1,"record_length":96,"hex_timestamp":"000001a084d9b3d8"} 
[2026-09-09 12:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967348224001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967348224001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967348224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":176747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:02:51] local.INFO: GPS data processed {"connection_id":176747,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:02:51] local.INFO: Acknowledgment sent {"connection_id":176747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:03:12] local.INFO: TCP Data received {"connection_id":176746,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084dd78b0012d18c280072302d0006200f924..."} 
[2026-09-09 12:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084dd78b0012d18c280072302d0006200f924..."} 
[2026-09-09 12:03:12] local.INFO: Processing buffer {"connection_id":176746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084dd78b0012d18c280072302d0006200f924..."} 
[2026-09-09 12:03:12] local.INFO: Packet analysis {"connection_id":176746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084dd"} 
[2026-09-09 12:03:12] local.INFO: Extracted packet for processing {"connection_id":176746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084dd"} 
[2026-09-09 12:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119734992,"longitude_deg":75.6597376,"latitude_deg":11.9734992,"altitude":98,"angle":249,"satellites":36,"speed":38,"hex_longitude":"2d18c280","hex_latitude":"072302d0","is_valid_coordinates":true} 
[2026-09-09 12:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967488000001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18810827180081152,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601602228224,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788935502000,"timestamp_ms":1788935502000,"timestamp_seconds":1788935502,"priority":1,"record_length":96,"hex_timestamp":"000001a084dd78b0"} 
[2026-09-09 12:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:03: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-09-09 12:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 12:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:03:12] 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-09-09 12:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967488000001,"66":14080,"137":206,"83":42752,"24":38,"16":18810827180081152,"45":1786310601602228224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-09 12:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967488000001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:03:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-09 12:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 12:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18810827180081152,"km_value":18810827180081.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601602228224,"description":"Unknown IO ID 45"} 
[2026-09-09 12:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967488000001,"power":14080,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1786310601602228224}} 
[2026-09-09 12:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":176746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:03:12] local.INFO: GPS data processed {"connection_id":176746,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:03:12] local.INFO: Acknowledgment sent {"connection_id":176746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:03:23] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:03:23] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:03:23] local.INFO: Packet analysis {"connection_id":176747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:03:23] local.INFO: Extracted packet for processing {"connection_id":176747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:03:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":176747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:03:23] local.INFO: GPS data processed {"connection_id":176747,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:03:23] local.INFO: Acknowledgment sent {"connection_id":176747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:03:30] local.INFO: TCP Data received {"connection_id":178192,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:03:30] local.INFO: Processing buffer {"connection_id":178192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:03:30] local.INFO: IMEI packet received {"connection_id":178192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":178192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:03:35] local.INFO: TCP Data received {"connection_id":178192,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:03:35] local.INFO: Processing buffer {"connection_id":178192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:03:35] local.INFO: IMEI packet received {"connection_id":178192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":178192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:03:36] local.INFO: TCP Data received {"connection_id":178192,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084de3fe8012d187b00072233c0005c00d524..."} 
[2026-09-09 12:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de3fe8012d187b00072233c0005c00d524..."} 
[2026-09-09 12:03:36] local.INFO: Processing buffer {"connection_id":178192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de3fe8012d187b00072233c0005c00d524..."} 
[2026-09-09 12:03:36] local.INFO: Packet analysis {"connection_id":178192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:03:36] local.INFO: Extracted packet for processing {"connection_id":178192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756579072,"raw_latitude":119681984,"longitude_deg":75.6579072,"latitude_deg":11.9681984,"altitude":92,"angle":213,"satellites":36,"speed":63,"hex_longitude":"2d187b00","hex_latitude":"072233c0","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967500032001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18813657563529216,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769703577964675072,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788935553000,"timestamp_ms":1788935553000,"timestamp_seconds":1788935553,"priority":1,"record_length":96,"hex_timestamp":"000001a084de3fe8"} 
[2026-09-09 12:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:03: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-09-09 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 12:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:03:36] 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-09-09 12:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967500032001,"66":14559,"105":206,"83":41984,"24":63,"16":18813657563529216,"45":1769703577964675072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967500032001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18813657563529216,"km_value":18813657563529.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769703577964675072,"description":"Unknown IO ID 45"} 
[2026-09-09 12:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967500032001,"power":14559,"unknown_105":206,"unknown_83":41984,"ignition":63,"odometer":null,"unknown_45":1769703577964675072}} 
[2026-09-09 12:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":178192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:03:36] local.INFO: GPS data processed {"connection_id":178192,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:03:36] local.INFO: Acknowledgment sent {"connection_id":178192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:03:40] local.INFO: TCP Data received {"connection_id":178193,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:03:40] local.INFO: Processing buffer {"connection_id":178193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:03:40] local.INFO: IMEI packet received {"connection_id":178193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":178193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:03:44] local.INFO: TCP Data received {"connection_id":178193,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:03:44] local.INFO: Processing buffer {"connection_id":178193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:03:44] local.INFO: IMEI packet received {"connection_id":178193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":178193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:03:46] local.INFO: TCP Data received {"connection_id":178193,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:03:46] local.INFO: Processing buffer {"connection_id":178193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:03:46] local.INFO: Packet analysis {"connection_id":178193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:03:46] local.INFO: Extracted packet for processing {"connection_id":178193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":178193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:03:46] local.INFO: GPS data processed {"connection_id":178193,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:03:46] local.INFO: Acknowledgment sent {"connection_id":178193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:04:07] local.INFO: TCP Data received {"connection_id":178192,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084de5758012d1865c007221498005700d723..."} 
[2026-09-09 12:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de5758012d1865c007221498005700d723..."} 
[2026-09-09 12:04:07] local.INFO: Processing buffer {"connection_id":178192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de5758012d1865c007221498005700d723..."} 
[2026-09-09 12:04:07] local.INFO: Packet analysis {"connection_id":178192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:07] local.INFO: Extracted packet for processing {"connection_id":178192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756573632,"raw_latitude":119674008,"longitude_deg":75.6573632,"latitude_deg":11.9674008,"altitude":87,"angle":215,"satellites":35,"speed":63,"hex_longitude":"2d1865c0","hex_latitude":"07221498","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18814121419997184,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764003709684269056,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788935559000,"timestamp_ms":1788935559000,"timestamp_seconds":1788935559,"priority":1,"record_length":96,"hex_timestamp":"000001a084de5758"} 
[2026-09-09 12:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:04: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-09-09 12:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 12:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:04:07] 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-09-09 12:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967501568001,"66":13993,"105":206,"83":41984,"24":63,"16":18814121419997184,"45":1764003709684269056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:04:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18814121419997184,"km_value":18814121419997.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764003709684269056,"description":"Unknown IO ID 45"} 
[2026-09-09 12:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967501568001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":63,"odometer":null,"unknown_45":1764003709684269056}} 
[2026-09-09 12:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":178192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:04:07] local.INFO: GPS data processed {"connection_id":178192,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:04:07] local.INFO: Acknowledgment sent {"connection_id":178192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:04:14] local.INFO: TCP Data received {"connection_id":175610,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:04:14] local.INFO: Processing buffer {"connection_id":175610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:04:14] local.INFO: IMEI packet received {"connection_id":175610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":175610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:04:18] local.INFO: TCP Data received {"connection_id":178193,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:04:18] local.INFO: Processing buffer {"connection_id":178193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:04:18] local.INFO: Packet analysis {"connection_id":178193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:18] local.INFO: Extracted packet for processing {"connection_id":178193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:04:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":178193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:04:18] local.INFO: GPS data processed {"connection_id":178193,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:04:18] local.INFO: Acknowledgment sent {"connection_id":178193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:04:35] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:04:35] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:04:35] local.INFO: IMEI packet received {"connection_id":175397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":175397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:04:38] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:04:38] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:04:38] local.INFO: IMEI packet received {"connection_id":175397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":175397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:04:39] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:04:39] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:04:39] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:04:39] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084de6ec8012d1850400721f4e0005100d524..."} 
[2026-09-09 12:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de6ec8012d1850400721f4e0005100d524..."} 
[2026-09-09 12:04:39] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de6ec8012d1850400721f4e0005100d524..."} 
[2026-09-09 12:04:39] local.INFO: Packet analysis {"connection_id":175397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:39] local.INFO: Extracted packet for processing {"connection_id":175397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756568128,"raw_latitude":119665888,"longitude_deg":75.6568128,"latitude_deg":11.9665888,"altitude":81,"angle":213,"satellites":36,"speed":65,"hex_longitude":"2d185040","hex_latitude":"0721f4e0","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967503104001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18814593866399744,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758022366427125760,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04: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-09-09 12:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788935565000,"timestamp_ms":1788935565000,"timestamp_seconds":1788935565,"priority":1,"record_length":96,"hex_timestamp":"000001a084de6ec8"} 
[2026-09-09 12:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:04: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-09-09 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 12:04: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-09-09 12: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-09-09 12:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:04:39] 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-09-09 12:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967503104001,"66":13243,"105":206,"83":41984,"24":65,"16":18814593866399744,"45":1758022366427125760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967503104001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:04:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18814593866399744,"km_value":18814593866399.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758022366427125760,"description":"Unknown IO ID 45"} 
[2026-09-09 12:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967503104001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":65,"odometer":null,"unknown_45":1758022366427125760}} 
[2026-09-09 12:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":175397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:04:39] local.INFO: GPS data processed {"connection_id":175397,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:04:39] local.INFO: Acknowledgment sent {"connection_id":175397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:04:41] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084de8638012d183c400721d780004d00d624..."} 
[2026-09-09 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de8638012d183c400721d780004d00d624..."} 
[2026-09-09 12:04:41] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de8638012d183c400721d780004d00d624..."} 
[2026-09-09 12:04:41] local.INFO: Packet analysis {"connection_id":175397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:41] local.INFO: Extracted packet for processing {"connection_id":175397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756563008,"raw_latitude":119658368,"longitude_deg":75.6563008,"latitude_deg":11.9658368,"altitude":77,"angle":214,"satellites":36,"speed":48,"hex_longitude":"2d183c40","hex_latitude":"0721d780","is_valid_coordinates":true} 
[2026-09-09 12:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967504640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18815031953063936,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751970654425767936,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04: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-09-09 12:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788935571000,"timestamp_ms":1788935571000,"timestamp_seconds":1788935571,"priority":1,"record_length":96,"hex_timestamp":"000001a084de8638"} 
[2026-09-09 12:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-09 12:04: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-09-09 12:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:04:41] 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-09-09 12:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967504640001,"66":13276,"105":206,"83":41984,"24":48,"16":18815031953063936,"45":1751970654425767936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967504640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:04:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18815031953063936,"km_value":18815031953063.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751970654425767936,"description":"Unknown IO ID 45"} 
[2026-09-09 12:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967504640001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1751970654425767936}} 
[2026-09-09 12:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":175397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:04:41] local.INFO: GPS data processed {"connection_id":175397,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:04:41] local.INFO: Acknowledgment sent {"connection_id":175397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:04:41] local.INFO: TCP Data received {"connection_id":176748,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:04:41] local.INFO: Processing buffer {"connection_id":176748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:04:41] local.INFO: IMEI packet received {"connection_id":176748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":176748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:04:44] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:04:44] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:04:44] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:04:45] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:04:45] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:04:45] local.INFO: Packet analysis {"connection_id":175398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:45] local.INFO: Extracted packet for processing {"connection_id":175398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:04:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":175398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:04:45] local.INFO: GPS data processed {"connection_id":175398,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:04:45] local.INFO: Acknowledgment sent {"connection_id":175398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:05:13] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084dead48012d1829000721ba88004800d323..."} 
[2026-09-09 12:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084dead48012d1829000721ba88004800d323..."} 
[2026-09-09 12:05:13] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084dead48012d1829000721ba88004800d323..."} 
[2026-09-09 12:05:13] local.INFO: Packet analysis {"connection_id":175397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:05:13] local.INFO: Extracted packet for processing {"connection_id":175397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:05:13] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119650952,"longitude_deg":75.655808,"latitude_deg":11.9650952,"altitude":72,"angle":211,"satellites":35,"speed":41,"hex_longitude":"2d182900","hex_latitude":"0721ba88","is_valid_coordinates":true} 
[2026-09-09 12:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967506176001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18815461449793536,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746341154889629696,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788935581000,"timestamp_ms":1788935581000,"timestamp_seconds":1788935581,"priority":1,"record_length":96,"hex_timestamp":"000001a084dead48"} 
[2026-09-09 12:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-09 12:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:05:13] 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-09-09 12:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967506176001,"66":13222,"105":206,"83":41984,"24":41,"16":18815461449793536,"45":1746341154889629696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967506176001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:05:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18815461449793536,"km_value":18815461449793.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746341154889629696,"description":"Unknown IO ID 45"} 
[2026-09-09 12:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967506176001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1746341154889629696}} 
[2026-09-09 12:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":175397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:05:13] local.INFO: GPS data processed {"connection_id":175397,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:05:13] local.INFO: Acknowledgment sent {"connection_id":175397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:05:18] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:05:18] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:05:18] local.INFO: Packet analysis {"connection_id":175398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:05:18] local.INFO: Extracted packet for processing {"connection_id":175398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:05:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":175398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:05:18] local.INFO: GPS data processed {"connection_id":175398,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:05:18] local.INFO: Acknowledgment sent {"connection_id":175398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:05:30] local.INFO: TCP Data received {"connection_id":178194,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:05:30] local.INFO: Processing buffer {"connection_id":178194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:05:30] local.INFO: IMEI packet received {"connection_id":178194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":178194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:05:35] local.INFO: TCP Data received {"connection_id":178194,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:05:35] local.INFO: Processing buffer {"connection_id":178194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:05:35] local.INFO: IMEI packet received {"connection_id":178194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":178194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:05:36] local.INFO: TCP Data received {"connection_id":178194,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084dec8a0012d181e800721a960004700bd24..."} 
[2026-09-09 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084dec8a0012d181e800721a960004700bd24..."} 
[2026-09-09 12:05:36] local.INFO: Processing buffer {"connection_id":178194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084dec8a0012d181e800721a960004700bd24..."} 
[2026-09-09 12:05:36] local.INFO: Packet analysis {"connection_id":178194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:05:36] local.INFO: Extracted packet for processing {"connection_id":178194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646560,"longitude_deg":75.6555392,"latitude_deg":11.964656,"altitude":71,"angle":189,"satellites":36,"speed":14,"hex_longitude":"2d181e80","hex_latitude":"0721a960","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967508736001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18815710557896704,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761586051072,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788935588000,"timestamp_ms":1788935588000,"timestamp_seconds":1788935588,"priority":1,"record_length":96,"hex_timestamp":"000001a084dec8a0"} 
[2026-09-09 12:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:05: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-09-09 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-09 12:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:05:36] 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-09-09 12:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967508736001,"66":13167,"105":206,"83":41984,"24":14,"16":18815710557896704,"45":1740922761586051072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967508736001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:05:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18815710557896704,"km_value":18815710557896.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761586051072,"description":"Unknown IO ID 45"} 
[2026-09-09 12:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967508736001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1740922761586051072}} 
[2026-09-09 12:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":178194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:05:36] local.INFO: GPS data processed {"connection_id":178194,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:05:36] local.INFO: Acknowledgment sent {"connection_id":178194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:05:39] local.INFO: TCP Data received {"connection_id":176749,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:05:39] local.INFO: Processing buffer {"connection_id":176749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:05:39] local.INFO: IMEI packet received {"connection_id":176749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":176749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:05:44] local.INFO: TCP Data received {"connection_id":176749,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:05:44] local.INFO: Processing buffer {"connection_id":176749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:05:44] local.INFO: IMEI packet received {"connection_id":176749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":176749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:05:45] local.INFO: TCP Data received {"connection_id":176749,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:05:45] local.INFO: Processing buffer {"connection_id":176749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:05:45] local.INFO: Packet analysis {"connection_id":176749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:05:45] local.INFO: Extracted packet for processing {"connection_id":176749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:05:45] 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-09-09 12:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:05:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":176749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:05:45] local.INFO: GPS data processed {"connection_id":176749,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:05:45] local.INFO: Acknowledgment sent {"connection_id":176749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:06:07] local.INFO: TCP Data received {"connection_id":178194,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084decc88012d181e800721a8180046009e25..."} 
[2026-09-09 12:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084decc88012d181e800721a8180046009e25..."} 
[2026-09-09 12:06:07] local.INFO: Processing buffer {"connection_id":178194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084decc88012d181e800721a8180046009e25..."} 
[2026-09-09 12:06:07] local.INFO: Packet analysis {"connection_id":178194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:06:07] local.INFO: Extracted packet for processing {"connection_id":178194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646232,"longitude_deg":75.6555392,"latitude_deg":11.9646232,"altitude":70,"angle":158,"satellites":37,"speed":12,"hex_longitude":"2d181e80","hex_latitude":"0721a818","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967510528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18815727737765888,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329464832,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788935589000,"timestamp_ms":1788935589000,"timestamp_seconds":1788935589,"priority":1,"record_length":96,"hex_timestamp":"000001a084decc88"} 
[2026-09-09 12:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:06: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-09-09 12: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:06: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-09-09 12: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-09-09 12:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:06:07] 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-09-09 12:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967510528001,"66":13102,"105":206,"83":41984,"24":12,"16":18815727737765888,"45":1737967274329464832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967510528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18815727737765888,"km_value":18815727737765.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329464832,"description":"Unknown IO ID 45"} 
[2026-09-09 12:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967510528001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737967274329464832}} 
[2026-09-09 12:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":178194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:06:07] local.INFO: GPS data processed {"connection_id":178194,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:06:07] local.INFO: Acknowledgment sent {"connection_id":178194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:06:17] local.INFO: TCP Data received {"connection_id":176749,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:06:17] local.INFO: Processing buffer {"connection_id":176749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:06:17] local.INFO: Packet analysis {"connection_id":176749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:06:17] local.INFO: Extracted packet for processing {"connection_id":176749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:06:17] 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-09-09 12:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":176749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:06:17] local.INFO: GPS data processed {"connection_id":176749,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:06:17] local.INFO: Acknowledgment sent {"connection_id":176749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:06:30] local.INFO: TCP Data received {"connection_id":178196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:06:30] local.INFO: Processing buffer {"connection_id":178196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:06:30] local.INFO: IMEI packet received {"connection_id":178196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":178196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:06:35] local.INFO: TCP Data received {"connection_id":178196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:06:35] local.INFO: Processing buffer {"connection_id":178196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:06:35] local.INFO: IMEI packet received {"connection_id":178196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":178196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:06:36] local.INFO: TCP Data received {"connection_id":178196,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ded070012d181f400721a7200047008a25..."} 
[2026-09-09 12:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ded070012d181f400721a7200047008a25..."} 
[2026-09-09 12:06:36] local.INFO: Processing buffer {"connection_id":178196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ded070012d181f400721a7200047008a25..."} 
[2026-09-09 12:06:36] local.INFO: Packet analysis {"connection_id":178196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:06:36] local.INFO: Extracted packet for processing {"connection_id":178196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645984,"longitude_deg":75.6555584,"latitude_deg":11.9645984,"altitude":71,"angle":138,"satellites":37,"speed":10,"hex_longitude":"2d181f40","hex_latitude":"0721a720","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967510784001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18815740622667776,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329380864,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788935590000,"timestamp_ms":1788935590000,"timestamp_seconds":1788935590,"priority":1,"record_length":96,"hex_timestamp":"000001a084ded070"} 
[2026-09-09 12:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:06: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-09-09 12: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-09 12:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:06:36] 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-09-09 12:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967510784001,"66":13102,"105":206,"83":41984,"24":10,"16":18815740622667776,"45":1737967274329380864},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967510784001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:06:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18815740622667776,"km_value":18815740622667.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329380864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967510784001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737967274329380864}} 
[2026-09-09 12:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":178196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:06:36] local.INFO: GPS data processed {"connection_id":178196,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:06:36] local.INFO: Acknowledgment sent {"connection_id":178196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:06:39] local.INFO: TCP Data received {"connection_id":175612,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:06:39] local.INFO: Processing buffer {"connection_id":175612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:06:39] local.INFO: IMEI packet received {"connection_id":175612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":175612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:06:44] local.INFO: TCP Data received {"connection_id":175612,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:06:44] local.INFO: Processing buffer {"connection_id":175612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:06:44] local.INFO: IMEI packet received {"connection_id":175612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":175612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:06:45] local.INFO: TCP Data received {"connection_id":175612,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:06:45] local.INFO: Processing buffer {"connection_id":175612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:06:45] local.INFO: Packet analysis {"connection_id":175612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:06:45] local.INFO: Extracted packet for processing {"connection_id":175612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:06:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":175612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:06:45] local.INFO: GPS data processed {"connection_id":175612,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:06:45] local.INFO: Acknowledgment sent {"connection_id":175612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:07:07] local.INFO: TCP Data received {"connection_id":178196,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ded840012d1820c00721a6100047007d25..."} 
[2026-09-09 12:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ded840012d1820c00721a6100047007d25..."} 
[2026-09-09 12:07:07] local.INFO: Processing buffer {"connection_id":178196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ded840012d1820c00721a6100047007d25..."} 
[2026-09-09 12:07:07] local.INFO: Packet analysis {"connection_id":178196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:07] local.INFO: Extracted packet for processing {"connection_id":178196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645712,"longitude_deg":75.6555968,"latitude_deg":11.9645712,"altitude":71,"angle":125,"satellites":37,"speed":10,"hex_longitude":"2d1820c0","hex_latitude":"0721a610","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967511040001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18815762097504256,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561850368,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788935592000,"timestamp_ms":1788935592000,"timestamp_seconds":1788935592,"priority":1,"record_length":96,"hex_timestamp":"000001a084ded840"} 
[2026-09-09 12:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:07: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-09-09 12: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-09 12:07: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-09-09 12: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-09-09 12:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:07:07] 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-09-09 12:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967511040001,"66":13091,"105":206,"83":41984,"24":10,"16":18815762097504256,"45":1738178380561850368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967511040001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18815762097504256,"km_value":18815762097504.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561850368,"description":"Unknown IO ID 45"} 
[2026-09-09 12:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967511040001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738178380561850368}} 
[2026-09-09 12:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":178196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:07:07] local.INFO: GPS data processed {"connection_id":178196,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:07:07] local.INFO: Acknowledgment sent {"connection_id":178196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:07:16] local.INFO: TCP Data received {"connection_id":175612,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:07:16] local.INFO: Processing buffer {"connection_id":175612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:07:16] local.INFO: Packet analysis {"connection_id":175612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:16] local.INFO: Extracted packet for processing {"connection_id":175612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":175612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:07:16] local.INFO: GPS data processed {"connection_id":175612,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:07:16] local.INFO: Acknowledgment sent {"connection_id":175612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:07:31] local.INFO: TCP Data received {"connection_id":175613,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:07:31] local.INFO: Processing buffer {"connection_id":175613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:07:31] local.INFO: IMEI packet received {"connection_id":175613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":175613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:07:35] local.INFO: TCP Data received {"connection_id":175613,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:07:35] local.INFO: Processing buffer {"connection_id":175613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:07:35] local.INFO: IMEI packet received {"connection_id":175613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":175613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:07:36] local.INFO: TCP Data received {"connection_id":175613,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084deebc8012d1825800721a1c80049008925..."} 
[2026-09-09 12:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084deebc8012d1825800721a1c80049008925..."} 
[2026-09-09 12:07:36] local.INFO: Processing buffer {"connection_id":175613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084deebc8012d1825800721a1c80049008925..."} 
[2026-09-09 12:07:36] local.INFO: Packet analysis {"connection_id":175613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:36] local.INFO: Extracted packet for processing {"connection_id":175613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119644616,"longitude_deg":75.6557184,"latitude_deg":11.9644616,"altitude":73,"angle":137,"satellites":37,"speed":9,"hex_longitude":"2d182580","hex_latitude":"0721a1c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967511552001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18815839406915584,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026846720,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788935597000,"timestamp_ms":1788935597000,"timestamp_seconds":1788935597,"priority":1,"record_length":96,"hex_timestamp":"000001a084deebc8"} 
[2026-09-09 12:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:07: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-09-09 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-09 12:07: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-09-09 12: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-09-09 12:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:07:36] 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-09-09 12:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967511552001,"66":13135,"105":206,"83":41984,"24":9,"16":18815839406915584,"45":1738600593026846720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 12:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967511552001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:07:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 12:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18815839406915584,"km_value":18815839406915.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026846720,"description":"Unknown IO ID 45"} 
[2026-09-09 12:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967511552001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738600593026846720}} 
[2026-09-09 12:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":175613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:07:36] local.INFO: GPS data processed {"connection_id":175613,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:07:36] local.INFO: Acknowledgment sent {"connection_id":175613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:07:44] local.INFO: TCP Data received {"connection_id":176751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:07:44] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:07:44] local.INFO: IMEI packet received {"connection_id":176751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":176751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:07:49] local.INFO: TCP Data received {"connection_id":176751,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:07:49] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:07:49] local.INFO: IMEI packet received {"connection_id":176751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":176751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:07:51] local.INFO: TCP Data received {"connection_id":176751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:07:51] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:07:51] local.INFO: Packet analysis {"connection_id":176751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:51] local.INFO: Extracted packet for processing {"connection_id":176751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:07: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-09-09 12:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:07:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":176751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:07:51] local.INFO: GPS data processed {"connection_id":176751,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:07:51] local.INFO: Acknowledgment sent {"connection_id":176751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:07:55] local.INFO: TCP Data received {"connection_id":176751,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:07:55] local.INFO: Processing buffer {"connection_id":176751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084de4ba0012d34c14006aa42c8000900022c..."} 
[2026-09-09 12:07:55] local.INFO: Packet analysis {"connection_id":176751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:55] local.INFO: Extracted packet for processing {"connection_id":176751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084de"} 
[2026-09-09 12:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":9,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967425280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788935556000,"timestamp_ms":1788935556000,"timestamp_seconds":1788935556,"priority":1,"record_length":96,"hex_timestamp":"000001a084de4ba0"} 
[2026-09-09 12:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 12:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967425280001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967425280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:07:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:07:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967425280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":176751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:07:56] local.INFO: GPS data processed {"connection_id":176751,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:07:56] local.INFO: Acknowledgment sent {"connection_id":176751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:08:07] local.INFO: TCP Data received {"connection_id":175613,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2a100012d18648007218268004c00652a..."} 
[2026-09-09 12:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2a100012d18648007218268004c00652a..."} 
[2026-09-09 12:08:07] local.INFO: Processing buffer {"connection_id":175613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2a100012d18648007218268004c00652a..."} 
[2026-09-09 12:08:07] local.INFO: Packet analysis {"connection_id":175613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:08:07] local.INFO: Extracted packet for processing {"connection_id":175613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756573312,"raw_latitude":119636584,"longitude_deg":75.6573312,"latitude_deg":11.9636584,"altitude":76,"angle":101,"satellites":42,"speed":43,"hex_longitude":"2d186480","hex_latitude":"07218268","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967573760001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18816784299720704,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751900285674645504,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788935840000,"timestamp_ms":1788935840000,"timestamp_seconds":1788935840,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2a100"} 
[2026-09-09 12:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:08: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-09-09 12: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":16,"data_length":795,"current_offset":136} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733137408,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2756210812965093448,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2229327864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3640066048,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462121,"corrected_to":0} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503886735278080,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3783002113,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2667053133,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632641885334121,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4035489153214120192,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465450,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.WARNING: Large IO value detected {"io_id":224,"raw_value":20266770191351808,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,217,160,94,45,153,78,40,10,66,32,158,77,37,105,216,206,1,240,246,227,132,33,4,113,205,42,35,248,38,239,49,2,7,224],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":246,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-09 12:08:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620620058698514432,"timestamp_seconds":5620620058698514.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 12:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:08:07] 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-09-09 12:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967573760001,"66":14363,"106":206,"83":41984,"24":43,"16":18816784299720704,"45":1751900285674645504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 12:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967573760001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:08:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 12:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18816784299720704,"km_value":18816784299720.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751900285674645504,"description":"Unknown IO ID 45"} 
[2026-09-09 12:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967573760001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1751900285674645504}} 
[2026-09-09 12:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":175613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:08:07] local.INFO: GPS data processed {"connection_id":175613,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:08:07] local.INFO: Acknowledgment sent {"connection_id":175613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:08:30] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:08:30] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:08:30] local.INFO: IMEI packet received {"connection_id":176752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":176752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:08:31] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:08:31] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:08:31] local.INFO: IMEI packet received {"connection_id":176752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":176752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:08:35] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:08:35] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:08:35] local.INFO: IMEI packet received {"connection_id":176752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":176752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:08:36] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2a8d0012d186d00072181e0004c005a2a..."} 
[2026-09-09 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2a8d0012d186d00072181e0004c005a2a..."} 
[2026-09-09 12:08:36] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2a8d0012d186d00072181e0004c005a2a..."} 
[2026-09-09 12:08:36] local.INFO: Packet analysis {"connection_id":176752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:08:36] local.INFO: Extracted packet for processing {"connection_id":176752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756575488,"raw_latitude":119636448,"longitude_deg":75.6575488,"latitude_deg":11.9636448,"altitude":76,"angle":90,"satellites":42,"speed":43,"hex_longitude":"2d186d00","hex_latitude":"072181e0","is_valid_coordinates":true} 
[2026-09-09 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967575040001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18816887378935808,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757670522696656896,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788935842000,"timestamp_ms":1788935842000,"timestamp_seconds":1788935842,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2a8d0"} 
[2026-09-09 12:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:08: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-09-09 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-09 12:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:08:36] 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-09-09 12:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967575040001,"66":14276,"106":206,"83":41984,"24":43,"16":18816887378935808,"45":1757670522696656896},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 12:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967575040001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:08:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 12:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18816887378935808,"km_value":18816887378935.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757670522696656896,"description":"Unknown IO ID 45"} 
[2026-09-09 12:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967575040001,"power":14276,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1757670522696656896}} 
[2026-09-09 12:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":176752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:08:36] local.INFO: GPS data processed {"connection_id":176752,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:08:36] local.INFO: Acknowledgment sent {"connection_id":176752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:08:39] local.INFO: TCP Data received {"connection_id":175400,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:08:39] local.INFO: Processing buffer {"connection_id":175400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:08:39] local.INFO: IMEI packet received {"connection_id":175400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":175400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:08:44] local.INFO: TCP Data received {"connection_id":175400,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:08:44] local.INFO: Processing buffer {"connection_id":175400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:08:44] local.INFO: IMEI packet received {"connection_id":175400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:08:45] local.INFO: TCP Data received {"connection_id":175400,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:08:45] local.INFO: Processing buffer {"connection_id":175400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:08:45] local.INFO: Packet analysis {"connection_id":175400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:08:45] local.INFO: Extracted packet for processing {"connection_id":175400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:08:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":175400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:08:45] local.INFO: GPS data processed {"connection_id":175400,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:08:45] local.INFO: Acknowledgment sent {"connection_id":175400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:08:50] local.INFO: TCP Data received {"connection_id":175400,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:08:50] local.INFO: Processing buffer {"connection_id":175400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:08:50] local.INFO: Packet analysis {"connection_id":175400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:08:50] local.INFO: Extracted packet for processing {"connection_id":175400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:08:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:08:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:08:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":175400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:08:50] local.INFO: GPS data processed {"connection_id":175400,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:08:50] local.INFO: Acknowledgment sent {"connection_id":175400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:09:07] local.INFO: TCP Data received {"connection_id":176752,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e36c20012d18e7c00720ec48003b009327..."} 
[2026-09-09 12:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e36c20012d18e7c00720ec48003b009327..."} 
[2026-09-09 12:09:07] local.INFO: Processing buffer {"connection_id":176752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e36c20012d18e7c00720ec48003b009327..."} 
[2026-09-09 12:09:07] local.INFO: Packet analysis {"connection_id":176752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e3"} 
[2026-09-09 12:09:07] local.INFO: Extracted packet for processing {"connection_id":176752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e3"} 
[2026-09-09 12:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756606912,"raw_latitude":119598152,"longitude_deg":75.6606912,"latitude_deg":11.9598152,"altitude":59,"angle":147,"satellites":39,"speed":45,"hex_longitude":"2d18e7c0","hex_latitude":"0720ec48","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967587328001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18819567438528512,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782404646912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788935892000,"timestamp_ms":1788935892000,"timestamp_seconds":1788935892,"priority":1,"record_length":96,"hex_timestamp":"000001a084e36c20"} 
[2026-09-09 12:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:09: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-09-09 12: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-09 12:09: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-09-09 12: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-09-09 12:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:09:07] 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-09-09 12:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967587328001,"66":14341,"103":206,"83":41984,"24":45,"16":18819567438528512,"45":1791306782404646912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967587328001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:09:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18819567438528512,"km_value":18819567438528.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782404646912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967587328001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1791306782404646912}} 
[2026-09-09 12:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":176752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:09:07] local.INFO: GPS data processed {"connection_id":176752,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:09:07] local.INFO: Acknowledgment sent {"connection_id":176752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:09:22] local.INFO: TCP Data received {"connection_id":175400,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:09:22] local.INFO: Processing buffer {"connection_id":175400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:09:22] local.INFO: Packet analysis {"connection_id":175400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:09:22] local.INFO: Extracted packet for processing {"connection_id":175400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:09:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:09:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:09:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":175400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:09:22] local.INFO: GPS data processed {"connection_id":175400,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:09:22] local.INFO: Acknowledgment sent {"connection_id":175400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:09:31] local.INFO: TCP Data received {"connection_id":178198,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:09:31] local.INFO: Processing buffer {"connection_id":178198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:09:31] local.INFO: IMEI packet received {"connection_id":178198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":178198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:09:31] local.INFO: TCP Data received {"connection_id":178198,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:09:31] local.INFO: Processing buffer {"connection_id":178198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:09:31] local.INFO: IMEI packet received {"connection_id":178198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":178198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:09:35] local.INFO: TCP Data received {"connection_id":178198,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:09:35] local.INFO: Processing buffer {"connection_id":178198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:09:35] local.INFO: IMEI packet received {"connection_id":178198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":178198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:09:36] local.INFO: TCP Data received {"connection_id":178198,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e38390012d18f8000720d6100037008228..."} 
[2026-09-09 12:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e38390012d18f8000720d6100037008228..."} 
[2026-09-09 12:09:36] local.INFO: Processing buffer {"connection_id":178198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e38390012d18f8000720d6100037008228..."} 
[2026-09-09 12:09:36] local.INFO: Packet analysis {"connection_id":178198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e3"} 
[2026-09-09 12:09:36] local.INFO: Extracted packet for processing {"connection_id":178198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e3"} 
[2026-09-09 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756611072,"raw_latitude":119592464,"longitude_deg":75.6611072,"latitude_deg":11.9592464,"altitude":55,"angle":130,"satellites":40,"speed":47,"hex_longitude":"2d18f800","hex_latitude":"0720d610","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967588352001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18819911035912192,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794614113380091904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09: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-09-09 12:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788935898000,"timestamp_ms":1788935898000,"timestamp_seconds":1788935898,"priority":1,"record_length":96,"hex_timestamp":"000001a084e38390"} 
[2026-09-09 12:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:09: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-09-09 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988030707,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2229472864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3679846400,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503886770798592,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3811930113,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-09 12:09:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325530,"corrected_to":0} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84751132584780136,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.WARNING: Large IO value detected {"io_id":152,"raw_value":20548301036202240,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,220,160,92,45,250,60,40,10,66,84,192,1,219,240,5,227,132,33,4,113,205,44,200,39,239,55,2,7,68,206,8,152],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":4325530,"validated":0}]} 
[2026-09-09 12:09:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251559843953704960,"timestamp_seconds":4251559843953705.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 12:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:09:36] 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-09-09 12:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967588352001,"66":14298,"103":206,"83":41984,"24":47,"16":18819911035912192,"45":1794614113380091904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967588352001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:09:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18819911035912192,"km_value":18819911035912.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794614113380091904,"description":"Unknown IO ID 45"} 
[2026-09-09 12:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967588352001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1794614113380091904}} 
[2026-09-09 12:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":178198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:09:36] local.INFO: GPS data processed {"connection_id":178198,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:09:36] local.INFO: Acknowledgment sent {"connection_id":178198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:09:39] local.INFO: TCP Data received {"connection_id":178199,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:09:39] local.INFO: Processing buffer {"connection_id":178199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:09:39] local.INFO: IMEI packet received {"connection_id":178199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":178199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:09:44] local.INFO: TCP Data received {"connection_id":178199,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:09:44] local.INFO: Processing buffer {"connection_id":178199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:09:44] local.INFO: IMEI packet received {"connection_id":178199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":178199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:09:45] local.INFO: TCP Data received {"connection_id":178199,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:09:45] local.INFO: Processing buffer {"connection_id":178199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:09:45] local.INFO: Packet analysis {"connection_id":178199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:09:45] local.INFO: Extracted packet for processing {"connection_id":178199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":178199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:09:45] local.INFO: GPS data processed {"connection_id":178199,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:09:45] local.INFO: Acknowledgment sent {"connection_id":178199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:10:02] local.INFO: TCP Data received {"connection_id":178200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:10:02] local.INFO: Processing buffer {"connection_id":178200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:10:02] local.INFO: IMEI packet received {"connection_id":178200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":178200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:10:07] local.INFO: TCP Data received {"connection_id":178198,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e46a08012d19af0007208530002e00a82a..."} 
[2026-09-09 12:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e46a08012d19af0007208530002e00a82a..."} 
[2026-09-09 12:10:07] local.INFO: Processing buffer {"connection_id":178198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e46a08012d19af0007208530002e00a82a..."} 
[2026-09-09 12:10:07] local.INFO: Packet analysis {"connection_id":178198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e4"} 
[2026-09-09 12:10:07] local.INFO: Extracted packet for processing {"connection_id":178198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e4"} 
[2026-09-09 12:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119571760,"longitude_deg":75.665792,"latitude_deg":11.957176,"altitude":46,"angle":168,"satellites":42,"speed":45,"hex_longitude":"2d19af00","hex_latitude":"07208530","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967604480001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18822956167725056,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018410496,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788935957000,"timestamp_ms":1788935957000,"timestamp_seconds":1788935957,"priority":1,"record_length":96,"hex_timestamp":"000001a084e46a08"} 
[2026-09-09 12:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:10: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-09-09 12: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":38,"data_length":795,"current_offset":136} 
[2026-09-09 12:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:10:07] 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-09-09 12:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967604480001,"66":13167,"103":206,"83":41984,"24":45,"16":18822956167725056,"45":1850275790018410496},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967604480001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:10:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18822956167725056,"km_value":18822956167725.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018410496,"description":"Unknown IO ID 45"} 
[2026-09-09 12:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967604480001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1850275790018410496}} 
[2026-09-09 12:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":178198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:10:07] local.INFO: GPS data processed {"connection_id":178198,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:10:07] local.INFO: Acknowledgment sent {"connection_id":178198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:10:17] local.INFO: TCP Data received {"connection_id":178199,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:10:17] local.INFO: Processing buffer {"connection_id":178199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:10:17] local.INFO: Packet analysis {"connection_id":178199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:10:17] local.INFO: Extracted packet for processing {"connection_id":178199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":178199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:10:17] local.INFO: GPS data processed {"connection_id":178199,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:10:17] local.INFO: Acknowledgment sent {"connection_id":178199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:10:30] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:10:30] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:10:30] local.INFO: IMEI packet received {"connection_id":175401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":175401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:10:33] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:10:33] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:10:33] local.INFO: IMEI packet received {"connection_id":175401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":175401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:10:34] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:10:34] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:10:34] local.INFO: IMEI packet received {"connection_id":175401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":175401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:10:35] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e47d90012d19b60007206ed8002d009c29..."} 
[2026-09-09 12:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e47d90012d19b60007206ed8002d009c29..."} 
[2026-09-09 12:10:35] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e47d90012d19b60007206ed8002d009c29..."} 
[2026-09-09 12:10:35] local.INFO: Packet analysis {"connection_id":175401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e4"} 
[2026-09-09 12:10:35] local.INFO: Extracted packet for processing {"connection_id":175401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e4"} 
[2026-09-09 12:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756659712,"raw_latitude":119566040,"longitude_deg":75.6659712,"latitude_deg":11.956604,"altitude":45,"angle":156,"satellites":41,"speed":48,"hex_longitude":"2d19b600","hex_latitude":"07206ed8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967604992001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18823248225501184,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002482933760,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788935962000,"timestamp_ms":1788935962000,"timestamp_seconds":1788935962,"priority":1,"record_length":96,"hex_timestamp":"000001a084e47d90"} 
[2026-09-09 12:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:10: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-09-09 12: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:10:35] 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-09-09 12:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967604992001,"66":14265,"103":206,"83":41984,"24":48,"16":18823248225501184,"45":1850698002482933760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967604992001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:10:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18823248225501184,"km_value":18823248225501.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002482933760,"description":"Unknown IO ID 45"} 
[2026-09-09 12:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967604992001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1850698002482933760}} 
[2026-09-09 12:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":175401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:10:35] local.INFO: GPS data processed {"connection_id":175401,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:10:35] local.INFO: Acknowledgment sent {"connection_id":175401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:10:39] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:10:39] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:10:39] local.INFO: IMEI packet received {"connection_id":175402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":175402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:10:41] local.INFO: TCP Data received {"connection_id":176753,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:10:41] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:10:41] local.INFO: IMEI packet received {"connection_id":176753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":176753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:10:44] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:10:44] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:10:44] local.INFO: IMEI packet received {"connection_id":175402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":175402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:10:45] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:10:45] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:10:45] local.INFO: Packet analysis {"connection_id":175402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:10:45] local.INFO: Extracted packet for processing {"connection_id":175402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:10:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":175402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:10:45] local.INFO: GPS data processed {"connection_id":175402,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:10:45] local.INFO: Acknowledgment sent {"connection_id":175402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:11:06] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e55850012d1a4e80071fe3c8002d00752a..."} 
[2026-09-09 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e55850012d1a4e80071fe3c8002d00752a..."} 
[2026-09-09 12:11:06] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e55850012d1a4e80071fe3c8002d00752a..."} 
[2026-09-09 12:11:06] local.INFO: Packet analysis {"connection_id":175401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e5"} 
[2026-09-09 12:11:06] local.INFO: Extracted packet for processing {"connection_id":175401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e5"} 
[2026-09-09 12:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756698752,"raw_latitude":119530440,"longitude_deg":75.6698752,"latitude_deg":11.953044,"altitude":45,"angle":117,"satellites":42,"speed":41,"hex_longitude":"2d1a4e80","hex_latitude":"071fe3c8","is_valid_coordinates":true} 
[2026-09-09 12:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967620608001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18826130148556800,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895593261257705472,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788936018000,"timestamp_ms":1788936018000,"timestamp_seconds":1788936018,"priority":1,"record_length":96,"hex_timestamp":"000001a084e55850"} 
[2026-09-09 12:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-09 12:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:11: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-09-09 12:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967620608001,"66":13613,"101":206,"83":41984,"24":41,"16":18826130148556800,"45":1895593261257705472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967620608001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:11:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18826130148556800,"km_value":18826130148556.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895593261257705472,"description":"Unknown IO ID 45"} 
[2026-09-09 12:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967620608001,"power":13613,"unknown_101":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1895593261257705472}} 
[2026-09-09 12:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":175401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:11:06] local.INFO: GPS data processed {"connection_id":175401,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:11:06] local.INFO: Acknowledgment sent {"connection_id":175401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:11:17] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:11:17] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:11:17] local.INFO: Packet analysis {"connection_id":175402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:11:17] local.INFO: Extracted packet for processing {"connection_id":175402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":175402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:11:17] local.INFO: GPS data processed {"connection_id":175402,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:11:17] local.INFO: Acknowledgment sent {"connection_id":175402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:11:30] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:30] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:30] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:11:33] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:33] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:33] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:11:34] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:34] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:34] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:11:35] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:35] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:11:35] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:11:36] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e56bd8012d1a6000071fdbb0002e005f27..."} 
[2026-09-09 12:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e56bd8012d1a6000071fdbb0002e005f27..."} 
[2026-09-09 12:11:36] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e56bd8012d1a6000071fdbb0002e005f27..."} 
[2026-09-09 12:11:36] local.INFO: Packet analysis {"connection_id":176755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e5"} 
[2026-09-09 12:11:36] local.INFO: Extracted packet for processing {"connection_id":176755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e5"} 
[2026-09-09 12:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756703232,"raw_latitude":119528368,"longitude_deg":75.6703232,"latitude_deg":11.9528368,"altitude":46,"angle":95,"satellites":39,"speed":37,"hex_longitude":"2d1a6000","hex_latitude":"071fdbb0","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967620608001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18826370666725376,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895593261257705472,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11: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-09-09 12:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936023000,"timestamp_ms":1788936023000,"timestamp_seconds":1788936023,"priority":1,"record_length":96,"hex_timestamp":"000001a084e56bd8"} 
[2026-09-09 12:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:11: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-09-09 12: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-09 12:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:11:36] 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-09-09 12:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967620608001,"66":13993,"101":206,"83":41984,"24":37,"16":18826370666725376,"45":1895593261257705472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967620608001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:11:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18826370666725376,"km_value":18826370666725.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895593261257705472,"description":"Unknown IO ID 45"} 
[2026-09-09 12:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967620608001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1895593261257705472}} 
[2026-09-09 12:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":176755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:11:36] local.INFO: GPS data processed {"connection_id":176755,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:11:36] local.INFO: Acknowledgment sent {"connection_id":176755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:11:36] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e57790012d1a6a80071fd9b80031006e27..."} 
[2026-09-09 12:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e57790012d1a6a80071fd9b80031006e27..."} 
[2026-09-09 12:11:36] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e57790012d1a6a80071fd9b80031006e27..."} 
[2026-09-09 12:11:36] local.INFO: Packet analysis {"connection_id":176755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e5"} 
[2026-09-09 12:11:36] local.INFO: Extracted packet for processing {"connection_id":176755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e5"} 
[2026-09-09 12:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119527864,"longitude_deg":75.670592,"latitude_deg":11.9527864,"altitude":49,"angle":110,"satellites":39,"speed":34,"hex_longitude":"2d1a6a80","hex_latitude":"071fd9b8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967621888001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18826499515744256,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900519073349611520,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11: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-09-09 12:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936026000,"timestamp_ms":1788936026000,"timestamp_seconds":1788936026,"priority":1,"record_length":96,"hex_timestamp":"000001a084e57790"} 
[2026-09-09 12:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:11: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-09-09 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 12:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:11:36] 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-09-09 12:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967621888001,"66":13993,"101":206,"83":41984,"24":34,"16":18826499515744256,"45":1900519073349611520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967621888001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:11:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18826499515744256,"km_value":18826499515744.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900519073349611520,"description":"Unknown IO ID 45"} 
[2026-09-09 12:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967621888001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1900519073349611520}} 
[2026-09-09 12:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":176755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:11:37] local.INFO: GPS data processed {"connection_id":176755,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:11:37] local.INFO: Acknowledgment sent {"connection_id":176755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:11:39] local.INFO: TCP Data received {"connection_id":175614,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:11:39] local.INFO: Processing buffer {"connection_id":175614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:11:39] local.INFO: IMEI packet received {"connection_id":175614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":175614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:11:44] local.INFO: TCP Data received {"connection_id":175614,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:11:44] local.INFO: Processing buffer {"connection_id":175614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:11:44] local.INFO: IMEI packet received {"connection_id":175614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":175614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:11:45] local.INFO: TCP Data received {"connection_id":175614,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:11:45] local.INFO: Processing buffer {"connection_id":175614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:11:45] local.INFO: Packet analysis {"connection_id":175614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:11:45] local.INFO: Extracted packet for processing {"connection_id":175614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:11:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":175614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:11:45] local.INFO: GPS data processed {"connection_id":175614,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:11:45] local.INFO: Acknowledgment sent {"connection_id":175614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:12:08] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e60c00012d1ac900071f85280034005a28..."} 
[2026-09-09 12:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e60c00012d1ac900071f85280034005a28..."} 
[2026-09-09 12:12:08] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e60c00012d1ac900071f85280034005a28..."} 
[2026-09-09 12:12:08] local.INFO: Packet analysis {"connection_id":176755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e6"} 
[2026-09-09 12:12:08] local.INFO: Extracted packet for processing {"connection_id":176755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e6"} 
[2026-09-09 12:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756730112,"raw_latitude":119506216,"longitude_deg":75.6730112,"latitude_deg":11.9506216,"altitude":52,"angle":90,"satellites":40,"speed":17,"hex_longitude":"2d1ac900","hex_latitude":"071f8528","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967632128001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18828157373120512,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929651733433503744,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12: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-09-09 12:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788936064000,"timestamp_ms":1788936064000,"timestamp_seconds":1788936064,"priority":1,"record_length":96,"hex_timestamp":"000001a084e60c00"} 
[2026-09-09 12:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:12: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-09-09 12: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-09 12:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:12:08] 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-09-09 12:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967632128001,"66":14363,"101":206,"83":41984,"24":17,"16":18828157373120512,"45":1929651733433503744},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967632128001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:12:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18828157373120512,"km_value":18828157373120.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929651733433503744,"description":"Unknown IO ID 45"} 
[2026-09-09 12:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967632128001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1929651733433503744}} 
[2026-09-09 12:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":176755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:12:08] local.INFO: GPS data processed {"connection_id":176755,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:12:08] local.INFO: Acknowledgment sent {"connection_id":176755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:12:17] local.INFO: TCP Data received {"connection_id":175614,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:12:17] local.INFO: Processing buffer {"connection_id":175614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:12:17] local.INFO: Packet analysis {"connection_id":175614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:12:17] local.INFO: Extracted packet for processing {"connection_id":175614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":175614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:12:17] local.INFO: GPS data processed {"connection_id":175614,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:12:17] local.INFO: Acknowledgment sent {"connection_id":175614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:12:30] local.INFO: TCP Data received {"connection_id":176756,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:30] local.INFO: Processing buffer {"connection_id":176756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:30] local.INFO: IMEI packet received {"connection_id":176756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":176756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:12:31] local.INFO: TCP Data received {"connection_id":176756,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:31] local.INFO: Processing buffer {"connection_id":176756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:31] local.INFO: IMEI packet received {"connection_id":176756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":176756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:12:35] local.INFO: TCP Data received {"connection_id":176756,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:35] local.INFO: Processing buffer {"connection_id":176756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:35] local.INFO: IMEI packet received {"connection_id":176756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":176756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:12:35] local.INFO: TCP Data received {"connection_id":176756,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:35] local.INFO: Processing buffer {"connection_id":176756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:12:35] local.INFO: IMEI packet received {"connection_id":176756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":176756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:12:36] local.INFO: TCP Data received {"connection_id":176756,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e64a80012d1ae780071f86500036004d29..."} 
[2026-09-09 12:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e64a80012d1ae780071f86500036004d29..."} 
[2026-09-09 12:12:36] local.INFO: Processing buffer {"connection_id":176756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e64a80012d1ae780071f86500036004d29..."} 
[2026-09-09 12:12:36] local.INFO: Packet analysis {"connection_id":176756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e6"} 
[2026-09-09 12:12:36] local.INFO: Extracted packet for processing {"connection_id":176756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e6"} 
[2026-09-09 12:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756737920,"raw_latitude":119506512,"longitude_deg":75.673792,"latitude_deg":11.9506512,"altitude":54,"angle":77,"satellites":41,"speed":8,"hex_longitude":"2d1ae780","hex_latitude":"071f8650","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967632384001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18828526740307968,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930073945898559488,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936080000,"timestamp_ms":1788936080000,"timestamp_seconds":1788936080,"priority":1,"record_length":96,"hex_timestamp":"000001a084e64a80"} 
[2026-09-09 12:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:12: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-09-09 12: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":27,"data_length":795,"current_offset":136} 
[2026-09-09 12:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:12:36] 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-09-09 12:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967632384001,"66":14243,"101":206,"83":41984,"24":8,"16":18828526740307968,"45":1930073945898559488},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967632384001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:12:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18828526740307968,"km_value":18828526740307.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930073945898559488,"description":"Unknown IO ID 45"} 
[2026-09-09 12:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967632384001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1930073945898559488}} 
[2026-09-09 12:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":176756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:12:36] local.INFO: GPS data processed {"connection_id":176756,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:12:36] local.INFO: Acknowledgment sent {"connection_id":176756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:12:44] local.INFO: TCP Data received {"connection_id":176757,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:12:44] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:12:44] local.INFO: IMEI packet received {"connection_id":176757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":176757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:12:49] local.INFO: TCP Data received {"connection_id":176757,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:12:49] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:12:49] local.INFO: IMEI packet received {"connection_id":176757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":176757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:12:50] local.INFO: TCP Data received {"connection_id":176757,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:12:50] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:12:50] local.INFO: Packet analysis {"connection_id":176757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:12:50] local.INFO: Extracted packet for processing {"connection_id":176757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:12:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":176757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:12:50] local.INFO: GPS data processed {"connection_id":176757,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:12:50] local.INFO: Acknowledgment sent {"connection_id":176757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:12:54] local.INFO: TCP Data received {"connection_id":176757,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:12:54] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e2e368012d34c14006aa42c8000800022c..."} 
[2026-09-09 12:12:54] local.INFO: Packet analysis {"connection_id":176757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:12:54] local.INFO: Extracted packet for processing {"connection_id":176757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e2"} 
[2026-09-09 12:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":8,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967502336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788935857000,"timestamp_ms":1788935857000,"timestamp_seconds":1788935857,"priority":1,"record_length":96,"hex_timestamp":"000001a084e2e368"} 
[2026-09-09 12:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967502336001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967502336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:12:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967502336001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":176757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:12:54] local.INFO: GPS data processed {"connection_id":176757,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:12:54] local.INFO: Acknowledgment sent {"connection_id":176757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:13:07] local.INFO: TCP Data received {"connection_id":176756,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e72158012d1b5600071f6ce0003d007f26..."} 
[2026-09-09 12:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e72158012d1b5600071f6ce0003d007f26..."} 
[2026-09-09 12:13:07] local.INFO: Processing buffer {"connection_id":176756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e72158012d1b5600071f6ce0003d007f26..."} 
[2026-09-09 12:13:07] local.INFO: Packet analysis {"connection_id":176756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:13:07] local.INFO: Extracted packet for processing {"connection_id":176756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119500000,"longitude_deg":75.6766208,"latitude_deg":11.95,"altitude":61,"angle":127,"satellites":38,"speed":9,"hex_longitude":"2d1b5600","hex_latitude":"071f6ce0","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967650304001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18830102993305600,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969480442636505088,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936135000,"timestamp_ms":1788936135000,"timestamp_seconds":1788936135,"priority":1,"record_length":96,"hex_timestamp":"000001a084e72158"} 
[2026-09-09 12:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:13: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-09-09 12: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 12:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:13:07] 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-09-09 12:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967650304001,"66":13254,"101":206,"83":41984,"24":9,"16":18830102993305600,"45":1969480442636505088},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967650304001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:13:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18830102993305600,"km_value":18830102993305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969480442636505088,"description":"Unknown IO ID 45"} 
[2026-09-09 12:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967650304001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1969480442636505088}} 
[2026-09-09 12:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":176756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:13:07] local.INFO: GPS data processed {"connection_id":176756,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:13:07] local.INFO: Acknowledgment sent {"connection_id":176756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:13:32] local.INFO: TCP Data received {"connection_id":178201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:13:32] local.INFO: Processing buffer {"connection_id":178201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:13:32] local.INFO: IMEI packet received {"connection_id":178201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":178201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:13:35] local.INFO: TCP Data received {"connection_id":178201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:13:35] local.INFO: Processing buffer {"connection_id":178201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:13:35] local.INFO: IMEI packet received {"connection_id":178201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":178201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:13:39] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:13:39] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:13:39] local.INFO: IMEI packet received {"connection_id":175616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":175616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:13:40] local.INFO: TCP Data received {"connection_id":178201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:13:40] local.INFO: Processing buffer {"connection_id":178201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:13:40] local.INFO: IMEI packet received {"connection_id":178201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":178201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:13:41] local.INFO: TCP Data received {"connection_id":178201,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e72540012d1b5700071f6c90003d006127..."} 
[2026-09-09 12:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e72540012d1b5700071f6c90003d006127..."} 
[2026-09-09 12:13:41] local.INFO: Processing buffer {"connection_id":178201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e72540012d1b5700071f6c90003d006127..."} 
[2026-09-09 12:13:41] local.INFO: Packet analysis {"connection_id":178201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:13:41] local.INFO: Extracted packet for processing {"connection_id":178201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119499920,"longitude_deg":75.6766464,"latitude_deg":11.949992,"altitude":61,"angle":97,"satellites":39,"speed":10,"hex_longitude":"2d1b5700","hex_latitude":"071f6c90","is_valid_coordinates":true} 
[2026-09-09 12:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967650560001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18830111583240192,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969761917613170688,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788936136000,"timestamp_ms":1788936136000,"timestamp_seconds":1788936136,"priority":1,"record_length":96,"hex_timestamp":"000001a084e72540"} 
[2026-09-09 12:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:13: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-09-09 12:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 12:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:13:41] 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-09-09 12:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967650560001,"66":13254,"101":206,"83":41984,"24":10,"16":18830111583240192,"45":1969761917613170688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967650560001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:13:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18830111583240192,"km_value":18830111583240.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969761917613170688,"description":"Unknown IO ID 45"} 
[2026-09-09 12:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967650560001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1969761917613170688}} 
[2026-09-09 12:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":178201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:13:41] local.INFO: GPS data processed {"connection_id":178201,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:13:41] local.INFO: Acknowledgment sent {"connection_id":178201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:13:44] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:13:44] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:13:44] local.INFO: IMEI packet received {"connection_id":175616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":175616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:13:45] local.INFO: TCP Data received {"connection_id":178201,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e72928012d1b5840071f6cb0003e005127..."} 
[2026-09-09 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e72928012d1b5840071f6cb0003e005127..."} 
[2026-09-09 12:13:45] local.INFO: Processing buffer {"connection_id":178201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e72928012d1b5840071f6cb0003e005127..."} 
[2026-09-09 12:13:45] local.INFO: Packet analysis {"connection_id":178201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:13:45] local.INFO: Extracted packet for processing {"connection_id":178201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756766784,"raw_latitude":119499952,"longitude_deg":75.6766784,"latitude_deg":11.9499952,"altitude":62,"angle":81,"satellites":39,"speed":13,"hex_longitude":"2d1b5840","hex_latitude":"071f6cb0","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967650816001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18830128763109376,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392589860864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936137000,"timestamp_ms":1788936137000,"timestamp_seconds":1788936137,"priority":1,"record_length":96,"hex_timestamp":"000001a084e72928"} 
[2026-09-09 12:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 12:13: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-09-09 12: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-09-09 12:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:13:45] 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-09-09 12:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967650816001,"66":14461,"101":206,"83":41984,"24":13,"16":18830128763109376,"45":1970043392589860864},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967650816001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:13:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18830128763109376,"km_value":18830128763109.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392589860864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967650816001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1970043392589860864}} 
[2026-09-09 12:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":178201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:13:45] local.INFO: GPS data processed {"connection_id":178201,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:13:45] local.INFO: Acknowledgment sent {"connection_id":178201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:13:45] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:13:45] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:13:45] local.INFO: Packet analysis {"connection_id":175616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:13:45] local.INFO: Extracted packet for processing {"connection_id":175616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:13:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":175616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:13:45] local.INFO: GPS data processed {"connection_id":175616,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:13:45] local.INFO: Acknowledgment sent {"connection_id":175616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:14:17] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:14:17] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:14:17] local.INFO: Packet analysis {"connection_id":175616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:14:17] local.INFO: Extracted packet for processing {"connection_id":175616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:14:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":175616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:14:17] local.INFO: GPS data processed {"connection_id":175616,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:14:17] local.INFO: Acknowledgment sent {"connection_id":175616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:14:30] local.INFO: TCP Data received {"connection_id":176759,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:14:30] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:14:30] local.INFO: IMEI packet received {"connection_id":176759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":176759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:14:35] local.INFO: TCP Data received {"connection_id":176759,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:14:35] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:14:35] local.INFO: IMEI packet received {"connection_id":176759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":176759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:14:36] local.INFO: TCP Data received {"connection_id":176759,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e75fd8012d1b67c0071f6ee0003e005d25..."} 
[2026-09-09 12:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e75fd8012d1b67c0071f6ee0003e005d25..."} 
[2026-09-09 12:14:36] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e75fd8012d1b67c0071f6ee0003e005d25..."} 
[2026-09-09 12:14:36] local.INFO: Packet analysis {"connection_id":176759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:14:36] local.INFO: Extracted packet for processing {"connection_id":176759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756770752,"raw_latitude":119500512,"longitude_deg":75.6770752,"latitude_deg":11.9500512,"altitude":62,"angle":93,"satellites":37,"speed":6,"hex_longitude":"2d1b67c0","hex_latitude":"071f6ee0","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967651072001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18830322036637696,"note":"Value kept but may cause issues"} 
[2026-09-09 12:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970395236310757376,"note":"Value kept but may cause issues"} 
[2026-09-09 12:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936151000,"timestamp_ms":1788936151000,"timestamp_seconds":1788936151,"priority":1,"record_length":96,"hex_timestamp":"000001a084e75fd8"} 
[2026-09-09 12:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:14: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-09-09 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 12:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:14:36] 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-09-09 12:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967651072001,"66":14515,"101":206,"83":41984,"24":6,"16":18830322036637696,"45":1970395236310757376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967651072001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:14:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18830322036637696,"km_value":18830322036637.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970395236310757376,"description":"Unknown IO ID 45"} 
[2026-09-09 12:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967651072001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1970395236310757376}} 
[2026-09-09 12:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":176759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:14:36] local.INFO: GPS data processed {"connection_id":176759,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:14:36] local.INFO: Acknowledgment sent {"connection_id":176759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:14:38] local.INFO: TCP Data received {"connection_id":178202,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:14:38] local.INFO: Processing buffer {"connection_id":178202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:14:38] local.INFO: IMEI packet received {"connection_id":178202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":178202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:14:44] local.INFO: TCP Data received {"connection_id":178202,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:14:44] local.INFO: Processing buffer {"connection_id":178202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:14:44] local.INFO: IMEI packet received {"connection_id":178202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":178202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:14:45] local.INFO: TCP Data received {"connection_id":178202,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:14:45] local.INFO: Processing buffer {"connection_id":178202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:14:45] local.INFO: Packet analysis {"connection_id":178202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:14:45] local.INFO: Extracted packet for processing {"connection_id":178202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:14:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":178202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:14:45] local.INFO: GPS data processed {"connection_id":178202,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:14:45] local.INFO: Acknowledgment sent {"connection_id":178202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:15:07] local.INFO: TCP Data received {"connection_id":176759,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77360012d1b6ac0071f6eb0003d004922..."} 
[2026-09-09 12:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77360012d1b6ac0071f6eb0003d004922..."} 
[2026-09-09 12:15:07] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77360012d1b6ac0071f6eb0003d004922..."} 
[2026-09-09 12:15:07] local.INFO: Packet analysis {"connection_id":176759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:15:07] local.INFO: Extracted packet for processing {"connection_id":176759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756771520,"raw_latitude":119500464,"longitude_deg":75.677152,"latitude_deg":11.9500464,"altitude":61,"angle":73,"satellites":34,"speed":6,"hex_longitude":"2d1b6ac0","hex_latitude":"071f6eb0","is_valid_coordinates":true} 
[2026-09-09 12:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967654656001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18830356396376064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974758098449915904,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936156000,"timestamp_ms":1788936156000,"timestamp_seconds":1788936156,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77360"} 
[2026-09-09 12:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:15: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-09-09 12: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 12:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:15:07] 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-09-09 12:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967654656001,"66":14428,"101":206,"83":41984,"24":6,"16":18830356396376064,"45":1974758098449915904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967654656001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:15:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18830356396376064,"km_value":18830356396376.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974758098449915904,"description":"Unknown IO ID 45"} 
[2026-09-09 12:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967654656001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1974758098449915904}} 
[2026-09-09 12:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":176759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:15:08] local.INFO: GPS data processed {"connection_id":176759,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:15:08] local.INFO: Acknowledgment sent {"connection_id":176759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:15:17] local.INFO: TCP Data received {"connection_id":178202,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:15:17] local.INFO: Processing buffer {"connection_id":178202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:15:17] local.INFO: Packet analysis {"connection_id":178202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:15:17] local.INFO: Extracted packet for processing {"connection_id":178202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:15:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":178202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:15:17] local.INFO: GPS data processed {"connection_id":178202,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:15:17] local.INFO: Acknowledgment sent {"connection_id":178202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:15:30] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:30] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:30] local.INFO: IMEI packet received {"connection_id":175618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":175618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:15:31] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:31] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:31] local.INFO: IMEI packet received {"connection_id":175618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":175618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:15:31] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:31] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:31] local.INFO: IMEI packet received {"connection_id":175618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":175618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:15:36] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:36] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:15:36] local.INFO: IMEI packet received {"connection_id":175618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":175618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:15:37] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e986a0012d1b8d80071f77e80046010825..."} 
[2026-09-09 12:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e986a0012d1b8d80071f77e80046010825..."} 
[2026-09-09 12:15:37] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e986a0012d1b8d80071f77e80046010825..."} 
[2026-09-09 12:15:37] local.INFO: Packet analysis {"connection_id":175618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e9"} 
[2026-09-09 12:15:37] local.INFO: Extracted packet for processing {"connection_id":175618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e9"} 
[2026-09-09 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756780416,"raw_latitude":119502824,"longitude_deg":75.6780416,"latitude_deg":11.9502824,"altitude":70,"angle":264,"satellites":37,"speed":3,"hex_longitude":"2d1b8d80","hex_latitude":"071f77e8","is_valid_coordinates":true} 
[2026-09-09 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967689472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18830824547811328,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985102303844528128,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15: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-09-09 12:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788936292000,"timestamp_ms":1788936292000,"timestamp_seconds":1788936292,"priority":1,"record_length":96,"hex_timestamp":"000001a084e986a0"} 
[2026-09-09 12:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 12:15: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-09-09 12:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:15: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-09-09 12:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967689472001,"66":13961,"101":206,"83":41984,"24":3,"16":18830824547811328,"45":1985102303844528128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967689472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:15:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18830824547811328,"km_value":18830824547811.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985102303844528128,"description":"Unknown IO ID 45"} 
[2026-09-09 12:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967689472001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1985102303844528128}} 
[2026-09-09 12:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":175618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:15:37] local.INFO: GPS data processed {"connection_id":175618,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:15:37] local.INFO: Acknowledgment sent {"connection_id":175618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:15:39] local.INFO: TCP Data received {"connection_id":175404,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:15:39] local.INFO: Processing buffer {"connection_id":175404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:15:39] local.INFO: IMEI packet received {"connection_id":175404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":175404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:15:44] local.INFO: TCP Data received {"connection_id":175404,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:15:44] local.INFO: Processing buffer {"connection_id":175404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:15:44] local.INFO: IMEI packet received {"connection_id":175404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":175404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:15:46] local.INFO: TCP Data received {"connection_id":175404,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:15:46] local.INFO: Processing buffer {"connection_id":175404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:15:46] local.INFO: Packet analysis {"connection_id":175404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:15:46] local.INFO: Extracted packet for processing {"connection_id":175404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":175404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:15:46] local.INFO: GPS data processed {"connection_id":175404,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:15:46] local.INFO: Acknowledgment sent {"connection_id":175404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:16:07] local.INFO: TCP Data received {"connection_id":175403,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:16:07] local.INFO: Processing buffer {"connection_id":175403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:16:07] local.INFO: IMEI packet received {"connection_id":175403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":175403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:16:08] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e98a88012d1b8d00071f77f80045011c23..."} 
[2026-09-09 12:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e98a88012d1b8d00071f77f80045011c23..."} 
[2026-09-09 12:16:08] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e98a88012d1b8d00071f77f80045011c23..."} 
[2026-09-09 12:16:08] local.INFO: Packet analysis {"connection_id":175618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e9"} 
[2026-09-09 12:16:08] local.INFO: Extracted packet for processing {"connection_id":175618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e9"} 
[2026-09-09 12:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756780288,"raw_latitude":119502840,"longitude_deg":75.6780288,"latitude_deg":11.950284,"altitude":69,"angle":284,"satellites":35,"speed":2,"hex_longitude":"2d1b8d00","hex_latitude":"071f77f8","is_valid_coordinates":true} 
[2026-09-09 12:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967690752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18830824547811328,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985383778821335040,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16: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-09-09 12:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788936293000,"timestamp_ms":1788936293000,"timestamp_seconds":1788936293,"priority":1,"record_length":96,"hex_timestamp":"000001a084e98a88"} 
[2026-09-09 12:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:16: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-09-09 12:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 12:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:16:08] 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-09-09 12:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967690752001,"66":13928,"101":206,"83":41984,"24":2,"16":18830824547811328,"45":1985383778821335040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967690752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:16:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18830824547811328,"km_value":18830824547811.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985383778821335040,"description":"Unknown IO ID 45"} 
[2026-09-09 12:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967690752001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1985383778821335040}} 
[2026-09-09 12:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":175618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:16:08] local.INFO: GPS data processed {"connection_id":175618,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:16:08] local.INFO: Acknowledgment sent {"connection_id":175618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:16:19] local.INFO: TCP Data received {"connection_id":175404,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:16:19] local.INFO: Processing buffer {"connection_id":175404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:16:19] local.INFO: Packet analysis {"connection_id":175404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:16:19] local.INFO: Extracted packet for processing {"connection_id":175404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":175404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:16:19] local.INFO: GPS data processed {"connection_id":175404,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:16:19] local.INFO: Acknowledgment sent {"connection_id":175404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:16:30] local.INFO: TCP Data received {"connection_id":178204,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:16:30] local.INFO: Processing buffer {"connection_id":178204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:16:30] local.INFO: IMEI packet received {"connection_id":178204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":178204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:16:35] local.INFO: TCP Data received {"connection_id":178204,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:16:35] local.INFO: Processing buffer {"connection_id":178204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:16:35] local.INFO: IMEI packet received {"connection_id":178204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":178204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:16:36] local.INFO: TCP Data received {"connection_id":178204,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e99a28012d1b8b40071f78380044010e25..."} 
[2026-09-09 12:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e99a28012d1b8b40071f78380044010e25..."} 
[2026-09-09 12:16:36] local.INFO: Processing buffer {"connection_id":178204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e99a28012d1b8b40071f78380044010e25..."} 
[2026-09-09 12:16:36] local.INFO: Packet analysis {"connection_id":178204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e9"} 
[2026-09-09 12:16:36] local.INFO: Extracted packet for processing {"connection_id":178204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e9"} 
[2026-09-09 12:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756779840,"raw_latitude":119502904,"longitude_deg":75.677984,"latitude_deg":11.9502904,"altitude":68,"angle":270,"satellites":37,"speed":5,"hex_longitude":"2d1b8b40","hex_latitude":"071f7838","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967691008001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18830850317615104,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985243041332983808,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936297000,"timestamp_ms":1788936297000,"timestamp_seconds":1788936297,"priority":1,"record_length":96,"hex_timestamp":"000001a084e99a28"} 
[2026-09-09 12:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 12:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:16:36] 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-09-09 12:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967691008001,"66":14048,"101":206,"83":41984,"24":5,"16":18830850317615104,"45":1985243041332983808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967691008001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:16:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18830850317615104,"km_value":18830850317615.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985243041332983808,"description":"Unknown IO ID 45"} 
[2026-09-09 12:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967691008001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1985243041332983808}} 
[2026-09-09 12:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":178204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:16:36] local.INFO: GPS data processed {"connection_id":178204,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:16:36] local.INFO: Acknowledgment sent {"connection_id":178204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:16:42] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:16:42] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:16:42] local.INFO: IMEI packet received {"connection_id":176760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":176760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:16:44] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:16:44] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:16:44] local.INFO: IMEI packet received {"connection_id":175619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":175619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:16:49] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:16:49] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:16:49] local.INFO: IMEI packet received {"connection_id":175619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":175619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:16:50] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:16:50] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:16:50] local.INFO: Packet analysis {"connection_id":175619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:16:50] local.INFO: Extracted packet for processing {"connection_id":175619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:16:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":175619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:16:50] local.INFO: GPS data processed {"connection_id":175619,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:16:50] local.INFO: Acknowledgment sent {"connection_id":175619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:16:55] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:16:55] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:16:55] local.INFO: Packet analysis {"connection_id":175619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:16:55] local.INFO: Extracted packet for processing {"connection_id":175619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:16:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:16:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":175619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:16:55] local.INFO: GPS data processed {"connection_id":175619,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:16:55] local.INFO: Acknowledgment sent {"connection_id":175619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:17:08] local.INFO: TCP Data received {"connection_id":178204,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084e9a9c8012d1b8940071f78500044011e26..."} 
[2026-09-09 12:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e9a9c8012d1b8940071f78500044011e26..."} 
[2026-09-09 12:17:08] local.INFO: Processing buffer {"connection_id":178204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e9a9c8012d1b8940071f78500044011e26..."} 
[2026-09-09 12:17:08] local.INFO: Packet analysis {"connection_id":178204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e9"} 
[2026-09-09 12:17:08] local.INFO: Extracted packet for processing {"connection_id":178204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e9"} 
[2026-09-09 12:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756779328,"raw_latitude":119502928,"longitude_deg":75.6779328,"latitude_deg":11.9502928,"altitude":68,"angle":286,"satellites":38,"speed":6,"hex_longitude":"2d1b8940","hex_latitude":"071f7850","is_valid_coordinates":true} 
[2026-09-09 12:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967692032001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18830876087418880,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984750460123756544,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17: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-09-09 12:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788936301000,"timestamp_ms":1788936301000,"timestamp_seconds":1788936301,"priority":1,"record_length":96,"hex_timestamp":"000001a084e9a9c8"} 
[2026-09-09 12:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 12:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:17:08] 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-09-09 12:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967692032001,"66":13972,"101":206,"83":41984,"24":6,"16":18830876087418880,"45":1984750460123756544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967692032001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:17:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18830876087418880,"km_value":18830876087418.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984750460123756544,"description":"Unknown IO ID 45"} 
[2026-09-09 12:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967692032001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1984750460123756544}} 
[2026-09-09 12:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":178204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:17:08] local.INFO: GPS data processed {"connection_id":178204,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:17:08] local.INFO: Acknowledgment sent {"connection_id":178204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:17:34] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:17:34] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:17:34] local.INFO: IMEI packet received {"connection_id":175406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":175406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:17:35] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:17:35] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:17:35] local.INFO: IMEI packet received {"connection_id":175406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":175406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:17:39] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:17:39] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:17:39] local.INFO: IMEI packet received {"connection_id":175407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":175407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:17:39] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:17:39] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:17:39] local.INFO: IMEI packet received {"connection_id":175406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":175406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:17:40] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084eb0188012d1b7880071f70e80047010d21..."} 
[2026-09-09 12:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eb0188012d1b7880071f70e80047010d21..."} 
[2026-09-09 12:17:40] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eb0188012d1b7880071f70e80047010d21..."} 
[2026-09-09 12:17:40] local.INFO: Packet analysis {"connection_id":175406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084eb"} 
[2026-09-09 12:17:40] local.INFO: Extracted packet for processing {"connection_id":175406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084eb"} 
[2026-09-09 12:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756775040,"raw_latitude":119501032,"longitude_deg":75.677504,"latitude_deg":11.9501032,"altitude":71,"angle":269,"satellites":33,"speed":0,"hex_longitude":"2d1b7880","hex_latitude":"071f70e8","is_valid_coordinates":true} 
[2026-09-09 12:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967710208001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831103720685568,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804309952512,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788936389000,"timestamp_ms":1788936389000,"timestamp_seconds":1788936389,"priority":1,"record_length":96,"hex_timestamp":"000001a084eb0188"} 
[2026-09-09 12:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733137920,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2229916864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3870031872,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13465701,"corrected_to":0} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503886964916224,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3925082113,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638521695565925,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4179604341289976064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2415996187,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2147950453,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84754224961232759,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":104,"raw_value":19141402860455168,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-8845061836424347581,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,101,83,24,241,157,16,230,160,93,45,128,112,71,36,10,66,11,192,72,37,3,1,240,246,227,132,31,4,113,205,7,220,129,232,39,239,49,2,69,6,206,8,104,27],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":246,"original":13465701,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-09 12:17:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116385091349643264,"timestamp_seconds":5116385091349643.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 12:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:17:40] 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-09-09 12:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967710208001,"66":13993,"101":206,"83":41984,"24":0,"16":18831103720685568,"45":1979472804309952512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967710208001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:17:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:17:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831103720685568,"km_value":18831103720685.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804309952512,"description":"Unknown IO ID 45"} 
[2026-09-09 12:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967710208001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1979472804309952512}} 
[2026-09-09 12:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":175406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:17:40] local.INFO: GPS data processed {"connection_id":175406,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:17:40] local.INFO: Acknowledgment sent {"connection_id":175406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:17:40] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084eb5390012d1b7880071f70e80047010d21..."} 
[2026-09-09 12:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eb5390012d1b7880071f70e80047010d21..."} 
[2026-09-09 12:17:40] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eb5390012d1b7880071f70e80047010d21..."} 
[2026-09-09 12:17:40] local.INFO: Packet analysis {"connection_id":175406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084eb"} 
[2026-09-09 12:17:40] local.INFO: Extracted packet for processing {"connection_id":175406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084eb"} 
[2026-09-09 12:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756775040,"raw_latitude":119501032,"longitude_deg":75.677504,"latitude_deg":11.9501032,"altitude":71,"angle":269,"satellites":33,"speed":0,"hex_longitude":"2d1b7880","hex_latitude":"071f70e8","is_valid_coordinates":true} 
[2026-09-09 12:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967715584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831103720685568,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804309952512,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788936410000,"timestamp_ms":1788936410000,"timestamp_seconds":1788936410,"priority":1,"record_length":96,"hex_timestamp":"000001a084eb5390"} 
[2026-09-09 12:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 12:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:17:40] 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-09-09 12:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967715584001,"66":14461,"101":206,"83":41984,"24":0,"16":18831103720685568,"45":1979472804309952512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967715584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:17:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:17:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831103720685568,"km_value":18831103720685.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804309952512,"description":"Unknown IO ID 45"} 
[2026-09-09 12:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967715584001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1979472804309952512}} 
[2026-09-09 12:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":175406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:17:40] local.INFO: GPS data processed {"connection_id":175406,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:17:40] local.INFO: Acknowledgment sent {"connection_id":175406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:17:44] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:17:44] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:17:44] local.INFO: IMEI packet received {"connection_id":175407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":175407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:17:45] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:17:45] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:17:45] local.INFO: Packet analysis {"connection_id":175407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:17:45] local.INFO: Extracted packet for processing {"connection_id":175407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:17:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":175407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:17:45] local.INFO: GPS data processed {"connection_id":175407,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:17:45] local.INFO: Acknowledgment sent {"connection_id":175407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:18:11] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084eb6b00012d1b70c0071f6fa80046010023..."} 
[2026-09-09 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eb6b00012d1b70c0071f6fa80046010023..."} 
[2026-09-09 12:18:11] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eb6b00012d1b70c0071f6fa80046010023..."} 
[2026-09-09 12:18:11] local.INFO: Packet analysis {"connection_id":175406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084eb"} 
[2026-09-09 12:18:11] local.INFO: Extracted packet for processing {"connection_id":175406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084eb"} 
[2026-09-09 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756773056,"raw_latitude":119500712,"longitude_deg":75.6773056,"latitude_deg":11.9500712,"altitude":70,"angle":256,"satellites":35,"speed":7,"hex_longitude":"2d1b70c0","hex_latitude":"071f6fa8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967720960001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831198209966080,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804309952512,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18: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-09-09 12:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788936416000,"timestamp_ms":1788936416000,"timestamp_seconds":1788936416,"priority":1,"record_length":96,"hex_timestamp":"000001a084eb6b00"} 
[2026-09-09 12:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:18: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-09-09 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 12:18: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-09-09 12: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-09-09 12:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:18:11] 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-09-09 12:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967720960001,"66":14559,"101":206,"83":41984,"24":7,"16":18831198209966080,"45":1979472804309952512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967720960001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:18:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831198209966080,"km_value":18831198209966.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804309952512,"description":"Unknown IO ID 45"} 
[2026-09-09 12:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967720960001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1979472804309952512}} 
[2026-09-09 12:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":175406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:18:11] local.INFO: GPS data processed {"connection_id":175406,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:18:11] local.INFO: Acknowledgment sent {"connection_id":175406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:18:17] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:18:17] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084e77b30012d34c14006aa42c8000700022b..."} 
[2026-09-09 12:18:17] local.INFO: Packet analysis {"connection_id":175407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:18:17] local.INFO: Extracted packet for processing {"connection_id":175407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084e7"} 
[2026-09-09 12:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967579392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788936158000,"timestamp_ms":1788936158000,"timestamp_seconds":1788936158,"priority":1,"record_length":96,"hex_timestamp":"000001a084e77b30"} 
[2026-09-09 12:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967579392001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967579392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967579392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":175407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:18:17] local.INFO: GPS data processed {"connection_id":175407,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:18:17] local.INFO: Acknowledgment sent {"connection_id":175407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:18:28] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:28] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:28] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:18:31] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:31] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:31] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:18:31] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:31] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:31] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:18:34] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:34] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:18:34] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:18:35] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ec1eb0012d1b4a40071f7d300045012023..."} 
[2026-09-09 12:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ec1eb0012d1b4a40071f7d300045012023..."} 
[2026-09-09 12:18:35] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ec1eb0012d1b4a40071f7d300045012023..."} 
[2026-09-09 12:18:35] local.INFO: Packet analysis {"connection_id":175409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:18:35] local.INFO: Extracted packet for processing {"connection_id":175409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756763200,"raw_latitude":119504176,"longitude_deg":75.67632,"latitude_deg":11.9504176,"altitude":69,"angle":288,"satellites":35,"speed":18,"hex_longitude":"2d1b4a40","hex_latitude":"071f7d30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967734016001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831765145649152,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966876799102902272,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788936462000,"timestamp_ms":1788936462000,"timestamp_seconds":1788936462,"priority":1,"record_length":96,"hex_timestamp":"000001a084ec1eb0"} 
[2026-09-09 12:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 12:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:18:35] 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-09-09 12:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967734016001,"66":14396,"101":206,"83":41984,"24":18,"16":18831765145649152,"45":1966876799102902272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967734016001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:18:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831765145649152,"km_value":18831765145649.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966876799102902272,"description":"Unknown IO ID 45"} 
[2026-09-09 12:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967734016001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1966876799102902272}} 
[2026-09-09 12:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":175409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:18:35] local.INFO: GPS data processed {"connection_id":175409,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:18:35] local.INFO: Acknowledgment sent {"connection_id":175409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:18:36] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ec2298012d1b4880071f7d580045010a23..."} 
[2026-09-09 12:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ec2298012d1b4880071f7d580045010a23..."} 
[2026-09-09 12:18:36] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ec2298012d1b4880071f7d580045010a23..."} 
[2026-09-09 12:18:36] local.INFO: Packet analysis {"connection_id":175409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:18:36] local.INFO: Extracted packet for processing {"connection_id":175409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756762752,"raw_latitude":119504216,"longitude_deg":75.6762752,"latitude_deg":11.9504216,"altitude":69,"angle":266,"satellites":35,"speed":16,"hex_longitude":"2d1b4880","hex_latitude":"071f7d58","is_valid_coordinates":true} 
[2026-09-09 12:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967734272001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831786620485632,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966454586637889536,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18: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-09-09 12:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936463000,"timestamp_ms":1788936463000,"timestamp_seconds":1788936463,"priority":1,"record_length":96,"hex_timestamp":"000001a084ec2298"} 
[2026-09-09 12:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 12:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:18:36] 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-09-09 12:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967734272001,"66":13439,"101":206,"83":41984,"24":16,"16":18831786620485632,"45":1966454586637889536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967734272001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:18:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831786620485632,"km_value":18831786620485.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966454586637889536,"description":"Unknown IO ID 45"} 
[2026-09-09 12:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967734272001,"power":13439,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1966454586637889536}} 
[2026-09-09 12:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":175409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:18:36] local.INFO: GPS data processed {"connection_id":175409,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:18:36] local.INFO: Acknowledgment sent {"connection_id":175409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:18:39] local.INFO: TCP Data received {"connection_id":176761,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:18:39] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:18:39] local.INFO: IMEI packet received {"connection_id":176761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":176761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:18:41] local.INFO: TCP Data received {"connection_id":176761,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:18:41] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:18:41] local.INFO: IMEI packet received {"connection_id":176761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":176761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:18:44] local.INFO: TCP Data received {"connection_id":176761,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:18:44] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:18:44] local.INFO: IMEI packet received {"connection_id":176761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":176761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:18:45] local.INFO: TCP Data received {"connection_id":176761,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084ec12f8012d34c14006aa42c8000c00022b..."} 
[2026-09-09 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ec12f8012d34c14006aa42c8000c00022b..."} 
[2026-09-09 12:18:45] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ec12f8012d34c14006aa42c8000c00022b..."} 
[2026-09-09 12:18:45] local.INFO: Packet analysis {"connection_id":176761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:18:45] local.INFO: Extracted packet for processing {"connection_id":176761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":12,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967656448001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936459000,"timestamp_ms":1788936459000,"timestamp_seconds":1788936459,"priority":1,"record_length":96,"hex_timestamp":"000001a084ec12f8"} 
[2026-09-09 12:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967656448001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967656448001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967656448001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":176761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:18:45] local.INFO: GPS data processed {"connection_id":176761,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:18:45] local.INFO: Acknowledgment sent {"connection_id":176761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:19:07] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ec2680012d1b4700071f7ca8004500ed24..."} 
[2026-09-09 12:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ec2680012d1b4700071f7ca8004500ed24..."} 
[2026-09-09 12:19:07] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ec2680012d1b4700071f7ca8004500ed24..."} 
[2026-09-09 12:19:07] local.INFO: Packet analysis {"connection_id":175409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:19:07] local.INFO: Extracted packet for processing {"connection_id":175409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756762368,"raw_latitude":119504040,"longitude_deg":75.6762368,"latitude_deg":11.950404,"altitude":69,"angle":237,"satellites":36,"speed":16,"hex_longitude":"2d1b4700","hex_latitude":"071f7ca8","is_valid_coordinates":true} 
[2026-09-09 12:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967734528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831808095322112,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005428656128,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19: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-09-09 12:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936464000,"timestamp_ms":1788936464000,"timestamp_seconds":1788936464,"priority":1,"record_length":96,"hex_timestamp":"000001a084ec2680"} 
[2026-09-09 12:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:19: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-09-09 12:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-09 12:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:19:07] 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-09-09 12:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967734528001,"66":13439,"101":206,"83":41984,"24":16,"16":18831808095322112,"45":1965962005428656128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967734528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:19:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831808095322112,"km_value":18831808095322.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005428656128,"description":"Unknown IO ID 45"} 
[2026-09-09 12:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967734528001,"power":13439,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1965962005428656128}} 
[2026-09-09 12:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":175409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:19:07] local.INFO: GPS data processed {"connection_id":175409,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:19:07] local.INFO: Acknowledgment sent {"connection_id":175409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:19:16] local.INFO: TCP Data received {"connection_id":176761,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084ec70b8012d34c14006aa42c8000b00022b..."} 
[2026-09-09 12:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ec70b8012d34c14006aa42c8000b00022b..."} 
[2026-09-09 12:19:16] local.INFO: Processing buffer {"connection_id":176761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ec70b8012d34c14006aa42c8000b00022b..."} 
[2026-09-09 12:19:16] local.INFO: Packet analysis {"connection_id":176761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:19:16] local.INFO: Extracted packet for processing {"connection_id":176761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821512,"longitude_deg":75.8432064,"latitude_deg":11.1821512,"altitude":11,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-09 12:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967733504001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788936483000,"timestamp_ms":1788936483000,"timestamp_seconds":1788936483,"priority":1,"record_length":96,"hex_timestamp":"000001a084ec70b8"} 
[2026-09-09 12:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967733504001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967733504001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967733504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":176761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:19:16] local.INFO: GPS data processed {"connection_id":176761,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:19:16] local.INFO: Acknowledgment sent {"connection_id":176761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:19:30] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:19:30] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:19:30] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:19:31] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:19:31] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:19:31] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:19:32] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:19:32] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:19:32] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:19:33] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ed0cf8012d1afa80071f8c68003800ff27..."} 
[2026-09-09 12:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ed0cf8012d1afa80071f8c68003800ff27..."} 
[2026-09-09 12:19:33] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ed0cf8012d1afa80071f8c68003800ff27..."} 
[2026-09-09 12:19:33] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:19:33] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756742784,"raw_latitude":119508072,"longitude_deg":75.6742784,"latitude_deg":11.9508072,"altitude":56,"angle":255,"satellites":39,"speed":17,"hex_longitude":"2d1afa80","hex_latitude":"071f8c68","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967749632001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18832838887473152,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944429169711290368,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788936523000,"timestamp_ms":1788936523000,"timestamp_seconds":1788936523,"priority":1,"record_length":96,"hex_timestamp":"000001a084ed0cf8"} 
[2026-09-09 12:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 12:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:19:33] 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-09-09 12:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967749632001,"66":13972,"101":206,"83":41984,"24":17,"16":18832838887473152,"45":1944429169711290368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967749632001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:19:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18832838887473152,"km_value":18832838887473.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944429169711290368,"description":"Unknown IO ID 45"} 
[2026-09-09 12:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967749632001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1944429169711290368}} 
[2026-09-09 12:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:19:33] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:19:33] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:19:38] local.INFO: TCP Data received {"connection_id":175410,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:19:38] local.INFO: Processing buffer {"connection_id":175410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:19:38] local.INFO: IMEI packet received {"connection_id":175410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":175410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:19:43] local.INFO: TCP Data received {"connection_id":175410,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:19:44] local.INFO: Processing buffer {"connection_id":175410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:19:44] local.INFO: IMEI packet received {"connection_id":175410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":175410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:19:45] local.INFO: TCP Data received {"connection_id":175410,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084ecce78012d34bf8006aa4308000900022a..."} 
[2026-09-09 12:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ecce78012d34bf8006aa4308000900022a..."} 
[2026-09-09 12:19:45] local.INFO: Processing buffer {"connection_id":175410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ecce78012d34bf8006aa4308000900022a..."} 
[2026-09-09 12:19:45] local.INFO: Packet analysis {"connection_id":175410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:19:45] local.INFO: Extracted packet for processing {"connection_id":175410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ec"} 
[2026-09-09 12:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821576,"longitude_deg":75.8431616,"latitude_deg":11.1821576,"altitude":9,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4308","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967739648001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110464873037824,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847894016,"note":"Value kept but may cause issues"} 
[2026-09-09 12:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936507000,"timestamp_ms":1788936507000,"timestamp_seconds":1788936507,"priority":1,"record_length":96,"hex_timestamp":"000001a084ecce78"} 
[2026-09-09 12:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:19: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-09-09 12:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 12:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967739648001,"66":27767,"97":206,"81":23296,"24":0,"16":403110464873037824,"45":3801389957847894016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967739648001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110464873037824,"km_value":403110464873037.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847894016,"description":"Unknown IO ID 45"} 
[2026-09-09 12:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967739648001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847894016}} 
[2026-09-09 12:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":175410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:19:45] local.INFO: GPS data processed {"connection_id":175410,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:19:45] local.INFO: Acknowledgment sent {"connection_id":175410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:20:04] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ed2080012d1af240071f88b0003500f328..."} 
[2026-09-09 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ed2080012d1af240071f88b0003500f328..."} 
[2026-09-09 12:20:04] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ed2080012d1af240071f88b0003500f328..."} 
[2026-09-09 12:20:04] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:04] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756740672,"raw_latitude":119507120,"longitude_deg":75.6740672,"latitude_deg":11.950712,"altitude":53,"angle":243,"satellites":40,"speed":18,"hex_longitude":"2d1af240","hex_latitude":"071f88b0","is_valid_coordinates":true} 
[2026-09-09 12:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967749888001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18832950556622848,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944006957246212096,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788936528000,"timestamp_ms":1788936528000,"timestamp_seconds":1788936528,"priority":1,"record_length":96,"hex_timestamp":"000001a084ed2080"} 
[2026-09-09 12:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 12:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:20:04] 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-09-09 12:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967749888001,"66":13972,"101":206,"83":41984,"24":18,"16":18832950556622848,"45":1944006957246212096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967749888001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:20:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18832950556622848,"km_value":18832950556622.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944006957246212096,"description":"Unknown IO ID 45"} 
[2026-09-09 12:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967749888001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1944006957246212096}} 
[2026-09-09 12:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:20:04] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:20:04] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:20:16] local.INFO: TCP Data received {"connection_id":175410,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084ed2080012d34bf4006aa4320000900022b..."} 
[2026-09-09 12:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ed2080012d34bf4006aa4320000900022b..."} 
[2026-09-09 12:20:16] local.INFO: Processing buffer {"connection_id":175410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ed2080012d34bf4006aa4320000900022b..."} 
[2026-09-09 12:20:16] local.INFO: Packet analysis {"connection_id":175410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:16] local.INFO: Extracted packet for processing {"connection_id":175410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821600,"longitude_deg":75.8431552,"latitude_deg":11.18216,"altitude":9,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-09 12:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967745792001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110473462972416,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638666752,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788936528000,"timestamp_ms":1788936528000,"timestamp_seconds":1788936528,"priority":1,"record_length":96,"hex_timestamp":"000001a084ed2080"} 
[2026-09-09 12:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:20: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-09-09 12:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 12:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967745792001,"66":27691,"97":206,"81":23296,"24":0,"16":403110473462972416,"45":3800897376638666752},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967745792001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110473462972416,"km_value":403110473462972.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638666752,"description":"Unknown IO ID 45"} 
[2026-09-09 12:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967745792001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638666752}} 
[2026-09-09 12:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":175410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:20:16] local.INFO: GPS data processed {"connection_id":175410,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:20:16] local.INFO: Acknowledgment sent {"connection_id":175410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:20:30] local.INFO: TCP Data received {"connection_id":176764,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:20:30] local.INFO: Processing buffer {"connection_id":176764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:20:30] local.INFO: IMEI packet received {"connection_id":176764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":176764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:20:36] local.INFO: TCP Data received {"connection_id":176764,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:20:36] local.INFO: Processing buffer {"connection_id":176764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:20:36] local.INFO: IMEI packet received {"connection_id":176764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":176764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:20:36] local.INFO: TCP Data received {"connection_id":176764,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ed3020012d1aeb80071f86000034010029..."} 
[2026-09-09 12:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ed3020012d1aeb80071f86000034010029..."} 
[2026-09-09 12:20:36] local.INFO: Processing buffer {"connection_id":176764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ed3020012d1aeb80071f86000034010029..."} 
[2026-09-09 12:20:36] local.INFO: Packet analysis {"connection_id":176764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:36] local.INFO: Extracted packet for processing {"connection_id":176764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756738944,"raw_latitude":119506432,"longitude_deg":75.6738944,"latitude_deg":11.9506432,"altitude":52,"angle":256,"satellites":41,"speed":14,"hex_longitude":"2d1aeb80","hex_latitude":"071f8600","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967751168001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18833036455968768,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941684788688105472,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936532000,"timestamp_ms":1788936532000,"timestamp_seconds":1788936532,"priority":1,"record_length":96,"hex_timestamp":"000001a084ed3020"} 
[2026-09-09 12:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 12:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:20:36] 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-09-09 12:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967751168001,"66":13993,"101":206,"83":41984,"24":14,"16":18833036455968768,"45":1941684788688105472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967751168001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:20:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18833036455968768,"km_value":18833036455968.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941684788688105472,"description":"Unknown IO ID 45"} 
[2026-09-09 12:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967751168001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1941684788688105472}} 
[2026-09-09 12:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":176764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:20:36] local.INFO: GPS data processed {"connection_id":176764,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:20:36] local.INFO: Acknowledgment sent {"connection_id":176764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:20:44] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:20:44] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:20:44] local.INFO: IMEI packet received {"connection_id":175621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":175621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:20:48] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:20:48] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:20:48] local.INFO: IMEI packet received {"connection_id":175621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":175621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:20:49] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084ed7288012d34bf0006aa4318000700022b..."} 
[2026-09-09 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ed7288012d34bf0006aa4318000700022b..."} 
[2026-09-09 12:20:49] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ed7288012d34bf0006aa4318000700022b..."} 
[2026-09-09 12:20:49] local.INFO: Packet analysis {"connection_id":175621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:49] local.INFO: Extracted packet for processing {"connection_id":175621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821592,"longitude_deg":75.8431488,"latitude_deg":11.1821592,"altitude":7,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4318","is_valid_coordinates":true} 
[2026-09-09 12:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967751168001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110482052907008,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894495232,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788936549000,"timestamp_ms":1788936549000,"timestamp_seconds":1788936549,"priority":1,"record_length":96,"hex_timestamp":"000001a084ed7288"} 
[2026-09-09 12:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-09 12:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967751168001,"66":27658,"97":206,"81":23296,"24":0,"16":403110482052907008,"45":3800827007894495232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967751168001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110482052907008,"km_value":403110482052907.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894495232,"description":"Unknown IO ID 45"} 
[2026-09-09 12:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967751168001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894495232}} 
[2026-09-09 12:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":175621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:20:49] local.INFO: GPS data processed {"connection_id":175621,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:20:49] local.INFO: Acknowledgment sent {"connection_id":175621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:20:50] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084edc490012d34bec006aa4320000400022b..."} 
[2026-09-09 12:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084edc490012d34bec006aa4320000400022b..."} 
[2026-09-09 12:20:50] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084edc490012d34bec006aa4320000400022b..."} 
[2026-09-09 12:20:50] local.INFO: Packet analysis {"connection_id":175621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:50] local.INFO: Extracted packet for processing {"connection_id":175621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:20:50] local.INFO: GPS Element Parsed {"raw_longitude":758431424,"raw_latitude":111821600,"longitude_deg":75.8431424,"latitude_deg":11.18216,"altitude":4,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2d34bec0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-09 12:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967756544001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110486347874304,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150315520,"note":"Value kept but may cause issues"} 
[2026-09-09 12:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788936570000,"timestamp_ms":1788936570000,"timestamp_seconds":1788936570,"priority":1,"record_length":96,"hex_timestamp":"000001a084edc490"} 
[2026-09-09 12:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:20: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-09-09 12:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 12:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967756544001,"66":27767,"97":206,"81":23296,"24":0,"16":403110486347874304,"45":3800756639150315520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967756544001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:20:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110486347874304,"km_value":403110486347874.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150315520,"description":"Unknown IO ID 45"} 
[2026-09-09 12:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967756544001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150315520}} 
[2026-09-09 12:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":175621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:20:50] local.INFO: GPS data processed {"connection_id":175621,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:20:50] local.INFO: Acknowledgment sent {"connection_id":175621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:21:07] local.INFO: TCP Data received {"connection_id":176764,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ed37f0012d1ae940071f85b80034010d29..."} 
[2026-09-09 12:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ed37f0012d1ae940071f85b80034010d29..."} 
[2026-09-09 12:21:07] local.INFO: Processing buffer {"connection_id":176764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ed37f0012d1ae940071f85b80034010d29..."} 
[2026-09-09 12:21:07] local.INFO: Packet analysis {"connection_id":176764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:21:07] local.INFO: Extracted packet for processing {"connection_id":176764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756738368,"raw_latitude":119506360,"longitude_deg":75.6738368,"latitude_deg":11.950636,"altitude":52,"angle":269,"satellites":41,"speed":11,"hex_longitude":"2d1ae940","hex_latitude":"071f85b8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967752192001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18833066520739840,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939784832595132416,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936534000,"timestamp_ms":1788936534000,"timestamp_seconds":1788936534,"priority":1,"record_length":96,"hex_timestamp":"000001a084ed37f0"} 
[2026-09-09 12:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:21: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-09-09 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 12:21: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-09-09 12: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-09-09 12:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:21:07] 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-09-09 12:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967752192001,"66":13961,"101":206,"83":41984,"24":11,"16":18833066520739840,"45":1939784832595132416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967752192001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:21:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18833066520739840,"km_value":18833066520739.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939784832595132416,"description":"Unknown IO ID 45"} 
[2026-09-09 12:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967752192001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1939784832595132416}} 
[2026-09-09 12:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":176764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:21:07] local.INFO: GPS data processed {"connection_id":176764,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:21:07] local.INFO: Acknowledgment sent {"connection_id":176764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:21:21] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084eeb2d8012d34c5c006aa41e00005001f2a..."} 
[2026-09-09 12:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eeb2d8012d34c5c006aa41e00005001f2a..."} 
[2026-09-09 12:21:21] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eeb2d8012d34c5c006aa41e00005001f2a..."} 
[2026-09-09 12:21:21] local.INFO: Packet analysis {"connection_id":175621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:21:21] local.INFO: Extracted packet for processing {"connection_id":175621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111821280,"longitude_deg":75.8433216,"latitude_deg":11.182128,"altitude":5,"angle":31,"satellites":42,"speed":2,"hex_longitude":"2d34c5c0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967775744001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110589427089408,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754681344,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788936631000,"timestamp_ms":1788936631000,"timestamp_seconds":1788936631,"priority":1,"record_length":96,"hex_timestamp":"000001a084eeb2d8"} 
[2026-09-09 12:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:21: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-09-09 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-09 12:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967775744001,"66":27952,"97":206,"81":23296,"24":2,"16":403110589427089408,"45":3802515857754681344},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967775744001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:21:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110589427089408,"km_value":403110589427089.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754681344,"description":"Unknown IO ID 45"} 
[2026-09-09 12:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967775744001,"power":27952,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802515857754681344}} 
[2026-09-09 12:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":175621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:21:21] local.INFO: GPS data processed {"connection_id":175621,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:21:21] local.INFO: Acknowledgment sent {"connection_id":175621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:21:30] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:30] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:30] local.INFO: IMEI packet received {"connection_id":176765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":176765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:21:33] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:33] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:33] local.INFO: IMEI packet received {"connection_id":176765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":176765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:21:33] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:33] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:33] local.INFO: IMEI packet received {"connection_id":176765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":176765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:21:34] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:34] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:21:34] local.INFO: IMEI packet received {"connection_id":176765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":176765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:21:35] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ed89f8012d1ac8c0071f85580037011229..."} 
[2026-09-09 12:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ed89f8012d1ac8c0071f85580037011229..."} 
[2026-09-09 12:21:35] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ed89f8012d1ac8c0071f85580037011229..."} 
[2026-09-09 12:21:35] local.INFO: Packet analysis {"connection_id":176765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:21:35] local.INFO: Extracted packet for processing {"connection_id":176765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756730048,"raw_latitude":119506264,"longitude_deg":75.6730048,"latitude_deg":11.9506264,"altitude":55,"angle":274,"satellites":41,"speed":13,"hex_longitude":"2d1ac8c0","hex_latitude":"071f8558","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967752704001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18833461657731072,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939151513897515008,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788936555000,"timestamp_ms":1788936555000,"timestamp_seconds":1788936555,"priority":1,"record_length":96,"hex_timestamp":"000001a084ed89f8"} 
[2026-09-09 12:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 12:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:21:35] 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-09-09 12:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967752704001,"66":14004,"101":206,"83":41984,"24":13,"16":18833461657731072,"45":1939151513897515008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967752704001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:21:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18833461657731072,"km_value":18833461657731.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939151513897515008,"description":"Unknown IO ID 45"} 
[2026-09-09 12:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967752704001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1939151513897515008}} 
[2026-09-09 12:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":176765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:21:35] local.INFO: GPS data processed {"connection_id":176765,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:21:35] local.INFO: Acknowledgment sent {"connection_id":176765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:21:35] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084eddc00012d1ac700071f85800037011b28..."} 
[2026-09-09 12:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eddc00012d1ac700071f85800037011b28..."} 
[2026-09-09 12:21:35] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eddc00012d1ac700071f85800037011b28..."} 
[2026-09-09 12:21:35] local.INFO: Packet analysis {"connection_id":176765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:21:35] local.INFO: Extracted packet for processing {"connection_id":176765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ed"} 
[2026-09-09 12:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756729600,"raw_latitude":119506304,"longitude_deg":75.67296,"latitude_deg":11.9506304,"altitude":55,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1ac700","hex_latitude":"071f8580","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967758080001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18833487427534848,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930003577154394112,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788936576000,"timestamp_ms":1788936576000,"timestamp_seconds":1788936576,"priority":1,"record_length":96,"hex_timestamp":"000001a084eddc00"} 
[2026-09-09 12:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 12:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:21:35] 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-09-09 12:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967758080001,"66":13939,"101":206,"83":41984,"24":0,"16":18833487427534848,"45":1930003577154394112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967758080001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:21:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18833487427534848,"km_value":18833487427534.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930003577154394112,"description":"Unknown IO ID 45"} 
[2026-09-09 12:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967758080001,"power":13939,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1930003577154394112}} 
[2026-09-09 12:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":176765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:21:35] local.INFO: GPS data processed {"connection_id":176765,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:21:35] local.INFO: Acknowledgment sent {"connection_id":176765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:21:39] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:21:39] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:21:39] local.INFO: IMEI packet received {"connection_id":176766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":176766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:21:40] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:21:40] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:21:40] local.INFO: IMEI packet received {"connection_id":176766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":176766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:21:44] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:21:44] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:21:44] local.INFO: IMEI packet received {"connection_id":176766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":176766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:21:45] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084eec278012d34c6c006aa4348000500102a..."} 
[2026-09-09 12:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eec278012d34c6c006aa4348000500102a..."} 
[2026-09-09 12:21:45] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eec278012d34c6c006aa4348000500102a..."} 
[2026-09-09 12:21:45] local.INFO: Packet analysis {"connection_id":176766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:21:45] local.INFO: Extracted packet for processing {"connection_id":176766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111821640,"longitude_deg":75.8433472,"latitude_deg":11.182164,"altitude":5,"angle":16,"satellites":42,"speed":5,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4348","is_valid_coordinates":true} 
[2026-09-09 12:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967777536001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110610901925888,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243032576,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936635000,"timestamp_ms":1788936635000,"timestamp_seconds":1788936635,"priority":1,"record_length":96,"hex_timestamp":"000001a084eec278"} 
[2026-09-09 12:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-09 12:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967777536001,"66":27843,"97":206,"81":23296,"24":5,"16":403110610901925888,"45":3802656595243032576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967777536001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:21:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110610901925888,"km_value":403110610901925.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243032576,"description":"Unknown IO ID 45"} 
[2026-09-09 12:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967777536001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802656595243032576}} 
[2026-09-09 12:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":176766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:21:45] local.INFO: GPS data processed {"connection_id":176766,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:21:45] local.INFO: Acknowledgment sent {"connection_id":176766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:21:49] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084eed9e8012d34c74006aa46800005000529..."} 
[2026-09-09 12:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eed9e8012d34c74006aa46800005000529..."} 
[2026-09-09 12:21:49] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eed9e8012d34c74006aa46800005000529..."} 
[2026-09-09 12:21:49] local.INFO: Packet analysis {"connection_id":176766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:21:49] local.INFO: Extracted packet for processing {"connection_id":176766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822464,"longitude_deg":75.84336,"latitude_deg":11.1822464,"altitude":5,"angle":5,"satellites":41,"speed":5,"hex_longitude":"2d34c740","hex_latitude":"06aa4680","is_valid_coordinates":true} 
[2026-09-09 12:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967778560001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110653851598848,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219835392,"note":"Value kept but may cause issues"} 
[2026-09-09 12:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788936641000,"timestamp_ms":1788936641000,"timestamp_seconds":1788936641,"priority":1,"record_length":96,"hex_timestamp":"000001a084eed9e8"} 
[2026-09-09 12:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:21: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-09-09 12:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-09 12:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967778560001,"66":27767,"97":206,"81":23296,"24":5,"16":403110653851598848,"45":3802938070219835392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967778560001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110653851598848,"km_value":403110653851598.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219835392,"description":"Unknown IO ID 45"} 
[2026-09-09 12:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967778560001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802938070219835392}} 
[2026-09-09 12:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":176766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:21:49] local.INFO: GPS data processed {"connection_id":176766,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:21:49] local.INFO: Acknowledgment sent {"connection_id":176766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:21:56] local.INFO: TCP Data received {"connection_id":175622,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:21:56] local.INFO: Processing buffer {"connection_id":175622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:21:56] local.INFO: IMEI packet received {"connection_id":175622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":175622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:22:06] local.INFO: TCP Data received {"connection_id":176765,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ef5300012d1ab680071f95f8003a011a29..."} 
[2026-09-09 12:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ef5300012d1ab680071f95f8003a011a29..."} 
[2026-09-09 12:22:07] local.INFO: Processing buffer {"connection_id":176765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ef5300012d1ab680071f95f8003a011a29..."} 
[2026-09-09 12:22:07] local.INFO: Packet analysis {"connection_id":176765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:22:07] local.INFO: Extracted packet for processing {"connection_id":176765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756725376,"raw_latitude":119510520,"longitude_deg":75.6725376,"latitude_deg":11.951052,"altitude":58,"angle":282,"satellites":41,"speed":24,"hex_longitude":"2d1ab680","hex_latitude":"071f95f8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967786752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18833818140016640,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927399933620701184,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936672000,"timestamp_ms":1788936672000,"timestamp_seconds":1788936672,"priority":1,"record_length":96,"hex_timestamp":"000001a084ef5300"} 
[2026-09-09 12:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:22: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-09-09 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 12:22: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-09-09 12: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-09-09 12:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:22:07] 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-09-09 12:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967786752001,"66":14396,"101":206,"83":41984,"24":24,"16":18833818140016640,"45":1927399933620701184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967786752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:22:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18833818140016640,"km_value":18833818140016.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927399933620701184,"description":"Unknown IO ID 45"} 
[2026-09-09 12:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967786752001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1927399933620701184}} 
[2026-09-09 12:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":176765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:22:07] local.INFO: GPS data processed {"connection_id":176765,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:22:07] local.INFO: Acknowledgment sent {"connection_id":176765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:22:21] local.INFO: TCP Data received {"connection_id":176766,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a084eee5a0012d34c74006aa48200005015a2a..."} 
[2026-09-09 12:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eee5a0012d34c74006aa48200005015a2a..."} 
[2026-09-09 12:22:21] local.INFO: Processing buffer {"connection_id":176766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eee5a0012d34c74006aa48200005015a2a..."} 
[2026-09-09 12:22:21] local.INFO: Packet analysis {"connection_id":176766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:22:21] local.INFO: Extracted packet for processing {"connection_id":176766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822880,"longitude_deg":75.84336,"latitude_deg":11.182288,"altitude":5,"angle":346,"satellites":42,"speed":5,"hex_longitude":"2d34c740","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-09-09 12:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967780096001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110675326435328,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708401664,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788936644000,"timestamp_ms":1788936644000,"timestamp_seconds":1788936644,"priority":1,"record_length":96,"hex_timestamp":"000001a084eee5a0"} 
[2026-09-09 12:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 12:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967780096001,"66":27876,"97":206,"81":23296,"24":5,"16":403110675326435328,"45":3803078807708401664},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967780096001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110675326435328,"km_value":403110675326435.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708401664,"description":"Unknown IO ID 45"} 
[2026-09-09 12:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967780096001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3803078807708401664}} 
[2026-09-09 12:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":176766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:22:21] local.INFO: GPS data processed {"connection_id":176766,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:22:21] local.INFO: Acknowledgment sent {"connection_id":176766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:22:29] local.INFO: TCP Data received {"connection_id":178205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:29] local.INFO: Processing buffer {"connection_id":178205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:29] local.INFO: IMEI packet received {"connection_id":178205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":178205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:22:30] local.INFO: TCP Data received {"connection_id":178205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:30] local.INFO: Processing buffer {"connection_id":178205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:30] local.INFO: IMEI packet received {"connection_id":178205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":178205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:22:32] local.INFO: TCP Data received {"connection_id":178205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:32] local.INFO: Processing buffer {"connection_id":178205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:32] local.INFO: IMEI packet received {"connection_id":178205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":178205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:22:35] local.INFO: TCP Data received {"connection_id":178205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:35] local.INFO: Processing buffer {"connection_id":178205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:22:35] local.INFO: IMEI packet received {"connection_id":178205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":178205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:22:36] local.INFO: TCP Data received {"connection_id":178205,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ef7240012d1aa1c0071f9a18003a012929..."} 
[2026-09-09 12:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ef7240012d1aa1c0071f9a18003a012929..."} 
[2026-09-09 12:22:36] local.INFO: Processing buffer {"connection_id":178205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ef7240012d1aa1c0071f9a18003a012929..."} 
[2026-09-09 12:22:36] local.INFO: Packet analysis {"connection_id":178205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:22:36] local.INFO: Extracted packet for processing {"connection_id":178205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756720064,"raw_latitude":119511576,"longitude_deg":75.6720064,"latitude_deg":11.9511576,"altitude":58,"angle":297,"satellites":41,"speed":27,"hex_longitude":"2d1aa1c0","hex_latitude":"071f9a18","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967788032001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18834080133021696,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658830514176,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22: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-09-09 12:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936680000,"timestamp_ms":1788936680000,"timestamp_seconds":1788936680,"priority":1,"record_length":96,"hex_timestamp":"000001a084ef7240"} 
[2026-09-09 12:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 12:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:22:36] 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-09-09 12:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967788032001,"66":14483,"101":206,"83":41984,"24":27,"16":18834080133021696,"45":1924866658830514176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967788032001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:22:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18834080133021696,"km_value":18834080133021.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658830514176,"description":"Unknown IO ID 45"} 
[2026-09-09 12:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967788032001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1924866658830514176}} 
[2026-09-09 12:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":178205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:22:36] local.INFO: GPS data processed {"connection_id":178205,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:22:36] local.INFO: Acknowledgment sent {"connection_id":178205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:22:39] local.INFO: TCP Data received {"connection_id":178206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:22:39] local.INFO: Processing buffer {"connection_id":178206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:22:39] local.INFO: IMEI packet received {"connection_id":178206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":178206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:22:41] local.INFO: TCP Data received {"connection_id":176767,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:22:41] local.INFO: Processing buffer {"connection_id":176767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:22:41] local.INFO: IMEI packet received {"connection_id":176767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":176767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:22:44] local.INFO: TCP Data received {"connection_id":178206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:22:44] local.INFO: Processing buffer {"connection_id":178206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:22:44] local.INFO: IMEI packet received {"connection_id":178206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":178206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:22:45] local.INFO: TCP Data received {"connection_id":178206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a084eee988012d34c74006aa48a80006014b2a..."} 
[2026-09-09 12:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eee988012d34c74006aa48a80006014b2a..."} 
[2026-09-09 12:22:45] local.INFO: Processing buffer {"connection_id":178206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eee988012d34c74006aa48a80006014b2a..."} 
[2026-09-09 12:22:45] local.INFO: Packet analysis {"connection_id":178206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:22:45] local.INFO: Extracted packet for processing {"connection_id":178206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111823016,"longitude_deg":75.84336,"latitude_deg":11.1823016,"altitude":6,"angle":331,"satellites":42,"speed":4,"hex_longitude":"2d34c740","hex_latitude":"06aa48a8","is_valid_coordinates":true} 
[2026-09-09 12:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967780864001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110683916369920,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708508160,"note":"Value kept but may cause issues"} 
[2026-09-09 12:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936645000,"timestamp_ms":1788936645000,"timestamp_seconds":1788936645,"priority":1,"record_length":96,"hex_timestamp":"000001a084eee988"} 
[2026-09-09 12:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-09 12:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967780864001,"66":27876,"97":206,"81":23296,"24":4,"16":403110683916369920,"45":3803078807708508160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967780864001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110683916369920,"km_value":403110683916369.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708508160,"description":"Unknown IO ID 45"} 
[2026-09-09 12:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967780864001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3803078807708508160}} 
[2026-09-09 12:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":178206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:22:45] local.INFO: GPS data processed {"connection_id":178206,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:22:45] local.INFO: Acknowledgment sent {"connection_id":178206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:23:07] local.INFO: TCP Data received {"connection_id":178205,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f06858012d19eb00071ffc90002f01222b..."} 
[2026-09-09 12:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f06858012d19eb00071ffc90002f01222b..."} 
[2026-09-09 12:23:07] local.INFO: Processing buffer {"connection_id":178205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f06858012d19eb00071ffc90002f01222b..."} 
[2026-09-09 12:23:07] local.INFO: Packet analysis {"connection_id":178205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f0"} 
[2026-09-09 12:23:07] local.INFO: Extracted packet for processing {"connection_id":178205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f0"} 
[2026-09-09 12:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756673280,"raw_latitude":119536784,"longitude_deg":75.667328,"latitude_deg":11.9536784,"altitude":47,"angle":290,"satellites":43,"speed":24,"hex_longitude":"2d19eb00","hex_latitude":"071ffc90","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967804928001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18836743012745216,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871386413262225408,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23: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-09-09 12:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936743000,"timestamp_ms":1788936743000,"timestamp_seconds":1788936743,"priority":1,"record_length":96,"hex_timestamp":"000001a084f06858"} 
[2026-09-09 12:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:23: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-09-09 12: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 12:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:23:07] 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-09-09 12:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967804928001,"66":14396,"101":206,"83":41984,"24":24,"16":18836743012745216,"45":1871386413262225408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967804928001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:23:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18836743012745216,"km_value":18836743012745.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871386413262225408,"description":"Unknown IO ID 45"} 
[2026-09-09 12:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967804928001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1871386413262225408}} 
[2026-09-09 12:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":178205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:23:07] local.INFO: GPS data processed {"connection_id":178205,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:23:07] local.INFO: Acknowledgment sent {"connection_id":178205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:23:17] local.INFO: TCP Data received {"connection_id":178206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a084eef158012d34c68006aa49b0000601332b..."} 
[2026-09-09 12:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eef158012d34c68006aa49b0000601332b..."} 
[2026-09-09 12:23:17] local.INFO: Processing buffer {"connection_id":178206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eef158012d34c68006aa49b0000601332b..."} 
[2026-09-09 12:23:17] local.INFO: Packet analysis {"connection_id":178206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:23:17] local.INFO: Extracted packet for processing {"connection_id":178206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111823280,"longitude_deg":75.8433408,"latitude_deg":11.182328,"altitude":6,"angle":307,"satellites":43,"speed":7,"hex_longitude":"2d34c680","hex_latitude":"06aa49b0","is_valid_coordinates":true} 
[2026-09-09 12:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967781120001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110701096239104,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708542976,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788936647000,"timestamp_ms":1788936647000,"timestamp_seconds":1788936647,"priority":1,"record_length":96,"hex_timestamp":"000001a084eef158"} 
[2026-09-09 12:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:23: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-09-09 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-09 12:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:23: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-09-09 12:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967781120001,"66":27919,"97":206,"81":23296,"24":7,"16":403110701096239104,"45":3803078807708542976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967781120001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110701096239104,"km_value":403110701096239.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708542976,"description":"Unknown IO ID 45"} 
[2026-09-09 12:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967781120001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3803078807708542976}} 
[2026-09-09 12:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":178206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:23:17] local.INFO: GPS data processed {"connection_id":178206,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:23:17] local.INFO: Acknowledgment sent {"connection_id":178206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:23:30] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:30] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:30] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:23:30] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:30] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:30] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:23:32] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:32] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:32] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:23:35] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:35] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:23:35] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:23:36] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f0d1d0012d19ca80071ff310002d00db2a..."} 
[2026-09-09 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f0d1d0012d19ca80071ff310002d00db2a..."} 
[2026-09-09 12:23:36] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f0d1d0012d19ca80071ff310002d00db2a..."} 
[2026-09-09 12:23:36] local.INFO: Packet analysis {"connection_id":175412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f0"} 
[2026-09-09 12:23:36] local.INFO: Extracted packet for processing {"connection_id":175412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f0"} 
[2026-09-09 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119534352,"longitude_deg":75.666496,"latitude_deg":11.9534352,"altitude":45,"angle":219,"satellites":42,"speed":15,"hex_longitude":"2d19ca80","hex_latitude":"071ff310","is_valid_coordinates":true} 
[2026-09-09 12:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967812608001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18837344308166656,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408053983232,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23: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-09-09 12:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936770000,"timestamp_ms":1788936770000,"timestamp_seconds":1788936770,"priority":1,"record_length":96,"hex_timestamp":"000001a084f0d1d0"} 
[2026-09-09 12:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 12:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:23:36] 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-09-09 12:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967812608001,"66":14102,"101":206,"83":41984,"24":15,"16":18837344308166656,"45":1858790408053983232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967812608001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:23:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18837344308166656,"km_value":18837344308166.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408053983232,"description":"Unknown IO ID 45"} 
[2026-09-09 12:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967812608001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858790408053983232}} 
[2026-09-09 12:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":175412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:23:36] local.INFO: GPS data processed {"connection_id":175412,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:23:36] local.INFO: Acknowledgment sent {"connection_id":175412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:23:39] local.INFO: TCP Data received {"connection_id":175623,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:23:39] local.INFO: Processing buffer {"connection_id":175623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:23:39] local.INFO: IMEI packet received {"connection_id":175623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":175623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:23:44] local.INFO: TCP Data received {"connection_id":175623,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:23:44] local.INFO: Processing buffer {"connection_id":175623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:23:44] local.INFO: IMEI packet received {"connection_id":175623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":175623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:23:45] local.INFO: TCP Data received {"connection_id":175623,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084eef928012d34c54006aa4a480006011a29..."} 
[2026-09-09 12:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084eef928012d34c54006aa4a480006011a29..."} 
[2026-09-09 12:23:45] local.INFO: Processing buffer {"connection_id":175623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084eef928012d34c54006aa4a480006011a29..."} 
[2026-09-09 12:23:45] local.INFO: Packet analysis {"connection_id":175623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:23:45] local.INFO: Extracted packet for processing {"connection_id":175623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ee"} 
[2026-09-09 12:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823432,"longitude_deg":75.8433088,"latitude_deg":11.1823432,"altitude":6,"angle":282,"satellites":41,"speed":6,"hex_longitude":"2d34c540","hex_latitude":"06aa4a48","is_valid_coordinates":true} 
[2026-09-09 12:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967781632001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110718276108288,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476077568,"note":"Value kept but may cause issues"} 
[2026-09-09 12:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936649000,"timestamp_ms":1788936649000,"timestamp_seconds":1788936649,"priority":1,"record_length":96,"hex_timestamp":"000001a084eef928"} 
[2026-09-09 12:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:23: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-09-09 12:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 12:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967781632001,"66":27821,"97":206,"81":23296,"24":6,"16":403110718276108288,"45":3802867701476077568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967781632001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110718276108288,"km_value":403110718276108.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476077568,"description":"Unknown IO ID 45"} 
[2026-09-09 12:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967781632001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802867701476077568}} 
[2026-09-09 12:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":175623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:23:45] local.INFO: GPS data processed {"connection_id":175623,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:23:45] local.INFO: Acknowledgment sent {"connection_id":175623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:24:07] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f0d5b8012d19c940071ff200002d00eb2a..."} 
[2026-09-09 12:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f0d5b8012d19c940071ff200002d00eb2a..."} 
[2026-09-09 12:24:07] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f0d5b8012d19c940071ff200002d00eb2a..."} 
[2026-09-09 12:24:07] local.INFO: Packet analysis {"connection_id":175412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f0"} 
[2026-09-09 12:24:07] local.INFO: Extracted packet for processing {"connection_id":175412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f0"} 
[2026-09-09 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119534080,"longitude_deg":75.666464,"latitude_deg":11.953408,"altitude":45,"angle":235,"satellites":42,"speed":16,"hex_longitude":"2d19c940","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967813120001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18837365783003136,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564332900352,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24: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-09-09 12:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936771000,"timestamp_ms":1788936771000,"timestamp_seconds":1788936771,"priority":1,"record_length":96,"hex_timestamp":"000001a084f0d5b8"} 
[2026-09-09 12:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:24: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-09-09 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 12:24: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-09-09 12: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-09-09 12:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:24:07] 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-09-09 12:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967813120001,"66":14298,"101":206,"83":41984,"24":16,"16":18837365783003136,"45":1858438564332900352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967813120001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:24:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18837365783003136,"km_value":18837365783003.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564332900352,"description":"Unknown IO ID 45"} 
[2026-09-09 12:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967813120001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858438564332900352}} 
[2026-09-09 12:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":175412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:24:08] local.INFO: GPS data processed {"connection_id":175412,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:24:08] local.INFO: Acknowledgment sent {"connection_id":175412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:24:17] local.INFO: TCP Data received {"connection_id":175623,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084ef04e0012d34c3c006aa4ac8000701272b..."} 
[2026-09-09 12:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ef04e0012d34c3c006aa4ac8000701272b..."} 
[2026-09-09 12:24:17] local.INFO: Processing buffer {"connection_id":175623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ef04e0012d34c3c006aa4ac8000701272b..."} 
[2026-09-09 12:24:17] local.INFO: Packet analysis {"connection_id":175623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:24:17] local.INFO: Extracted packet for processing {"connection_id":175623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823560,"longitude_deg":75.8432704,"latitude_deg":11.182356,"altitude":7,"angle":295,"satellites":43,"speed":3,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4ac8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967782144001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110735455977472,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755228160,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788936652000,"timestamp_ms":1788936652000,"timestamp_seconds":1788936652,"priority":1,"record_length":96,"hex_timestamp":"000001a084ef04e0"} 
[2026-09-09 12:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:24: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-09-09 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 12:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967782144001,"66":27984,"97":206,"81":23296,"24":3,"16":403110735455977472,"45":3802515857755228160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967782144001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110735455977472,"km_value":403110735455977.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755228160,"description":"Unknown IO ID 45"} 
[2026-09-09 12:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967782144001,"power":27984,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802515857755228160}} 
[2026-09-09 12:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":175623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:24:17] local.INFO: GPS data processed {"connection_id":175623,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:24:17] local.INFO: Acknowledgment sent {"connection_id":175623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:24:30] local.INFO: TCP Data received {"connection_id":178207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:24:30] local.INFO: Processing buffer {"connection_id":178207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:24:30] local.INFO: IMEI packet received {"connection_id":178207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":178207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:24:35] local.INFO: TCP Data received {"connection_id":178207,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:24:35] local.INFO: Processing buffer {"connection_id":178207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:24:35] local.INFO: IMEI packet received {"connection_id":178207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":178207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:24:36] local.INFO: TCP Data received {"connection_id":178207,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f19cf0012d198380071fefc8003800ec28..."} 
[2026-09-09 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f19cf0012d198380071fefc8003800ec28..."} 
[2026-09-09 12:24:36] local.INFO: Processing buffer {"connection_id":178207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f19cf0012d198380071fefc8003800ec28..."} 
[2026-09-09 12:24:36] local.INFO: Packet analysis {"connection_id":178207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f1"} 
[2026-09-09 12:24:36] local.INFO: Extracted packet for processing {"connection_id":178207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f1"} 
[2026-09-09 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119533512,"longitude_deg":75.6646784,"latitude_deg":11.9533512,"altitude":56,"angle":236,"satellites":40,"speed":15,"hex_longitude":"2d198380","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967826176001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838229071429632,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838805684707166208,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936822000,"timestamp_ms":1788936822000,"timestamp_seconds":1788936822,"priority":1,"record_length":96,"hex_timestamp":"000001a084f19cf0"} 
[2026-09-09 12:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":254,"data_length":795,"current_offset":136} 
[2026-09-09 12:24: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-09-09 12: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-09-09 12:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:24:36] 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-09-09 12:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967826176001,"66":12798,"102":206,"83":41984,"24":15,"16":18838229071429632,"45":1838805684707166208},"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-09-09 12:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967826176001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838229071429632,"km_value":18838229071429.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838805684707166208,"description":"Unknown IO ID 45"} 
[2026-09-09 12:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967826176001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1838805684707166208}} 
[2026-09-09 12:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":178207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:24:36] local.INFO: GPS data processed {"connection_id":178207,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:24:36] local.INFO: Acknowledgment sent {"connection_id":178207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:24:39] local.INFO: TCP Data received {"connection_id":178208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:24:39] local.INFO: Processing buffer {"connection_id":178208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:24:39] local.INFO: IMEI packet received {"connection_id":178208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":178208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:24:43] local.INFO: TCP Data received {"connection_id":178208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:24:44] local.INFO: Processing buffer {"connection_id":178208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:24:44] local.INFO: IMEI packet received {"connection_id":178208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":178208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:24:45] local.INFO: TCP Data received {"connection_id":178208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084ef1480012d34c30006aa4b400007011f2b..."} 
[2026-09-09 12:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ef1480012d34c30006aa4b400007011f2b..."} 
[2026-09-09 12:24:45] local.INFO: Processing buffer {"connection_id":178208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ef1480012d34c30006aa4b400007011f2b..."} 
[2026-09-09 12:24:45] local.INFO: Packet analysis {"connection_id":178208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:24:45] local.INFO: Extracted packet for processing {"connection_id":178208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111823680,"longitude_deg":75.8432512,"latitude_deg":11.182368,"altitude":7,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4b40","is_valid_coordinates":true} 
[2026-09-09 12:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967782912001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290194944,"note":"Value kept but may cause issues"} 
[2026-09-09 12:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936656000,"timestamp_ms":1788936656000,"timestamp_seconds":1788936656,"priority":1,"record_length":96,"hex_timestamp":"000001a084ef1480"} 
[2026-09-09 12:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 12:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967782912001,"66":27974,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290194944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967782912001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290194944,"description":"Unknown IO ID 45"} 
[2026-09-09 12:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967782912001,"power":27974,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290194944}} 
[2026-09-09 12:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":178208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:24:45] local.INFO: GPS data processed {"connection_id":178208,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:24:45] local.INFO: Acknowledgment sent {"connection_id":178208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:25:07] local.INFO: TCP Data received {"connection_id":178207,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f1ac90012d197e00071fec00003700fa28..."} 
[2026-09-09 12:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f1ac90012d197e00071fec00003700fa28..."} 
[2026-09-09 12:25:07] local.INFO: Processing buffer {"connection_id":178207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f1ac90012d197e00071fec00003700fa28..."} 
[2026-09-09 12:25:07] local.INFO: Packet analysis {"connection_id":178207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f1"} 
[2026-09-09 12:25:07] local.INFO: Extracted packet for processing {"connection_id":178207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f1"} 
[2026-09-09 12:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119532544,"longitude_deg":75.6645376,"latitude_deg":11.9532544,"altitude":55,"angle":250,"satellites":40,"speed":17,"hex_longitude":"2d197e00","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967826432001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838314970775552,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840986228736,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936826000,"timestamp_ms":1788936826000,"timestamp_seconds":1788936826,"priority":1,"record_length":96,"hex_timestamp":"000001a084f1ac90"} 
[2026-09-09 12:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:25: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-09-09 12: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":254,"data_length":795,"current_offset":136} 
[2026-09-09 12:25: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-09-09 12: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-09-09 12:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:25:07] 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-09-09 12:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967826432001,"66":12885,"102":206,"83":41984,"24":17,"16":18838314970775552,"45":1838453840986228736},"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-09-09 12:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967826432001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838314970775552,"km_value":18838314970775.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840986228736,"description":"Unknown IO ID 45"} 
[2026-09-09 12:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967826432001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1838453840986228736}} 
[2026-09-09 12:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":178207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:25:07] local.INFO: GPS data processed {"connection_id":178207,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:25:07] local.INFO: Acknowledgment sent {"connection_id":178207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:25:16] local.INFO: TCP Data received {"connection_id":178208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084ef2bf0012d34c30006aa4b600008008d2a..."} 
[2026-09-09 12:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ef2bf0012d34c30006aa4b600008008d2a..."} 
[2026-09-09 12:25:16] local.INFO: Processing buffer {"connection_id":178208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ef2bf0012d34c30006aa4b600008008d2a..."} 
[2026-09-09 12:25:16] local.INFO: Packet analysis {"connection_id":178208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:25:16] local.INFO: Extracted packet for processing {"connection_id":178208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111823712,"longitude_deg":75.8432512,"latitude_deg":11.1823712,"altitude":8,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967783936001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057692672,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788936662000,"timestamp_ms":1788936662000,"timestamp_seconds":1788936662,"priority":1,"record_length":96,"hex_timestamp":"000001a084ef2bf0"} 
[2026-09-09 12:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-09 12:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967783936001,"66":27343,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057692672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967783936001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057692672,"description":"Unknown IO ID 45"} 
[2026-09-09 12:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967783936001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057692672}} 
[2026-09-09 12:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":178208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:25:16] local.INFO: GPS data processed {"connection_id":178208,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:25:16] local.INFO: Acknowledgment sent {"connection_id":178208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:25:31] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:25:31] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:25:31] local.INFO: IMEI packet received {"connection_id":176768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":176768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:25:35] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:25:35] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:25:35] local.INFO: IMEI packet received {"connection_id":176768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":176768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:25:38] local.INFO: TCP Data received {"connection_id":176769,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:25:38] local.INFO: Processing buffer {"connection_id":176769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:25:38] local.INFO: IMEI packet received {"connection_id":176769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":176769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:25:40] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:25:40] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:25:40] local.INFO: IMEI packet received {"connection_id":176768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":176768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:25:41] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f1b078012d197c40071feba0003701082a..."} 
[2026-09-09 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f1b078012d197c40071feba0003701082a..."} 
[2026-09-09 12:25:41] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f1b078012d197c40071feba0003701082a..."} 
[2026-09-09 12:25:41] local.INFO: Packet analysis {"connection_id":176768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f1"} 
[2026-09-09 12:25:41] local.INFO: Extracted packet for processing {"connection_id":176768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f1"} 
[2026-09-09 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532448,"longitude_deg":75.6644928,"latitude_deg":11.9532448,"altitude":55,"angle":264,"satellites":42,"speed":17,"hex_longitude":"2d197c40","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-09-09 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967827456001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838336445612032,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728614072320,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25: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-09-09 12:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788936827000,"timestamp_ms":1788936827000,"timestamp_seconds":1788936827,"priority":1,"record_length":96,"hex_timestamp":"000001a084f1b078"} 
[2026-09-09 12:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-09 12:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:25:41] 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-09-09 12:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967827456001,"66":12809,"102":206,"83":41984,"24":17,"16":18838336445612032,"45":1836905728614072320},"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-09-09 12:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967827456001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:25:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838336445612032,"km_value":18838336445612.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728614072320,"description":"Unknown IO ID 45"} 
[2026-09-09 12:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967827456001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1836905728614072320}} 
[2026-09-09 12:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":176768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:25:41] local.INFO: GPS data processed {"connection_id":176768,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:25:41] local.INFO: Acknowledgment sent {"connection_id":176768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:25:44] local.INFO: TCP Data received {"connection_id":176769,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:25:44] local.INFO: Processing buffer {"connection_id":176769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:25:44] local.INFO: IMEI packet received {"connection_id":176769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":176769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:25:46] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f1bc30012d197700071febb80037011529..."} 
[2026-09-09 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f1bc30012d197700071febb80037011529..."} 
[2026-09-09 12:25:46] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f1bc30012d197700071febb80037011529..."} 
[2026-09-09 12:25:46] local.INFO: Packet analysis {"connection_id":176768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f1"} 
[2026-09-09 12:25:46] local.INFO: Extracted packet for processing {"connection_id":176768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f1"} 
[2026-09-09 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756643584,"raw_latitude":119532472,"longitude_deg":75.6643584,"latitude_deg":11.9532472,"altitude":55,"angle":277,"satellites":41,"speed":14,"hex_longitude":"2d197700","hex_latitude":"071febb8","is_valid_coordinates":true} 
[2026-09-09 12:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967827712001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838396575154176,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404804096,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788936830000,"timestamp_ms":1788936830000,"timestamp_seconds":1788936830,"priority":1,"record_length":96,"hex_timestamp":"000001a084f1bc30"} 
[2026-09-09 12:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2230408864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3975872512,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-1058680158915288704,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4045930551,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":5908948628084411987,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301409779135872041,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,102,83,24,241,157,16,237,160,172,45,236,55,40,10,66,156,128,239,56,153,192,1,240,254,227,132,31,4,113,205,17,90,32,42,54,101,2,7,49,14,164,247],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 12:25:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963458123545509888,"timestamp_seconds":3963458123545510.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 12:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:25:46] 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-09-09 12:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967827712001,"66":12798,"102":206,"83":41984,"24":14,"16":18838396575154176,"45":1836413147404804096},"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-09-09 12:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967827712001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:25:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838396575154176,"km_value":18838396575154.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404804096,"description":"Unknown IO ID 45"} 
[2026-09-09 12:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967827712001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1836413147404804096}} 
[2026-09-09 12:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":176768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:25:46] local.INFO: GPS data processed {"connection_id":176768,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:25:46] local.INFO: Acknowledgment sent {"connection_id":176768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:25:46] local.INFO: TCP Data received {"connection_id":176769,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a084ef2bf0012d34c30006aa4b600008008d2a..."} 
[2026-09-09 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ef2bf0012d34c30006aa4b600008008d2a..."} 
[2026-09-09 12:25:46] local.INFO: Processing buffer {"connection_id":176769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ef2bf0012d34c30006aa4b600008008d2a..."} 
[2026-09-09 12:25:46] local.INFO: Packet analysis {"connection_id":176769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:25:46] local.INFO: Extracted packet for processing {"connection_id":176769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111823712,"longitude_deg":75.8432512,"latitude_deg":11.1823712,"altitude":8,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-09-09 12:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967783936001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057692672,"note":"Value kept but may cause issues"} 
[2026-09-09 12:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788936662000,"timestamp_ms":1788936662000,"timestamp_seconds":1788936662,"priority":1,"record_length":96,"hex_timestamp":"000001a084ef2bf0"} 
[2026-09-09 12:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-09 12:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967783936001,"66":27343,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057692672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967783936001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057692672,"description":"Unknown IO ID 45"} 
[2026-09-09 12:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967783936001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057692672}} 
[2026-09-09 12:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":176769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:25:46] local.INFO: GPS data processed {"connection_id":176769,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:25:46] local.INFO: Acknowledgment sent {"connection_id":176769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:26:17] local.INFO: TCP Data received {"connection_id":176769,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a084ef2bf0012d34c30006aa4b600008008d2a..."} 
[2026-09-09 12:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ef2bf0012d34c30006aa4b600008008d2a..."} 
[2026-09-09 12:26:17] local.INFO: Processing buffer {"connection_id":176769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ef2bf0012d34c30006aa4b600008008d2a..."} 
[2026-09-09 12:26:17] local.INFO: Packet analysis {"connection_id":176769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:26:17] local.INFO: Extracted packet for processing {"connection_id":176769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ef"} 
[2026-09-09 12:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111823712,"longitude_deg":75.8432512,"latitude_deg":11.1823712,"altitude":8,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967783936001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057692672,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788936662000,"timestamp_ms":1788936662000,"timestamp_seconds":1788936662,"priority":1,"record_length":96,"hex_timestamp":"000001a084ef2bf0"} 
[2026-09-09 12:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-09 12:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967783936001,"66":27343,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057692672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967783936001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057692672,"description":"Unknown IO ID 45"} 
[2026-09-09 12:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967783936001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057692672}} 
[2026-09-09 12:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":176769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:26:17] local.INFO: GPS data processed {"connection_id":176769,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:26:17] local.INFO: Acknowledgment sent {"connection_id":176769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:26:30] local.INFO: TCP Data received {"connection_id":175413,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:26:30] local.INFO: Processing buffer {"connection_id":175413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:26:30] local.INFO: IMEI packet received {"connection_id":175413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":175413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:26:34] local.INFO: TCP Data received {"connection_id":175413,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:26:34] local.INFO: Processing buffer {"connection_id":175413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:26:34] local.INFO: IMEI packet received {"connection_id":175413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":175413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:26:35] local.INFO: TCP Data received {"connection_id":175413,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f20e38012d196840071fee30003a011a2a..."} 
[2026-09-09 12:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f20e38012d196840071fee30003a011a2a..."} 
[2026-09-09 12:26:35] local.INFO: Processing buffer {"connection_id":175413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f20e38012d196840071fee30003a011a2a..."} 
[2026-09-09 12:26:35] local.INFO: Packet analysis {"connection_id":175413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f2"} 
[2026-09-09 12:26:35] local.INFO: Extracted packet for processing {"connection_id":175413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f2"} 
[2026-09-09 12:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967828480001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834935403777079296,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788936851000,"timestamp_ms":1788936851000,"timestamp_seconds":1788936851,"priority":1,"record_length":96,"hex_timestamp":"000001a084f20e38"} 
[2026-09-09 12:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 12:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:26:35] 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-09-09 12:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967828480001,"66":12841,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1834935403777079296},"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-09-09 12:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967828480001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:26:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834935403777079296,"description":"Unknown IO ID 45"} 
[2026-09-09 12:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967828480001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834935403777079296}} 
[2026-09-09 12:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":175413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:26:35] local.INFO: GPS data processed {"connection_id":175413,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:26:35] local.INFO: Acknowledgment sent {"connection_id":175413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:26:41] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:26:41] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:26:41] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:26:44] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:26:44] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:26:44] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:26:49] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:26:49] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:26:49] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:26:50] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:26:50] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:26:50] local.INFO: Packet analysis {"connection_id":175414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:26:50] local.INFO: Extracted packet for processing {"connection_id":175414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:26:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":175414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:26:50] local.INFO: GPS data processed {"connection_id":175414,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:26:50] local.INFO: Acknowledgment sent {"connection_id":175414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:26:54] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:26:54] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:26:54] local.INFO: Packet analysis {"connection_id":175414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:26:54] local.INFO: Extracted packet for processing {"connection_id":175414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:26:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":175414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:26:54] local.INFO: GPS data processed {"connection_id":175414,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:26:54] local.INFO: Acknowledgment sent {"connection_id":175414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:27:06] local.INFO: TCP Data received {"connection_id":175413,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f26040012d196840071fee30003a011a27..."} 
[2026-09-09 12:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f26040012d196840071fee30003a011a27..."} 
[2026-09-09 12:27:06] local.INFO: Processing buffer {"connection_id":175413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f26040012d196840071fee30003a011a27..."} 
[2026-09-09 12:27:06] local.INFO: Packet analysis {"connection_id":175413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f2"} 
[2026-09-09 12:27:06] local.INFO: Extracted packet for processing {"connection_id":175413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f2"} 
[2026-09-09 12:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967833856001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788936872000,"timestamp_ms":1788936872000,"timestamp_seconds":1788936872,"priority":1,"record_length":96,"hex_timestamp":"000001a084f26040"} 
[2026-09-09 12:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 12:27: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-09-09 12:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:27: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-09-09 12:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967833856001,"66":12798,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967833856001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967833856001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":175413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:27:06] local.INFO: GPS data processed {"connection_id":175413,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:27:06] local.INFO: Acknowledgment sent {"connection_id":175413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:27:30] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:27:30] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:27:30] local.INFO: IMEI packet received {"connection_id":175416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":175416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:27:35] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:27:35] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:27:35] local.INFO: IMEI packet received {"connection_id":175416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":175416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:27:36] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f2b248012d196840071fee30003a011a27..."} 
[2026-09-09 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f2b248012d196840071fee30003a011a27..."} 
[2026-09-09 12:27:36] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f2b248012d196840071fee30003a011a27..."} 
[2026-09-09 12:27:36] local.INFO: Packet analysis {"connection_id":175416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f2"} 
[2026-09-09 12:27:36] local.INFO: Extracted packet for processing {"connection_id":175416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f2"} 
[2026-09-09 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967839232001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936893000,"timestamp_ms":1788936893000,"timestamp_seconds":1788936893,"priority":1,"record_length":96,"hex_timestamp":"000001a084f2b248"} 
[2026-09-09 12:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":254,"data_length":795,"current_offset":136} 
[2026-09-09 12:27: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-09-09 12: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-09-09 12:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:27:36] 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-09-09 12:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967839232001,"66":12385,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967839232001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967839232001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":175416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:27:36] local.INFO: GPS data processed {"connection_id":175416,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:27:36] local.INFO: Acknowledgment sent {"connection_id":175416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:27:39] local.INFO: TCP Data received {"connection_id":178210,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:27:39] local.INFO: Processing buffer {"connection_id":178210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:27:39] local.INFO: IMEI packet received {"connection_id":178210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":178210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:27:44] local.INFO: TCP Data received {"connection_id":178210,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:27:44] local.INFO: Processing buffer {"connection_id":178210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:27:44] local.INFO: IMEI packet received {"connection_id":178210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":178210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:27:45] local.INFO: TCP Data received {"connection_id":178210,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:27:45] local.INFO: Processing buffer {"connection_id":178210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:27:45] local.INFO: Packet analysis {"connection_id":178210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:27:45] local.INFO: Extracted packet for processing {"connection_id":178210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:27:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":178210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:27:45] local.INFO: GPS data processed {"connection_id":178210,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:27:45] local.INFO: Acknowledgment sent {"connection_id":178210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:28:02] local.INFO: TCP Data received {"connection_id":178211,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:28:02] local.INFO: Processing buffer {"connection_id":178211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:28:02] local.INFO: IMEI packet received {"connection_id":178211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":178211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:28:07] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f30450012d196840071fee30003a011a29..."} 
[2026-09-09 12:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f30450012d196840071fee30003a011a29..."} 
[2026-09-09 12:28:07] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f30450012d196840071fee30003a011a29..."} 
[2026-09-09 12:28:07] local.INFO: Packet analysis {"connection_id":175416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:28:07] local.INFO: Extracted packet for processing {"connection_id":175416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967844608001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936914000,"timestamp_ms":1788936914000,"timestamp_seconds":1788936914,"priority":1,"record_length":96,"hex_timestamp":"000001a084f30450"} 
[2026-09-09 12:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:28: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-09-09 12:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 12:28: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-09-09 12: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-09-09 12:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:28:07] 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-09-09 12:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967844608001,"66":12743,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967844608001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:28:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967844608001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":175416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:28:07] local.INFO: GPS data processed {"connection_id":175416,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:28:07] local.INFO: Acknowledgment sent {"connection_id":175416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:28:17] local.INFO: TCP Data received {"connection_id":178210,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:28:17] local.INFO: Processing buffer {"connection_id":178210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:28:17] local.INFO: Packet analysis {"connection_id":178210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:28:17] local.INFO: Extracted packet for processing {"connection_id":178210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":178210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:28:17] local.INFO: GPS data processed {"connection_id":178210,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:28:17] local.INFO: Acknowledgment sent {"connection_id":178210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:28:30] local.INFO: TCP Data received {"connection_id":178212,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:28:30] local.INFO: Processing buffer {"connection_id":178212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:28:30] local.INFO: IMEI packet received {"connection_id":178212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":178212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:28:35] local.INFO: TCP Data received {"connection_id":178212,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:28:35] local.INFO: Processing buffer {"connection_id":178212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:28:35] local.INFO: IMEI packet received {"connection_id":178212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":178212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:28:36] local.INFO: TCP Data received {"connection_id":178212,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f35658012d196840071fee30003a011a2a..."} 
[2026-09-09 12:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f35658012d196840071fee30003a011a2a..."} 
[2026-09-09 12:28:36] local.INFO: Processing buffer {"connection_id":178212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f35658012d196840071fee30003a011a2a..."} 
[2026-09-09 12:28:36] local.INFO: Packet analysis {"connection_id":178212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:28:36] local.INFO: Extracted packet for processing {"connection_id":178212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967849984001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936935000,"timestamp_ms":1788936935000,"timestamp_seconds":1788936935,"priority":1,"record_length":96,"hex_timestamp":"000001a084f35658"} 
[2026-09-09 12:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-09 12:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:28:36] 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-09-09 12:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967849984001,"66":12689,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967849984001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967849984001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":178212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:28:36] local.INFO: GPS data processed {"connection_id":178212,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:28:36] local.INFO: Acknowledgment sent {"connection_id":178212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:28:40] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:28:40] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:28:40] local.INFO: IMEI packet received {"connection_id":175625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":175625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:28:44] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:28:44] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:28:44] local.INFO: IMEI packet received {"connection_id":175625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":175625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:28:45] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:28:45] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:28:45] local.INFO: Packet analysis {"connection_id":175625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:28:45] local.INFO: Extracted packet for processing {"connection_id":175625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":175625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:28:45] local.INFO: GPS data processed {"connection_id":175625,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:28:45] local.INFO: Acknowledgment sent {"connection_id":175625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:29:07] local.INFO: TCP Data received {"connection_id":178212,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3a860012d196840071fee30003a011a2b..."} 
[2026-09-09 12:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3a860012d196840071fee30003a011a2b..."} 
[2026-09-09 12:29:07] local.INFO: Processing buffer {"connection_id":178212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3a860012d196840071fee30003a011a2b..."} 
[2026-09-09 12:29:07] local.INFO: Packet analysis {"connection_id":178212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:29:07] local.INFO: Extracted packet for processing {"connection_id":178212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967855360001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936956000,"timestamp_ms":1788936956000,"timestamp_seconds":1788936956,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3a860"} 
[2026-09-09 12:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:29: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-09-09 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 12:29: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-09-09 12: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-09-09 12:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:29:07] 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-09-09 12:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967855360001,"66":12667,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967855360001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:29:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967855360001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":178212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:29:07] local.INFO: GPS data processed {"connection_id":178212,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:29:07] local.INFO: Acknowledgment sent {"connection_id":178212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:29:17] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:29:17] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:29:17] local.INFO: Packet analysis {"connection_id":175625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:29:17] local.INFO: Extracted packet for processing {"connection_id":175625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":175625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:29:17] local.INFO: GPS data processed {"connection_id":175625,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:29:17] local.INFO: Acknowledgment sent {"connection_id":175625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:29:30] local.INFO: TCP Data received {"connection_id":178213,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:29:30] local.INFO: Processing buffer {"connection_id":178213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:29:30] local.INFO: IMEI packet received {"connection_id":178213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":178213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:29:35] local.INFO: TCP Data received {"connection_id":178213,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:29:35] local.INFO: Processing buffer {"connection_id":178213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:29:35] local.INFO: IMEI packet received {"connection_id":178213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":178213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:29:36] local.INFO: TCP Data received {"connection_id":178213,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3fa68012d196840071fee30003a011a2a..."} 
[2026-09-09 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3fa68012d196840071fee30003a011a2a..."} 
[2026-09-09 12:29:36] local.INFO: Processing buffer {"connection_id":178213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3fa68012d196840071fee30003a011a2a..."} 
[2026-09-09 12:29:36] local.INFO: Packet analysis {"connection_id":178213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:29:36] local.INFO: Extracted packet for processing {"connection_id":178213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967860736001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788936977000,"timestamp_ms":1788936977000,"timestamp_seconds":1788936977,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3fa68"} 
[2026-09-09 12:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-09 12:29: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-09-09 12:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:29:36] 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-09-09 12:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967860736001,"66":12635,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967860736001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967860736001,"power":12635,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":178213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:29:36] local.INFO: GPS data processed {"connection_id":178213,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:29:36] local.INFO: Acknowledgment sent {"connection_id":178213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:29:43] local.INFO: TCP Data received {"connection_id":176771,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:29:43] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:29:43] local.INFO: IMEI packet received {"connection_id":176771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:29:49] local.INFO: TCP Data received {"connection_id":176771,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:29:49] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:29:49] local.INFO: IMEI packet received {"connection_id":176771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":176771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:29:50] local.INFO: TCP Data received {"connection_id":176771,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:29:50] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:29:50] local.INFO: Packet analysis {"connection_id":176771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:29:50] local.INFO: Extracted packet for processing {"connection_id":176771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":176771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:29:50] local.INFO: GPS data processed {"connection_id":176771,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:29:50] local.INFO: Acknowledgment sent {"connection_id":176771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:30:07] local.INFO: TCP Data received {"connection_id":178213,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f44c70012d196840071fee30003a011a2b..."} 
[2026-09-09 12:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f44c70012d196840071fee30003a011a2b..."} 
[2026-09-09 12:30:07] local.INFO: Processing buffer {"connection_id":178213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f44c70012d196840071fee30003a011a2b..."} 
[2026-09-09 12:30:07] local.INFO: Packet analysis {"connection_id":178213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f4"} 
[2026-09-09 12:30:07] local.INFO: Extracted packet for processing {"connection_id":178213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f4"} 
[2026-09-09 12:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967866112001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788936998000,"timestamp_ms":1788936998000,"timestamp_seconds":1788936998,"priority":1,"record_length":96,"hex_timestamp":"000001a084f44c70"} 
[2026-09-09 12:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:30: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-09-09 12: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 12:30:07] 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-09-09 12: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-09-09 12:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:30:07] 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-09-09 12:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967866112001,"66":12580,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967866112001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:30:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967866112001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":178213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:30:07] local.INFO: GPS data processed {"connection_id":178213,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:30:07] local.INFO: Acknowledgment sent {"connection_id":178213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:30:21] local.INFO: TCP Data received {"connection_id":176771,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:30:21] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:30:21] local.INFO: Packet analysis {"connection_id":176771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:30:21] local.INFO: Extracted packet for processing {"connection_id":176771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":176771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:30:21] local.INFO: GPS data processed {"connection_id":176771,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:30:21] local.INFO: Acknowledgment sent {"connection_id":176771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:30:30] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:30:30] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:30:30] local.INFO: IMEI packet received {"connection_id":176772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":176772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:30:35] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:30:35] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:30:35] local.INFO: IMEI packet received {"connection_id":176772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":176772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:30:36] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f49e78012d196840071fee30003a011a2c..."} 
[2026-09-09 12:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f49e78012d196840071fee30003a011a2c..."} 
[2026-09-09 12:30:36] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f49e78012d196840071fee30003a011a2c..."} 
[2026-09-09 12:30:36] local.INFO: Packet analysis {"connection_id":176772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f4"} 
[2026-09-09 12:30:36] local.INFO: Extracted packet for processing {"connection_id":176772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f4"} 
[2026-09-09 12:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967871488001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937019000,"timestamp_ms":1788937019000,"timestamp_seconds":1788937019,"priority":1,"record_length":96,"hex_timestamp":"000001a084f49e78"} 
[2026-09-09 12:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":36,"data_length":795,"current_offset":136} 
[2026-09-09 12:30: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-09-09 12: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-09-09 12:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:30:36] 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-09-09 12:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967871488001,"66":12504,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967871488001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967871488001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":176772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:30:36] local.INFO: GPS data processed {"connection_id":176772,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:30:36] local.INFO: Acknowledgment sent {"connection_id":176772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:30:39] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:30:39] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:30:39] local.INFO: IMEI packet received {"connection_id":176773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":176773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:30:44] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:30:44] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:30:44] local.INFO: IMEI packet received {"connection_id":176773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":176773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:30:45] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:30:45] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:30:45] local.INFO: Packet analysis {"connection_id":176773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:30:45] local.INFO: Extracted packet for processing {"connection_id":176773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:30:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":176773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:30:45] local.INFO: GPS data processed {"connection_id":176773,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:30:45] local.INFO: Acknowledgment sent {"connection_id":176773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:31:07] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f4f080012d196840071fee30003a011a2b..."} 
[2026-09-09 12:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f4f080012d196840071fee30003a011a2b..."} 
[2026-09-09 12:31:07] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f4f080012d196840071fee30003a011a2b..."} 
[2026-09-09 12:31:07] local.INFO: Packet analysis {"connection_id":176772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f4"} 
[2026-09-09 12:31:07] local.INFO: Extracted packet for processing {"connection_id":176772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f4"} 
[2026-09-09 12:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967876864001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937040000,"timestamp_ms":1788937040000,"timestamp_seconds":1788937040,"priority":1,"record_length":96,"hex_timestamp":"000001a084f4f080"} 
[2026-09-09 12:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:31: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-09-09 12:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 12:31: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-09-09 12:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:31:07] 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-09-09 12:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967876864001,"66":12526,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967876864001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:31:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967876864001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":176772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:31:07] local.INFO: GPS data processed {"connection_id":176772,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:31:07] local.INFO: Acknowledgment sent {"connection_id":176772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:31:16] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:31:16] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f3c3b8012d34c48006aa49900010008d26..."} 
[2026-09-09 12:31:16] local.INFO: Packet analysis {"connection_id":176773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:31:16] local.INFO: Extracted packet for processing {"connection_id":176773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f3"} 
[2026-09-09 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":16,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967785472001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057700864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788936963000,"timestamp_ms":1788936963000,"timestamp_seconds":1788936963,"priority":1,"record_length":96,"hex_timestamp":"000001a084f3c3b8"} 
[2026-09-09 12:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 12:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967785472001,"66":26223,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3801882539057700864},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967785472001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057700864,"description":"Unknown IO ID 45"} 
[2026-09-09 12:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967785472001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057700864}} 
[2026-09-09 12:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":176773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:31:16] local.INFO: GPS data processed {"connection_id":176773,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:31:16] local.INFO: Acknowledgment sent {"connection_id":176773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:31:31] local.INFO: TCP Data received {"connection_id":176775,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:31:31] local.INFO: Processing buffer {"connection_id":176775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:31:31] local.INFO: IMEI packet received {"connection_id":176775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":176775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:31:35] local.INFO: TCP Data received {"connection_id":176775,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:31:35] local.INFO: Processing buffer {"connection_id":176775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:31:35] local.INFO: IMEI packet received {"connection_id":176775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":176775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:31:36] local.INFO: TCP Data received {"connection_id":176775,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f54288012d196840071fee30003a011a2d..."} 
[2026-09-09 12:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f54288012d196840071fee30003a011a2d..."} 
[2026-09-09 12:31:36] local.INFO: Processing buffer {"connection_id":176775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f54288012d196840071fee30003a011a2d..."} 
[2026-09-09 12:31:36] local.INFO: Packet analysis {"connection_id":176775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f5"} 
[2026-09-09 12:31:36] local.INFO: Extracted packet for processing {"connection_id":176775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f5"} 
[2026-09-09 12:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967882240001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937061000,"timestamp_ms":1788937061000,"timestamp_seconds":1788937061,"priority":1,"record_length":96,"hex_timestamp":"000001a084f54288"} 
[2026-09-09 12:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 12:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:31:36] 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-09-09 12:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967882240001,"66":12504,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967882240001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967882240001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":176775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:31:36] local.INFO: GPS data processed {"connection_id":176775,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:31:36] local.INFO: Acknowledgment sent {"connection_id":176775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:31:39] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:31:39] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:31:39] local.INFO: IMEI packet received {"connection_id":175418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":175418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:31:42] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:31:42] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:31:42] local.INFO: IMEI packet received {"connection_id":175418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":175418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:31:43] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:31:43] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:31:43] local.INFO: Packet analysis {"connection_id":175418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:31:43] local.INFO: Extracted packet for processing {"connection_id":175418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":175418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:31:43] local.INFO: GPS data processed {"connection_id":175418,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:31:43] local.INFO: Acknowledgment sent {"connection_id":175418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:32:07] local.INFO: TCP Data received {"connection_id":176775,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f59490012d196840071fee30003a011a2b..."} 
[2026-09-09 12:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f59490012d196840071fee30003a011a2b..."} 
[2026-09-09 12:32:07] local.INFO: Processing buffer {"connection_id":176775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f59490012d196840071fee30003a011a2b..."} 
[2026-09-09 12:32:07] local.INFO: Packet analysis {"connection_id":176775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f5"} 
[2026-09-09 12:32:07] local.INFO: Extracted packet for processing {"connection_id":176775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f5"} 
[2026-09-09 12:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967887616001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32: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-09-09 12:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937082000,"timestamp_ms":1788937082000,"timestamp_seconds":1788937082,"priority":1,"record_length":96,"hex_timestamp":"000001a084f59490"} 
[2026-09-09 12:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:32: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-09-09 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 12:32: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-09-09 12: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-09-09 12:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:32:07] 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-09-09 12:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967887616001,"66":12461,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967887616001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:32:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967887616001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":176775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:32:07] local.INFO: GPS data processed {"connection_id":176775,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:32:07] local.INFO: Acknowledgment sent {"connection_id":176775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:32:15] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:32:15] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:32:15] local.INFO: Packet analysis {"connection_id":175418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:32:15] local.INFO: Extracted packet for processing {"connection_id":175418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":175418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:32:15] local.INFO: GPS data processed {"connection_id":175418,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:32:15] local.INFO: Acknowledgment sent {"connection_id":175418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:32:30] local.INFO: TCP Data received {"connection_id":178215,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:32:30] local.INFO: Processing buffer {"connection_id":178215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:32:30] local.INFO: IMEI packet received {"connection_id":178215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":178215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:32:31] local.INFO: TCP Data received {"connection_id":178215,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:32:31] local.INFO: Processing buffer {"connection_id":178215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:32:31] local.INFO: IMEI packet received {"connection_id":178215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":178215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:32:35] local.INFO: TCP Data received {"connection_id":178215,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:32:35] local.INFO: Processing buffer {"connection_id":178215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:32:35] local.INFO: IMEI packet received {"connection_id":178215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":178215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:32:36] local.INFO: TCP Data received {"connection_id":178215,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f5e698012d196840071fee30003a011a2b..."} 
[2026-09-09 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f5e698012d196840071fee30003a011a2b..."} 
[2026-09-09 12:32:36] local.INFO: Processing buffer {"connection_id":178215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f5e698012d196840071fee30003a011a2b..."} 
[2026-09-09 12:32:36] local.INFO: Packet analysis {"connection_id":178215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f5"} 
[2026-09-09 12:32:36] local.INFO: Extracted packet for processing {"connection_id":178215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f5"} 
[2026-09-09 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967892992001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937103000,"timestamp_ms":1788937103000,"timestamp_seconds":1788937103,"priority":1,"record_length":96,"hex_timestamp":"000001a084f5e698"} 
[2026-09-09 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-09-09 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 12:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:32:36] 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-09-09 12:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967892992001,"66":12461,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967892992001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:32:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967892992001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":178215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:32:36] local.INFO: GPS data processed {"connection_id":178215,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:32:36] local.INFO: Acknowledgment sent {"connection_id":178215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:32:38] local.INFO: TCP Data received {"connection_id":175419,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:32:38] local.INFO: Processing buffer {"connection_id":175419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:32:38] local.INFO: IMEI packet received {"connection_id":175419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":175419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:32:44] local.INFO: TCP Data received {"connection_id":175419,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:32:44] local.INFO: Processing buffer {"connection_id":175419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:32:44] local.INFO: IMEI packet received {"connection_id":175419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":175419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:32:45] local.INFO: TCP Data received {"connection_id":175419,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:32:45] local.INFO: Processing buffer {"connection_id":175419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:32:45] local.INFO: Packet analysis {"connection_id":175419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:32:45] local.INFO: Extracted packet for processing {"connection_id":175419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":175419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:32:45] local.INFO: GPS data processed {"connection_id":175419,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:32:45] local.INFO: Acknowledgment sent {"connection_id":175419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:33:07] local.INFO: TCP Data received {"connection_id":178215,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f638a0012d196840071fee30003a011a29..."} 
[2026-09-09 12:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f638a0012d196840071fee30003a011a29..."} 
[2026-09-09 12:33:07] local.INFO: Processing buffer {"connection_id":178215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f638a0012d196840071fee30003a011a29..."} 
[2026-09-09 12:33:07] local.INFO: Packet analysis {"connection_id":178215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f6"} 
[2026-09-09 12:33:07] local.INFO: Extracted packet for processing {"connection_id":178215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f6"} 
[2026-09-09 12:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967898368001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937124000,"timestamp_ms":1788937124000,"timestamp_seconds":1788937124,"priority":1,"record_length":96,"hex_timestamp":"000001a084f638a0"} 
[2026-09-09 12:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:33: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-09-09 12:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 12:33: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-09-09 12: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-09-09 12:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:33:07] 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-09-09 12:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967898368001,"66":12461,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967898368001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:33:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967898368001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":178215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:33:07] local.INFO: GPS data processed {"connection_id":178215,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:33:07] local.INFO: Acknowledgment sent {"connection_id":178215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:33:17] local.INFO: TCP Data received {"connection_id":175419,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:33:17] local.INFO: Processing buffer {"connection_id":175419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:33:17] local.INFO: Packet analysis {"connection_id":175419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:33:17] local.INFO: Extracted packet for processing {"connection_id":175419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":175419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:33:17] local.INFO: GPS data processed {"connection_id":175419,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:33:17] local.INFO: Acknowledgment sent {"connection_id":175419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:33:30] local.INFO: TCP Data received {"connection_id":178217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:33:30] local.INFO: Processing buffer {"connection_id":178217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:33:30] local.INFO: IMEI packet received {"connection_id":178217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":178217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:33:34] local.INFO: TCP Data received {"connection_id":178217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:33:34] local.INFO: Processing buffer {"connection_id":178217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:33:34] local.INFO: IMEI packet received {"connection_id":178217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":178217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:33:35] local.INFO: TCP Data received {"connection_id":178217,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:33:35] local.INFO: Processing buffer {"connection_id":178217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:33:35] local.INFO: IMEI packet received {"connection_id":178217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":178217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:33:36] local.INFO: TCP Data received {"connection_id":178217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f68aa8012d196840071fee30003a011a2a..."} 
[2026-09-09 12:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f68aa8012d196840071fee30003a011a2a..."} 
[2026-09-09 12:33:36] local.INFO: Processing buffer {"connection_id":178217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f68aa8012d196840071fee30003a011a2a..."} 
[2026-09-09 12:33:36] local.INFO: Packet analysis {"connection_id":178217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f6"} 
[2026-09-09 12:33:36] local.INFO: Extracted packet for processing {"connection_id":178217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f6"} 
[2026-09-09 12:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967903744001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937145000,"timestamp_ms":1788937145000,"timestamp_seconds":1788937145,"priority":1,"record_length":96,"hex_timestamp":"000001a084f68aa8"} 
[2026-09-09 12:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 12:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:33:36] 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-09-09 12:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967903744001,"66":12428,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967903744001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:33:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967903744001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":178217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:33:36] local.INFO: GPS data processed {"connection_id":178217,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:33:36] local.INFO: Acknowledgment sent {"connection_id":178217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:33:41] local.INFO: TCP Data received {"connection_id":178217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f6dcb0012d196840071fee30003a011a2b..."} 
[2026-09-09 12:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f6dcb0012d196840071fee30003a011a2b..."} 
[2026-09-09 12:33:41] local.INFO: Processing buffer {"connection_id":178217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f6dcb0012d196840071fee30003a011a2b..."} 
[2026-09-09 12:33:41] local.INFO: Packet analysis {"connection_id":178217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f6"} 
[2026-09-09 12:33:41] local.INFO: Extracted packet for processing {"connection_id":178217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f6"} 
[2026-09-09 12:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967909120001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33: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-09-09 12:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788937166000,"timestamp_ms":1788937166000,"timestamp_seconds":1788937166,"priority":1,"record_length":96,"hex_timestamp":"000001a084f6dcb0"} 
[2026-09-09 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-09-09 12:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 12:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:33:41] 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-09-09 12:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967909120001,"66":12428,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967909120001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:33:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967909120001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":178217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:33:41] local.INFO: GPS data processed {"connection_id":178217,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:33:41] local.INFO: Acknowledgment sent {"connection_id":178217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:33:41] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:33:41] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:33:41] local.INFO: IMEI packet received {"connection_id":175420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":175420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:33:43] local.INFO: TCP Data received {"connection_id":178218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:33:43] local.INFO: Processing buffer {"connection_id":178218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:33:43] local.INFO: IMEI packet received {"connection_id":178218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":178218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:33:49] local.INFO: TCP Data received {"connection_id":178218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:33:49] local.INFO: Processing buffer {"connection_id":178218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:33:49] local.INFO: IMEI packet received {"connection_id":178218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":178218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:33:51] local.INFO: TCP Data received {"connection_id":178218,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:33:51] local.INFO: Processing buffer {"connection_id":178218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:33:51] local.INFO: Packet analysis {"connection_id":178218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:33:51] local.INFO: Extracted packet for processing {"connection_id":178218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":178218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:33:51] local.INFO: GPS data processed {"connection_id":178218,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:33:51] local.INFO: Acknowledgment sent {"connection_id":178218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:33:55] local.INFO: TCP Data received {"connection_id":178218,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:33:55] local.INFO: Processing buffer {"connection_id":178218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:33:55] local.INFO: Packet analysis {"connection_id":178218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:33:55] local.INFO: Extracted packet for processing {"connection_id":178218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:33:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:33:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":178218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:33:55] local.INFO: GPS data processed {"connection_id":178218,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:33:55] local.INFO: Acknowledgment sent {"connection_id":178218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:34:12] local.INFO: TCP Data received {"connection_id":178217,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f72eb8012d196840071fee30003a011a2c..."} 
[2026-09-09 12:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f72eb8012d196840071fee30003a011a2c..."} 
[2026-09-09 12:34:12] local.INFO: Processing buffer {"connection_id":178217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f72eb8012d196840071fee30003a011a2c..."} 
[2026-09-09 12:34:12] local.INFO: Packet analysis {"connection_id":178217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f7"} 
[2026-09-09 12:34:12] local.INFO: Extracted packet for processing {"connection_id":178217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f7"} 
[2026-09-09 12:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967914496001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34: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-09-09 12:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788937187000,"timestamp_ms":1788937187000,"timestamp_seconds":1788937187,"priority":1,"record_length":96,"hex_timestamp":"000001a084f72eb8"} 
[2026-09-09 12:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 12:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:34:12] 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-09-09 12:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967914496001,"66":12385,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967914496001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:34:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967914496001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":178217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:34:12] local.INFO: GPS data processed {"connection_id":178217,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:34:12] local.INFO: Acknowledgment sent {"connection_id":178217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:34:35] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:34:35] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:34:35] local.INFO: IMEI packet received {"connection_id":176776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":176776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:34:37] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:34:37] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:34:37] local.INFO: IMEI packet received {"connection_id":176776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":176776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:34:38] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f780c0012d196840071fee30003a011a2d..."} 
[2026-09-09 12:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f780c0012d196840071fee30003a011a2d..."} 
[2026-09-09 12:34:38] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f780c0012d196840071fee30003a011a2d..."} 
[2026-09-09 12:34:38] local.INFO: Packet analysis {"connection_id":176776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f7"} 
[2026-09-09 12:34:38] local.INFO: Extracted packet for processing {"connection_id":176776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f7"} 
[2026-09-09 12:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967919872001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788937208000,"timestamp_ms":1788937208000,"timestamp_seconds":1788937208,"priority":1,"record_length":96,"hex_timestamp":"000001a084f780c0"} 
[2026-09-09 12:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:34: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-09-09 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 12:34: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-09-09 12:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:34: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-09-09 12:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967919872001,"66":12385,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967919872001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:34:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967919872001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":176776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:34:38] local.INFO: GPS data processed {"connection_id":176776,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:34:38] local.INFO: Acknowledgment sent {"connection_id":176776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:34:39] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:34:39] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:34:39] local.INFO: IMEI packet received {"connection_id":176777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":176777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:34:41] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f7d2c8012d196840071fee30003a011a2d..."} 
[2026-09-09 12:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f7d2c8012d196840071fee30003a011a2d..."} 
[2026-09-09 12:34:41] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f7d2c8012d196840071fee30003a011a2d..."} 
[2026-09-09 12:34:41] local.INFO: Packet analysis {"connection_id":176776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f7"} 
[2026-09-09 12:34:41] local.INFO: Extracted packet for processing {"connection_id":176776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f7"} 
[2026-09-09 12:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967925248001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34: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-09-09 12:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788937229000,"timestamp_ms":1788937229000,"timestamp_seconds":1788937229,"priority":1,"record_length":96,"hex_timestamp":"000001a084f7d2c8"} 
[2026-09-09 12:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 12:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:34:41] 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-09-09 12:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967925248001,"66":11961,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967925248001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:34:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967925248001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":176776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:34:41] local.INFO: GPS data processed {"connection_id":176776,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:34:41] local.INFO: Acknowledgment sent {"connection_id":176776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:34:44] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:34:44] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:34:44] local.INFO: IMEI packet received {"connection_id":176777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":176777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:34:45] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:34:45] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:34:45] local.INFO: Packet analysis {"connection_id":176777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:34:45] local.INFO: Extracted packet for processing {"connection_id":176777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:34:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":176777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:34:45] local.INFO: GPS data processed {"connection_id":176777,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:34:45] local.INFO: Acknowledgment sent {"connection_id":176777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:35:12] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f824d0012d196840071fee30003a011a2b..."} 
[2026-09-09 12:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f824d0012d196840071fee30003a011a2b..."} 
[2026-09-09 12:35:12] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f824d0012d196840071fee30003a011a2b..."} 
[2026-09-09 12:35:12] local.INFO: Packet analysis {"connection_id":176776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:35:12] local.INFO: Extracted packet for processing {"connection_id":176776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967930624001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35: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-09-09 12:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788937250000,"timestamp_ms":1788937250000,"timestamp_seconds":1788937250,"priority":1,"record_length":96,"hex_timestamp":"000001a084f824d0"} 
[2026-09-09 12:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 12:35:12] 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-09-09 12:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:35:12] 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-09-09 12:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967930624001,"66":12374,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967930624001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:35:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967930624001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":176776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:35:12] local.INFO: GPS data processed {"connection_id":176776,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:35:12] local.INFO: Acknowledgment sent {"connection_id":176776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:35:17] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:35:17] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:35:17] local.INFO: Packet analysis {"connection_id":176777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:35:17] local.INFO: Extracted packet for processing {"connection_id":176777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":176777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:35:17] local.INFO: GPS data processed {"connection_id":176777,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:35:17] local.INFO: Acknowledgment sent {"connection_id":176777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:35:30] local.INFO: TCP Data received {"connection_id":178219,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:35:30] local.INFO: Processing buffer {"connection_id":178219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:35:30] local.INFO: IMEI packet received {"connection_id":178219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":178219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:35:35] local.INFO: TCP Data received {"connection_id":178219,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:35:35] local.INFO: Processing buffer {"connection_id":178219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:35:35] local.INFO: IMEI packet received {"connection_id":178219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":178219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:35:36] local.INFO: TCP Data received {"connection_id":178219,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f876d8012d196840071fee30003a011a2d..."} 
[2026-09-09 12:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f876d8012d196840071fee30003a011a2d..."} 
[2026-09-09 12:35:36] local.INFO: Processing buffer {"connection_id":178219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f876d8012d196840071fee30003a011a2d..."} 
[2026-09-09 12:35:36] local.INFO: Packet analysis {"connection_id":178219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:35:36] local.INFO: Extracted packet for processing {"connection_id":178219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967936000001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937271000,"timestamp_ms":1788937271000,"timestamp_seconds":1788937271,"priority":1,"record_length":96,"hex_timestamp":"000001a084f876d8"} 
[2026-09-09 12:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 12:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:35:36] 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-09-09 12:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967936000001,"66":12341,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967936000001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967936000001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":178219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:35:36] local.INFO: GPS data processed {"connection_id":178219,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:35:36] local.INFO: Acknowledgment sent {"connection_id":178219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:35:39] local.INFO: TCP Data received {"connection_id":178220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:35:39] local.INFO: Processing buffer {"connection_id":178220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:35:39] local.INFO: IMEI packet received {"connection_id":178220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":178220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:35:44] local.INFO: TCP Data received {"connection_id":178220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:35:44] local.INFO: Processing buffer {"connection_id":178220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:35:44] local.INFO: IMEI packet received {"connection_id":178220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":178220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:35:45] local.INFO: TCP Data received {"connection_id":178220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:35:45] local.INFO: Processing buffer {"connection_id":178220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:35:45] local.INFO: Packet analysis {"connection_id":178220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:35:45] local.INFO: Extracted packet for processing {"connection_id":178220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:35:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":178220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:35:45] local.INFO: GPS data processed {"connection_id":178220,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:35:45] local.INFO: Acknowledgment sent {"connection_id":178220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:36:07] local.INFO: TCP Data received {"connection_id":178219,"ip":"42.106.6.31","data_length":93,"data_hex":"00000000000000518e01000001a084f8c8e0012d196840071fee30003a011a2b..."} 
[2026-09-09 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178219,"packet_length":93,"packet_hex":"00000000000000518e01000001a084f8c8e0012d196840071fee30003a011a2b..."} 
[2026-09-09 12:36:07] local.INFO: Processing buffer {"connection_id":178219,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a084f8c8e0012d196840071fee30003a011a2b..."} 
[2026-09-09 12:36:07] local.INFO: Packet analysis {"connection_id":178219,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a084f8"} 
[2026-09-09 12:36:07] local.INFO: Extracted packet for processing {"connection_id":178219,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a084f8"} 
[2026-09-09 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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":93,"current_offset":40} 
[2026-09-09 12:36: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-09-09 12:36: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-09-09 12:36:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:36:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 12:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178219,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 12:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178219,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-09 12:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178219,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-09 12:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 12:36:07] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 12:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":178219,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 12:36:07] local.ERROR: GPS data processing failed {"connection_id":178219,"error":"No valid data to process"} 
[2026-09-09 12:36:07] local.INFO: Acknowledgment sent {"connection_id":178219,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 12:36:16] local.INFO: TCP Data received {"connection_id":178220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:36:16] local.INFO: Processing buffer {"connection_id":178220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f85b80012d34c48006aa49900013008d26..."} 
[2026-09-09 12:36:16] local.INFO: Packet analysis {"connection_id":178220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:36:16] local.INFO: Extracted packet for processing {"connection_id":178220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f8"} 
[2026-09-09 12:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967862528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788937264000,"timestamp_ms":1788937264000,"timestamp_seconds":1788937264,"priority":1,"record_length":96,"hex_timestamp":"000001a084f85b80"} 
[2026-09-09 12:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967862528001,"66":26115,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967862528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967862528001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":178220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:36:16] local.INFO: GPS data processed {"connection_id":178220,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:36:16] local.INFO: Acknowledgment sent {"connection_id":178220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:36:30] local.INFO: TCP Data received {"connection_id":175423,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:36:30] local.INFO: Processing buffer {"connection_id":175423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:36:30] local.INFO: IMEI packet received {"connection_id":175423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":175423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:36:35] local.INFO: TCP Data received {"connection_id":175423,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:36:35] local.INFO: Processing buffer {"connection_id":175423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:36:35] local.INFO: IMEI packet received {"connection_id":175423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":175423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:36:36] local.INFO: TCP Data received {"connection_id":175423,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084f91ae8012d196840071fee30003a011a2b..."} 
[2026-09-09 12:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084f91ae8012d196840071fee30003a011a2b..."} 
[2026-09-09 12:36:36] local.INFO: Processing buffer {"connection_id":175423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084f91ae8012d196840071fee30003a011a2b..."} 
[2026-09-09 12:36:36] local.INFO: Packet analysis {"connection_id":175423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084f9"} 
[2026-09-09 12:36:36] local.INFO: Extracted packet for processing {"connection_id":175423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084f9"} 
[2026-09-09 12:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967946752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937313000,"timestamp_ms":1788937313000,"timestamp_seconds":1788937313,"priority":1,"record_length":96,"hex_timestamp":"000001a084f91ae8"} 
[2026-09-09 12:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:36: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-09-09 12: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-09-09 12:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:36:36] 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-09-09 12:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967946752001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967946752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:36:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967946752001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":175423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:36:36] local.INFO: GPS data processed {"connection_id":175423,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:36:36] local.INFO: Acknowledgment sent {"connection_id":175423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:36:38] local.INFO: TCP Data received {"connection_id":175627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:36:38] local.INFO: Processing buffer {"connection_id":175627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:36:38] local.INFO: IMEI packet received {"connection_id":175627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":175627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:36:43] local.INFO: TCP Data received {"connection_id":175627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:36:43] local.INFO: Processing buffer {"connection_id":175627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:36:43] local.INFO: IMEI packet received {"connection_id":175627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":175627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:36:44] local.INFO: TCP Data received {"connection_id":175627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:36:44] local.INFO: Processing buffer {"connection_id":175627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:36:44] local.INFO: Packet analysis {"connection_id":175627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:36:44] local.INFO: Extracted packet for processing {"connection_id":175627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":175627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:36:44] local.INFO: GPS data processed {"connection_id":175627,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:36:44] local.INFO: Acknowledgment sent {"connection_id":175627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:37:07] local.INFO: TCP Data received {"connection_id":175423,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084fca140012d196840071fee30003a011a2d..."} 
[2026-09-09 12:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fca140012d196840071fee30003a011a2d..."} 
[2026-09-09 12:37:07] local.INFO: Processing buffer {"connection_id":175423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fca140012d196840071fee30003a011a2d..."} 
[2026-09-09 12:37:07] local.INFO: Packet analysis {"connection_id":175423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:37:07] local.INFO: Extracted packet for processing {"connection_id":175423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968005888001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937544000,"timestamp_ms":1788937544000,"timestamp_seconds":1788937544,"priority":1,"record_length":96,"hex_timestamp":"000001a084fca140"} 
[2026-09-09 12:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:37: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-09-09 12:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:37:07] 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-09-09 12:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968005888001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968005888001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:37:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968005888001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":175423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:37:07] local.INFO: GPS data processed {"connection_id":175423,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:37:07] local.INFO: Acknowledgment sent {"connection_id":175423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:37:15] local.INFO: TCP Data received {"connection_id":175627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:37:15] local.INFO: Processing buffer {"connection_id":175627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:37:15] local.INFO: Packet analysis {"connection_id":175627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:37:15] local.INFO: Extracted packet for processing {"connection_id":175627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":175627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:37:15] local.INFO: GPS data processed {"connection_id":175627,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:37:15] local.INFO: Acknowledgment sent {"connection_id":175627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:37:30] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:37:30] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:37:30] local.INFO: IMEI packet received {"connection_id":175424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":175424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:37:35] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:37:35] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:37:35] local.INFO: IMEI packet received {"connection_id":175424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":175424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:37:36] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d196840071fee30003a011a2b..."} 
[2026-09-09 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d196840071fee30003a011a2b..."} 
[2026-09-09 12:37:36] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d196840071fee30003a011a2b..."} 
[2026-09-09 12:37:36] local.INFO: Packet analysis {"connection_id":175424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:37:36] local.INFO: Extracted packet for processing {"connection_id":175424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968011264001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 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-09-09 12:37: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-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:37: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-09-09 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-09-09 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-09-09 12:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:37:36] 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-09-09 12:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968011264001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968011264001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:37:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:37:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968011264001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":175424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:37:36] local.INFO: GPS data processed {"connection_id":175424,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:37:36] local.INFO: Acknowledgment sent {"connection_id":175424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:37:39] local.INFO: TCP Data received {"connection_id":178221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:37:39] local.INFO: Processing buffer {"connection_id":178221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:37:39] local.INFO: IMEI packet received {"connection_id":178221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":178221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:37:44] local.INFO: TCP Data received {"connection_id":178221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:37:44] local.INFO: Processing buffer {"connection_id":178221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:37:44] local.INFO: IMEI packet received {"connection_id":178221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":178221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:37:46] local.INFO: TCP Data received {"connection_id":178221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:37:46] local.INFO: Processing buffer {"connection_id":178221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:37:46] local.INFO: Packet analysis {"connection_id":178221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:37:46] local.INFO: Extracted packet for processing {"connection_id":178221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:37:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":178221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:37:46] local.INFO: GPS data processed {"connection_id":178221,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:37:46] local.INFO: Acknowledgment sent {"connection_id":178221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:38:07] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084fd4550012d196840071fee30003a011a2d..."} 
[2026-09-09 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fd4550012d196840071fee30003a011a2d..."} 
[2026-09-09 12:38:07] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fd4550012d196840071fee30003a011a2d..."} 
[2026-09-09 12:38:07] local.INFO: Packet analysis {"connection_id":175424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fd"} 
[2026-09-09 12:38:07] local.INFO: Extracted packet for processing {"connection_id":175424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fd"} 
[2026-09-09 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937586000,"timestamp_ms":1788937586000,"timestamp_seconds":1788937586,"priority":1,"record_length":96,"hex_timestamp":"000001a084fd4550"} 
[2026-09-09 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-09-09 12:38: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-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:38:07] 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-09-09 12:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:38:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":175424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:38:07] local.INFO: GPS data processed {"connection_id":175424,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:38:07] local.INFO: Acknowledgment sent {"connection_id":175424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:38:18] local.INFO: TCP Data received {"connection_id":178221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:38:18] local.INFO: Processing buffer {"connection_id":178221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:38:18] local.INFO: Packet analysis {"connection_id":178221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:38:18] local.INFO: Extracted packet for processing {"connection_id":178221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:38:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":178221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:38:18] local.INFO: GPS data processed {"connection_id":178221,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:38:18] local.INFO: Acknowledgment sent {"connection_id":178221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:38:28] local.INFO: TCP Data received {"connection_id":176778,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:38:28] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:38:28] local.INFO: IMEI packet received {"connection_id":176778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":176778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:38:31] local.INFO: TCP Data received {"connection_id":176778,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:38:31] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:38:31] local.INFO: IMEI packet received {"connection_id":176778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":176778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:38:35] local.INFO: TCP Data received {"connection_id":176778,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:38:35] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:38:35] local.INFO: IMEI packet received {"connection_id":176778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":176778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:38:36] local.INFO: TCP Data received {"connection_id":176778,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084fd9758012d196840071fee30003a011a2d..."} 
[2026-09-09 12:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fd9758012d196840071fee30003a011a2d..."} 
[2026-09-09 12:38:36] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fd9758012d196840071fee30003a011a2d..."} 
[2026-09-09 12:38:36] local.INFO: Packet analysis {"connection_id":176778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fd"} 
[2026-09-09 12:38:36] local.INFO: Extracted packet for processing {"connection_id":176778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fd"} 
[2026-09-09 12:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968022016001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937607000,"timestamp_ms":1788937607000,"timestamp_seconds":1788937607,"priority":1,"record_length":96,"hex_timestamp":"000001a084fd9758"} 
[2026-09-09 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-09-09 12:38: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-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:38: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-09-09 12: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-09-09 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-09-09 12:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:38:36] 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-09-09 12:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968022016001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968022016001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:38:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968022016001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":176778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:38:36] local.INFO: GPS data processed {"connection_id":176778,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:38:36] local.INFO: Acknowledgment sent {"connection_id":176778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:38:43] local.INFO: TCP Data received {"connection_id":178223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:38:43] local.INFO: Processing buffer {"connection_id":178223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:38:43] local.INFO: IMEI packet received {"connection_id":178223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":178223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:38:48] local.INFO: TCP Data received {"connection_id":178223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:38:48] local.INFO: Processing buffer {"connection_id":178223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:38:48] local.INFO: IMEI packet received {"connection_id":178223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":178223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:38:50] local.INFO: TCP Data received {"connection_id":178223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:38:50] local.INFO: Processing buffer {"connection_id":178223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:38:50] local.INFO: Packet analysis {"connection_id":178223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:38:50] local.INFO: Extracted packet for processing {"connection_id":178223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:38:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":178223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:38:50] local.INFO: GPS data processed {"connection_id":178223,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:38:50] local.INFO: Acknowledgment sent {"connection_id":178223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:38:54] local.INFO: TCP Data received {"connection_id":178223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:38:54] local.INFO: Processing buffer {"connection_id":178223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:38:54] local.INFO: Packet analysis {"connection_id":178223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:38:54] local.INFO: Extracted packet for processing {"connection_id":178223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:38:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":178223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:38:54] local.INFO: GPS data processed {"connection_id":178223,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:38:54] local.INFO: Acknowledgment sent {"connection_id":178223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:39:01] local.INFO: TCP Data received {"connection_id":175425,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:39:01] local.INFO: Processing buffer {"connection_id":175425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:39:01] local.INFO: IMEI packet received {"connection_id":175425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":175425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:39:07] local.INFO: TCP Data received {"connection_id":176778,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084fde960012d196840071fee30003a011a2d..."} 
[2026-09-09 12:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fde960012d196840071fee30003a011a2d..."} 
[2026-09-09 12:39:07] local.INFO: Processing buffer {"connection_id":176778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fde960012d196840071fee30003a011a2d..."} 
[2026-09-09 12:39:07] local.INFO: Packet analysis {"connection_id":176778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fd"} 
[2026-09-09 12:39:07] local.INFO: Extracted packet for processing {"connection_id":176778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fd"} 
[2026-09-09 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968027392001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937628000,"timestamp_ms":1788937628000,"timestamp_seconds":1788937628,"priority":1,"record_length":96,"hex_timestamp":"000001a084fde960"} 
[2026-09-09 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-09-09 12:39: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-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:39:07] 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-09-09 12:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968027392001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968027392001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:39:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968027392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":176778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:39:07] local.INFO: GPS data processed {"connection_id":176778,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:39:07] local.INFO: Acknowledgment sent {"connection_id":176778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:39:30] local.INFO: TCP Data received {"connection_id":178224,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:39:30] local.INFO: Processing buffer {"connection_id":178224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:39:30] local.INFO: IMEI packet received {"connection_id":178224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":178224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:39:31] local.INFO: TCP Data received {"connection_id":178224,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:39:31] local.INFO: Processing buffer {"connection_id":178224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:39:31] local.INFO: IMEI packet received {"connection_id":178224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":178224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:39:35] local.INFO: TCP Data received {"connection_id":178224,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:39:35] local.INFO: Processing buffer {"connection_id":178224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:39:35] local.INFO: IMEI packet received {"connection_id":178224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":178224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:39:36] local.INFO: TCP Data received {"connection_id":178224,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084fe3b68012d196840071fee30003a011a2c..."} 
[2026-09-09 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fe3b68012d196840071fee30003a011a2c..."} 
[2026-09-09 12:39:36] local.INFO: Processing buffer {"connection_id":178224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fe3b68012d196840071fee30003a011a2c..."} 
[2026-09-09 12:39:36] local.INFO: Packet analysis {"connection_id":178224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fe"} 
[2026-09-09 12:39:36] local.INFO: Extracted packet for processing {"connection_id":178224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fe"} 
[2026-09-09 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968032768001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937649000,"timestamp_ms":1788937649000,"timestamp_seconds":1788937649,"priority":1,"record_length":96,"hex_timestamp":"000001a084fe3b68"} 
[2026-09-09 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-09-09 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:39: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-09-09 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-09-09 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-09-09 12:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:39:36] 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-09-09 12:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968032768001,"66":11580,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968032768001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:39:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968032768001,"power":11580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":178224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:39:36] local.INFO: GPS data processed {"connection_id":178224,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:39:36] local.INFO: Acknowledgment sent {"connection_id":178224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:39:38] local.INFO: TCP Data received {"connection_id":175629,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:39:38] local.INFO: Processing buffer {"connection_id":175629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:39:38] local.INFO: IMEI packet received {"connection_id":175629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":175629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:39:44] local.INFO: TCP Data received {"connection_id":175629,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:39:44] local.INFO: Processing buffer {"connection_id":175629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:39:44] local.INFO: IMEI packet received {"connection_id":175629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":175629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:39:45] local.INFO: TCP Data received {"connection_id":175629,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:39:45] local.INFO: Processing buffer {"connection_id":175629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:39:45] local.INFO: Packet analysis {"connection_id":175629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:39:45] local.INFO: Extracted packet for processing {"connection_id":175629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:39:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:39:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":175629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:39:45] local.INFO: GPS data processed {"connection_id":175629,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:39:45] local.INFO: Acknowledgment sent {"connection_id":175629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:40:07] local.INFO: TCP Data received {"connection_id":178224,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084fe8d70012d196840071fee30003a011a2c..."} 
[2026-09-09 12:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fe8d70012d196840071fee30003a011a2c..."} 
[2026-09-09 12:40:07] local.INFO: Processing buffer {"connection_id":178224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fe8d70012d196840071fee30003a011a2c..."} 
[2026-09-09 12:40:07] local.INFO: Packet analysis {"connection_id":178224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fe"} 
[2026-09-09 12:40:07] local.INFO: Extracted packet for processing {"connection_id":178224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fe"} 
[2026-09-09 12:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968038144001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937670000,"timestamp_ms":1788937670000,"timestamp_seconds":1788937670,"priority":1,"record_length":96,"hex_timestamp":"000001a084fe8d70"} 
[2026-09-09 12:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:40: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-09-09 12: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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 12:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:40:07] 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-09-09 12:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968038144001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968038144001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:40:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968038144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":178224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:40:07] local.INFO: GPS data processed {"connection_id":178224,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:40:07] local.INFO: Acknowledgment sent {"connection_id":178224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:40:16] local.INFO: TCP Data received {"connection_id":175629,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:40:16] local.INFO: Processing buffer {"connection_id":175629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:40:16] local.INFO: Packet analysis {"connection_id":175629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:40:16] local.INFO: Extracted packet for processing {"connection_id":175629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":175629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:40:16] local.INFO: GPS data processed {"connection_id":175629,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:40:16] local.INFO: Acknowledgment sent {"connection_id":175629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:40:31] local.INFO: TCP Data received {"connection_id":176779,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:40:31] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:40:31] local.INFO: IMEI packet received {"connection_id":176779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":176779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:40:34] local.INFO: TCP Data received {"connection_id":176779,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:40:34] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:40:34] local.INFO: IMEI packet received {"connection_id":176779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":176779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:40:35] local.INFO: TCP Data received {"connection_id":176779,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084fedf78012d196840071fee30003a011a2a..."} 
[2026-09-09 12:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fedf78012d196840071fee30003a011a2a..."} 
[2026-09-09 12:40:35] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fedf78012d196840071fee30003a011a2a..."} 
[2026-09-09 12:40:35] local.INFO: Packet analysis {"connection_id":176779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fe"} 
[2026-09-09 12:40:35] local.INFO: Extracted packet for processing {"connection_id":176779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fe"} 
[2026-09-09 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968043520001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788937691000,"timestamp_ms":1788937691000,"timestamp_seconds":1788937691,"priority":1,"record_length":96,"hex_timestamp":"000001a084fedf78"} 
[2026-09-09 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-09-09 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:40:35] 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-09-09 12:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968043520001,"66":12254,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968043520001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:40:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968043520001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":176779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:40:35] local.INFO: GPS data processed {"connection_id":176779,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:40:35] local.INFO: Acknowledgment sent {"connection_id":176779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:40:38] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:40:38] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:40:38] local.INFO: IMEI packet received {"connection_id":175426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":175426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:40:43] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:40:43] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:40:43] local.INFO: IMEI packet received {"connection_id":175426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":175426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:40:45] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:40:45] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:40:45] local.INFO: Packet analysis {"connection_id":175426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:40:45] local.INFO: Extracted packet for processing {"connection_id":175426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:40:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":175426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:40:45] local.INFO: GPS data processed {"connection_id":175426,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:40:45] local.INFO: Acknowledgment sent {"connection_id":175426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:41:06] local.INFO: TCP Data received {"connection_id":176779,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ff3180012d196840071fee30003a011a2b..."} 
[2026-09-09 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ff3180012d196840071fee30003a011a2b..."} 
[2026-09-09 12:41:06] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ff3180012d196840071fee30003a011a2b..."} 
[2026-09-09 12:41:06] local.INFO: Packet analysis {"connection_id":176779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ff"} 
[2026-09-09 12:41:06] local.INFO: Extracted packet for processing {"connection_id":176779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ff"} 
[2026-09-09 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968048896001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788937712000,"timestamp_ms":1788937712000,"timestamp_seconds":1788937712,"priority":1,"record_length":96,"hex_timestamp":"000001a084ff3180"} 
[2026-09-09 12:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-09 12:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:41: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-09-09 12:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968048896001,"66":12265,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968048896001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:41:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968048896001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":176779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:41:06] local.INFO: GPS data processed {"connection_id":176779,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:41:06] local.INFO: Acknowledgment sent {"connection_id":176779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:41:17] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:41:17] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084fcf348012d34c48006aa49900012008d2a..."} 
[2026-09-09 12:41:17] local.INFO: Packet analysis {"connection_id":175426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:41:17] local.INFO: Extracted packet for processing {"connection_id":175426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084fc"} 
[2026-09-09 12:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457967939584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788937565000,"timestamp_ms":1788937565000,"timestamp_seconds":1788937565,"priority":1,"record_length":96,"hex_timestamp":"000001a084fcf348"} 
[2026-09-09 12:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457967939584001,"66":25995,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457967939584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457967939584001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":175426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:41:17] local.INFO: GPS data processed {"connection_id":175426,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:41:17] local.INFO: Acknowledgment sent {"connection_id":175426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:41:30] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:41:30] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:41:30] local.INFO: IMEI packet received {"connection_id":176780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":176780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:41:35] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:41:35] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:41:35] local.INFO: IMEI packet received {"connection_id":176780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":176780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:41:36] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ff8388012d196840071fee30003a011a2b..."} 
[2026-09-09 12:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ff8388012d196840071fee30003a011a2b..."} 
[2026-09-09 12:41:36] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ff8388012d196840071fee30003a011a2b..."} 
[2026-09-09 12:41:36] local.INFO: Packet analysis {"connection_id":176780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ff"} 
[2026-09-09 12:41:36] local.INFO: Extracted packet for processing {"connection_id":176780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ff"} 
[2026-09-09 12:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968054272001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937733000,"timestamp_ms":1788937733000,"timestamp_seconds":1788937733,"priority":1,"record_length":96,"hex_timestamp":"000001a084ff8388"} 
[2026-09-09 12:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:41: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-09-09 12: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 12:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:41:36] 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-09-09 12:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968054272001,"66":11656,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968054272001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:41:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968054272001,"power":11656,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":176780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:41:36] local.INFO: GPS data processed {"connection_id":176780,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:41:36] local.INFO: Acknowledgment sent {"connection_id":176780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:41:39] local.INFO: TCP Data received {"connection_id":176781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:41:39] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:41:39] local.INFO: IMEI packet received {"connection_id":176781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":176781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:41:44] local.INFO: TCP Data received {"connection_id":176781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:41:44] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:41:44] local.INFO: IMEI packet received {"connection_id":176781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":176781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:41:46] local.INFO: TCP Data received {"connection_id":176781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:41:46] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:41:46] local.INFO: Packet analysis {"connection_id":176781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:41:46] local.INFO: Extracted packet for processing {"connection_id":176781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":176781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:41:46] local.INFO: GPS data processed {"connection_id":176781,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:41:46] local.INFO: Acknowledgment sent {"connection_id":176781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:42:07] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a084ffd590012d196840071fee30003a011a2c..."} 
[2026-09-09 12:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a084ffd590012d196840071fee30003a011a2c..."} 
[2026-09-09 12:42:07] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a084ffd590012d196840071fee30003a011a2c..."} 
[2026-09-09 12:42:07] local.INFO: Packet analysis {"connection_id":176780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a084ff"} 
[2026-09-09 12:42:07] local.INFO: Extracted packet for processing {"connection_id":176780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a084ff"} 
[2026-09-09 12:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968059648001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937754000,"timestamp_ms":1788937754000,"timestamp_seconds":1788937754,"priority":1,"record_length":96,"hex_timestamp":"000001a084ffd590"} 
[2026-09-09 12:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:42: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-09-09 12: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-09-09 12:42:07] 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-09-09 12: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-09-09 12:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:42:07] 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-09-09 12:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968059648001,"66":11721,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968059648001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:42:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968059648001,"power":11721,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":176780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:42:07] local.INFO: GPS data processed {"connection_id":176780,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:42:07] local.INFO: Acknowledgment sent {"connection_id":176780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:42:17] local.INFO: TCP Data received {"connection_id":176781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:42:17] local.INFO: Processing buffer {"connection_id":176781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:42:17] local.INFO: Packet analysis {"connection_id":176781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:42:17] local.INFO: Extracted packet for processing {"connection_id":176781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":176781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:42:17] local.INFO: GPS data processed {"connection_id":176781,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:42:17] local.INFO: Acknowledgment sent {"connection_id":176781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:42:30] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:42:30] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:42:30] local.INFO: IMEI packet received {"connection_id":175429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":175429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:42:35] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:42:35] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:42:35] local.INFO: IMEI packet received {"connection_id":175429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":175429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:42:36] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085002798012d196840071fee30003a011a2c..."} 
[2026-09-09 12:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085002798012d196840071fee30003a011a2c..."} 
[2026-09-09 12:42:36] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085002798012d196840071fee30003a011a2c..."} 
[2026-09-09 12:42:36] local.INFO: Packet analysis {"connection_id":175429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08500"} 
[2026-09-09 12:42:36] local.INFO: Extracted packet for processing {"connection_id":175429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08500"} 
[2026-09-09 12:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968065024001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937775000,"timestamp_ms":1788937775000,"timestamp_seconds":1788937775,"priority":1,"record_length":96,"hex_timestamp":"000001a085002798"} 
[2026-09-09 12:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:42: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-09-09 12: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 12:42:36] 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-09-09 12: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-09-09 12:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:42:36] 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-09-09 12:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968065024001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968065024001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968065024001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":175429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:42:36] local.INFO: GPS data processed {"connection_id":175429,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:42:36] local.INFO: Acknowledgment sent {"connection_id":175429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:42:43] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:42:43] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:42:43] local.INFO: IMEI packet received {"connection_id":175631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":175631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:42:49] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:42:49] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:42:49] local.INFO: IMEI packet received {"connection_id":175631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":175631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:42:50] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:42:50] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:42:50] local.INFO: Packet analysis {"connection_id":175631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:42:50] local.INFO: Extracted packet for processing {"connection_id":175631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:42:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:42:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":175631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:42:50] local.INFO: GPS data processed {"connection_id":175631,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:42:50] local.INFO: Acknowledgment sent {"connection_id":175631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:43:07] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850079a0012d196840071fee30003a011a2c..."} 
[2026-09-09 12:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850079a0012d196840071fee30003a011a2c..."} 
[2026-09-09 12:43:07] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850079a0012d196840071fee30003a011a2c..."} 
[2026-09-09 12:43:07] local.INFO: Packet analysis {"connection_id":175429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08500"} 
[2026-09-09 12:43:07] local.INFO: Extracted packet for processing {"connection_id":175429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08500"} 
[2026-09-09 12:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968070400001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937796000,"timestamp_ms":1788937796000,"timestamp_seconds":1788937796,"priority":1,"record_length":96,"hex_timestamp":"000001a0850079a0"} 
[2026-09-09 12:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:43: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-09-09 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:43:07] 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-09-09 12:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968070400001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968070400001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968070400001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":175429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:43:07] local.INFO: GPS data processed {"connection_id":175429,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:43:07] local.INFO: Acknowledgment sent {"connection_id":175429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:43:22] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:43:22] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:43:22] local.INFO: Packet analysis {"connection_id":175631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:43:22] local.INFO: Extracted packet for processing {"connection_id":175631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:43:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":175631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:43:22] local.INFO: GPS data processed {"connection_id":175631,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:43:22] local.INFO: Acknowledgment sent {"connection_id":175631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:43:35] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:43:35] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:43:35] local.INFO: IMEI packet received {"connection_id":175430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":175430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:43:38] local.INFO: TCP Data received {"connection_id":175431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:43:38] local.INFO: Processing buffer {"connection_id":175431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:43:38] local.INFO: IMEI packet received {"connection_id":175431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":175431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:43:40] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:43:40] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:43:40] local.INFO: IMEI packet received {"connection_id":175430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":175430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:43:41] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08500cba8012d196840071fee30003a011a2b..."} 
[2026-09-09 12:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08500cba8012d196840071fee30003a011a2b..."} 
[2026-09-09 12:43:41] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08500cba8012d196840071fee30003a011a2b..."} 
[2026-09-09 12:43:41] local.INFO: Packet analysis {"connection_id":175430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08500"} 
[2026-09-09 12:43:41] local.INFO: Extracted packet for processing {"connection_id":175430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08500"} 
[2026-09-09 12:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968075776001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788937817000,"timestamp_ms":1788937817000,"timestamp_seconds":1788937817,"priority":1,"record_length":96,"hex_timestamp":"000001a08500cba8"} 
[2026-09-09 12:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:43:41] 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-09-09 12:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968075776001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968075776001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:43:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968075776001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":175430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:43:41] local.INFO: GPS data processed {"connection_id":175430,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:43:41] local.INFO: Acknowledgment sent {"connection_id":175430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:43:43] local.INFO: TCP Data received {"connection_id":175431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:43:43] local.INFO: Processing buffer {"connection_id":175431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:43:43] local.INFO: IMEI packet received {"connection_id":175431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":175431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:43:44] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085011db0012d196840071fee30003a011a2c..."} 
[2026-09-09 12:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085011db0012d196840071fee30003a011a2c..."} 
[2026-09-09 12:43:44] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085011db0012d196840071fee30003a011a2c..."} 
[2026-09-09 12:43:44] local.INFO: Packet analysis {"connection_id":175430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:43:44] local.INFO: Extracted packet for processing {"connection_id":175430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968081152001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788937838000,"timestamp_ms":1788937838000,"timestamp_seconds":1788937838,"priority":1,"record_length":96,"hex_timestamp":"000001a085011db0"} 
[2026-09-09 12:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:43: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-09-09 12:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:43: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-09-09 12: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-09-09 12:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:43:44] 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-09-09 12:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968081152001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968081152001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:43:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968081152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":175430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:43:44] local.INFO: GPS data processed {"connection_id":175430,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:43:44] local.INFO: Acknowledgment sent {"connection_id":175430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:43:45] local.INFO: TCP Data received {"connection_id":175431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:43:45] local.INFO: Processing buffer {"connection_id":175431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:43:45] local.INFO: Packet analysis {"connection_id":175431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:43:45] local.INFO: Extracted packet for processing {"connection_id":175431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:43:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":175431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:43:45] local.INFO: GPS data processed {"connection_id":175431,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:43:45] local.INFO: Acknowledgment sent {"connection_id":175431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:44:15] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085016fb8012d196840071fee30003a011a2a..."} 
[2026-09-09 12:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085016fb8012d196840071fee30003a011a2a..."} 
[2026-09-09 12:44:15] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085016fb8012d196840071fee30003a011a2a..."} 
[2026-09-09 12:44:15] local.INFO: Packet analysis {"connection_id":175430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:44:15] local.INFO: Extracted packet for processing {"connection_id":175430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968086528001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788937859000,"timestamp_ms":1788937859000,"timestamp_seconds":1788937859,"priority":1,"record_length":96,"hex_timestamp":"000001a085016fb8"} 
[2026-09-09 12:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:44:15] 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-09-09 12:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968086528001,"66":12178,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968086528001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:44:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968086528001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":175430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:44:15] local.INFO: GPS data processed {"connection_id":175430,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:44:15] local.INFO: Acknowledgment sent {"connection_id":175430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:44:16] local.INFO: TCP Data received {"connection_id":175431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:44:16] local.INFO: Processing buffer {"connection_id":175431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:44:16] local.INFO: Packet analysis {"connection_id":175431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:44:16] local.INFO: Extracted packet for processing {"connection_id":175431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":175431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:44:16] local.INFO: GPS data processed {"connection_id":175431,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:44:16] local.INFO: Acknowledgment sent {"connection_id":175431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:44:30] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:44:30] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:44:30] local.INFO: IMEI packet received {"connection_id":176782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":176782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:44:35] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:44:35] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:44:35] local.INFO: IMEI packet received {"connection_id":176782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":176782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:44:36] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08501c1c0012d196840071fee30003a011a2d..."} 
[2026-09-09 12:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08501c1c0012d196840071fee30003a011a2d..."} 
[2026-09-09 12:44:36] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08501c1c0012d196840071fee30003a011a2d..."} 
[2026-09-09 12:44:36] local.INFO: Packet analysis {"connection_id":176782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:44:36] local.INFO: Extracted packet for processing {"connection_id":176782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968091904001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937880000,"timestamp_ms":1788937880000,"timestamp_seconds":1788937880,"priority":1,"record_length":96,"hex_timestamp":"000001a08501c1c0"} 
[2026-09-09 12:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:44: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-09-09 12: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-09 12:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:44:36] 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-09-09 12:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968091904001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968091904001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:44:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968091904001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":176782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:44:36] local.INFO: GPS data processed {"connection_id":176782,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:44:36] local.INFO: Acknowledgment sent {"connection_id":176782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:44:38] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:44:38] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:44:38] local.INFO: IMEI packet received {"connection_id":175633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":175633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:44:41] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850213c8012d196840071fee30003a011a2a..."} 
[2026-09-09 12:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850213c8012d196840071fee30003a011a2a..."} 
[2026-09-09 12:44:41] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850213c8012d196840071fee30003a011a2a..."} 
[2026-09-09 12:44:41] local.INFO: Packet analysis {"connection_id":176782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08502"} 
[2026-09-09 12:44:41] local.INFO: Extracted packet for processing {"connection_id":176782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08502"} 
[2026-09-09 12:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968097280001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44: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-09-09 12:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788937901000,"timestamp_ms":1788937901000,"timestamp_seconds":1788937901,"priority":1,"record_length":96,"hex_timestamp":"000001a0850213c8"} 
[2026-09-09 12:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:44:41] 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-09-09 12:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968097280001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968097280001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:44:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968097280001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":176782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:44:41] local.INFO: GPS data processed {"connection_id":176782,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:44:41] local.INFO: Acknowledgment sent {"connection_id":176782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:44:41] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:44:41] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:44:41] local.INFO: IMEI packet received {"connection_id":175634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":175634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:44:43] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:44:43] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:44:43] local.INFO: IMEI packet received {"connection_id":175633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":175633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:44:44] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:44:44] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:44:44] local.INFO: Packet analysis {"connection_id":175633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:44:44] local.INFO: Extracted packet for processing {"connection_id":175633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":175633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:44:44] local.INFO: GPS data processed {"connection_id":175633,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:44:44] local.INFO: Acknowledgment sent {"connection_id":175633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:45:12] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850265d0012d196840071fee30003a011a2c..."} 
[2026-09-09 12:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850265d0012d196840071fee30003a011a2c..."} 
[2026-09-09 12:45:12] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850265d0012d196840071fee30003a011a2c..."} 
[2026-09-09 12:45:12] local.INFO: Packet analysis {"connection_id":176782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08502"} 
[2026-09-09 12:45:12] local.INFO: Extracted packet for processing {"connection_id":176782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08502"} 
[2026-09-09 12:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968102656001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788937922000,"timestamp_ms":1788937922000,"timestamp_seconds":1788937922,"priority":1,"record_length":96,"hex_timestamp":"000001a0850265d0"} 
[2026-09-09 12:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:45:12] 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-09-09 12:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968102656001,"66":12254,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968102656001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:45:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968102656001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":176782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:45:12] local.INFO: GPS data processed {"connection_id":176782,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:45:12] local.INFO: Acknowledgment sent {"connection_id":176782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:45:15] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:45:15] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:45:15] local.INFO: Packet analysis {"connection_id":175633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:45:15] local.INFO: Extracted packet for processing {"connection_id":175633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":175633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:45:16] local.INFO: GPS data processed {"connection_id":175633,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:45:16] local.INFO: Acknowledgment sent {"connection_id":175633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:45:28] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:45:28] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:45:28] local.INFO: IMEI packet received {"connection_id":175635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":175635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:45:30] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:45:30] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:45:30] local.INFO: IMEI packet received {"connection_id":175635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":175635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:45:35] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:45:35] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:45:35] local.INFO: IMEI packet received {"connection_id":175635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":175635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:45:36] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08502b7d8012d196840071fee30003a011a2b..."} 
[2026-09-09 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08502b7d8012d196840071fee30003a011a2b..."} 
[2026-09-09 12:45:36] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08502b7d8012d196840071fee30003a011a2b..."} 
[2026-09-09 12:45:36] local.INFO: Packet analysis {"connection_id":175635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08502"} 
[2026-09-09 12:45:36] local.INFO: Extracted packet for processing {"connection_id":175635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08502"} 
[2026-09-09 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968108032001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937943000,"timestamp_ms":1788937943000,"timestamp_seconds":1788937943,"priority":1,"record_length":96,"hex_timestamp":"000001a08502b7d8"} 
[2026-09-09 12:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-09 12:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:45:36] 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-09-09 12:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968108032001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968108032001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968108032001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":175635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:45:36] local.INFO: GPS data processed {"connection_id":175635,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:45:36] local.INFO: Acknowledgment sent {"connection_id":175635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:45:38] local.INFO: TCP Data received {"connection_id":178226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:45:38] local.INFO: Processing buffer {"connection_id":178226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:45:38] local.INFO: IMEI packet received {"connection_id":178226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":178226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:45:43] local.INFO: TCP Data received {"connection_id":178226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:45:43] local.INFO: Processing buffer {"connection_id":178226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:45:43] local.INFO: IMEI packet received {"connection_id":178226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":178226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:45:46] local.INFO: TCP Data received {"connection_id":178226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:45:46] local.INFO: Processing buffer {"connection_id":178226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:45:46] local.INFO: Packet analysis {"connection_id":178226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:45:46] local.INFO: Extracted packet for processing {"connection_id":178226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":178226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:45:46] local.INFO: GPS data processed {"connection_id":178226,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:45:46] local.INFO: Acknowledgment sent {"connection_id":178226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:46:07] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850309e0012d196840071fee30003a011a2a..."} 
[2026-09-09 12:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850309e0012d196840071fee30003a011a2a..."} 
[2026-09-09 12:46:07] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850309e0012d196840071fee30003a011a2a..."} 
[2026-09-09 12:46:07] local.INFO: Packet analysis {"connection_id":175635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08503"} 
[2026-09-09 12:46:07] local.INFO: Extracted packet for processing {"connection_id":175635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08503"} 
[2026-09-09 12:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968113408001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788937964000,"timestamp_ms":1788937964000,"timestamp_seconds":1788937964,"priority":1,"record_length":96,"hex_timestamp":"000001a0850309e0"} 
[2026-09-09 12:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:46: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-09-09 12:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:46:07] 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-09-09 12:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968113408001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968113408001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:46:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968113408001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":175635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:46:07] local.INFO: GPS data processed {"connection_id":175635,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:46:07] local.INFO: Acknowledgment sent {"connection_id":175635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:46:17] local.INFO: TCP Data received {"connection_id":178226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:46:17] local.INFO: Processing buffer {"connection_id":178226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:46:17] local.INFO: Packet analysis {"connection_id":178226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:46:17] local.INFO: Extracted packet for processing {"connection_id":178226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 12:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":178226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:46:17] local.INFO: GPS data processed {"connection_id":178226,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:46:17] local.INFO: Acknowledgment sent {"connection_id":178226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:46:30] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:46:30] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:46:30] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:46:31] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:46:31] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:46:31] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:46:35] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:46:35] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:46:35] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:46:36] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085035be8012d196840071fee30003a011a2d..."} 
[2026-09-09 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085035be8012d196840071fee30003a011a2d..."} 
[2026-09-09 12:46:36] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085035be8012d196840071fee30003a011a2d..."} 
[2026-09-09 12:46:36] local.INFO: Packet analysis {"connection_id":175433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08503"} 
[2026-09-09 12:46:36] local.INFO: Extracted packet for processing {"connection_id":175433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08503"} 
[2026-09-09 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968118784001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788937985000,"timestamp_ms":1788937985000,"timestamp_seconds":1788937985,"priority":1,"record_length":96,"hex_timestamp":"000001a085035be8"} 
[2026-09-09 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-09-09 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:46: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-09-09 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-09-09 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-09-09 12:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:46:36] 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-09-09 12:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968118784001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968118784001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968118784001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":175433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:46:36] local.INFO: GPS data processed {"connection_id":175433,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:46:36] local.INFO: Acknowledgment sent {"connection_id":175433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:46:39] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:46:39] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:46:39] local.INFO: IMEI packet received {"connection_id":175637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":175637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:46:43] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:46:43] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:46:43] local.INFO: IMEI packet received {"connection_id":175637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":175637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:46:45] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:46:45] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085018b10012d34c48006aa4990000b008d2d..."} 
[2026-09-09 12:46:45] local.INFO: Packet analysis {"connection_id":175637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:46:45] local.INFO: Extracted packet for processing {"connection_id":175637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08501"} 
[2026-09-09 12:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968016640001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788937866000,"timestamp_ms":1788937866000,"timestamp_seconds":1788937866,"priority":1,"record_length":96,"hex_timestamp":"000001a085018b10"} 
[2026-09-09 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-09-09 12:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 12:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968016640001,"66":25952,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968016640001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968016640001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":175637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:46:45] local.INFO: GPS data processed {"connection_id":175637,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:46:45] local.INFO: Acknowledgment sent {"connection_id":175637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:46:50] local.INFO: TCP Data received {"connection_id":176783,"ip":"172.234.162.56","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-09-09 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176783,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-09-09 12:46:50] local.INFO: Processing buffer {"connection_id":176783,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-09-09 12:46:55] local.INFO: TCP Data received {"connection_id":176784,"ip":"172.234.162.56","data_length":18,"data_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-09-09 12:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":18,"packet_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-09-09 12:46:55] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":18,"buffer_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-09-09 12:46:55] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176784,"buffer_length":18,"first_bytes_hex":"474554202f20485454502f312e300d0a"} 
[2026-09-09 12:47:00] local.INFO: TCP Data received {"connection_id":176785,"ip":"172.234.162.56","data_length":22,"data_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-09-09 12:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176785,"packet_length":22,"packet_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-09-09 12:47:00] local.INFO: Processing buffer {"connection_id":176785,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-09-09 12:47:00] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176785,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20485454502f31"} 
[2026-09-09 12:47:05] local.INFO: TCP Data received {"connection_id":176786,"ip":"172.234.162.56","data_length":22,"data_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-09-09 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":22,"packet_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-09-09 12:47:05] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-09-09 12:47:05] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176786,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20525453502f31"} 
[2026-09-09 12:47:07] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08503adf0012d196840071fee30003a011a2d..."} 
[2026-09-09 12:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08503adf0012d196840071fee30003a011a2d..."} 
[2026-09-09 12:47:07] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08503adf0012d196840071fee30003a011a2d..."} 
[2026-09-09 12:47:07] local.INFO: Packet analysis {"connection_id":175433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08503"} 
[2026-09-09 12:47:07] local.INFO: Extracted packet for processing {"connection_id":175433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08503"} 
[2026-09-09 12:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968124160001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938006000,"timestamp_ms":1788938006000,"timestamp_seconds":1788938006,"priority":1,"record_length":96,"hex_timestamp":"000001a08503adf0"} 
[2026-09-09 12:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:47: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-09-09 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:47:07] 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-09-09 12:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968124160001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968124160001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:47:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968124160001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":175433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:47:07] local.INFO: GPS data processed {"connection_id":175433,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:47:07] local.INFO: Acknowledgment sent {"connection_id":175433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:47:10] local.INFO: TCP Data received {"connection_id":175638,"ip":"172.234.162.56","data_length":44,"data_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-09-09 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175638,"packet_length":44,"packet_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-09-09 12:47:10] local.INFO: Processing buffer {"connection_id":175638,"buffer_length":44,"buffer_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-09-09 12:47:10] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-09-09 12:47:10] local.INFO: Found valid Teltonika packet at position {"connection_id":175638,"packet_position":8,"bytes_removed":8} 
[2026-09-09 12:47:10] local.INFO: Packet analysis {"connection_id":175638,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-09-09 12:47:10] local.INFO: Extracted packet for processing {"connection_id":175638,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00001"} 
[2026-09-09 12:47:10] local.WARNING: Failed to parse Teltonika packet {"connection_id":175638,"packet_length":14} 
[2026-09-09 12:47:10] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175638,"buffer_length":22,"first_bytes_hex":"977c0000000000000000000000000000"} 
[2026-09-09 12:47:15] local.INFO: TCP Data received {"connection_id":176787,"ip":"172.234.162.56","data_length":32,"data_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-09-09 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176787,"packet_length":32,"packet_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-09-09 12:47:15] local.INFO: Processing buffer {"connection_id":176787,"buffer_length":32,"buffer_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-09-09 12:47:15] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176787,"buffer_length":32,"first_bytes_hex":"001e0006010000010000000000000776"} 
[2026-09-09 12:47:17] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:47:17] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:47:17] local.INFO: Packet analysis {"connection_id":175637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:47:17] local.INFO: Extracted packet for processing {"connection_id":175637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":175637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:47:17] local.INFO: GPS data processed {"connection_id":175637,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:47:17] local.INFO: Acknowledgment sent {"connection_id":175637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:47:20] local.INFO: TCP Data received {"connection_id":175639,"ip":"172.234.162.56","data_length":14,"data_hex":"000c000010000000000000000000..."} 
[2026-09-09 12:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175639,"packet_length":14,"packet_hex":"000c000010000000000000000000..."} 
[2026-09-09 12:47:20] local.INFO: Processing buffer {"connection_id":175639,"buffer_length":14,"buffer_hex":"000c000010000000000000000000..."} 
[2026-09-09 12:47:25] local.INFO: TCP Data received {"connection_id":178228,"ip":"172.234.162.56","data_length":6,"data_hex":"48454c500d0a..."} 
[2026-09-09 12:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178228,"packet_length":6,"packet_hex":"48454c500d0a..."} 
[2026-09-09 12:47:25] local.INFO: Processing buffer {"connection_id":178228,"buffer_length":6,"buffer_hex":"48454c500d0a..."} 
[2026-09-09 12:47:30] local.INFO: TCP Data received {"connection_id":178229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:47:30] local.INFO: Processing buffer {"connection_id":178229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:47:30] local.INFO: IMEI packet received {"connection_id":178229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":178229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:47:32] local.INFO: TCP Data received {"connection_id":176788,"ip":"172.234.162.56","data_length":88,"data_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-09-09 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":88,"packet_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-09-09 12:47:32] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":88,"buffer_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-09-09 12:47:32] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176788,"buffer_length":88,"first_bytes_hex":"16030000530100004f03003f47d7f7ba"} 
[2026-09-09 12:47:35] local.INFO: TCP Data received {"connection_id":178229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:47:35] local.INFO: Processing buffer {"connection_id":178229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:47:35] local.INFO: IMEI packet received {"connection_id":178229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":178229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:47:36] local.INFO: TCP Data received {"connection_id":178229,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08503fff8012d196840071fee30003a011a2c..."} 
[2026-09-09 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08503fff8012d196840071fee30003a011a2c..."} 
[2026-09-09 12:47:36] local.INFO: Processing buffer {"connection_id":178229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08503fff8012d196840071fee30003a011a2c..."} 
[2026-09-09 12:47:36] local.INFO: Packet analysis {"connection_id":178229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08503"} 
[2026-09-09 12:47:36] local.INFO: Extracted packet for processing {"connection_id":178229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08503"} 
[2026-09-09 12:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968129536001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938027000,"timestamp_ms":1788938027000,"timestamp_seconds":1788938027,"priority":1,"record_length":96,"hex_timestamp":"000001a08503fff8"} 
[2026-09-09 12:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:47: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-09-09 12:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:47: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-09-09 12:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:47:36] 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-09-09 12:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968129536001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968129536001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968129536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":178229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:47:36] local.INFO: GPS data processed {"connection_id":178229,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:47:36] local.INFO: Acknowledgment sent {"connection_id":178229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:47:38] local.INFO: TCP Data received {"connection_id":175435,"ip":"172.234.162.56","data_length":42,"data_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-09-09 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":42,"packet_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-09-09 12:47:38] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":42,"buffer_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-09-09 12:47:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175435,"buffer_length":42,"first_bytes_hex":"0300002a25e00000000000436f6f6b69"} 
[2026-09-09 12:47:38] local.INFO: TCP Data received {"connection_id":175434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:47:38] local.INFO: Processing buffer {"connection_id":175434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:47:38] local.INFO: IMEI packet received {"connection_id":175434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":175434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:47:43] local.INFO: TCP Data received {"connection_id":175436,"ip":"172.234.162.56","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-09-09 12:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175436,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-09-09 12:47:43] local.INFO: Processing buffer {"connection_id":175436,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-09-09 12:47:43] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175436,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-09-09 12:47:43] local.INFO: TCP Data received {"connection_id":175434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:47:43] local.INFO: Processing buffer {"connection_id":175434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:47:43] local.INFO: IMEI packet received {"connection_id":175434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:47:45] local.INFO: TCP Data received {"connection_id":175434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:47:45] local.INFO: Processing buffer {"connection_id":175434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:47:45] local.INFO: Packet analysis {"connection_id":175434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:47:45] local.INFO: Extracted packet for processing {"connection_id":175434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":175434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:47:45] local.INFO: GPS data processed {"connection_id":175434,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:47:45] local.INFO: Acknowledgment sent {"connection_id":175434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:47:48] local.INFO: TCP Data received {"connection_id":176789,"ip":"172.234.162.56","data_length":117,"data_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-09-09 12:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":117,"packet_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-09-09 12:47:48] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":117,"buffer_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-09-09 12:47:48] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176789,"buffer_length":117,"first_bytes_hex":"000000716a816e30816ba103020105a2"} 
[2026-09-09 12:47:53] local.INFO: TCP Data received {"connection_id":175640,"ip":"172.234.162.56","data_length":168,"data_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-09-09 12:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175640,"packet_length":168,"packet_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-09-09 12:47:53] local.INFO: Processing buffer {"connection_id":175640,"buffer_length":168,"buffer_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-09-09 12:47:53] local.INFO: Found valid packet candidate {"position":23,"data_field_length":64,"total_length":76,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-09-09 12:47:53] local.INFO: Found valid Teltonika packet at position {"connection_id":175640,"packet_position":23,"bytes_removed":23} 
[2026-09-09 12:47:53] local.INFO: Packet analysis {"connection_id":175640,"data_field_length":64,"total_packet_length":76,"buffer_length":145,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-09-09 12:47:53] local.INFO: Extracted packet for processing {"connection_id":175640,"packet_length":76,"remaining_buffer_length":69,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-09-09 12:47:53] local.WARNING: Failed to parse Teltonika packet {"connection_id":175640,"packet_length":76} 
[2026-09-09 12:47:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175640,"buffer_length":69,"first_bytes_hex":"4e4554574f524b5320332e3000024c41"} 
[2026-09-09 12:47:58] local.INFO: TCP Data received {"connection_id":176790,"ip":"172.234.162.56","data_length":12,"data_hex":"6c000b000000000000000000..."} 
[2026-09-09 12:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":12,"packet_hex":"6c000b000000000000000000..."} 
[2026-09-09 12:47:58] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":12,"buffer_hex":"6c000b000000000000000000..."} 
[2026-09-09 12:48:03] local.INFO: TCP Data received {"connection_id":175641,"ip":"172.234.162.56","data_length":53,"data_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-09-09 12:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175641,"packet_length":53,"packet_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-09-09 12:48:03] local.INFO: Processing buffer {"connection_id":175641,"buffer_length":53,"buffer_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-09-09 12:48:03] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175641,"buffer_length":53,"first_bytes_hex":"474554202f6e696365253230706f7274"} 
[2026-09-09 12:48:07] local.INFO: TCP Data received {"connection_id":178229,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085045200012d196840071fee30003a011a2d..."} 
[2026-09-09 12:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085045200012d196840071fee30003a011a2d..."} 
[2026-09-09 12:48:07] local.INFO: Processing buffer {"connection_id":178229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085045200012d196840071fee30003a011a2d..."} 
[2026-09-09 12:48:07] local.INFO: Packet analysis {"connection_id":178229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08504"} 
[2026-09-09 12:48:07] local.INFO: Extracted packet for processing {"connection_id":178229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08504"} 
[2026-09-09 12:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968134912001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938048000,"timestamp_ms":1788938048000,"timestamp_seconds":1788938048,"priority":1,"record_length":96,"hex_timestamp":"000001a085045200"} 
[2026-09-09 12:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:48: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-09-09 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:48:07] 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-09-09 12:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968134912001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968134912001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:48:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968134912001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":178229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:48:07] local.INFO: GPS data processed {"connection_id":178229,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:48:07] local.INFO: Acknowledgment sent {"connection_id":178229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:48:08] local.INFO: TCP Data received {"connection_id":175642,"ip":"172.234.162.56","data_length":9,"data_hex":"0164656661756c740a..."} 
[2026-09-09 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":9,"packet_hex":"0164656661756c740a..."} 
[2026-09-09 12:48:08] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":9,"buffer_hex":"0164656661756c740a..."} 
[2026-09-09 12:48:13] local.INFO: TCP Data received {"connection_id":176791,"ip":"172.234.162.56","data_length":51,"data_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-09-09 12:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":51,"packet_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-09-09 12:48:13] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":51,"buffer_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-09-09 12:48:13] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176791,"buffer_length":51,"first_bytes_hex":"30840000002d02010763840000002404"} 
[2026-09-09 12:48:16] local.INFO: TCP Data received {"connection_id":175434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:48:16] local.INFO: Processing buffer {"connection_id":175434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:48:16] local.INFO: Packet analysis {"connection_id":175434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:48:16] local.INFO: Extracted packet for processing {"connection_id":175434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":175434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:48:16] local.INFO: GPS data processed {"connection_id":175434,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:48:16] local.INFO: Acknowledgment sent {"connection_id":175434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:48:18] local.INFO: TCP Data received {"connection_id":175643,"ip":"172.234.162.56","data_length":14,"data_hex":"300c020101600702010204008000..."} 
[2026-09-09 12:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175643,"packet_length":14,"packet_hex":"300c020101600702010204008000..."} 
[2026-09-09 12:48:18] local.INFO: Processing buffer {"connection_id":175643,"buffer_length":14,"buffer_hex":"300c020101600702010204008000..."} 
[2026-09-09 12:48:23] local.INFO: TCP Data received {"connection_id":176792,"ip":"172.234.162.56","data_length":223,"data_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-09-09 12:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":223,"packet_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-09-09 12:48:23] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":223,"buffer_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-09-09 12:48:23] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176792,"buffer_length":223,"first_bytes_hex":"4f5054494f4e53207369703a6e6d2053"} 
[2026-09-09 12:48:30] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:48:30] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:48:30] local.INFO: IMEI packet received {"connection_id":176793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":176793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:48:31] local.INFO: TCP Data received {"connection_id":175644,"ip":"172.234.162.56","data_length":16,"data_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-09-09 12:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175644,"packet_length":16,"packet_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-09-09 12:48:31] local.INFO: Processing buffer {"connection_id":175644,"buffer_length":16,"buffer_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-09-09 12:48:31] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175644,"buffer_length":16,"first_bytes_hex":"544e4d5004000000544e4d4500000400"} 
[2026-09-09 12:48:35] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:48:35] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:48:35] local.INFO: IMEI packet received {"connection_id":176793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":176793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:48:36] local.INFO: TCP Data received {"connection_id":175437,"ip":"172.234.162.56","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-09-09 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175437,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-09-09 12:48:36] local.INFO: Processing buffer {"connection_id":175437,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-09-09 12:48:36] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08504a408012d196840071fee30003a011a2a..."} 
[2026-09-09 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08504a408012d196840071fee30003a011a2a..."} 
[2026-09-09 12:48:36] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08504a408012d196840071fee30003a011a2a..."} 
[2026-09-09 12:48:36] local.INFO: Packet analysis {"connection_id":176793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08504"} 
[2026-09-09 12:48:36] local.INFO: Extracted packet for processing {"connection_id":176793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08504"} 
[2026-09-09 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968140288001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938069000,"timestamp_ms":1788938069000,"timestamp_seconds":1788938069,"priority":1,"record_length":96,"hex_timestamp":"000001a08504a408"} 
[2026-09-09 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-09-09 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:48: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-09-09 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-09-09 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-09-09 12:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:48:36] 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-09-09 12:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968140288001,"66":12232,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968140288001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:48:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968140288001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":176793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:48:36] local.INFO: GPS data processed {"connection_id":176793,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:48:36] local.INFO: Acknowledgment sent {"connection_id":176793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:48:38] local.INFO: TCP Data received {"connection_id":178232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:48:38] local.INFO: Processing buffer {"connection_id":178232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:48:38] local.INFO: IMEI packet received {"connection_id":178232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":178232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:48:41] local.INFO: TCP Data received {"connection_id":176794,"ip":"172.234.162.56","data_length":23,"data_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-09-09 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176794,"packet_length":23,"packet_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-09-09 12:48:41] local.INFO: Processing buffer {"connection_id":176794,"buffer_length":23,"buffer_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-09-09 12:48:41] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176794,"buffer_length":23,"first_bytes_hex":"446d6454000000170000000100000000"} 
[2026-09-09 12:48:44] local.INFO: TCP Data received {"connection_id":178232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:48:44] local.INFO: Processing buffer {"connection_id":178232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:48:44] local.INFO: IMEI packet received {"connection_id":178232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":178232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:48:45] local.INFO: TCP Data received {"connection_id":178232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:48:45] local.INFO: Processing buffer {"connection_id":178232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:48:45] local.INFO: Packet analysis {"connection_id":178232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:48:45] local.INFO: Extracted packet for processing {"connection_id":178232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:48:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":178232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:48:45] local.INFO: GPS data processed {"connection_id":178232,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:48:45] local.INFO: Acknowledgment sent {"connection_id":178232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:48:46] local.INFO: TCP Data received {"connection_id":175645,"ip":"172.234.162.56","data_length":60,"data_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-09-09 12:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175645,"packet_length":60,"packet_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-09-09 12:48:46] local.INFO: Processing buffer {"connection_id":175645,"buffer_length":60,"buffer_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-09-09 12:48:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175645,"buffer_length":60,"first_bytes_hex":"3a0000002f00000002000040020f0001"} 
[2026-09-09 12:48:51] local.INFO: TCP Data received {"connection_id":175646,"ip":"172.234.162.56","data_length":7,"data_hex":"4a524d4900024b..."} 
[2026-09-09 12:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":7,"packet_hex":"4a524d4900024b..."} 
[2026-09-09 12:48:51] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":7,"buffer_hex":"4a524d4900024b..."} 
[2026-09-09 12:48:56] local.INFO: TCP Data received {"connection_id":178233,"ip":"172.234.162.56","data_length":175,"data_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-09-09 12:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178233,"packet_length":175,"packet_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-09-09 12:48:56] local.INFO: Processing buffer {"connection_id":178233,"buffer_length":175,"buffer_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-09-09 12:48:56] local.INFO: Found valid packet candidate {"position":24,"data_field_length":18,"total_length":30,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-09-09 12:48:56] local.INFO: Found valid Teltonika packet at position {"connection_id":178233,"packet_position":24,"bytes_removed":24} 
[2026-09-09 12:48:56] local.INFO: Packet analysis {"connection_id":178233,"data_field_length":18,"total_packet_length":30,"buffer_length":151,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-09-09 12:48:56] local.INFO: Extracted packet for processing {"connection_id":178233,"packet_length":30,"remaining_buffer_length":121,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-09-09 12:48:56] local.WARNING: Failed to parse Teltonika packet {"connection_id":178233,"packet_length":30} 
[2026-09-09 12:48:56] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":178233,"buffer_length":121,"first_bytes_hex":"0050006c0061007900650072002f0039"} 
[2026-09-09 12:49:01] local.INFO: TCP Data received {"connection_id":176795,"ip":"172.234.162.56","data_length":90,"data_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-09-09 12:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176795,"packet_length":90,"packet_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-09-09 12:49:01] local.INFO: Processing buffer {"connection_id":176795,"buffer_length":90,"buffer_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-09-09 12:49:01] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176795,"buffer_length":90,"first_bytes_hex":"005a0000010000000136012c00000800"} 
[2026-09-09 12:49:06] local.INFO: TCP Data received {"connection_id":176796,"ip":"172.234.162.56","data_length":52,"data_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-09-09 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":52,"packet_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-09-09 12:49:06] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":52,"buffer_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-09-09 12:49:06] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176796,"buffer_length":52,"first_bytes_hex":"1201003400000000000015000601001b"} 
[2026-09-09 12:49:07] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08504f610012d196840071fee30003a011a2c..."} 
[2026-09-09 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08504f610012d196840071fee30003a011a2c..."} 
[2026-09-09 12:49:07] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08504f610012d196840071fee30003a011a2c..."} 
[2026-09-09 12:49:07] local.INFO: Packet analysis {"connection_id":176793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08504"} 
[2026-09-09 12:49:07] local.INFO: Extracted packet for processing {"connection_id":176793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08504"} 
[2026-09-09 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968145664001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938090000,"timestamp_ms":1788938090000,"timestamp_seconds":1788938090,"priority":1,"record_length":96,"hex_timestamp":"000001a08504f610"} 
[2026-09-09 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-09-09 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 12:49: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-09-09 12: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-09-09 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-09-09 12:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:49:07] 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-09-09 12:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968145664001,"66":12211,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968145664001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:49:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968145664001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":176793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:49:07] local.INFO: GPS data processed {"connection_id":176793,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:49:07] local.INFO: Acknowledgment sent {"connection_id":176793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:49:11] local.INFO: TCP Data received {"connection_id":176797,"ip":"172.234.162.56","data_length":18,"data_hex":"000300010000000000000002000000000f00..."} 
[2026-09-09 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176797,"packet_length":18,"packet_hex":"000300010000000000000002000000000f00..."} 
[2026-09-09 12:49:11] local.INFO: Processing buffer {"connection_id":176797,"buffer_length":18,"buffer_hex":"000300010000000000000002000000000f00..."} 
[2026-09-09 12:49:11] local.INFO: Found valid packet candidate {"position":4,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000000000f00"} 
[2026-09-09 12:49:11] local.INFO: Found valid Teltonika packet at position {"connection_id":176797,"packet_position":4,"bytes_removed":4} 
[2026-09-09 12:49:16] local.INFO: TCP Data received {"connection_id":175647,"ip":"172.234.162.56","data_length":48,"data_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-09-09 12:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175647,"packet_length":48,"packet_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-09-09 12:49:16] local.INFO: Processing buffer {"connection_id":175647,"buffer_length":48,"buffer_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-09-09 12:49:16] local.INFO: Found valid packet candidate {"position":9,"data_field_length":1,"total_length":13,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-09-09 12:49:16] local.INFO: Found valid Teltonika packet at position {"connection_id":175647,"packet_position":9,"bytes_removed":9} 
[2026-09-09 12:49:16] local.INFO: Packet analysis {"connection_id":175647,"data_field_length":1,"total_packet_length":13,"buffer_length":39,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-09-09 12:49:16] local.INFO: Extracted packet for processing {"connection_id":175647,"packet_length":13,"remaining_buffer_length":26,"packet_hex_start":"00000000000000010000000100"} 
[2026-09-09 12:49:16] local.WARNING: Failed to parse Teltonika packet {"connection_id":175647,"packet_length":13} 
[2026-09-09 12:49:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175647,"buffer_length":26,"first_bytes_hex":"00000600000061626364656600000400"} 
[2026-09-09 12:49:16] local.INFO: TCP Data received {"connection_id":178232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:49:16] local.INFO: Processing buffer {"connection_id":178232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:49:16] local.INFO: Packet analysis {"connection_id":178232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:49:16] local.INFO: Extracted packet for processing {"connection_id":178232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12: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-09-09 12:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":178232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:49:16] local.INFO: GPS data processed {"connection_id":178232,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:49:16] local.INFO: Acknowledgment sent {"connection_id":178232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:49:21] local.INFO: TCP Data received {"connection_id":176798,"ip":"172.234.162.56","data_length":8,"data_hex":"414d515000000901..."} 
[2026-09-09 12:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176798,"packet_length":8,"packet_hex":"414d515000000901..."} 
[2026-09-09 12:49:21] local.INFO: Processing buffer {"connection_id":176798,"buffer_length":8,"buffer_hex":"414d515000000901..."} 
[2026-09-09 12:49:26] local.INFO: TCP Data received {"connection_id":176799,"ip":"172.234.162.56","data_length":32,"data_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-09-09 12:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176799,"packet_length":32,"packet_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-09-09 12:49:26] local.INFO: Processing buffer {"connection_id":176799,"buffer_length":32,"buffer_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-09-09 12:49:26] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176799,"buffer_length":32,"first_bytes_hex":"474554202f646576696365646573632e"} 
[2026-09-09 12:49:30] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:49:30] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:49:30] local.INFO: IMEI packet received {"connection_id":175438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":175438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:49:31] local.INFO: TCP Data received {"connection_id":175648,"ip":"172.234.162.56","data_length":29,"data_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-09-09 12:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175648,"packet_length":29,"packet_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-09-09 12:49:31] local.INFO: Processing buffer {"connection_id":175648,"buffer_length":29,"buffer_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-09-09 12:49:31] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175648,"buffer_length":29,"first_bytes_hex":"434f4e4e4543540a6163636570742d76"} 
[2026-09-09 12:49:35] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:49:35] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:49:35] local.INFO: IMEI packet received {"connection_id":175438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":175438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:49:36] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085054818012d196840071fee30003a011a2d..."} 
[2026-09-09 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085054818012d196840071fee30003a011a2d..."} 
[2026-09-09 12:49:36] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085054818012d196840071fee30003a011a2d..."} 
[2026-09-09 12:49:36] local.INFO: Packet analysis {"connection_id":175438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08505"} 
[2026-09-09 12:49:36] local.INFO: Extracted packet for processing {"connection_id":175438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08505"} 
[2026-09-09 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968151040001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938111000,"timestamp_ms":1788938111000,"timestamp_seconds":1788938111,"priority":1,"record_length":96,"hex_timestamp":"000001a085054818"} 
[2026-09-09 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-09-09 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 12:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:49:36] 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-09-09 12:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968151040001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968151040001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:49:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968151040001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":175438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:49:36] local.INFO: GPS data processed {"connection_id":175438,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:49:36] local.INFO: Acknowledgment sent {"connection_id":175438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:49:36] local.INFO: TCP Data received {"connection_id":176800,"ip":"172.234.162.56","data_length":64,"data_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-09-09 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176800,"packet_length":64,"packet_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-09-09 12:49:36] local.INFO: Processing buffer {"connection_id":176800,"buffer_length":64,"buffer_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-09-09 12:49:36] local.INFO: Found valid packet candidate {"position":1,"data_field_length":11,"total_length":23,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-09-09 12:49:36] local.INFO: Found valid Teltonika packet at position {"connection_id":176800,"packet_position":1,"bytes_removed":1} 
[2026-09-09 12:49:36] local.INFO: Packet analysis {"connection_id":176800,"data_field_length":11,"total_packet_length":23,"buffer_length":63,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-09-09 12:49:36] local.INFO: Extracted packet for processing {"connection_id":176800,"packet_length":23,"remaining_buffer_length":40,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-09-09 12:49:36] local.WARNING: Failed to parse Teltonika packet {"connection_id":176800,"packet_length":23} 
[2026-09-09 12:49:36] local.WARNING: Invalid data field length, searching for next valid packet {"connection_id":176800,"data_field_length":0,"buffer_length":40} 
[2026-09-09 12:49:36] local.INFO: Found valid packet candidate {"position":5,"data_field_length":8,"total_length":20,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-09-09 12:49:36] local.INFO: Packet analysis {"connection_id":176800,"data_field_length":8,"total_packet_length":20,"buffer_length":31,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-09-09 12:49:36] local.INFO: Extracted packet for processing {"connection_id":176800,"packet_length":20,"remaining_buffer_length":11,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-09-09 12:49:36] local.WARNING: Failed to parse Teltonika packet {"connection_id":176800,"packet_length":20} 
[2026-09-09 12:49:39] local.INFO: TCP Data received {"connection_id":176801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:49:39] local.INFO: Processing buffer {"connection_id":176801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:49:39] local.INFO: IMEI packet received {"connection_id":176801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":176801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:49:41] local.INFO: TCP Data received {"connection_id":176802,"ip":"172.234.162.56","data_length":4,"data_hex":"01000000..."} 
[2026-09-09 12:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":4,"packet_hex":"01000000..."} 
[2026-09-09 12:49:41] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":4,"buffer_hex":"01000000..."} 
[2026-09-09 12:49:44] local.INFO: TCP Data received {"connection_id":176801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:49:44] local.INFO: Processing buffer {"connection_id":176801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:49:44] local.INFO: IMEI packet received {"connection_id":176801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":176801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:49:45] local.INFO: TCP Data received {"connection_id":176801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:49:45] local.INFO: Processing buffer {"connection_id":176801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:49:45] local.INFO: Packet analysis {"connection_id":176801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:49:45] local.INFO: Extracted packet for processing {"connection_id":176801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:49:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":176801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:49:45] local.INFO: GPS data processed {"connection_id":176801,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:49:45] local.INFO: Acknowledgment sent {"connection_id":176801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:49:46] local.INFO: TCP Data received {"connection_id":178235,"ip":"172.234.162.56","data_length":24,"data_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-09-09 12:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178235,"packet_length":24,"packet_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-09-09 12:49:46] local.INFO: Processing buffer {"connection_id":178235,"buffer_length":24,"buffer_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-09-09 12:49:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":178235,"buffer_length":24,"first_bytes_hex":"63000000000000000000000000000000"} 
[2026-09-09 12:50:07] local.INFO: TCP Data received {"connection_id":178234,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:50:07] local.INFO: Processing buffer {"connection_id":178234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:50:07] local.INFO: IMEI packet received {"connection_id":178234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":178234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:50:07] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085059a20012d196840071fee30003a011a2c..."} 
[2026-09-09 12:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085059a20012d196840071fee30003a011a2c..."} 
[2026-09-09 12:50:07] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085059a20012d196840071fee30003a011a2c..."} 
[2026-09-09 12:50:07] local.INFO: Packet analysis {"connection_id":175438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08505"} 
[2026-09-09 12:50:07] local.INFO: Extracted packet for processing {"connection_id":175438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08505"} 
[2026-09-09 12:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968156416001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938132000,"timestamp_ms":1788938132000,"timestamp_seconds":1788938132,"priority":1,"record_length":96,"hex_timestamp":"000001a085059a20"} 
[2026-09-09 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-09-09 12:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:50:07] 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-09-09 12:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968156416001,"66":12287,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968156416001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:50:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968156416001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":175438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:50:08] local.INFO: GPS data processed {"connection_id":175438,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:50:08] local.INFO: Acknowledgment sent {"connection_id":175438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:50:16] local.INFO: TCP Data received {"connection_id":176801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:50:16] local.INFO: Processing buffer {"connection_id":176801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:50:16] local.INFO: Packet analysis {"connection_id":176801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:50:16] local.INFO: Extracted packet for processing {"connection_id":176801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":176801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:50:16] local.INFO: GPS data processed {"connection_id":176801,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:50:16] local.INFO: Acknowledgment sent {"connection_id":176801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:50:17] local.INFO: TCP Data received {"connection_id":175650,"ip":"172.234.162.56","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-09-09 12:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-09-09 12:50:17] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-09-09 12:50:17] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175650,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-09-09 12:50:30] local.INFO: TCP Data received {"connection_id":175651,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:50:30] local.INFO: Processing buffer {"connection_id":175651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:50:30] local.INFO: IMEI packet received {"connection_id":175651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":175651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:50:33] local.INFO: TCP Data received {"connection_id":175652,"ip":"172.234.162.56","data_length":44,"data_hex":"8000002804826da20000000000000002000186a0000000020000000000000000..."} 
[2026-09-09 12:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175652,"packet_length":44,"packet_hex":"8000002804826da20000000000000002000186a0000000020000000000000000..."} 
[2026-09-09 12:50:33] local.INFO: Processing buffer {"connection_id":175652,"buffer_length":44,"buffer_hex":"8000002804826da20000000000000002000186a0000000020000000000000000..."} 
[2026-09-09 12:50:33] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-09-09 12:50:33] local.INFO: Found valid Teltonika packet at position {"connection_id":175652,"packet_position":8,"bytes_removed":8} 
[2026-09-09 12:50:33] local.INFO: Packet analysis {"connection_id":175652,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-09-09 12:50:33] local.INFO: Extracted packet for processing {"connection_id":175652,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00000"} 
[2026-09-09 12:50:33] local.WARNING: Failed to parse Teltonika packet {"connection_id":175652,"packet_length":14} 
[2026-09-09 12:50:33] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175652,"buffer_length":22,"first_bytes_hex":"00020000000000000000000000000000"} 
[2026-09-09 12:50:35] local.INFO: TCP Data received {"connection_id":175651,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:50:35] local.INFO: Processing buffer {"connection_id":175651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:50:35] local.INFO: IMEI packet received {"connection_id":175651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":175651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:50:36] local.INFO: TCP Data received {"connection_id":175651,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08505ec28012d196840071fee30003a011a2d..."} 
[2026-09-09 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08505ec28012d196840071fee30003a011a2d..."} 
[2026-09-09 12:50:36] local.INFO: Processing buffer {"connection_id":175651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08505ec28012d196840071fee30003a011a2d..."} 
[2026-09-09 12:50:36] local.INFO: Packet analysis {"connection_id":175651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08505"} 
[2026-09-09 12:50:36] local.INFO: Extracted packet for processing {"connection_id":175651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08505"} 
[2026-09-09 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533104,"longitude_deg":75.6639808,"latitude_deg":11.9533104,"altitude":58,"angle":282,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968161792001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838581258747904,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870758912,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938153000,"timestamp_ms":1788938153000,"timestamp_seconds":1788938153,"priority":1,"record_length":96,"hex_timestamp":"000001a08505ec28"} 
[2026-09-09 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-09-09 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 12:50: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-09-09 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-09-09 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-09-09 12:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:50:36] 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-09-09 12:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968161792001,"66":12232,"102":206,"83":41984,"24":0,"16":18838581258747904,"45":1830783647870758912},"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-09-09 12:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968161792001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:50:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838581258747904,"km_value":18838581258747.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870758912,"description":"Unknown IO ID 45"} 
[2026-09-09 12:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968161792001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870758912}} 
[2026-09-09 12:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":175651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:50:36] local.INFO: GPS data processed {"connection_id":175651,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:50:36] local.INFO: Acknowledgment sent {"connection_id":175651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:50:43] local.INFO: TCP Data received {"connection_id":175439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:50:43] local.INFO: Processing buffer {"connection_id":175439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:50:43] local.INFO: IMEI packet received {"connection_id":175439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":175439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:50:48] local.INFO: TCP Data received {"connection_id":175439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:50:48] local.INFO: Processing buffer {"connection_id":175439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:50:48] local.INFO: IMEI packet received {"connection_id":175439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":175439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:50:50] local.INFO: TCP Data received {"connection_id":175439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:50:50] local.INFO: Processing buffer {"connection_id":175439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:50:50] local.INFO: Packet analysis {"connection_id":175439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:50:50] local.INFO: Extracted packet for processing {"connection_id":175439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:50:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":175439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:50:50] local.INFO: GPS data processed {"connection_id":175439,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:50:50] local.INFO: Acknowledgment sent {"connection_id":175439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:50:55] local.INFO: TCP Data received {"connection_id":175439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:50:55] local.INFO: Processing buffer {"connection_id":175439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:50:55] local.INFO: Packet analysis {"connection_id":175439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:50:55] local.INFO: Extracted packet for processing {"connection_id":175439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:50:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:50:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":175439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:50:55] local.INFO: GPS data processed {"connection_id":175439,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:50:55] local.INFO: Acknowledgment sent {"connection_id":175439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:51:07] local.INFO: TCP Data received {"connection_id":175651,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850a06f0012d1966c0071fedb0003c008b2c..."} 
[2026-09-09 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850a06f0012d1966c0071fedb0003c008b2c..."} 
[2026-09-09 12:51:07] local.INFO: Processing buffer {"connection_id":175651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850a06f0012d1966c0071fedb0003c008b2c..."} 
[2026-09-09 12:51:07] local.INFO: Packet analysis {"connection_id":175651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:51:07] local.INFO: Extracted packet for processing {"connection_id":175651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119532976,"longitude_deg":75.6639424,"latitude_deg":11.9532976,"altitude":60,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedb0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968235520001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838624208420864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405662208,"note":"Value kept but may cause issues"} 
[2026-09-09 12:51: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-09-09 12:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938422000,"timestamp_ms":1788938422000,"timestamp_seconds":1788938422,"priority":1,"record_length":96,"hex_timestamp":"000001a0850a06f0"} 
[2026-09-09 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-09-09 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-09 12:51: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-09-09 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-09-09 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-09-09 12:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:51:07] 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-09-09 12:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968235520001,"66":13928,"102":206,"83":41984,"24":0,"16":18838624208420864,"45":1830361435405662208},"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-09-09 12:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968235520001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:51:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838624208420864,"km_value":18838624208420.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405662208,"description":"Unknown IO ID 45"} 
[2026-09-09 12:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968235520001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405662208}} 
[2026-09-09 12:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":175651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:51:07] local.INFO: GPS data processed {"connection_id":175651,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:51:07] local.INFO: Acknowledgment sent {"connection_id":175651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:51:30] local.INFO: TCP Data received {"connection_id":175653,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:51:30] local.INFO: Processing buffer {"connection_id":175653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:51:30] local.INFO: IMEI packet received {"connection_id":175653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":175653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:51:35] local.INFO: TCP Data received {"connection_id":175653,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:51:35] local.INFO: Processing buffer {"connection_id":175653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:51:35] local.INFO: IMEI packet received {"connection_id":175653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":175653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:51:36] local.INFO: TCP Data received {"connection_id":175653,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850a0ec0012d196740071fed20003d007c2c..."} 
[2026-09-09 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850a0ec0012d196740071fed20003d007c2c..."} 
[2026-09-09 12:51:36] local.INFO: Processing buffer {"connection_id":175653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850a0ec0012d196740071fed20003d007c2c..."} 
[2026-09-09 12:51:36] local.INFO: Packet analysis {"connection_id":175653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:51:36] local.INFO: Extracted packet for processing {"connection_id":175653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532832,"longitude_deg":75.6639552,"latitude_deg":11.9532832,"altitude":61,"angle":124,"satellites":44,"speed":4,"hex_longitude":"2d196740","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968236032001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838632798355456,"note":"Value kept but may cause issues"} 
[2026-09-09 12:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405660160,"note":"Value kept but may cause issues"} 
[2026-09-09 12:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938424000,"timestamp_ms":1788938424000,"timestamp_seconds":1788938424,"priority":1,"record_length":96,"hex_timestamp":"000001a0850a0ec0"} 
[2026-09-09 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-09-09 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 12:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:51:36] 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-09-09 12:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968236032001,"66":13928,"102":206,"83":41984,"24":4,"16":18838632798355456,"45":1830361435405660160},"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-09-09 12:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968236032001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:51:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 12:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838632798355456,"km_value":18838632798355.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405660160,"description":"Unknown IO ID 45"} 
[2026-09-09 12:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968236032001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830361435405660160}} 
[2026-09-09 12:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":175653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:51:36] local.INFO: GPS data processed {"connection_id":175653,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:51:36] local.INFO: Acknowledgment sent {"connection_id":175653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:51:39] local.INFO: TCP Data received {"connection_id":178237,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:51:39] local.INFO: Processing buffer {"connection_id":178237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:51:39] local.INFO: IMEI packet received {"connection_id":178237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":178237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:51:44] local.INFO: TCP Data received {"connection_id":178237,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:51:44] local.INFO: Processing buffer {"connection_id":178237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:51:44] local.INFO: IMEI packet received {"connection_id":178237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":178237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:51:45] local.INFO: TCP Data received {"connection_id":178237,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:51:45] local.INFO: Processing buffer {"connection_id":178237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850622d8012d34c48006aa4990000a008d2b..."} 
[2026-09-09 12:51:45] local.INFO: Packet analysis {"connection_id":178237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:51:45] local.INFO: Extracted packet for processing {"connection_id":178237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08506"} 
[2026-09-09 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968093696001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788938167000,"timestamp_ms":1788938167000,"timestamp_seconds":1788938167,"priority":1,"record_length":96,"hex_timestamp":"000001a0850622d8"} 
[2026-09-09 12:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 12:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968093696001,"66":25875,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968093696001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968093696001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":178237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:51:45] local.INFO: GPS data processed {"connection_id":178237,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:51:45] local.INFO: Acknowledgment sent {"connection_id":178237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:52:07] local.INFO: TCP Data received {"connection_id":175653,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850b00f0012d19de4007200918002e000f28..."} 
[2026-09-09 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850b00f0012d19de4007200918002e000f28..."} 
[2026-09-09 12:52:07] local.INFO: Processing buffer {"connection_id":175653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850b00f0012d19de4007200918002e000f28..."} 
[2026-09-09 12:52:07] local.INFO: Packet analysis {"connection_id":175653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:52:07] local.INFO: Extracted packet for processing {"connection_id":175653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119539992,"longitude_deg":75.6670016,"latitude_deg":11.9539992,"altitude":46,"angle":15,"satellites":40,"speed":14,"hex_longitude":"2d19de40","hex_latitude":"07200918","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968252160001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18840239116124160,"note":"Value kept but may cause issues"} 
[2026-09-09 12:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891750400,"note":"Value kept but may cause issues"} 
[2026-09-09 12:52: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-09-09 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938486000,"timestamp_ms":1788938486000,"timestamp_seconds":1788938486,"priority":1,"record_length":96,"hex_timestamp":"000001a0850b00f0"} 
[2026-09-09 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-09-09 12:52: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-09-09 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 12:52: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-09-09 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-09-09 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-09-09 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:52:07] 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-09-09 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968252160001,"66":14004,"101":206,"83":41984,"24":14,"16":18840239116124160,"45":1863786588891750400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968252160001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:52:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18840239116124160,"km_value":18840239116124.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891750400,"description":"Unknown IO ID 45"} 
[2026-09-09 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968252160001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1863786588891750400}} 
[2026-09-09 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":175653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:52:07] local.INFO: GPS data processed {"connection_id":175653,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:52:07] local.INFO: Acknowledgment sent {"connection_id":175653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:52:30] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:52:30] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:52:30] local.INFO: IMEI packet received {"connection_id":176804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":176804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:52:34] local.INFO: TCP Data received {"connection_id":176805,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:52:34] local.INFO: Processing buffer {"connection_id":176805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:52:34] local.INFO: IMEI packet received {"connection_id":176805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":176805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:52:35] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:52:35] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:52:35] local.INFO: IMEI packet received {"connection_id":176804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":176804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:52:36] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850b04d8012d19de4007200a08002e015f2a..."} 
[2026-09-09 12:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850b04d8012d19de4007200a08002e015f2a..."} 
[2026-09-09 12:52:36] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850b04d8012d19de4007200a08002e015f2a..."} 
[2026-09-09 12:52:36] local.INFO: Packet analysis {"connection_id":176804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:52:36] local.INFO: Extracted packet for processing {"connection_id":176804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119540232,"longitude_deg":75.6670016,"latitude_deg":11.9540232,"altitude":46,"angle":351,"satellites":42,"speed":8,"hex_longitude":"2d19de40","hex_latitude":"07200a08","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968252416001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18840252001026048,"note":"Value kept but may cause issues"} 
[2026-09-09 12:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863997695124379648,"note":"Value kept but may cause issues"} 
[2026-09-09 12:52: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-09-09 12:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938487000,"timestamp_ms":1788938487000,"timestamp_seconds":1788938487,"priority":1,"record_length":96,"hex_timestamp":"000001a0850b04d8"} 
[2026-09-09 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-09-09 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 12:52: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-09-09 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-09-09 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-09-09 12:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:52:36] 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-09-09 12:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968252416001,"66":14070,"101":206,"83":41984,"24":8,"16":18840252001026048,"45":1863997695124379648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 12:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968252416001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:52:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 12:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18840252001026048,"km_value":18840252001026.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863997695124379648,"description":"Unknown IO ID 45"} 
[2026-09-09 12:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968252416001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1863997695124379648}} 
[2026-09-09 12:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":176804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:52:36] local.INFO: GPS data processed {"connection_id":176804,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:52:36] local.INFO: Acknowledgment sent {"connection_id":176804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:52:39] local.INFO: TCP Data received {"connection_id":176805,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:52:39] local.INFO: Processing buffer {"connection_id":176805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:52:39] local.INFO: IMEI packet received {"connection_id":176805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":176805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:52:41] local.INFO: TCP Data received {"connection_id":176805,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:52:41] local.INFO: Processing buffer {"connection_id":176805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:52:41] local.INFO: Packet analysis {"connection_id":176805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:52:41] local.INFO: Extracted packet for processing {"connection_id":176805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:52: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-09-09 12:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":176805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:52:41] local.INFO: GPS data processed {"connection_id":176805,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:52:41] local.INFO: Acknowledgment sent {"connection_id":176805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:53:07] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850bdbb0012d19b5c00720ace80031013429..."} 
[2026-09-09 12:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850bdbb0012d19b5c00720ace80031013429..."} 
[2026-09-09 12:53:07] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850bdbb0012d19b5c00720ace80031013429..."} 
[2026-09-09 12:53:07] local.INFO: Packet analysis {"connection_id":176804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:53:07] local.INFO: Extracted packet for processing {"connection_id":176804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119581928,"longitude_deg":75.6659648,"latitude_deg":11.9581928,"altitude":49,"angle":308,"satellites":41,"speed":25,"hex_longitude":"2d19b5c0","hex_latitude":"0720ace8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968266496001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18842541218594816,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646020012032,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938542000,"timestamp_ms":1788938542000,"timestamp_seconds":1788938542,"priority":1,"record_length":96,"hex_timestamp":"000001a0850bdbb0"} 
[2026-09-09 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-09-09 12:53: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-09-09 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-09 12:53: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-09-09 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-09-09 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-09-09 12:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:53:07] 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-09-09 12:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968266496001,"66":13102,"103":206,"83":41984,"24":25,"16":18842541218594816,"45":1853301646020012032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968266496001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:53:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18842541218594816,"km_value":18842541218594.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646020012032,"description":"Unknown IO ID 45"} 
[2026-09-09 12:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968266496001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1853301646020012032}} 
[2026-09-09 12:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":176804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:53:07] local.INFO: GPS data processed {"connection_id":176804,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:53:07] local.INFO: Acknowledgment sent {"connection_id":176804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:53:13] local.INFO: TCP Data received {"connection_id":176805,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:53:13] local.INFO: Processing buffer {"connection_id":176805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:53:13] local.INFO: Packet analysis {"connection_id":176805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:53:13] local.INFO: Extracted packet for processing {"connection_id":176805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:53: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-09-09 12:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:53:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":176805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:53:13] local.INFO: GPS data processed {"connection_id":176805,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:53:13] local.INFO: Acknowledgment sent {"connection_id":176805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:53:35] local.INFO: TCP Data received {"connection_id":175654,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:53:35] local.INFO: Processing buffer {"connection_id":175654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:53:35] local.INFO: IMEI packet received {"connection_id":175654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":175654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:53:38] local.INFO: TCP Data received {"connection_id":178238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:53:38] local.INFO: Processing buffer {"connection_id":178238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:53:38] local.INFO: IMEI packet received {"connection_id":178238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":178238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:53:39] local.INFO: TCP Data received {"connection_id":175654,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:53:39] local.INFO: Processing buffer {"connection_id":175654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:53:39] local.INFO: IMEI packet received {"connection_id":175654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":175654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:53:40] local.INFO: TCP Data received {"connection_id":175654,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850bdf98012d19b3000720ade8003101272a..."} 
[2026-09-09 12:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850bdf98012d19b3000720ade8003101272a..."} 
[2026-09-09 12:53:40] local.INFO: Processing buffer {"connection_id":175654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850bdf98012d19b3000720ade8003101272a..."} 
[2026-09-09 12:53:40] local.INFO: Packet analysis {"connection_id":175654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:53:40] local.INFO: Extracted packet for processing {"connection_id":175654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756658944,"raw_latitude":119582184,"longitude_deg":75.6658944,"latitude_deg":11.9582184,"altitude":49,"angle":295,"satellites":42,"speed":26,"hex_longitude":"2d19b300","hex_latitude":"0720ade8","is_valid_coordinates":true} 
[2026-09-09 12:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968266752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18842575578333184,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852597958578333696,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788938543000,"timestamp_ms":1788938543000,"timestamp_seconds":1788938543,"priority":1,"record_length":96,"hex_timestamp":"000001a0850bdf98"} 
[2026-09-09 12:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-09 12:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:53:40] 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-09-09 12:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968266752001,"66":13015,"103":206,"83":41984,"24":26,"16":18842575578333184,"45":1852597958578333696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968266752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:53:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18842575578333184,"km_value":18842575578333.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852597958578333696,"description":"Unknown IO ID 45"} 
[2026-09-09 12:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968266752001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1852597958578333696}} 
[2026-09-09 12:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":175654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:53:40] local.INFO: GPS data processed {"connection_id":175654,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:53:40] local.INFO: Acknowledgment sent {"connection_id":175654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:53:41] local.INFO: TCP Data received {"connection_id":175654,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850beb50012d19aa400720b040003401192b..."} 
[2026-09-09 12:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850beb50012d19aa400720b040003401192b..."} 
[2026-09-09 12:53:41] local.INFO: Processing buffer {"connection_id":175654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850beb50012d19aa400720b040003401192b..."} 
[2026-09-09 12:53:41] local.INFO: Packet analysis {"connection_id":175654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:53:41] local.INFO: Extracted packet for processing {"connection_id":175654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850b"} 
[2026-09-09 12:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756656704,"raw_latitude":119582784,"longitude_deg":75.6656704,"latitude_deg":11.9582784,"altitude":52,"angle":281,"satellites":43,"speed":28,"hex_longitude":"2d19aa40","hex_latitude":"0720b040","is_valid_coordinates":true} 
[2026-09-09 12:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968267008001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18842682952515584,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851823902392444928,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53: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-09-09 12:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788938546000,"timestamp_ms":1788938546000,"timestamp_seconds":1788938546,"priority":1,"record_length":96,"hex_timestamp":"000001a0850beb50"} 
[2026-09-09 12:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-09 12:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:53:41] 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-09-09 12:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968267008001,"66":13102,"103":206,"83":41984,"24":28,"16":18842682952515584,"45":1851823902392444928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968267008001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:53:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18842682952515584,"km_value":18842682952515.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851823902392444928,"description":"Unknown IO ID 45"} 
[2026-09-09 12:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968267008001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1851823902392444928}} 
[2026-09-09 12:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":175654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:53:41] local.INFO: GPS data processed {"connection_id":175654,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:53:41] local.INFO: Acknowledgment sent {"connection_id":175654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:53:44] local.INFO: TCP Data received {"connection_id":178238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:53:44] local.INFO: Processing buffer {"connection_id":178238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:53:44] local.INFO: IMEI packet received {"connection_id":178238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":178238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:53:46] local.INFO: TCP Data received {"connection_id":178238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:53:46] local.INFO: Processing buffer {"connection_id":178238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:53:46] local.INFO: Packet analysis {"connection_id":178238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:53:46] local.INFO: Extracted packet for processing {"connection_id":178238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":178238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:53:46] local.INFO: GPS data processed {"connection_id":178238,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:53:46] local.INFO: Acknowledgment sent {"connection_id":178238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:54:12] local.INFO: TCP Data received {"connection_id":175654,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850c1260012d198b000720b3800036010d2c..."} 
[2026-09-09 12:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850c1260012d198b000720b3800036010d2c..."} 
[2026-09-09 12:54:12] local.INFO: Processing buffer {"connection_id":175654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850c1260012d198b000720b3800036010d2c..."} 
[2026-09-09 12:54:12] local.INFO: Packet analysis {"connection_id":175654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:54:12] local.INFO: Extracted packet for processing {"connection_id":175654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583616,"longitude_deg":75.6648704,"latitude_deg":11.9583616,"altitude":54,"angle":269,"satellites":44,"speed":29,"hex_longitude":"2d198b00","hex_latitude":"0720b380","is_valid_coordinates":true} 
[2026-09-09 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968267776001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843065204604928,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849360996346380288,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54: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-09-09 12:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788938556000,"timestamp_ms":1788938556000,"timestamp_seconds":1788938556,"priority":1,"record_length":96,"hex_timestamp":"000001a0850c1260"} 
[2026-09-09 12:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:54: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-09-09 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-09 12:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:54:12] 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-09-09 12:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968267776001,"66":13167,"103":206,"83":41984,"24":29,"16":18843065204604928,"45":1849360996346380288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968267776001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:54:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843065204604928,"km_value":18843065204604.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849360996346380288,"description":"Unknown IO ID 45"} 
[2026-09-09 12:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968267776001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1849360996346380288}} 
[2026-09-09 12:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":175654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:54:12] local.INFO: GPS data processed {"connection_id":175654,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:54:12] local.INFO: Acknowledgment sent {"connection_id":175654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:54:17] local.INFO: TCP Data received {"connection_id":178238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:54:17] local.INFO: Processing buffer {"connection_id":178238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:54:17] local.INFO: Packet analysis {"connection_id":178238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:54:17] local.INFO: Extracted packet for processing {"connection_id":178238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:54: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-09-09 12:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":178238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:54:17] local.INFO: GPS data processed {"connection_id":178238,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:54:17] local.INFO: Acknowledgment sent {"connection_id":178238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:54:30] local.INFO: TCP Data received {"connection_id":176806,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:54:30] local.INFO: Processing buffer {"connection_id":176806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:54:30] local.INFO: IMEI packet received {"connection_id":176806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":176806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:54:35] local.INFO: TCP Data received {"connection_id":176806,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:54:35] local.INFO: Processing buffer {"connection_id":176806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:54:35] local.INFO: IMEI packet received {"connection_id":176806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":176806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:54:36] local.INFO: TCP Data received {"connection_id":176806,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850c2200012d1980000720b220003401022c..."} 
[2026-09-09 12:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850c2200012d1980000720b220003401022c..."} 
[2026-09-09 12:54:36] local.INFO: Processing buffer {"connection_id":176806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850c2200012d1980000720b220003401022c..."} 
[2026-09-09 12:54:36] local.INFO: Packet analysis {"connection_id":176806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:54:36] local.INFO: Extracted packet for processing {"connection_id":176806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756645888,"raw_latitude":119583264,"longitude_deg":75.6645888,"latitude_deg":11.9583264,"altitude":52,"angle":258,"satellites":44,"speed":28,"hex_longitude":"2d198000","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-09-09 12:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968270336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843202643558400,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324385280,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54: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-09-09 12:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938560000,"timestamp_ms":1788938560000,"timestamp_seconds":1788938560,"priority":1,"record_length":96,"hex_timestamp":"000001a0850c2200"} 
[2026-09-09 12:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 12:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 12:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:54:36] 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-09-09 12:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968270336001,"66":13015,"103":206,"83":41984,"24":28,"16":18843202643558400,"45":1840564903324385280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968270336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:54:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843202643558400,"km_value":18843202643558.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324385280,"description":"Unknown IO ID 45"} 
[2026-09-09 12:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968270336001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1840564903324385280}} 
[2026-09-09 12:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":176806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:54:36] local.INFO: GPS data processed {"connection_id":176806,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:54:36] local.INFO: Acknowledgment sent {"connection_id":176806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:54:44] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:54:44] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:54:44] local.INFO: IMEI packet received {"connection_id":175441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":175441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:54:49] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:54:49] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:54:49] local.INFO: IMEI packet received {"connection_id":175441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":175441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:54:50] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:54:50] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:54:50] local.INFO: Packet analysis {"connection_id":175441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:54:50] local.INFO: Extracted packet for processing {"connection_id":175441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:54:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":175441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:54:50] local.INFO: GPS data processed {"connection_id":175441,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:54:50] local.INFO: Acknowledgment sent {"connection_id":175441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:54:55] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:54:55] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:54:55] local.INFO: Packet analysis {"connection_id":175441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:54:55] local.INFO: Extracted packet for processing {"connection_id":175441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:54:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":175441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:54:55] local.INFO: GPS data processed {"connection_id":175441,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:54:55] local.INFO: Acknowledgment sent {"connection_id":175441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:55:07] local.INFO: TCP Data received {"connection_id":176806,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850c7408012d1966800720ab38003001082c..."} 
[2026-09-09 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850c7408012d1966800720ab38003001082c..."} 
[2026-09-09 12:55:07] local.INFO: Processing buffer {"connection_id":176806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850c7408012d1966800720ab38003001082c..."} 
[2026-09-09 12:55:07] local.INFO: Packet analysis {"connection_id":176806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:55:07] local.INFO: Extracted packet for processing {"connection_id":176806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119581496,"longitude_deg":75.663936,"latitude_deg":11.9581496,"altitude":48,"angle":264,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"0720ab38","is_valid_coordinates":true} 
[2026-09-09 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968271360001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843524766105600,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837468678580477952,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55: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-09-09 12:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938581000,"timestamp_ms":1788938581000,"timestamp_seconds":1788938581,"priority":1,"record_length":96,"hex_timestamp":"000001a0850c7408"} 
[2026-09-09 12:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:55: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-09-09 12: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-09 12:55: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-09-09 12:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:55:07] 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-09-09 12:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968271360001,"66":13059,"103":206,"83":41984,"24":0,"16":18843524766105600,"45":1837468678580477952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968271360001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:55:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843524766105600,"km_value":18843524766105.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837468678580477952,"description":"Unknown IO ID 45"} 
[2026-09-09 12:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968271360001,"power":13059,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1837468678580477952}} 
[2026-09-09 12:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":176806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:55:07] local.INFO: GPS data processed {"connection_id":176806,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:55:07] local.INFO: Acknowledgment sent {"connection_id":176806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:55:30] local.INFO: TCP Data received {"connection_id":178239,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:55:30] local.INFO: Processing buffer {"connection_id":178239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:55:30] local.INFO: IMEI packet received {"connection_id":178239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":178239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:55:35] local.INFO: TCP Data received {"connection_id":178239,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:55:35] local.INFO: Processing buffer {"connection_id":178239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:55:35] local.INFO: IMEI packet received {"connection_id":178239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":178239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:55:36] local.INFO: TCP Data received {"connection_id":178239,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850ca6d0012d1965c00720aad8003000f42c..."} 
[2026-09-09 12:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850ca6d0012d1965c00720aad8003000f42c..."} 
[2026-09-09 12:55:36] local.INFO: Processing buffer {"connection_id":178239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850ca6d0012d1965c00720aad8003000f42c..."} 
[2026-09-09 12:55:36] local.INFO: Packet analysis {"connection_id":178239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:55:36] local.INFO: Extracted packet for processing {"connection_id":178239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119581400,"longitude_deg":75.6639168,"latitude_deg":11.95814,"altitude":48,"angle":244,"satellites":44,"speed":2,"hex_longitude":"2d1965c0","hex_latitude":"0720aad8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968276736001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843533356040192,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066673903616,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55: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-09-09 12:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938594000,"timestamp_ms":1788938594000,"timestamp_seconds":1788938594,"priority":1,"record_length":96,"hex_timestamp":"000001a0850ca6d0"} 
[2026-09-09 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-09-09 12:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281592,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":58075809043709974,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2232145864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4046520320,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2917662769,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3221692588,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,242,160,34,45,178,52,44,10,66,18,179,54,235,64,1,240,46,227,133,32,4,113,205,26,219,181,232,41,239,51,2,7,48,22],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-09 12:55:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459054973868834816,"timestamp_seconds":3459054973868835.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 12:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:55:36] 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-09-09 12:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968276736001,"66":13048,"103":206,"83":41984,"24":2,"16":18843533356040192,"45":1830291066673903616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968276736001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:55:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843533356040192,"km_value":18843533356040.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066673903616,"description":"Unknown IO ID 45"} 
[2026-09-09 12:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968276736001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1830291066673903616}} 
[2026-09-09 12:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":178239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:55:36] local.INFO: GPS data processed {"connection_id":178239,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:55:36] local.INFO: Acknowledgment sent {"connection_id":178239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:55:39] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:55:39] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:55:39] local.INFO: IMEI packet received {"connection_id":176808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":176808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:55:40] local.INFO: TCP Data received {"connection_id":175656,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:55:40] local.INFO: Processing buffer {"connection_id":175656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 12:55:40] local.INFO: IMEI packet received {"connection_id":175656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 12:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":175656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:55:43] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:55:43] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:55:43] local.INFO: IMEI packet received {"connection_id":176808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":176808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:55:44] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:55:45] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:55:45] local.INFO: Packet analysis {"connection_id":176808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:55:45] local.INFO: Extracted packet for processing {"connection_id":176808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:55:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":176808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:55:45] local.INFO: GPS data processed {"connection_id":176808,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:55:45] local.INFO: Acknowledgment sent {"connection_id":176808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:55:49] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:55:49] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:55:49] local.INFO: Packet analysis {"connection_id":176808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:55:49] local.INFO: Extracted packet for processing {"connection_id":176808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":176808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:55:49] local.INFO: GPS data processed {"connection_id":176808,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:55:49] local.INFO: Acknowledgment sent {"connection_id":176808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:56:07] local.INFO: TCP Data received {"connection_id":178239,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850cb288012d1965000720aa98003001052c..."} 
[2026-09-09 12:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850cb288012d1965000720aa98003001052c..."} 
[2026-09-09 12:56:07] local.INFO: Processing buffer {"connection_id":178239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850cb288012d1965000720aa98003001052c..."} 
[2026-09-09 12:56:07] local.INFO: Packet analysis {"connection_id":178239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:56:07] local.INFO: Extracted packet for processing {"connection_id":178239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850c"} 
[2026-09-09 12:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119581336,"longitude_deg":75.6638976,"latitude_deg":11.9581336,"altitude":48,"angle":261,"satellites":44,"speed":4,"hex_longitude":"2d196500","hex_latitude":"0720aa98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968280064001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843546240942080,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960441346048,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56: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-09-09 12:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938597000,"timestamp_ms":1788938597000,"timestamp_seconds":1788938597,"priority":1,"record_length":96,"hex_timestamp":"000001a0850cb288"} 
[2026-09-09 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-09-09 12:56: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-09-09 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-09 12:56: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-09-09 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-09-09 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-09-09 12:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:56:07] 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-09-09 12:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968280064001,"66":13004,"103":206,"83":41984,"24":4,"16":18843546240942080,"45":1830079960441346048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968280064001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:56:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843546240942080,"km_value":18843546240942.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960441346048,"description":"Unknown IO ID 45"} 
[2026-09-09 12:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968280064001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830079960441346048}} 
[2026-09-09 12:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":178239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:56:07] local.INFO: GPS data processed {"connection_id":178239,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:56:07] local.INFO: Acknowledgment sent {"connection_id":178239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:56:21] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:56:21] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:56:21] local.INFO: Packet analysis {"connection_id":176808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:56:21] local.INFO: Extracted packet for processing {"connection_id":176808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:56:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":176808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:56:21] local.INFO: GPS data processed {"connection_id":176808,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:56:21] local.INFO: Acknowledgment sent {"connection_id":176808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:56:30] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:56:30] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:56:30] local.INFO: IMEI packet received {"connection_id":175657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":175657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:56:35] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:56:35] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:56:35] local.INFO: IMEI packet received {"connection_id":175657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":175657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:56:36] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850d0490012d1964400720aab00030010a2a..."} 
[2026-09-09 12:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850d0490012d1964400720aab00030010a2a..."} 
[2026-09-09 12:56:36] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850d0490012d1964400720aab00030010a2a..."} 
[2026-09-09 12:56:36] local.INFO: Packet analysis {"connection_id":175657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850d"} 
[2026-09-09 12:56:36] local.INFO: Extracted packet for processing {"connection_id":175657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850d"} 
[2026-09-09 12:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119581360,"longitude_deg":75.6638784,"latitude_deg":11.958136,"altitude":48,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2d196440","hex_latitude":"0720aab0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968280832001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843550535909376,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854208796672,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56: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-09-09 12:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938618000,"timestamp_ms":1788938618000,"timestamp_seconds":1788938618,"priority":1,"record_length":96,"hex_timestamp":"000001a0850d0490"} 
[2026-09-09 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-09-09 12:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 12:56: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-09-09 12:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 12:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:56:36] 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-09-09 12:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968280832001,"66":12972,"103":206,"83":41984,"24":0,"16":18843550535909376,"45":1829868854208796672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968280832001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:56:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843550535909376,"km_value":18843550535909.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854208796672,"description":"Unknown IO ID 45"} 
[2026-09-09 12:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968280832001,"power":12972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854208796672}} 
[2026-09-09 12:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":175657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:56:36] local.INFO: GPS data processed {"connection_id":175657,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:56:36] local.INFO: Acknowledgment sent {"connection_id":175657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:56:39] local.INFO: TCP Data received {"connection_id":178240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:56:39] local.INFO: Processing buffer {"connection_id":178240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:56:39] local.INFO: IMEI packet received {"connection_id":178240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":178240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:56:44] local.INFO: TCP Data received {"connection_id":178240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:56:44] local.INFO: Processing buffer {"connection_id":178240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:56:44] local.INFO: IMEI packet received {"connection_id":178240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":178240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:56:45] local.INFO: TCP Data received {"connection_id":178240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:56:45] local.INFO: Processing buffer {"connection_id":178240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850abaa0012d34c48006aa49900011008d2c..."} 
[2026-09-09 12:56:45] local.INFO: Packet analysis {"connection_id":178240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:56:45] local.INFO: Extracted packet for processing {"connection_id":178240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850a"} 
[2026-09-09 12:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":17,"angle":141,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12: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-09-09 12:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968170752001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788938468000,"timestamp_ms":1788938468000,"timestamp_seconds":1788938468,"priority":1,"record_length":96,"hex_timestamp":"000001a0850abaa0"} 
[2026-09-09 12:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 12:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968170752001,"66":25832,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968170752001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:56:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968170752001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":178240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:56:45] local.INFO: GPS data processed {"connection_id":178240,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:56:45] local.INFO: Acknowledgment sent {"connection_id":178240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:57:07] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850d5698012d1964400720aab00030010a29..."} 
[2026-09-09 12:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850d5698012d1964400720aab00030010a29..."} 
[2026-09-09 12:57:07] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850d5698012d1964400720aab00030010a29..."} 
[2026-09-09 12:57:07] local.INFO: Packet analysis {"connection_id":175657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850d"} 
[2026-09-09 12:57:07] local.INFO: Extracted packet for processing {"connection_id":175657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850d"} 
[2026-09-09 12:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119581360,"longitude_deg":75.6638784,"latitude_deg":11.958136,"altitude":48,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d196440","hex_latitude":"0720aab0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968286208001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843550535909376,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747976269824,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57: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-09-09 12:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938639000,"timestamp_ms":1788938639000,"timestamp_seconds":1788938639,"priority":1,"record_length":96,"hex_timestamp":"000001a0850d5698"} 
[2026-09-09 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-09-09 12:57: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-09-09 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-09 12:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:57:07] 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-09-09 12:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968286208001,"66":12852,"103":206,"83":41984,"24":0,"16":18843550535909376,"45":1829657747976269824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968286208001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:57:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843550535909376,"km_value":18843550535909.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747976269824,"description":"Unknown IO ID 45"} 
[2026-09-09 12:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968286208001,"power":12852,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747976269824}} 
[2026-09-09 12:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":175657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:57:07] local.INFO: GPS data processed {"connection_id":175657,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:57:07] local.INFO: Acknowledgment sent {"connection_id":175657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:57:17] local.INFO: TCP Data received {"connection_id":178240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:57:17] local.INFO: Processing buffer {"connection_id":178240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:57:17] local.INFO: Packet analysis {"connection_id":178240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:57:17] local.INFO: Extracted packet for processing {"connection_id":178240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 12:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 12:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":178240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:57:17] local.INFO: GPS data processed {"connection_id":178240,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:57:17] local.INFO: Acknowledgment sent {"connection_id":178240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:57:30] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:57:30] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:57:30] local.INFO: IMEI packet received {"connection_id":175658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":175658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:57:35] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:57:35] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:57:35] local.INFO: IMEI packet received {"connection_id":175658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":175658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:57:36] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850da8a0012d1964400720aab00030010a29..."} 
[2026-09-09 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850da8a0012d1964400720aab00030010a29..."} 
[2026-09-09 12:57:36] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850da8a0012d1964400720aab00030010a29..."} 
[2026-09-09 12:57:36] local.INFO: Packet analysis {"connection_id":175658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850d"} 
[2026-09-09 12:57:36] local.INFO: Extracted packet for processing {"connection_id":175658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850d"} 
[2026-09-09 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119581360,"longitude_deg":75.6638784,"latitude_deg":11.958136,"altitude":48,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d196440","hex_latitude":"0720aab0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968291584001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843550535909376,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747976269824,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57: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-09-09 12:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938660000,"timestamp_ms":1788938660000,"timestamp_seconds":1788938660,"priority":1,"record_length":96,"hex_timestamp":"000001a0850da8a0"} 
[2026-09-09 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-09-09 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 12:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:57:36] 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-09-09 12:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968291584001,"66":12798,"103":206,"83":41984,"24":0,"16":18843550535909376,"45":1829657747976269824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968291584001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:57:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843550535909376,"km_value":18843550535909.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747976269824,"description":"Unknown IO ID 45"} 
[2026-09-09 12:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968291584001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747976269824}} 
[2026-09-09 12:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":175658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:57:36] local.INFO: GPS data processed {"connection_id":175658,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:57:36] local.INFO: Acknowledgment sent {"connection_id":175658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:57:38] local.INFO: TCP Data received {"connection_id":176809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:57:38] local.INFO: Processing buffer {"connection_id":176809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:57:38] local.INFO: IMEI packet received {"connection_id":176809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":176809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:57:43] local.INFO: TCP Data received {"connection_id":176809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:57:43] local.INFO: Processing buffer {"connection_id":176809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:57:43] local.INFO: IMEI packet received {"connection_id":176809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":176809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:57:45] local.INFO: TCP Data received {"connection_id":176809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:57:45] local.INFO: Processing buffer {"connection_id":176809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:57:45] local.INFO: Packet analysis {"connection_id":176809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:57:45] local.INFO: Extracted packet for processing {"connection_id":176809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 12:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 12:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:57:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":176809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:57:45] local.INFO: GPS data processed {"connection_id":176809,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:57:45] local.INFO: Acknowledgment sent {"connection_id":176809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:58:07] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850dfaa8012d1964400720aab00030010a27..."} 
[2026-09-09 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850dfaa8012d1964400720aab00030010a27..."} 
[2026-09-09 12:58:07] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850dfaa8012d1964400720aab00030010a27..."} 
[2026-09-09 12:58:07] local.INFO: Packet analysis {"connection_id":175658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850d"} 
[2026-09-09 12:58:07] local.INFO: Extracted packet for processing {"connection_id":175658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850d"} 
[2026-09-09 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119581360,"longitude_deg":75.6638784,"latitude_deg":11.958136,"altitude":48,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d196440","hex_latitude":"0720aab0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968296960001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843550535909376,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747976269824,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938681000,"timestamp_ms":1788938681000,"timestamp_seconds":1788938681,"priority":1,"record_length":96,"hex_timestamp":"000001a0850dfaa8"} 
[2026-09-09 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-09-09 12:58: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-09-09 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":254,"data_length":795,"current_offset":136} 
[2026-09-09 12:58: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-09-09 12: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-09-09 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-09-09 12:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:58:07] 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-09-09 12:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968296960001,"66":12809,"103":206,"83":41984,"24":0,"16":18843550535909376,"45":1829657747976269824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968296960001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:58:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843550535909376,"km_value":18843550535909.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747976269824,"description":"Unknown IO ID 45"} 
[2026-09-09 12:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968296960001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747976269824}} 
[2026-09-09 12:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":175658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:58:07] local.INFO: GPS data processed {"connection_id":175658,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:58:07] local.INFO: Acknowledgment sent {"connection_id":175658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:58:17] local.INFO: TCP Data received {"connection_id":176809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:58:17] local.INFO: Processing buffer {"connection_id":176809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:58:17] local.INFO: Packet analysis {"connection_id":176809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:58:17] local.INFO: Extracted packet for processing {"connection_id":176809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 12:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 12:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":176809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:58:17] local.INFO: GPS data processed {"connection_id":176809,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:58:17] local.INFO: Acknowledgment sent {"connection_id":176809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:58:30] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:58:30] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:58:30] local.INFO: IMEI packet received {"connection_id":175660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":175660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:58:35] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:58:35] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:58:35] local.INFO: IMEI packet received {"connection_id":175660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":175660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:58:36] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0850e4cb0012d1964400720aab00030010a2b..."} 
[2026-09-09 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850e4cb0012d1964400720aab00030010a2b..."} 
[2026-09-09 12:58:36] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850e4cb0012d1964400720aab00030010a2b..."} 
[2026-09-09 12:58:36] local.INFO: Packet analysis {"connection_id":175660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850e"} 
[2026-09-09 12:58:36] local.INFO: Extracted packet for processing {"connection_id":175660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850e"} 
[2026-09-09 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119581360,"longitude_deg":75.6638784,"latitude_deg":11.958136,"altitude":48,"angle":266,"satellites":43,"speed":0,"hex_longitude":"2d196440","hex_latitude":"0720aab0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968302336001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843550535909376,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747976269824,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58: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-09-09 12:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938702000,"timestamp_ms":1788938702000,"timestamp_seconds":1788938702,"priority":1,"record_length":96,"hex_timestamp":"000001a0850e4cb0"} 
[2026-09-09 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-09-09 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2017612633229755392,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2232185864,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4061659136,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":133,"raw_value":874261282714910720,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2862088240,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692586,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802168,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2355980740312760876,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398699121659475,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,242,160,168,45,64,170,48,41,10,66,86,4,1,240,172,227,133,32,113,205,166,101,216,44,239,50,2,7,51,164,22],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-09 12:58:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459057151417253888,"timestamp_seconds":3459057151417254.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 12:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:58:36] 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-09-09 12:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968302336001,"66":12765,"103":206,"83":41984,"24":0,"16":18843550535909376,"45":1829657747976269824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968302336001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:58:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843550535909376,"km_value":18843550535909.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747976269824,"description":"Unknown IO ID 45"} 
[2026-09-09 12:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968302336001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747976269824}} 
[2026-09-09 12:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":175660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:58:36] local.INFO: GPS data processed {"connection_id":175660,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:58:36] local.INFO: Acknowledgment sent {"connection_id":175660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:58:38] local.INFO: TCP Data received {"connection_id":178242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:58:38] local.INFO: Processing buffer {"connection_id":178242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:58:38] local.INFO: IMEI packet received {"connection_id":178242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":178242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:58:44] local.INFO: TCP Data received {"connection_id":178242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:58:44] local.INFO: Processing buffer {"connection_id":178242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:58:44] local.INFO: IMEI packet received {"connection_id":178242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":178242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:58:45] local.INFO: TCP Data received {"connection_id":178242,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:58:45] local.INFO: Processing buffer {"connection_id":178242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:58:45] local.INFO: Packet analysis {"connection_id":178242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:58:45] local.INFO: Extracted packet for processing {"connection_id":178242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 12:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 12:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:58:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":178242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:58:45] local.INFO: GPS data processed {"connection_id":178242,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:58:45] local.INFO: Acknowledgment sent {"connection_id":178242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:59:07] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085115dd8012d1961800720acb8003600152a..."} 
[2026-09-09 12:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085115dd8012d1961800720acb8003600152a..."} 
[2026-09-09 12:59:07] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085115dd8012d1961800720acb8003600152a..."} 
[2026-09-09 12:59:07] local.INFO: Packet analysis {"connection_id":175660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08511"} 
[2026-09-09 12:59:07] local.INFO: Extracted packet for processing {"connection_id":175660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08511"} 
[2026-09-09 12:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756638080,"raw_latitude":119581880,"longitude_deg":75.663808,"latitude_deg":11.958188,"altitude":54,"angle":21,"satellites":42,"speed":6,"hex_longitude":"2d196180","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968358912001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843602075516928,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828883691790407680,"note":"Value kept but may cause issues"} 
[2026-09-09 12: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-09-09 12:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938903000,"timestamp_ms":1788938903000,"timestamp_seconds":1788938903,"priority":1,"record_length":96,"hex_timestamp":"000001a085115dd8"} 
[2026-09-09 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-09-09 12:59: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-09-09 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 12:59: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-09-09 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-09-09 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-09-09 12:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:59:07] 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-09-09 12:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968358912001,"66":13972,"103":206,"83":41984,"24":6,"16":18843602075516928,"45":1828883691790407680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968358912001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:59:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843602075516928,"km_value":18843602075516.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828883691790407680,"description":"Unknown IO ID 45"} 
[2026-09-09 12:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968358912001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1828883691790407680}} 
[2026-09-09 12:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":175660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:59:07] local.INFO: GPS data processed {"connection_id":175660,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:59:07] local.INFO: Acknowledgment sent {"connection_id":175660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:59:16] local.INFO: TCP Data received {"connection_id":178242,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:59:16] local.INFO: Processing buffer {"connection_id":178242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:59:16] local.INFO: Packet analysis {"connection_id":178242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:59:16] local.INFO: Extracted packet for processing {"connection_id":178242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 12:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 12:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":178242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:59:16] local.INFO: GPS data processed {"connection_id":178242,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:59:16] local.INFO: Acknowledgment sent {"connection_id":178242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:59:30] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:30] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:30] local.INFO: IMEI packet received {"connection_id":175443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 12:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":175443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:59:33] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:33] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:33] local.INFO: IMEI packet received {"connection_id":175443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":175443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:59:34] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:34] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:34] local.INFO: IMEI packet received {"connection_id":175443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":175443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:59:35] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:35] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 12:59:35] local.INFO: IMEI packet received {"connection_id":175443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 12:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":175443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:59:36] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851161c0012d1962000720ad10003600482a..."} 
[2026-09-09 12:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851161c0012d1962000720ad10003600482a..."} 
[2026-09-09 12:59:36] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851161c0012d1962000720ad10003600482a..."} 
[2026-09-09 12:59:36] local.INFO: Packet analysis {"connection_id":175443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08511"} 
[2026-09-09 12:59:36] local.INFO: Extracted packet for processing {"connection_id":175443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08511"} 
[2026-09-09 12:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756638208,"raw_latitude":119581968,"longitude_deg":75.6638208,"latitude_deg":11.9581968,"altitude":54,"angle":72,"satellites":42,"speed":6,"hex_longitude":"2d196200","hex_latitude":"0720ad10","is_valid_coordinates":true} 
[2026-09-09 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-09-09 12:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968359168001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843606370484224,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828883691790448640,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59: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-09-09 12:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938904000,"timestamp_ms":1788938904000,"timestamp_seconds":1788938904,"priority":1,"record_length":96,"hex_timestamp":"000001a0851161c0"} 
[2026-09-09 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-09-09 12:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 12:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 12:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 12:59:36] 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-09-09 12:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 12:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 12:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968359168001,"66":13972,"103":206,"83":41984,"24":6,"16":18843606370484224,"45":1828883691790448640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 12:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 12:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 12:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968359168001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:59:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 12:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 12:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843606370484224,"km_value":18843606370484.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828883691790448640,"description":"Unknown IO ID 45"} 
[2026-09-09 12:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968359168001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1828883691790448640}} 
[2026-09-09 12:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":175443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:59:36] local.INFO: GPS data processed {"connection_id":175443,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:59:36] local.INFO: Acknowledgment sent {"connection_id":175443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:59:43] local.INFO: TCP Data received {"connection_id":175662,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:59:43] local.INFO: Processing buffer {"connection_id":175662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:59:43] local.INFO: IMEI packet received {"connection_id":175662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 12:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":175662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 12:59:49] local.INFO: TCP Data received {"connection_id":175662,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:59:49] local.INFO: Processing buffer {"connection_id":175662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 12:59:49] local.INFO: IMEI packet received {"connection_id":175662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 12:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":175662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 12:59:50] local.INFO: TCP Data received {"connection_id":175662,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:59:50] local.INFO: Processing buffer {"connection_id":175662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:59:50] local.INFO: Packet analysis {"connection_id":175662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:59:50] local.INFO: Extracted packet for processing {"connection_id":175662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:59:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 12:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 12:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:59:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:59:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":175662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:59:50] local.INFO: GPS data processed {"connection_id":175662,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:59:50] local.INFO: Acknowledgment sent {"connection_id":175662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 12:59:54] local.INFO: TCP Data received {"connection_id":175662,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:59:54] local.INFO: Processing buffer {"connection_id":175662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 12:59:54] local.INFO: Packet analysis {"connection_id":175662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:59:54] local.INFO: Extracted packet for processing {"connection_id":175662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 12:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 12:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 12:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 12:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 12:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 12:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 12:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 12:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 12:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 12:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 12:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 12:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 12:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 12:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 12:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 12:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 12:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 12:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 12:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 12:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 12:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 12:59:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 12:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 12:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 12:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 12:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 12:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":175662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 12:59:54] local.INFO: GPS data processed {"connection_id":175662,"processed":1,"errors":0,"total":1} 
[2026-09-09 12:59:54] local.INFO: Acknowledgment sent {"connection_id":175662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:00:07] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08511ee60012d19ba000720a768003501292c..."} 
[2026-09-09 13:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08511ee60012d19ba000720a768003501292c..."} 
[2026-09-09 13:00:07] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08511ee60012d19ba000720a768003501292c..."} 
[2026-09-09 13:00:07] local.INFO: Packet analysis {"connection_id":175443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08511"} 
[2026-09-09 13:00:07] local.INFO: Extracted packet for processing {"connection_id":175443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08511"} 
[2026-09-09 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119580520,"longitude_deg":75.6660736,"latitude_deg":11.958052,"altitude":53,"angle":297,"satellites":44,"speed":6,"hex_longitude":"2d19ba00","hex_latitude":"0720a768","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18844761716686848,"note":"Value kept but may cause issues"} 
[2026-09-09 13:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461514240,"note":"Value kept but may cause issues"} 
[2026-09-09 13:00: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-09-09 13:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938940000,"timestamp_ms":1788938940000,"timestamp_seconds":1788938940,"priority":1,"record_length":96,"hex_timestamp":"000001a08511ee60"} 
[2026-09-09 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-09-09 13:00: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-09-09 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 13:00: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-09-09 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-09-09 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-09-09 13:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:00:07] 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-09-09 13:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968368384001,"66":14135,"103":206,"83":41984,"24":6,"16":18844761716686848,"45":1854005333461514240},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 13:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:00:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 13:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18844761716686848,"km_value":18844761716686.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461514240,"description":"Unknown IO ID 45"} 
[2026-09-09 13:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968368384001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1854005333461514240}} 
[2026-09-09 13:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":175443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:00:07] local.INFO: GPS data processed {"connection_id":175443,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:00:07] local.INFO: Acknowledgment sent {"connection_id":175443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:00:30] local.INFO: TCP Data received {"connection_id":176810,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:00:30] local.INFO: Processing buffer {"connection_id":176810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:00:30] local.INFO: IMEI packet received {"connection_id":176810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":176810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:00:33] local.INFO: TCP Data received {"connection_id":176810,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:00:33] local.INFO: Processing buffer {"connection_id":176810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:00:33] local.INFO: IMEI packet received {"connection_id":176810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":176810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:00:35] local.INFO: TCP Data received {"connection_id":176810,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:00:35] local.INFO: Processing buffer {"connection_id":176810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:00:35] local.INFO: IMEI packet received {"connection_id":176810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":176810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:00:36] local.INFO: TCP Data received {"connection_id":176810,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085124068012d19b7400720a9580035012c2a..."} 
[2026-09-09 13:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085124068012d19b7400720a9580035012c2a..."} 
[2026-09-09 13:00:36] local.INFO: Processing buffer {"connection_id":176810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085124068012d19b7400720a9580035012c2a..."} 
[2026-09-09 13:00:36] local.INFO: Packet analysis {"connection_id":176810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08512"} 
[2026-09-09 13:00:36] local.INFO: Extracted packet for processing {"connection_id":176810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08512"} 
[2026-09-09 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119581016,"longitude_deg":75.6660032,"latitude_deg":11.9581016,"altitude":53,"angle":300,"satellites":42,"speed":10,"hex_longitude":"2d19b740","hex_latitude":"0720a958","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968368640001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18844808961327104,"note":"Value kept but may cause issues"} 
[2026-09-09 13:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228993536,"note":"Value kept but may cause issues"} 
[2026-09-09 13:00: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-09-09 13:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788938961000,"timestamp_ms":1788938961000,"timestamp_seconds":1788938961,"priority":1,"record_length":96,"hex_timestamp":"000001a085124068"} 
[2026-09-09 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-09-09 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 13:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:00:36] 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-09-09 13:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968368640001,"66":13906,"103":206,"83":41984,"24":10,"16":18844808961327104,"45":1853794227228993536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 13:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968368640001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:00:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 13:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18844808961327104,"km_value":18844808961327.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228993536,"description":"Unknown IO ID 45"} 
[2026-09-09 13:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968368640001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1853794227228993536}} 
[2026-09-09 13:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":176810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:00:36] local.INFO: GPS data processed {"connection_id":176810,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:00:36] local.INFO: Acknowledgment sent {"connection_id":176810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:00:39] local.INFO: TCP Data received {"connection_id":176811,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:00:39] local.INFO: Processing buffer {"connection_id":176811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:00:39] local.INFO: IMEI packet received {"connection_id":176811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":176811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:00:45] local.INFO: TCP Data received {"connection_id":176811,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:00:45] local.INFO: Processing buffer {"connection_id":176811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:00:45] local.INFO: IMEI packet received {"connection_id":176811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":176811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:00:46] local.INFO: TCP Data received {"connection_id":176811,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 13:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 13:00:46] local.INFO: Processing buffer {"connection_id":176811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 13:00:46] local.INFO: Packet analysis {"connection_id":176811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 13:00:46] local.INFO: Extracted packet for processing {"connection_id":176811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 13:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 13:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":176811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:00:46] local.INFO: GPS data processed {"connection_id":176811,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:00:46] local.INFO: Acknowledgment sent {"connection_id":176811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:01:06] local.INFO: TCP Data received {"connection_id":178243,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:01:06] local.INFO: Processing buffer {"connection_id":178243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:01:06] local.INFO: IMEI packet received {"connection_id":178243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":178243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:01:07] local.INFO: TCP Data received {"connection_id":176810,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085125bc0012d19ab400720ae70003501202a..."} 
[2026-09-09 13:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085125bc0012d19ab400720ae70003501202a..."} 
[2026-09-09 13:01:07] local.INFO: Processing buffer {"connection_id":176810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085125bc0012d19ab400720ae70003501202a..."} 
[2026-09-09 13:01:07] local.INFO: Packet analysis {"connection_id":176810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08512"} 
[2026-09-09 13:01:07] local.INFO: Extracted packet for processing {"connection_id":176810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08512"} 
[2026-09-09 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756656960,"raw_latitude":119582320,"longitude_deg":75.665696,"latitude_deg":11.958232,"altitude":53,"angle":288,"satellites":42,"speed":20,"hex_longitude":"2d19ab40","hex_latitude":"0720ae70","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968374016001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18844963580149760,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171043166208,"note":"Value kept but may cause issues"} 
[2026-09-09 13: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-09-09 13:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788938968000,"timestamp_ms":1788938968000,"timestamp_seconds":1788938968,"priority":1,"record_length":96,"hex_timestamp":"000001a085125bc0"} 
[2026-09-09 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-09-09 13:01: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-09-09 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 13:01: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-09-09 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-09-09 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-09-09 13:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:01:07] 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-09-09 13:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968374016001,"66":14157,"103":206,"83":41984,"24":20,"16":18844963580149760,"45":1853020171043166208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 13:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968374016001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:01:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 13:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18844963580149760,"km_value":18844963580149.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171043166208,"description":"Unknown IO ID 45"} 
[2026-09-09 13:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968374016001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853020171043166208}} 
[2026-09-09 13:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":176810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:01:07] local.INFO: GPS data processed {"connection_id":176810,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:01:07] local.INFO: Acknowledgment sent {"connection_id":176810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:01:19] local.INFO: TCP Data received {"connection_id":176811,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 13:01:19] local.INFO: Processing buffer {"connection_id":176811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 13:01:19] local.INFO: Packet analysis {"connection_id":176811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 13:01:19] local.INFO: Extracted packet for processing {"connection_id":176811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 13:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 13:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":176811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:01:19] local.INFO: GPS data processed {"connection_id":176811,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:01:19] local.INFO: Acknowledgment sent {"connection_id":176811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:01:35] local.INFO: TCP Data received {"connection_id":178244,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:01:35] local.INFO: Processing buffer {"connection_id":178244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:01:35] local.INFO: IMEI packet received {"connection_id":178244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":178244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:01:36] local.INFO: TCP Data received {"connection_id":178244,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:01:36] local.INFO: Processing buffer {"connection_id":178244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:01:36] local.INFO: IMEI packet received {"connection_id":178244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":178244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:01:38] local.INFO: TCP Data received {"connection_id":178244,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:01:38] local.INFO: Processing buffer {"connection_id":178244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:01:38] local.INFO: IMEI packet received {"connection_id":178244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":178244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:01:39] local.INFO: TCP Data received {"connection_id":178245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:01:39] local.INFO: Processing buffer {"connection_id":178245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:01:39] local.INFO: IMEI packet received {"connection_id":178245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":178245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:01:41] local.INFO: TCP Data received {"connection_id":178244,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851351d8012d18f9000720d4b00037013324..."} 
[2026-09-09 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851351d8012d18f9000720d4b00037013324..."} 
[2026-09-09 13:01:41] local.INFO: Processing buffer {"connection_id":178244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851351d8012d18f9000720d4b00037013324..."} 
[2026-09-09 13:01:41] local.INFO: Packet analysis {"connection_id":178244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:01:41] local.INFO: Extracted packet for processing {"connection_id":178244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756611328,"raw_latitude":119592112,"longitude_deg":75.6611328,"latitude_deg":11.9592112,"altitude":55,"angle":307,"satellites":36,"speed":34,"hex_longitude":"2d18f900","hex_latitude":"0720d4b0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968389376001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18847287157456896,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808336018491992064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01: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-09-09 13:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788939031000,"timestamp_ms":1788939031000,"timestamp_seconds":1788939031,"priority":1,"record_length":96,"hex_timestamp":"000001a0851351d8"} 
[2026-09-09 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-09-09 13:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 13:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:01:41] 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-09-09 13:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968389376001,"66":14243,"103":206,"83":41984,"24":34,"16":18847287157456896,"45":1808336018491992064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 13:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968389376001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:01:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 13:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18847287157456896,"km_value":18847287157456.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808336018491992064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968389376001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1808336018491992064}} 
[2026-09-09 13:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":178244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:01:41] local.INFO: GPS data processed {"connection_id":178244,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:01:41] local.INFO: Acknowledgment sent {"connection_id":178244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:01:42] local.INFO: TCP Data received {"connection_id":178244,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851351d8012d18f9000720d4b00037013324..."} 
[2026-09-09 13:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851351d8012d18f9000720d4b00037013324..."} 
[2026-09-09 13:01:42] local.INFO: Processing buffer {"connection_id":178244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851351d8012d18f9000720d4b00037013324..."} 
[2026-09-09 13:01:42] local.INFO: Packet analysis {"connection_id":178244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:01:42] local.INFO: Extracted packet for processing {"connection_id":178244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756611328,"raw_latitude":119592112,"longitude_deg":75.6611328,"latitude_deg":11.9592112,"altitude":55,"angle":307,"satellites":36,"speed":34,"hex_longitude":"2d18f900","hex_latitude":"0720d4b0","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968391936001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18847287157456896,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799469556726804480,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01: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-09-09 13:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788939031000,"timestamp_ms":1788939031000,"timestamp_seconds":1788939031,"priority":1,"record_length":96,"hex_timestamp":"000001a0851351d8"} 
[2026-09-09 13:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:01: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-09-09 13: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-09 13:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:01:42] 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-09-09 13:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968391936001,"66":14243,"103":206,"83":41984,"24":34,"16":18847287157456896,"45":1799469556726804480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 13:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968391936001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:01:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 13:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18847287157456896,"km_value":18847287157456.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799469556726804480,"description":"Unknown IO ID 45"} 
[2026-09-09 13:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968391936001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1799469556726804480}} 
[2026-09-09 13:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":178244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:01:42] local.INFO: GPS data processed {"connection_id":178244,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:01:42] local.INFO: Acknowledgment sent {"connection_id":178244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:01:43] local.INFO: TCP Data received {"connection_id":178245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:01:43] local.INFO: Processing buffer {"connection_id":178245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:01:43] local.INFO: IMEI packet received {"connection_id":178245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":178245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:01:44] local.INFO: TCP Data received {"connection_id":178245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 13:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 13:01:44] local.INFO: Processing buffer {"connection_id":178245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0850f5268012d34c48006aa4990000d008d2a..."} 
[2026-09-09 13:01:44] local.INFO: Packet analysis {"connection_id":178245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 13:01:44] local.INFO: Extracted packet for processing {"connection_id":178245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0850f"} 
[2026-09-09 13:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968247808001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788938769000,"timestamp_ms":1788938769000,"timestamp_seconds":1788938769,"priority":1,"record_length":96,"hex_timestamp":"000001a0850f5268"} 
[2026-09-09 13:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 13:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968247808001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968247808001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968247808001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":178245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:01:44] local.INFO: GPS data processed {"connection_id":178245,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:01:44] local.INFO: Acknowledgment sent {"connection_id":178245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:01:47] local.INFO: TCP Data received {"connection_id":175663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:01:47] local.INFO: Processing buffer {"connection_id":175663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:01:47] local.INFO: IMEI packet received {"connection_id":175663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":175663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:02:13] local.INFO: TCP Data received {"connection_id":178244,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085141cf8012d18a500072174f80048011f29..."} 
[2026-09-09 13:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085141cf8012d18a500072174f80048011f29..."} 
[2026-09-09 13:02:13] local.INFO: Processing buffer {"connection_id":178244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085141cf8012d18a500072174f80048011f29..."} 
[2026-09-09 13:02:13] local.INFO: Packet analysis {"connection_id":178244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:02:13] local.INFO: Extracted packet for processing {"connection_id":178244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756589824,"raw_latitude":119633144,"longitude_deg":75.6589824,"latitude_deg":11.9633144,"altitude":72,"angle":287,"satellites":41,"speed":33,"hex_longitude":"2d18a500","hex_latitude":"072174f8","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968404736001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18849619324698624,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508553701376,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788939083000,"timestamp_ms":1788939083000,"timestamp_seconds":1788939083,"priority":1,"record_length":96,"hex_timestamp":"000001a085141cf8"} 
[2026-09-09 13:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:02: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-09-09 13:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 13:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:02:13] 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-09-09 13:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968404736001,"66":13830,"106":206,"83":41984,"24":33,"16":18849619324698624,"45":1777514508553701376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968404736001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:02:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18849619324698624,"km_value":18849619324698.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508553701376,"description":"Unknown IO ID 45"} 
[2026-09-09 13:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968404736001,"power":13830,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1777514508553701376}} 
[2026-09-09 13:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":178244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:02:13] local.INFO: GPS data processed {"connection_id":178244,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:02:13] local.INFO: Acknowledgment sent {"connection_id":178244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:02:16] local.INFO: TCP Data received {"connection_id":178245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:02:16] local.INFO: Processing buffer {"connection_id":178245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:02:16] local.INFO: Packet analysis {"connection_id":178245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:02:16] local.INFO: Extracted packet for processing {"connection_id":178245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 13:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":178245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:02:16] local.INFO: GPS data processed {"connection_id":178245,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:02:16] local.INFO: Acknowledgment sent {"connection_id":178245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:02:30] local.INFO: TCP Data received {"connection_id":176812,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:02:30] local.INFO: Processing buffer {"connection_id":176812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:02:30] local.INFO: IMEI packet received {"connection_id":176812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":176812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:02:31] local.INFO: TCP Data received {"connection_id":176812,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:02:31] local.INFO: Processing buffer {"connection_id":176812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:02:31] local.INFO: IMEI packet received {"connection_id":176812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":176812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:02:34] local.INFO: TCP Data received {"connection_id":176812,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:02:34] local.INFO: Processing buffer {"connection_id":176812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:02:34] local.INFO: IMEI packet received {"connection_id":176812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":176812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:02:35] local.INFO: TCP Data received {"connection_id":176812,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085144020012d188300072181480049011c29..."} 
[2026-09-09 13:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085144020012d188300072181480049011c29..."} 
[2026-09-09 13:02:35] local.INFO: Processing buffer {"connection_id":176812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085144020012d188300072181480049011c29..."} 
[2026-09-09 13:02:35] local.INFO: Packet analysis {"connection_id":176812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:02:35] local.INFO: Extracted packet for processing {"connection_id":176812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756581120,"raw_latitude":119636296,"longitude_deg":75.658112,"latitude_deg":11.9636296,"altitude":73,"angle":284,"satellites":41,"speed":40,"hex_longitude":"2d188300","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968405248001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18850061706330112,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658693613568,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02: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-09-09 13:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788939092000,"timestamp_ms":1788939092000,"timestamp_seconds":1788939092,"priority":1,"record_length":96,"hex_timestamp":"000001a085144020"} 
[2026-09-09 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-09-09 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10133107767312384,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633790400256,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":587202560,"corrected_to":0} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2232664864,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4142071808,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3221692734,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247736,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":187,"raw_value":5764938582594684705,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2305777032859549660,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:35] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,247,160,21,45,114,72,41,10,66,242,128,90,40,234,64,1,240,180,227,133,33,4,113,205,37,210,196,176,36,239,54,103,2,7,60,187,43],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":247,"original":587202560,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-09 13:02:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188462506663804928,"timestamp_seconds":5188462506663805.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 13:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:02:35] 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-09-09 13:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968405248001,"66":13928,"106":206,"83":41984,"24":40,"16":18850061706330112,"45":1775825658693613568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968405248001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:02:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18850061706330112,"km_value":18850061706330.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658693613568,"description":"Unknown IO ID 45"} 
[2026-09-09 13:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968405248001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1775825658693613568}} 
[2026-09-09 13:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":176812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:02:35] local.INFO: GPS data processed {"connection_id":176812,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:02:35] local.INFO: Acknowledgment sent {"connection_id":176812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:02:39] local.INFO: TCP Data received {"connection_id":176813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:02:39] local.INFO: Processing buffer {"connection_id":176813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:02:39] local.INFO: IMEI packet received {"connection_id":176813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":176813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:02:44] local.INFO: TCP Data received {"connection_id":176813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:02:44] local.INFO: Processing buffer {"connection_id":176813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:02:44] local.INFO: IMEI packet received {"connection_id":176813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":176813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:02:45] local.INFO: TCP Data received {"connection_id":176813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:02:45] local.INFO: Processing buffer {"connection_id":176813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:02:45] local.INFO: Packet analysis {"connection_id":176813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:02:45] local.INFO: Extracted packet for processing {"connection_id":176813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 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-09-09 13:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":176813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:02:45] local.INFO: GPS data processed {"connection_id":176813,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:02:45] local.INFO: Acknowledgment sent {"connection_id":176813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:03:06] local.INFO: TCP Data received {"connection_id":176812,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851447f0012d187b40072181f80048010b28..."} 
[2026-09-09 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851447f0012d187b40072181f80048010b28..."} 
[2026-09-09 13:03:06] local.INFO: Processing buffer {"connection_id":176812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851447f0012d187b40072181f80048010b28..."} 
[2026-09-09 13:03:06] local.INFO: Packet analysis {"connection_id":176812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:03:06] local.INFO: Extracted packet for processing {"connection_id":176812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756579136,"raw_latitude":119636472,"longitude_deg":75.6579136,"latitude_deg":11.9636472,"altitude":72,"angle":267,"satellites":40,"speed":38,"hex_longitude":"2d187b40","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968407552001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18850156195610624,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766255509486258176,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03: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-09-09 13:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788939094000,"timestamp_ms":1788939094000,"timestamp_seconds":1788939094,"priority":1,"record_length":96,"hex_timestamp":"000001a0851447f0"} 
[2026-09-09 13:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 13:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:03: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-09-09 13:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968407552001,"66":13928,"106":206,"83":41984,"24":38,"16":18850156195610624,"45":1766255509486258176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968407552001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:03:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18850156195610624,"km_value":18850156195610.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766255509486258176,"description":"Unknown IO ID 45"} 
[2026-09-09 13:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968407552001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1766255509486258176}} 
[2026-09-09 13:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":176812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:03:06] local.INFO: GPS data processed {"connection_id":176812,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:03:06] local.INFO: Acknowledgment sent {"connection_id":176812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:03:16] local.INFO: TCP Data received {"connection_id":176813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:03:16] local.INFO: Processing buffer {"connection_id":176813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:03:16] local.INFO: Packet analysis {"connection_id":176813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:03:16] local.INFO: Extracted packet for processing {"connection_id":176813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 13:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":176813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:03:16] local.INFO: GPS data processed {"connection_id":176813,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:03:16] local.INFO: Acknowledgment sent {"connection_id":176813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:03:29] local.INFO: TCP Data received {"connection_id":178246,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:03:29] local.INFO: Processing buffer {"connection_id":178246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:03:29] local.INFO: IMEI packet received {"connection_id":178246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":178246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:03:30] local.INFO: TCP Data received {"connection_id":178246,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:03:30] local.INFO: Processing buffer {"connection_id":178246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:03:30] local.INFO: IMEI packet received {"connection_id":178246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":178246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:03:35] local.INFO: TCP Data received {"connection_id":178246,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:03:35] local.INFO: Processing buffer {"connection_id":178246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:03:35] local.INFO: IMEI packet received {"connection_id":178246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":178246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:03:36] local.INFO: TCP Data received {"connection_id":178246,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085145f60012d186300072182180047011a29..."} 
[2026-09-09 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085145f60012d186300072182180047011a29..."} 
[2026-09-09 13:03:36] local.INFO: Processing buffer {"connection_id":178246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085145f60012d186300072182180047011a29..."} 
[2026-09-09 13:03:36] local.INFO: Packet analysis {"connection_id":178246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:03:36] local.INFO: Extracted packet for processing {"connection_id":178246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756572928,"raw_latitude":119636504,"longitude_deg":75.6572928,"latitude_deg":11.9636504,"altitude":71,"angle":282,"satellites":41,"speed":41,"hex_longitude":"2d186300","hex_latitude":"07218218","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968408064001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18850448253386752,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764074078416795648,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 13:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788939100000,"timestamp_ms":1788939100000,"timestamp_seconds":1788939100,"priority":1,"record_length":96,"hex_timestamp":"000001a085145f60"} 
[2026-09-09 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-09-09 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 13:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:03:36] 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-09-09 13:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968408064001,"66":13906,"105":206,"83":41984,"24":41,"16":18850448253386752,"45":1764074078416795648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 13:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968408064001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 13:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18850448253386752,"km_value":18850448253386.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764074078416795648,"description":"Unknown IO ID 45"} 
[2026-09-09 13:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968408064001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1764074078416795648}} 
[2026-09-09 13:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":178246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:03:36] local.INFO: GPS data processed {"connection_id":178246,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:03:36] local.INFO: Acknowledgment sent {"connection_id":178246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:03:43] local.INFO: TCP Data received {"connection_id":175446,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:03:43] local.INFO: Processing buffer {"connection_id":175446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:03:43] local.INFO: IMEI packet received {"connection_id":175446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":175446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:03:49] local.INFO: TCP Data received {"connection_id":175446,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:03:49] local.INFO: Processing buffer {"connection_id":175446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:03:49] local.INFO: IMEI packet received {"connection_id":175446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":175446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:03:50] local.INFO: TCP Data received {"connection_id":175446,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:03:50] local.INFO: Processing buffer {"connection_id":175446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:03:50] local.INFO: Packet analysis {"connection_id":175446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:03:50] local.INFO: Extracted packet for processing {"connection_id":175446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 13:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:03:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":175446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:03:50] local.INFO: GPS data processed {"connection_id":175446,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:03:50] local.INFO: Acknowledgment sent {"connection_id":175446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:03:55] local.INFO: TCP Data received {"connection_id":175446,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:03:55] local.INFO: Processing buffer {"connection_id":175446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:03:55] local.INFO: Packet analysis {"connection_id":175446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:03:55] local.INFO: Extracted packet for processing {"connection_id":175446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 13:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:03:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:03:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":175446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:03:55] local.INFO: GPS data processed {"connection_id":175446,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:03:55] local.INFO: Acknowledgment sent {"connection_id":175446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:04:07] local.INFO: TCP Data received {"connection_id":178246,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085146730012d185b40072184c8004801272a..."} 
[2026-09-09 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085146730012d185b40072184c8004801272a..."} 
[2026-09-09 13:04:07] local.INFO: Processing buffer {"connection_id":178246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085146730012d185b40072184c8004801272a..."} 
[2026-09-09 13:04:07] local.INFO: Packet analysis {"connection_id":178246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:04:07] local.INFO: Extracted packet for processing {"connection_id":178246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08514"} 
[2026-09-09 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756570944,"raw_latitude":119637192,"longitude_deg":75.6570944,"latitude_deg":11.9637192,"altitude":72,"angle":295,"satellites":42,"speed":39,"hex_longitude":"2d185b40","hex_latitude":"072184c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968409600001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18850547037634560,"note":"Value kept but may cause issues"} 
[2026-09-09 13:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757248310231570432,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 13:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939102000,"timestamp_ms":1788939102000,"timestamp_seconds":1788939102,"priority":1,"record_length":96,"hex_timestamp":"000001a085146730"} 
[2026-09-09 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-09-09 13:04: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-09-09 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 13:04: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-09-09 13: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-09-09 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-09-09 13:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:04:07] 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-09-09 13:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968409600001,"66":13798,"105":206,"83":41984,"24":39,"16":18850547037634560,"45":1757248310231570432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 13:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968409600001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:04:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 13:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18850547037634560,"km_value":18850547037634.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757248310231570432,"description":"Unknown IO ID 45"} 
[2026-09-09 13:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968409600001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1757248310231570432}} 
[2026-09-09 13:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":178246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:04:07] local.INFO: GPS data processed {"connection_id":178246,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:04:07] local.INFO: Acknowledgment sent {"connection_id":178246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:04:30] local.INFO: TCP Data received {"connection_id":176815,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:04:30] local.INFO: Processing buffer {"connection_id":176815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:04:30] local.INFO: IMEI packet received {"connection_id":176815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":176815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:04:31] local.INFO: TCP Data received {"connection_id":176815,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:04:31] local.INFO: Processing buffer {"connection_id":176815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:04:31] local.INFO: IMEI packet received {"connection_id":176815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":176815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:04:35] local.INFO: TCP Data received {"connection_id":176815,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:04:35] local.INFO: Processing buffer {"connection_id":176815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:04:35] local.INFO: IMEI packet received {"connection_id":176815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":176815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:04:36] local.INFO: TCP Data received {"connection_id":176815,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085165b30012d1820000721a498004f013127..."} 
[2026-09-09 13:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085165b30012d1820000721a498004f013127..."} 
[2026-09-09 13:04:36] local.INFO: Processing buffer {"connection_id":176815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085165b30012d1820000721a498004f013127..."} 
[2026-09-09 13:04:36] local.INFO: Packet analysis {"connection_id":176815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08516"} 
[2026-09-09 13:04:36] local.INFO: Extracted packet for processing {"connection_id":176815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08516"} 
[2026-09-09 13:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645336,"longitude_deg":75.6555776,"latitude_deg":11.9645336,"altitude":79,"angle":305,"satellites":39,"speed":12,"hex_longitude":"2d182000","hex_latitude":"0721a498","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968441088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18851401736126464,"note":"Value kept but may cause issues"} 
[2026-09-09 13:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933322752,"note":"Value kept but may cause issues"} 
[2026-09-09 13:04: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-09-09 13:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788939230000,"timestamp_ms":1788939230000,"timestamp_seconds":1788939230,"priority":1,"record_length":96,"hex_timestamp":"000001a085165b30"} 
[2026-09-09 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-09-09 13:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-09 13:04: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-09-09 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-09-09 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-09-09 13:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:04:36] 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-09-09 13:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968441088001,"66":14265,"107":206,"83":41984,"24":12,"16":18851401736126464,"45":1739726492933322752},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968441088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:04:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18851401736126464,"km_value":18851401736126.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933322752,"description":"Unknown IO ID 45"} 
[2026-09-09 13:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968441088001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1739726492933322752}} 
[2026-09-09 13:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":176815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:04:36] local.INFO: GPS data processed {"connection_id":176815,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:04:36] local.INFO: Acknowledgment sent {"connection_id":176815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:04:39] local.INFO: TCP Data received {"connection_id":175664,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:04:39] local.INFO: Processing buffer {"connection_id":175664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:04:39] local.INFO: IMEI packet received {"connection_id":175664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":175664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:04:44] local.INFO: TCP Data received {"connection_id":175664,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:04:44] local.INFO: Processing buffer {"connection_id":175664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:04:44] local.INFO: IMEI packet received {"connection_id":175664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":175664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:04:45] local.INFO: TCP Data received {"connection_id":175664,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:04:45] local.INFO: Processing buffer {"connection_id":175664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:04:45] local.INFO: Packet analysis {"connection_id":175664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:04:45] local.INFO: Extracted packet for processing {"connection_id":175664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 13:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:04:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":175664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:04:45] local.INFO: GPS data processed {"connection_id":175664,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:04:45] local.INFO: Acknowledgment sent {"connection_id":175664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:05:06] local.INFO: TCP Data received {"connection_id":176815,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851666e8012d181e000721a590004f011d28..."} 
[2026-09-09 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851666e8012d181e000721a590004f011d28..."} 
[2026-09-09 13:05:06] local.INFO: Processing buffer {"connection_id":176815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851666e8012d181e000721a590004f011d28..."} 
[2026-09-09 13:05:06] local.INFO: Packet analysis {"connection_id":176815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08516"} 
[2026-09-09 13:05:06] local.INFO: Extracted packet for processing {"connection_id":176815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08516"} 
[2026-09-09 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119645584,"longitude_deg":75.6555264,"latitude_deg":11.9645584,"altitude":79,"angle":285,"satellites":40,"speed":6,"hex_longitude":"2d181e00","hex_latitude":"0721a590","is_valid_coordinates":true} 
[2026-09-09 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968442880001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18851427505930240,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794217472,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05: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-09-09 13:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788939233000,"timestamp_ms":1788939233000,"timestamp_seconds":1788939233,"priority":1,"record_length":96,"hex_timestamp":"000001a0851666e8"} 
[2026-09-09 13:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 13:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:05: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-09-09 13:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968442880001,"66":14341,"107":206,"83":41984,"24":6,"16":18851427505930240,"45":1738389486794217472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968442880001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:05:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18851427505930240,"km_value":18851427505930.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794217472,"description":"Unknown IO ID 45"} 
[2026-09-09 13:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968442880001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738389486794217472}} 
[2026-09-09 13:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":176815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:05:06] local.INFO: GPS data processed {"connection_id":176815,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:05:06] local.INFO: Acknowledgment sent {"connection_id":176815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:05:17] local.INFO: TCP Data received {"connection_id":175664,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:05:17] local.INFO: Processing buffer {"connection_id":175664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:05:17] local.INFO: Packet analysis {"connection_id":175664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:05:17] local.INFO: Extracted packet for processing {"connection_id":175664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 13:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:05: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-09-09 13:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":175664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:05:17] local.INFO: GPS data processed {"connection_id":175664,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:05:17] local.INFO: Acknowledgment sent {"connection_id":175664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:05:30] local.INFO: TCP Data received {"connection_id":176816,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:05:30] local.INFO: Processing buffer {"connection_id":176816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:05:30] local.INFO: IMEI packet received {"connection_id":176816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":176816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:05:35] local.INFO: TCP Data received {"connection_id":176816,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:05:35] local.INFO: Processing buffer {"connection_id":176816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:05:35] local.INFO: IMEI packet received {"connection_id":176816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":176816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:05:36] local.INFO: TCP Data received {"connection_id":176816,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851712c8012d17c78007213378003b00d529..."} 
[2026-09-09 13:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851712c8012d17c78007213378003b00d529..."} 
[2026-09-09 13:05:36] local.INFO: Processing buffer {"connection_id":176816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851712c8012d17c78007213378003b00d529..."} 
[2026-09-09 13:05:36] local.INFO: Packet analysis {"connection_id":176816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08517"} 
[2026-09-09 13:05:36] local.INFO: Extracted packet for processing {"connection_id":176816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08517"} 
[2026-09-09 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756533120,"raw_latitude":119616376,"longitude_deg":75.653312,"latitude_deg":11.9616376,"altitude":59,"angle":213,"satellites":41,"speed":55,"hex_longitude":"2d17c780","hex_latitude":"07213378","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968453120001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18853214212325376,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719038082140041216,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05: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-09-09 13:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788939277000,"timestamp_ms":1788939277000,"timestamp_seconds":1788939277,"priority":1,"record_length":96,"hex_timestamp":"000001a0851712c8"} 
[2026-09-09 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-09-09 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 13:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:05:36] 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-09-09 13:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968453120001,"66":14298,"107":206,"83":41984,"24":55,"16":18853214212325376,"45":1719038082140041216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968453120001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:05:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18853214212325376,"km_value":18853214212325.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719038082140041216,"description":"Unknown IO ID 45"} 
[2026-09-09 13:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968453120001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":55,"odometer":null,"unknown_45":1719038082140041216}} 
[2026-09-09 13:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":176816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:05:36] local.INFO: GPS data processed {"connection_id":176816,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:05:36] local.INFO: Acknowledgment sent {"connection_id":176816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:05:39] local.INFO: TCP Data received {"connection_id":175665,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:05:39] local.INFO: Processing buffer {"connection_id":175665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:05:39] local.INFO: IMEI packet received {"connection_id":175665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":175665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:05:43] local.INFO: TCP Data received {"connection_id":175665,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:05:43] local.INFO: Processing buffer {"connection_id":175665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:05:43] local.INFO: IMEI packet received {"connection_id":175665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:05:44] local.INFO: TCP Data received {"connection_id":175665,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:05:44] local.INFO: Processing buffer {"connection_id":175665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:05:44] local.INFO: Packet analysis {"connection_id":175665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:05:44] local.INFO: Extracted packet for processing {"connection_id":175665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 13:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":175665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:05:44] local.INFO: GPS data processed {"connection_id":175665,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:05:44] local.INFO: Acknowledgment sent {"connection_id":175665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:06:07] local.INFO: TCP Data received {"connection_id":176816,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085172a38012d17b64007211ec8003900e029..."} 
[2026-09-09 13:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085172a38012d17b64007211ec8003900e029..."} 
[2026-09-09 13:06:07] local.INFO: Processing buffer {"connection_id":176816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085172a38012d17b64007211ec8003900e029..."} 
[2026-09-09 13:06:07] local.INFO: Packet analysis {"connection_id":176816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08517"} 
[2026-09-09 13:06:07] local.INFO: Extracted packet for processing {"connection_id":176816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08517"} 
[2026-09-09 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756528704,"raw_latitude":119611080,"longitude_deg":75.6528704,"latitude_deg":11.961108,"altitude":57,"angle":224,"satellites":41,"speed":29,"hex_longitude":"2d17b640","hex_latitude":"07211ec8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968454912001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18853549219774464,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713478951347910656,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06: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-09-09 13:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939283000,"timestamp_ms":1788939283000,"timestamp_seconds":1788939283,"priority":1,"record_length":96,"hex_timestamp":"000001a085172a38"} 
[2026-09-09 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-09-09 13:06: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-09-09 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 13:06: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-09-09 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-09-09 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-09-09 13:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:06:07] 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-09-09 13:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968454912001,"66":14428,"107":206,"83":41984,"24":29,"16":18853549219774464,"45":1713478951347910656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968454912001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:06:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18853549219774464,"km_value":18853549219774.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713478951347910656,"description":"Unknown IO ID 45"} 
[2026-09-09 13:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968454912001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1713478951347910656}} 
[2026-09-09 13:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":176816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:06:07] local.INFO: GPS data processed {"connection_id":176816,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:06:07] local.INFO: Acknowledgment sent {"connection_id":176816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:06:16] local.INFO: TCP Data received {"connection_id":175665,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:06:16] local.INFO: Processing buffer {"connection_id":175665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:06:16] local.INFO: Packet analysis {"connection_id":175665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:06:16] local.INFO: Extracted packet for processing {"connection_id":175665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 13:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:06:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":175665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:06:16] local.INFO: GPS data processed {"connection_id":175665,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:06:16] local.INFO: Acknowledgment sent {"connection_id":175665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:06:30] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:06:30] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:06:30] local.INFO: IMEI packet received {"connection_id":175448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":175448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:06:35] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:06:35] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:06:35] local.INFO: IMEI packet received {"connection_id":175448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":175448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:06:36] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08517fd28012d17cfc00720d880003000c328..."} 
[2026-09-09 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08517fd28012d17cfc00720d880003000c328..."} 
[2026-09-09 13:06:36] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08517fd28012d17cfc00720d880003000c328..."} 
[2026-09-09 13:06:36] local.INFO: Packet analysis {"connection_id":175448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08517"} 
[2026-09-09 13:06:36] local.INFO: Extracted packet for processing {"connection_id":175448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08517"} 
[2026-09-09 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756535232,"raw_latitude":119593088,"longitude_deg":75.6535232,"latitude_deg":11.9593088,"altitude":48,"angle":195,"satellites":40,"speed":17,"hex_longitude":"2d17cfc0","hex_latitude":"0720d880","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968467456001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854537062252544,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715660382412439552,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06: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-09-09 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788939337000,"timestamp_ms":1788939337000,"timestamp_seconds":1788939337,"priority":1,"record_length":96,"hex_timestamp":"000001a08517fd28"} 
[2026-09-09 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-09-09 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 13:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:06:36] 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-09-09 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968467456001,"66":13254,"107":206,"83":41984,"24":17,"16":18854537062252544,"45":1715660382412439552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968467456001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:06:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854537062252544,"km_value":18854537062252.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715660382412439552,"description":"Unknown IO ID 45"} 
[2026-09-09 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968467456001,"power":13254,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1715660382412439552}} 
[2026-09-09 13:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":175448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:06:36] local.INFO: GPS data processed {"connection_id":175448,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:06:36] local.INFO: Acknowledgment sent {"connection_id":175448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:06:39] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:06:39] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:06:39] local.INFO: IMEI packet received {"connection_id":175449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":175449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:06:45] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:06:45] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:06:45] local.INFO: IMEI packet received {"connection_id":175449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":175449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:06:46] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:06:46] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08513ea30012d34c48006aa4990000c008d29..."} 
[2026-09-09 13:06:46] local.INFO: Packet analysis {"connection_id":175449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:06:46] local.INFO: Extracted packet for processing {"connection_id":175449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08513"} 
[2026-09-09 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968324864001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788939070000,"timestamp_ms":1788939070000,"timestamp_seconds":1788939070,"priority":1,"record_length":96,"hex_timestamp":"000001a08513ea30"} 
[2026-09-09 13:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968324864001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968324864001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968324864001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":175449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:06:46] local.INFO: GPS data processed {"connection_id":175449,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:06:46] local.INFO: Acknowledgment sent {"connection_id":175449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:06:51] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:06:51] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:06:51] local.INFO: IMEI packet received {"connection_id":175667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":175667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:07:07] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851808e0012d17cdc00720d358003000d228..."} 
[2026-09-09 13:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851808e0012d17cdc00720d358003000d228..."} 
[2026-09-09 13:07:07] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851808e0012d17cdc00720d358003000d228..."} 
[2026-09-09 13:07:07] local.INFO: Packet analysis {"connection_id":175448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:07] local.INFO: Extracted packet for processing {"connection_id":175448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756534720,"raw_latitude":119591768,"longitude_deg":75.653472,"latitude_deg":11.9591768,"altitude":48,"angle":210,"satellites":40,"speed":18,"hex_longitude":"2d17cdc0","hex_latitude":"0720d358","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968470272001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854605781729280,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715801119899811840,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07: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-09-09 13:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939340000,"timestamp_ms":1788939340000,"timestamp_seconds":1788939340,"priority":1,"record_length":96,"hex_timestamp":"000001a0851808e0"} 
[2026-09-09 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-09-09 13:07: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-09-09 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 13:07: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-09-09 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-09-09 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-09-09 13:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:07:07] 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-09-09 13:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968470272001,"66":13243,"107":206,"83":41984,"24":18,"16":18854605781729280,"45":1715801119899811840},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968470272001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:07:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854605781729280,"km_value":18854605781729.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715801119899811840,"description":"Unknown IO ID 45"} 
[2026-09-09 13:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968470272001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1715801119899811840}} 
[2026-09-09 13:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":175448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:07:07] local.INFO: GPS data processed {"connection_id":175448,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:07:07] local.INFO: Acknowledgment sent {"connection_id":175448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:07:18] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:07:18] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:07:18] local.INFO: Packet analysis {"connection_id":175449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:18] local.INFO: Extracted packet for processing {"connection_id":175449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:07:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":175449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:07:18] local.INFO: GPS data processed {"connection_id":175449,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:07:18] local.INFO: Acknowledgment sent {"connection_id":175449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:07:32] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:07:32] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:07:32] local.INFO: IMEI packet received {"connection_id":175668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":175668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:07:35] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:07:35] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:07:35] local.INFO: IMEI packet received {"connection_id":175668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":175668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:07:38] local.INFO: TCP Data received {"connection_id":176817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:07:38] local.INFO: Processing buffer {"connection_id":176817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:07:38] local.INFO: IMEI packet received {"connection_id":176817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":176817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:07:40] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:07:40] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:07:40] local.INFO: IMEI packet received {"connection_id":175668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":175668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:07:41] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085181880012d17c9000720cd90002f00de27..."} 
[2026-09-09 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085181880012d17c9000720cd90002f00de27..."} 
[2026-09-09 13:07:41] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085181880012d17c9000720cd90002f00de27..."} 
[2026-09-09 13:07:41] local.INFO: Packet analysis {"connection_id":175668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:41] local.INFO: Extracted packet for processing {"connection_id":175668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119590288,"longitude_deg":75.6533504,"latitude_deg":11.9590288,"altitude":47,"angle":222,"satellites":39,"speed":18,"hex_longitude":"2d17c900","hex_latitude":"0720cd90","is_valid_coordinates":true} 
[2026-09-09 13:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968471040001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854695976042496,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715238169946052608,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07: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-09-09 13:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788939344000,"timestamp_ms":1788939344000,"timestamp_seconds":1788939344,"priority":1,"record_length":96,"hex_timestamp":"000001a085181880"} 
[2026-09-09 13:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-09 13:07: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-09-09 13:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:07:41] 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-09-09 13:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968471040001,"66":13156,"107":206,"83":41984,"24":18,"16":18854695976042496,"45":1715238169946052608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968471040001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:07:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854695976042496,"km_value":18854695976042.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715238169946052608,"description":"Unknown IO ID 45"} 
[2026-09-09 13:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968471040001,"power":13156,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1715238169946052608}} 
[2026-09-09 13:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":175668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:07:41] local.INFO: GPS data processed {"connection_id":175668,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:07:41] local.INFO: Acknowledgment sent {"connection_id":175668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:07:43] local.INFO: TCP Data received {"connection_id":176817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:07:43] local.INFO: Processing buffer {"connection_id":176817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:07:43] local.INFO: IMEI packet received {"connection_id":176817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":176817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:07:45] local.INFO: TCP Data received {"connection_id":176817,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:07:45] local.INFO: Processing buffer {"connection_id":176817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:07:45] local.INFO: Packet analysis {"connection_id":176817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:45] local.INFO: Extracted packet for processing {"connection_id":176817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:07:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":176817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:07:45] local.INFO: GPS data processed {"connection_id":176817,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:07:45] local.INFO: Acknowledgment sent {"connection_id":176817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:07:45] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085182820012d17c5c00720ca60002f00f828..."} 
[2026-09-09 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085182820012d17c5c00720ca60002f00f828..."} 
[2026-09-09 13:07:45] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085182820012d17c5c00720ca60002f00f828..."} 
[2026-09-09 13:07:45] local.INFO: Packet analysis {"connection_id":175668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:45] local.INFO: Extracted packet for processing {"connection_id":175668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756532672,"raw_latitude":119589472,"longitude_deg":75.6532672,"latitude_deg":11.9589472,"altitude":47,"angle":248,"satellites":40,"speed":7,"hex_longitude":"2d17c5c0","hex_latitude":"0720ca60","is_valid_coordinates":true} 
[2026-09-09 13:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968472064001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854756105584640,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163806298112,"note":"Value kept but may cause issues"} 
[2026-09-09 13:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939348000,"timestamp_ms":1788939348000,"timestamp_seconds":1788939348,"priority":1,"record_length":96,"hex_timestamp":"000001a085182820"} 
[2026-09-09 13:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"data_length":795,"current_offset":136} 
[2026-09-09 13:07: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-09-09 13:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:07:45] 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-09-09 13:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968472064001,"66":13156,"107":206,"83":41984,"24":7,"16":18854756105584640,"45":1713901163806298112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968472064001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:07:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854756105584640,"km_value":18854756105584.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163806298112,"description":"Unknown IO ID 45"} 
[2026-09-09 13:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968472064001,"power":13156,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1713901163806298112}} 
[2026-09-09 13:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":175668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:07:46] local.INFO: GPS data processed {"connection_id":175668,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:07:46] local.INFO: Acknowledgment sent {"connection_id":175668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:08:17] local.INFO: TCP Data received {"connection_id":176817,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:08:17] local.INFO: Processing buffer {"connection_id":176817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:08:17] local.INFO: Packet analysis {"connection_id":176817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:08:17] local.INFO: Extracted packet for processing {"connection_id":176817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":176817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:08:17] local.INFO: GPS data processed {"connection_id":176817,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:08:17] local.INFO: Acknowledgment sent {"connection_id":176817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:08:30] local.INFO: TCP Data received {"connection_id":176819,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:08:30] local.INFO: Processing buffer {"connection_id":176819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:08:30] local.INFO: IMEI packet received {"connection_id":176819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":176819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:08:34] local.INFO: TCP Data received {"connection_id":176819,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:08:34] local.INFO: Processing buffer {"connection_id":176819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:08:34] local.INFO: IMEI packet received {"connection_id":176819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":176819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:08:35] local.INFO: TCP Data received {"connection_id":176819,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851833d8012d17c4400720ca38002f011928..."} 
[2026-09-09 13:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851833d8012d17c4400720ca38002f011928..."} 
[2026-09-09 13:08:35] local.INFO: Processing buffer {"connection_id":176819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851833d8012d17c4400720ca38002f011928..."} 
[2026-09-09 13:08:35] local.INFO: Packet analysis {"connection_id":176819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:08:35] local.INFO: Extracted packet for processing {"connection_id":176819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756532288,"raw_latitude":119589432,"longitude_deg":75.6532288,"latitude_deg":11.9589432,"altitude":47,"angle":281,"satellites":40,"speed":5,"hex_longitude":"2d17c440","hex_latitude":"0720ca38","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968473088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854773285453824,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712986370131779584,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788939351000,"timestamp_ms":1788939351000,"timestamp_seconds":1788939351,"priority":1,"record_length":96,"hex_timestamp":"000001a0851833d8"} 
[2026-09-09 13:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"data_length":795,"current_offset":136} 
[2026-09-09 13:08: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-09-09 13: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-09-09 13:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:08:35] 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-09-09 13:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968473088001,"66":13243,"107":206,"83":41984,"24":5,"16":18854773285453824,"45":1712986370131779584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968473088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:08:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854773285453824,"km_value":18854773285453.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712986370131779584,"description":"Unknown IO ID 45"} 
[2026-09-09 13:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968473088001,"power":13243,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1712986370131779584}} 
[2026-09-09 13:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":176819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:08:35] local.INFO: GPS data processed {"connection_id":176819,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:08:35] local.INFO: Acknowledgment sent {"connection_id":176819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:08:44] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:08:44] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:08:44] local.INFO: IMEI packet received {"connection_id":175669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:08:49] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:08:49] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:08:49] local.INFO: IMEI packet received {"connection_id":175669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":175669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:08:51] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:08:51] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:08:51] local.INFO: Packet analysis {"connection_id":175669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:08:51] local.INFO: Extracted packet for processing {"connection_id":175669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":175669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:08:51] local.INFO: GPS data processed {"connection_id":175669,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:08:51] local.INFO: Acknowledgment sent {"connection_id":175669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:08:55] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:08:55] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:08:55] local.INFO: Packet analysis {"connection_id":175669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:08:55] local.INFO: Extracted packet for processing {"connection_id":175669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:08:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":175669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:08:55] local.INFO: GPS data processed {"connection_id":175669,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:08:55] local.INFO: Acknowledgment sent {"connection_id":175669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:09:06] local.INFO: TCP Data received {"connection_id":176819,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851885e0012d17c1400720c9880030011929..."} 
[2026-09-09 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851885e0012d17c1400720c9880030011929..."} 
[2026-09-09 13:09:06] local.INFO: Processing buffer {"connection_id":176819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851885e0012d17c1400720c9880030011929..."} 
[2026-09-09 13:09:06] local.INFO: Packet analysis {"connection_id":176819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:09:06] local.INFO: Extracted packet for processing {"connection_id":176819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756531520,"raw_latitude":119589256,"longitude_deg":75.653152,"latitude_deg":11.9589256,"altitude":48,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d17c140","hex_latitude":"0720c988","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968473856001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854816235126784,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712564157666703360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09: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-09-09 13:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788939372000,"timestamp_ms":1788939372000,"timestamp_seconds":1788939372,"priority":1,"record_length":96,"hex_timestamp":"000001a0851885e0"} 
[2026-09-09 13:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13: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-09-09 13: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-09-09 13:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:09: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-09-09 13:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968473856001,"66":13135,"107":206,"83":41984,"24":0,"16":18854816235126784,"45":1712564157666703360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968473856001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:09:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854816235126784,"km_value":18854816235126.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712564157666703360,"description":"Unknown IO ID 45"} 
[2026-09-09 13:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968473856001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1712564157666703360}} 
[2026-09-09 13:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":176819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:09:06] local.INFO: GPS data processed {"connection_id":176819,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:09:06] local.INFO: Acknowledgment sent {"connection_id":176819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:09:30] local.INFO: TCP Data received {"connection_id":175450,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:09:30] local.INFO: Processing buffer {"connection_id":175450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:09:30] local.INFO: IMEI packet received {"connection_id":175450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":175450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:09:36] local.INFO: TCP Data received {"connection_id":175450,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:09:36] local.INFO: Processing buffer {"connection_id":175450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:09:36] local.INFO: IMEI packet received {"connection_id":175450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":175450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:09:37] local.INFO: TCP Data received {"connection_id":175450,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08518d7e8012d17c1400720c9880030011927..."} 
[2026-09-09 13:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08518d7e8012d17c1400720c9880030011927..."} 
[2026-09-09 13:09:37] local.INFO: Processing buffer {"connection_id":175450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08518d7e8012d17c1400720c9880030011927..."} 
[2026-09-09 13:09:37] local.INFO: Packet analysis {"connection_id":175450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:09:37] local.INFO: Extracted packet for processing {"connection_id":175450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756531520,"raw_latitude":119589256,"longitude_deg":75.653152,"latitude_deg":11.9589256,"altitude":48,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d17c140","hex_latitude":"0720c988","is_valid_coordinates":true} 
[2026-09-09 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968479232001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854816235126784,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711719732736526336,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09: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-09-09 13:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788939393000,"timestamp_ms":1788939393000,"timestamp_seconds":1788939393,"priority":1,"record_length":96,"hex_timestamp":"000001a08518d7e8"} 
[2026-09-09 13:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-09 13:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:09: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-09-09 13:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968479232001,"66":13091,"107":206,"83":41984,"24":0,"16":18854816235126784,"45":1711719732736526336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968479232001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:09:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854816235126784,"km_value":18854816235126.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711719732736526336,"description":"Unknown IO ID 45"} 
[2026-09-09 13:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968479232001,"power":13091,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1711719732736526336}} 
[2026-09-09 13:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":175450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:09:37] local.INFO: GPS data processed {"connection_id":175450,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:09:37] local.INFO: Acknowledgment sent {"connection_id":175450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:09:40] local.INFO: TCP Data received {"connection_id":178247,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:09:40] local.INFO: Processing buffer {"connection_id":178247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:09:40] local.INFO: IMEI packet received {"connection_id":178247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":178247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:09:43] local.INFO: TCP Data received {"connection_id":178247,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:09:43] local.INFO: Processing buffer {"connection_id":178247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:09:43] local.INFO: IMEI packet received {"connection_id":178247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":178247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:09:45] local.INFO: TCP Data received {"connection_id":178247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:09:45] local.INFO: Processing buffer {"connection_id":178247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:09:45] local.INFO: Packet analysis {"connection_id":178247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:09:45] local.INFO: Extracted packet for processing {"connection_id":178247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":178247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:09:45] local.INFO: GPS data processed {"connection_id":178247,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:09:45] local.INFO: Acknowledgment sent {"connection_id":178247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:09:49] local.INFO: TCP Data received {"connection_id":178247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:09:49] local.INFO: Processing buffer {"connection_id":178247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:09:49] local.INFO: Packet analysis {"connection_id":178247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:09:49] local.INFO: Extracted packet for processing {"connection_id":178247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":178247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:09:49] local.INFO: GPS data processed {"connection_id":178247,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:09:49] local.INFO: Acknowledgment sent {"connection_id":178247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:10:07] local.INFO: TCP Data received {"connection_id":175450,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851929f0012d17c1400720c988003001192a..."} 
[2026-09-09 13:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851929f0012d17c1400720c988003001192a..."} 
[2026-09-09 13:10:07] local.INFO: Processing buffer {"connection_id":175450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851929f0012d17c1400720c988003001192a..."} 
[2026-09-09 13:10:07] local.INFO: Packet analysis {"connection_id":175450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08519"} 
[2026-09-09 13:10:07] local.INFO: Extracted packet for processing {"connection_id":175450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08519"} 
[2026-09-09 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756531520,"raw_latitude":119589256,"longitude_deg":75.653152,"latitude_deg":11.9589256,"altitude":48,"angle":281,"satellites":42,"speed":0,"hex_longitude":"2d17c140","hex_latitude":"0720c988","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968484608001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854816235126784,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711719732736526336,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10: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-09-09 13:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939414000,"timestamp_ms":1788939414000,"timestamp_seconds":1788939414,"priority":1,"record_length":96,"hex_timestamp":"000001a0851929f0"} 
[2026-09-09 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-09-09 13:10: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-09-09 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-09 13:10: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-09-09 13: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-09-09 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-09-09 13:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:10:07] 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-09-09 13:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968484608001,"66":13080,"107":206,"83":41984,"24":0,"16":18854816235126784,"45":1711719732736526336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968484608001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:10:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854816235126784,"km_value":18854816235126.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711719732736526336,"description":"Unknown IO ID 45"} 
[2026-09-09 13:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968484608001,"power":13080,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1711719732736526336}} 
[2026-09-09 13:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":175450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:10:07] local.INFO: GPS data processed {"connection_id":175450,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:10:07] local.INFO: Acknowledgment sent {"connection_id":175450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:10:21] local.INFO: TCP Data received {"connection_id":178247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:10:21] local.INFO: Processing buffer {"connection_id":178247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:10:21] local.INFO: Packet analysis {"connection_id":178247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:10:21] local.INFO: Extracted packet for processing {"connection_id":178247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:10:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":178247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:10:21] local.INFO: GPS data processed {"connection_id":178247,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:10:21] local.INFO: Acknowledgment sent {"connection_id":178247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:10:30] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:10:30] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:10:30] local.INFO: IMEI packet received {"connection_id":175451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":175451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:10:35] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:10:35] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:10:35] local.INFO: IMEI packet received {"connection_id":175451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":175451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:10:36] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085197bf8012d17c1400720c9880030011929..."} 
[2026-09-09 13:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085197bf8012d17c1400720c9880030011929..."} 
[2026-09-09 13:10:36] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085197bf8012d17c1400720c9880030011929..."} 
[2026-09-09 13:10:36] local.INFO: Packet analysis {"connection_id":175451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08519"} 
[2026-09-09 13:10:36] local.INFO: Extracted packet for processing {"connection_id":175451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08519"} 
[2026-09-09 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756531520,"raw_latitude":119589256,"longitude_deg":75.653152,"latitude_deg":11.9589256,"altitude":48,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d17c140","hex_latitude":"0720c988","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968489984001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854816235126784,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711719732736526336,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10: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-09-09 13:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788939435000,"timestamp_ms":1788939435000,"timestamp_seconds":1788939435,"priority":1,"record_length":96,"hex_timestamp":"000001a085197bf8"} 
[2026-09-09 13:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-09 13:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:10:36] 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-09-09 13:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968489984001,"66":12993,"107":206,"83":41984,"24":0,"16":18854816235126784,"45":1711719732736526336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968489984001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:10:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854816235126784,"km_value":18854816235126.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711719732736526336,"description":"Unknown IO ID 45"} 
[2026-09-09 13:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968489984001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1711719732736526336}} 
[2026-09-09 13:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":175451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:10:36] local.INFO: GPS data processed {"connection_id":175451,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:10:36] local.INFO: Acknowledgment sent {"connection_id":175451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:10:39] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:10:39] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:10:39] local.INFO: IMEI packet received {"connection_id":175671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":175671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:10:44] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:10:44] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:10:44] local.INFO: IMEI packet received {"connection_id":175671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":175671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:10:45] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:10:45] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:10:45] local.INFO: Packet analysis {"connection_id":175671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:10:45] local.INFO: Extracted packet for processing {"connection_id":175671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:10:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":175671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:10:45] local.INFO: GPS data processed {"connection_id":175671,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:10:45] local.INFO: Acknowledgment sent {"connection_id":175671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:11:07] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08519ca18012d17c4c00720c990003600582b..."} 
[2026-09-09 13:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08519ca18012d17c4c00720c990003600582b..."} 
[2026-09-09 13:11:07] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08519ca18012d17c4c00720c990003600582b..."} 
[2026-09-09 13:11:07] local.INFO: Packet analysis {"connection_id":175451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08519"} 
[2026-09-09 13:11:07] local.INFO: Extracted packet for processing {"connection_id":175451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08519"} 
[2026-09-09 13:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756532416,"raw_latitude":119589264,"longitude_deg":75.6532416,"latitude_deg":11.9589264,"altitude":54,"angle":88,"satellites":43,"speed":0,"hex_longitude":"2d17c4c0","hex_latitude":"0720c990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968495360001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854859184799744,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711719732736526336,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11: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-09-09 13:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939455000,"timestamp_ms":1788939455000,"timestamp_seconds":1788939455,"priority":1,"record_length":96,"hex_timestamp":"000001a08519ca18"} 
[2026-09-09 13:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:11: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-09-09 13: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":193,"data_length":795,"current_offset":136} 
[2026-09-09 13:11: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-09-09 13: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-09-09 13:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:11:07] 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-09-09 13:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968495360001,"66":13004,"107":206,"83":41984,"24":0,"16":18854859184799744,"45":1711719732736526336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968495360001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:11:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854859184799744,"km_value":18854859184799.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711719732736526336,"description":"Unknown IO ID 45"} 
[2026-09-09 13:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968495360001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1711719732736526336}} 
[2026-09-09 13:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":175451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:11:07] local.INFO: GPS data processed {"connection_id":175451,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:11:07] local.INFO: Acknowledgment sent {"connection_id":175451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:11:16] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:11:16] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:11:16] local.INFO: Packet analysis {"connection_id":175671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:11:16] local.INFO: Extracted packet for processing {"connection_id":175671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":175671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:11:16] local.INFO: GPS data processed {"connection_id":175671,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:11:16] local.INFO: Acknowledgment sent {"connection_id":175671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:11:29] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:29] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:29] local.INFO: IMEI packet received {"connection_id":176821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":176821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:11:30] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:30] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:30] local.INFO: IMEI packet received {"connection_id":176821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":176821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:11:31] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:31] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:31] local.INFO: IMEI packet received {"connection_id":176821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":176821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:11:34] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:34] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:11:34] local.INFO: IMEI packet received {"connection_id":176821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":176821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:11:35] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851cc3d0012d17c6000720c9c00038006028..."} 
[2026-09-09 13:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851cc3d0012d17c6000720c9c00038006028..."} 
[2026-09-09 13:11:35] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851cc3d0012d17c6000720c9c00038006028..."} 
[2026-09-09 13:11:35] local.INFO: Packet analysis {"connection_id":176821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851c"} 
[2026-09-09 13:11:35] local.INFO: Extracted packet for processing {"connection_id":176821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851c"} 
[2026-09-09 13:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756532736,"raw_latitude":119589312,"longitude_deg":75.6532736,"latitude_deg":11.9589312,"altitude":56,"angle":96,"satellites":40,"speed":2,"hex_longitude":"2d17c600","hex_latitude":"0720c9c0","is_valid_coordinates":true} 
[2026-09-09 13:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968549376001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854889249570816,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712845632643383296,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788939650000,"timestamp_ms":1788939650000,"timestamp_seconds":1788939650,"priority":1,"record_length":96,"hex_timestamp":"000001a0851cc3d0"} 
[2026-09-09 13:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:11: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-09-09 13:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 13:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:11:35] 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-09-09 13:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968549376001,"66":14233,"107":206,"83":41984,"24":2,"16":18854889249570816,"45":1712845632643383296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968549376001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:11:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854889249570816,"km_value":18854889249570.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712845632643383296,"description":"Unknown IO ID 45"} 
[2026-09-09 13:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968549376001,"power":14233,"unknown_107":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1712845632643383296}} 
[2026-09-09 13:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":176821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:11:35] local.INFO: GPS data processed {"connection_id":176821,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:11:35] local.INFO: Acknowledgment sent {"connection_id":176821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:11:40] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:11:40] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:11:40] local.INFO: IMEI packet received {"connection_id":175672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":175672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:11:44] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:11:44] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:11:44] local.INFO: IMEI packet received {"connection_id":175672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":175672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:11:46] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:11:46] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851881f8012d34c48006aa49900014008d29..."} 
[2026-09-09 13:11:46] local.INFO: Packet analysis {"connection_id":175672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:11:46] local.INFO: Extracted packet for processing {"connection_id":175672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08518"} 
[2026-09-09 13:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":20,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968401920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788939371000,"timestamp_ms":1788939371000,"timestamp_seconds":1788939371,"priority":1,"record_length":96,"hex_timestamp":"000001a0851881f8"} 
[2026-09-09 13:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968401920001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968401920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968401920001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":175672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:11:46] local.INFO: GPS data processed {"connection_id":175672,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:11:46] local.INFO: Acknowledgment sent {"connection_id":175672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:12:06] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851cc7b8012d17c6000720c9900038007b29..."} 
[2026-09-09 13:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851cc7b8012d17c6000720c9900038007b29..."} 
[2026-09-09 13:12:06] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851cc7b8012d17c6000720c9900038007b29..."} 
[2026-09-09 13:12:06] local.INFO: Packet analysis {"connection_id":176821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851c"} 
[2026-09-09 13:12:06] local.INFO: Extracted packet for processing {"connection_id":176821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851c"} 
[2026-09-09 13:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756532736,"raw_latitude":119589264,"longitude_deg":75.6532736,"latitude_deg":11.9589264,"altitude":56,"angle":123,"satellites":41,"speed":2,"hex_longitude":"2d17c600","hex_latitude":"0720c990","is_valid_coordinates":true} 
[2026-09-09 13:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968550400001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854893544538112,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713056738875916288,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788939651000,"timestamp_ms":1788939651000,"timestamp_seconds":1788939651,"priority":1,"record_length":96,"hex_timestamp":"000001a0851cc7b8"} 
[2026-09-09 13:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 13:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:12: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-09-09 13:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968550400001,"66":14102,"107":206,"83":41984,"24":2,"16":18854893544538112,"45":1713056738875916288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968550400001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:12:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854893544538112,"km_value":18854893544538.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713056738875916288,"description":"Unknown IO ID 45"} 
[2026-09-09 13:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968550400001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1713056738875916288}} 
[2026-09-09 13:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":176821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:12:06] local.INFO: GPS data processed {"connection_id":176821,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:12:06] local.INFO: Acknowledgment sent {"connection_id":176821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:12:17] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:12:17] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:12:17] local.INFO: Packet analysis {"connection_id":175672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:12:17] local.INFO: Extracted packet for processing {"connection_id":175672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 13:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":175672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:12:17] local.INFO: GPS data processed {"connection_id":175672,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:12:17] local.INFO: Acknowledgment sent {"connection_id":175672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:12:22] local.INFO: TCP Data received {"connection_id":178248,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:12:22] local.INFO: Processing buffer {"connection_id":178248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:12:22] local.INFO: IMEI packet received {"connection_id":178248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":178248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:12:30] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:12:30] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:12:30] local.INFO: IMEI packet received {"connection_id":175453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":175453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:12:35] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:12:35] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:12:35] local.INFO: IMEI packet received {"connection_id":175453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":175453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:12:36] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d5070012d17cc000720f0080034014f28..."} 
[2026-09-09 13:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d5070012d17cc000720f0080034014f28..."} 
[2026-09-09 13:12:36] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d5070012d17cc000720f0080034014f28..."} 
[2026-09-09 13:12:36] local.INFO: Packet analysis {"connection_id":175453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:12:36] local.INFO: Extracted packet for processing {"connection_id":175453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756534272,"raw_latitude":119599112,"longitude_deg":75.6534272,"latitude_deg":11.9599112,"altitude":52,"angle":335,"satellites":40,"speed":15,"hex_longitude":"2d17cc00","hex_latitude":"0720f008","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968558336001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18855417530548224,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715449276180017152,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 13:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788939686000,"timestamp_ms":1788939686000,"timestamp_seconds":1788939686,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d5070"} 
[2026-09-09 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-09-09 13:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":131,"data_length":795,"current_offset":136} 
[2026-09-09 13:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:12:36] 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-09-09 13:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968558336001,"66":14298,"107":206,"83":41984,"24":15,"16":18855417530548224,"45":1715449276180017152},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968558336001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:12:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18855417530548224,"km_value":18855417530548.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715449276180017152,"description":"Unknown IO ID 45"} 
[2026-09-09 13:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968558336001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1715449276180017152}} 
[2026-09-09 13:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":175453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:12:36] local.INFO: GPS data processed {"connection_id":175453,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:12:36] local.INFO: Acknowledgment sent {"connection_id":175453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:12:38] local.INFO: TCP Data received {"connection_id":178249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:12:38] local.INFO: Processing buffer {"connection_id":178249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:12:38] local.INFO: IMEI packet received {"connection_id":178249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":178249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:12:41] local.INFO: TCP Data received {"connection_id":176822,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:12:41] local.INFO: Processing buffer {"connection_id":176822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:12:41] local.INFO: IMEI packet received {"connection_id":176822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":176822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:12:44] local.INFO: TCP Data received {"connection_id":178249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:12:44] local.INFO: Processing buffer {"connection_id":178249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:12:44] local.INFO: IMEI packet received {"connection_id":178249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":178249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:12:45] local.INFO: TCP Data received {"connection_id":178249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:12:45] local.INFO: Processing buffer {"connection_id":178249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:12:45] local.INFO: Packet analysis {"connection_id":178249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:12:45] local.INFO: Extracted packet for processing {"connection_id":178249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 13:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":178249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:12:45] local.INFO: GPS data processed {"connection_id":178249,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:12:45] local.INFO: Acknowledgment sent {"connection_id":178249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:13:07] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d63f8012d17c8c00720f6700034014328..."} 
[2026-09-09 13:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d63f8012d17c8c00720f6700034014328..."} 
[2026-09-09 13:13:07] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d63f8012d17c8c00720f6700034014328..."} 
[2026-09-09 13:13:07] local.INFO: Packet analysis {"connection_id":175453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:07] local.INFO: Extracted packet for processing {"connection_id":175453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119600752,"longitude_deg":75.653344,"latitude_deg":11.9600752,"altitude":52,"angle":323,"satellites":40,"speed":13,"hex_longitude":"2d17c8c0","hex_latitude":"0720f670","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968559616001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18855507724861440,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714745588738689024,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13: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-09-09 13:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939691000,"timestamp_ms":1788939691000,"timestamp_seconds":1788939691,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d63f8"} 
[2026-09-09 13:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:13: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-09-09 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 13:13: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-09-09 13: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-09-09 13:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:13:07] 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-09-09 13:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968559616001,"66":14352,"107":206,"83":41984,"24":13,"16":18855507724861440,"45":1714745588738689024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968559616001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:13:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18855507724861440,"km_value":18855507724861.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714745588738689024,"description":"Unknown IO ID 45"} 
[2026-09-09 13:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968559616001,"power":14352,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1714745588738689024}} 
[2026-09-09 13:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":175453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:13:07] local.INFO: GPS data processed {"connection_id":175453,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:13:07] local.INFO: Acknowledgment sent {"connection_id":175453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:13:17] local.INFO: TCP Data received {"connection_id":178249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:13:17] local.INFO: Processing buffer {"connection_id":178249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:13:17] local.INFO: Packet analysis {"connection_id":178249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:17] local.INFO: Extracted packet for processing {"connection_id":178249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 13:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:13: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-09-09 13:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":178249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:13:17] local.INFO: GPS data processed {"connection_id":178249,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:13:17] local.INFO: Acknowledgment sent {"connection_id":178249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:13:30] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:13:30] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:13:30] local.INFO: IMEI packet received {"connection_id":175454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":175454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:13:35] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:13:35] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:13:35] local.INFO: IMEI packet received {"connection_id":175454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":175454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:13:36] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d7398012d17c4400720fab00034013526..."} 
[2026-09-09 13:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d7398012d17c4400720fab00034013526..."} 
[2026-09-09 13:13:36] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d7398012d17c4400720fab00034013526..."} 
[2026-09-09 13:13:36] local.INFO: Packet analysis {"connection_id":175454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:36] local.INFO: Extracted packet for processing {"connection_id":175454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756532288,"raw_latitude":119601840,"longitude_deg":75.6532288,"latitude_deg":11.960184,"altitude":52,"angle":309,"satellites":38,"speed":15,"hex_longitude":"2d17c440","hex_latitude":"0720fab0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968560896001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18855580739305472,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795064799232,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13: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-09-09 13:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788939695000,"timestamp_ms":1788939695000,"timestamp_seconds":1788939695,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d7398"} 
[2026-09-09 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-09-09 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140736,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2233274864,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4238868480,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503887333687296,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84750141521076437,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637684176939627,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5044295469745111296,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3623955735,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":14636802539261952,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-3873087842050113483,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,252,160,80,45,240,52,40,10,66,60,128,233,53,41,192,1,163,227,133,32,4,113,205,21,207,168,239,56,2,7,19,206,23],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-09 13:13:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747350204027568128,"timestamp_seconds":3747350204027568.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 13:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:13:36] 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-09-09 13:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968560896001,"66":14341,"107":206,"83":41984,"24":15,"16":18855580739305472,"45":1713830795064799232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968560896001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:13:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18855580739305472,"km_value":18855580739305.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795064799232,"description":"Unknown IO ID 45"} 
[2026-09-09 13:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968560896001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1713830795064799232}} 
[2026-09-09 13:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":175454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:13:36] local.INFO: GPS data processed {"connection_id":175454,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:13:36] local.INFO: Acknowledgment sent {"connection_id":175454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:13:45] local.INFO: TCP Data received {"connection_id":176824,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:13:45] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:13:45] local.INFO: IMEI packet received {"connection_id":176824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":176824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:13:49] local.INFO: TCP Data received {"connection_id":176824,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:13:49] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:13:49] local.INFO: IMEI packet received {"connection_id":176824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":176824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:13:50] local.INFO: TCP Data received {"connection_id":176824,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:13:50] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:13:50] local.INFO: Packet analysis {"connection_id":176824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:50] local.INFO: Extracted packet for processing {"connection_id":176824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 13:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:13:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":176824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:13:50] local.INFO: GPS data processed {"connection_id":176824,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:13:50] local.INFO: Acknowledgment sent {"connection_id":176824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:13:55] local.INFO: TCP Data received {"connection_id":176824,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:13:55] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:13:55] local.INFO: Packet analysis {"connection_id":176824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:55] local.INFO: Extracted packet for processing {"connection_id":176824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 13:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:13:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":176824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:13:55] local.INFO: GPS data processed {"connection_id":176824,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:13:55] local.INFO: Acknowledgment sent {"connection_id":176824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:14:07] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d8720012d17c0000720ffd80034014227..."} 
[2026-09-09 13:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d8720012d17c0000720ffd80034014227..."} 
[2026-09-09 13:14:07] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d8720012d17c0000720ffd80034014227..."} 
[2026-09-09 13:14:07] local.INFO: Packet analysis {"connection_id":175454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:14:07] local.INFO: Extracted packet for processing {"connection_id":175454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756531200,"raw_latitude":119603160,"longitude_deg":75.65312,"latitude_deg":11.960316,"altitude":52,"angle":322,"satellites":39,"speed":13,"hex_longitude":"2d17c000","hex_latitude":"0720ffd8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968561920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18855662343684096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712564157669879808,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14: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-09-09 13:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939700000,"timestamp_ms":1788939700000,"timestamp_seconds":1788939700,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d8720"} 
[2026-09-09 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-09-09 13:14: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-09-09 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988045585,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2233275864,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":28672,"corrected_to":0} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4239720448,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84750146889785560,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503887334080512,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3852992565,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2415996183,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288386922,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.WARNING: Large IO value detected {"io_id":216,"raw_value":14636750999655168,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,253,160,99,45,192,246,52,40,10,66,252,80,240,60,128,1,131,227,133,32,4,113,205,18,33,207,239,55,2,7,206,216],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":246,"original":28672,"validated":0},{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-09 13:14:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747334802274975744,"timestamp_seconds":3747334802274975.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 13:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:14:07] 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-09-09 13:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968561920001,"66":14189,"107":206,"83":41984,"24":13,"16":18855662343684096,"45":1712564157669879808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968561920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:14:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18855662343684096,"km_value":18855662343684.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712564157669879808,"description":"Unknown IO ID 45"} 
[2026-09-09 13:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968561920001,"power":14189,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1712564157669879808}} 
[2026-09-09 13:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":175454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:14:07] local.INFO: GPS data processed {"connection_id":175454,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:14:07] local.INFO: Acknowledgment sent {"connection_id":175454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:14:35] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:14:35] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:14:35] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:14:39] local.INFO: TCP Data received {"connection_id":176825,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:14:39] local.INFO: Processing buffer {"connection_id":176825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:14:39] local.INFO: IMEI packet received {"connection_id":176825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":176825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:14:39] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:14:39] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:14:39] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:14:40] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851f09d8012d1813c007219e78004700192a..."} 
[2026-09-09 13:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851f09d8012d1813c007219e78004700192a..."} 
[2026-09-09 13:14:40] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851f09d8012d1813c007219e78004700192a..."} 
[2026-09-09 13:14:40] local.INFO: Packet analysis {"connection_id":175455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851f"} 
[2026-09-09 13:14:40] local.INFO: Extracted packet for processing {"connection_id":175455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851f"} 
[2026-09-09 13:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756552640,"raw_latitude":119643768,"longitude_deg":75.655264,"latitude_deg":11.9643768,"altitude":71,"angle":25,"satellites":42,"speed":19,"hex_longitude":"2d1813c0","hex_latitude":"07219e78","is_valid_coordinates":true} 
[2026-09-09 13:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968587264001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858067525369856,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568468242432,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14: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-09-09 13:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788939799000,"timestamp_ms":1788939799000,"timestamp_seconds":1788939799,"priority":1,"record_length":96,"hex_timestamp":"000001a0851f09d8"} 
[2026-09-09 13:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:14: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-09-09 13:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 13:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:14:40] 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-09-09 13:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968587264001,"66":13993,"107":206,"83":41984,"24":19,"16":18858067525369856,"45":1733252568468242432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968587264001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:14:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858067525369856,"km_value":18858067525369.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568468242432,"description":"Unknown IO ID 45"} 
[2026-09-09 13:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968587264001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1733252568468242432}} 
[2026-09-09 13:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":175455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:14:40] local.INFO: GPS data processed {"connection_id":175455,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:14:40] local.INFO: Acknowledgment sent {"connection_id":175455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:14:40] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851f5be0012d1817800721a4f80047001c29..."} 
[2026-09-09 13:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851f5be0012d1817800721a4f80047001c29..."} 
[2026-09-09 13:14:40] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851f5be0012d1817800721a4f80047001c29..."} 
[2026-09-09 13:14:40] local.INFO: Packet analysis {"connection_id":175455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851f"} 
[2026-09-09 13:14:40] local.INFO: Extracted packet for processing {"connection_id":175455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851f"} 
[2026-09-09 13:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756553600,"raw_latitude":119645432,"longitude_deg":75.65536,"latitude_deg":11.9645432,"altitude":71,"angle":28,"satellites":41,"speed":0,"hex_longitude":"2d181780","hex_latitude":"0721a4f8","is_valid_coordinates":true} 
[2026-09-09 13:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968588544001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858162014650368,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734941418329110528,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14: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-09-09 13:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788939820000,"timestamp_ms":1788939820000,"timestamp_seconds":1788939820,"priority":1,"record_length":96,"hex_timestamp":"000001a0851f5be0"} 
[2026-09-09 13:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:14: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-09-09 13:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 13:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:14:40] 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-09-09 13:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968588544001,"66":13972,"107":206,"83":41984,"24":0,"16":18858162014650368,"45":1734941418329110528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968588544001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:14:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858162014650368,"km_value":18858162014650.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734941418329110528,"description":"Unknown IO ID 45"} 
[2026-09-09 13:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968588544001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734941418329110528}} 
[2026-09-09 13:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":175455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:14:40] local.INFO: GPS data processed {"connection_id":175455,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:14:40] local.INFO: Acknowledgment sent {"connection_id":175455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:14:44] local.INFO: TCP Data received {"connection_id":176825,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:14:44] local.INFO: Processing buffer {"connection_id":176825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:14:44] local.INFO: IMEI packet received {"connection_id":176825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":176825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:14:45] local.INFO: TCP Data received {"connection_id":176825,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:14:45] local.INFO: Processing buffer {"connection_id":176825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:14:45] local.INFO: Packet analysis {"connection_id":176825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:14:45] local.INFO: Extracted packet for processing {"connection_id":176825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 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-09-09 13:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:14:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":176825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:14:45] local.INFO: GPS data processed {"connection_id":176825,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:14:45] local.INFO: Acknowledgment sent {"connection_id":176825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:15:12] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851fade8012d1817800721a4f80047001c28..."} 
[2026-09-09 13:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851fade8012d1817800721a4f80047001c28..."} 
[2026-09-09 13:15:12] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851fade8012d1817800721a4f80047001c28..."} 
[2026-09-09 13:15:12] local.INFO: Packet analysis {"connection_id":175455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851f"} 
[2026-09-09 13:15:12] local.INFO: Extracted packet for processing {"connection_id":175455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851f"} 
[2026-09-09 13:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756553600,"raw_latitude":119645432,"longitude_deg":75.65536,"latitude_deg":11.9645432,"altitude":71,"angle":28,"satellites":40,"speed":0,"hex_longitude":"2d181780","hex_latitude":"0721a4f8","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968593920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858162014650368,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735996949492201472,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15: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-09-09 13:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788939841000,"timestamp_ms":1788939841000,"timestamp_seconds":1788939841,"priority":1,"record_length":96,"hex_timestamp":"000001a0851fade8"} 
[2026-09-09 13:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 13:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:15:12] 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-09-09 13:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968593920001,"66":13993,"107":206,"83":41984,"24":0,"16":18858162014650368,"45":1735996949492201472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968593920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:15:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858162014650368,"km_value":18858162014650.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735996949492201472,"description":"Unknown IO ID 45"} 
[2026-09-09 13:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968593920001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735996949492201472}} 
[2026-09-09 13:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":175455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:15:12] local.INFO: GPS data processed {"connection_id":175455,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:15:12] local.INFO: Acknowledgment sent {"connection_id":175455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:15:18] local.INFO: TCP Data received {"connection_id":176825,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:15:18] local.INFO: Processing buffer {"connection_id":176825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:15:18] local.INFO: Packet analysis {"connection_id":176825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:15:18] local.INFO: Extracted packet for processing {"connection_id":176825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 13:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:15:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":176825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:15:18] local.INFO: GPS data processed {"connection_id":176825,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:15:18] local.INFO: Acknowledgment sent {"connection_id":176825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:15:30] local.INFO: TCP Data received {"connection_id":176826,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:15:30] local.INFO: Processing buffer {"connection_id":176826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:15:30] local.INFO: IMEI packet received {"connection_id":176826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":176826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:15:35] local.INFO: TCP Data received {"connection_id":176826,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:15:35] local.INFO: Processing buffer {"connection_id":176826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:15:35] local.INFO: IMEI packet received {"connection_id":176826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":176826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:15:36] local.INFO: TCP Data received {"connection_id":176826,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0851ffff0012d1817800721a4f80047001c29..."} 
[2026-09-09 13:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851ffff0012d1817800721a4f80047001c29..."} 
[2026-09-09 13:15:36] local.INFO: Processing buffer {"connection_id":176826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851ffff0012d1817800721a4f80047001c29..."} 
[2026-09-09 13:15:36] local.INFO: Packet analysis {"connection_id":176826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851f"} 
[2026-09-09 13:15:36] local.INFO: Extracted packet for processing {"connection_id":176826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851f"} 
[2026-09-09 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756553600,"raw_latitude":119645432,"longitude_deg":75.65536,"latitude_deg":11.9645432,"altitude":71,"angle":28,"satellites":41,"speed":0,"hex_longitude":"2d181780","hex_latitude":"0721a4f8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968599296001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858162014650368,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735996949492201472,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15: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-09-09 13:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788939862000,"timestamp_ms":1788939862000,"timestamp_seconds":1788939862,"priority":1,"record_length":96,"hex_timestamp":"000001a0851ffff0"} 
[2026-09-09 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-09-09 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 13:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:15:36] 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-09-09 13:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968599296001,"66":14298,"107":206,"83":41984,"24":0,"16":18858162014650368,"45":1735996949492201472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-09 13:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968599296001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:15:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-09 13:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858162014650368,"km_value":18858162014650.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735996949492201472,"description":"Unknown IO ID 45"} 
[2026-09-09 13:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968599296001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735996949492201472}} 
[2026-09-09 13:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":176826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:15:36] local.INFO: GPS data processed {"connection_id":176826,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:15:36] local.INFO: Acknowledgment sent {"connection_id":176826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:15:40] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:15:40] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:15:40] local.INFO: IMEI packet received {"connection_id":175456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":175456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:15:45] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:15:45] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:15:45] local.INFO: IMEI packet received {"connection_id":175456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":175456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:15:47] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:15:47] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:15:47] local.INFO: Packet analysis {"connection_id":175456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:15:47] local.INFO: Extracted packet for processing {"connection_id":175456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 13:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:15: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-09-09 13:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":175456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:15:47] local.INFO: GPS data processed {"connection_id":175456,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:15:47] local.INFO: Acknowledgment sent {"connection_id":175456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:16:08] local.INFO: TCP Data received {"connection_id":176826,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08520de98012d181ec00721a800004c00a429..."} 
[2026-09-09 13:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08520de98012d181ec00721a800004c00a429..."} 
[2026-09-09 13:16:08] local.INFO: Processing buffer {"connection_id":176826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08520de98012d181ec00721a800004c00a429..."} 
[2026-09-09 13:16:08] local.INFO: Packet analysis {"connection_id":176826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08520"} 
[2026-09-09 13:16:08] local.INFO: Extracted packet for processing {"connection_id":176826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08520"} 
[2026-09-09 13:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646208,"longitude_deg":75.6555456,"latitude_deg":11.9646208,"altitude":76,"angle":164,"satellites":41,"speed":7,"hex_longitude":"2d181ec0","hex_latitude":"0721a800","is_valid_coordinates":true} 
[2026-09-09 13:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968619008001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858424007655424,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073601536,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16: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-09-09 13:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788939919000,"timestamp_ms":1788939919000,"timestamp_seconds":1788939919,"priority":1,"record_length":96,"hex_timestamp":"000001a08520de98"} 
[2026-09-09 13:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 13:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:16:08] 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-09-09 13:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968619008001,"66":13243,"105":206,"83":41984,"24":7,"16":18858424007655424,"45":1738037643073601536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 13:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968619008001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:16:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 13:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858424007655424,"km_value":18858424007655.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073601536,"description":"Unknown IO ID 45"} 
[2026-09-09 13:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968619008001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738037643073601536}} 
[2026-09-09 13:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":176826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:16:08] local.INFO: GPS data processed {"connection_id":176826,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:16:08] local.INFO: Acknowledgment sent {"connection_id":176826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:16:18] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:16:18] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:16:18] local.INFO: Packet analysis {"connection_id":175456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:16:18] local.INFO: Extracted packet for processing {"connection_id":175456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 13:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:16: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-09-09 13:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:16:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":175456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:16:18] local.INFO: GPS data processed {"connection_id":175456,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:16:18] local.INFO: Acknowledgment sent {"connection_id":175456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:16:30] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:30] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:30] local.INFO: IMEI packet received {"connection_id":176827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":176827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:16:31] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:31] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:31] local.INFO: IMEI packet received {"connection_id":176827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":176827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:16:32] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:32] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:32] local.INFO: IMEI packet received {"connection_id":176827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":176827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:16:35] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:35] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:16:35] local.INFO: IMEI packet received {"connection_id":176827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":176827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:16:36] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08520e280012d181f400721a750004c009629..."} 
[2026-09-09 13:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08520e280012d181f400721a750004c009629..."} 
[2026-09-09 13:16:36] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08520e280012d181f400721a750004c009629..."} 
[2026-09-09 13:16:36] local.INFO: Packet analysis {"connection_id":176827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08520"} 
[2026-09-09 13:16:36] local.INFO: Extracted packet for processing {"connection_id":176827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08520"} 
[2026-09-09 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646032,"longitude_deg":75.6555584,"latitude_deg":11.9646032,"altitude":76,"angle":150,"satellites":41,"speed":7,"hex_longitude":"2d181f40","hex_latitude":"0721a750","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968619264001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858436892557312,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073552384,"note":"Value kept but may cause issues"} 
[2026-09-09 13: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-09-09 13:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788939920000,"timestamp_ms":1788939920000,"timestamp_seconds":1788939920,"priority":1,"record_length":96,"hex_timestamp":"000001a08520e280"} 
[2026-09-09 13:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-09 13:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:16:36] 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-09-09 13:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968619264001,"66":13243,"105":206,"83":41984,"24":7,"16":18858436892557312,"45":1738037643073552384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 13:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968619264001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:16:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 13:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858436892557312,"km_value":18858436892557.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073552384,"description":"Unknown IO ID 45"} 
[2026-09-09 13:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968619264001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738037643073552384}} 
[2026-09-09 13:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":176827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:16:36] local.INFO: GPS data processed {"connection_id":176827,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:16:36] local.INFO: Acknowledgment sent {"connection_id":176827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:16:37] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08520e668012d181f800721a6d0004c008329..."} 
[2026-09-09 13:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08520e668012d181f800721a6d0004c008329..."} 
[2026-09-09 13:16:37] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08520e668012d181f800721a6d0004c008329..."} 
[2026-09-09 13:16:37] local.INFO: Packet analysis {"connection_id":176827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08520"} 
[2026-09-09 13:16:37] local.INFO: Extracted packet for processing {"connection_id":176827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08520"} 
[2026-09-09 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645904,"longitude_deg":75.6555648,"latitude_deg":11.9645904,"altitude":76,"angle":131,"satellites":41,"speed":7,"hex_longitude":"2d181f80","hex_latitude":"0721a6d0","is_valid_coordinates":true} 
[2026-09-09 13:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968619520001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858441187524608,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561862656,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16: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-09-09 13:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788939921000,"timestamp_ms":1788939921000,"timestamp_seconds":1788939921,"priority":1,"record_length":96,"hex_timestamp":"000001a08520e668"} 
[2026-09-09 13:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-09 13:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:16: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-09-09 13:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968619520001,"66":14102,"105":206,"83":41984,"24":7,"16":18858441187524608,"45":1738178380561862656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 13:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968619520001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:16:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 13:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858441187524608,"km_value":18858441187524.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561862656,"description":"Unknown IO ID 45"} 
[2026-09-09 13:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968619520001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738178380561862656}} 
[2026-09-09 13:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":176827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:16:37] local.INFO: GPS data processed {"connection_id":176827,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:16:37] local.INFO: Acknowledgment sent {"connection_id":176827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:16:38] local.INFO: TCP Data received {"connection_id":178251,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:16:38] local.INFO: Processing buffer {"connection_id":178251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:16:38] local.INFO: IMEI packet received {"connection_id":178251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":178251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:16:44] local.INFO: TCP Data received {"connection_id":178251,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:16:44] local.INFO: Processing buffer {"connection_id":178251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:16:44] local.INFO: IMEI packet received {"connection_id":178251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":178251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:16:45] local.INFO: TCP Data received {"connection_id":178251,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:16:45] local.INFO: Processing buffer {"connection_id":178251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0851d19c0012d34c48006aa4990000f008d2a..."} 
[2026-09-09 13:16:45] local.INFO: Packet analysis {"connection_id":178251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:16:45] local.INFO: Extracted packet for processing {"connection_id":178251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0851d"} 
[2026-09-09 13:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968478976001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939672000,"timestamp_ms":1788939672000,"timestamp_seconds":1788939672,"priority":1,"record_length":96,"hex_timestamp":"000001a0851d19c0"} 
[2026-09-09 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-09-09 13:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968478976001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968478976001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968478976001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":178251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:16:45] local.INFO: GPS data processed {"connection_id":178251,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:16:45] local.INFO: Acknowledgment sent {"connection_id":178251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:17:08] local.INFO: TCP Data received {"connection_id":176827,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085211548012d182ec0072198f8004e007629..."} 
[2026-09-09 13:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085211548012d182ec0072198f8004e007629..."} 
[2026-09-09 13:17:08] local.INFO: Processing buffer {"connection_id":176827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085211548012d182ec0072198f8004e007629..."} 
[2026-09-09 13:17:08] local.INFO: Packet analysis {"connection_id":176827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:17:08] local.INFO: Extracted packet for processing {"connection_id":176827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756559552,"raw_latitude":119642360,"longitude_deg":75.6559552,"latitude_deg":11.964236,"altitude":78,"angle":118,"satellites":41,"speed":24,"hex_longitude":"2d182ec0","hex_latitude":"072198f8","is_valid_coordinates":true} 
[2026-09-09 13:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968619776001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858694590595072,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306007552,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17: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-09-09 13:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788939933000,"timestamp_ms":1788939933000,"timestamp_seconds":1788939933,"priority":1,"record_length":96,"hex_timestamp":"000001a085211548"} 
[2026-09-09 13:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 13:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:17:08] 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-09-09 13:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968619776001,"66":13928,"105":206,"83":41984,"24":24,"16":18858694590595072,"45":1738248749306007552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 13:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968619776001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:17:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 13:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858694590595072,"km_value":18858694590595.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306007552,"description":"Unknown IO ID 45"} 
[2026-09-09 13:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968619776001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1738248749306007552}} 
[2026-09-09 13:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":176827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:17:08] local.INFO: GPS data processed {"connection_id":176827,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:17:08] local.INFO: Acknowledgment sent {"connection_id":176827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:17:17] local.INFO: TCP Data received {"connection_id":178251,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:17:17] local.INFO: Processing buffer {"connection_id":178251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:17:17] local.INFO: Packet analysis {"connection_id":178251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:17:17] local.INFO: Extracted packet for processing {"connection_id":178251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:17: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-09-09 13:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":178251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:17:17] local.INFO: GPS data processed {"connection_id":178251,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:17:17] local.INFO: Acknowledgment sent {"connection_id":178251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:17:30] local.INFO: TCP Data received {"connection_id":176828,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:17:30] local.INFO: Processing buffer {"connection_id":176828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:17:30] local.INFO: IMEI packet received {"connection_id":176828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":176828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:17:35] local.INFO: TCP Data received {"connection_id":176828,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:17:35] local.INFO: Processing buffer {"connection_id":176828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:17:35] local.INFO: IMEI packet received {"connection_id":176828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":176828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:17:35] local.INFO: TCP Data received {"connection_id":176828,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085214428012d184fc007218a70004f00732a..."} 
[2026-09-09 13:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085214428012d184fc007218a70004f00732a..."} 
[2026-09-09 13:17:35] local.INFO: Processing buffer {"connection_id":176828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085214428012d184fc007218a70004f00732a..."} 
[2026-09-09 13:17:35] local.INFO: Packet analysis {"connection_id":176828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:17:35] local.INFO: Extracted packet for processing {"connection_id":176828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756568000,"raw_latitude":119638640,"longitude_deg":75.6568,"latitude_deg":11.963864,"altitude":79,"angle":115,"satellites":42,"speed":35,"hex_longitude":"2d184fc0","hex_latitude":"07218a70","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968622848001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859136972226560,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742541242699937792,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17: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-09-09 13:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788939945000,"timestamp_ms":1788939945000,"timestamp_seconds":1788939945,"priority":1,"record_length":96,"hex_timestamp":"000001a085214428"} 
[2026-09-09 13:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:17: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-09-09 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 13:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:17:35] 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-09-09 13:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968622848001,"66":13015,"106":206,"83":41984,"24":35,"16":18859136972226560,"45":1742541242699937792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968622848001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:17:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859136972226560,"km_value":18859136972226.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742541242699937792,"description":"Unknown IO ID 45"} 
[2026-09-09 13:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968622848001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1742541242699937792}} 
[2026-09-09 13:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":176828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:17:36] local.INFO: GPS data processed {"connection_id":176828,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:17:36] local.INFO: Acknowledgment sent {"connection_id":176828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:17:39] local.INFO: TCP Data received {"connection_id":176829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:17:39] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:17:39] local.INFO: IMEI packet received {"connection_id":176829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":176829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:17:43] local.INFO: TCP Data received {"connection_id":176829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:17:43] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:17:43] local.INFO: IMEI packet received {"connection_id":176829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":176829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:17:44] local.INFO: TCP Data received {"connection_id":176829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:17:44] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:17:44] local.INFO: Packet analysis {"connection_id":176829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:17:44] local.INFO: Extracted packet for processing {"connection_id":176829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":176829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:17:44] local.INFO: GPS data processed {"connection_id":176829,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:17:44] local.INFO: Acknowledgment sent {"connection_id":176829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:18:07] local.INFO: TCP Data received {"connection_id":176828,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085215f80012d18670007218118004e00642a..."} 
[2026-09-09 13:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085215f80012d18670007218118004e00642a..."} 
[2026-09-09 13:18:07] local.INFO: Processing buffer {"connection_id":176828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085215f80012d18670007218118004e00642a..."} 
[2026-09-09 13:18:07] local.INFO: Packet analysis {"connection_id":176828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:18:07] local.INFO: Extracted packet for processing {"connection_id":176828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756573952,"raw_latitude":119636248,"longitude_deg":75.6573952,"latitude_deg":11.9636248,"altitude":78,"angle":100,"satellites":42,"speed":35,"hex_longitude":"2d186700","hex_latitude":"07218118","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968625920001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859441914904576,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751829916930437120,"note":"Value kept but may cause issues"} 
[2026-09-09 13: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-09-09 13:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939952000,"timestamp_ms":1788939952000,"timestamp_seconds":1788939952,"priority":1,"record_length":96,"hex_timestamp":"000001a085215f80"} 
[2026-09-09 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-09-09 13:18: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-09-09 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":215,"data_length":795,"current_offset":136} 
[2026-09-09 13:18: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-09-09 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-09-09 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-09-09 13:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:18:07] 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-09-09 13:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968625920001,"66":12950,"106":206,"83":41984,"24":35,"16":18859441914904576,"45":1751829916930437120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968625920001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:18:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859441914904576,"km_value":18859441914904.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751829916930437120,"description":"Unknown IO ID 45"} 
[2026-09-09 13:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968625920001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1751829916930437120}} 
[2026-09-09 13:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":176828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:18:07] local.INFO: GPS data processed {"connection_id":176828,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:18:07] local.INFO: Acknowledgment sent {"connection_id":176828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:18:07] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:18:07] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:18:07] local.INFO: IMEI packet received {"connection_id":175674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":175674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:18:16] local.INFO: TCP Data received {"connection_id":176829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:18:16] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:18:16] local.INFO: Packet analysis {"connection_id":176829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:18:16] local.INFO: Extracted packet for processing {"connection_id":176829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":176829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:18:16] local.INFO: GPS data processed {"connection_id":176829,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:18:16] local.INFO: Acknowledgment sent {"connection_id":176829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:18:30] local.INFO: TCP Data received {"connection_id":178253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:18:30] local.INFO: Processing buffer {"connection_id":178253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:18:30] local.INFO: IMEI packet received {"connection_id":178253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":178253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:18:35] local.INFO: TCP Data received {"connection_id":178253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:18:35] local.INFO: Processing buffer {"connection_id":178253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:18:35] local.INFO: IMEI packet received {"connection_id":178253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":178253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:18:35] local.INFO: TCP Data received {"connection_id":178253,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085216750012d186e00072180c0004d005828..."} 
[2026-09-09 13:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085216750012d186e00072180c0004d005828..."} 
[2026-09-09 13:18:35] local.INFO: Processing buffer {"connection_id":178253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085216750012d186e00072180c0004d005828..."} 
[2026-09-09 13:18:35] local.INFO: Packet analysis {"connection_id":178253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:18:35] local.INFO: Extracted packet for processing {"connection_id":178253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756575744,"raw_latitude":119636160,"longitude_deg":75.6575744,"latitude_deg":11.963616,"altitude":77,"angle":88,"satellites":40,"speed":34,"hex_longitude":"2d186e00","hex_latitude":"072180c0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968627712001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859527814250496,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758374210138347520,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18: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-09-09 13:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788939954000,"timestamp_ms":1788939954000,"timestamp_seconds":1788939954,"priority":1,"record_length":96,"hex_timestamp":"000001a085216750"} 
[2026-09-09 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-09-09 13:18: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-09-09 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-09 13:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:18:35] 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-09-09 13:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968627712001,"66":12852,"106":206,"83":41984,"24":34,"16":18859527814250496,"45":1758374210138347520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968627712001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:18:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859527814250496,"km_value":18859527814250.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758374210138347520,"description":"Unknown IO ID 45"} 
[2026-09-09 13:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968627712001,"power":12852,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1758374210138347520}} 
[2026-09-09 13:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":178253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:18:36] local.INFO: GPS data processed {"connection_id":178253,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:18:36] local.INFO: Acknowledgment sent {"connection_id":178253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:18:39] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:18:39] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:18:39] local.INFO: IMEI packet received {"connection_id":175675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":175675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:18:42] local.INFO: TCP Data received {"connection_id":176830,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:18:42] local.INFO: Processing buffer {"connection_id":176830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:18:42] local.INFO: IMEI packet received {"connection_id":176830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":176830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:18:44] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:18:44] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:18:44] local.INFO: IMEI packet received {"connection_id":175675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":175675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:18:45] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:18:45] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:18:45] local.INFO: Packet analysis {"connection_id":175675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:18:45] local.INFO: Extracted packet for processing {"connection_id":175675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":175675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:18:45] local.INFO: GPS data processed {"connection_id":175675,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:18:45] local.INFO: Acknowledgment sent {"connection_id":175675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:19:07] local.INFO: TCP Data received {"connection_id":178253,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085217ad8012d187a0007218100004d007329..."} 
[2026-09-09 13:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085217ad8012d187a0007218100004d007329..."} 
[2026-09-09 13:19:07] local.INFO: Processing buffer {"connection_id":178253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085217ad8012d187a0007218100004d007329..."} 
[2026-09-09 13:19:07] local.INFO: Packet analysis {"connection_id":178253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:19:07] local.INFO: Extracted packet for processing {"connection_id":178253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756578816,"raw_latitude":119636224,"longitude_deg":75.6578816,"latitude_deg":11.9636224,"altitude":77,"angle":115,"satellites":41,"speed":10,"hex_longitude":"2d187a00","hex_latitude":"07218100","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968628224001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859673843138560,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760344534975299584,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19: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-09-09 13:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939959000,"timestamp_ms":1788939959000,"timestamp_seconds":1788939959,"priority":1,"record_length":96,"hex_timestamp":"000001a085217ad8"} 
[2026-09-09 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-09-09 13:19: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-09-09 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":52,"data_length":795,"current_offset":136} 
[2026-09-09 13:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:19:07] 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-09-09 13:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968628224001,"66":12776,"106":206,"83":41984,"24":10,"16":18859673843138560,"45":1760344534975299584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968628224001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:19:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859673843138560,"km_value":18859673843138.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760344534975299584,"description":"Unknown IO ID 45"} 
[2026-09-09 13:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968628224001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1760344534975299584}} 
[2026-09-09 13:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":178253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:19:07] local.INFO: GPS data processed {"connection_id":178253,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:19:07] local.INFO: Acknowledgment sent {"connection_id":178253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:19:16] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:19:16] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:19:16] local.INFO: Packet analysis {"connection_id":175675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:19:16] local.INFO: Extracted packet for processing {"connection_id":175675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":175675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:19:16] local.INFO: GPS data processed {"connection_id":175675,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:19:16] local.INFO: Acknowledgment sent {"connection_id":175675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:19:30] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:19:30] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:19:30] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:19:31] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:19:31] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:19:31] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:19:35] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:19:35] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:19:35] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:19:35] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085217ec0012d187b0007218070004d008c2a..."} 
[2026-09-09 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085217ec0012d187b0007218070004d008c2a..."} 
[2026-09-09 13:19:35] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085217ec0012d187b0007218070004d008c2a..."} 
[2026-09-09 13:19:35] local.INFO: Packet analysis {"connection_id":175457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:19:35] local.INFO: Extracted packet for processing {"connection_id":175457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756579072,"raw_latitude":119636080,"longitude_deg":75.6579072,"latitude_deg":11.963608,"altitude":77,"angle":140,"satellites":42,"speed":9,"hex_longitude":"2d187b00","hex_latitude":"07218070","is_valid_coordinates":true} 
[2026-09-09 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968629504001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859686728040448,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763722234695843840,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788939960000,"timestamp_ms":1788939960000,"timestamp_seconds":1788939960,"priority":1,"record_length":96,"hex_timestamp":"000001a085217ec0"} 
[2026-09-09 13:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:19: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-09-09 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 13:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:19:35] 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-09-09 13:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968629504001,"66":12776,"106":206,"83":41984,"24":9,"16":18859686728040448,"45":1763722234695843840},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968629504001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:19:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859686728040448,"km_value":18859686728040.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763722234695843840,"description":"Unknown IO ID 45"} 
[2026-09-09 13:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968629504001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1763722234695843840}} 
[2026-09-09 13:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":175457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:19:36] local.INFO: GPS data processed {"connection_id":175457,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:19:36] local.INFO: Acknowledgment sent {"connection_id":175457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:19:38] local.INFO: TCP Data received {"connection_id":176831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:19:38] local.INFO: Processing buffer {"connection_id":176831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:19:38] local.INFO: IMEI packet received {"connection_id":176831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":176831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:19:43] local.INFO: TCP Data received {"connection_id":176831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:19:43] local.INFO: Processing buffer {"connection_id":176831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:19:43] local.INFO: IMEI packet received {"connection_id":176831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":176831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:19:45] local.INFO: TCP Data received {"connection_id":176831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:19:45] local.INFO: Processing buffer {"connection_id":176831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:19:45] local.INFO: Packet analysis {"connection_id":176831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:19:45] local.INFO: Extracted packet for processing {"connection_id":176831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":176831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:19:45] local.INFO: GPS data processed {"connection_id":176831,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:19:45] local.INFO: Acknowledgment sent {"connection_id":176831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:20:07] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852182a8012d187b4007217fb0004d00972b..."} 
[2026-09-09 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852182a8012d187b4007217fb0004d00972b..."} 
[2026-09-09 13:20:07] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852182a8012d187b4007217fb0004d00972b..."} 
[2026-09-09 13:20:07] local.INFO: Packet analysis {"connection_id":175457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:20:07] local.INFO: Extracted packet for processing {"connection_id":175457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756579136,"raw_latitude":119635888,"longitude_deg":75.6579136,"latitude_deg":11.9635888,"altitude":77,"angle":151,"satellites":43,"speed":9,"hex_longitude":"2d187b40","hex_latitude":"07217fb0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968629760001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859699612942336,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764003709672517632,"note":"Value kept but may cause issues"} 
[2026-09-09 13: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-09-09 13:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788939961000,"timestamp_ms":1788939961000,"timestamp_seconds":1788939961,"priority":1,"record_length":96,"hex_timestamp":"000001a0852182a8"} 
[2026-09-09 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-09-09 13:20: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-09-09 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":232,"data_length":795,"current_offset":136} 
[2026-09-09 13:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:20:07] 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-09-09 13:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968629760001,"66":12798,"106":206,"83":41984,"24":9,"16":18859699612942336,"45":1764003709672517632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968629760001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:20:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859699612942336,"km_value":18859699612942.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764003709672517632,"description":"Unknown IO ID 45"} 
[2026-09-09 13:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968629760001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1764003709672517632}} 
[2026-09-09 13:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":175457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:20:07] local.INFO: GPS data processed {"connection_id":175457,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:20:07] local.INFO: Acknowledgment sent {"connection_id":175457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:20:17] local.INFO: TCP Data received {"connection_id":176831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:20:17] local.INFO: Processing buffer {"connection_id":176831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:20:17] local.INFO: Packet analysis {"connection_id":176831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:20:17] local.INFO: Extracted packet for processing {"connection_id":176831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":176831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:20:17] local.INFO: GPS data processed {"connection_id":176831,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:20:17] local.INFO: Acknowledgment sent {"connection_id":176831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:20:34] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:20:34] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:20:34] local.INFO: IMEI packet received {"connection_id":175676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":175676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:20:35] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:20:35] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:20:35] local.INFO: IMEI packet received {"connection_id":175676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":175676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:20:38] local.INFO: TCP Data received {"connection_id":178255,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:20:38] local.INFO: Processing buffer {"connection_id":178255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:20:38] local.INFO: IMEI packet received {"connection_id":178255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":178255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:20:40] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:20:40] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:20:40] local.INFO: IMEI packet received {"connection_id":175676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":175676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:20:41] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085247490012d187c8007217508004d00b928..."} 
[2026-09-09 13:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085247490012d187c8007217508004d00b928..."} 
[2026-09-09 13:20:41] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085247490012d187c8007217508004d00b928..."} 
[2026-09-09 13:20:41] local.INFO: Packet analysis {"connection_id":175676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08524"} 
[2026-09-09 13:20:41] local.INFO: Extracted packet for processing {"connection_id":175676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08524"} 
[2026-09-09 13:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 13:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968674048001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20: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-09-09 13:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788940154000,"timestamp_ms":1788940154000,"timestamp_seconds":1788940154,"priority":1,"record_length":96,"hex_timestamp":"000001a085247490"} 
[2026-09-09 13:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2233611864,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249484020465104136,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2147950965,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366698,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:41] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,160,208,45,128,117,77,38,10,66,126,39,44,1,240,167,227,133,33,4,113,205,136,124,8,239,49,2,67,7,70,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-09 13:20:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548638322370281472,"timestamp_seconds":5548638322370281.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 13:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:20:41] 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-09-09 13:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968674048001,"66":12591,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968674048001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:20:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968674048001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":175676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:20:41] local.INFO: GPS data processed {"connection_id":175676,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:20:41] local.INFO: Acknowledgment sent {"connection_id":175676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:20:44] local.INFO: TCP Data received {"connection_id":178255,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:20:44] local.INFO: Processing buffer {"connection_id":178255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:20:44] local.INFO: IMEI packet received {"connection_id":178255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":178255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:20:45] local.INFO: TCP Data received {"connection_id":178255,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:20:45] local.INFO: Processing buffer {"connection_id":178255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:20:45] local.INFO: Packet analysis {"connection_id":178255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:20:45] local.INFO: Extracted packet for processing {"connection_id":178255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":178255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:20:45] local.INFO: GPS data processed {"connection_id":178255,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:20:45] local.INFO: Acknowledgment sent {"connection_id":178255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:21:12] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08524c698012d187c8007217508004d00b925..."} 
[2026-09-09 13:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08524c698012d187c8007217508004d00b925..."} 
[2026-09-09 13:21:12] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08524c698012d187c8007217508004d00b925..."} 
[2026-09-09 13:21:12] local.INFO: Packet analysis {"connection_id":175676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08524"} 
[2026-09-09 13:21:12] local.INFO: Extracted packet for processing {"connection_id":175676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08524"} 
[2026-09-09 13:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":37,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968679424001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788940175000,"timestamp_ms":1788940175000,"timestamp_seconds":1788940175,"priority":1,"record_length":96,"hex_timestamp":"000001a08524c698"} 
[2026-09-09 13:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 13:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:21:12] 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-09-09 13:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968679424001,"66":12526,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968679424001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:21:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968679424001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":175676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:21:12] local.INFO: GPS data processed {"connection_id":175676,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:21:12] local.INFO: Acknowledgment sent {"connection_id":175676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:21:16] local.INFO: TCP Data received {"connection_id":178255,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:21:16] local.INFO: Processing buffer {"connection_id":178255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:21:16] local.INFO: Packet analysis {"connection_id":178255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:21:16] local.INFO: Extracted packet for processing {"connection_id":178255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":178255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:21:16] local.INFO: GPS data processed {"connection_id":178255,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:21:16] local.INFO: Acknowledgment sent {"connection_id":178255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:21:30] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:21:30] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:21:30] local.INFO: IMEI packet received {"connection_id":175458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":175458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:21:35] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:21:35] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:21:35] local.INFO: IMEI packet received {"connection_id":175458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":175458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:21:35] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852518a0012d187c8007217508004d00b929..."} 
[2026-09-09 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852518a0012d187c8007217508004d00b929..."} 
[2026-09-09 13:21:35] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852518a0012d187c8007217508004d00b929..."} 
[2026-09-09 13:21:35] local.INFO: Packet analysis {"connection_id":175458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08525"} 
[2026-09-09 13:21:35] local.INFO: Extracted packet for processing {"connection_id":175458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08525"} 
[2026-09-09 13:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":41,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 13:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968684800001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21: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-09-09 13:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788940196000,"timestamp_ms":1788940196000,"timestamp_seconds":1788940196,"priority":1,"record_length":96,"hex_timestamp":"000001a0852518a0"} 
[2026-09-09 13:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 13:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:21:35] 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-09-09 13:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968684800001,"66":12537,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968684800001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:21:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968684800001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":175458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:21:36] local.INFO: GPS data processed {"connection_id":175458,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:21:36] local.INFO: Acknowledgment sent {"connection_id":175458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:21:43] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:21:43] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:21:43] local.INFO: IMEI packet received {"connection_id":175677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":175677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:21:49] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:21:49] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:21:49] local.INFO: IMEI packet received {"connection_id":175677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":175677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:21:50] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:21:50] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08521b188012d34c48006aa4990000c008d28..."} 
[2026-09-09 13:21:50] local.INFO: Packet analysis {"connection_id":175677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:21:50] local.INFO: Extracted packet for processing {"connection_id":175677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08521"} 
[2026-09-09 13:21:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968556032001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788939973000,"timestamp_ms":1788939973000,"timestamp_seconds":1788939973,"priority":1,"record_length":96,"hex_timestamp":"000001a08521b188"} 
[2026-09-09 13:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968556032001,"66":25778,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968556032001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:21:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:21:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968556032001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":175677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:21:50] local.INFO: GPS data processed {"connection_id":175677,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:21:50] local.INFO: Acknowledgment sent {"connection_id":175677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:21:52] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:21:52] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:21:52] local.INFO: Packet analysis {"connection_id":175677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:21:52] local.INFO: Extracted packet for processing {"connection_id":175677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":175677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:21:52] local.INFO: GPS data processed {"connection_id":175677,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:21:52] local.INFO: Acknowledgment sent {"connection_id":175677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:22:07] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085256aa8012d187c8007217508004d00b929..."} 
[2026-09-09 13:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085256aa8012d187c8007217508004d00b929..."} 
[2026-09-09 13:22:07] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085256aa8012d187c8007217508004d00b929..."} 
[2026-09-09 13:22:07] local.INFO: Packet analysis {"connection_id":175458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08525"} 
[2026-09-09 13:22:07] local.INFO: Extracted packet for processing {"connection_id":175458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08525"} 
[2026-09-09 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":41,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968690176001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13: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-09-09 13:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788940217000,"timestamp_ms":1788940217000,"timestamp_seconds":1788940217,"priority":1,"record_length":96,"hex_timestamp":"000001a085256aa8"} 
[2026-09-09 13:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 13:22: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-09-09 13:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:22:07] 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-09-09 13:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968690176001,"66":12461,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968690176001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:22:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968690176001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":175458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:22:07] local.INFO: GPS data processed {"connection_id":175458,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:22:07] local.INFO: Acknowledgment sent {"connection_id":175458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:22:25] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:22:25] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:22:25] local.INFO: Packet analysis {"connection_id":175677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:22:25] local.INFO: Extracted packet for processing {"connection_id":175677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:22:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:22:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:22:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":175677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:22:25] local.INFO: GPS data processed {"connection_id":175677,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:22:25] local.INFO: Acknowledgment sent {"connection_id":175677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:22:30] local.INFO: TCP Data received {"connection_id":176834,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:22:30] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:22:30] local.INFO: IMEI packet received {"connection_id":176834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":176834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:22:35] local.INFO: TCP Data received {"connection_id":176834,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:22:35] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:22:35] local.INFO: IMEI packet received {"connection_id":176834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":176834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:22:35] local.INFO: TCP Data received {"connection_id":176834,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08525bcb0012d187c8007217508004d00b927..."} 
[2026-09-09 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08525bcb0012d187c8007217508004d00b927..."} 
[2026-09-09 13:22:35] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08525bcb0012d187c8007217508004d00b927..."} 
[2026-09-09 13:22:35] local.INFO: Packet analysis {"connection_id":176834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08525"} 
[2026-09-09 13:22:35] local.INFO: Extracted packet for processing {"connection_id":176834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08525"} 
[2026-09-09 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":39,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968695552001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22: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-09-09 13:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788940238000,"timestamp_ms":1788940238000,"timestamp_seconds":1788940238,"priority":1,"record_length":96,"hex_timestamp":"000001a08525bcb0"} 
[2026-09-09 13:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:22: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-09-09 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 13:22: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-09-09 13:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:22:35] 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-09-09 13:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968695552001,"66":12439,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968695552001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:22:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968695552001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":176834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:22:36] local.INFO: GPS data processed {"connection_id":176834,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:22:36] local.INFO: Acknowledgment sent {"connection_id":176834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:22:41] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:22:41] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:22:41] local.INFO: IMEI packet received {"connection_id":175678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":175678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:22:43] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:22:43] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:22:43] local.INFO: IMEI packet received {"connection_id":175678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":175678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:22:45] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:22:45] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:22:45] local.INFO: Packet analysis {"connection_id":175678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:22:45] local.INFO: Extracted packet for processing {"connection_id":175678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":175678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:22:45] local.INFO: GPS data processed {"connection_id":175678,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:22:45] local.INFO: Acknowledgment sent {"connection_id":175678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:22:50] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:22:50] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:22:50] local.INFO: Packet analysis {"connection_id":175678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:22:50] local.INFO: Extracted packet for processing {"connection_id":175678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:22:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":175678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:22:50] local.INFO: GPS data processed {"connection_id":175678,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:22:50] local.INFO: Acknowledgment sent {"connection_id":175678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:23:07] local.INFO: TCP Data received {"connection_id":176834,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085260eb8012d187c8007217508004d00b928..."} 
[2026-09-09 13:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085260eb8012d187c8007217508004d00b928..."} 
[2026-09-09 13:23:07] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085260eb8012d187c8007217508004d00b928..."} 
[2026-09-09 13:23:07] local.INFO: Packet analysis {"connection_id":176834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:23:07] local.INFO: Extracted packet for processing {"connection_id":176834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 13:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968700928001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23: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-09-09 13:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788940259000,"timestamp_ms":1788940259000,"timestamp_seconds":1788940259,"priority":1,"record_length":96,"hex_timestamp":"000001a085260eb8"} 
[2026-09-09 13:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:23: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-09-09 13:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 13:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:23:07] 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-09-09 13:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968700928001,"66":12461,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968700928001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:23:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968700928001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":176834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:23:07] local.INFO: GPS data processed {"connection_id":176834,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:23:07] local.INFO: Acknowledgment sent {"connection_id":176834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:23:21] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:23:21] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:23:21] local.INFO: Packet analysis {"connection_id":175678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:23:21] local.INFO: Extracted packet for processing {"connection_id":175678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:23:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":175678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:23:21] local.INFO: GPS data processed {"connection_id":175678,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:23:21] local.INFO: Acknowledgment sent {"connection_id":175678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:23:30] local.INFO: TCP Data received {"connection_id":176835,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:23:30] local.INFO: Processing buffer {"connection_id":176835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:23:30] local.INFO: IMEI packet received {"connection_id":176835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":176835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:23:35] local.INFO: TCP Data received {"connection_id":176835,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:23:35] local.INFO: Processing buffer {"connection_id":176835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:23:35] local.INFO: IMEI packet received {"connection_id":176835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":176835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:23:35] local.INFO: TCP Data received {"connection_id":176835,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852660c0012d187c8007217508004d00b928..."} 
[2026-09-09 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852660c0012d187c8007217508004d00b928..."} 
[2026-09-09 13:23:35] local.INFO: Processing buffer {"connection_id":176835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852660c0012d187c8007217508004d00b928..."} 
[2026-09-09 13:23:35] local.INFO: Packet analysis {"connection_id":176835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:23:35] local.INFO: Extracted packet for processing {"connection_id":176835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968706304001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23: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-09-09 13:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788940280000,"timestamp_ms":1788940280000,"timestamp_seconds":1788940280,"priority":1,"record_length":96,"hex_timestamp":"000001a0852660c0"} 
[2026-09-09 13:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:23: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-09-09 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 13:23: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-09-09 13:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:23:35] 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-09-09 13:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968706304001,"66":12461,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968706304001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:23:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968706304001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":176835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:23:36] local.INFO: GPS data processed {"connection_id":176835,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:23:36] local.INFO: Acknowledgment sent {"connection_id":176835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:23:39] local.INFO: TCP Data received {"connection_id":176836,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:23:39] local.INFO: Processing buffer {"connection_id":176836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:23:39] local.INFO: IMEI packet received {"connection_id":176836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":176836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:23:43] local.INFO: TCP Data received {"connection_id":176836,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:23:43] local.INFO: Processing buffer {"connection_id":176836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:23:43] local.INFO: IMEI packet received {"connection_id":176836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":176836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:23:45] local.INFO: TCP Data received {"connection_id":176836,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:23:45] local.INFO: Processing buffer {"connection_id":176836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:23:45] local.INFO: Packet analysis {"connection_id":176836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:23:45] local.INFO: Extracted packet for processing {"connection_id":176836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":176836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:23:45] local.INFO: GPS data processed {"connection_id":176836,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:23:45] local.INFO: Acknowledgment sent {"connection_id":176836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:24:07] local.INFO: TCP Data received {"connection_id":176837,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:24:07] local.INFO: Processing buffer {"connection_id":176837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:24:07] local.INFO: IMEI packet received {"connection_id":176837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":176837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:24:07] local.INFO: TCP Data received {"connection_id":176835,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08526b2c8012d187c8007217508004d00b925..."} 
[2026-09-09 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08526b2c8012d187c8007217508004d00b925..."} 
[2026-09-09 13:24:07] local.INFO: Processing buffer {"connection_id":176835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08526b2c8012d187c8007217508004d00b925..."} 
[2026-09-09 13:24:07] local.INFO: Packet analysis {"connection_id":176835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:24:07] local.INFO: Extracted packet for processing {"connection_id":176835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":37,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968711680001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24: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-09-09 13:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788940301000,"timestamp_ms":1788940301000,"timestamp_seconds":1788940301,"priority":1,"record_length":96,"hex_timestamp":"000001a08526b2c8"} 
[2026-09-09 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-09-09 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 13:24: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-09-09 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-09-09 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-09-09 13:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:24:07] 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-09-09 13:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968711680001,"66":12461,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968711680001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:24:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968711680001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":176835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:24:07] local.INFO: GPS data processed {"connection_id":176835,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:24:07] local.INFO: Acknowledgment sent {"connection_id":176835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:24:17] local.INFO: TCP Data received {"connection_id":176836,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:24:17] local.INFO: Processing buffer {"connection_id":176836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:24:17] local.INFO: Packet analysis {"connection_id":176836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:24:17] local.INFO: Extracted packet for processing {"connection_id":176836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":176836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:24:17] local.INFO: GPS data processed {"connection_id":176836,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:24:17] local.INFO: Acknowledgment sent {"connection_id":176836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:24:31] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:24:31] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:24:31] local.INFO: IMEI packet received {"connection_id":175680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":175680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:24:35] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:24:35] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:24:35] local.INFO: IMEI packet received {"connection_id":175680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":175680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:24:36] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852704d0012d187c8007217508004d00b926..."} 
[2026-09-09 13:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852704d0012d187c8007217508004d00b926..."} 
[2026-09-09 13:24:36] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852704d0012d187c8007217508004d00b926..."} 
[2026-09-09 13:24:36] local.INFO: Packet analysis {"connection_id":175680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08527"} 
[2026-09-09 13:24:36] local.INFO: Extracted packet for processing {"connection_id":175680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08527"} 
[2026-09-09 13:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":38,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968717056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788940322000,"timestamp_ms":1788940322000,"timestamp_seconds":1788940322,"priority":1,"record_length":96,"hex_timestamp":"000001a0852704d0"} 
[2026-09-09 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-09-09 13:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 13:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 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-09-09 13:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:24:36] 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-09-09 13:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968717056001,"66":12461,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968717056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:24:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968717056001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":175680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:24:36] local.INFO: GPS data processed {"connection_id":175680,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:24:36] local.INFO: Acknowledgment sent {"connection_id":175680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:24:38] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:24:38] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:24:38] local.INFO: IMEI packet received {"connection_id":175681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":175681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:24:44] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:24:44] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:24:44] local.INFO: IMEI packet received {"connection_id":175681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":175681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:24:45] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:24:45] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:24:45] local.INFO: Packet analysis {"connection_id":175681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:24:45] local.INFO: Extracted packet for processing {"connection_id":175681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":175681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:24:45] local.INFO: GPS data processed {"connection_id":175681,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:24:45] local.INFO: Acknowledgment sent {"connection_id":175681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:25:07] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852756d8012d187c8007217508004d00b928..."} 
[2026-09-09 13:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852756d8012d187c8007217508004d00b928..."} 
[2026-09-09 13:25:07] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852756d8012d187c8007217508004d00b928..."} 
[2026-09-09 13:25:07] local.INFO: Packet analysis {"connection_id":175680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08527"} 
[2026-09-09 13:25:07] local.INFO: Extracted packet for processing {"connection_id":175680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08527"} 
[2026-09-09 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968722432001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25: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-09-09 13:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788940343000,"timestamp_ms":1788940343000,"timestamp_seconds":1788940343,"priority":1,"record_length":96,"hex_timestamp":"000001a0852756d8"} 
[2026-09-09 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-09-09 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 13:25: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-09-09 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-09-09 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-09-09 13:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:25:07] 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-09-09 13:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968722432001,"66":12461,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968722432001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:25:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968722432001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":175680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:25:07] local.INFO: GPS data processed {"connection_id":175680,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:25:07] local.INFO: Acknowledgment sent {"connection_id":175680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:25:16] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:25:16] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:25:16] local.INFO: Packet analysis {"connection_id":175681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:25:16] local.INFO: Extracted packet for processing {"connection_id":175681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":175681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:25:16] local.INFO: GPS data processed {"connection_id":175681,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:25:16] local.INFO: Acknowledgment sent {"connection_id":175681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:25:30] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:25:30] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:25:30] local.INFO: IMEI packet received {"connection_id":175459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":175459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:25:35] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:25:35] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:25:35] local.INFO: IMEI packet received {"connection_id":175459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":175459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:25:35] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08527a8e0012d187c8007217508004d00b926..."} 
[2026-09-09 13:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08527a8e0012d187c8007217508004d00b926..."} 
[2026-09-09 13:25:35] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08527a8e0012d187c8007217508004d00b926..."} 
[2026-09-09 13:25:35] local.INFO: Packet analysis {"connection_id":175459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08527"} 
[2026-09-09 13:25:35] local.INFO: Extracted packet for processing {"connection_id":175459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08527"} 
[2026-09-09 13:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":38,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 13:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968727808001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25: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-09-09 13:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788940364000,"timestamp_ms":1788940364000,"timestamp_seconds":1788940364,"priority":1,"record_length":96,"hex_timestamp":"000001a08527a8e0"} 
[2026-09-09 13:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:25: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-09-09 13:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 13:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:25:35] 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-09-09 13:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968727808001,"66":12428,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968727808001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:25:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968727808001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":175459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:25:36] local.INFO: GPS data processed {"connection_id":175459,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:25:36] local.INFO: Acknowledgment sent {"connection_id":175459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:25:43] local.INFO: TCP Data received {"connection_id":178256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:25:43] local.INFO: Processing buffer {"connection_id":178256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:25:43] local.INFO: IMEI packet received {"connection_id":178256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":178256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:25:49] local.INFO: TCP Data received {"connection_id":178256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:25:49] local.INFO: Processing buffer {"connection_id":178256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:25:49] local.INFO: IMEI packet received {"connection_id":178256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":178256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:25:50] local.INFO: TCP Data received {"connection_id":178256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:25:50] local.INFO: Processing buffer {"connection_id":178256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:25:50] local.INFO: Packet analysis {"connection_id":178256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:25:50] local.INFO: Extracted packet for processing {"connection_id":178256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:25: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-09-09 13:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:25:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":178256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:25:50] local.INFO: GPS data processed {"connection_id":178256,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:25:50] local.INFO: Acknowledgment sent {"connection_id":178256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:25:54] local.INFO: TCP Data received {"connection_id":178256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:25:54] local.INFO: Processing buffer {"connection_id":178256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:25:54] local.INFO: Packet analysis {"connection_id":178256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:25:54] local.INFO: Extracted packet for processing {"connection_id":178256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:25:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":178256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:25:54] local.INFO: GPS data processed {"connection_id":178256,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:25:54] local.INFO: Acknowledgment sent {"connection_id":178256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:26:07] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a08527fae8012d187c8007217508004d00b926..."} 
[2026-09-09 13:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08527fae8012d187c8007217508004d00b926..."} 
[2026-09-09 13:26:07] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08527fae8012d187c8007217508004d00b926..."} 
[2026-09-09 13:26:07] local.INFO: Packet analysis {"connection_id":175459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08527"} 
[2026-09-09 13:26:07] local.INFO: Extracted packet for processing {"connection_id":175459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08527"} 
[2026-09-09 13:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633160,"longitude_deg":75.6579456,"latitude_deg":11.963316,"altitude":77,"angle":185,"satellites":38,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217508","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968733184001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859845641830400,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136836096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26: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-09-09 13:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788940385000,"timestamp_ms":1788940385000,"timestamp_seconds":1788940385,"priority":1,"record_length":96,"hex_timestamp":"000001a08527fae8"} 
[2026-09-09 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-09-09 13:26: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-09-09 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 13:26: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-09-09 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-09-09 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-09-09 13:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:26:07] 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-09-09 13:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968733184001,"66":12428,"106":206,"83":41984,"24":0,"16":18859845641830400,"45":1764425922136836096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968733184001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:26:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859845641830400,"km_value":18859845641830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136836096,"description":"Unknown IO ID 45"} 
[2026-09-09 13:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968733184001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764425922136836096}} 
[2026-09-09 13:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":175459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:26:07] local.INFO: GPS data processed {"connection_id":175459,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:26:07] local.INFO: Acknowledgment sent {"connection_id":175459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:26:30] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:26:30] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:26:30] local.INFO: IMEI packet received {"connection_id":176840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":176840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:26:34] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:26:34] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:26:34] local.INFO: IMEI packet received {"connection_id":176840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":176840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:26:35] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:26:35] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:26:35] local.INFO: IMEI packet received {"connection_id":176840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":176840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:26:35] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852a4ca8012d187b8007217d980050001329..."} 
[2026-09-09 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852a4ca8012d187b8007217d980050001329..."} 
[2026-09-09 13:26:35] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852a4ca8012d187b8007217d980050001329..."} 
[2026-09-09 13:26:35] local.INFO: Packet analysis {"connection_id":176840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:26:35] local.INFO: Extracted packet for processing {"connection_id":176840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119635352,"longitude_deg":75.65792,"latitude_deg":11.9635352,"altitude":80,"angle":19,"satellites":41,"speed":4,"hex_longitude":"2d187b80","hex_latitude":"07217d98","is_valid_coordinates":true} 
[2026-09-09 13:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968775936001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859961605947392,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144447160631296,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26: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-09-09 13:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788940537000,"timestamp_ms":1788940537000,"timestamp_seconds":1788940537,"priority":1,"record_length":96,"hex_timestamp":"000001a0852a4ca8"} 
[2026-09-09 13:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:26: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-09-09 13:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 13:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:26:35] 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-09-09 13:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968775936001,"66":13972,"106":206,"83":41984,"24":4,"16":18859961605947392,"45":1764144447160631296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968775936001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:26:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859961605947392,"km_value":18859961605947.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144447160631296,"description":"Unknown IO ID 45"} 
[2026-09-09 13:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968775936001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1764144447160631296}} 
[2026-09-09 13:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":176840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:26:36] local.INFO: GPS data processed {"connection_id":176840,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:26:36] local.INFO: Acknowledgment sent {"connection_id":176840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:26:38] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852a5090012d187b8007217e18005001532a..."} 
[2026-09-09 13:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852a5090012d187b8007217e18005001532a..."} 
[2026-09-09 13:26:38] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852a5090012d187b8007217e18005001532a..."} 
[2026-09-09 13:26:38] local.INFO: Packet analysis {"connection_id":176840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:26:38] local.INFO: Extracted packet for processing {"connection_id":176840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119635480,"longitude_deg":75.65792,"latitude_deg":11.963548,"altitude":80,"angle":339,"satellites":42,"speed":5,"hex_longitude":"2d187b80","hex_latitude":"07217e18","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968777472001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859970195881984,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144447160686592,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26: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-09-09 13:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788940538000,"timestamp_ms":1788940538000,"timestamp_seconds":1788940538,"priority":1,"record_length":96,"hex_timestamp":"000001a0852a5090"} 
[2026-09-09 13:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:26: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-09-09 13: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 13:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:26: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-09-09 13:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968777472001,"66":13972,"106":206,"83":41984,"24":5,"16":18859970195881984,"45":1764144447160686592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968777472001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:26:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859970195881984,"km_value":18859970195881.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144447160686592,"description":"Unknown IO ID 45"} 
[2026-09-09 13:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968777472001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1764144447160686592}} 
[2026-09-09 13:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":176840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:26:38] local.INFO: GPS data processed {"connection_id":176840,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:26:38] local.INFO: Acknowledgment sent {"connection_id":176840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:26:39] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:26:39] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:26:39] local.INFO: IMEI packet received {"connection_id":175682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":175682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:26:44] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:26:44] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:26:44] local.INFO: IMEI packet received {"connection_id":175682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":175682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:26:45] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:26:45] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085264950012d34c48006aa49900013008d26..."} 
[2026-09-09 13:26:45] local.INFO: Packet analysis {"connection_id":175682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:26:45] local.INFO: Extracted packet for processing {"connection_id":175682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08526"} 
[2026-09-09 13:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":19,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968633088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788940274000,"timestamp_ms":1788940274000,"timestamp_seconds":1788940274,"priority":1,"record_length":96,"hex_timestamp":"000001a085264950"} 
[2026-09-09 13:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968633088001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968633088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:26:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968633088001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":175682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:26:45] local.INFO: GPS data processed {"connection_id":175682,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:26:45] local.INFO: Acknowledgment sent {"connection_id":175682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:27:09] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852a6418012d187a40072180a00050013a25..."} 
[2026-09-09 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852a6418012d187a40072180a00050013a25..."} 
[2026-09-09 13:27:09] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852a6418012d187a40072180a00050013a25..."} 
[2026-09-09 13:27:09] local.INFO: Packet analysis {"connection_id":176840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:09] local.INFO: Extracted packet for processing {"connection_id":176840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756578880,"raw_latitude":119636128,"longitude_deg":75.657888,"latitude_deg":11.9636128,"altitude":80,"angle":314,"satellites":37,"speed":5,"hex_longitude":"2d187a40","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-09-09 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968777728001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860004555620352,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144447160719360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27: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-09-09 13:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788940543000,"timestamp_ms":1788940543000,"timestamp_seconds":1788940543,"priority":1,"record_length":96,"hex_timestamp":"000001a0852a6418"} 
[2026-09-09 13:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 13:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:27:09] 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-09-09 13:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968777728001,"66":13993,"106":206,"83":41984,"24":5,"16":18860004555620352,"45":1764144447160719360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968777728001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:27:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860004555620352,"km_value":18860004555620.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144447160719360,"description":"Unknown IO ID 45"} 
[2026-09-09 13:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968777728001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1764144447160719360}} 
[2026-09-09 13:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":176840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:27:09] local.INFO: GPS data processed {"connection_id":176840,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:27:09] local.INFO: Acknowledgment sent {"connection_id":176840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:27:17] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:27:17] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:27:17] local.INFO: Packet analysis {"connection_id":175682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:17] local.INFO: Extracted packet for processing {"connection_id":175682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":175682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:27:17] local.INFO: GPS data processed {"connection_id":175682,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:27:17] local.INFO: Acknowledgment sent {"connection_id":175682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:27:35] local.INFO: TCP Data received {"connection_id":178257,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:27:35] local.INFO: Processing buffer {"connection_id":178257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:27:35] local.INFO: IMEI packet received {"connection_id":178257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":178257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:27:37] local.INFO: TCP Data received {"connection_id":178257,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:27:37] local.INFO: Processing buffer {"connection_id":178257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:27:37] local.INFO: IMEI packet received {"connection_id":178257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":178257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:27:38] local.INFO: TCP Data received {"connection_id":178257,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852a6800012d1879c0072181000050012a27..."} 
[2026-09-09 13:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852a6800012d1879c0072181000050012a27..."} 
[2026-09-09 13:27:38] local.INFO: Processing buffer {"connection_id":178257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852a6800012d1879c0072181000050012a27..."} 
[2026-09-09 13:27:38] local.INFO: Packet analysis {"connection_id":178257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:38] local.INFO: Extracted packet for processing {"connection_id":178257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756578752,"raw_latitude":119636224,"longitude_deg":75.6578752,"latitude_deg":11.9636224,"altitude":80,"angle":298,"satellites":39,"speed":7,"hex_longitude":"2d1879c0","hex_latitude":"07218100","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968779008001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860013145554944,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763792603439996928,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27: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-09-09 13:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788940544000,"timestamp_ms":1788940544000,"timestamp_seconds":1788940544,"priority":1,"record_length":96,"hex_timestamp":"000001a0852a6800"} 
[2026-09-09 13:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:27: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-09-09 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 13:27: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-09-09 13: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-09-09 13:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:27: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-09-09 13:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968779008001,"66":13993,"106":206,"83":41984,"24":7,"16":18860013145554944,"45":1763792603439996928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968779008001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:27:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860013145554944,"km_value":18860013145554.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763792603439996928,"description":"Unknown IO ID 45"} 
[2026-09-09 13:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968779008001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1763792603439996928}} 
[2026-09-09 13:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":178257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:27:38] local.INFO: GPS data processed {"connection_id":178257,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:27:38] local.INFO: Acknowledgment sent {"connection_id":178257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:27:38] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:27:38] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:27:38] local.INFO: IMEI packet received {"connection_id":175461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":175461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:27:40] local.INFO: TCP Data received {"connection_id":178257,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852a6fd0012d187840072181880050011428..."} 
[2026-09-09 13:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852a6fd0012d187840072181880050011428..."} 
[2026-09-09 13:27:40] local.INFO: Processing buffer {"connection_id":178257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852a6fd0012d187840072181880050011428..."} 
[2026-09-09 13:27:40] local.INFO: Packet analysis {"connection_id":178257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:40] local.INFO: Extracted packet for processing {"connection_id":178257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756578368,"raw_latitude":119636360,"longitude_deg":75.6578368,"latitude_deg":11.963636,"altitude":80,"angle":276,"satellites":40,"speed":10,"hex_longitude":"2d187840","hex_latitude":"07218188","is_valid_coordinates":true} 
[2026-09-09 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968779264001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860030325424128,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763651865951666176,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27: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-09-09 13:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788940546000,"timestamp_ms":1788940546000,"timestamp_seconds":1788940546,"priority":1,"record_length":96,"hex_timestamp":"000001a0852a6fd0"} 
[2026-09-09 13:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 13:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:27:40] 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-09-09 13:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968779264001,"66":13906,"106":206,"83":41984,"24":10,"16":18860030325424128,"45":1763651865951666176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968779264001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:27:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860030325424128,"km_value":18860030325424.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763651865951666176,"description":"Unknown IO ID 45"} 
[2026-09-09 13:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968779264001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1763651865951666176}} 
[2026-09-09 13:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":178257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:27:41] local.INFO: GPS data processed {"connection_id":178257,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:27:41] local.INFO: Acknowledgment sent {"connection_id":178257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:27:43] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:27:43] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:27:43] local.INFO: IMEI packet received {"connection_id":175461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":175461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:27:44] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:27:44] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:27:44] local.INFO: Packet analysis {"connection_id":175461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:44] local.INFO: Extracted packet for processing {"connection_id":175461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":175461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:27:44] local.INFO: GPS data processed {"connection_id":175461,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:27:44] local.INFO: Acknowledgment sent {"connection_id":175461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:28:12] local.INFO: TCP Data received {"connection_id":178257,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852a7b88012d18740007218168004f010728..."} 
[2026-09-09 13:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852a7b88012d18740007218168004f010728..."} 
[2026-09-09 13:28:12] local.INFO: Processing buffer {"connection_id":178257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852a7b88012d18740007218168004f010728..."} 
[2026-09-09 13:28:12] local.INFO: Packet analysis {"connection_id":178257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:28:12] local.INFO: Extracted packet for processing {"connection_id":178257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756577280,"raw_latitude":119636328,"longitude_deg":75.657728,"latitude_deg":11.9636328,"altitude":79,"angle":263,"satellites":40,"speed":15,"hex_longitude":"2d187400","hex_latitude":"07218168","is_valid_coordinates":true} 
[2026-09-09 13:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968779776001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860081865031680,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763229653486635008,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788940549000,"timestamp_ms":1788940549000,"timestamp_seconds":1788940549,"priority":1,"record_length":96,"hex_timestamp":"000001a0852a7b88"} 
[2026-09-09 13:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:28: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-09-09 13:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 13:28: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-09-09 13:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:28:12] 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-09-09 13:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968779776001,"66":13939,"106":206,"83":41984,"24":15,"16":18860081865031680,"45":1763229653486635008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968779776001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:28:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860081865031680,"km_value":18860081865031.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763229653486635008,"description":"Unknown IO ID 45"} 
[2026-09-09 13:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968779776001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1763229653486635008}} 
[2026-09-09 13:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":178257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:28:12] local.INFO: GPS data processed {"connection_id":178257,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:28:12] local.INFO: Acknowledgment sent {"connection_id":178257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:28:16] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:28:16] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:28:16] local.INFO: Packet analysis {"connection_id":175461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:28:16] local.INFO: Extracted packet for processing {"connection_id":175461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":175461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:28:16] local.INFO: GPS data processed {"connection_id":175461,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:28:16] local.INFO: Acknowledgment sent {"connection_id":175461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:28:28] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:28] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:28] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:28:33] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:33] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:33] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:28:33] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:33] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:33] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:28:35] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:35] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:28:35] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:28:35] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852c3cc0012d186e00072181f8004c005828..."} 
[2026-09-09 13:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852c3cc0012d186e00072181f8004c005828..."} 
[2026-09-09 13:28:35] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852c3cc0012d186e00072181f8004c005828..."} 
[2026-09-09 13:28:35] local.INFO: Packet analysis {"connection_id":176841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852c"} 
[2026-09-09 13:28:35] local.INFO: Extracted packet for processing {"connection_id":176841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852c"} 
[2026-09-09 13:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756575744,"raw_latitude":119636472,"longitude_deg":75.6575744,"latitude_deg":11.9636472,"altitude":76,"angle":88,"satellites":40,"speed":30,"hex_longitude":"2d186e00","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-09-09 13:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968809216001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862104794628096,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260185028608,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28: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-09-09 13:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788940664000,"timestamp_ms":1788940664000,"timestamp_seconds":1788940664,"priority":1,"record_length":96,"hex_timestamp":"000001a0852c3cc0"} 
[2026-09-09 13:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 13:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:28:35] 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-09-09 13:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968809216001,"66":13156,"106":206,"83":41984,"24":30,"16":18862104794628096,"45":1757811260185028608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968809216001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:28:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862104794628096,"km_value":18862104794628.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260185028608,"description":"Unknown IO ID 45"} 
[2026-09-09 13:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968809216001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1757811260185028608}} 
[2026-09-09 13:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":176841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:28:36] local.INFO: GPS data processed {"connection_id":176841,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:28:36] local.INFO: Acknowledgment sent {"connection_id":176841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:28:38] local.INFO: TCP Data received {"connection_id":178258,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:28:38] local.INFO: Processing buffer {"connection_id":178258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:28:38] local.INFO: IMEI packet received {"connection_id":178258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":178258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:28:41] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852c5430012d188280072181c8004b006728..."} 
[2026-09-09 13:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852c5430012d188280072181c8004b006728..."} 
[2026-09-09 13:28:41] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852c5430012d188280072181c8004b006728..."} 
[2026-09-09 13:28:41] local.INFO: Packet analysis {"connection_id":176841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852c"} 
[2026-09-09 13:28:41] local.INFO: Extracted packet for processing {"connection_id":176841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852c"} 
[2026-09-09 13:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756580992,"raw_latitude":119636424,"longitude_deg":75.6580992,"latitude_deg":11.9636424,"altitude":75,"angle":103,"satellites":40,"speed":34,"hex_longitude":"2d188280","hex_latitude":"072181c8","is_valid_coordinates":true} 
[2026-09-09 13:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862349607763968,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760344534975379456,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28: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-09-09 13:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788940670000,"timestamp_ms":1788940670000,"timestamp_seconds":1788940670,"priority":1,"record_length":96,"hex_timestamp":"000001a0852c5430"} 
[2026-09-09 13:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-09 13:28: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-09-09 13:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:28:41] 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-09-09 13:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968809984001,"66":13135,"106":206,"83":41984,"24":34,"16":18862349607763968,"45":1760344534975379456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:28:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862349607763968,"km_value":18862349607763.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760344534975379456,"description":"Unknown IO ID 45"} 
[2026-09-09 13:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968809984001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1760344534975379456}} 
[2026-09-09 13:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":176841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:28:41] local.INFO: GPS data processed {"connection_id":176841,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:28:41] local.INFO: Acknowledgment sent {"connection_id":176841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:28:44] local.INFO: TCP Data received {"connection_id":178258,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:28:44] local.INFO: Processing buffer {"connection_id":178258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:28:44] local.INFO: IMEI packet received {"connection_id":178258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":178258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:28:45] local.INFO: TCP Data received {"connection_id":178258,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:28:45] local.INFO: Processing buffer {"connection_id":178258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:28:45] local.INFO: Packet analysis {"connection_id":178258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:28:45] local.INFO: Extracted packet for processing {"connection_id":178258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":178258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:28:45] local.INFO: GPS data processed {"connection_id":178258,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:28:45] local.INFO: Acknowledgment sent {"connection_id":178258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:29:11] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852c63d0012d188e8007217d30004b007329..."} 
[2026-09-09 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852c63d0012d188e8007217d30004b007329..."} 
[2026-09-09 13:29:11] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852c63d0012d188e8007217d30004b007329..."} 
[2026-09-09 13:29:11] local.INFO: Packet analysis {"connection_id":176841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852c"} 
[2026-09-09 13:29:11] local.INFO: Extracted packet for processing {"connection_id":176841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852c"} 
[2026-09-09 13:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756584064,"raw_latitude":119635248,"longitude_deg":75.6584064,"latitude_deg":11.9635248,"altitude":75,"angle":115,"satellites":41,"speed":32,"hex_longitude":"2d188e80","hex_latitude":"07217d30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862508521553920,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766114771997935616,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788940674000,"timestamp_ms":1788940674000,"timestamp_seconds":1788940674,"priority":1,"record_length":96,"hex_timestamp":"000001a0852c63d0"} 
[2026-09-09 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-09-09 13:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-09 13:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:29:11] 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-09-09 13:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968811520001,"66":13156,"106":206,"83":41984,"24":32,"16":18862508521553920,"45":1766114771997935616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 13:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:29:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 13:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862508521553920,"km_value":18862508521553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766114771997935616,"description":"Unknown IO ID 45"} 
[2026-09-09 13:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968811520001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1766114771997935616}} 
[2026-09-09 13:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":176841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:29:11] local.INFO: GPS data processed {"connection_id":176841,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:29:11] local.INFO: Acknowledgment sent {"connection_id":176841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:29:17] local.INFO: TCP Data received {"connection_id":178258,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:29:17] local.INFO: Processing buffer {"connection_id":178258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:29:17] local.INFO: Packet analysis {"connection_id":178258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:29:17] local.INFO: Extracted packet for processing {"connection_id":178258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":178258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:29:17] local.INFO: GPS data processed {"connection_id":178258,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:29:17] local.INFO: Acknowledgment sent {"connection_id":178258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:29:30] local.INFO: TCP Data received {"connection_id":178260,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:29:30] local.INFO: Processing buffer {"connection_id":178260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:29:30] local.INFO: IMEI packet received {"connection_id":178260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":178260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:29:31] local.INFO: TCP Data received {"connection_id":178260,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:29:31] local.INFO: Processing buffer {"connection_id":178260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:29:31] local.INFO: IMEI packet received {"connection_id":178260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":178260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:29:35] local.INFO: TCP Data received {"connection_id":178260,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:29:35] local.INFO: Processing buffer {"connection_id":178260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:29:35] local.INFO: IMEI packet received {"connection_id":178260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":178260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:29:36] local.INFO: TCP Data received {"connection_id":178260,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852d1f50012d18da800720fc60003c008e25..."} 
[2026-09-09 13:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852d1f50012d18da800720fc60003c008e25..."} 
[2026-09-09 13:29:36] local.INFO: Processing buffer {"connection_id":178260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852d1f50012d18da800720fc60003c008e25..."} 
[2026-09-09 13:29:36] local.INFO: Packet analysis {"connection_id":178260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852d"} 
[2026-09-09 13:29:36] local.INFO: Extracted packet for processing {"connection_id":178260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852d"} 
[2026-09-09 13:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756603520,"raw_latitude":119602272,"longitude_deg":75.660352,"latitude_deg":11.9602272,"altitude":60,"angle":142,"satellites":37,"speed":40,"hex_longitude":"2d18da80","hex_latitude":"0720fc60","is_valid_coordinates":true} 
[2026-09-09 13:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968824320001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18864501386379264,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789758670033348608,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29: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-09-09 13:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788940722000,"timestamp_ms":1788940722000,"timestamp_seconds":1788940722,"priority":1,"record_length":96,"hex_timestamp":"000001a0852d1f50"} 
[2026-09-09 13:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 13:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:29:36] 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-09-09 13:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968824320001,"66":11808,"103":206,"83":41984,"24":40,"16":18864501386379264,"45":1789758670033348608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 13:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968824320001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:29:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 13:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18864501386379264,"km_value":18864501386379.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789758670033348608,"description":"Unknown IO ID 45"} 
[2026-09-09 13:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968824320001,"power":11808,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1789758670033348608}} 
[2026-09-09 13:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":178260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:29:36] local.INFO: GPS data processed {"connection_id":178260,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:29:36] local.INFO: Acknowledgment sent {"connection_id":178260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:29:38] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:29:38] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:29:38] local.INFO: IMEI packet received {"connection_id":175462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":175462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:29:41] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:29:41] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:29:41] local.INFO: IMEI packet received {"connection_id":175684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":175684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:29:44] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:29:44] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:29:44] local.INFO: IMEI packet received {"connection_id":175462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":175462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:29:46] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:29:46] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:29:46] local.INFO: Packet analysis {"connection_id":175462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:29:46] local.INFO: Extracted packet for processing {"connection_id":175462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":175462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:29:46] local.INFO: GPS data processed {"connection_id":175462,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:29:46] local.INFO: Acknowledgment sent {"connection_id":175462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:30:07] local.INFO: TCP Data received {"connection_id":178260,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0852d2338012d18dd800720f9a0003c008327..."} 
[2026-09-09 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852d2338012d18dd800720f9a0003c008327..."} 
[2026-09-09 13:30:07] local.INFO: Processing buffer {"connection_id":178260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852d2338012d18dd800720f9a0003c008327..."} 
[2026-09-09 13:30:07] local.INFO: Packet analysis {"connection_id":178260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852d"} 
[2026-09-09 13:30:07] local.INFO: Extracted packet for processing {"connection_id":178260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852d"} 
[2026-09-09 13:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756604288,"raw_latitude":119601568,"longitude_deg":75.6604288,"latitude_deg":11.9601568,"altitude":60,"angle":131,"satellites":39,"speed":40,"hex_longitude":"2d18dd80","hex_latitude":"0720f9a0","is_valid_coordinates":true} 
[2026-09-09 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":795,"current_offset":40} 
[2026-09-09 13:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968824832001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18864552925986816,"note":"Value kept but may cause issues"} 
[2026-09-09 13:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790884569939730432,"note":"Value kept but may cause issues"} 
[2026-09-09 13:30: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-09-09 13:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788940723000,"timestamp_ms":1788940723000,"timestamp_seconds":1788940723,"priority":1,"record_length":96,"hex_timestamp":"000001a0852d2338"} 
[2026-09-09 13:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-09 13:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:30:07] 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-09-09 13:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968824832001,"66":12885,"103":206,"83":41984,"24":40,"16":18864552925986816,"45":1790884569939730432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 13:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968824832001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:30:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 13:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18864552925986816,"km_value":18864552925986.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790884569939730432,"description":"Unknown IO ID 45"} 
[2026-09-09 13:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968824832001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1790884569939730432}} 
[2026-09-09 13:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":178260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:30:07] local.INFO: GPS data processed {"connection_id":178260,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:30:07] local.INFO: Acknowledgment sent {"connection_id":178260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:30:18] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:30:18] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:30:18] local.INFO: Packet analysis {"connection_id":175462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:30:18] local.INFO: Extracted packet for processing {"connection_id":175462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:30: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-09-09 13:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:30:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":175462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:30:18] local.INFO: GPS data processed {"connection_id":175462,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:30:18] local.INFO: Acknowledgment sent {"connection_id":175462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:30:30] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:30] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:30] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:30:30] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:30] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:30] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:30:31] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:31] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:31] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:30:32] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:32] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:30:32] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:30:44] local.INFO: TCP Data received {"connection_id":176842,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:30:44] local.INFO: Processing buffer {"connection_id":176842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:30:44] local.INFO: IMEI packet received {"connection_id":176842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":176842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:30:49] local.INFO: TCP Data received {"connection_id":176842,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:30:49] local.INFO: Processing buffer {"connection_id":176842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:30:49] local.INFO: IMEI packet received {"connection_id":176842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":176842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:30:50] local.INFO: TCP Data received {"connection_id":176842,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:30:50] local.INFO: Processing buffer {"connection_id":176842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:30:50] local.INFO: Packet analysis {"connection_id":176842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:30:50] local.INFO: Extracted packet for processing {"connection_id":176842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:30:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:30: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":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:30:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:30:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":176842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:30:50] local.INFO: GPS data processed {"connection_id":176842,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:30:50] local.INFO: Acknowledgment sent {"connection_id":176842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:31:22] local.INFO: TCP Data received {"connection_id":176842,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:31:22] local.INFO: Processing buffer {"connection_id":176842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:31:22] local.INFO: Packet analysis {"connection_id":176842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:31:22] local.INFO: Extracted packet for processing {"connection_id":176842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":176842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:31:22] local.INFO: GPS data processed {"connection_id":176842,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:31:22] local.INFO: Acknowledgment sent {"connection_id":176842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:31:39] local.INFO: TCP Data received {"connection_id":178263,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:31:39] local.INFO: Processing buffer {"connection_id":178263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:31:39] local.INFO: IMEI packet received {"connection_id":178263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":178263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:31:44] local.INFO: TCP Data received {"connection_id":178263,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:31:44] local.INFO: Processing buffer {"connection_id":178263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:31:44] local.INFO: IMEI packet received {"connection_id":178263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":178263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:31:46] local.INFO: TCP Data received {"connection_id":178263,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:31:46] local.INFO: Processing buffer {"connection_id":178263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852add30012d34c48006aa4990000f008d28..."} 
[2026-09-09 13:31:46] local.INFO: Packet analysis {"connection_id":178263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:31:46] local.INFO: Extracted packet for processing {"connection_id":178263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852a"} 
[2026-09-09 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968710144001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788940574000,"timestamp_ms":1788940574000,"timestamp_seconds":1788940574,"priority":1,"record_length":96,"hex_timestamp":"000001a0852add30"} 
[2026-09-09 13:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 13:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968710144001,"66":25745,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968710144001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968710144001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":178263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:31:46] local.INFO: GPS data processed {"connection_id":178263,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:31:46] local.INFO: Acknowledgment sent {"connection_id":178263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:32:17] local.INFO: TCP Data received {"connection_id":178263,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:32:17] local.INFO: Processing buffer {"connection_id":178263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:32:17] local.INFO: Packet analysis {"connection_id":178263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:32:17] local.INFO: Extracted packet for processing {"connection_id":178263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 13:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:32: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-09-09 13:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":178263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:32:17] local.INFO: GPS data processed {"connection_id":178263,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:32:17] local.INFO: Acknowledgment sent {"connection_id":178263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:32:44] local.INFO: TCP Data received {"connection_id":175463,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:32:44] local.INFO: Processing buffer {"connection_id":175463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:32:44] local.INFO: IMEI packet received {"connection_id":175463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":175463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:32:49] local.INFO: TCP Data received {"connection_id":175463,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:32:49] local.INFO: Processing buffer {"connection_id":175463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:32:49] local.INFO: IMEI packet received {"connection_id":175463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":175463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:32:50] local.INFO: TCP Data received {"connection_id":175463,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:32:50] local.INFO: Processing buffer {"connection_id":175463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:32:50] local.INFO: Packet analysis {"connection_id":175463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:32:50] local.INFO: Extracted packet for processing {"connection_id":175463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 13:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:32: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-09-09 13:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:32:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:32:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":175463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:32:50] local.INFO: GPS data processed {"connection_id":175463,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:32:50] local.INFO: Acknowledgment sent {"connection_id":175463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:32:54] local.INFO: TCP Data received {"connection_id":175463,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:32:54] local.INFO: Processing buffer {"connection_id":175463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:32:54] local.INFO: Packet analysis {"connection_id":175463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:32:54] local.INFO: Extracted packet for processing {"connection_id":175463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 13:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:32:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":175463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:32:54] local.INFO: GPS data processed {"connection_id":175463,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:32:54] local.INFO: Acknowledgment sent {"connection_id":175463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:33:39] local.INFO: TCP Data received {"connection_id":178266,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:33:39] local.INFO: Processing buffer {"connection_id":178266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:33:39] local.INFO: IMEI packet received {"connection_id":178266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":178266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:33:43] local.INFO: TCP Data received {"connection_id":178266,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:33:43] local.INFO: Processing buffer {"connection_id":178266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:33:43] local.INFO: IMEI packet received {"connection_id":178266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":178266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:33:45] local.INFO: TCP Data received {"connection_id":178266,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:33:45] local.INFO: Processing buffer {"connection_id":178266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:33:45] local.INFO: Packet analysis {"connection_id":178266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:33:45] local.INFO: Extracted packet for processing {"connection_id":178266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 13:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":178266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:33:45] local.INFO: GPS data processed {"connection_id":178266,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:33:45] local.INFO: Acknowledgment sent {"connection_id":178266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:33:51] local.INFO: TCP Data received {"connection_id":178266,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:33:51] local.INFO: Processing buffer {"connection_id":178266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:33:51] local.INFO: Packet analysis {"connection_id":178266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:33:51] local.INFO: Extracted packet for processing {"connection_id":178266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 13:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":178266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:33:51] local.INFO: GPS data processed {"connection_id":178266,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:33:51] local.INFO: Acknowledgment sent {"connection_id":178266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:34:23] local.INFO: TCP Data received {"connection_id":178266,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:34:23] local.INFO: Processing buffer {"connection_id":178266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:34:23] local.INFO: Packet analysis {"connection_id":178266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:34:23] local.INFO: Extracted packet for processing {"connection_id":178266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:34:23] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 13:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:34:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":178266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:34:23] local.INFO: GPS data processed {"connection_id":178266,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:34:23] local.INFO: Acknowledgment sent {"connection_id":178266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:34:39] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:34:39] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:34:39] local.INFO: IMEI packet received {"connection_id":175465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":175465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:34:44] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:34:44] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:34:44] local.INFO: IMEI packet received {"connection_id":175465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":175465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:34:45] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:34:45] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:34:45] local.INFO: Packet analysis {"connection_id":175465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:34:45] local.INFO: Extracted packet for processing {"connection_id":175465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 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-09-09 13:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:34:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":175465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:34:45] local.INFO: GPS data processed {"connection_id":175465,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:34:45] local.INFO: Acknowledgment sent {"connection_id":175465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:35:05] local.INFO: TCP Data received {"connection_id":175688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:35:05] local.INFO: Processing buffer {"connection_id":175688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:35:05] local.INFO: IMEI packet received {"connection_id":175688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":175688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:35:17] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:35:17] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:35:17] local.INFO: Packet analysis {"connection_id":175465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:35:17] local.INFO: Extracted packet for processing {"connection_id":175465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 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-09-09 13:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":175465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:35:17] local.INFO: GPS data processed {"connection_id":175465,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:35:17] local.INFO: Acknowledgment sent {"connection_id":175465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:35:35] local.INFO: TCP Data received {"connection_id":176844,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:35:35] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:35:35] local.INFO: IMEI packet received {"connection_id":176844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":176844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:35:38] local.INFO: TCP Data received {"connection_id":175689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:35:38] local.INFO: Processing buffer {"connection_id":175689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:35:38] local.INFO: IMEI packet received {"connection_id":175689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":175689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:35:40] local.INFO: TCP Data received {"connection_id":176844,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:35:40] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:35:40] local.INFO: IMEI packet received {"connection_id":176844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":176844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:35:41] local.INFO: TCP Data received {"connection_id":176844,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0853262f8012d1b7840071f6f78003f004226..."} 
[2026-09-09 13:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853262f8012d1b7840071f6f78003f004226..."} 
[2026-09-09 13:35:41] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853262f8012d1b7840071f6f78003f004226..."} 
[2026-09-09 13:35:41] local.INFO: Packet analysis {"connection_id":176844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08532"} 
[2026-09-09 13:35:41] local.INFO: Extracted packet for processing {"connection_id":176844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08532"} 
[2026-09-09 13:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119500664,"longitude_deg":75.6774976,"latitude_deg":11.9500664,"altitude":63,"angle":66,"satellites":38,"speed":8,"hex_longitude":"2d1b7840","hex_latitude":"071f6f78","is_valid_coordinates":true} 
[2026-09-09 13:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968912896001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18875728430891008,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979120960588947456,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788941067000,"timestamp_ms":1788941067000,"timestamp_seconds":1788941067,"priority":1,"record_length":96,"hex_timestamp":"000001a0853262f8"} 
[2026-09-09 13:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-09 13:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:35:41] 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-09-09 13:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968912896001,"66":14396,"101":206,"83":41984,"24":8,"16":18875728430891008,"45":1979120960588947456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 13:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968912896001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:35:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 13:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18875728430891008,"km_value":18875728430891.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979120960588947456,"description":"Unknown IO ID 45"} 
[2026-09-09 13:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968912896001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1979120960588947456}} 
[2026-09-09 13:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":176844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:35:41] local.INFO: GPS data processed {"connection_id":176844,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:35:41] local.INFO: Acknowledgment sent {"connection_id":176844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:35:43] local.INFO: TCP Data received {"connection_id":175689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:35:43] local.INFO: Processing buffer {"connection_id":175689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:35:43] local.INFO: IMEI packet received {"connection_id":175689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":175689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:35:44] local.INFO: TCP Data received {"connection_id":175689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:35:44] local.INFO: Processing buffer {"connection_id":175689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:35:44] local.INFO: Packet analysis {"connection_id":175689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:35:44] local.INFO: Extracted packet for processing {"connection_id":175689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 13:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":175689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:35:44] local.INFO: GPS data processed {"connection_id":175689,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:35:44] local.INFO: Acknowledgment sent {"connection_id":175689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:35:45] local.INFO: TCP Data received {"connection_id":176844,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a085326eb0012d1b7a40071f70880040003525..."} 
[2026-09-09 13:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085326eb0012d1b7a40071f70880040003525..."} 
[2026-09-09 13:35:45] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085326eb0012d1b7a40071f70880040003525..."} 
[2026-09-09 13:35:45] local.INFO: Packet analysis {"connection_id":176844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08532"} 
[2026-09-09 13:35:45] local.INFO: Extracted packet for processing {"connection_id":176844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08532"} 
[2026-09-09 13:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756775488,"raw_latitude":119500936,"longitude_deg":75.6775488,"latitude_deg":11.9500936,"altitude":64,"angle":53,"satellites":37,"speed":7,"hex_longitude":"2d1b7a40","hex_latitude":"071f7088","is_valid_coordinates":true} 
[2026-09-09 13:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968913152001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18875758495662080,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435565680640,"note":"Value kept but may cause issues"} 
[2026-09-09 13:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788941070000,"timestamp_ms":1788941070000,"timestamp_seconds":1788941070,"priority":1,"record_length":96,"hex_timestamp":"000001a085326eb0"} 
[2026-09-09 13:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 13:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:35:45] 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-09-09 13:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968913152001,"66":14048,"101":206,"83":41984,"24":7,"16":18875758495662080,"45":1979402435565680640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 13:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968913152001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:35:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 13:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18875758495662080,"km_value":18875758495662.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435565680640,"description":"Unknown IO ID 45"} 
[2026-09-09 13:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968913152001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1979402435565680640}} 
[2026-09-09 13:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":176844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:35:46] local.INFO: GPS data processed {"connection_id":176844,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:35:46] local.INFO: Acknowledgment sent {"connection_id":176844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:35:47] local.INFO: TCP Data received {"connection_id":178267,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:35:47] local.INFO: Processing buffer {"connection_id":178267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:35:47] local.INFO: IMEI packet received {"connection_id":178267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":178267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:36:19] local.INFO: TCP Data received {"connection_id":175689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:36:19] local.INFO: Processing buffer {"connection_id":175689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:36:19] local.INFO: Packet analysis {"connection_id":175689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:36:19] local.INFO: Extracted packet for processing {"connection_id":175689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 13:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:36:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":175689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:36:19] local.INFO: GPS data processed {"connection_id":175689,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:36:19] local.INFO: Acknowledgment sent {"connection_id":175689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:36:38] local.INFO: TCP Data received {"connection_id":178268,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:36:38] local.INFO: Processing buffer {"connection_id":178268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:36:38] local.INFO: IMEI packet received {"connection_id":178268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":178268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:36:44] local.INFO: TCP Data received {"connection_id":178268,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:36:44] local.INFO: Processing buffer {"connection_id":178268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:36:44] local.INFO: IMEI packet received {"connection_id":178268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":178268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:36:46] local.INFO: TCP Data received {"connection_id":178268,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:36:46] local.INFO: Processing buffer {"connection_id":178268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0852f74f8012d34c48006aa4990000d008d23..."} 
[2026-09-09 13:36:46] local.INFO: Packet analysis {"connection_id":178268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:36:46] local.INFO: Extracted packet for processing {"connection_id":178268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0852f"} 
[2026-09-09 13:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":13,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968786944001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788940875000,"timestamp_ms":1788940875000,"timestamp_seconds":1788940875,"priority":1,"record_length":96,"hex_timestamp":"000001a0852f74f8"} 
[2026-09-09 13:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 13:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968786944001,"66":25756,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968786944001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968786944001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":178268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:36:46] local.INFO: GPS data processed {"connection_id":178268,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:36:46] local.INFO: Acknowledgment sent {"connection_id":178268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:37:17] local.INFO: TCP Data received {"connection_id":178268,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:37:17] local.INFO: Processing buffer {"connection_id":178268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:37:17] local.INFO: Packet analysis {"connection_id":178268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:37:17] local.INFO: Extracted packet for processing {"connection_id":178268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:37: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-09-09 13:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":178268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:37:17] local.INFO: GPS data processed {"connection_id":178268,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:37:17] local.INFO: Acknowledgment sent {"connection_id":178268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:37:39] local.INFO: TCP Data received {"connection_id":175691,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:37:39] local.INFO: Processing buffer {"connection_id":175691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:37:39] local.INFO: IMEI packet received {"connection_id":175691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":175691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:37:43] local.INFO: TCP Data received {"connection_id":175691,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:37:43] local.INFO: Processing buffer {"connection_id":175691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:37:43] local.INFO: IMEI packet received {"connection_id":175691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":175691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:37:44] local.INFO: TCP Data received {"connection_id":175691,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:37:44] local.INFO: Processing buffer {"connection_id":175691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:37:44] local.INFO: Packet analysis {"connection_id":175691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:37:44] local.INFO: Extracted packet for processing {"connection_id":175691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:37: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-09-09 13:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:37:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":175691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:37:44] local.INFO: GPS data processed {"connection_id":175691,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:37:44] local.INFO: Acknowledgment sent {"connection_id":175691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:38:15] local.INFO: TCP Data received {"connection_id":175691,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:38:15] local.INFO: Processing buffer {"connection_id":175691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:38:15] local.INFO: Packet analysis {"connection_id":175691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:38:15] local.INFO: Extracted packet for processing {"connection_id":175691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":175691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:38:15] local.INFO: GPS data processed {"connection_id":175691,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:38:15] local.INFO: Acknowledgment sent {"connection_id":175691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:38:39] local.INFO: TCP Data received {"connection_id":176845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:38:39] local.INFO: Processing buffer {"connection_id":176845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:38:39] local.INFO: IMEI packet received {"connection_id":176845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":176845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:38:44] local.INFO: TCP Data received {"connection_id":176845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:38:44] local.INFO: Processing buffer {"connection_id":176845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:38:44] local.INFO: IMEI packet received {"connection_id":176845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":176845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:38:45] local.INFO: TCP Data received {"connection_id":176845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:38:45] local.INFO: Processing buffer {"connection_id":176845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:38:45] local.INFO: Packet analysis {"connection_id":176845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:38:45] local.INFO: Extracted packet for processing {"connection_id":176845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:38:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":176845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:38:45] local.INFO: GPS data processed {"connection_id":176845,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:38:45] local.INFO: Acknowledgment sent {"connection_id":176845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:39:16] local.INFO: TCP Data received {"connection_id":176845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:39:16] local.INFO: Processing buffer {"connection_id":176845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:39:16] local.INFO: Packet analysis {"connection_id":176845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:39:16] local.INFO: Extracted packet for processing {"connection_id":176845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:39:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":176845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:39:16] local.INFO: GPS data processed {"connection_id":176845,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:39:16] local.INFO: Acknowledgment sent {"connection_id":176845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:39:38] local.INFO: TCP Data received {"connection_id":175692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:39:38] local.INFO: Processing buffer {"connection_id":175692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:39:38] local.INFO: IMEI packet received {"connection_id":175692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":175692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:39:43] local.INFO: TCP Data received {"connection_id":175692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:39:43] local.INFO: Processing buffer {"connection_id":175692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:39:43] local.INFO: IMEI packet received {"connection_id":175692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":175692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:39:44] local.INFO: TCP Data received {"connection_id":175692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:39:44] local.INFO: Processing buffer {"connection_id":175692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:39:44] local.INFO: Packet analysis {"connection_id":175692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:39:44] local.INFO: Extracted packet for processing {"connection_id":175692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":175692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:39:44] local.INFO: GPS data processed {"connection_id":175692,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:39:44] local.INFO: Acknowledgment sent {"connection_id":175692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:40:16] local.INFO: TCP Data received {"connection_id":175692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:40:16] local.INFO: Processing buffer {"connection_id":175692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:40:16] local.INFO: Packet analysis {"connection_id":175692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:40:16] local.INFO: Extracted packet for processing {"connection_id":175692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":175692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:40:16] local.INFO: GPS data processed {"connection_id":175692,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:40:16] local.INFO: Acknowledgment sent {"connection_id":175692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:40:38] local.INFO: TCP Data received {"connection_id":176848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:40:38] local.INFO: Processing buffer {"connection_id":176848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:40:38] local.INFO: IMEI packet received {"connection_id":176848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":176848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:40:44] local.INFO: TCP Data received {"connection_id":176848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:40:44] local.INFO: Processing buffer {"connection_id":176848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:40:44] local.INFO: IMEI packet received {"connection_id":176848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":176848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:40:45] local.INFO: TCP Data received {"connection_id":176848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:40:45] local.INFO: Processing buffer {"connection_id":176848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:40:45] local.INFO: Packet analysis {"connection_id":176848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:40:45] local.INFO: Extracted packet for processing {"connection_id":176848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:40:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":176848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:40:45] local.INFO: GPS data processed {"connection_id":176848,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:40:45] local.INFO: Acknowledgment sent {"connection_id":176848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:41:14] local.INFO: TCP Data received {"connection_id":176849,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:41:14] local.INFO: Processing buffer {"connection_id":176849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:41:14] local.INFO: IMEI packet received {"connection_id":176849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":176849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:41:16] local.INFO: TCP Data received {"connection_id":176848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:41:16] local.INFO: Processing buffer {"connection_id":176848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:41:16] local.INFO: Packet analysis {"connection_id":176848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:41:16] local.INFO: Extracted packet for processing {"connection_id":176848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":176848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:41:16] local.INFO: GPS data processed {"connection_id":176848,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:41:16] local.INFO: Acknowledgment sent {"connection_id":176848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:41:38] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:41:38] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:41:38] local.INFO: IMEI packet received {"connection_id":175467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":175467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:41:43] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:41:43] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:41:43] local.INFO: IMEI packet received {"connection_id":175467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":175467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:41:44] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:41:44] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085340cc0012d34c48006aa4990000f008d27..."} 
[2026-09-09 13:41:44] local.INFO: Packet analysis {"connection_id":175467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:41:44] local.INFO: Extracted packet for processing {"connection_id":175467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08534"} 
[2026-09-09 13:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":15,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968864000001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788941176000,"timestamp_ms":1788941176000,"timestamp_seconds":1788941176,"priority":1,"record_length":96,"hex_timestamp":"000001a085340cc0"} 
[2026-09-09 13:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 13:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968864000001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968864000001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968864000001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":175467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:41:44] local.INFO: GPS data processed {"connection_id":175467,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:41:44] local.INFO: Acknowledgment sent {"connection_id":175467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:41:46] local.INFO: TCP Data received {"connection_id":175693,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:41:46] local.INFO: Processing buffer {"connection_id":175693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:41:46] local.INFO: IMEI packet received {"connection_id":175693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":175693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:42:15] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:42:15] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:42:15] local.INFO: Packet analysis {"connection_id":175467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:42:15] local.INFO: Extracted packet for processing {"connection_id":175467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":175467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:42:15] local.INFO: GPS data processed {"connection_id":175467,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:42:15] local.INFO: Acknowledgment sent {"connection_id":175467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:42:40] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:42:40] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:42:40] local.INFO: IMEI packet received {"connection_id":175694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":175694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:42:44] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:42:44] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:42:44] local.INFO: IMEI packet received {"connection_id":175694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":175694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:42:45] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:42:45] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:42:45] local.INFO: Packet analysis {"connection_id":175694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:42:45] local.INFO: Extracted packet for processing {"connection_id":175694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:42:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":175694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:42:45] local.INFO: GPS data processed {"connection_id":175694,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:42:45] local.INFO: Acknowledgment sent {"connection_id":175694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:43:16] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:43:16] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:43:16] local.INFO: Packet analysis {"connection_id":175694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:43:16] local.INFO: Extracted packet for processing {"connection_id":175694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":175694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:43:16] local.INFO: GPS data processed {"connection_id":175694,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:43:16] local.INFO: Acknowledgment sent {"connection_id":175694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:43:38] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:43:38] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:43:38] local.INFO: IMEI packet received {"connection_id":175695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":175695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:43:43] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:43:43] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:43:43] local.INFO: IMEI packet received {"connection_id":175695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":175695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:43:44] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:43:44] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:43:44] local.INFO: Packet analysis {"connection_id":175695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:43:44] local.INFO: Extracted packet for processing {"connection_id":175695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":175695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:43:44] local.INFO: GPS data processed {"connection_id":175695,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:43:44] local.INFO: Acknowledgment sent {"connection_id":175695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:44:15] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:44:15] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:44:15] local.INFO: Packet analysis {"connection_id":175695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:44:15] local.INFO: Extracted packet for processing {"connection_id":175695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":175695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:44:16] local.INFO: GPS data processed {"connection_id":175695,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:44:16] local.INFO: Acknowledgment sent {"connection_id":175695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:44:38] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:44:38] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:44:38] local.INFO: IMEI packet received {"connection_id":175696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":175696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:44:44] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:44:44] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:44:44] local.INFO: IMEI packet received {"connection_id":175696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":175696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:44:45] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:44:45] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:44:45] local.INFO: Packet analysis {"connection_id":175696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:44:45] local.INFO: Extracted packet for processing {"connection_id":175696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":175696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:44:45] local.INFO: GPS data processed {"connection_id":175696,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:44:45] local.INFO: Acknowledgment sent {"connection_id":175696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:45:16] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:45:16] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:45:16] local.INFO: Packet analysis {"connection_id":175696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:45:16] local.INFO: Extracted packet for processing {"connection_id":175696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":175696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:45:16] local.INFO: GPS data processed {"connection_id":175696,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:45:16] local.INFO: Acknowledgment sent {"connection_id":175696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:45:44] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:45:44] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:45:44] local.INFO: IMEI packet received {"connection_id":175697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":175697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:45:49] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:45:49] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:45:49] local.INFO: IMEI packet received {"connection_id":175697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":175697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:45:50] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:45:50] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:45:50] local.INFO: Packet analysis {"connection_id":175697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:45:50] local.INFO: Extracted packet for processing {"connection_id":175697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:45:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:45:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:45:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":175697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:45:50] local.INFO: GPS data processed {"connection_id":175697,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:45:50] local.INFO: Acknowledgment sent {"connection_id":175697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:45:54] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:45:54] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:45:54] local.INFO: Packet analysis {"connection_id":175697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:45:54] local.INFO: Extracted packet for processing {"connection_id":175697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:45:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:45:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":175697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:45:54] local.INFO: GPS data processed {"connection_id":175697,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:45:54] local.INFO: Acknowledgment sent {"connection_id":175697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:46:39] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:46:39] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:46:39] local.INFO: IMEI packet received {"connection_id":175468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":175468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:46:44] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:46:44] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:46:44] local.INFO: IMEI packet received {"connection_id":175468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":175468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:46:45] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:46:45] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08538a488012d34c48006aa49900001008d27..."} 
[2026-09-09 13:46:45] local.INFO: Packet analysis {"connection_id":175468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:46:45] local.INFO: Extracted packet for processing {"connection_id":175468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08538"} 
[2026-09-09 13:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":1,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457968941056001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788941477000,"timestamp_ms":1788941477000,"timestamp_seconds":1788941477,"priority":1,"record_length":96,"hex_timestamp":"000001a08538a488"} 
[2026-09-09 13:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457968941056001,"66":25712,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457968941056001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457968941056001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":175468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:46:45] local.INFO: GPS data processed {"connection_id":175468,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:46:45] local.INFO: Acknowledgment sent {"connection_id":175468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:47:16] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:47:16] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:47:16] local.INFO: Packet analysis {"connection_id":175468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:47:16] local.INFO: Extracted packet for processing {"connection_id":175468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":175468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:47:16] local.INFO: GPS data processed {"connection_id":175468,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:47:16] local.INFO: Acknowledgment sent {"connection_id":175468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:47:38] local.INFO: TCP Data received {"connection_id":176851,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:47:38] local.INFO: Processing buffer {"connection_id":176851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:47:38] local.INFO: IMEI packet received {"connection_id":176851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":176851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:47:43] local.INFO: TCP Data received {"connection_id":176851,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:47:43] local.INFO: Processing buffer {"connection_id":176851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:47:43] local.INFO: IMEI packet received {"connection_id":176851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":176851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:47:44] local.INFO: TCP Data received {"connection_id":176851,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:47:44] local.INFO: Processing buffer {"connection_id":176851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:47:44] local.INFO: Packet analysis {"connection_id":176851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:47:44] local.INFO: Extracted packet for processing {"connection_id":176851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":176851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:47:44] local.INFO: GPS data processed {"connection_id":176851,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:47:44] local.INFO: Acknowledgment sent {"connection_id":176851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:48:16] local.INFO: TCP Data received {"connection_id":176851,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:48:16] local.INFO: Processing buffer {"connection_id":176851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:48:16] local.INFO: Packet analysis {"connection_id":176851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:48:16] local.INFO: Extracted packet for processing {"connection_id":176851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":176851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:48:16] local.INFO: GPS data processed {"connection_id":176851,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:48:16] local.INFO: Acknowledgment sent {"connection_id":176851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:48:38] local.INFO: TCP Data received {"connection_id":178270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:48:38] local.INFO: Processing buffer {"connection_id":178270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:48:38] local.INFO: IMEI packet received {"connection_id":178270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":178270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:48:44] local.INFO: TCP Data received {"connection_id":178270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:48:44] local.INFO: Processing buffer {"connection_id":178270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:48:44] local.INFO: IMEI packet received {"connection_id":178270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":178270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:48:44] local.INFO: TCP Data received {"connection_id":178270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:48:44] local.INFO: Processing buffer {"connection_id":178270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:48:44] local.INFO: Packet analysis {"connection_id":178270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:48:44] local.INFO: Extracted packet for processing {"connection_id":178270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":178270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:48:45] local.INFO: GPS data processed {"connection_id":178270,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:48:45] local.INFO: Acknowledgment sent {"connection_id":178270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:49:17] local.INFO: TCP Data received {"connection_id":178270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:49:17] local.INFO: Processing buffer {"connection_id":178270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:49:17] local.INFO: Packet analysis {"connection_id":178270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:49:17] local.INFO: Extracted packet for processing {"connection_id":178270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:49:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":178270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:49:17] local.INFO: GPS data processed {"connection_id":178270,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:49:17] local.INFO: Acknowledgment sent {"connection_id":178270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:49:43] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:49:43] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:49:43] local.INFO: IMEI packet received {"connection_id":176852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":176852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:49:49] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:49:49] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:49:49] local.INFO: IMEI packet received {"connection_id":176852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":176852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:49:49] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:49:49] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:49:49] local.INFO: Packet analysis {"connection_id":176852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:49:49] local.INFO: Extracted packet for processing {"connection_id":176852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":176852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:49:50] local.INFO: GPS data processed {"connection_id":176852,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:49:50] local.INFO: Acknowledgment sent {"connection_id":176852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:49:54] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:49:54] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:49:54] local.INFO: Packet analysis {"connection_id":176852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:49:54] local.INFO: Extracted packet for processing {"connection_id":176852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:49:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:49:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":176852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:49:54] local.INFO: GPS data processed {"connection_id":176852,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:49:54] local.INFO: Acknowledgment sent {"connection_id":176852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:50:16] local.INFO: TCP Data received {"connection_id":175698,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:16] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:16] local.INFO: IMEI packet received {"connection_id":175698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":175698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:50:21] local.INFO: TCP Data received {"connection_id":175698,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:21] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:21] local.INFO: IMEI packet received {"connection_id":175698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":175698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:50:24] local.INFO: TCP Data received {"connection_id":175698,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a0853e4dc0012c4acd0009e280c0022c00a430..."} 
[2026-09-09 13:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853e4dc0012c4acd0009e280c0022c00a430..."} 
[2026-09-09 13:50:24] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853e4dc0012c4acd0009e280c0022c00a430..."} 
[2026-09-09 13:50:24] local.INFO: Packet analysis {"connection_id":175698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853e"} 
[2026-09-09 13:50:24] local.INFO: Extracted packet for processing {"connection_id":175698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853e"} 
[2026-09-09 13:50:24] local.INFO: GPS Element Parsed {"raw_longitude":743099648,"raw_latitude":165839040,"longitude_deg":74.3099648,"latitude_deg":16.583904,"altitude":556,"angle":164,"satellites":48,"speed":43,"hex_longitude":"2c4acd00","hex_latitude":"09e280c0","is_valid_coordinates":true} 
[2026-09-09 13:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,156,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 13:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788941848000,"timestamp_ms":1788941848000,"timestamp_seconds":1788941848,"priority":1,"record_length":96,"hex_timestamp":"000001a0853e4dc0"} 
[2026-09-09 13:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 13:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28082,"156":206,"9":8448,"24":43,"16":3893516702842880},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16]} 
[2026-09-09 13:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 13:50:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 13:50:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 13:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:50:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28082,"unknown_156":206,"unknown_9":8448,"ignition":43,"odometer":null}} 
[2026-09-09 13:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":175698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:50:24] local.INFO: GPS data processed {"connection_id":175698,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:50:24] local.INFO: Acknowledgment sent {"connection_id":175698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:50:39] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:50:39] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:50:39] local.INFO: IMEI packet received {"connection_id":175469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":175469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:50:44] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:50:44] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:50:44] local.INFO: IMEI packet received {"connection_id":175469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":175469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:50:45] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:50:45] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:50:45] local.INFO: Packet analysis {"connection_id":175469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:50:45] local.INFO: Extracted packet for processing {"connection_id":175469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":175469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:50:45] local.INFO: GPS data processed {"connection_id":175469,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:50:45] local.INFO: Acknowledgment sent {"connection_id":175469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:50:49] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:50:49] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:50:49] local.INFO: Packet analysis {"connection_id":175469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:50:49] local.INFO: Extracted packet for processing {"connection_id":175469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":175469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:50:50] local.INFO: GPS data processed {"connection_id":175469,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:50:50] local.INFO: Acknowledgment sent {"connection_id":175469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:50:51] local.INFO: TCP Data received {"connection_id":175699,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:51] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:51] local.INFO: IMEI packet received {"connection_id":175699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":175699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:50:57] local.INFO: TCP Data received {"connection_id":175699,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:57] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:50:57] local.INFO: IMEI packet received {"connection_id":175699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":175699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:50:58] local.INFO: TCP Data received {"connection_id":175699,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a0853e9410012c4af1c009e22ca0022300902d..."} 
[2026-09-09 13:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853e9410012c4af1c009e22ca0022300902d..."} 
[2026-09-09 13:50:58] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853e9410012c4af1c009e22ca0022300902d..."} 
[2026-09-09 13:50:58] local.INFO: Packet analysis {"connection_id":175699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853e"} 
[2026-09-09 13:50:58] local.INFO: Extracted packet for processing {"connection_id":175699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853e"} 
[2026-09-09 13:50:58] local.INFO: GPS Element Parsed {"raw_longitude":743109056,"raw_latitude":165817504,"longitude_deg":74.3109056,"latitude_deg":16.5817504,"altitude":547,"angle":144,"satellites":45,"speed":58,"hex_longitude":"2c4af1c0","hex_latitude":"09e22ca0","is_valid_coordinates":true} 
[2026-09-09 13:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969113088001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5389964371487145986,"note":"Value kept but may cause issues"} 
[2026-09-09 13:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788941866000,"timestamp_ms":1788941866000,"timestamp_seconds":1788941866,"priority":1,"record_length":96,"hex_timestamp":"000001a0853e9410"} 
[2026-09-09 13:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:50: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-09-09 13: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 13:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969113088001,"66":28126,"156":206,"9":8448,"24":58,"16":3893516702842880,"44":5389964371487145986},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-09-09 13:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969113088001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:50:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 13:50:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 13:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:50:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":5389964371487145986,"description":"Unknown IO ID 44"} 
[2026-09-09 13:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969113088001,"power":28126,"unknown_156":206,"unknown_9":8448,"ignition":58,"odometer":null,"unknown_44":5389964371487145986}} 
[2026-09-09 13:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":175699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:50:58] local.INFO: GPS data processed {"connection_id":175699,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:50:58] local.INFO: Acknowledgment sent {"connection_id":175699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:51:21] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:51:21] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:51:21] local.INFO: Packet analysis {"connection_id":175469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:51:21] local.INFO: Extracted packet for processing {"connection_id":175469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:51:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":175469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:51:21] local.INFO: GPS data processed {"connection_id":175469,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:51:21] local.INFO: Acknowledgment sent {"connection_id":175469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:51:39] local.INFO: TCP Data received {"connection_id":178271,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:51:39] local.INFO: Processing buffer {"connection_id":178271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:51:39] local.INFO: IMEI packet received {"connection_id":178271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":178271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:51:41] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:51:41] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:51:41] local.INFO: IMEI packet received {"connection_id":176853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":176853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:51:42] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:51:42] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:51:42] local.INFO: IMEI packet received {"connection_id":176853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":176853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:51:43] local.INFO: TCP Data received {"connection_id":178271,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:51:43] local.INFO: Processing buffer {"connection_id":178271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:51:43] local.INFO: IMEI packet received {"connection_id":178271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":178271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:51:44] local.INFO: TCP Data received {"connection_id":178271,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:51:44] local.INFO: Processing buffer {"connection_id":178271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853d3c50012d34c48006aa4990000c008d23..."} 
[2026-09-09 13:51:44] local.INFO: Packet analysis {"connection_id":178271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:51:44] local.INFO: Extracted packet for processing {"connection_id":178271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853d"} 
[2026-09-09 13:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":12,"angle":141,"satellites":35,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969018112001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788941778000,"timestamp_ms":1788941778000,"timestamp_seconds":1788941778,"priority":1,"record_length":96,"hex_timestamp":"000001a0853d3c50"} 
[2026-09-09 13:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 13:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969018112001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969018112001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969018112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":178271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:51:44] local.INFO: GPS data processed {"connection_id":178271,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:51:44] local.INFO: Acknowledgment sent {"connection_id":178271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:51:47] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:51:47] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:51:47] local.INFO: IMEI packet received {"connection_id":176853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":176853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:51:48] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a0853ed290012c4b218009e1e4d0022200a030..."} 
[2026-09-09 13:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853ed290012c4b218009e1e4d0022200a030..."} 
[2026-09-09 13:51:48] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853ed290012c4b218009e1e4d0022200a030..."} 
[2026-09-09 13:51:48] local.INFO: Packet analysis {"connection_id":176853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853e"} 
[2026-09-09 13:51:48] local.INFO: Extracted packet for processing {"connection_id":176853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853e"} 
[2026-09-09 13:51:48] local.INFO: GPS Element Parsed {"raw_longitude":743121280,"raw_latitude":165799120,"longitude_deg":74.312128,"latitude_deg":16.579912,"altitude":546,"angle":160,"satellites":48,"speed":55,"hex_longitude":"2c4b2180","hex_latitude":"09e1e4d0","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969117696001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5400308576875749378,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788941882000,"timestamp_ms":1788941882000,"timestamp_seconds":1788941882,"priority":1,"record_length":96,"hex_timestamp":"000001a0853ed290"} 
[2026-09-09 13:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-09 13:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969117696001,"66":28202,"156":206,"9":8448,"24":55,"16":3893516702842880,"44":5400308576875749378},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-09-09 13:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969117696001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:51:48] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 13:51:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 13:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:51:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":5400308576875749378,"description":"Unknown IO ID 44"} 
[2026-09-09 13:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969117696001,"power":28202,"unknown_156":206,"unknown_9":8448,"ignition":55,"odometer":null,"unknown_44":5400308576875749378}} 
[2026-09-09 13:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":176853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:51:48] local.INFO: GPS data processed {"connection_id":176853,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:51:48] local.INFO: Acknowledgment sent {"connection_id":176853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:51:52] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a0853f1110012c4b2b8009e19430022700b030..."} 
[2026-09-09 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853f1110012c4b2b8009e19430022700b030..."} 
[2026-09-09 13:51:52] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853f1110012c4b2b8009e19430022700b030..."} 
[2026-09-09 13:51:52] local.INFO: Packet analysis {"connection_id":176853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853f"} 
[2026-09-09 13:51:52] local.INFO: Extracted packet for processing {"connection_id":176853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853f"} 
[2026-09-09 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":743123840,"raw_latitude":165778480,"longitude_deg":74.312384,"latitude_deg":16.577848,"altitude":551,"angle":176,"satellites":48,"speed":50,"hex_longitude":"2c4b2b80","hex_latitude":"09e19430","is_valid_coordinates":true} 
[2026-09-09 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969121792001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5413749007008976898,"note":"Value kept but may cause issues"} 
[2026-09-09 13:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788941898000,"timestamp_ms":1788941898000,"timestamp_seconds":1788941898,"priority":1,"record_length":96,"hex_timestamp":"000001a0853f1110"} 
[2026-09-09 13:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-09 13:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969121792001,"66":27995,"156":206,"9":8448,"24":50,"16":3893516702842880,"44":5413749007008976898},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-09-09 13:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969121792001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:51:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 13:51:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 13:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":5413749007008976898,"description":"Unknown IO ID 44"} 
[2026-09-09 13:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969121792001,"power":27995,"unknown_156":206,"unknown_9":8448,"ignition":50,"odometer":null,"unknown_44":5413749007008976898}} 
[2026-09-09 13:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":176853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:51:52] local.INFO: GPS data processed {"connection_id":176853,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:51:52] local.INFO: Acknowledgment sent {"connection_id":176853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:52:16] local.INFO: TCP Data received {"connection_id":178271,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:52:16] local.INFO: Processing buffer {"connection_id":178271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:52:16] local.INFO: Packet analysis {"connection_id":178271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:52:16] local.INFO: Extracted packet for processing {"connection_id":178271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":178271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:52:16] local.INFO: GPS data processed {"connection_id":178271,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:52:16] local.INFO: Acknowledgment sent {"connection_id":178271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:52:25] local.INFO: TCP Data received {"connection_id":176853,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a0853f6318012c4b320009e13af0022400ae30..."} 
[2026-09-09 13:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853f6318012c4b320009e13af0022400ae30..."} 
[2026-09-09 13:52:25] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853f6318012c4b320009e13af0022400ae30..."} 
[2026-09-09 13:52:25] local.INFO: Packet analysis {"connection_id":176853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853f"} 
[2026-09-09 13:52:25] local.INFO: Extracted packet for processing {"connection_id":176853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853f"} 
[2026-09-09 13:52:25] local.INFO: GPS Element Parsed {"raw_longitude":743125504,"raw_latitude":165755632,"longitude_deg":74.3125504,"latitude_deg":16.5755632,"altitude":548,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2c4b3200","hex_latitude":"09e13af0","is_valid_coordinates":true} 
[2026-09-09 13:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969125888001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5416563756770799618,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788941919000,"timestamp_ms":1788941919000,"timestamp_seconds":1788941919,"priority":1,"record_length":96,"hex_timestamp":"000001a0853f6318"} 
[2026-09-09 13:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 13:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969125888001,"66":28224,"156":206,"9":8448,"24":0,"16":3893516702842880,"44":5416563756770799618},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,9,24,16,44]} 
[2026-09-09 13:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969125888001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:52:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 13:52:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 13:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5416563756770799618,"description":"Unknown IO ID 44"} 
[2026-09-09 13:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969125888001,"power":28224,"unknown_156":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5416563756770799618}} 
[2026-09-09 13:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":176853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:52:25] local.INFO: GPS data processed {"connection_id":176853,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:52:25] local.INFO: Acknowledgment sent {"connection_id":176853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:52:38] local.INFO: TCP Data received {"connection_id":176854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:52:38] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:52:38] local.INFO: IMEI packet received {"connection_id":176854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":176854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:52:43] local.INFO: TCP Data received {"connection_id":176855,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:52:43] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:52:43] local.INFO: IMEI packet received {"connection_id":176855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":176855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:52:44] local.INFO: TCP Data received {"connection_id":176854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:52:44] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:52:44] local.INFO: IMEI packet received {"connection_id":176854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":176854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:52:44] local.INFO: TCP Data received {"connection_id":176855,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:52:44] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:52:44] local.INFO: IMEI packet received {"connection_id":176855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":176855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:52:45] local.INFO: TCP Data received {"connection_id":176854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:52:45] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:52:45] local.INFO: Packet analysis {"connection_id":176854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:52:45] local.INFO: Extracted packet for processing {"connection_id":176854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":176854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:52:45] local.INFO: GPS data processed {"connection_id":176854,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:52:45] local.INFO: Acknowledgment sent {"connection_id":176854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:52:46] local.INFO: TCP Data received {"connection_id":176855,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:52:46] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:52:46] local.INFO: IMEI packet received {"connection_id":176855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":176855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:52:48] local.INFO: TCP Data received {"connection_id":176855,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a0853f8e10012c4b49c009e0e3a00222009f2f..."} 
[2026-09-09 13:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853f8e10012c4b49c009e0e3a00222009f2f..."} 
[2026-09-09 13:52:48] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853f8e10012c4b49c009e0e3a00222009f2f..."} 
[2026-09-09 13:52:48] local.INFO: Packet analysis {"connection_id":176855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853f"} 
[2026-09-09 13:52:48] local.INFO: Extracted packet for processing {"connection_id":176855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853f"} 
[2026-09-09 13:52:48] local.INFO: GPS Element Parsed {"raw_longitude":743131584,"raw_latitude":165733280,"longitude_deg":74.3131584,"latitude_deg":16.573328,"altitude":546,"angle":159,"satellites":47,"speed":55,"hex_longitude":"2c4b49c0","hex_latitude":"09e0e3a0","is_valid_coordinates":true} 
[2026-09-09 13:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969131264001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5418393344113569794,"note":"Value kept but may cause issues"} 
[2026-09-09 13:52:48] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,44],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-09 13:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788941930000,"timestamp_ms":1788941930000,"timestamp_seconds":1788941930,"priority":1,"record_length":96,"hex_timestamp":"000001a0853f8e10"} 
[2026-09-09 13:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-09 13:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969131264001,"66":28256,"24":55,"16":3893516702842880,"44":5418393344113569794},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,44]} 
[2026-09-09 13:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969131264001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:52:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":5418393344113569794,"description":"Unknown IO ID 44"} 
[2026-09-09 13:52:48] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457969131264001,"power":28256,"ignition":55,"odometer":null,"unknown_44":5418393344113569794}} 
[2026-09-09 13:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":176855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:52:48] local.INFO: GPS data processed {"connection_id":176855,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:52:48] local.INFO: Acknowledgment sent {"connection_id":176855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:53:16] local.INFO: TCP Data received {"connection_id":176854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:53:16] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:53:16] local.INFO: Packet analysis {"connection_id":176854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:53:16] local.INFO: Extracted packet for processing {"connection_id":176854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":176854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:53:16] local.INFO: GPS data processed {"connection_id":176854,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:53:16] local.INFO: Acknowledgment sent {"connection_id":176854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:53:20] local.INFO: TCP Data received {"connection_id":176855,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a0853fe018012c4b698009e092f00222009e2e..."} 
[2026-09-09 13:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0853fe018012c4b698009e092f00222009e2e..."} 
[2026-09-09 13:53:20] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0853fe018012c4b698009e092f00222009e2e..."} 
[2026-09-09 13:53:20] local.INFO: Packet analysis {"connection_id":176855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0853f"} 
[2026-09-09 13:53:20] local.INFO: Extracted packet for processing {"connection_id":176855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0853f"} 
[2026-09-09 13:53:20] local.INFO: GPS Element Parsed {"raw_longitude":743139712,"raw_latitude":165712624,"longitude_deg":74.3139712,"latitude_deg":16.5712624,"altitude":546,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2c4b6980","hex_latitude":"09e092f0","is_valid_coordinates":true} 
[2026-09-09 13:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969134080001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5425078374804725762,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788941951000,"timestamp_ms":1788941951000,"timestamp_seconds":1788941951,"priority":1,"record_length":96,"hex_timestamp":"000001a0853fe018"} 
[2026-09-09 13:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 13:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969134080001,"66":28126,"238":206,"37":22784,"24":0,"16":3893516702842880,"44":5425078374804725762},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969134080001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:53:20] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:53:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":5425078374804725762,"description":"Unknown IO ID 44"} 
[2026-09-09 13:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969134080001,"power":28126,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5425078374804725762}} 
[2026-09-09 13:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":176855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789003,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:53:20] local.INFO: GPS data processed {"connection_id":176855,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:53:20] local.INFO: Acknowledgment sent {"connection_id":176855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:53:38] local.INFO: TCP Data received {"connection_id":178272,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:53:38] local.INFO: Processing buffer {"connection_id":178272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:53:38] local.INFO: IMEI packet received {"connection_id":178272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":178272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:53:43] local.INFO: TCP Data received {"connection_id":178272,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:53:43] local.INFO: Processing buffer {"connection_id":178272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:53:43] local.INFO: IMEI packet received {"connection_id":178272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":178272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:53:44] local.INFO: TCP Data received {"connection_id":175470,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:53:44] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:53:44] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:53:44] local.INFO: TCP Data received {"connection_id":178272,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:53:44] local.INFO: Processing buffer {"connection_id":178272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:53:44] local.INFO: Packet analysis {"connection_id":178272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:53:44] local.INFO: Extracted packet for processing {"connection_id":178272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":178272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:53:44] local.INFO: GPS data processed {"connection_id":178272,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:53:44] local.INFO: Acknowledgment sent {"connection_id":178272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:53:46] local.INFO: TCP Data received {"connection_id":175470,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:53:46] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:53:46] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:53:54] local.INFO: TCP Data received {"connection_id":175470,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:53:54] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:53:54] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:53:55] local.INFO: TCP Data received {"connection_id":175470,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a085406100012c4bbec009dffa40021f009a31..."} 
[2026-09-09 13:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085406100012c4bbec009dffa40021f009a31..."} 
[2026-09-09 13:53:55] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085406100012c4bbec009dffa40021f009a31..."} 
[2026-09-09 13:53:55] local.INFO: Packet analysis {"connection_id":175470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08540"} 
[2026-09-09 13:53:55] local.INFO: Extracted packet for processing {"connection_id":175470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08540"} 
[2026-09-09 13:53:55] local.INFO: GPS Element Parsed {"raw_longitude":743161536,"raw_latitude":165673536,"longitude_deg":74.3161536,"latitude_deg":16.5673536,"altitude":543,"angle":154,"satellites":49,"speed":0,"hex_longitude":"2c4bbec0","hex_latitude":"09dffa40","is_valid_coordinates":true} 
[2026-09-09 13:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969139456001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5434015205310001154,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788941984000,"timestamp_ms":1788941984000,"timestamp_seconds":1788941984,"priority":1,"record_length":96,"hex_timestamp":"000001a085406100"} 
[2026-09-09 13:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-09 13:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969139456001,"66":28202,"238":206,"37":22784,"24":0,"16":3893516702842880,"44":5434015205310001154},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969139456001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:53:55] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:53:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:53:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":5434015205310001154,"description":"Unknown IO ID 44"} 
[2026-09-09 13:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969139456001,"power":28202,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5434015205310001154}} 
[2026-09-09 13:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":175470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:53:55] local.INFO: GPS data processed {"connection_id":175470,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:53:55] local.INFO: Acknowledgment sent {"connection_id":175470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:53:57] local.INFO: TCP Data received {"connection_id":175470,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a08540b308012c4bce4009dfd0f0021c00a231..."} 
[2026-09-09 13:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08540b308012c4bce4009dfd0f0021c00a231..."} 
[2026-09-09 13:53:57] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08540b308012c4bce4009dfd0f0021c00a231..."} 
[2026-09-09 13:53:57] local.INFO: Packet analysis {"connection_id":175470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08540"} 
[2026-09-09 13:53:57] local.INFO: Extracted packet for processing {"connection_id":175470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08540"} 
[2026-09-09 13:53:57] local.INFO: GPS Element Parsed {"raw_longitude":743165504,"raw_latitude":165662960,"longitude_deg":74.3165504,"latitude_deg":16.566296,"altitude":540,"angle":162,"satellites":49,"speed":0,"hex_longitude":"2c4bce40","hex_latitude":"09dfd0f0","is_valid_coordinates":true} 
[2026-09-09 13:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969147904001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5458010947064578050,"note":"Value kept but may cause issues"} 
[2026-09-09 13:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788942005000,"timestamp_ms":1788942005000,"timestamp_seconds":1788942005,"priority":1,"record_length":96,"hex_timestamp":"000001a08540b308"} 
[2026-09-09 13:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-09 13:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969147904001,"66":28300,"238":206,"37":22784,"24":0,"16":3893516702842880,"44":5458010947064578050},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969147904001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:53:57] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:53:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:53:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5458010947064578050,"description":"Unknown IO ID 44"} 
[2026-09-09 13:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969147904001,"power":28300,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5458010947064578050}} 
[2026-09-09 13:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":175470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:53:57] local.INFO: GPS data processed {"connection_id":175470,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:53:57] local.INFO: Acknowledgment sent {"connection_id":175470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:54:16] local.INFO: TCP Data received {"connection_id":178272,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:54:16] local.INFO: Processing buffer {"connection_id":178272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:54:16] local.INFO: Packet analysis {"connection_id":178272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:54:16] local.INFO: Extracted packet for processing {"connection_id":178272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":178272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:54:16] local.INFO: GPS data processed {"connection_id":178272,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:54:16] local.INFO: Acknowledgment sent {"connection_id":178272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:54:41] local.INFO: TCP Data received {"connection_id":175700,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:54:41] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:54:41] local.INFO: IMEI packet received {"connection_id":175700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":175700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:54:44] local.INFO: TCP Data received {"connection_id":178273,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:54:44] local.INFO: Processing buffer {"connection_id":178273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:54:44] local.INFO: IMEI packet received {"connection_id":178273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":178273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:54:49] local.INFO: TCP Data received {"connection_id":178273,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:54:49] local.INFO: Processing buffer {"connection_id":178273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:54:49] local.INFO: IMEI packet received {"connection_id":178273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":178273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:54:50] local.INFO: TCP Data received {"connection_id":178273,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:54:50] local.INFO: Processing buffer {"connection_id":178273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:54:50] local.INFO: Packet analysis {"connection_id":178273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:54:50] local.INFO: Extracted packet for processing {"connection_id":178273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:54:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":178273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:54:50] local.INFO: GPS data processed {"connection_id":178273,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:54:50] local.INFO: Acknowledgment sent {"connection_id":178273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:54:52] local.INFO: TCP Data received {"connection_id":175700,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:54:52] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:54:52] local.INFO: IMEI packet received {"connection_id":175700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":175700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:54:54] local.INFO: TCP Data received {"connection_id":178273,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:54:54] local.INFO: Processing buffer {"connection_id":178273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:54:54] local.INFO: Packet analysis {"connection_id":178273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:54:54] local.INFO: Extracted packet for processing {"connection_id":178273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:54:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":178273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:54:54] local.INFO: GPS data processed {"connection_id":178273,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:54:54] local.INFO: Acknowledgment sent {"connection_id":178273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:54:54] local.INFO: TCP Data received {"connection_id":175700,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a085410510012c4bce4009dfd0f0021c00a231..."} 
[2026-09-09 13:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085410510012c4bce4009dfd0f0021c00a231..."} 
[2026-09-09 13:54:54] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085410510012c4bce4009dfd0f0021c00a231..."} 
[2026-09-09 13:54:54] local.INFO: Packet analysis {"connection_id":175700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:54:54] local.INFO: Extracted packet for processing {"connection_id":175700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":743165504,"raw_latitude":165662960,"longitude_deg":74.3165504,"latitude_deg":16.566296,"altitude":540,"angle":162,"satellites":49,"speed":0,"hex_longitude":"2c4bce40","hex_latitude":"09dfd0f0","is_valid_coordinates":true} 
[2026-09-09 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969153280001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5462373809200885762,"note":"Value kept but may cause issues"} 
[2026-09-09 13:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788942026000,"timestamp_ms":1788942026000,"timestamp_seconds":1788942026,"priority":1,"record_length":96,"hex_timestamp":"000001a085410510"} 
[2026-09-09 13:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 13:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969153280001,"66":28137,"238":206,"37":22784,"24":0,"16":3893516702842880,"44":5462373809200885762},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969153280001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:54:54] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:54:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:54:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":5462373809200885762,"description":"Unknown IO ID 44"} 
[2026-09-09 13:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969153280001,"power":28137,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5462373809200885762}} 
[2026-09-09 13:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":175700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:54:54] local.INFO: GPS data processed {"connection_id":175700,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:54:54] local.INFO: Acknowledgment sent {"connection_id":175700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:55:32] local.INFO: TCP Data received {"connection_id":175700,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a085414778012c4be90009dfb250021e00872f..."} 
[2026-09-09 13:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085414778012c4be90009dfb250021e00872f..."} 
[2026-09-09 13:55:32] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085414778012c4be90009dfb250021e00872f..."} 
[2026-09-09 13:55:32] local.INFO: Packet analysis {"connection_id":175700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:55:32] local.INFO: Extracted packet for processing {"connection_id":175700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:55:32] local.INFO: GPS Element Parsed {"raw_longitude":743172352,"raw_latitude":165655120,"longitude_deg":74.3172352,"latitude_deg":16.565512,"altitude":542,"angle":135,"satellites":47,"speed":5,"hex_longitude":"2c4be900","hex_latitude":"09dfb250","is_valid_coordinates":true} 
[2026-09-09 13:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969158656001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:55:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5462373809200885762,"note":"Value kept but may cause issues"} 
[2026-09-09 13:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788942043000,"timestamp_ms":1788942043000,"timestamp_seconds":1788942043,"priority":1,"record_length":96,"hex_timestamp":"000001a085414778"} 
[2026-09-09 13:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13: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":233,"data_length":795,"current_offset":136} 
[2026-09-09 13:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969158656001,"66":28050,"238":206,"37":22784,"24":5,"16":3893516702842880,"44":5462373809200885762},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969158656001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:55:32] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:55:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:55:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":5462373809200885762,"description":"Unknown IO ID 44"} 
[2026-09-09 13:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969158656001,"power":28050,"unknown_238":206,"unknown_37":22784,"ignition":5,"odometer":null,"unknown_44":5462373809200885762}} 
[2026-09-09 13:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":175700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:55:32] local.INFO: GPS data processed {"connection_id":175700,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:55:32] local.INFO: Acknowledgment sent {"connection_id":175700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:55:39] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:55:39] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:55:39] local.INFO: IMEI packet received {"connection_id":175701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":175701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:55:42] local.INFO: TCP Data received {"connection_id":175471,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:55:42] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:55:42] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:55:43] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:55:43] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:55:43] local.INFO: IMEI packet received {"connection_id":175701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":175701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:55:44] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:55:44] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:55:44] local.INFO: Packet analysis {"connection_id":175701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:55:44] local.INFO: Extracted packet for processing {"connection_id":175701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13: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-09-09 13:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":175701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:55:45] local.INFO: GPS data processed {"connection_id":175701,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:55:45] local.INFO: Acknowledgment sent {"connection_id":175701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:55:46] local.INFO: TCP Data received {"connection_id":175471,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:55:46] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:55:46] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:55:47] local.INFO: TCP Data received {"connection_id":175471,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a085419980012c4be90009dfb250021e00872f..."} 
[2026-09-09 13:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085419980012c4be90009dfb250021e00872f..."} 
[2026-09-09 13:55:47] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085419980012c4be90009dfb250021e00872f..."} 
[2026-09-09 13:55:47] local.INFO: Packet analysis {"connection_id":175471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:55:47] local.INFO: Extracted packet for processing {"connection_id":175471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":743172352,"raw_latitude":165655120,"longitude_deg":74.3172352,"latitude_deg":16.565512,"altitude":542,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2c4be900","hex_latitude":"09dfb250","is_valid_coordinates":true} 
[2026-09-09 13:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969163008001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:55:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5469903264825888770,"note":"Value kept but may cause issues"} 
[2026-09-09 13:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788942064000,"timestamp_ms":1788942064000,"timestamp_seconds":1788942064,"priority":1,"record_length":96,"hex_timestamp":"000001a085419980"} 
[2026-09-09 13:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-09 13:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969163008001,"66":28202,"238":206,"37":22784,"24":0,"16":3893516702842880,"44":5469903264825888770},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969163008001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:55:47] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:55:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:55:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":5469903264825888770,"description":"Unknown IO ID 44"} 
[2026-09-09 13:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969163008001,"power":28202,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5469903264825888770}} 
[2026-09-09 13:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":175471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:55:48] local.INFO: GPS data processed {"connection_id":175471,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:55:48] local.INFO: Acknowledgment sent {"connection_id":175471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:56:17] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:56:17] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:56:17] local.INFO: Packet analysis {"connection_id":175701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:56:17] local.INFO: Extracted packet for processing {"connection_id":175701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":175701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:56:17] local.INFO: GPS data processed {"connection_id":175701,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:56:17] local.INFO: Acknowledgment sent {"connection_id":175701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:56:20] local.INFO: TCP Data received {"connection_id":175471,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a085451038012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085451038012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:56:20] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085451038012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:56:20] local.INFO: Packet analysis {"connection_id":175471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08545"} 
[2026-09-09 13:56:20] local.INFO: Extracted packet for processing {"connection_id":175471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08545"} 
[2026-09-09 13:56:20] local.INFO: GPS Element Parsed {"raw_longitude":743177664,"raw_latitude":165621808,"longitude_deg":74.3177664,"latitude_deg":16.5621808,"altitude":536,"angle":183,"satellites":46,"speed":0,"hex_longitude":"2c4bfdc0","hex_latitude":"09df3030","is_valid_coordinates":true} 
[2026-09-09 13:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969221120001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5475743870584107010,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788942291000,"timestamp_ms":1788942291000,"timestamp_seconds":1788942291,"priority":1,"record_length":96,"hex_timestamp":"000001a085451038"} 
[2026-09-09 13:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-09 13:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969221120001,"66":28300,"238":206,"37":22784,"24":0,"16":3893516702842880,"44":5475743870584107010},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969221120001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:56:20] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:56:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":5475743870584107010,"description":"Unknown IO ID 44"} 
[2026-09-09 13:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969221120001,"power":28300,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5475743870584107010}} 
[2026-09-09 13:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":175471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:56:20] local.INFO: GPS data processed {"connection_id":175471,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:56:20] local.INFO: Acknowledgment sent {"connection_id":175471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:56:39] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:56:39] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:56:39] local.INFO: IMEI packet received {"connection_id":175472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":175472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:56:41] local.INFO: TCP Data received {"connection_id":178274,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:56:41] local.INFO: Processing buffer {"connection_id":178274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:56:41] local.INFO: IMEI packet received {"connection_id":178274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":178274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:56:44] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:56:44] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:56:44] local.INFO: IMEI packet received {"connection_id":175472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":175472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:56:45] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:56:45] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08541d418012d34c48006aa4990000e008d26..."} 
[2026-09-09 13:56:45] local.INFO: Packet analysis {"connection_id":175472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:56:45] local.INFO: Extracted packet for processing {"connection_id":175472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08541"} 
[2026-09-09 13:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":14,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13: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-09-09 13:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969095168001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788942079000,"timestamp_ms":1788942079000,"timestamp_seconds":1788942079,"priority":1,"record_length":96,"hex_timestamp":"000001a08541d418"} 
[2026-09-09 13:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 13:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969095168001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969095168001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:56:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969095168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":175472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:56:45] local.INFO: GPS data processed {"connection_id":175472,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:56:45] local.INFO: Acknowledgment sent {"connection_id":175472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:56:47] local.INFO: TCP Data received {"connection_id":178274,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:56:47] local.INFO: Processing buffer {"connection_id":178274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:56:47] local.INFO: IMEI packet received {"connection_id":178274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":178274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:56:49] local.INFO: TCP Data received {"connection_id":178274,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a085456240012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085456240012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:56:49] local.INFO: Processing buffer {"connection_id":178274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085456240012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:56:49] local.INFO: Packet analysis {"connection_id":178274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08545"} 
[2026-09-09 13:56:49] local.INFO: Extracted packet for processing {"connection_id":178274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08545"} 
[2026-09-09 13:56:49] local.INFO: GPS Element Parsed {"raw_longitude":743177664,"raw_latitude":165621808,"longitude_deg":74.3177664,"latitude_deg":16.5621808,"altitude":536,"angle":183,"satellites":46,"speed":0,"hex_longitude":"2c4bfdc0","hex_latitude":"09df3030","is_valid_coordinates":true} 
[2026-09-09 13:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969226496001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5475743870584107010,"note":"Value kept but may cause issues"} 
[2026-09-09 13:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788942312000,"timestamp_ms":1788942312000,"timestamp_seconds":1788942312,"priority":1,"record_length":96,"hex_timestamp":"000001a085456240"} 
[2026-09-09 13:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 13:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969226496001,"66":28300,"238":206,"37":22784,"24":0,"16":3893516702842880,"44":5475743870584107010},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969226496001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:56:49] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:56:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":5475743870584107010,"description":"Unknown IO ID 44"} 
[2026-09-09 13:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969226496001,"power":28300,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5475743870584107010}} 
[2026-09-09 13:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":178274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:56:49] local.INFO: GPS data processed {"connection_id":178274,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:56:49] local.INFO: Acknowledgment sent {"connection_id":178274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:57:17] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:57:17] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:57:17] local.INFO: Packet analysis {"connection_id":175472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:57:17] local.INFO: Extracted packet for processing {"connection_id":175472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 13:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 13:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":175472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:57:17] local.INFO: GPS data processed {"connection_id":175472,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:57:17] local.INFO: Acknowledgment sent {"connection_id":175472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:57:21] local.INFO: TCP Data received {"connection_id":178274,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a08545b448012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08545b448012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:57:21] local.INFO: Processing buffer {"connection_id":178274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08545b448012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:57:21] local.INFO: Packet analysis {"connection_id":178274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08545"} 
[2026-09-09 13:57:21] local.INFO: Extracted packet for processing {"connection_id":178274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08545"} 
[2026-09-09 13:57:21] local.INFO: GPS Element Parsed {"raw_longitude":743177664,"raw_latitude":165621808,"longitude_deg":74.3177664,"latitude_deg":16.5621808,"altitude":536,"angle":183,"satellites":46,"speed":0,"hex_longitude":"2c4bfdc0","hex_latitude":"09df3030","is_valid_coordinates":true} 
[2026-09-09 13:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969231872001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5475743870584107010,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788942333000,"timestamp_ms":1788942333000,"timestamp_seconds":1788942333,"priority":1,"record_length":96,"hex_timestamp":"000001a08545b448"} 
[2026-09-09 13:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:57: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-09-09 13:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 13:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969231872001,"66":28267,"238":206,"37":22784,"24":0,"16":3893516702842880,"44":5475743870584107010},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969231872001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:57:21] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:57:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":5475743870584107010,"description":"Unknown IO ID 44"} 
[2026-09-09 13:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969231872001,"power":28267,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5475743870584107010}} 
[2026-09-09 13:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":178274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:57:21] local.INFO: GPS data processed {"connection_id":178274,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:57:21] local.INFO: Acknowledgment sent {"connection_id":178274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:57:41] local.INFO: TCP Data received {"connection_id":178275,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:57:41] local.INFO: Processing buffer {"connection_id":178275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:57:41] local.INFO: IMEI packet received {"connection_id":178275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":178275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:57:43] local.INFO: TCP Data received {"connection_id":176856,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:57:43] local.INFO: Processing buffer {"connection_id":176856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:57:43] local.INFO: IMEI packet received {"connection_id":176856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":176856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:57:45] local.INFO: TCP Data received {"connection_id":178275,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:57:45] local.INFO: Processing buffer {"connection_id":178275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:57:45] local.INFO: IMEI packet received {"connection_id":178275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":178275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:57:46] local.INFO: TCP Data received {"connection_id":178275,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:57:46] local.INFO: Processing buffer {"connection_id":178275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:57:46] local.INFO: IMEI packet received {"connection_id":178275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 13:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":178275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:57:48] local.INFO: TCP Data received {"connection_id":178275,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a085460650012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085460650012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:57:48] local.INFO: Processing buffer {"connection_id":178275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085460650012c4bfdc009df3030021800b72e..."} 
[2026-09-09 13:57:48] local.INFO: Packet analysis {"connection_id":178275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:57:48] local.INFO: Extracted packet for processing {"connection_id":178275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:57:48] local.INFO: GPS Element Parsed {"raw_longitude":743177664,"raw_latitude":165621808,"longitude_deg":74.3177664,"latitude_deg":16.5621808,"altitude":536,"angle":183,"satellites":46,"speed":0,"hex_longitude":"2c4bfdc0","hex_latitude":"09df3030","is_valid_coordinates":true} 
[2026-09-09 13:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969237248001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893516702842880,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5475743870584107010,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788942354000,"timestamp_ms":1788942354000,"timestamp_seconds":1788942354,"priority":1,"record_length":96,"hex_timestamp":"000001a085460650"} 
[2026-09-09 13:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 13:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 13:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 13:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 13:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969237248001,"66":28137,"238":206,"37":22784,"24":0,"16":3893516702842880,"44":5475743870584107010},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 13:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 13:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 13:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969237248001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:57:48] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 13:57:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 13:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893516702842880,"km_value":3893516702842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:57:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":5475743870584107010,"description":"Unknown IO ID 44"} 
[2026-09-09 13:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969237248001,"power":28137,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5475743870584107010}} 
[2026-09-09 13:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":178275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:57:48] local.INFO: GPS data processed {"connection_id":178275,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:57:48] local.INFO: Acknowledgment sent {"connection_id":178275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:57:49] local.INFO: TCP Data received {"connection_id":176856,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:57:49] local.INFO: Processing buffer {"connection_id":176856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:57:49] local.INFO: IMEI packet received {"connection_id":176856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":176856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:57:50] local.INFO: TCP Data received {"connection_id":176856,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:57:50] local.INFO: Processing buffer {"connection_id":176856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:57:50] local.INFO: Packet analysis {"connection_id":176856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:57:50] local.INFO: Extracted packet for processing {"connection_id":176856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:57:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 13:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 13:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:57: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-09-09 13:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:57:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":176856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:57:50] local.INFO: GPS data processed {"connection_id":176856,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:57:50] local.INFO: Acknowledgment sent {"connection_id":176856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:57:54] local.INFO: TCP Data received {"connection_id":176856,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:57:54] local.INFO: Processing buffer {"connection_id":176856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:57:54] local.INFO: Packet analysis {"connection_id":176856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:57:54] local.INFO: Extracted packet for processing {"connection_id":176856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 13:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 13:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:57:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":176856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:57:54] local.INFO: GPS data processed {"connection_id":176856,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:57:54] local.INFO: Acknowledgment sent {"connection_id":176856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:58:12] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:12] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:12] local.INFO: IMEI packet received {"connection_id":175702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":175702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:58:39] local.INFO: TCP Data received {"connection_id":175473,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:58:39] local.INFO: Processing buffer {"connection_id":175473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:58:39] local.INFO: IMEI packet received {"connection_id":175473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":175473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:58:39] local.INFO: TCP Data received {"connection_id":176857,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:39] local.INFO: Processing buffer {"connection_id":176857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:39] local.INFO: IMEI packet received {"connection_id":176857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":176857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:58:40] local.INFO: TCP Data received {"connection_id":176857,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:40] local.INFO: Processing buffer {"connection_id":176857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:40] local.INFO: IMEI packet received {"connection_id":176857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":176857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:58:44] local.INFO: TCP Data received {"connection_id":175473,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:58:44] local.INFO: Processing buffer {"connection_id":175473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:58:44] local.INFO: IMEI packet received {"connection_id":175473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":175473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:58:45] local.INFO: TCP Data received {"connection_id":176857,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:45] local.INFO: Processing buffer {"connection_id":176857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:58:45] local.INFO: IMEI packet received {"connection_id":176857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":176857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:58:45] local.INFO: TCP Data received {"connection_id":175473,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:58:45] local.INFO: Processing buffer {"connection_id":175473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:58:45] local.INFO: Packet analysis {"connection_id":175473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:58:45] local.INFO: Extracted packet for processing {"connection_id":175473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 13:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 13:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:58:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":175473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:58:45] local.INFO: GPS data processed {"connection_id":175473,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:58:45] local.INFO: Acknowledgment sent {"connection_id":175473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:58:46] local.INFO: TCP Data received {"connection_id":176857,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085475640012d1b8ac0071f9de8004b009529..."} 
[2026-09-09 13:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085475640012d1b8ac0071f9de8004b009529..."} 
[2026-09-09 13:58:46] local.INFO: Processing buffer {"connection_id":176857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085475640012d1b8ac0071f9de8004b009529..."} 
[2026-09-09 13:58:46] local.INFO: Packet analysis {"connection_id":176857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08547"} 
[2026-09-09 13:58:46] local.INFO: Extracted packet for processing {"connection_id":176857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08547"} 
[2026-09-09 13:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756779712,"raw_latitude":119512552,"longitude_deg":75.6779712,"latitude_deg":11.9512552,"altitude":75,"angle":149,"satellites":41,"speed":7,"hex_longitude":"2d1b8ac0","hex_latitude":"071f9de8","is_valid_coordinates":true} 
[2026-09-09 13:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969263360001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18880345520734208,"note":"Value kept but may cause issues"} 
[2026-09-09 13:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984046772684634112,"note":"Value kept but may cause issues"} 
[2026-09-09 13:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788942440000,"timestamp_ms":1788942440000,"timestamp_seconds":1788942440,"priority":1,"record_length":96,"hex_timestamp":"000001a085475640"} 
[2026-09-09 13:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 13:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 13:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969263360001,"66":14211,"101":206,"83":41984,"24":7,"16":18880345520734208,"45":1984046772684634112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 13:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969263360001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:58:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 13:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18880345520734208,"km_value":18880345520734.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984046772684634112,"description":"Unknown IO ID 45"} 
[2026-09-09 13:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969263360001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1984046772684634112}} 
[2026-09-09 13:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":176857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:58:46] local.INFO: GPS data processed {"connection_id":176857,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:58:46] local.INFO: Acknowledgment sent {"connection_id":176857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:59:17] local.INFO: TCP Data received {"connection_id":175473,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:59:17] local.INFO: Processing buffer {"connection_id":175473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:59:17] local.INFO: Packet analysis {"connection_id":175473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:59:17] local.INFO: Extracted packet for processing {"connection_id":175473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 13:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 13:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:59:17] local.INFO: GPS data processed {"connection_id":175473,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:59:17] local.INFO: Acknowledgment sent {"connection_id":175473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:59:30] local.INFO: TCP Data received {"connection_id":176858,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:30] local.INFO: Processing buffer {"connection_id":176858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:30] local.INFO: IMEI packet received {"connection_id":176858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 13:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":176858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:59:31] local.INFO: TCP Data received {"connection_id":176858,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:31] local.INFO: Processing buffer {"connection_id":176858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:31] local.INFO: IMEI packet received {"connection_id":176858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":176858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:59:33] local.INFO: TCP Data received {"connection_id":176858,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:33] local.INFO: Processing buffer {"connection_id":176858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:33] local.INFO: IMEI packet received {"connection_id":176858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":176858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:59:35] local.INFO: TCP Data received {"connection_id":176858,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:35] local.INFO: Processing buffer {"connection_id":176858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 13:59:35] local.INFO: IMEI packet received {"connection_id":176858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 13:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":176858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:59:36] local.INFO: TCP Data received {"connection_id":176858,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085484488012d1b9540071f79580057010e27..."} 
[2026-09-09 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085484488012d1b9540071f79580057010e27..."} 
[2026-09-09 13:59:36] local.INFO: Processing buffer {"connection_id":176858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085484488012d1b9540071f79580057010e27..."} 
[2026-09-09 13:59:36] local.INFO: Packet analysis {"connection_id":176858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08548"} 
[2026-09-09 13:59:36] local.INFO: Extracted packet for processing {"connection_id":176858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08548"} 
[2026-09-09 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756782400,"raw_latitude":119503192,"longitude_deg":75.67824,"latitude_deg":11.9503192,"altitude":87,"angle":270,"satellites":39,"speed":3,"hex_longitude":"2d1b9540","hex_latitude":"071f7958","is_valid_coordinates":true} 
[2026-09-09 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-09-09 13:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969279744001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18880839441973248,"note":"Value kept but may cause issues"} 
[2026-09-09 13:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987635578635126784,"note":"Value kept but may cause issues"} 
[2026-09-09 13:59: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-09-09 13:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788942501000,"timestamp_ms":1788942501000,"timestamp_seconds":1788942501,"priority":1,"record_length":96,"hex_timestamp":"000001a085484488"} 
[2026-09-09 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-09-09 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-09 13:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 13:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 13:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 13:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 13:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969279744001,"66":14298,"101":206,"83":41984,"24":3,"16":18880839441973248,"45":1987635578635126784},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 13:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 13:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 13:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969279744001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:59:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 13:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 13:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18880839441973248,"km_value":18880839441973.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987635578635126784,"description":"Unknown IO ID 45"} 
[2026-09-09 13:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969279744001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1987635578635126784}} 
[2026-09-09 13:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":176858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:59:36] local.INFO: GPS data processed {"connection_id":176858,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:59:36] local.INFO: Acknowledgment sent {"connection_id":176858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:59:39] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:59:39] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:59:39] local.INFO: IMEI packet received {"connection_id":176859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 13:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":176859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 13:59:43] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:59:43] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:59:43] local.INFO: IMEI packet received {"connection_id":176859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":176859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:59:49] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:59:49] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 13:59:49] local.INFO: IMEI packet received {"connection_id":176859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 13:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":176859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 13:59:50] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:59:50] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 13:59:50] local.INFO: Packet analysis {"connection_id":176859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:59:50] local.INFO: Extracted packet for processing {"connection_id":176859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 13:59:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 13:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 13:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 13:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 13:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 13:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 13:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 13:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 13:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 13:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 13:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 13:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 13:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 13:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 13:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 13:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 13:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 13:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 13:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 13:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 13:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 13:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 13:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 13:59:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 13:59:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 13:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 13:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 13:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 13:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":176859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 13:59:50] local.INFO: GPS data processed {"connection_id":176859,"processed":1,"errors":0,"total":1} 
[2026-09-09 13:59:50] local.INFO: Acknowledgment sent {"connection_id":176859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 13:59:51] local.INFO: TCP Data received {"connection_id":175474,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:59:51] local.INFO: Processing buffer {"connection_id":175474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 13:59:51] local.INFO: IMEI packet received {"connection_id":175474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 13:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":175474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:00:06] local.INFO: TCP Data received {"connection_id":176858,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085490008012d1b7d00071f7288005100ea24..."} 
[2026-09-09 14:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085490008012d1b7d00071f7288005100ea24..."} 
[2026-09-09 14:00:06] local.INFO: Processing buffer {"connection_id":176858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085490008012d1b7d00071f7288005100ea24..."} 
[2026-09-09 14:00:06] local.INFO: Packet analysis {"connection_id":176858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08549"} 
[2026-09-09 14:00:06] local.INFO: Extracted packet for processing {"connection_id":176858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08549"} 
[2026-09-09 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756776192,"raw_latitude":119501448,"longitude_deg":75.6776192,"latitude_deg":11.9501448,"altitude":81,"angle":234,"satellites":36,"speed":10,"hex_longitude":"2d1b7d00","hex_latitude":"071f7288","is_valid_coordinates":true} 
[2026-09-09 14:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969291776001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18881157269553152,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981654235379689472,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00: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-09-09 14:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788942549000,"timestamp_ms":1788942549000,"timestamp_seconds":1788942549,"priority":1,"record_length":96,"hex_timestamp":"000001a085490008"} 
[2026-09-09 14:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:00: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-09-09 14:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 14:00: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-09-09 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-09-09 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-09-09 14:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969291776001,"66":14330,"101":206,"83":41984,"24":10,"16":18881157269553152,"45":1981654235379689472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969291776001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:00:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18881157269553152,"km_value":18881157269553.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981654235379689472,"description":"Unknown IO ID 45"} 
[2026-09-09 14:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969291776001,"power":14330,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1981654235379689472}} 
[2026-09-09 14:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":176858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:00:07] local.INFO: GPS data processed {"connection_id":176858,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:00:07] local.INFO: Acknowledgment sent {"connection_id":176858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:00:13] local.INFO: TCP Data received {"connection_id":175474,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:00:13] local.INFO: Processing buffer {"connection_id":175474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:00:13] local.INFO: IMEI packet received {"connection_id":175474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 14:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":175474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:00:15] local.INFO: TCP Data received {"connection_id":175474,"ip":"117.224.186.140","data_length":795,"data_hex":"000000000000030f8e0a000001a085485bf8012c4c0f4009ddd5c0021b00a62e..."} 
[2026-09-09 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085485bf8012c4c0f4009ddd5c0021b00a62e..."} 
[2026-09-09 14:00:15] local.INFO: Processing buffer {"connection_id":175474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085485bf8012c4c0f4009ddd5c0021b00a62e..."} 
[2026-09-09 14:00:15] local.INFO: Packet analysis {"connection_id":175474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08548"} 
[2026-09-09 14:00:15] local.INFO: Extracted packet for processing {"connection_id":175474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08548"} 
[2026-09-09 14:00:15] local.INFO: GPS Element Parsed {"raw_longitude":743182144,"raw_latitude":165533120,"longitude_deg":74.3182144,"latitude_deg":16.553312,"altitude":539,"angle":166,"satellites":46,"speed":0,"hex_longitude":"2c4c0f40","hex_latitude":"09ddd5c0","is_valid_coordinates":true} 
[2026-09-09 14:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969276416001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5474055020706263042,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788942507000,"timestamp_ms":1788942507000,"timestamp_seconds":1788942507,"priority":1,"record_length":96,"hex_timestamp":"000001a085485bf8"} 
[2026-09-09 14:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-09 14:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.186.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969276416001,"66":28126,"238":206,"37":22784,"24":0,"16":3893920429768704,"44":5474055020706263042},"client_ip":"117.224.186.140","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-09 14:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 14:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 14:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969276416001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:00:15] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-09 14:00:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-09 14:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":5474055020706263042,"description":"Unknown IO ID 44"} 
[2026-09-09 14:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969276416001,"power":28126,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5474055020706263042}} 
[2026-09-09 14:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":175474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:00:15] local.INFO: GPS data processed {"connection_id":175474,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:00:15] local.INFO: Acknowledgment sent {"connection_id":175474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:00:21] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:00:21] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:00:21] local.INFO: Packet analysis {"connection_id":176859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 14:00:21] local.INFO: Extracted packet for processing {"connection_id":176859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 14:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 14:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:00:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":176859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:00:21] local.INFO: GPS data processed {"connection_id":176859,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:00:21] local.INFO: Acknowledgment sent {"connection_id":176859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:00:35] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:00:35] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:00:35] local.INFO: IMEI packet received {"connection_id":175475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":175475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:00:38] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:00:38] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:00:38] local.INFO: IMEI packet received {"connection_id":175476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":175476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:00:40] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:00:40] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:00:40] local.INFO: IMEI packet received {"connection_id":175475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":175475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:00:40] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854907d8012d1b7b40071f7180005000f625..."} 
[2026-09-09 14:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854907d8012d1b7b40071f7180005000f625..."} 
[2026-09-09 14:00:40] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854907d8012d1b7b40071f7180005000f625..."} 
[2026-09-09 14:00:40] local.INFO: Packet analysis {"connection_id":175475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08549"} 
[2026-09-09 14:00:40] local.INFO: Extracted packet for processing {"connection_id":175475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08549"} 
[2026-09-09 14:00:40] local.INFO: GPS Element Parsed {"raw_longitude":756775744,"raw_latitude":119501184,"longitude_deg":75.6775744,"latitude_deg":11.9501184,"altitude":80,"angle":246,"satellites":37,"speed":9,"hex_longitude":"2d1b7b40","hex_latitude":"071f7180","is_valid_coordinates":true} 
[2026-09-09 14:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969292544001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18881183039356928,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980739441705256960,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788942551000,"timestamp_ms":1788942551000,"timestamp_seconds":1788942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0854907d8"} 
[2026-09-09 14:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-09 14:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969292544001,"66":14341,"101":206,"83":41984,"24":9,"16":18881183039356928,"45":1980739441705256960},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969292544001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:00:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18881183039356928,"km_value":18881183039356.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980739441705256960,"description":"Unknown IO ID 45"} 
[2026-09-09 14:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969292544001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1980739441705256960}} 
[2026-09-09 14:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":175475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:00:40] local.INFO: GPS data processed {"connection_id":175475,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:00:40] local.INFO: Acknowledgment sent {"connection_id":175475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:00:43] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085490fa8012d1b7980071f70e8004f010725..."} 
[2026-09-09 14:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085490fa8012d1b7980071f70e8004f010725..."} 
[2026-09-09 14:00:43] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085490fa8012d1b7980071f70e8004f010725..."} 
[2026-09-09 14:00:43] local.INFO: Packet analysis {"connection_id":175475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08549"} 
[2026-09-09 14:00:43] local.INFO: Extracted packet for processing {"connection_id":175475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08549"} 
[2026-09-09 14:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756775296,"raw_latitude":119501032,"longitude_deg":75.6775296,"latitude_deg":11.9501032,"altitude":79,"angle":263,"satellites":37,"speed":7,"hex_longitude":"2d1b7980","hex_latitude":"071f70e8","is_valid_coordinates":true} 
[2026-09-09 14:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969293056001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18881208809160704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980246860495945728,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00: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-09-09 14:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788942553000,"timestamp_ms":1788942553000,"timestamp_seconds":1788942553,"priority":1,"record_length":96,"hex_timestamp":"000001a085490fa8"} 
[2026-09-09 14:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:00: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-09-09 14: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":24770988277236480,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2236132864,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503887728148480,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2281778459,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2147950456,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84754252878520185,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:43] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,20,160,45,114,81,36,10,66,244,64,116,37,240,1,218,227,133,31,4,113,205,193,135,38,239,55,2,67,7,88,206,48],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-09 14:00:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764878161809047552,"timestamp_seconds":5764878161809048.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 14:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969293056001,"66":14265,"101":206,"83":41984,"24":7,"16":18881208809160704,"45":1980246860495945728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969293056001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:00:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:00:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18881208809160704,"km_value":18881208809160.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980246860495945728,"description":"Unknown IO ID 45"} 
[2026-09-09 14:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969293056001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1980246860495945728}} 
[2026-09-09 14:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":175475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:00:43] local.INFO: GPS data processed {"connection_id":175475,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:00:43] local.INFO: Acknowledgment sent {"connection_id":175475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:00:44] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:00:44] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:00:44] local.INFO: IMEI packet received {"connection_id":175476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":175476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:00:45] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:00:45] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:00:45] local.INFO: Packet analysis {"connection_id":175476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 14:00:45] local.INFO: Extracted packet for processing {"connection_id":175476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 14:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 14:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:00:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":175476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:00:45] local.INFO: GPS data processed {"connection_id":175476,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:00:45] local.INFO: Acknowledgment sent {"connection_id":175476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:01:14] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854a30b8012d1b4180071f7760003e00f127..."} 
[2026-09-09 14:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854a30b8012d1b4180071f7760003e00f127..."} 
[2026-09-09 14:01:14] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854a30b8012d1b4180071f7760003e00f127..."} 
[2026-09-09 14:01:14] local.INFO: Packet analysis {"connection_id":175475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854a"} 
[2026-09-09 14:01:14] local.INFO: Extracted packet for processing {"connection_id":175475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854a"} 
[2026-09-09 14:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756760960,"raw_latitude":119502688,"longitude_deg":75.676096,"latitude_deg":11.9502688,"altitude":62,"angle":241,"satellites":39,"speed":15,"hex_longitude":"2d1b4180","hex_latitude":"071f7760","is_valid_coordinates":true} 
[2026-09-09 14:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969311488001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18882029147914240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965258317986764800,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788942627000,"timestamp_ms":1788942627000,"timestamp_seconds":1788942627,"priority":1,"record_length":96,"hex_timestamp":"000001a0854a30b8"} 
[2026-09-09 14:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 14:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969311488001,"66":14102,"101":206,"83":41984,"24":15,"16":18882029147914240,"45":1965258317986764800},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969311488001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:01:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18882029147914240,"km_value":18882029147914.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965258317986764800,"description":"Unknown IO ID 45"} 
[2026-09-09 14:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969311488001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1965258317986764800}} 
[2026-09-09 14:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":175475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:01:14] local.INFO: GPS data processed {"connection_id":175475,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:01:14] local.INFO: Acknowledgment sent {"connection_id":175475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:01:16] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:01:16] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:01:16] local.INFO: Packet analysis {"connection_id":175476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 14:01:16] local.INFO: Extracted packet for processing {"connection_id":175476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 14:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 14:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":175476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:01:16] local.INFO: GPS data processed {"connection_id":175476,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:01:16] local.INFO: Acknowledgment sent {"connection_id":175476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:01:28] local.INFO: TCP Data received {"connection_id":176860,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:01:28] local.INFO: Processing buffer {"connection_id":176860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:01:28] local.INFO: IMEI packet received {"connection_id":176860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":176860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:01:30] local.INFO: TCP Data received {"connection_id":176860,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:01:30] local.INFO: Processing buffer {"connection_id":176860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:01:30] local.INFO: IMEI packet received {"connection_id":176860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":176860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:01:35] local.INFO: TCP Data received {"connection_id":176860,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:01:35] local.INFO: Processing buffer {"connection_id":176860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:01:35] local.INFO: IMEI packet received {"connection_id":176860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":176860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:01:36] local.INFO: TCP Data received {"connection_id":176860,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854a4440012d1b3a40071f7478003c010227..."} 
[2026-09-09 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854a4440012d1b3a40071f7478003c010227..."} 
[2026-09-09 14:01:36] local.INFO: Processing buffer {"connection_id":176860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854a4440012d1b3a40071f7478003c010227..."} 
[2026-09-09 14:01:36] local.INFO: Packet analysis {"connection_id":176860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854a"} 
[2026-09-09 14:01:36] local.INFO: Extracted packet for processing {"connection_id":176860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854a"} 
[2026-09-09 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756759104,"raw_latitude":119501944,"longitude_deg":75.6759104,"latitude_deg":11.9501944,"altitude":60,"angle":258,"satellites":39,"speed":15,"hex_longitude":"2d1b3a40","hex_latitude":"071f7478","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969312512001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18882123637194752,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963991680591290368,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01: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-09-09 14:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788942632000,"timestamp_ms":1788942632000,"timestamp_seconds":1788942632,"priority":1,"record_length":96,"hex_timestamp":"000001a0854a4440"} 
[2026-09-09 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-09-09 14:01: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-09-09 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 14:01: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-09-09 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-09-09 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-09-09 14:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969312512001,"66":12667,"101":206,"83":41984,"24":15,"16":18882123637194752,"45":1963991680591290368},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969312512001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:01:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18882123637194752,"km_value":18882123637194.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963991680591290368,"description":"Unknown IO ID 45"} 
[2026-09-09 14:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969312512001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1963991680591290368}} 
[2026-09-09 14:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":176860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:01:36] local.INFO: GPS data processed {"connection_id":176860,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:01:36] local.INFO: Acknowledgment sent {"connection_id":176860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:01:38] local.INFO: TCP Data received {"connection_id":178276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:01:38] local.INFO: Processing buffer {"connection_id":178276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:01:38] local.INFO: IMEI packet received {"connection_id":178276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":178276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:01:43] local.INFO: TCP Data received {"connection_id":178276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:01:43] local.INFO: Processing buffer {"connection_id":178276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:01:43] local.INFO: IMEI packet received {"connection_id":178276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":178276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:01:44] local.INFO: TCP Data received {"connection_id":178276,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:01:44] local.INFO: Processing buffer {"connection_id":178276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085466be0012d34c48006aa49900005008d25..."} 
[2026-09-09 14:01:44] local.INFO: Packet analysis {"connection_id":178276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 14:01:44] local.INFO: Extracted packet for processing {"connection_id":178276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08546"} 
[2026-09-09 14:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":5,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969172224001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788942380000,"timestamp_ms":1788942380000,"timestamp_seconds":1788942380,"priority":1,"record_length":96,"hex_timestamp":"000001a085466be0"} 
[2026-09-09 14:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:01: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-09-09 14:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:01: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-09-09 14:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969172224001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969172224001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969172224001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":178276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:01:44] local.INFO: GPS data processed {"connection_id":178276,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:01:44] local.INFO: Acknowledgment sent {"connection_id":178276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:01:52] local.INFO: TCP Data received {"connection_id":176861,"ip":"117.224.186.140","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:01:52] local.INFO: Processing buffer {"connection_id":176861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:01:52] local.INFO: IMEI packet received {"connection_id":176861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":176861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:02:07] local.INFO: TCP Data received {"connection_id":176860,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854a4c10012d1b3740071f7448003c010e25..."} 
[2026-09-09 14:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854a4c10012d1b3740071f7448003c010e25..."} 
[2026-09-09 14:02:07] local.INFO: Processing buffer {"connection_id":176860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854a4c10012d1b3740071f7448003c010e25..."} 
[2026-09-09 14:02:07] local.INFO: Packet analysis {"connection_id":176860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854a"} 
[2026-09-09 14:02:07] local.INFO: Extracted packet for processing {"connection_id":176860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854a"} 
[2026-09-09 14:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756758336,"raw_latitude":119501896,"longitude_deg":75.6758336,"latitude_deg":11.9501896,"altitude":60,"angle":270,"satellites":37,"speed":14,"hex_longitude":"2d1b3740","hex_latitude":"071f7448","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969313792001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18882162291900416,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961950987009947648,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02: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-09-09 14:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788942634000,"timestamp_ms":1788942634000,"timestamp_seconds":1788942634,"priority":1,"record_length":96,"hex_timestamp":"000001a0854a4c10"} 
[2026-09-09 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-09-09 14:02: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-09-09 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-09 14:02: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-09-09 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-09-09 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-09-09 14:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969313792001,"66":14428,"101":206,"83":41984,"24":14,"16":18882162291900416,"45":1961950987009947648},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969313792001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:02:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18882162291900416,"km_value":18882162291900.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961950987009947648,"description":"Unknown IO ID 45"} 
[2026-09-09 14:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969313792001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1961950987009947648}} 
[2026-09-09 14:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":176860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:02:08] local.INFO: GPS data processed {"connection_id":176860,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:02:08] local.INFO: Acknowledgment sent {"connection_id":176860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:02:16] local.INFO: TCP Data received {"connection_id":178276,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:02:16] local.INFO: Processing buffer {"connection_id":178276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:02:16] local.INFO: Packet analysis {"connection_id":178276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:16] local.INFO: Extracted packet for processing {"connection_id":178276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":178276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:02:16] local.INFO: GPS data processed {"connection_id":178276,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:02:16] local.INFO: Acknowledgment sent {"connection_id":178276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:02:29] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:29] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:29] local.INFO: IMEI packet received {"connection_id":176862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":176862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:02:30] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:30] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:30] local.INFO: IMEI packet received {"connection_id":176862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":176862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:02:30] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:30] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:30] local.INFO: IMEI packet received {"connection_id":176862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":176862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:02:31] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:31] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:02:31] local.INFO: IMEI packet received {"connection_id":176862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":176862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:02:32] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b6168012d1ac580071f86180033014a28..."} 
[2026-09-09 14:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b6168012d1ac580071f86180033014a28..."} 
[2026-09-09 14:02:32] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b6168012d1ac580071f86180033014a28..."} 
[2026-09-09 14:02:32] local.INFO: Packet analysis {"connection_id":176862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:32] local.INFO: Extracted packet for processing {"connection_id":176862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756729216,"raw_latitude":119506456,"longitude_deg":75.6729216,"latitude_deg":11.9506456,"altitude":51,"angle":330,"satellites":40,"speed":10,"hex_longitude":"2d1ac580","hex_latitude":"071f8618","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969332224001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18883639760650240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929299889712615424,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788942705000,"timestamp_ms":1788942705000,"timestamp_seconds":1788942705,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b6168"} 
[2026-09-09 14:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 14:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969332224001,"66":14396,"101":206,"83":41984,"24":10,"16":18883639760650240,"45":1929299889712615424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969332224001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:02:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18883639760650240,"km_value":18883639760650.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929299889712615424,"description":"Unknown IO ID 45"} 
[2026-09-09 14:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969332224001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1929299889712615424}} 
[2026-09-09 14:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":176862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:02:32] local.INFO: GPS data processed {"connection_id":176862,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:02:32] local.INFO: Acknowledgment sent {"connection_id":176862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:02:33] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b6550012d1ac540071f87180033015a28..."} 
[2026-09-09 14:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b6550012d1ac540071f87180033015a28..."} 
[2026-09-09 14:02:33] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b6550012d1ac540071f87180033015a28..."} 
[2026-09-09 14:02:33] local.INFO: Packet analysis {"connection_id":176862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:33] local.INFO: Extracted packet for processing {"connection_id":176862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119506712,"longitude_deg":75.6729152,"latitude_deg":11.9506712,"altitude":51,"angle":346,"satellites":40,"speed":11,"hex_longitude":"2d1ac540","hex_latitude":"071f8718","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969332480001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18883652645552128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480133632,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788942706000,"timestamp_ms":1788942706000,"timestamp_seconds":1788942706,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b6550"} 
[2026-09-09 14:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:02: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-09-09 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 14:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969332480001,"66":14396,"101":206,"83":41984,"24":11,"16":18883652645552128,"45":1929088783480133632},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969332480001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:02:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18883652645552128,"km_value":18883652645552.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480133632,"description":"Unknown IO ID 45"} 
[2026-09-09 14:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969332480001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1929088783480133632}} 
[2026-09-09 14:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":176862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:02:33] local.INFO: GPS data processed {"connection_id":176862,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:02:33] local.INFO: Acknowledgment sent {"connection_id":176862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:02:44] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:02:44] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:02:44] local.INFO: IMEI packet received {"connection_id":175477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":175477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:02:49] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:02:49] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:02:49] local.INFO: IMEI packet received {"connection_id":175477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":175477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:02:49] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:02:49] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:02:49] local.INFO: Packet analysis {"connection_id":175477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:49] local.INFO: Extracted packet for processing {"connection_id":175477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":175477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:02:50] local.INFO: GPS data processed {"connection_id":175477,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:02:50] local.INFO: Acknowledgment sent {"connection_id":175477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:02:54] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:02:54] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:02:54] local.INFO: Packet analysis {"connection_id":175477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:54] local.INFO: Extracted packet for processing {"connection_id":175477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":175477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:02:54] local.INFO: GPS data processed {"connection_id":175477,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:02:54] local.INFO: Acknowledgment sent {"connection_id":175477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:03:04] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b6938012d1ac4c0071f88680033016528..."} 
[2026-09-09 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b6938012d1ac4c0071f88680033016528..."} 
[2026-09-09 14:03:04] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b6938012d1ac4c0071f88680033016528..."} 
[2026-09-09 14:03:04] local.INFO: Packet analysis {"connection_id":176862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:03:04] local.INFO: Extracted packet for processing {"connection_id":176862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756729024,"raw_latitude":119507048,"longitude_deg":75.6729024,"latitude_deg":11.9507048,"altitude":51,"angle":357,"satellites":40,"speed":14,"hex_longitude":"2d1ac4c0","hex_latitude":"071f8868","is_valid_coordinates":true} 
[2026-09-09 14:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969332736001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18883669825421312,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736021504,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788942707000,"timestamp_ms":1788942707000,"timestamp_seconds":1788942707,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b6938"} 
[2026-09-09 14:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:03: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-09-09 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 14:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969332736001,"66":13656,"101":206,"83":41984,"24":14,"16":18883669825421312,"45":1929018414736021504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969332736001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:03:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18883669825421312,"km_value":18883669825421.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736021504,"description":"Unknown IO ID 45"} 
[2026-09-09 14:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969332736001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1929018414736021504}} 
[2026-09-09 14:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":176862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:03:05] local.INFO: GPS data processed {"connection_id":176862,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:03:05] local.INFO: Acknowledgment sent {"connection_id":176862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:03:31] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:03:31] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:03:31] local.INFO: IMEI packet received {"connection_id":175703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":175703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:03:31] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:03:31] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:03:31] local.INFO: IMEI packet received {"connection_id":175703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":175703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:03:35] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:03:35] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:03:35] local.INFO: IMEI packet received {"connection_id":175703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":175703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:03:35] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854c1130012d1a66c0071fdad80032012326..."} 
[2026-09-09 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854c1130012d1a66c0071fdad80032012326..."} 
[2026-09-09 14:03:35] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854c1130012d1a66c0071fdad80032012326..."} 
[2026-09-09 14:03:35] local.INFO: Packet analysis {"connection_id":175703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854c"} 
[2026-09-09 14:03:35] local.INFO: Extracted packet for processing {"connection_id":175703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854c"} 
[2026-09-09 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756704960,"raw_latitude":119528152,"longitude_deg":75.670496,"latitude_deg":11.9528152,"altitude":50,"angle":291,"satellites":38,"speed":41,"hex_longitude":"2d1a66c0","hex_latitude":"071fdad8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969343488001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18885301912993792,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904530091767441408,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788942750000,"timestamp_ms":1788942750000,"timestamp_seconds":1788942750,"priority":1,"record_length":96,"hex_timestamp":"000001a0854c1130"} 
[2026-09-09 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-09-09 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 14:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969343488001,"66":14004,"101":206,"83":41984,"24":41,"16":18885301912993792,"45":1904530091767441408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969343488001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:03:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18885301912993792,"km_value":18885301912993.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904530091767441408,"description":"Unknown IO ID 45"} 
[2026-09-09 14:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969343488001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1904530091767441408}} 
[2026-09-09 14:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":175703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:03:35] local.INFO: GPS data processed {"connection_id":175703,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:03:35] local.INFO: Acknowledgment sent {"connection_id":175703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:03:38] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854c1900012d1a5e00071fdc280032011526..."} 
[2026-09-09 14:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854c1900012d1a5e00071fdc280032011526..."} 
[2026-09-09 14:03:38] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854c1900012d1a5e00071fdc280032011526..."} 
[2026-09-09 14:03:38] local.INFO: Packet analysis {"connection_id":175703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854c"} 
[2026-09-09 14:03:38] local.INFO: Extracted packet for processing {"connection_id":175703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854c"} 
[2026-09-09 14:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756702720,"raw_latitude":119528488,"longitude_deg":75.670272,"latitude_deg":11.9528488,"altitude":50,"angle":277,"satellites":38,"speed":43,"hex_longitude":"2d1a5e00","hex_latitude":"071fdc28","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969344000001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18885404992208896,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902419029442353152,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03: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-09-09 14:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788942752000,"timestamp_ms":1788942752000,"timestamp_seconds":1788942752,"priority":1,"record_length":96,"hex_timestamp":"000001a0854c1900"} 
[2026-09-09 14:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:03: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-09-09 14: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 14:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969344000001,"66":12819,"101":206,"83":41984,"24":43,"16":18885404992208896,"45":1902419029442353152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969344000001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:03:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18885404992208896,"km_value":18885404992208.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902419029442353152,"description":"Unknown IO ID 45"} 
[2026-09-09 14:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969344000001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1902419029442353152}} 
[2026-09-09 14:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":175703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:03:39] local.INFO: GPS data processed {"connection_id":175703,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:03:39] local.INFO: Acknowledgment sent {"connection_id":175703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:03:39] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:03:39] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:03:39] local.INFO: IMEI packet received {"connection_id":175704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":175704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:03:43] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:03:43] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:03:43] local.INFO: IMEI packet received {"connection_id":175704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":175704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:03:44] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:03:44] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:03:44] local.INFO: Packet analysis {"connection_id":175704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:03:44] local.INFO: Extracted packet for processing {"connection_id":175704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:03: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-09-09 14: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-09-09 14:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":175704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:03:44] local.INFO: GPS data processed {"connection_id":175704,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:03:44] local.INFO: Acknowledgment sent {"connection_id":175704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:04:10] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854cc4e0012d19dd8007200708002d00d828..."} 
[2026-09-09 14:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854cc4e0012d19dd8007200708002d00d828..."} 
[2026-09-09 14:04:10] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854cc4e0012d19dd8007200708002d00d828..."} 
[2026-09-09 14:04:10] local.INFO: Packet analysis {"connection_id":175703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854c"} 
[2026-09-09 14:04:10] local.INFO: Extracted packet for processing {"connection_id":175703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854c"} 
[2026-09-09 14:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756669824,"raw_latitude":119539464,"longitude_deg":75.6669824,"latitude_deg":11.9539464,"altitude":45,"angle":216,"satellites":40,"speed":12,"hex_longitude":"2d19dd80","hex_latitude":"07200708","is_valid_coordinates":true} 
[2026-09-09 14:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969355520001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18887118684160000,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863997695124291584,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788942796000,"timestamp_ms":1788942796000,"timestamp_seconds":1788942796,"priority":1,"record_length":96,"hex_timestamp":"000001a0854cc4e0"} 
[2026-09-09 14:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-09 14:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969355520001,"66":14483,"101":206,"83":41984,"24":12,"16":18887118684160000,"45":1863997695124291584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969355520001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:04:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18887118684160000,"km_value":18887118684160,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863997695124291584,"description":"Unknown IO ID 45"} 
[2026-09-09 14:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969355520001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1863997695124291584}} 
[2026-09-09 14:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":175703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:04:10] local.INFO: GPS data processed {"connection_id":175703,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:04:10] local.INFO: Acknowledgment sent {"connection_id":175703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:04:16] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:04:16] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:04:16] local.INFO: Packet analysis {"connection_id":175704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:04:16] local.INFO: Extracted packet for processing {"connection_id":175704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":175704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:04:16] local.INFO: GPS data processed {"connection_id":175704,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:04:16] local.INFO: Acknowledgment sent {"connection_id":175704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:04:27] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:27] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:27] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:04:30] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:30] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:30] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:04:31] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:31] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:31] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:04:35] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:35] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:04:35] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:04:36] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854ce420012d19d680071ffe68002c00e728..."} 
[2026-09-09 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854ce420012d19d680071ffe68002c00e728..."} 
[2026-09-09 14:04:36] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854ce420012d19d680071ffe68002c00e728..."} 
[2026-09-09 14:04:36] local.INFO: Packet analysis {"connection_id":175479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854c"} 
[2026-09-09 14:04:36] local.INFO: Extracted packet for processing {"connection_id":175479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854c"} 
[2026-09-09 14:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119537256,"longitude_deg":75.6668032,"latitude_deg":11.9537256,"altitude":44,"angle":231,"satellites":40,"speed":13,"hex_longitude":"2d19d680","hex_latitude":"071ffe68","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969355776001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18887256123113472,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891711488,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04: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-09-09 14:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788942804000,"timestamp_ms":1788942804000,"timestamp_seconds":1788942804,"priority":1,"record_length":96,"hex_timestamp":"000001a0854ce420"} 
[2026-09-09 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-09-09 14:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-09 14:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969355776001,"66":14396,"101":206,"83":41984,"24":13,"16":18887256123113472,"45":1863786588891711488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969355776001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:04:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18887256123113472,"km_value":18887256123113.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891711488,"description":"Unknown IO ID 45"} 
[2026-09-09 14:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969355776001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1863786588891711488}} 
[2026-09-09 14:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":175479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:04:36] local.INFO: GPS data processed {"connection_id":175479,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:04:36] local.INFO: Acknowledgment sent {"connection_id":175479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:04:39] local.INFO: TCP Data received {"connection_id":178277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:04:39] local.INFO: Processing buffer {"connection_id":178277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:04:39] local.INFO: IMEI packet received {"connection_id":178277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":178277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:04:44] local.INFO: TCP Data received {"connection_id":178277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:04:44] local.INFO: Processing buffer {"connection_id":178277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:04:44] local.INFO: IMEI packet received {"connection_id":178277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":178277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:04:45] local.INFO: TCP Data received {"connection_id":178277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:04:45] local.INFO: Processing buffer {"connection_id":178277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:04:45] local.INFO: Packet analysis {"connection_id":178277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:04:45] local.INFO: Extracted packet for processing {"connection_id":178277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:04:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":178277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:04:45] local.INFO: GPS data processed {"connection_id":178277,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:04:45] local.INFO: Acknowledgment sent {"connection_id":178277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:05:07] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854da770012d199bc0071fef900032011227..."} 
[2026-09-09 14:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854da770012d199bc0071fef900032011227..."} 
[2026-09-09 14:05:07] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854da770012d199bc0071fef900032011227..."} 
[2026-09-09 14:05:07] local.INFO: Packet analysis {"connection_id":175479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:05:07] local.INFO: Extracted packet for processing {"connection_id":175479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756652992,"raw_latitude":119533456,"longitude_deg":75.6652992,"latitude_deg":11.9533456,"altitude":50,"angle":274,"satellites":39,"speed":16,"hex_longitude":"2d199bc0","hex_latitude":"071fef90","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969369856001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888054987030528,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846475877822482432,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788942854000,"timestamp_ms":1788942854000,"timestamp_seconds":1788942854,"priority":1,"record_length":96,"hex_timestamp":"000001a0854da770"} 
[2026-09-09 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-09-09 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-09 14:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969369856001,"66":13798,"102":206,"83":41984,"24":16,"16":18888054987030528,"45":1846475877822482432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969369856001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:05:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888054987030528,"km_value":18888054987030.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846475877822482432,"description":"Unknown IO ID 45"} 
[2026-09-09 14:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969369856001,"power":13798,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1846475877822482432}} 
[2026-09-09 14:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":175479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:05:07] local.INFO: GPS data processed {"connection_id":175479,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:05:07] local.INFO: Acknowledgment sent {"connection_id":175479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:05:16] local.INFO: TCP Data received {"connection_id":178277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:05:16] local.INFO: Processing buffer {"connection_id":178277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:05:16] local.INFO: Packet analysis {"connection_id":178277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:05:16] local.INFO: Extracted packet for processing {"connection_id":178277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:05:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":178277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:05:16] local.INFO: GPS data processed {"connection_id":178277,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:05:16] local.INFO: Acknowledgment sent {"connection_id":178277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:05:30] local.INFO: TCP Data received {"connection_id":175480,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:05:30] local.INFO: Processing buffer {"connection_id":175480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:05:30] local.INFO: IMEI packet received {"connection_id":175480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":175480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:05:35] local.INFO: TCP Data received {"connection_id":175480,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:05:35] local.INFO: Processing buffer {"connection_id":175480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:05:35] local.INFO: IMEI packet received {"connection_id":175480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":175480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:05:36] local.INFO: TCP Data received {"connection_id":175480,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854dda38012d1985c0071ff0600036010227..."} 
[2026-09-09 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854dda38012d1985c0071ff0600036010227..."} 
[2026-09-09 14:05:36] local.INFO: Processing buffer {"connection_id":175480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854dda38012d1985c0071ff0600036010227..."} 
[2026-09-09 14:05:36] local.INFO: Packet analysis {"connection_id":175480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:05:36] local.INFO: Extracted packet for processing {"connection_id":175480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756647360,"raw_latitude":119533664,"longitude_deg":75.664736,"latitude_deg":11.9533664,"altitude":54,"angle":258,"satellites":39,"speed":19,"hex_longitude":"2d1985c0","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969370624001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888321275002880,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171447808,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788942867000,"timestamp_ms":1788942867000,"timestamp_seconds":1788942867,"priority":1,"record_length":96,"hex_timestamp":"000001a0854dda38"} 
[2026-09-09 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-09-09 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 14:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969370624001,"66":13004,"102":206,"83":41984,"24":19,"16":18888321275002880,"45":1845279609171447808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969370624001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888321275002880,"km_value":18888321275002.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171447808,"description":"Unknown IO ID 45"} 
[2026-09-09 14:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969370624001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1845279609171447808}} 
[2026-09-09 14:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":175480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:05:36] local.INFO: GPS data processed {"connection_id":175480,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:05:36] local.INFO: Acknowledgment sent {"connection_id":175480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:05:39] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:05:39] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:05:39] local.INFO: IMEI packet received {"connection_id":175481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":175481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:05:43] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:05:43] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:05:43] local.INFO: IMEI packet received {"connection_id":175481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:05:44] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:05:44] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:05:44] local.INFO: Packet analysis {"connection_id":175481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:05:44] local.INFO: Extracted packet for processing {"connection_id":175481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:05: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-09-09 14: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-09-09 14:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":175481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:05:44] local.INFO: GPS data processed {"connection_id":175481,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:05:44] local.INFO: Acknowledgment sent {"connection_id":175481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:06:07] local.INFO: TCP Data received {"connection_id":175480,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854dde20012d198400071fefd8003600f727..."} 
[2026-09-09 14:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854dde20012d198400071fefd8003600f727..."} 
[2026-09-09 14:06:07] local.INFO: Processing buffer {"connection_id":175480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854dde20012d198400071fefd8003600f727..."} 
[2026-09-09 14:06:07] local.INFO: Packet analysis {"connection_id":175480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:06:07] local.INFO: Extracted packet for processing {"connection_id":175480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756646912,"raw_latitude":119533528,"longitude_deg":75.6646912,"latitude_deg":11.9533528,"altitude":54,"angle":247,"satellites":39,"speed":18,"hex_longitude":"2d198400","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969373952001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888347044806656,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839087159683866624,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788942868000,"timestamp_ms":1788942868000,"timestamp_seconds":1788942868,"priority":1,"record_length":96,"hex_timestamp":"000001a0854dde20"} 
[2026-09-09 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-09-09 14:06: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-09-09 14:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 14:06: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-09-09 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-09-09 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-09-09 14:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969373952001,"66":13004,"102":206,"83":41984,"24":18,"16":18888347044806656,"45":1839087159683866624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969373952001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:06:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888347044806656,"km_value":18888347044806.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839087159683866624,"description":"Unknown IO ID 45"} 
[2026-09-09 14:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969373952001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1839087159683866624}} 
[2026-09-09 14:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":175480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:06:07] local.INFO: GPS data processed {"connection_id":175480,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:06:07] local.INFO: Acknowledgment sent {"connection_id":175480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:06:16] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:06:16] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:06:16] local.INFO: Packet analysis {"connection_id":175481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:06:16] local.INFO: Extracted packet for processing {"connection_id":175481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:06:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":175481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:06:16] local.INFO: GPS data processed {"connection_id":175481,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:06:16] local.INFO: Acknowledgment sent {"connection_id":175481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:06:30] local.INFO: TCP Data received {"connection_id":176864,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:06:30] local.INFO: Processing buffer {"connection_id":176864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:06:30] local.INFO: IMEI packet received {"connection_id":176864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":176864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:06:35] local.INFO: TCP Data received {"connection_id":176864,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:06:35] local.INFO: Processing buffer {"connection_id":176864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:06:35] local.INFO: IMEI packet received {"connection_id":176864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":176864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:06:36] local.INFO: TCP Data received {"connection_id":176864,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854de208012d198280071feef8003700ea26..."} 
[2026-09-09 14:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854de208012d198280071feef8003700ea26..."} 
[2026-09-09 14:06:36] local.INFO: Processing buffer {"connection_id":176864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854de208012d198280071feef8003700ea26..."} 
[2026-09-09 14:06:36] local.INFO: Packet analysis {"connection_id":176864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:06:36] local.INFO: Extracted packet for processing {"connection_id":176864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756646528,"raw_latitude":119533304,"longitude_deg":75.6646528,"latitude_deg":11.9533304,"altitude":55,"angle":234,"satellites":38,"speed":17,"hex_longitude":"2d198280","hex_latitude":"071feef8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969374208001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888368519643136,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838594578474588160,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788942869000,"timestamp_ms":1788942869000,"timestamp_seconds":1788942869,"priority":1,"record_length":96,"hex_timestamp":"000001a0854de208"} 
[2026-09-09 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-09-09 14:06: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-09-09 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 14:06: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-09-09 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-09-09 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-09-09 14:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969374208001,"66":12950,"102":206,"83":41984,"24":17,"16":18888368519643136,"45":1838594578474588160},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969374208001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888368519643136,"km_value":18888368519643.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838594578474588160,"description":"Unknown IO ID 45"} 
[2026-09-09 14:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969374208001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1838594578474588160}} 
[2026-09-09 14:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":176864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:06:36] local.INFO: GPS data processed {"connection_id":176864,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:06:36] local.INFO: Acknowledgment sent {"connection_id":176864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:06:38] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:06:38] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:06:38] local.INFO: IMEI packet received {"connection_id":175483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":175483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:06:44] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:06:44] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:06:44] local.INFO: IMEI packet received {"connection_id":175483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":175483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:06:45] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:06:45] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854b0790012d34c48006aa49900002008d27..."} 
[2026-09-09 14:06:45] local.INFO: Packet analysis {"connection_id":175483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:06:45] local.INFO: Extracted packet for processing {"connection_id":175483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854b"} 
[2026-09-09 14:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":2,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969249280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788942682000,"timestamp_ms":1788942682000,"timestamp_seconds":1788942682,"priority":1,"record_length":96,"hex_timestamp":"000001a0854b0790"} 
[2026-09-09 14:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969249280001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969249280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:06:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969249280001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":175483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:06:45] local.INFO: GPS data processed {"connection_id":175483,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:06:45] local.INFO: Acknowledgment sent {"connection_id":175483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:07:07] local.INFO: TCP Data received {"connection_id":176864,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854dedc0012d197d00071fec00003800fe26..."} 
[2026-09-09 14:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854dedc0012d197d00071fec00003800fe26..."} 
[2026-09-09 14:07:07] local.INFO: Processing buffer {"connection_id":176864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854dedc0012d197d00071fec00003800fe26..."} 
[2026-09-09 14:07:07] local.INFO: Packet analysis {"connection_id":176864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:07:07] local.INFO: Extracted packet for processing {"connection_id":176864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756645120,"raw_latitude":119532544,"longitude_deg":75.664512,"latitude_deg":11.9532544,"altitude":56,"angle":254,"satellites":38,"speed":19,"hex_longitude":"2d197d00","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969374464001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888441534087168,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838172366009464832,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788942872000,"timestamp_ms":1788942872000,"timestamp_seconds":1788942872,"priority":1,"record_length":96,"hex_timestamp":"000001a0854dedc0"} 
[2026-09-09 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-09-09 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-09 14:07: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-09-09 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-09-09 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-09-09 14:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969374464001,"66":12178,"102":206,"83":41984,"24":19,"16":18888441534087168,"45":1838172366009464832},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969374464001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:07:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888441534087168,"km_value":18888441534087.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838172366009464832,"description":"Unknown IO ID 45"} 
[2026-09-09 14:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969374464001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1838172366009464832}} 
[2026-09-09 14:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":176864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:07:07] local.INFO: GPS data processed {"connection_id":176864,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:07:07] local.INFO: Acknowledgment sent {"connection_id":176864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:07:16] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:07:16] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:07:16] local.INFO: Packet analysis {"connection_id":175483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:07:16] local.INFO: Extracted packet for processing {"connection_id":175483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":175483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:07:16] local.INFO: GPS data processed {"connection_id":175483,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:07:16] local.INFO: Acknowledgment sent {"connection_id":175483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:07:30] local.INFO: TCP Data received {"connection_id":178279,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:07:30] local.INFO: Processing buffer {"connection_id":178279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:07:30] local.INFO: IMEI packet received {"connection_id":178279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":178279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:07:35] local.INFO: TCP Data received {"connection_id":178279,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:07:35] local.INFO: Processing buffer {"connection_id":178279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:07:35] local.INFO: IMEI packet received {"connection_id":178279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":178279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:07:36] local.INFO: TCP Data received {"connection_id":178279,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854df590012d197940071feb600038010b26..."} 
[2026-09-09 14:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854df590012d197940071feb600038010b26..."} 
[2026-09-09 14:07:36] local.INFO: Processing buffer {"connection_id":178279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854df590012d197940071feb600038010b26..."} 
[2026-09-09 14:07:36] local.INFO: Packet analysis {"connection_id":178279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:07:36] local.INFO: Extracted packet for processing {"connection_id":178279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854d"} 
[2026-09-09 14:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756644160,"raw_latitude":119532384,"longitude_deg":75.664416,"latitude_deg":11.9532384,"altitude":56,"angle":267,"satellites":38,"speed":17,"hex_longitude":"2d197940","hex_latitude":"071feb60","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969375232001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888488778727424,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836624253637361664,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788942874000,"timestamp_ms":1788942874000,"timestamp_seconds":1788942874,"priority":1,"record_length":96,"hex_timestamp":"000001a0854df590"} 
[2026-09-09 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-09-09 14:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-09 14:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969375232001,"66":12950,"102":206,"83":41984,"24":17,"16":18888488778727424,"45":1836624253637361664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969375232001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888488778727424,"km_value":18888488778727.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836624253637361664,"description":"Unknown IO ID 45"} 
[2026-09-09 14:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969375232001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1836624253637361664}} 
[2026-09-09 14:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":178279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:07:36] local.INFO: GPS data processed {"connection_id":178279,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:07:36] local.INFO: Acknowledgment sent {"connection_id":178279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:07:39] local.INFO: TCP Data received {"connection_id":178280,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:07:39] local.INFO: Processing buffer {"connection_id":178280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:07:39] local.INFO: IMEI packet received {"connection_id":178280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":178280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:07:42] local.INFO: TCP Data received {"connection_id":178281,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:07:42] local.INFO: Processing buffer {"connection_id":178281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:07:42] local.INFO: IMEI packet received {"connection_id":178281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":178281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:07:43] local.INFO: TCP Data received {"connection_id":178281,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:07:43] local.INFO: Processing buffer {"connection_id":178281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:07:43] local.INFO: IMEI packet received {"connection_id":178281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 14:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":178281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:07:43] local.INFO: TCP Data received {"connection_id":178280,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:07:43] local.INFO: Processing buffer {"connection_id":178280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:07:43] local.INFO: IMEI packet received {"connection_id":178280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":178280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:07:44] local.INFO: TCP Data received {"connection_id":178281,"ip":"117.225.208.68","data_length":795,"data_hex":"000000000000030f8e0a000001a0854ed4380100000000000000000000000000..."} 
[2026-09-09 14:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854ed4380100000000000000000000000000..."} 
[2026-09-09 14:07:44] local.INFO: Processing buffer {"connection_id":178281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854ed4380100000000000000000000000000..."} 
[2026-09-09 14:07:44] local.INFO: Packet analysis {"connection_id":178281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:07:44] local.INFO: Extracted packet for processing {"connection_id":178281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:07:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 14:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969375232001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5546745933362438146,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788942931000,"timestamp_ms":1788942931000,"timestamp_seconds":1788942931,"priority":1,"record_length":96,"hex_timestamp":"000001a0854ed438"} 
[2026-09-09 14:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 14:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":178281,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 14:07:44] local.INFO: GPS data processed {"connection_id":178281,"processed":0,"errors":0,"total":1} 
[2026-09-09 14:07:44] local.INFO: Acknowledgment sent {"connection_id":178281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:07:44] local.INFO: TCP Data received {"connection_id":178280,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:07:44] local.INFO: Processing buffer {"connection_id":178280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:07:44] local.INFO: Packet analysis {"connection_id":178280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:07:44] local.INFO: Extracted packet for processing {"connection_id":178280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":178280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:07:44] local.INFO: GPS data processed {"connection_id":178280,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:07:44] local.INFO: Acknowledgment sent {"connection_id":178280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:07:46] local.INFO: TCP Data received {"connection_id":178281,"ip":"117.225.208.68","data_length":795,"data_hex":"000000000000030f8e0a000001a0854e5738012c4d3a8009d8cc30022e009d2e..."} 
[2026-09-09 14:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854e5738012c4d3a8009d8cc30022e009d2e..."} 
[2026-09-09 14:07:46] local.INFO: Processing buffer {"connection_id":178281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854e5738012c4d3a8009d8cc30022e009d2e..."} 
[2026-09-09 14:07:46] local.INFO: Packet analysis {"connection_id":178281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:07:46] local.INFO: Extracted packet for processing {"connection_id":178281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:07:46] local.INFO: GPS Element Parsed {"raw_longitude":743258752,"raw_latitude":165202992,"longitude_deg":74.3258752,"latitude_deg":16.5202992,"altitude":558,"angle":157,"satellites":46,"speed":55,"hex_longitude":"2c4d3a80","hex_latitude":"09d8cc30","is_valid_coordinates":true} 
[2026-09-09 14:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:07:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,155,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 14:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788942899000,"timestamp_ms":1788942899000,"timestamp_seconds":1788942899,"priority":1,"record_length":96,"hex_timestamp":"000001a0854e5738"} 
[2026-09-09 14:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:07: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 14:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"155":206,"9":8448,"24":55,"16":3893920429768704},"client_ip":"117.225.208.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,9,24,16]} 
[2026-09-09 14:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 14:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 14:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 14:07:46] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 14:07:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 14:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:07:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_155":206,"unknown_9":8448,"ignition":55,"odometer":null}} 
[2026-09-09 14:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":178281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:07:47] local.INFO: GPS data processed {"connection_id":178281,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:07:47] local.INFO: Acknowledgment sent {"connection_id":178281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:08:06] local.INFO: TCP Data received {"connection_id":178279,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854e0918012d1971c0071febb00039011727..."} 
[2026-09-09 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854e0918012d1971c0071febb00039011727..."} 
[2026-09-09 14:08:06] local.INFO: Processing buffer {"connection_id":178279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854e0918012d1971c0071febb00039011727..."} 
[2026-09-09 14:08:06] local.INFO: Packet analysis {"connection_id":178279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:08:06] local.INFO: Extracted packet for processing {"connection_id":178279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756642240,"raw_latitude":119532464,"longitude_deg":75.664224,"latitude_deg":11.9532464,"altitude":57,"angle":279,"satellites":39,"speed":12,"hex_longitude":"2d1971c0","hex_latitude":"071febb0","is_valid_coordinates":true} 
[2026-09-09 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969375744001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888578973040640,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835568722474655744,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08: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-09-09 14:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788942879000,"timestamp_ms":1788942879000,"timestamp_seconds":1788942879,"priority":1,"record_length":96,"hex_timestamp":"000001a0854e0918"} 
[2026-09-09 14:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:08: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-09-09 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-09 14:08: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-09-09 14:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969375744001,"66":12863,"102":206,"83":41984,"24":12,"16":18888578973040640,"45":1835568722474655744},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969375744001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:08:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888578973040640,"km_value":18888578973040.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835568722474655744,"description":"Unknown IO ID 45"} 
[2026-09-09 14:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969375744001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1835568722474655744}} 
[2026-09-09 14:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":178279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:08:07] local.INFO: GPS data processed {"connection_id":178279,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:08:07] local.INFO: Acknowledgment sent {"connection_id":178279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:08:16] local.INFO: TCP Data received {"connection_id":178280,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:08:16] local.INFO: Processing buffer {"connection_id":178280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:08:16] local.INFO: Packet analysis {"connection_id":178280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:08:16] local.INFO: Extracted packet for processing {"connection_id":178280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":178280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:08:16] local.INFO: GPS data processed {"connection_id":178280,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:08:16] local.INFO: Acknowledgment sent {"connection_id":178280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:08:17] local.INFO: TCP Data received {"connection_id":178281,"ip":"117.225.208.68","data_length":795,"data_hex":"000000000000030f8e0a000001a0854ea940012c4d59c009d87f60022e009e2d..."} 
[2026-09-09 14:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854ea940012c4d59c009d87f60022e009e2d..."} 
[2026-09-09 14:08:17] local.INFO: Processing buffer {"connection_id":178281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854ea940012c4d59c009d87f60022e009e2d..."} 
[2026-09-09 14:08:17] local.INFO: Packet analysis {"connection_id":178281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:08:17] local.INFO: Extracted packet for processing {"connection_id":178281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:08:17] local.INFO: GPS Element Parsed {"raw_longitude":743266752,"raw_latitude":165183328,"longitude_deg":74.3266752,"latitude_deg":16.5183328,"altitude":558,"angle":158,"satellites":45,"speed":0,"hex_longitude":"2c4d59c0","hex_latitude":"09d87f60","is_valid_coordinates":true} 
[2026-09-09 14:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969382144001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5564901069349990402,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788942920000,"timestamp_ms":1788942920000,"timestamp_seconds":1788942920,"priority":1,"record_length":96,"hex_timestamp":"000001a0854ea940"} 
[2026-09-09 14:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 14:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969382144001,"66":28267,"155":206,"9":8448,"24":0,"16":3893920429768704,"44":5564901069349990402},"client_ip":"117.225.208.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,9,24,16,44]} 
[2026-09-09 14:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 14:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 14:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969382144001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:08:17] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 14:08:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 14:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:08:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":5564901069349990402,"description":"Unknown IO ID 44"} 
[2026-09-09 14:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969382144001,"power":28267,"unknown_155":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5564901069349990402}} 
[2026-09-09 14:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":178281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:08:18] local.INFO: GPS data processed {"connection_id":178281,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:08:18] local.INFO: Acknowledgment sent {"connection_id":178281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:08:30] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:08:30] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:08:30] local.INFO: IMEI packet received {"connection_id":176865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":176865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:08:35] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:08:35] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:08:35] local.INFO: IMEI packet received {"connection_id":176865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":176865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:08:36] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854e5b20012d1968c0071fedc00039011a28..."} 
[2026-09-09 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854e5b20012d1968c0071fedc00039011a28..."} 
[2026-09-09 14:08:36] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854e5b20012d1968c0071fedc00039011a28..."} 
[2026-09-09 14:08:36] local.INFO: Packet analysis {"connection_id":176865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:08:36] local.INFO: Extracted packet for processing {"connection_id":176865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532992,"longitude_deg":75.6639936,"latitude_deg":11.9532992,"altitude":57,"angle":282,"satellites":40,"speed":4,"hex_longitude":"2d1968c0","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969377024001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888694937157632,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833457660149346304,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788942900000,"timestamp_ms":1788942900000,"timestamp_seconds":1788942900,"priority":1,"record_length":96,"hex_timestamp":"000001a0854e5b20"} 
[2026-09-09 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-09-09 14:08: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-09-09 14:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-09 14:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969377024001,"66":12798,"102":206,"83":41984,"24":4,"16":18888694937157632,"45":1833457660149346304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969377024001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:08:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888694937157632,"km_value":18888694937157.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833457660149346304,"description":"Unknown IO ID 45"} 
[2026-09-09 14:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969377024001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1833457660149346304}} 
[2026-09-09 14:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":176865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:08:36] local.INFO: GPS data processed {"connection_id":176865,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:08:36] local.INFO: Acknowledgment sent {"connection_id":176865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:08:39] local.INFO: TCP Data received {"connection_id":175705,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:08:39] local.INFO: Processing buffer {"connection_id":175705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:08:39] local.INFO: IMEI packet received {"connection_id":175705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":175705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:08:43] local.INFO: TCP Data received {"connection_id":175484,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:08:43] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:08:43] local.INFO: IMEI packet received {"connection_id":175484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":175484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:08:44] local.INFO: TCP Data received {"connection_id":175705,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:08:44] local.INFO: Processing buffer {"connection_id":175705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:08:44] local.INFO: IMEI packet received {"connection_id":175705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:08:45] local.INFO: TCP Data received {"connection_id":175705,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:08:45] local.INFO: Processing buffer {"connection_id":175705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:08:45] local.INFO: Packet analysis {"connection_id":175705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:08:45] local.INFO: Extracted packet for processing {"connection_id":175705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:08:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":175705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:08:45] local.INFO: GPS data processed {"connection_id":175705,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:08:45] local.INFO: Acknowledgment sent {"connection_id":175705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:08:46] local.INFO: TCP Data received {"connection_id":175484,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:08:46] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:08:46] local.INFO: IMEI packet received {"connection_id":175484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 14:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":175484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:08:47] local.INFO: TCP Data received {"connection_id":175484,"ip":"117.225.208.68","data_length":795,"data_hex":"000000000000030f8e0a000001a0854efb48012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854efb48012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:08:47] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854efb48012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:08:47] local.INFO: Packet analysis {"connection_id":175484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:08:47] local.INFO: Extracted packet for processing {"connection_id":175484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:08:47] local.INFO: GPS Element Parsed {"raw_longitude":743273408,"raw_latitude":165168016,"longitude_deg":74.3273408,"latitude_deg":16.5168016,"altitude":567,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2c4d73c0","hex_latitude":"09d84390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969387520001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5573697162367164418,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788942941000,"timestamp_ms":1788942941000,"timestamp_seconds":1788942941,"priority":1,"record_length":96,"hex_timestamp":"000001a0854efb48"} 
[2026-09-09 14:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:08: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-09-09 14: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 14:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969387520001,"66":28234,"155":206,"9":8448,"24":0,"16":3893920429768704,"44":5573697162367164418},"client_ip":"117.225.208.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,9,24,16,44]} 
[2026-09-09 14:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 14:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 14:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969387520001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:08:47] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 14:08:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 14:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:08:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":5573697162367164418,"description":"Unknown IO ID 44"} 
[2026-09-09 14:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969387520001,"power":28234,"unknown_155":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5573697162367164418}} 
[2026-09-09 14:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":175484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:08:48] local.INFO: GPS data processed {"connection_id":175484,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:08:48] local.INFO: Acknowledgment sent {"connection_id":175484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:08:48] local.INFO: TCP Data received {"connection_id":175484,"ip":"117.225.208.68","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f4d50012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f4d50012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:08:48] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f4d50012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:08:48] local.INFO: Packet analysis {"connection_id":175484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:08:48] local.INFO: Extracted packet for processing {"connection_id":175484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:08:48] local.INFO: GPS Element Parsed {"raw_longitude":743273408,"raw_latitude":165168016,"longitude_deg":74.3273408,"latitude_deg":16.5168016,"altitude":567,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2c4d73c0","hex_latitude":"09d84390","is_valid_coordinates":true} 
[2026-09-09 14:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969392896001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5581015511757721602,"note":"Value kept but may cause issues"} 
[2026-09-09 14:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788942962000,"timestamp_ms":1788942962000,"timestamp_seconds":1788942962,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f4d50"} 
[2026-09-09 14:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-09 14:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969392896001,"66":28256,"155":206,"9":8448,"24":0,"16":3893920429768704,"44":5581015511757721602},"client_ip":"117.225.208.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,9,24,16,44]} 
[2026-09-09 14:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 14:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 14:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969392896001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:08:48] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 14:08:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 14:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":5581015511757721602,"description":"Unknown IO ID 44"} 
[2026-09-09 14:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969392896001,"power":28256,"unknown_155":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5581015511757721602}} 
[2026-09-09 14:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":175484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:08:48] local.INFO: GPS data processed {"connection_id":175484,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:08:48] local.INFO: Acknowledgment sent {"connection_id":175484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:09:07] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854ead28012d196780071fedd00039011127..."} 
[2026-09-09 14:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854ead28012d196780071fedd00039011127..."} 
[2026-09-09 14:09:07] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854ead28012d196780071fedd00039011127..."} 
[2026-09-09 14:09:07] local.INFO: Packet analysis {"connection_id":176865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:09:07] local.INFO: Extracted packet for processing {"connection_id":176865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969382400001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359085568,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788942921000,"timestamp_ms":1788942921000,"timestamp_seconds":1788942921,"priority":1,"record_length":96,"hex_timestamp":"000001a0854ead28"} 
[2026-09-09 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-09-09 14:09: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-09-09 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 14:09: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-09-09 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-09-09 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-09-09 14:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969382400001,"66":12798,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830924385359085568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969382400001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:09:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359085568,"description":"Unknown IO ID 45"} 
[2026-09-09 14:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969382400001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359085568}} 
[2026-09-09 14:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":176865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:09:07] local.INFO: GPS data processed {"connection_id":176865,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:09:07] local.INFO: Acknowledgment sent {"connection_id":176865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:09:16] local.INFO: TCP Data received {"connection_id":175705,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:09:16] local.INFO: Processing buffer {"connection_id":175705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:09:16] local.INFO: Packet analysis {"connection_id":175705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:09:16] local.INFO: Extracted packet for processing {"connection_id":175705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:09:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":175705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:09:16] local.INFO: GPS data processed {"connection_id":175705,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:09:16] local.INFO: Acknowledgment sent {"connection_id":175705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:09:20] local.INFO: TCP Data received {"connection_id":175484,"ip":"117.225.208.68","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9f58012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9f58012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:09:20] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9f58012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:09:20] local.INFO: Packet analysis {"connection_id":175484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:09:20] local.INFO: Extracted packet for processing {"connection_id":175484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":743273408,"raw_latitude":165168016,"longitude_deg":74.3273408,"latitude_deg":16.5168016,"altitude":567,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2c4d73c0","hex_latitude":"09d84390","is_valid_coordinates":true} 
[2026-09-09 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969398272001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5581015511757721602,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788942983000,"timestamp_ms":1788942983000,"timestamp_seconds":1788942983,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9f58"} 
[2026-09-09 14:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 14:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969398272001,"66":28245,"155":206,"9":8448,"24":0,"16":3893920429768704,"44":5581015511757721602},"client_ip":"117.225.208.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,9,24,16,44]} 
[2026-09-09 14:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 14:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 14:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969398272001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:09:20] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 14:09:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 14:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":5581015511757721602,"description":"Unknown IO ID 44"} 
[2026-09-09 14:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969398272001,"power":28245,"unknown_155":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5581015511757721602}} 
[2026-09-09 14:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":175484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:09:21] local.INFO: GPS data processed {"connection_id":175484,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:09:21] local.INFO: Acknowledgment sent {"connection_id":175484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:09:30] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:09:30] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:09:30] local.INFO: IMEI packet received {"connection_id":175706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":175706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:09:35] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:09:35] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:09:35] local.INFO: IMEI packet received {"connection_id":175706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":175706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:09:36] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854eff30012d196780071fedd00039011125..."} 
[2026-09-09 14:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854eff30012d196780071fedd00039011125..."} 
[2026-09-09 14:09:36] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854eff30012d196780071fedd00039011125..."} 
[2026-09-09 14:09:36] local.INFO: Packet analysis {"connection_id":175706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:09:36] local.INFO: Extracted packet for processing {"connection_id":175706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854e"} 
[2026-09-09 14:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969387776001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788942942000,"timestamp_ms":1788942942000,"timestamp_seconds":1788942942,"priority":1,"record_length":96,"hex_timestamp":"000001a0854eff30"} 
[2026-09-09 14:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:09: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-09-09 14:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 14:09: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-09-09 14:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969387776001,"66":12722,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969387776001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:09:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969387776001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":175706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:09:36] local.INFO: GPS data processed {"connection_id":175706,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:09:36] local.INFO: Acknowledgment sent {"connection_id":175706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:09:38] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:09:38] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:09:38] local.INFO: IMEI packet received {"connection_id":175485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":175485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:09:41] local.INFO: TCP Data received {"connection_id":175486,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:09:41] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:09:41] local.INFO: IMEI packet received {"connection_id":175486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":175486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:09:43] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:09:43] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:09:43] local.INFO: IMEI packet received {"connection_id":175485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":175485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:09:44] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:09:44] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:09:44] local.INFO: Packet analysis {"connection_id":175485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:09:44] local.INFO: Extracted packet for processing {"connection_id":175485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:09:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":175485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:09:44] local.INFO: GPS data processed {"connection_id":175485,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:09:44] local.INFO: Acknowledgment sent {"connection_id":175485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:10:06] local.INFO: TCP Data received {"connection_id":175486,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:10:06] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:10:06] local.INFO: IMEI packet received {"connection_id":175486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 14:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":175486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:10:07] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f5138012d196780071fedd00039011127..."} 
[2026-09-09 14:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f5138012d196780071fedd00039011127..."} 
[2026-09-09 14:10:07] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f5138012d196780071fedd00039011127..."} 
[2026-09-09 14:10:07] local.INFO: Packet analysis {"connection_id":175706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:07] local.INFO: Extracted packet for processing {"connection_id":175706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969393152001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788942963000,"timestamp_ms":1788942963000,"timestamp_seconds":1788942963,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f5138"} 
[2026-09-09 14:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:10: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-09-09 14: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-09-09 14: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-09-09 14: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-09-09 14:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969393152001,"66":12645,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969393152001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:10:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969393152001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":175706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:10:07] local.INFO: GPS data processed {"connection_id":175706,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:10:07] local.INFO: Acknowledgment sent {"connection_id":175706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:10:08] local.INFO: TCP Data received {"connection_id":175486,"ip":"117.225.208.68","data_length":795,"data_hex":"000000000000030f8e0a000001a0854ff160012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854ff160012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:10:08] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854ff160012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:10:08] local.INFO: Packet analysis {"connection_id":175486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:08] local.INFO: Extracted packet for processing {"connection_id":175486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:08] local.INFO: GPS Element Parsed {"raw_longitude":743273408,"raw_latitude":165168016,"longitude_deg":74.3273408,"latitude_deg":16.5168016,"altitude":567,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2c4d73c0","hex_latitude":"09d84390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403648001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5581015511757721602,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788943004000,"timestamp_ms":1788943004000,"timestamp_seconds":1788943004,"priority":1,"record_length":96,"hex_timestamp":"000001a0854ff160"} 
[2026-09-09 14:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-09 14:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403648001,"66":28267,"155":206,"9":8448,"24":0,"16":3893920429768704,"44":5581015511757721602},"client_ip":"117.225.208.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,9,24,16,44]} 
[2026-09-09 14:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 14:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 14:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403648001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:10:08] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 14:10:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 14:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:10:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":5581015511757721602,"description":"Unknown IO ID 44"} 
[2026-09-09 14:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403648001,"power":28267,"unknown_155":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5581015511757721602}} 
[2026-09-09 14:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":175486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:10:09] local.INFO: GPS data processed {"connection_id":175486,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:10:09] local.INFO: Acknowledgment sent {"connection_id":175486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:10:16] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:10:16] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:10:16] local.INFO: Packet analysis {"connection_id":175485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:16] local.INFO: Extracted packet for processing {"connection_id":175485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":175485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:10:16] local.INFO: GPS data processed {"connection_id":175485,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:10:16] local.INFO: Acknowledgment sent {"connection_id":175485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:10:32] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:10:32] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:10:32] local.INFO: IMEI packet received {"connection_id":176866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":176866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:10:35] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:10:35] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:10:35] local.INFO: IMEI packet received {"connection_id":176866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":176866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:10:38] local.INFO: TCP Data received {"connection_id":176867,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:10:38] local.INFO: Processing buffer {"connection_id":176867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:10:38] local.INFO: IMEI packet received {"connection_id":176867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":176867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:10:40] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:10:40] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:10:40] local.INFO: IMEI packet received {"connection_id":176866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":176866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:10:40] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854fa340012d196780071fedd00039011128..."} 
[2026-09-09 14:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854fa340012d196780071fedd00039011128..."} 
[2026-09-09 14:10:40] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854fa340012d196780071fedd00039011128..."} 
[2026-09-09 14:10:40] local.INFO: Packet analysis {"connection_id":176866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:40] local.INFO: Extracted packet for processing {"connection_id":176866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969398528001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10: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-09-09 14:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788942984000,"timestamp_ms":1788942984000,"timestamp_seconds":1788942984,"priority":1,"record_length":96,"hex_timestamp":"000001a0854fa340"} 
[2026-09-09 14:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-09 14:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969398528001,"66":12526,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969398528001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:10:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:10:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969398528001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":176866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:10:41] local.INFO: GPS data processed {"connection_id":176866,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:10:41] local.INFO: Acknowledgment sent {"connection_id":176866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:10:44] local.INFO: TCP Data received {"connection_id":176867,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:10:44] local.INFO: Processing buffer {"connection_id":176867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:10:44] local.INFO: IMEI packet received {"connection_id":176867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":176867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:10:45] local.INFO: TCP Data received {"connection_id":176867,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:10:45] local.INFO: Processing buffer {"connection_id":176867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:10:45] local.INFO: Packet analysis {"connection_id":176867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:45] local.INFO: Extracted packet for processing {"connection_id":176867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:10:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":176867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:10:45] local.INFO: GPS data processed {"connection_id":176867,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:10:45] local.INFO: Acknowledgment sent {"connection_id":176867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:11:11] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0854ff548012d196780071fedd00039011127..."} 
[2026-09-09 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854ff548012d196780071fedd00039011127..."} 
[2026-09-09 14:11:11] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854ff548012d196780071fedd00039011127..."} 
[2026-09-09 14:11:11] local.INFO: Packet analysis {"connection_id":176866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:11:11] local.INFO: Extracted packet for processing {"connection_id":176866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403904001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11: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-09-09 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788943005000,"timestamp_ms":1788943005000,"timestamp_seconds":1788943005,"priority":1,"record_length":96,"hex_timestamp":"000001a0854ff548"} 
[2026-09-09 14:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:11: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-09-09 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 14:11: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-09-09 14:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403904001,"66":12667,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403904001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:11:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403904001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":176866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:11:11] local.INFO: GPS data processed {"connection_id":176866,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:11:11] local.INFO: Acknowledgment sent {"connection_id":176866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:11:16] local.INFO: TCP Data received {"connection_id":176867,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:11:16] local.INFO: Processing buffer {"connection_id":176867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:11:16] local.INFO: Packet analysis {"connection_id":176867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:11:16] local.INFO: Extracted packet for processing {"connection_id":176867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":176867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:11:16] local.INFO: GPS data processed {"connection_id":176867,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:11:16] local.INFO: Acknowledgment sent {"connection_id":176867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:11:17] local.INFO: TCP Data received {"connection_id":178282,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:11:17] local.INFO: Processing buffer {"connection_id":178282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:11:17] local.INFO: IMEI packet received {"connection_id":178282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":178282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:11:23] local.INFO: TCP Data received {"connection_id":178282,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:11:23] local.INFO: Processing buffer {"connection_id":178282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:11:23] local.INFO: IMEI packet received {"connection_id":178282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 14:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":178282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:11:24] local.INFO: TCP Data received {"connection_id":178282,"ip":"117.225.208.68","data_length":795,"data_hex":"000000000000030f8e0a000001a085504368012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085504368012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:11:24] local.INFO: Processing buffer {"connection_id":178282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085504368012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:11:24] local.INFO: Packet analysis {"connection_id":178282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:11:24] local.INFO: Extracted packet for processing {"connection_id":178282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:11:24] local.INFO: GPS Element Parsed {"raw_longitude":743273408,"raw_latitude":165168016,"longitude_deg":74.3273408,"latitude_deg":16.5168016,"altitude":567,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2c4d73c0","hex_latitude":"09d84390","is_valid_coordinates":true} 
[2026-09-09 14:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969409024001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5581015511757721602,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788943025000,"timestamp_ms":1788943025000,"timestamp_seconds":1788943025,"priority":1,"record_length":96,"hex_timestamp":"000001a085504368"} 
[2026-09-09 14:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:11: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-09-09 14:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 14:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969409024001,"66":27713,"155":206,"9":8448,"24":0,"16":3893920429768704,"44":5581015511757721602},"client_ip":"117.225.208.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,9,24,16,44]} 
[2026-09-09 14:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 14:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 14:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969409024001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:11:24] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 14:11:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 14:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":5581015511757721602,"description":"Unknown IO ID 44"} 
[2026-09-09 14:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969409024001,"power":27713,"unknown_155":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5581015511757721602}} 
[2026-09-09 14:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":178282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:11:24] local.INFO: GPS data processed {"connection_id":178282,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:11:24] local.INFO: Acknowledgment sent {"connection_id":178282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:11:30] local.INFO: TCP Data received {"connection_id":176868,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:11:30] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:11:30] local.INFO: IMEI packet received {"connection_id":176868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":176868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:11:35] local.INFO: TCP Data received {"connection_id":176868,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:11:35] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:11:35] local.INFO: IMEI packet received {"connection_id":176868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":176868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:11:36] local.INFO: TCP Data received {"connection_id":176868,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085504750012d196780071fedd00039011127..."} 
[2026-09-09 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085504750012d196780071fedd00039011127..."} 
[2026-09-09 14:11:36] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085504750012d196780071fedd00039011127..."} 
[2026-09-09 14:11:36] local.INFO: Packet analysis {"connection_id":176868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:11:36] local.INFO: Extracted packet for processing {"connection_id":176868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969409280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788943026000,"timestamp_ms":1788943026000,"timestamp_seconds":1788943026,"priority":1,"record_length":96,"hex_timestamp":"000001a085504750"} 
[2026-09-09 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-09-09 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-09 14:11: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-09-09 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-09-09 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-09-09 14:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969409280001,"66":12613,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969409280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:11:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969409280001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":176868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:11:36] local.INFO: GPS data processed {"connection_id":176868,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:11:36] local.INFO: Acknowledgment sent {"connection_id":176868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:11:38] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:11:38] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:11:38] local.INFO: IMEI packet received {"connection_id":175487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":175487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:11:44] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:11:44] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:11:44] local.INFO: IMEI packet received {"connection_id":175487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":175487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:11:44] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:11:44] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0854f9b70012d34c48006aa4990000a008d27..."} 
[2026-09-09 14:11:44] local.INFO: Packet analysis {"connection_id":175487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:11:44] local.INFO: Extracted packet for processing {"connection_id":175487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0854f"} 
[2026-09-09 14:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969326592001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788942982000,"timestamp_ms":1788942982000,"timestamp_seconds":1788942982,"priority":1,"record_length":96,"hex_timestamp":"000001a0854f9b70"} 
[2026-09-09 14:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969326592001,"66":25734,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969326592001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969326592001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":175487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:11:45] local.INFO: GPS data processed {"connection_id":175487,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:11:45] local.INFO: Acknowledgment sent {"connection_id":175487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:11:51] local.INFO: TCP Data received {"connection_id":178283,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:11:51] local.INFO: Processing buffer {"connection_id":178283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:11:51] local.INFO: IMEI packet received {"connection_id":178283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":178283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:12:07] local.INFO: TCP Data received {"connection_id":176868,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085509958012d196780071fedd0003901112a..."} 
[2026-09-09 14:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085509958012d196780071fedd0003901112a..."} 
[2026-09-09 14:12:07] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085509958012d196780071fedd0003901112a..."} 
[2026-09-09 14:12:07] local.INFO: Packet analysis {"connection_id":176868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:12:07] local.INFO: Extracted packet for processing {"connection_id":176868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969414656001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788943047000,"timestamp_ms":1788943047000,"timestamp_seconds":1788943047,"priority":1,"record_length":96,"hex_timestamp":"000001a085509958"} 
[2026-09-09 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-09-09 14:12: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-09-09 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-09 14:12: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-09-09 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-09-09 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-09-09 14:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969414656001,"66":12558,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969414656001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:12:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969414656001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":176868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:12:07] local.INFO: GPS data processed {"connection_id":176868,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:12:07] local.INFO: Acknowledgment sent {"connection_id":176868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:12:08] local.INFO: TCP Data received {"connection_id":178283,"ip":"117.225.208.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:12:08] local.INFO: Processing buffer {"connection_id":178283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:12:08] local.INFO: IMEI packet received {"connection_id":178283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 14:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":178283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:12:14] local.INFO: TCP Data received {"connection_id":178283,"ip":"117.225.208.68","data_length":795,"data_hex":"000000000000030f8e0a000001a085509570012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085509570012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:12:14] local.INFO: Processing buffer {"connection_id":178283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085509570012c4d73c009d843900237009d2e..."} 
[2026-09-09 14:12:14] local.INFO: Packet analysis {"connection_id":178283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:12:14] local.INFO: Extracted packet for processing {"connection_id":178283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:12:14] local.INFO: GPS Element Parsed {"raw_longitude":743273408,"raw_latitude":165168016,"longitude_deg":74.3273408,"latitude_deg":16.5168016,"altitude":567,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2c4d73c0","hex_latitude":"09d84390","is_valid_coordinates":true} 
[2026-09-09 14:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969414400001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5581015511757721602,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788943046000,"timestamp_ms":1788943046000,"timestamp_seconds":1788943046,"priority":1,"record_length":96,"hex_timestamp":"000001a085509570"} 
[2026-09-09 14:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:12: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-09-09 14:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 14:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 14:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.208.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 14:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 14:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969414400001,"66":28300,"155":206,"9":8448,"24":0,"16":3893920429768704,"44":5581015511757721602},"client_ip":"117.225.208.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,9,24,16,44]} 
[2026-09-09 14:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 14:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 14:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969414400001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:12:14] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 14:12:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-09 14:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:12:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":5581015511757721602,"description":"Unknown IO ID 44"} 
[2026-09-09 14:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969414400001,"power":28300,"unknown_155":206,"unknown_9":8448,"ignition":0,"odometer":null,"unknown_44":5581015511757721602}} 
[2026-09-09 14:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":178283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:12:14] local.INFO: GPS data processed {"connection_id":178283,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:12:14] local.INFO: Acknowledgment sent {"connection_id":178283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:12:16] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:12:16] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:12:16] local.INFO: Packet analysis {"connection_id":175487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:12:16] local.INFO: Extracted packet for processing {"connection_id":175487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 14:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":175487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:12:16] local.INFO: GPS data processed {"connection_id":175487,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:12:16] local.INFO: Acknowledgment sent {"connection_id":175487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:12:30] local.INFO: TCP Data received {"connection_id":176869,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:12:30] local.INFO: Processing buffer {"connection_id":176869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:12:30] local.INFO: IMEI packet received {"connection_id":176869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":176869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:12:35] local.INFO: TCP Data received {"connection_id":176869,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:12:35] local.INFO: Processing buffer {"connection_id":176869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:12:35] local.INFO: IMEI packet received {"connection_id":176869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":176869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:12:36] local.INFO: TCP Data received {"connection_id":176869,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08550eb60012d196780071fedd00039011127..."} 
[2026-09-09 14:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08550eb60012d196780071fedd00039011127..."} 
[2026-09-09 14:12:36] local.INFO: Processing buffer {"connection_id":176869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08550eb60012d196780071fedd00039011127..."} 
[2026-09-09 14:12:36] local.INFO: Packet analysis {"connection_id":176869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:12:36] local.INFO: Extracted packet for processing {"connection_id":176869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08550"} 
[2026-09-09 14:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969420032001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788943068000,"timestamp_ms":1788943068000,"timestamp_seconds":1788943068,"priority":1,"record_length":96,"hex_timestamp":"000001a08550eb60"} 
[2026-09-09 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-09-09 14:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2236525864,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066048,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831737,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408043522,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,27,160,71,45,128,237,57,39,10,66,245,163,1,240,238,227,133,31,4,113,205,255,103,208,37,239,49,2,67,7,120,75,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 14:12:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107583207224901632,"timestamp_seconds":4107583207224901.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 14:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969420032001,"66":12548,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969420032001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:12:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969420032001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":176869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:12:36] local.INFO: GPS data processed {"connection_id":176869,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:12:36] local.INFO: Acknowledgment sent {"connection_id":176869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:12:39] local.INFO: TCP Data received {"connection_id":176870,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:12:39] local.INFO: Processing buffer {"connection_id":176870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:12:39] local.INFO: IMEI packet received {"connection_id":176870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":176870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:12:44] local.INFO: TCP Data received {"connection_id":176870,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:12:44] local.INFO: Processing buffer {"connection_id":176870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:12:44] local.INFO: IMEI packet received {"connection_id":176870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":176870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:12:44] local.INFO: TCP Data received {"connection_id":176870,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:12:44] local.INFO: Processing buffer {"connection_id":176870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:12:44] local.INFO: Packet analysis {"connection_id":176870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:12:44] local.INFO: Extracted packet for processing {"connection_id":176870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 14:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":176870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:12:44] local.INFO: GPS data processed {"connection_id":176870,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:12:44] local.INFO: Acknowledgment sent {"connection_id":176870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:13:07] local.INFO: TCP Data received {"connection_id":176869,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855471b8012d196780071fedd00039011129..."} 
[2026-09-09 14:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855471b8012d196780071fedd00039011129..."} 
[2026-09-09 14:13:07] local.INFO: Processing buffer {"connection_id":176869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855471b8012d196780071fedd00039011129..."} 
[2026-09-09 14:13:07] local.INFO: Packet analysis {"connection_id":176869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:13:07] local.INFO: Extracted packet for processing {"connection_id":176869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969479168001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788943299000,"timestamp_ms":1788943299000,"timestamp_seconds":1788943299,"priority":1,"record_length":96,"hex_timestamp":"000001a0855471b8"} 
[2026-09-09 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-09-09 14: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-09-09 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 14:13: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-09-09 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-09-09 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-09-09 14:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969479168001,"66":12374,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969479168001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:13:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969479168001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":176869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:13:07] local.INFO: GPS data processed {"connection_id":176869,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:13:07] local.INFO: Acknowledgment sent {"connection_id":176869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:13:16] local.INFO: TCP Data received {"connection_id":176870,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:13:16] local.INFO: Processing buffer {"connection_id":176870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:13:16] local.INFO: Packet analysis {"connection_id":176870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:13:16] local.INFO: Extracted packet for processing {"connection_id":176870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 14:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":176870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:13:16] local.INFO: GPS data processed {"connection_id":176870,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:13:16] local.INFO: Acknowledgment sent {"connection_id":176870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:13:30] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:13:30] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:13:30] local.INFO: IMEI packet received {"connection_id":175488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":175488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:13:35] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:13:35] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:13:35] local.INFO: IMEI packet received {"connection_id":175488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":175488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:13:35] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08554c3c0012d196780071fedd00039011128..."} 
[2026-09-09 14:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08554c3c0012d196780071fedd00039011128..."} 
[2026-09-09 14:13:35] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08554c3c0012d196780071fedd00039011128..."} 
[2026-09-09 14:13:35] local.INFO: Packet analysis {"connection_id":175488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:13:35] local.INFO: Extracted packet for processing {"connection_id":175488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969484544001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788943320000,"timestamp_ms":1788943320000,"timestamp_seconds":1788943320,"priority":1,"record_length":96,"hex_timestamp":"000001a08554c3c0"} 
[2026-09-09 14:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 14:13: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-09-09 14: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-09-09 14:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969484544001,"66":12385,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969484544001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:13:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969484544001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":175488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:13:35] local.INFO: GPS data processed {"connection_id":175488,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:13:35] local.INFO: Acknowledgment sent {"connection_id":175488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:13:39] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:13:39] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:13:39] local.INFO: IMEI packet received {"connection_id":175489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":175489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:13:43] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:13:43] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:13:43] local.INFO: IMEI packet received {"connection_id":175489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":175489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:13:44] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:13:44] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:13:44] local.INFO: Packet analysis {"connection_id":175489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:13:44] local.INFO: Extracted packet for processing {"connection_id":175489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 14:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":175489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:13:44] local.INFO: GPS data processed {"connection_id":175489,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:13:44] local.INFO: Acknowledgment sent {"connection_id":175489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:14:06] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855515c8012d196780071fedd00039011126..."} 
[2026-09-09 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855515c8012d196780071fedd00039011126..."} 
[2026-09-09 14:14:06] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855515c8012d196780071fedd00039011126..."} 
[2026-09-09 14:14:06] local.INFO: Packet analysis {"connection_id":175488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08555"} 
[2026-09-09 14:14:06] local.INFO: Extracted packet for processing {"connection_id":175488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08555"} 
[2026-09-09 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969489920001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788943341000,"timestamp_ms":1788943341000,"timestamp_seconds":1788943341,"priority":1,"record_length":96,"hex_timestamp":"000001a0855515c8"} 
[2026-09-09 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 14:14: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-09-09 14: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-09-09 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969489920001,"66":12385,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969489920001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969489920001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":175488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:14:07] local.INFO: GPS data processed {"connection_id":175488,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:14:07] local.INFO: Acknowledgment sent {"connection_id":175488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:14:15] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:14:15] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:14:15] local.INFO: Packet analysis {"connection_id":175489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:14:15] local.INFO: Extracted packet for processing {"connection_id":175489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 14:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":175489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:14:15] local.INFO: GPS data processed {"connection_id":175489,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:14:15] local.INFO: Acknowledgment sent {"connection_id":175489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:14:30] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:14:30] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:14:30] local.INFO: IMEI packet received {"connection_id":175707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":175707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:14:35] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:14:35] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:14:35] local.INFO: IMEI packet received {"connection_id":175707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":175707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:14:36] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855567d0012d196780071fedd00039011125..."} 
[2026-09-09 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855567d0012d196780071fedd00039011125..."} 
[2026-09-09 14:14:36] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855567d0012d196780071fedd00039011125..."} 
[2026-09-09 14:14:36] local.INFO: Packet analysis {"connection_id":175707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08555"} 
[2026-09-09 14:14:36] local.INFO: Extracted packet for processing {"connection_id":175707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08555"} 
[2026-09-09 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969495296001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788943362000,"timestamp_ms":1788943362000,"timestamp_seconds":1788943362,"priority":1,"record_length":96,"hex_timestamp":"000001a0855567d0"} 
[2026-09-09 14:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":97,"data_length":795,"current_offset":136} 
[2026-09-09 14:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969495296001,"66":12385,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969495296001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969495296001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":175707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:14:36] local.INFO: GPS data processed {"connection_id":175707,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:14:36] local.INFO: Acknowledgment sent {"connection_id":175707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:14:38] local.INFO: TCP Data received {"connection_id":178284,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:14:38] local.INFO: Processing buffer {"connection_id":178284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:14:38] local.INFO: IMEI packet received {"connection_id":178284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":178284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:14:44] local.INFO: TCP Data received {"connection_id":178284,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:14:44] local.INFO: Processing buffer {"connection_id":178284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:14:44] local.INFO: IMEI packet received {"connection_id":178284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":178284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:14:45] local.INFO: TCP Data received {"connection_id":178284,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:14:45] local.INFO: Processing buffer {"connection_id":178284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:14:45] local.INFO: Packet analysis {"connection_id":178284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:14:45] local.INFO: Extracted packet for processing {"connection_id":178284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 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-09-09 14:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:14:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":178284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:14:45] local.INFO: GPS data processed {"connection_id":178284,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:14:45] local.INFO: Acknowledgment sent {"connection_id":178284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:15:07] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08555b9d8012d196780071fedd00039011126..."} 
[2026-09-09 14:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08555b9d8012d196780071fedd00039011126..."} 
[2026-09-09 14:15:07] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08555b9d8012d196780071fedd00039011126..."} 
[2026-09-09 14:15:07] local.INFO: Packet analysis {"connection_id":175707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08555"} 
[2026-09-09 14:15:07] local.INFO: Extracted packet for processing {"connection_id":175707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08555"} 
[2026-09-09 14:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969500672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788943383000,"timestamp_ms":1788943383000,"timestamp_seconds":1788943383,"priority":1,"record_length":96,"hex_timestamp":"000001a08555b9d8"} 
[2026-09-09 14:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14: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-09-09 14: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":97,"data_length":795,"current_offset":136} 
[2026-09-09 14:15: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-09-09 14:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969500672001,"66":12385,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969500672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:15:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969500672001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":175707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:15:07] local.INFO: GPS data processed {"connection_id":175707,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:15:07] local.INFO: Acknowledgment sent {"connection_id":175707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:15:16] local.INFO: TCP Data received {"connection_id":178284,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:15:16] local.INFO: Processing buffer {"connection_id":178284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:15:16] local.INFO: Packet analysis {"connection_id":178284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:15:16] local.INFO: Extracted packet for processing {"connection_id":178284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 14:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":178284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:15:16] local.INFO: GPS data processed {"connection_id":178284,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:15:16] local.INFO: Acknowledgment sent {"connection_id":178284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:15:30] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:15:30] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:15:30] local.INFO: IMEI packet received {"connection_id":175490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":175490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:15:35] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:15:35] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:15:35] local.INFO: IMEI packet received {"connection_id":175490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":175490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:15:36] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085560be0012d196780071fedd00039011127..."} 
[2026-09-09 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085560be0012d196780071fedd00039011127..."} 
[2026-09-09 14:15:36] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085560be0012d196780071fedd00039011127..."} 
[2026-09-09 14:15:36] local.INFO: Packet analysis {"connection_id":175490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08556"} 
[2026-09-09 14:15:36] local.INFO: Extracted packet for processing {"connection_id":175490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08556"} 
[2026-09-09 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969506048001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788943404000,"timestamp_ms":1788943404000,"timestamp_seconds":1788943404,"priority":1,"record_length":96,"hex_timestamp":"000001a085560be0"} 
[2026-09-09 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-09-09 14:15: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-09-09 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 14:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969506048001,"66":11754,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969506048001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:15:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969506048001,"power":11754,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":175490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:15:36] local.INFO: GPS data processed {"connection_id":175490,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:15:36] local.INFO: Acknowledgment sent {"connection_id":175490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:15:38] local.INFO: TCP Data received {"connection_id":176871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:15:38] local.INFO: Processing buffer {"connection_id":176871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:15:38] local.INFO: IMEI packet received {"connection_id":176871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":176871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:15:44] local.INFO: TCP Data received {"connection_id":176871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:15:44] local.INFO: Processing buffer {"connection_id":176871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:15:44] local.INFO: IMEI packet received {"connection_id":176871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":176871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:15:46] local.INFO: TCP Data received {"connection_id":176871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:15:46] local.INFO: Processing buffer {"connection_id":176871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:15:46] local.INFO: Packet analysis {"connection_id":176871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:15:46] local.INFO: Extracted packet for processing {"connection_id":176871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 14:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":176871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:15:46] local.INFO: GPS data processed {"connection_id":176871,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:15:46] local.INFO: Acknowledgment sent {"connection_id":176871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:16:07] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085565de8012d196780071fedd00039011129..."} 
[2026-09-09 14:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085565de8012d196780071fedd00039011129..."} 
[2026-09-09 14:16:07] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085565de8012d196780071fedd00039011129..."} 
[2026-09-09 14:16:07] local.INFO: Packet analysis {"connection_id":175490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08556"} 
[2026-09-09 14:16:07] local.INFO: Extracted packet for processing {"connection_id":175490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08556"} 
[2026-09-09 14:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969511424001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788943425000,"timestamp_ms":1788943425000,"timestamp_seconds":1788943425,"priority":1,"record_length":96,"hex_timestamp":"000001a085565de8"} 
[2026-09-09 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-09-09 14: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-09-09 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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-09 14:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969511424001,"66":12298,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969511424001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:16:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969511424001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":175490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:16:07] local.INFO: GPS data processed {"connection_id":175490,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:16:07] local.INFO: Acknowledgment sent {"connection_id":175490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:16:17] local.INFO: TCP Data received {"connection_id":176871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:16:17] local.INFO: Processing buffer {"connection_id":176871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:16:17] local.INFO: Packet analysis {"connection_id":176871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:16:17] local.INFO: Extracted packet for processing {"connection_id":176871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 14:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":176871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:16:17] local.INFO: GPS data processed {"connection_id":176871,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:16:17] local.INFO: Acknowledgment sent {"connection_id":176871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:16:30] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:16:30] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:16:30] local.INFO: IMEI packet received {"connection_id":175708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":175708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:16:35] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:16:35] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:16:35] local.INFO: IMEI packet received {"connection_id":175708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":175708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:16:36] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08556aff0012d196780071fedd0003901112a..."} 
[2026-09-09 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08556aff0012d196780071fedd0003901112a..."} 
[2026-09-09 14:16:36] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08556aff0012d196780071fedd0003901112a..."} 
[2026-09-09 14:16:36] local.INFO: Packet analysis {"connection_id":175708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08556"} 
[2026-09-09 14:16:36] local.INFO: Extracted packet for processing {"connection_id":175708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08556"} 
[2026-09-09 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969516800001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788943446000,"timestamp_ms":1788943446000,"timestamp_seconds":1788943446,"priority":1,"record_length":96,"hex_timestamp":"000001a08556aff0"} 
[2026-09-09 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-09-09 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185667,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8839405327827003033,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390360156242193,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":57,"raw_value":76887748618747904,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305903822,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831737,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 14:16:36] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,27,160,11,45,128,237,57,39,10,66,185,38,103,1,240,97,227,133,31,4,113,205,195,208,40,239,48,2,67,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 14:16:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107583202929934336,"timestamp_seconds":4107583202929934.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969516800001,"66":12374,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969516800001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:16:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969516800001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":175708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:16:36] local.INFO: GPS data processed {"connection_id":175708,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:16:36] local.INFO: Acknowledgment sent {"connection_id":175708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:16:38] local.INFO: TCP Data received {"connection_id":176872,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:16:38] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:16:38] local.INFO: IMEI packet received {"connection_id":176872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":176872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:16:44] local.INFO: TCP Data received {"connection_id":176872,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:16:44] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:16:44] local.INFO: IMEI packet received {"connection_id":176872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":176872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:16:46] local.INFO: TCP Data received {"connection_id":176872,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:16:46] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085543720012d34c48006aa49900012008d27..."} 
[2026-09-09 14:16:46] local.INFO: Packet analysis {"connection_id":176872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:16:46] local.INFO: Extracted packet for processing {"connection_id":176872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08554"} 
[2026-09-09 14:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":18,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969403392001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788943284000,"timestamp_ms":1788943284000,"timestamp_seconds":1788943284,"priority":1,"record_length":96,"hex_timestamp":"000001a085543720"} 
[2026-09-09 14:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 14:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969403392001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969403392001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969403392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":176872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:16:46] local.INFO: GPS data processed {"connection_id":176872,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:16:46] local.INFO: Acknowledgment sent {"connection_id":176872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:17:07] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855701f8012d196780071fedd0003901112c..."} 
[2026-09-09 14:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855701f8012d196780071fedd0003901112c..."} 
[2026-09-09 14:17:07] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855701f8012d196780071fedd0003901112c..."} 
[2026-09-09 14:17:07] local.INFO: Packet analysis {"connection_id":175708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08557"} 
[2026-09-09 14:17:07] local.INFO: Extracted packet for processing {"connection_id":175708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08557"} 
[2026-09-09 14:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969522176001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788943467000,"timestamp_ms":1788943467000,"timestamp_seconds":1788943467,"priority":1,"record_length":96,"hex_timestamp":"000001a0855701f8"} 
[2026-09-09 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-09-09 14: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-09-09 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 14:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969522176001,"66":12298,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969522176001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:17:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969522176001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":175708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:17:07] local.INFO: GPS data processed {"connection_id":175708,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:17:07] local.INFO: Acknowledgment sent {"connection_id":175708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:17:17] local.INFO: TCP Data received {"connection_id":176872,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:17:17] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:17:17] local.INFO: Packet analysis {"connection_id":176872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:17:17] local.INFO: Extracted packet for processing {"connection_id":176872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 14:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":176872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:17:17] local.INFO: GPS data processed {"connection_id":176872,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:17:17] local.INFO: Acknowledgment sent {"connection_id":176872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:17:32] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:17:32] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:17:32] local.INFO: IMEI packet received {"connection_id":175709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":175709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:17:35] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:17:35] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:17:35] local.INFO: IMEI packet received {"connection_id":175709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":175709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:17:39] local.INFO: TCP Data received {"connection_id":178285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:17:39] local.INFO: Processing buffer {"connection_id":178285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:17:39] local.INFO: IMEI packet received {"connection_id":178285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":178285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:17:40] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:17:40] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:17:40] local.INFO: IMEI packet received {"connection_id":175709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":175709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:17:40] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085575400012d196780071fedd00039011126..."} 
[2026-09-09 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085575400012d196780071fedd00039011126..."} 
[2026-09-09 14:17:40] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085575400012d196780071fedd00039011126..."} 
[2026-09-09 14:17:40] local.INFO: Packet analysis {"connection_id":175709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08557"} 
[2026-09-09 14:17:40] local.INFO: Extracted packet for processing {"connection_id":175709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08557"} 
[2026-09-09 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969527552001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17: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-09-09 14:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788943488000,"timestamp_ms":1788943488000,"timestamp_seconds":1788943488,"priority":1,"record_length":96,"hex_timestamp":"000001a085575400"} 
[2026-09-09 14:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185667,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8839224939200571033,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390360156242193,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":57,"raw_value":76884450083864576,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049721038,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831737,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 14:17:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,27,160,175,45,128,237,57,42,10,66,93,41,11,1,240,234,227,133,31,4,113,205,103,208,37,239,48,2,67,7,40],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 14:17:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107583215814836224,"timestamp_seconds":4107583215814836.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 14:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969527552001,"66":12363,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969527552001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:17:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:17:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969527552001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":175709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:17:40] local.INFO: GPS data processed {"connection_id":175709,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:17:40] local.INFO: Acknowledgment sent {"connection_id":175709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:17:43] local.INFO: TCP Data received {"connection_id":178285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:17:43] local.INFO: Processing buffer {"connection_id":178285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:17:43] local.INFO: IMEI packet received {"connection_id":178285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":178285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:17:44] local.INFO: TCP Data received {"connection_id":178285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:17:44] local.INFO: Processing buffer {"connection_id":178285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:17:44] local.INFO: Packet analysis {"connection_id":178285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:17:44] local.INFO: Extracted packet for processing {"connection_id":178285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 14:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:17: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-09-09 14: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-09-09 14:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":178285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:17:44] local.INFO: GPS data processed {"connection_id":178285,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:17:44] local.INFO: Acknowledgment sent {"connection_id":178285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:17:45] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08557a608012d196780071fedd00039011129..."} 
[2026-09-09 14:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08557a608012d196780071fedd00039011129..."} 
[2026-09-09 14:17:45] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08557a608012d196780071fedd00039011129..."} 
[2026-09-09 14:17:45] local.INFO: Packet analysis {"connection_id":175709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08557"} 
[2026-09-09 14:17:45] local.INFO: Extracted packet for processing {"connection_id":175709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08557"} 
[2026-09-09 14:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969532928001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788943509000,"timestamp_ms":1788943509000,"timestamp_seconds":1788943509,"priority":1,"record_length":96,"hex_timestamp":"000001a08557a608"} 
[2026-09-09 14:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-09 14:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969532928001,"66":12385,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969532928001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:17:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969532928001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":175709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:17:45] local.INFO: GPS data processed {"connection_id":175709,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:17:45] local.INFO: Acknowledgment sent {"connection_id":175709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:18:16] local.INFO: TCP Data received {"connection_id":178285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:18:16] local.INFO: Processing buffer {"connection_id":178285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:18:16] local.INFO: Packet analysis {"connection_id":178285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:18:16] local.INFO: Extracted packet for processing {"connection_id":178285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 14:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":178285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:18:16] local.INFO: GPS data processed {"connection_id":178285,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:18:16] local.INFO: Acknowledgment sent {"connection_id":178285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:18:16] local.INFO: TCP Data received {"connection_id":176873,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:18:16] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:18:16] local.INFO: IMEI packet received {"connection_id":176873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":176873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:18:30] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:18:30] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:18:30] local.INFO: IMEI packet received {"connection_id":175491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":175491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:18:35] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:18:35] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:18:35] local.INFO: IMEI packet received {"connection_id":175491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":175491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:18:36] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08557f810012d196780071fedd0003901112c..."} 
[2026-09-09 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08557f810012d196780071fedd0003901112c..."} 
[2026-09-09 14:18:36] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08557f810012d196780071fedd0003901112c..."} 
[2026-09-09 14:18:36] local.INFO: Packet analysis {"connection_id":175491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08557"} 
[2026-09-09 14:18:36] local.INFO: Extracted packet for processing {"connection_id":175491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08557"} 
[2026-09-09 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969538304001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788943530000,"timestamp_ms":1788943530000,"timestamp_seconds":1788943530,"priority":1,"record_length":96,"hex_timestamp":"000001a08557f810"} 
[2026-09-09 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-09-09 14:18: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-09-09 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 14:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969538304001,"66":12341,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969538304001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:18:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969538304001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":175491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:18:36] local.INFO: GPS data processed {"connection_id":175491,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:18:36] local.INFO: Acknowledgment sent {"connection_id":175491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:18:39] local.INFO: TCP Data received {"connection_id":178286,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:18:39] local.INFO: Processing buffer {"connection_id":178286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:18:39] local.INFO: IMEI packet received {"connection_id":178286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":178286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:18:44] local.INFO: TCP Data received {"connection_id":178286,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:18:44] local.INFO: Processing buffer {"connection_id":178286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:18:44] local.INFO: IMEI packet received {"connection_id":178286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":178286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:18:45] local.INFO: TCP Data received {"connection_id":178286,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:18:45] local.INFO: Processing buffer {"connection_id":178286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:18:45] local.INFO: Packet analysis {"connection_id":178286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:18:45] local.INFO: Extracted packet for processing {"connection_id":178286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 14:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":178286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:18:45] local.INFO: GPS data processed {"connection_id":178286,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:18:45] local.INFO: Acknowledgment sent {"connection_id":178286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:18:46] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:18:46] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:18:46] local.INFO: IMEI packet received {"connection_id":175710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":175710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:19:06] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085584a18012d196780071fedd0003901112b..."} 
[2026-09-09 14:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085584a18012d196780071fedd0003901112b..."} 
[2026-09-09 14:19:06] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085584a18012d196780071fedd0003901112b..."} 
[2026-09-09 14:19:06] local.INFO: Packet analysis {"connection_id":175491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:19:06] local.INFO: Extracted packet for processing {"connection_id":175491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969543680001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788943551000,"timestamp_ms":1788943551000,"timestamp_seconds":1788943551,"priority":1,"record_length":96,"hex_timestamp":"000001a085584a18"} 
[2026-09-09 14:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 14:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969543680001,"66":12341,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969543680001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969543680001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":175491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:19:07] local.INFO: GPS data processed {"connection_id":175491,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:19:07] local.INFO: Acknowledgment sent {"connection_id":175491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:19:16] local.INFO: TCP Data received {"connection_id":178286,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:19:16] local.INFO: Processing buffer {"connection_id":178286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:19:16] local.INFO: Packet analysis {"connection_id":178286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:19:16] local.INFO: Extracted packet for processing {"connection_id":178286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 14:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":178286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:19:16] local.INFO: GPS data processed {"connection_id":178286,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:19:16] local.INFO: Acknowledgment sent {"connection_id":178286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:19:30] local.INFO: TCP Data received {"connection_id":175492,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:19:30] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:19:30] local.INFO: IMEI packet received {"connection_id":175492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":175492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:19:35] local.INFO: TCP Data received {"connection_id":175492,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:19:35] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:19:35] local.INFO: IMEI packet received {"connection_id":175492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":175492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:19:36] local.INFO: TCP Data received {"connection_id":175492,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085589c20012d196780071fedd0003901112c..."} 
[2026-09-09 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085589c20012d196780071fedd0003901112c..."} 
[2026-09-09 14:19:36] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085589c20012d196780071fedd0003901112c..."} 
[2026-09-09 14:19:36] local.INFO: Packet analysis {"connection_id":175492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:19:36] local.INFO: Extracted packet for processing {"connection_id":175492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969549056001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788943572000,"timestamp_ms":1788943572000,"timestamp_seconds":1788943572,"priority":1,"record_length":96,"hex_timestamp":"000001a085589c20"} 
[2026-09-09 14:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 14:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969549056001,"66":12341,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969549056001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:19:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969549056001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":175492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:19:36] local.INFO: GPS data processed {"connection_id":175492,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:19:36] local.INFO: Acknowledgment sent {"connection_id":175492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:19:39] local.INFO: TCP Data received {"connection_id":178287,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:19:39] local.INFO: Processing buffer {"connection_id":178287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:19:39] local.INFO: IMEI packet received {"connection_id":178287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":178287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:19:43] local.INFO: TCP Data received {"connection_id":178287,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:19:43] local.INFO: Processing buffer {"connection_id":178287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:19:43] local.INFO: IMEI packet received {"connection_id":178287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":178287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:19:45] local.INFO: TCP Data received {"connection_id":178287,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:19:45] local.INFO: Processing buffer {"connection_id":178287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:19:45] local.INFO: Packet analysis {"connection_id":178287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:19:45] local.INFO: Extracted packet for processing {"connection_id":178287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 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-09-09 14:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":178287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:19:45] local.INFO: GPS data processed {"connection_id":178287,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:19:45] local.INFO: Acknowledgment sent {"connection_id":178287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:20:07] local.INFO: TCP Data received {"connection_id":175492,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08558ee28012d196780071fedd0003901112a..."} 
[2026-09-09 14:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558ee28012d196780071fedd0003901112a..."} 
[2026-09-09 14:20:07] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558ee28012d196780071fedd0003901112a..."} 
[2026-09-09 14:20:07] local.INFO: Packet analysis {"connection_id":175492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:20:07] local.INFO: Extracted packet for processing {"connection_id":175492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969554432001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788943593000,"timestamp_ms":1788943593000,"timestamp_seconds":1788943593,"priority":1,"record_length":96,"hex_timestamp":"000001a08558ee28"} 
[2026-09-09 14:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:20: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-09-09 14:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 14:20: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-09-09 14:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969554432001,"66":12363,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969554432001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:20:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969554432001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":175492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:20:07] local.INFO: GPS data processed {"connection_id":175492,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:20:07] local.INFO: Acknowledgment sent {"connection_id":175492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:20:17] local.INFO: TCP Data received {"connection_id":178287,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:20:17] local.INFO: Processing buffer {"connection_id":178287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:20:17] local.INFO: Packet analysis {"connection_id":178287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:20:17] local.INFO: Extracted packet for processing {"connection_id":178287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 14:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":178287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:20:17] local.INFO: GPS data processed {"connection_id":178287,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:20:17] local.INFO: Acknowledgment sent {"connection_id":178287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:20:37] local.INFO: TCP Data received {"connection_id":175711,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:20:37] local.INFO: Processing buffer {"connection_id":175711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:20:37] local.INFO: IMEI packet received {"connection_id":175711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":175711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:20:38] local.INFO: TCP Data received {"connection_id":175711,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:20:38] local.INFO: Processing buffer {"connection_id":175711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:20:38] local.INFO: IMEI packet received {"connection_id":175711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":175711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:20:38] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:20:38] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:20:38] local.INFO: IMEI packet received {"connection_id":175712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":175712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:20:38] local.INFO: TCP Data received {"connection_id":175711,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085594030012d196780071fedd0003901112a..."} 
[2026-09-09 14:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085594030012d196780071fedd0003901112a..."} 
[2026-09-09 14:20:38] local.INFO: Processing buffer {"connection_id":175711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085594030012d196780071fedd0003901112a..."} 
[2026-09-09 14:20:38] local.INFO: Packet analysis {"connection_id":175711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08559"} 
[2026-09-09 14:20:38] local.INFO: Extracted packet for processing {"connection_id":175711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08559"} 
[2026-09-09 14:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969559808001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788943614000,"timestamp_ms":1788943614000,"timestamp_seconds":1788943614,"priority":1,"record_length":96,"hex_timestamp":"000001a085594030"} 
[2026-09-09 14:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14: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-09-09 14: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":75,"data_length":795,"current_offset":136} 
[2026-09-09 14:20: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-09-09 14: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-09-09 14:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969559808001,"66":12298,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969559808001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:20:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969559808001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":175711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:20:39] local.INFO: GPS data processed {"connection_id":175711,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:20:39] local.INFO: Acknowledgment sent {"connection_id":175711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:20:40] local.INFO: TCP Data received {"connection_id":175711,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085599238012d196780071fedd0003901112c..."} 
[2026-09-09 14:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085599238012d196780071fedd0003901112c..."} 
[2026-09-09 14:20:40] local.INFO: Processing buffer {"connection_id":175711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085599238012d196780071fedd0003901112c..."} 
[2026-09-09 14:20:40] local.INFO: Packet analysis {"connection_id":175711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08559"} 
[2026-09-09 14:20:40] local.INFO: Extracted packet for processing {"connection_id":175711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08559"} 
[2026-09-09 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788943635000,"timestamp_ms":1788943635000,"timestamp_seconds":1788943635,"priority":1,"record_length":96,"hex_timestamp":"000001a085599238"} 
[2026-09-09 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-09-09 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185667,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8838593579008059033,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390360156242193,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":57,"raw_value":76884450083864576,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019562086606,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831737,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 14:20:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,27,160,238,45,128,237,57,42,10,66,156,44,74,1,240,53,227,133,31,4,113,205,166,103,208,41,239,48,2,67,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 14:20:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107583207224901632,"timestamp_seconds":4107583207224901.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 14:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969565184001,"66":12341,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:20:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969565184001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":175711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:20:40] local.INFO: GPS data processed {"connection_id":175711,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:20:40] local.INFO: Acknowledgment sent {"connection_id":175711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:20:44] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:20:44] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:20:44] local.INFO: IMEI packet received {"connection_id":175712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":175712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:20:45] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:20:45] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:20:45] local.INFO: Packet analysis {"connection_id":175712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:20:45] local.INFO: Extracted packet for processing {"connection_id":175712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 14:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":175712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:20:45] local.INFO: GPS data processed {"connection_id":175712,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:20:45] local.INFO: Acknowledgment sent {"connection_id":175712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:21:11] local.INFO: TCP Data received {"connection_id":175711,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08559e440012d196780071fedd0003901112b..."} 
[2026-09-09 14:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08559e440012d196780071fedd0003901112b..."} 
[2026-09-09 14:21:11] local.INFO: Processing buffer {"connection_id":175711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08559e440012d196780071fedd0003901112b..."} 
[2026-09-09 14:21:11] local.INFO: Packet analysis {"connection_id":175711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08559"} 
[2026-09-09 14:21:11] local.INFO: Extracted packet for processing {"connection_id":175711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08559"} 
[2026-09-09 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969570560001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788943656000,"timestamp_ms":1788943656000,"timestamp_seconds":1788943656,"priority":1,"record_length":96,"hex_timestamp":"000001a08559e440"} 
[2026-09-09 14:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 14:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969570560001,"66":11602,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969570560001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:21:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969570560001,"power":11602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":175711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:21:11] local.INFO: GPS data processed {"connection_id":175711,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:21:11] local.INFO: Acknowledgment sent {"connection_id":175711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:21:16] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:21:16] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:21:16] local.INFO: Packet analysis {"connection_id":175712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:21:16] local.INFO: Extracted packet for processing {"connection_id":175712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 14:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":175712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:21:16] local.INFO: GPS data processed {"connection_id":175712,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:21:16] local.INFO: Acknowledgment sent {"connection_id":175712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:21:30] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:21:30] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:21:30] local.INFO: IMEI packet received {"connection_id":175713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":175713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:21:35] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:21:35] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:21:35] local.INFO: IMEI packet received {"connection_id":175713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":175713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:21:36] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855a3648012d196780071fedd0003901112a..."} 
[2026-09-09 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855a3648012d196780071fedd0003901112a..."} 
[2026-09-09 14:21:36] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855a3648012d196780071fedd0003901112a..."} 
[2026-09-09 14:21:36] local.INFO: Packet analysis {"connection_id":175713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855a"} 
[2026-09-09 14:21:36] local.INFO: Extracted packet for processing {"connection_id":175713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855a"} 
[2026-09-09 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969575936001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788943677000,"timestamp_ms":1788943677000,"timestamp_seconds":1788943677,"priority":1,"record_length":96,"hex_timestamp":"000001a0855a3648"} 
[2026-09-09 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-09-09 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 14:21:36] 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-09-09 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-09-09 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-09-09 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969575936001,"66":12287,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969575936001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:21:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969575936001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":175713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:21:36] local.INFO: GPS data processed {"connection_id":175713,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:21:36] local.INFO: Acknowledgment sent {"connection_id":175713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:21:43] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:21:43] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:21:43] local.INFO: IMEI packet received {"connection_id":175494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":175494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:21:49] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:21:49] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:21:49] local.INFO: IMEI packet received {"connection_id":175494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":175494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:21:49] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:21:49] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08558cb00012d34c48006aa49900007008d26..."} 
[2026-09-09 14:21:49] local.INFO: Packet analysis {"connection_id":175494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:21:49] local.INFO: Extracted packet for processing {"connection_id":175494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08558"} 
[2026-09-09 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":7,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969480704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788943584000,"timestamp_ms":1788943584000,"timestamp_seconds":1788943584,"priority":1,"record_length":96,"hex_timestamp":"000001a08558cb00"} 
[2026-09-09 14:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969480704001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969480704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969480704001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":175494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:21:50] local.INFO: GPS data processed {"connection_id":175494,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:21:50] local.INFO: Acknowledgment sent {"connection_id":175494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:22:06] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855a8850012d196780071fedd0003901112b..."} 
[2026-09-09 14:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855a8850012d196780071fedd0003901112b..."} 
[2026-09-09 14:22:06] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855a8850012d196780071fedd0003901112b..."} 
[2026-09-09 14:22:06] local.INFO: Packet analysis {"connection_id":175713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855a"} 
[2026-09-09 14:22:06] local.INFO: Extracted packet for processing {"connection_id":175713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855a"} 
[2026-09-09 14:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969581312001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22: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-09-09 14:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788943698000,"timestamp_ms":1788943698000,"timestamp_seconds":1788943698,"priority":1,"record_length":96,"hex_timestamp":"000001a0855a8850"} 
[2026-09-09 14:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14: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-09-09 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 14:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969581312001,"66":12341,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969581312001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:22:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969581312001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":175713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:22:07] local.INFO: GPS data processed {"connection_id":175713,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:22:07] local.INFO: Acknowledgment sent {"connection_id":175713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:22:21] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:22:21] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:22:21] local.INFO: Packet analysis {"connection_id":175494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:22:21] local.INFO: Extracted packet for processing {"connection_id":175494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":175494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:22:21] local.INFO: GPS data processed {"connection_id":175494,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:22:21] local.INFO: Acknowledgment sent {"connection_id":175494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:22:35] local.INFO: TCP Data received {"connection_id":178289,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:22:35] local.INFO: Processing buffer {"connection_id":178289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:22:35] local.INFO: IMEI packet received {"connection_id":178289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":178289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:22:38] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:22:38] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:22:38] local.INFO: IMEI packet received {"connection_id":175495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":175495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:22:40] local.INFO: TCP Data received {"connection_id":178289,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:22:40] local.INFO: Processing buffer {"connection_id":178289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:22:40] local.INFO: IMEI packet received {"connection_id":178289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":178289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:22:40] local.INFO: TCP Data received {"connection_id":178289,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855ada58012d196780071fedd0003901112b..."} 
[2026-09-09 14:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855ada58012d196780071fedd0003901112b..."} 
[2026-09-09 14:22:40] local.INFO: Processing buffer {"connection_id":178289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855ada58012d196780071fedd0003901112b..."} 
[2026-09-09 14:22:40] local.INFO: Packet analysis {"connection_id":178289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855a"} 
[2026-09-09 14:22:40] local.INFO: Extracted packet for processing {"connection_id":178289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855a"} 
[2026-09-09 14:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969586688001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22: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-09-09 14:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788943719000,"timestamp_ms":1788943719000,"timestamp_seconds":1788943719,"priority":1,"record_length":96,"hex_timestamp":"000001a0855ada58"} 
[2026-09-09 14:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 14:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969586688001,"66":12287,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969586688001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:22:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969586688001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":178289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:22:40] local.INFO: GPS data processed {"connection_id":178289,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:22:40] local.INFO: Acknowledgment sent {"connection_id":178289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:22:44] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:22:44] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:22:44] local.INFO: IMEI packet received {"connection_id":175495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":175495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:22:45] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:22:45] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:22:45] local.INFO: Packet analysis {"connection_id":175495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:22:45] local.INFO: Extracted packet for processing {"connection_id":175495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":175495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:22:45] local.INFO: GPS data processed {"connection_id":175495,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:22:45] local.INFO: Acknowledgment sent {"connection_id":175495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:22:45] local.INFO: TCP Data received {"connection_id":178289,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855b2c60012d196780071fedd00039011129..."} 
[2026-09-09 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855b2c60012d196780071fedd00039011129..."} 
[2026-09-09 14:22:45] local.INFO: Processing buffer {"connection_id":178289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855b2c60012d196780071fedd00039011129..."} 
[2026-09-09 14:22:45] local.INFO: Packet analysis {"connection_id":178289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855b"} 
[2026-09-09 14:22:45] local.INFO: Extracted packet for processing {"connection_id":178289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855b"} 
[2026-09-09 14:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969592064001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788943740000,"timestamp_ms":1788943740000,"timestamp_seconds":1788943740,"priority":1,"record_length":96,"hex_timestamp":"000001a0855b2c60"} 
[2026-09-09 14:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 14:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969592064001,"66":12287,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969592064001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:22:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969592064001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":178289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:22:45] local.INFO: GPS data processed {"connection_id":178289,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:22:45] local.INFO: Acknowledgment sent {"connection_id":178289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:23:16] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:23:16] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:23:16] local.INFO: Packet analysis {"connection_id":175495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:23:16] local.INFO: Extracted packet for processing {"connection_id":175495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":175495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:23:16] local.INFO: GPS data processed {"connection_id":175495,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:23:16] local.INFO: Acknowledgment sent {"connection_id":175495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:23:29] local.INFO: TCP Data received {"connection_id":176877,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:23:29] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:23:29] local.INFO: IMEI packet received {"connection_id":176877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":176877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:23:30] local.INFO: TCP Data received {"connection_id":176877,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:23:30] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:23:30] local.INFO: IMEI packet received {"connection_id":176877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":176877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:23:35] local.INFO: TCP Data received {"connection_id":176877,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:23:35] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:23:35] local.INFO: IMEI packet received {"connection_id":176877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":176877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:23:36] local.INFO: TCP Data received {"connection_id":176877,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855b7e68012d196780071fedd0003901112a..."} 
[2026-09-09 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855b7e68012d196780071fedd0003901112a..."} 
[2026-09-09 14:23:36] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855b7e68012d196780071fedd0003901112a..."} 
[2026-09-09 14:23:36] local.INFO: Packet analysis {"connection_id":176877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855b"} 
[2026-09-09 14:23:36] local.INFO: Extracted packet for processing {"connection_id":176877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855b"} 
[2026-09-09 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969597440001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788943761000,"timestamp_ms":1788943761000,"timestamp_seconds":1788943761,"priority":1,"record_length":96,"hex_timestamp":"000001a0855b7e68"} 
[2026-09-09 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-09-09 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-09 14:23: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-09-09 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-09-09 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-09-09 14:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969597440001,"66":12341,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969597440001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:23:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969597440001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":176877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:23:36] local.INFO: GPS data processed {"connection_id":176877,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:23:36] local.INFO: Acknowledgment sent {"connection_id":176877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:23:38] local.INFO: TCP Data received {"connection_id":175714,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:23:38] local.INFO: Processing buffer {"connection_id":175714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:23:38] local.INFO: IMEI packet received {"connection_id":175714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":175714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:23:43] local.INFO: TCP Data received {"connection_id":175714,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:23:43] local.INFO: Processing buffer {"connection_id":175714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:23:43] local.INFO: IMEI packet received {"connection_id":175714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":175714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:23:44] local.INFO: TCP Data received {"connection_id":175714,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:23:44] local.INFO: Processing buffer {"connection_id":175714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:23:44] local.INFO: Packet analysis {"connection_id":175714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:23:44] local.INFO: Extracted packet for processing {"connection_id":175714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:23: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-09-09 14:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":175714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:23:44] local.INFO: GPS data processed {"connection_id":175714,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:23:44] local.INFO: Acknowledgment sent {"connection_id":175714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:24:07] local.INFO: TCP Data received {"connection_id":176877,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855bd070012d196780071fedd0003901112b..."} 
[2026-09-09 14:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855bd070012d196780071fedd0003901112b..."} 
[2026-09-09 14:24:07] local.INFO: Processing buffer {"connection_id":176877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855bd070012d196780071fedd0003901112b..."} 
[2026-09-09 14:24:07] local.INFO: Packet analysis {"connection_id":176877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855b"} 
[2026-09-09 14:24:07] local.INFO: Extracted packet for processing {"connection_id":176877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855b"} 
[2026-09-09 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969602816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788943782000,"timestamp_ms":1788943782000,"timestamp_seconds":1788943782,"priority":1,"record_length":96,"hex_timestamp":"000001a0855bd070"} 
[2026-09-09 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-09-09 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 14:24: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-09-09 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-09-09 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-09-09 14:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969602816001,"66":12341,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969602816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:24:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969602816001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":176877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:24:07] local.INFO: GPS data processed {"connection_id":176877,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:24:07] local.INFO: Acknowledgment sent {"connection_id":176877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:24:16] local.INFO: TCP Data received {"connection_id":175714,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:24:16] local.INFO: Processing buffer {"connection_id":175714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:24:16] local.INFO: Packet analysis {"connection_id":175714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:24:16] local.INFO: Extracted packet for processing {"connection_id":175714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":175714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:24:16] local.INFO: GPS data processed {"connection_id":175714,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:24:16] local.INFO: Acknowledgment sent {"connection_id":175714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:24:16] local.INFO: TCP Data received {"connection_id":175496,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:24:16] local.INFO: Processing buffer {"connection_id":175496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:24:16] local.INFO: IMEI packet received {"connection_id":175496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":175496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:24:30] local.INFO: TCP Data received {"connection_id":176878,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:24:30] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:24:30] local.INFO: IMEI packet received {"connection_id":176878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":176878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:24:33] local.INFO: TCP Data received {"connection_id":176878,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:24:33] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:24:33] local.INFO: IMEI packet received {"connection_id":176878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":176878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:24:34] local.INFO: TCP Data received {"connection_id":176878,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855c2278012d196780071fedd0003901112a..."} 
[2026-09-09 14:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855c2278012d196780071fedd0003901112a..."} 
[2026-09-09 14:24:34] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855c2278012d196780071fedd0003901112a..."} 
[2026-09-09 14:24:34] local.INFO: Packet analysis {"connection_id":176878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855c"} 
[2026-09-09 14:24:34] local.INFO: Extracted packet for processing {"connection_id":176878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855c"} 
[2026-09-09 14:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969608192001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24: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-09-09 14:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788943803000,"timestamp_ms":1788943803000,"timestamp_seconds":1788943803,"priority":1,"record_length":96,"hex_timestamp":"000001a0855c2278"} 
[2026-09-09 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-09-09 14:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 14:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969608192001,"66":12265,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969608192001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:24:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969608192001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":176878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:24:34] local.INFO: GPS data processed {"connection_id":176878,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:24:34] local.INFO: Acknowledgment sent {"connection_id":176878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:24:38] local.INFO: TCP Data received {"connection_id":175497,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:24:38] local.INFO: Processing buffer {"connection_id":175497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:24:38] local.INFO: IMEI packet received {"connection_id":175497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":175497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:24:41] local.INFO: TCP Data received {"connection_id":175715,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:24:41] local.INFO: Processing buffer {"connection_id":175715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:24:41] local.INFO: IMEI packet received {"connection_id":175715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":175715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:24:44] local.INFO: TCP Data received {"connection_id":175497,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:24:44] local.INFO: Processing buffer {"connection_id":175497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:24:44] local.INFO: IMEI packet received {"connection_id":175497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":175497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:24:45] local.INFO: TCP Data received {"connection_id":175497,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:24:45] local.INFO: Processing buffer {"connection_id":175497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:24:45] local.INFO: Packet analysis {"connection_id":175497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:24:45] local.INFO: Extracted packet for processing {"connection_id":175497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":175497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:24:45] local.INFO: GPS data processed {"connection_id":175497,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:24:45] local.INFO: Acknowledgment sent {"connection_id":175497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:25:05] local.INFO: TCP Data received {"connection_id":176878,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855c7480012d196780071fedd0003901112b..."} 
[2026-09-09 14:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855c7480012d196780071fedd0003901112b..."} 
[2026-09-09 14:25:05] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855c7480012d196780071fedd0003901112b..."} 
[2026-09-09 14:25:05] local.INFO: Packet analysis {"connection_id":176878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855c"} 
[2026-09-09 14:25:05] local.INFO: Extracted packet for processing {"connection_id":176878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855c"} 
[2026-09-09 14:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969613568001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788943824000,"timestamp_ms":1788943824000,"timestamp_seconds":1788943824,"priority":1,"record_length":96,"hex_timestamp":"000001a0855c7480"} 
[2026-09-09 14:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:25: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-09-09 14: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 14:25:05] 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-09-09 14:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969613568001,"66":12287,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969613568001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:25:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969613568001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":176878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:25:05] local.INFO: GPS data processed {"connection_id":176878,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:25:05] local.INFO: Acknowledgment sent {"connection_id":176878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:25:17] local.INFO: TCP Data received {"connection_id":175497,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:25:17] local.INFO: Processing buffer {"connection_id":175497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:25:17] local.INFO: Packet analysis {"connection_id":175497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:25:17] local.INFO: Extracted packet for processing {"connection_id":175497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":175497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:25:17] local.INFO: GPS data processed {"connection_id":175497,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:25:17] local.INFO: Acknowledgment sent {"connection_id":175497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:25:30] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:25:30] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:25:30] local.INFO: IMEI packet received {"connection_id":175498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":175498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:25:35] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:25:35] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:25:35] local.INFO: IMEI packet received {"connection_id":175498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":175498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:25:36] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0855ffad8012d196780071fedd0003901112a..."} 
[2026-09-09 14:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855ffad8012d196780071fedd0003901112a..."} 
[2026-09-09 14:25:36] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855ffad8012d196780071fedd0003901112a..."} 
[2026-09-09 14:25:36] local.INFO: Packet analysis {"connection_id":175498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855f"} 
[2026-09-09 14:25:36] local.INFO: Extracted packet for processing {"connection_id":175498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855f"} 
[2026-09-09 14:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969672704001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788944055000,"timestamp_ms":1788944055000,"timestamp_seconds":1788944055,"priority":1,"record_length":96,"hex_timestamp":"000001a0855ffad8"} 
[2026-09-09 14:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-09 14:25:36] 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-09-09 14: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-09-09 14:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969672704001,"66":12298,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969672704001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:25:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969672704001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":175498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:25:36] local.INFO: GPS data processed {"connection_id":175498,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:25:36] local.INFO: Acknowledgment sent {"connection_id":175498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:25:43] local.INFO: TCP Data received {"connection_id":176879,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:25:43] local.INFO: Processing buffer {"connection_id":176879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:25:43] local.INFO: IMEI packet received {"connection_id":176879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":176879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:25:49] local.INFO: TCP Data received {"connection_id":176879,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:25:49] local.INFO: Processing buffer {"connection_id":176879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:25:49] local.INFO: IMEI packet received {"connection_id":176879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":176879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:25:50] local.INFO: TCP Data received {"connection_id":176879,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:25:50] local.INFO: Processing buffer {"connection_id":176879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:25:50] local.INFO: Packet analysis {"connection_id":176879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:25:50] local.INFO: Extracted packet for processing {"connection_id":176879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:25:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":176879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:25:50] local.INFO: GPS data processed {"connection_id":176879,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:25:50] local.INFO: Acknowledgment sent {"connection_id":176879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:26:07] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085604ce0012d196780071fedd0003901112a..."} 
[2026-09-09 14:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085604ce0012d196780071fedd0003901112a..."} 
[2026-09-09 14:26:07] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085604ce0012d196780071fedd0003901112a..."} 
[2026-09-09 14:26:07] local.INFO: Packet analysis {"connection_id":175498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08560"} 
[2026-09-09 14:26:07] local.INFO: Extracted packet for processing {"connection_id":175498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08560"} 
[2026-09-09 14:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969678080001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26: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-09-09 14:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788944076000,"timestamp_ms":1788944076000,"timestamp_seconds":1788944076,"priority":1,"record_length":96,"hex_timestamp":"000001a085604ce0"} 
[2026-09-09 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-09-09 14:26: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-09-09 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":10,"data_length":795,"current_offset":136} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185667,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8836699498430523033,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390360156242193,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":57,"raw_value":76887748618747904,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831737,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,27,160,168,45,128,237,57,40,10,66,86,4,1,240,53,227,133,31,113,205,96,103,208,41,239,48,2,67,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 14:26:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107583207224901632,"timestamp_seconds":4107583207224901.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 14:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969678080001,"66":12319,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969678080001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:26:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969678080001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":175498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:26:07] local.INFO: GPS data processed {"connection_id":175498,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:26:07] local.INFO: Acknowledgment sent {"connection_id":175498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:26:22] local.INFO: TCP Data received {"connection_id":176879,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:26:22] local.INFO: Processing buffer {"connection_id":176879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:26:22] local.INFO: Packet analysis {"connection_id":176879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:26:22] local.INFO: Extracted packet for processing {"connection_id":176879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:26:22] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:26:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":176879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:26:22] local.INFO: GPS data processed {"connection_id":176879,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:26:22] local.INFO: Acknowledgment sent {"connection_id":176879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:26:30] local.INFO: TCP Data received {"connection_id":178291,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:26:30] local.INFO: Processing buffer {"connection_id":178291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:26:30] local.INFO: IMEI packet received {"connection_id":178291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":178291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:26:35] local.INFO: TCP Data received {"connection_id":178291,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:26:35] local.INFO: Processing buffer {"connection_id":178291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:26:35] local.INFO: IMEI packet received {"connection_id":178291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":178291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:26:35] local.INFO: TCP Data received {"connection_id":178291,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085609ee8012d196780071fedd00039011128..."} 
[2026-09-09 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085609ee8012d196780071fedd00039011128..."} 
[2026-09-09 14:26:35] local.INFO: Processing buffer {"connection_id":178291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085609ee8012d196780071fedd00039011128..."} 
[2026-09-09 14:26:35] local.INFO: Packet analysis {"connection_id":178291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08560"} 
[2026-09-09 14:26:35] local.INFO: Extracted packet for processing {"connection_id":178291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08560"} 
[2026-09-09 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969683456001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788944097000,"timestamp_ms":1788944097000,"timestamp_seconds":1788944097,"priority":1,"record_length":96,"hex_timestamp":"000001a085609ee8"} 
[2026-09-09 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-09-09 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 14:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969683456001,"66":12298,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969683456001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:26:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969683456001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":178291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:26:36] local.INFO: GPS data processed {"connection_id":178291,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:26:36] local.INFO: Acknowledgment sent {"connection_id":178291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:26:39] local.INFO: TCP Data received {"connection_id":176880,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:26:39] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:26:39] local.INFO: IMEI packet received {"connection_id":176880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":176880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:26:44] local.INFO: TCP Data received {"connection_id":176880,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:26:44] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:26:44] local.INFO: IMEI packet received {"connection_id":176880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":176880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:26:45] local.INFO: TCP Data received {"connection_id":176880,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:26:45] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0855d66b0012d34c48006aa49900008008d27..."} 
[2026-09-09 14:26:45] local.INFO: Packet analysis {"connection_id":176880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:26:45] local.INFO: Extracted packet for processing {"connection_id":176880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0855d"} 
[2026-09-09 14:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969557504001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788943886000,"timestamp_ms":1788943886000,"timestamp_seconds":1788943886,"priority":1,"record_length":96,"hex_timestamp":"000001a0855d66b0"} 
[2026-09-09 14:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969557504001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969557504001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:26:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969557504001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":176880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:26:45] local.INFO: GPS data processed {"connection_id":176880,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:26:45] local.INFO: Acknowledgment sent {"connection_id":176880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:27:07] local.INFO: TCP Data received {"connection_id":178291,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08560f0f0012d196780071fedd0003901112a..."} 
[2026-09-09 14:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08560f0f0012d196780071fedd0003901112a..."} 
[2026-09-09 14:27:07] local.INFO: Processing buffer {"connection_id":178291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08560f0f0012d196780071fedd0003901112a..."} 
[2026-09-09 14:27:07] local.INFO: Packet analysis {"connection_id":178291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08560"} 
[2026-09-09 14:27:07] local.INFO: Extracted packet for processing {"connection_id":178291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08560"} 
[2026-09-09 14:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969688832001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788944118000,"timestamp_ms":1788944118000,"timestamp_seconds":1788944118,"priority":1,"record_length":96,"hex_timestamp":"000001a08560f0f0"} 
[2026-09-09 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-09-09 14:27: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-09-09 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185667,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8836519109804091033,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390360156242193,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":57,"raw_value":76889947642003456,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831737,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 14:27:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,27,160,76,45,128,237,57,42,10,66,250,168,1,240,191,227,133,31,4,113,205,103,208,41,239,48,2,67,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 14:27:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107583198634967040,"timestamp_seconds":4107583198634967.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 14:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969688832001,"66":12298,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969688832001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:27:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969688832001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":178291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:27:07] local.INFO: GPS data processed {"connection_id":178291,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:27:07] local.INFO: Acknowledgment sent {"connection_id":178291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:27:17] local.INFO: TCP Data received {"connection_id":176880,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:27:17] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:27:17] local.INFO: Packet analysis {"connection_id":176880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:27:17] local.INFO: Extracted packet for processing {"connection_id":176880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 14:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:27: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-09-09 14:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":176880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:27:17] local.INFO: GPS data processed {"connection_id":176880,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:27:17] local.INFO: Acknowledgment sent {"connection_id":176880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:27:30] local.INFO: TCP Data received {"connection_id":176881,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:27:30] local.INFO: Processing buffer {"connection_id":176881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:27:30] local.INFO: IMEI packet received {"connection_id":176881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":176881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:27:35] local.INFO: TCP Data received {"connection_id":176881,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:27:35] local.INFO: Processing buffer {"connection_id":176881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:27:35] local.INFO: IMEI packet received {"connection_id":176881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":176881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:27:36] local.INFO: TCP Data received {"connection_id":176881,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0856142f8012d196780071fedd0003901112a..."} 
[2026-09-09 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856142f8012d196780071fedd0003901112a..."} 
[2026-09-09 14:27:36] local.INFO: Processing buffer {"connection_id":176881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856142f8012d196780071fedd0003901112a..."} 
[2026-09-09 14:27:36] local.INFO: Packet analysis {"connection_id":176881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:27:36] local.INFO: Extracted packet for processing {"connection_id":176881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969694208001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788944139000,"timestamp_ms":1788944139000,"timestamp_seconds":1788944139,"priority":1,"record_length":96,"hex_timestamp":"000001a0856142f8"} 
[2026-09-09 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-09-09 14:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185667,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8836428915490875033,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390360156242193,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":57,"raw_value":76887748618747904,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831737,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,27,160,158,45,128,237,57,40,10,66,76,42,250,1,240,227,133,31,4,113,205,86,103,208,239,47,2,67,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 14:27:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107583207224901632,"timestamp_seconds":4107583207224901.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 14:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969694208001,"66":12298,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969694208001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969694208001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":176881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:27:36] local.INFO: GPS data processed {"connection_id":176881,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:27:36] local.INFO: Acknowledgment sent {"connection_id":176881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:27:38] local.INFO: TCP Data received {"connection_id":178292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:27:38] local.INFO: Processing buffer {"connection_id":178292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:27:38] local.INFO: IMEI packet received {"connection_id":178292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":178292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:27:43] local.INFO: TCP Data received {"connection_id":178292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:27:43] local.INFO: Processing buffer {"connection_id":178292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:27:43] local.INFO: IMEI packet received {"connection_id":178292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":178292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:27:44] local.INFO: TCP Data received {"connection_id":178292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:27:44] local.INFO: Processing buffer {"connection_id":178292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:27:44] local.INFO: Packet analysis {"connection_id":178292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:27:44] local.INFO: Extracted packet for processing {"connection_id":178292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 14:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":178292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:27:44] local.INFO: GPS data processed {"connection_id":178292,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:27:44] local.INFO: Acknowledgment sent {"connection_id":178292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:28:07] local.INFO: TCP Data received {"connection_id":176881,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085619500012d196780071fedd0003901112c..."} 
[2026-09-09 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085619500012d196780071fedd0003901112c..."} 
[2026-09-09 14:28:07] local.INFO: Processing buffer {"connection_id":176881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085619500012d196780071fedd0003901112c..."} 
[2026-09-09 14:28:07] local.INFO: Packet analysis {"connection_id":176881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:28:07] local.INFO: Extracted packet for processing {"connection_id":176881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969699584001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788944160000,"timestamp_ms":1788944160000,"timestamp_seconds":1788944160,"priority":1,"record_length":96,"hex_timestamp":"000001a085619500"} 
[2026-09-09 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-09-09 14:28: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-09-09 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185667,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8836338721177659033,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3204500856,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390360156242193,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":57,"raw_value":76886649107120128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831737,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,27,160,240,45,128,237,57,42,10,66,158,40,76,1,31,227,133,4,113,205,168,103,208,239,2,67,7,41],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 14:28:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107583207224901632,"timestamp_seconds":4107583207224901.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 14:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969699584001,"66":11852,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969699584001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:28:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969699584001,"power":11852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":176881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:28:07] local.INFO: GPS data processed {"connection_id":176881,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:28:07] local.INFO: Acknowledgment sent {"connection_id":176881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:28:16] local.INFO: TCP Data received {"connection_id":178292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:28:16] local.INFO: Processing buffer {"connection_id":178292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:28:16] local.INFO: Packet analysis {"connection_id":178292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:28:16] local.INFO: Extracted packet for processing {"connection_id":178292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 14:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":178292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:28:16] local.INFO: GPS data processed {"connection_id":178292,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:28:16] local.INFO: Acknowledgment sent {"connection_id":178292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:28:30] local.INFO: TCP Data received {"connection_id":178293,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:28:30] local.INFO: Processing buffer {"connection_id":178293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:28:30] local.INFO: IMEI packet received {"connection_id":178293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":178293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:28:35] local.INFO: TCP Data received {"connection_id":178293,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:28:35] local.INFO: Processing buffer {"connection_id":178293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:28:35] local.INFO: IMEI packet received {"connection_id":178293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":178293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:28:36] local.INFO: TCP Data received {"connection_id":178293,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08561e708012d196780071fedd00039011129..."} 
[2026-09-09 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561e708012d196780071fedd00039011129..."} 
[2026-09-09 14:28:36] local.INFO: Processing buffer {"connection_id":178293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561e708012d196780071fedd00039011129..."} 
[2026-09-09 14:28:36] local.INFO: Packet analysis {"connection_id":178293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:28:36] local.INFO: Extracted packet for processing {"connection_id":178293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533008,"longitude_deg":75.6639616,"latitude_deg":11.9533008,"altitude":57,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969704960001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888712117026816,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638201344,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788944181000,"timestamp_ms":1788944181000,"timestamp_seconds":1788944181,"priority":1,"record_length":96,"hex_timestamp":"000001a08561e708"} 
[2026-09-09 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-09-09 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-09 14:28:36] 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-09-09 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-09-09 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-09-09 14:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969704960001,"66":12298,"102":206,"83":41984,"24":0,"16":18888712117026816,"45":1830572541638201344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 14:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969704960001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 14:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888712117026816,"km_value":18888712117026.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638201344,"description":"Unknown IO ID 45"} 
[2026-09-09 14:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969704960001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638201344}} 
[2026-09-09 14:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":178293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:28:36] local.INFO: GPS data processed {"connection_id":178293,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:28:36] local.INFO: Acknowledgment sent {"connection_id":178293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:28:38] local.INFO: TCP Data received {"connection_id":178294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:28:38] local.INFO: Processing buffer {"connection_id":178294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:28:38] local.INFO: IMEI packet received {"connection_id":178294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":178294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:28:44] local.INFO: TCP Data received {"connection_id":178294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:28:44] local.INFO: Processing buffer {"connection_id":178294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:28:44] local.INFO: IMEI packet received {"connection_id":178294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":178294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:28:45] local.INFO: TCP Data received {"connection_id":178294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:28:45] local.INFO: Processing buffer {"connection_id":178294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:28:45] local.INFO: Packet analysis {"connection_id":178294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:28:45] local.INFO: Extracted packet for processing {"connection_id":178294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 14:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":178294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:28:45] local.INFO: GPS data processed {"connection_id":178294,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:28:45] local.INFO: Acknowledgment sent {"connection_id":178294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:29:07] local.INFO: TCP Data received {"connection_id":178293,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08563cf50012d197b40071febc8003e005829..."} 
[2026-09-09 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08563cf50012d197b40071febc8003e005829..."} 
[2026-09-09 14:29:07] local.INFO: Processing buffer {"connection_id":178293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08563cf50012d197b40071febc8003e005829..."} 
[2026-09-09 14:29:07] local.INFO: Packet analysis {"connection_id":178293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08563"} 
[2026-09-09 14:29:07] local.INFO: Extracted packet for processing {"connection_id":178293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08563"} 
[2026-09-09 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756644672,"raw_latitude":119532488,"longitude_deg":75.6644672,"latitude_deg":11.9532488,"altitude":62,"angle":88,"satellites":41,"speed":23,"hex_longitude":"2d197b40","hex_latitude":"071febc8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969740032001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888956930162688,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441544988672,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29: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-09-09 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788944306000,"timestamp_ms":1788944306000,"timestamp_seconds":1788944306,"priority":1,"record_length":96,"hex_timestamp":"000001a08563cf50"} 
[2026-09-09 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-09-09 14:29: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-09-09 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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-09 14:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969740032001,"66":14135,"101":206,"83":41984,"24":23,"16":18888956930162688,"45":1831698441544988672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969740032001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:29:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888956930162688,"km_value":18888956930162.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441544988672,"description":"Unknown IO ID 45"} 
[2026-09-09 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969740032001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1831698441544988672}} 
[2026-09-09 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":178293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:29:07] local.INFO: GPS data processed {"connection_id":178293,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:29:07] local.INFO: Acknowledgment sent {"connection_id":178293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:29:16] local.INFO: TCP Data received {"connection_id":178294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:29:16] local.INFO: Processing buffer {"connection_id":178294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:29:16] local.INFO: Packet analysis {"connection_id":178294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:29:16] local.INFO: Extracted packet for processing {"connection_id":178294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 14:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":178294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:29:16] local.INFO: GPS data processed {"connection_id":178294,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:29:16] local.INFO: Acknowledgment sent {"connection_id":178294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:29:30] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:29:30] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:29:30] local.INFO: IMEI packet received {"connection_id":175501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":175501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:29:35] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:29:35] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:29:35] local.INFO: IMEI packet received {"connection_id":175501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":175501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:29:36] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08563d338012d197d80071fec30003e004c29..."} 
[2026-09-09 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08563d338012d197d80071fec30003e004c29..."} 
[2026-09-09 14:29:36] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08563d338012d197d80071fec30003e004c29..."} 
[2026-09-09 14:29:36] local.INFO: Packet analysis {"connection_id":175501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08563"} 
[2026-09-09 14:29:36] local.INFO: Extracted packet for processing {"connection_id":175501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08563"} 
[2026-09-09 14:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532592,"longitude_deg":75.6645248,"latitude_deg":11.9532592,"altitude":62,"angle":76,"satellites":41,"speed":22,"hex_longitude":"2d197d80","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969742336001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888986994933760,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836131672428103680,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29: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-09-09 14:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788944307000,"timestamp_ms":1788944307000,"timestamp_seconds":1788944307,"priority":1,"record_length":96,"hex_timestamp":"000001a08563d338"} 
[2026-09-09 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-09-09 14:29: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-09-09 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 14:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969742336001,"66":14070,"101":206,"83":41984,"24":22,"16":18888986994933760,"45":1836131672428103680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969742336001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:29:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888986994933760,"km_value":18888986994933.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836131672428103680,"description":"Unknown IO ID 45"} 
[2026-09-09 14:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969742336001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1836131672428103680}} 
[2026-09-09 14:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":175501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:29:36] local.INFO: GPS data processed {"connection_id":175501,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:29:36] local.INFO: Acknowledgment sent {"connection_id":175501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:29:43] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:29:43] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:29:43] local.INFO: IMEI packet received {"connection_id":175502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":175502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:29:49] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:29:49] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:29:49] local.INFO: IMEI packet received {"connection_id":175502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":175502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:29:50] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:29:50] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:29:50] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:29:50] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 14:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:29: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-09-09 14:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:29:50] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:29:50] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:29:51] local.INFO: TCP Data received {"connection_id":176883,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:29:51] local.INFO: Processing buffer {"connection_id":176883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:29:51] local.INFO: IMEI packet received {"connection_id":176883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":176883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:29:57] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:29:57] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:29:57] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:29:57] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:29:57] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 14:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:29:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:29:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:29:57] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:29:57] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:30:07] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08564b5c8012d19cc40072019d8002e014e27..."} 
[2026-09-09 14:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08564b5c8012d19cc40072019d8002e014e27..."} 
[2026-09-09 14:30:07] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08564b5c8012d19cc40072019d8002e014e27..."} 
[2026-09-09 14:30:07] local.INFO: Packet analysis {"connection_id":175501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08564"} 
[2026-09-09 14:30:07] local.INFO: Extracted packet for processing {"connection_id":175501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08564"} 
[2026-09-09 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119544280,"longitude_deg":75.6665408,"latitude_deg":11.954428,"altitude":46,"angle":334,"satellites":39,"speed":16,"hex_longitude":"2d19cc40","hex_latitude":"072019d8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969756672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18890640557342720,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859845939218657280,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30: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-09-09 14:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788944365000,"timestamp_ms":1788944365000,"timestamp_seconds":1788944365,"priority":1,"record_length":96,"hex_timestamp":"000001a08564b5c8"} 
[2026-09-09 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-09-09 14:30: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-09-09 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2237955864,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3221692425,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050232,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,28,160,162,45,192,17,47,40,10,66,142,11,42,138,128,1,240,139,227,133,32,4,113,205,9,131,222,41,239,54,2,67,7],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-09 14:30:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387058935303831552,"timestamp_seconds":3387058935303831.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 14:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969756672001,"66":14157,"101":206,"83":41984,"24":16,"16":18890640557342720,"45":1859845939218657280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969756672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:30:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18890640557342720,"km_value":18890640557342.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859845939218657280,"description":"Unknown IO ID 45"} 
[2026-09-09 14:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969756672001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1859845939218657280}} 
[2026-09-09 14:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":175501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:30:07] local.INFO: GPS data processed {"connection_id":175501,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:30:07] local.INFO: Acknowledgment sent {"connection_id":175501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:30:27] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:27] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:27] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:30:30] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:30] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:30] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:30:30] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:30] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:30] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:30:35] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:35] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:30:35] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:30:36] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08564b9b0012d19cbc007201b00002e015e27..."} 
[2026-09-09 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08564b9b0012d19cbc007201b00002e015e27..."} 
[2026-09-09 14:30:36] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08564b9b0012d19cbc007201b00002e015e27..."} 
[2026-09-09 14:30:36] local.INFO: Packet analysis {"connection_id":175717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08564"} 
[2026-09-09 14:30:36] local.INFO: Extracted packet for processing {"connection_id":175717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08564"} 
[2026-09-09 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119544576,"longitude_deg":75.666528,"latitude_deg":11.9544576,"altitude":46,"angle":350,"satellites":39,"speed":11,"hex_longitude":"2d19cbc0","hex_latitude":"07201b00","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969757440001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18890657737211904,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145544685568,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30: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-09-09 14:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788944366000,"timestamp_ms":1788944366000,"timestamp_seconds":1788944366,"priority":1,"record_length":96,"hex_timestamp":"000001a08564b9b0"} 
[2026-09-09 14:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 14:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969757440001,"66":14157,"101":206,"83":41984,"24":11,"16":18890657737211904,"45":1858931145544685568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969757440001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:30:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18890657737211904,"km_value":18890657737211.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145544685568,"description":"Unknown IO ID 45"} 
[2026-09-09 14:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969757440001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1858931145544685568}} 
[2026-09-09 14:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":175717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:30:36] local.INFO: GPS data processed {"connection_id":175717,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:30:36] local.INFO: Acknowledgment sent {"connection_id":175717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:30:39] local.INFO: TCP Data received {"connection_id":178295,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:30:39] local.INFO: Processing buffer {"connection_id":178295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:30:39] local.INFO: IMEI packet received {"connection_id":178295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":178295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:30:40] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08564bd98012d19cbc007201bd0002e000327..."} 
[2026-09-09 14:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08564bd98012d19cbc007201bd0002e000327..."} 
[2026-09-09 14:30:40] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08564bd98012d19cbc007201bd0002e000327..."} 
[2026-09-09 14:30:40] local.INFO: Packet analysis {"connection_id":175717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08564"} 
[2026-09-09 14:30:40] local.INFO: Extracted packet for processing {"connection_id":175717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08564"} 
[2026-09-09 14:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119544784,"longitude_deg":75.666528,"latitude_deg":11.9544784,"altitude":46,"angle":3,"satellites":39,"speed":6,"hex_longitude":"2d19cbc0","hex_latitude":"07201bd0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969757696001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18890666327146496,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056406016,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788944367000,"timestamp_ms":1788944367000,"timestamp_seconds":1788944367,"priority":1,"record_length":96,"hex_timestamp":"000001a08564bd98"} 
[2026-09-09 14:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 14:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969757696001,"66":14080,"101":206,"83":41984,"24":6,"16":18890666327146496,"45":1858790408056406016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969757696001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:30:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18890666327146496,"km_value":18890666327146.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056406016,"description":"Unknown IO ID 45"} 
[2026-09-09 14:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969757696001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1858790408056406016}} 
[2026-09-09 14:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":175717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:30:40] local.INFO: GPS data processed {"connection_id":175717,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:30:40] local.INFO: Acknowledgment sent {"connection_id":175717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:30:44] local.INFO: TCP Data received {"connection_id":178295,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:30:44] local.INFO: Processing buffer {"connection_id":178295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:30:44] local.INFO: IMEI packet received {"connection_id":178295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":178295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:30:44] local.INFO: TCP Data received {"connection_id":178295,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:30:44] local.INFO: Processing buffer {"connection_id":178295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:30:44] local.INFO: Packet analysis {"connection_id":178295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:30:44] local.INFO: Extracted packet for processing {"connection_id":178295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 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-09-09 14:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":178295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:30:45] local.INFO: GPS data processed {"connection_id":178295,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:30:45] local.INFO: Acknowledgment sent {"connection_id":178295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:31:11] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08565a028012d1a534007204868003a004626..."} 
[2026-09-09 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08565a028012d1a534007204868003a004626..."} 
[2026-09-09 14:31:11] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08565a028012d1a534007204868003a004626..."} 
[2026-09-09 14:31:11] local.INFO: Packet analysis {"connection_id":175717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08565"} 
[2026-09-09 14:31:11] local.INFO: Extracted packet for processing {"connection_id":175717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08565"} 
[2026-09-09 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756699968,"raw_latitude":119556200,"longitude_deg":75.6699968,"latitude_deg":11.95562,"altitude":58,"angle":70,"satellites":38,"speed":24,"hex_longitude":"2d1a5340","hex_latitude":"07204868","is_valid_coordinates":true} 
[2026-09-09 14:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969770496001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18892478803345408,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890245236706398208,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788944425000,"timestamp_ms":1788944425000,"timestamp_seconds":1788944425,"priority":1,"record_length":96,"hex_timestamp":"000001a08565a028"} 
[2026-09-09 14:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:31: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-09-09 14:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 14:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969770496001,"66":14233,"101":206,"83":41984,"24":24,"16":18892478803345408,"45":1890245236706398208},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969770496001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:31:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18892478803345408,"km_value":18892478803345.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890245236706398208,"description":"Unknown IO ID 45"} 
[2026-09-09 14:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969770496001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1890245236706398208}} 
[2026-09-09 14:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":175717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:31:11] local.INFO: GPS data processed {"connection_id":175717,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:31:11] local.INFO: Acknowledgment sent {"connection_id":175717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:31:16] local.INFO: TCP Data received {"connection_id":178295,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:31:16] local.INFO: Processing buffer {"connection_id":178295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:31:16] local.INFO: Packet analysis {"connection_id":178295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:31:16] local.INFO: Extracted packet for processing {"connection_id":178295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 14:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":178295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:31:16] local.INFO: GPS data processed {"connection_id":178295,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:31:16] local.INFO: Acknowledgment sent {"connection_id":178295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:31:26] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:26] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:26] local.INFO: IMEI packet received {"connection_id":175503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":175503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:31:28] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:28] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:28] local.INFO: IMEI packet received {"connection_id":175503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":175503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:31:30] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:30] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:30] local.INFO: IMEI packet received {"connection_id":175503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":175503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:31:35] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:35] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:31:35] local.INFO: IMEI packet received {"connection_id":175503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":175503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:31:35] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08565b3b0012d1a5f8007204bb8003b005227..."} 
[2026-09-09 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08565b3b0012d1a5f8007204bb8003b005227..."} 
[2026-09-09 14:31:35] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08565b3b0012d1a5f8007204bb8003b005227..."} 
[2026-09-09 14:31:35] local.INFO: Packet analysis {"connection_id":175503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08565"} 
[2026-09-09 14:31:35] local.INFO: Extracted packet for processing {"connection_id":175503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08565"} 
[2026-09-09 14:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756703104,"raw_latitude":119557048,"longitude_deg":75.6703104,"latitude_deg":11.9557048,"altitude":59,"angle":82,"satellites":39,"speed":23,"hex_longitude":"2d1a5f80","hex_latitude":"07204bb8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969772800001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18892633422168064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896930267403675648,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788944430000,"timestamp_ms":1788944430000,"timestamp_seconds":1788944430,"priority":1,"record_length":96,"hex_timestamp":"000001a08565b3b0"} 
[2026-09-09 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-09-09 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-09-09 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 14:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969772800001,"66":14243,"101":206,"83":41984,"24":23,"16":18892633422168064,"45":1896930267403675648},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969772800001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:31:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18892633422168064,"km_value":18892633422168.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896930267403675648,"description":"Unknown IO ID 45"} 
[2026-09-09 14:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969772800001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1896930267403675648}} 
[2026-09-09 14:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":175503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:31:35] local.INFO: GPS data processed {"connection_id":175503,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:31:35] local.INFO: Acknowledgment sent {"connection_id":175503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:31:39] local.INFO: TCP Data received {"connection_id":176885,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:31:39] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:31:39] local.INFO: IMEI packet received {"connection_id":176885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":176885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:31:43] local.INFO: TCP Data received {"connection_id":176885,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:31:43] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:31:43] local.INFO: IMEI packet received {"connection_id":176885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":176885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:31:44] local.INFO: TCP Data received {"connection_id":176885,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:31:44] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08561fa90012d34c48006aa4990000b008d27..."} 
[2026-09-09 14:31:44] local.INFO: Packet analysis {"connection_id":176885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:31:44] local.INFO: Extracted packet for processing {"connection_id":176885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08561"} 
[2026-09-09 14:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969634816001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788944186000,"timestamp_ms":1788944186000,"timestamp_seconds":1788944186,"priority":1,"record_length":96,"hex_timestamp":"000001a08561fa90"} 
[2026-09-09 14:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969634816001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969634816001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969634816001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":176885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:31:44] local.INFO: GPS data processed {"connection_id":176885,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:31:44] local.INFO: Acknowledgment sent {"connection_id":176885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:32:06] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085668e70012d1a9a00072001d8003c006626..."} 
[2026-09-09 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085668e70012d1a9a00072001d8003c006626..."} 
[2026-09-09 14:32:06] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085668e70012d1a9a00072001d8003c006626..."} 
[2026-09-09 14:32:06] local.INFO: Packet analysis {"connection_id":175503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:32:06] local.INFO: Extracted packet for processing {"connection_id":175503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756718080,"raw_latitude":119538136,"longitude_deg":75.671808,"latitude_deg":11.9538136,"altitude":60,"angle":102,"satellites":38,"speed":9,"hex_longitude":"2d1a9a00","hex_latitude":"072001d8","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969787648001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18894106595950592,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915789090838790144,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32: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-09-09 14:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788944486000,"timestamp_ms":1788944486000,"timestamp_seconds":1788944486,"priority":1,"record_length":96,"hex_timestamp":"000001a085668e70"} 
[2026-09-09 14:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:32: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-09-09 14: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-09 14:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969787648001,"66":14276,"101":206,"83":41984,"24":9,"16":18894106595950592,"45":1915789090838790144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969787648001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:32:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18894106595950592,"km_value":18894106595950.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915789090838790144,"description":"Unknown IO ID 45"} 
[2026-09-09 14:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969787648001,"power":14276,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1915789090838790144}} 
[2026-09-09 14:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":175503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:32:06] local.INFO: GPS data processed {"connection_id":175503,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:32:06] local.INFO: Acknowledgment sent {"connection_id":175503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:32:16] local.INFO: TCP Data received {"connection_id":176885,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:32:16] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:32:16] local.INFO: Packet analysis {"connection_id":176885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:32:16] local.INFO: Extracted packet for processing {"connection_id":176885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":176885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:32:16] local.INFO: GPS data processed {"connection_id":176885,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:32:16] local.INFO: Acknowledgment sent {"connection_id":176885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:32:30] local.INFO: TCP Data received {"connection_id":176887,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:32:30] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:32:30] local.INFO: IMEI packet received {"connection_id":176887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":176887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:32:33] local.INFO: TCP Data received {"connection_id":176887,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:32:33] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:32:33] local.INFO: IMEI packet received {"connection_id":176887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":176887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:32:34] local.INFO: TCP Data received {"connection_id":176887,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d1a9a80072001e8003c005426..."} 
[2026-09-09 14:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d1a9a80072001e8003c005426..."} 
[2026-09-09 14:32:34] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d1a9a80072001e8003c005426..."} 
[2026-09-09 14:32:34] local.INFO: Packet analysis {"connection_id":176887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:32:34] local.INFO: Extracted packet for processing {"connection_id":176887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756718208,"raw_latitude":119538152,"longitude_deg":75.6718208,"latitude_deg":11.9538152,"altitude":60,"angle":84,"satellites":38,"speed":6,"hex_longitude":"2d1a9a80","hex_latitude":"072001e8","is_valid_coordinates":true} 
[2026-09-09 14:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788416001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18894110890917888,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916844622001330176,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-09 14:32:34] 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-09-09 14:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788416001,"66":14233,"101":206,"83":41984,"24":6,"16":18894110890917888,"45":1916844622001330176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788416001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:32:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18894110890917888,"km_value":18894110890917.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916844622001330176,"description":"Unknown IO ID 45"} 
[2026-09-09 14:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788416001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1916844622001330176}} 
[2026-09-09 14:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":176887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:32:34] local.INFO: GPS data processed {"connection_id":176887,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:32:34] local.INFO: Acknowledgment sent {"connection_id":176887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:32:38] local.INFO: TCP Data received {"connection_id":175504,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:32:38] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:32:38] local.INFO: IMEI packet received {"connection_id":175504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":175504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:32:44] local.INFO: TCP Data received {"connection_id":175504,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:32:44] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:32:44] local.INFO: IMEI packet received {"connection_id":175504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":175504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:32:45] local.INFO: TCP Data received {"connection_id":175504,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:32:45] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:32:45] local.INFO: Packet analysis {"connection_id":175504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:32:45] local.INFO: Extracted packet for processing {"connection_id":175504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":175504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:32:45] local.INFO: GPS data processed {"connection_id":175504,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:32:45] local.INFO: Acknowledgment sent {"connection_id":175504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:33:06] local.INFO: TCP Data received {"connection_id":176887,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085669640012d1a9ac007200240003c003426..."} 
[2026-09-09 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669640012d1a9ac007200240003c003426..."} 
[2026-09-09 14:33:06] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669640012d1a9ac007200240003c003426..."} 
[2026-09-09 14:33:06] local.INFO: Packet analysis {"connection_id":176887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:33:06] local.INFO: Extracted packet for processing {"connection_id":176887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756718272,"raw_latitude":119538240,"longitude_deg":75.6718272,"latitude_deg":11.953824,"altitude":60,"angle":52,"satellites":38,"speed":6,"hex_longitude":"2d1a9ac0","hex_latitude":"07200240","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18894119480852480,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916985359489689600,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33: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-09-09 14:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788944488000,"timestamp_ms":1788944488000,"timestamp_seconds":1788944488,"priority":1,"record_length":96,"hex_timestamp":"000001a085669640"} 
[2026-09-09 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-09-09 14:33: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-09-09 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 14:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 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-09-09 14:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":14233,"101":206,"83":41984,"24":6,"16":18894119480852480,"45":1916985359489689600},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:33:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18894119480852480,"km_value":18894119480852.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916985359489689600,"description":"Unknown IO ID 45"} 
[2026-09-09 14:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1916985359489689600}} 
[2026-09-09 14:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":176887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:33:06] local.INFO: GPS data processed {"connection_id":176887,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:33:06] local.INFO: Acknowledgment sent {"connection_id":176887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:33:17] local.INFO: TCP Data received {"connection_id":175504,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:33:17] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:33:17] local.INFO: Packet analysis {"connection_id":175504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:33:17] local.INFO: Extracted packet for processing {"connection_id":175504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":175504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:33:17] local.INFO: GPS data processed {"connection_id":175504,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:33:17] local.INFO: Acknowledgment sent {"connection_id":175504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:33:29] local.INFO: TCP Data received {"connection_id":178297,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:29] local.INFO: Processing buffer {"connection_id":178297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:29] local.INFO: IMEI packet received {"connection_id":178297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":178297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:33:30] local.INFO: TCP Data received {"connection_id":178297,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:30] local.INFO: Processing buffer {"connection_id":178297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:30] local.INFO: IMEI packet received {"connection_id":178297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":178297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:33:31] local.INFO: TCP Data received {"connection_id":178297,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:31] local.INFO: Processing buffer {"connection_id":178297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:31] local.INFO: IMEI packet received {"connection_id":178297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":178297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:33:32] local.INFO: TCP Data received {"connection_id":178297,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:32] local.INFO: Processing buffer {"connection_id":178297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:33:32] local.INFO: IMEI packet received {"connection_id":178297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":178297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:33:33] local.INFO: TCP Data received {"connection_id":178297,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08567bf20012d1ac08007200b60004e00c825..."} 
[2026-09-09 14:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08567bf20012d1ac08007200b60004e00c825..."} 
[2026-09-09 14:33:33] local.INFO: Processing buffer {"connection_id":178297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08567bf20012d1ac08007200b60004e00c825..."} 
[2026-09-09 14:33:33] local.INFO: Packet analysis {"connection_id":178297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08567"} 
[2026-09-09 14:33:33] local.INFO: Extracted packet for processing {"connection_id":178297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08567"} 
[2026-09-09 14:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756727936,"raw_latitude":119540576,"longitude_deg":75.6727936,"latitude_deg":11.9540576,"altitude":78,"angle":200,"satellites":37,"speed":5,"hex_longitude":"2d1ac080","hex_latitude":"07200b60","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969807104001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18894772315881472,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927681408605478912,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788944564000,"timestamp_ms":1788944564000,"timestamp_seconds":1788944564,"priority":1,"record_length":96,"hex_timestamp":"000001a08567bf20"} 
[2026-09-09 14:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 14:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969807104001,"66":13004,"101":206,"83":41984,"24":5,"16":18894772315881472,"45":1927681408605478912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969807104001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:33:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18894772315881472,"km_value":18894772315881.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927681408605478912,"description":"Unknown IO ID 45"} 
[2026-09-09 14:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969807104001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1927681408605478912}} 
[2026-09-09 14:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":178297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:33:33] local.INFO: GPS data processed {"connection_id":178297,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:33:33] local.INFO: Acknowledgment sent {"connection_id":178297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:33:38] local.INFO: TCP Data received {"connection_id":176888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:33:38] local.INFO: Processing buffer {"connection_id":176888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:33:38] local.INFO: IMEI packet received {"connection_id":176888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":176888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:33:43] local.INFO: TCP Data received {"connection_id":176888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:33:43] local.INFO: Processing buffer {"connection_id":176888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:33:43] local.INFO: IMEI packet received {"connection_id":176888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":176888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:33:45] local.INFO: TCP Data received {"connection_id":176888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:33:45] local.INFO: Processing buffer {"connection_id":176888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:33:45] local.INFO: Packet analysis {"connection_id":176888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:33:45] local.INFO: Extracted packet for processing {"connection_id":176888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":176888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:33:45] local.INFO: GPS data processed {"connection_id":176888,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:33:45] local.INFO: Acknowledgment sent {"connection_id":176888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:34:03] local.INFO: TCP Data received {"connection_id":178297,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08567cad8012d1abf80072009a0004f00df26..."} 
[2026-09-09 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08567cad8012d1abf80072009a0004f00df26..."} 
[2026-09-09 14:34:03] local.INFO: Processing buffer {"connection_id":178297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08567cad8012d1abf80072009a0004f00df26..."} 
[2026-09-09 14:34:03] local.INFO: Packet analysis {"connection_id":178297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08567"} 
[2026-09-09 14:34:03] local.INFO: Extracted packet for processing {"connection_id":178297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08567"} 
[2026-09-09 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756727680,"raw_latitude":119540128,"longitude_deg":75.672768,"latitude_deg":11.9540128,"altitude":79,"angle":223,"satellites":38,"speed":6,"hex_longitude":"2d1abf80","hex_latitude":"072009a0","is_valid_coordinates":true} 
[2026-09-09 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969808384001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18894798085685248,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927681408605315072,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788944567000,"timestamp_ms":1788944567000,"timestamp_seconds":1788944567,"priority":1,"record_length":96,"hex_timestamp":"000001a08567cad8"} 
[2026-09-09 14:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:34: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-09-09 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 14:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":178297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":178297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":178297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969808384001,"66":14070,"101":206,"83":41984,"24":6,"16":18894798085685248,"45":1927681408605315072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969808384001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:34:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18894798085685248,"km_value":18894798085685.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927681408605315072,"description":"Unknown IO ID 45"} 
[2026-09-09 14:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969808384001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1927681408605315072}} 
[2026-09-09 14:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":178297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:34:03] local.INFO: GPS data processed {"connection_id":178297,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:34:03] local.INFO: Acknowledgment sent {"connection_id":178297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:34:17] local.INFO: TCP Data received {"connection_id":176888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:34:17] local.INFO: Processing buffer {"connection_id":176888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:34:17] local.INFO: Packet analysis {"connection_id":176888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:34:17] local.INFO: Extracted packet for processing {"connection_id":176888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":176888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:34:17] local.INFO: GPS data processed {"connection_id":176888,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:34:17] local.INFO: Acknowledgment sent {"connection_id":176888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:34:30] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:34:30] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:34:30] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:34:33] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:34:33] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:34:33] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:34:34] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085688e28012d1ac14007200c20004e015126..."} 
[2026-09-09 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085688e28012d1ac14007200c20004e015126..."} 
[2026-09-09 14:34:34] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085688e28012d1ac14007200c20004e015126..."} 
[2026-09-09 14:34:34] local.INFO: Packet analysis {"connection_id":175505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08568"} 
[2026-09-09 14:34:34] local.INFO: Extracted packet for processing {"connection_id":175505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08568"} 
[2026-09-09 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756728128,"raw_latitude":119540768,"longitude_deg":75.6728128,"latitude_deg":11.9540768,"altitude":78,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d1ac140","hex_latitude":"07200c20","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969816576001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18894978474311680,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883582050304,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788944617000,"timestamp_ms":1788944617000,"timestamp_seconds":1788944617,"priority":1,"record_length":96,"hex_timestamp":"000001a085688e28"} 
[2026-09-09 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-09-09 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 14:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969816576001,"66":13928,"101":206,"83":41984,"24":0,"16":18894978474311680,"45":1927962883582050304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969816576001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:34:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18894978474311680,"km_value":18894978474311.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883582050304,"description":"Unknown IO ID 45"} 
[2026-09-09 14:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969816576001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1927962883582050304}} 
[2026-09-09 14:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":175505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:34:34] local.INFO: GPS data processed {"connection_id":175505,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:34:34] local.INFO: Acknowledgment sent {"connection_id":175505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:34:44] local.INFO: TCP Data received {"connection_id":178299,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:34:44] local.INFO: Processing buffer {"connection_id":178299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:34:44] local.INFO: IMEI packet received {"connection_id":178299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":178299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:34:48] local.INFO: TCP Data received {"connection_id":178299,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:34:48] local.INFO: Processing buffer {"connection_id":178299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:34:48] local.INFO: IMEI packet received {"connection_id":178299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":178299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:34:49] local.INFO: TCP Data received {"connection_id":178299,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:34:49] local.INFO: Processing buffer {"connection_id":178299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:34:49] local.INFO: Packet analysis {"connection_id":178299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:34:49] local.INFO: Extracted packet for processing {"connection_id":178299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":178299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:34:49] local.INFO: GPS data processed {"connection_id":178299,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:34:49] local.INFO: Acknowledgment sent {"connection_id":178299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:34:54] local.INFO: TCP Data received {"connection_id":178299,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:34:54] local.INFO: Processing buffer {"connection_id":178299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:34:54] local.INFO: Packet analysis {"connection_id":178299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:34:54] local.INFO: Extracted packet for processing {"connection_id":178299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:34:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":178299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:34:54] local.INFO: GPS data processed {"connection_id":178299,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:34:54] local.INFO: Acknowledgment sent {"connection_id":178299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:35:05] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08568a980012d1ac0c007200d08004e014026..."} 
[2026-09-09 14:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08568a980012d1ac0c007200d08004e014026..."} 
[2026-09-09 14:35:05] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08568a980012d1ac0c007200d08004e014026..."} 
[2026-09-09 14:35:05] local.INFO: Packet analysis {"connection_id":175505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08568"} 
[2026-09-09 14:35:05] local.INFO: Extracted packet for processing {"connection_id":175505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08568"} 
[2026-09-09 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756728000,"raw_latitude":119541000,"longitude_deg":75.6728,"latitude_deg":11.9541,"altitude":78,"angle":320,"satellites":38,"speed":1,"hex_longitude":"2d1ac0c0","hex_latitude":"07200d08","is_valid_coordinates":true} 
[2026-09-09 14:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969821952001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18894991359213568,"note":"Value kept but may cause issues"} 
[2026-09-09 14:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927892514837897216,"note":"Value kept but may cause issues"} 
[2026-09-09 14:35: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-09-09 14:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788944624000,"timestamp_ms":1788944624000,"timestamp_seconds":1788944624,"priority":1,"record_length":96,"hex_timestamp":"000001a08568a980"} 
[2026-09-09 14:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 14:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969821952001,"66":14004,"101":206,"83":41984,"24":1,"16":18894991359213568,"45":1927892514837897216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 14:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969821952001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:35:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 14:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18894991359213568,"km_value":18894991359213.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927892514837897216,"description":"Unknown IO ID 45"} 
[2026-09-09 14:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969821952001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1927892514837897216}} 
[2026-09-09 14:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":175505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:35:05] local.INFO: GPS data processed {"connection_id":175505,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:35:05] local.INFO: Acknowledgment sent {"connection_id":175505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:35:29] local.INFO: TCP Data received {"connection_id":176889,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:29] local.INFO: Processing buffer {"connection_id":176889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:29] local.INFO: IMEI packet received {"connection_id":176889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":176889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:35:30] local.INFO: TCP Data received {"connection_id":176889,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:30] local.INFO: Processing buffer {"connection_id":176889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:30] local.INFO: IMEI packet received {"connection_id":176889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":176889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:35:30] local.INFO: TCP Data received {"connection_id":176889,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:30] local.INFO: Processing buffer {"connection_id":176889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:30] local.INFO: IMEI packet received {"connection_id":176889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":176889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:35:31] local.INFO: TCP Data received {"connection_id":176889,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:31] local.INFO: Processing buffer {"connection_id":176889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:35:31] local.INFO: IMEI packet received {"connection_id":176889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":176889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:35:39] local.INFO: TCP Data received {"connection_id":176890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:35:39] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:35:39] local.INFO: IMEI packet received {"connection_id":176890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":176890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:35:43] local.INFO: TCP Data received {"connection_id":176890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:35:43] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:35:43] local.INFO: IMEI packet received {"connection_id":176890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":176890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:35:44] local.INFO: TCP Data received {"connection_id":176890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:35:44] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:35:44] local.INFO: Packet analysis {"connection_id":176890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:35:44] local.INFO: Extracted packet for processing {"connection_id":176890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":176890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:35:44] local.INFO: GPS data processed {"connection_id":176890,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:35:44] local.INFO: Acknowledgment sent {"connection_id":176890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:35:47] local.INFO: TCP Data received {"connection_id":176891,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:35:47] local.INFO: Processing buffer {"connection_id":176891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:35:47] local.INFO: IMEI packet received {"connection_id":176891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":176891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:36:15] local.INFO: TCP Data received {"connection_id":176890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:36:15] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:36:15] local.INFO: Packet analysis {"connection_id":176890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:36:15] local.INFO: Extracted packet for processing {"connection_id":176890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:36: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-09-09 14:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":176890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:36:16] local.INFO: GPS data processed {"connection_id":176890,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:36:16] local.INFO: Acknowledgment sent {"connection_id":176890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:36:38] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:36:38] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:36:38] local.INFO: IMEI packet received {"connection_id":175719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":175719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:36:44] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:36:44] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:36:44] local.INFO: IMEI packet received {"connection_id":175719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":175719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:36:45] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:36:45] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085669258012d34c48006aa49900008008d27..."} 
[2026-09-09 14:36:45] local.INFO: Packet analysis {"connection_id":175719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:36:45] local.INFO: Extracted packet for processing {"connection_id":175719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08566"} 
[2026-09-09 14:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":8,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969711616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788944487000,"timestamp_ms":1788944487000,"timestamp_seconds":1788944487,"priority":1,"record_length":96,"hex_timestamp":"000001a085669258"} 
[2026-09-09 14:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969711616001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969711616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:36:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969711616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":175719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:36:45] local.INFO: GPS data processed {"connection_id":175719,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:36:45] local.INFO: Acknowledgment sent {"connection_id":175719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:37:17] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:37:17] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:37:17] local.INFO: Packet analysis {"connection_id":175719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:37:17] local.INFO: Extracted packet for processing {"connection_id":175719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":175719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:37:17] local.INFO: GPS data processed {"connection_id":175719,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:37:17] local.INFO: Acknowledgment sent {"connection_id":175719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:37:38] local.INFO: TCP Data received {"connection_id":176893,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:37:38] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:37:38] local.INFO: IMEI packet received {"connection_id":176893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":176893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:37:43] local.INFO: TCP Data received {"connection_id":176893,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:37:43] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:37:43] local.INFO: IMEI packet received {"connection_id":176893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":176893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:37:44] local.INFO: TCP Data received {"connection_id":176893,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:37:44] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:37:44] local.INFO: Packet analysis {"connection_id":176893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:37:44] local.INFO: Extracted packet for processing {"connection_id":176893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:37:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":176893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:37:44] local.INFO: GPS data processed {"connection_id":176893,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:37:44] local.INFO: Acknowledgment sent {"connection_id":176893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:38:15] local.INFO: TCP Data received {"connection_id":176893,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:15] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:15] local.INFO: Packet analysis {"connection_id":176893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:38:15] local.INFO: Extracted packet for processing {"connection_id":176893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":176893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:38:15] local.INFO: GPS data processed {"connection_id":176893,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:38:15] local.INFO: Acknowledgment sent {"connection_id":176893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:38:44] local.INFO: TCP Data received {"connection_id":178303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:38:44] local.INFO: Processing buffer {"connection_id":178303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:38:44] local.INFO: IMEI packet received {"connection_id":178303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":178303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:38:48] local.INFO: TCP Data received {"connection_id":178303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:38:48] local.INFO: Processing buffer {"connection_id":178303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:38:48] local.INFO: IMEI packet received {"connection_id":178303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":178303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:38:49] local.INFO: TCP Data received {"connection_id":178303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:49] local.INFO: Processing buffer {"connection_id":178303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:49] local.INFO: Packet analysis {"connection_id":178303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:38:49] local.INFO: Extracted packet for processing {"connection_id":178303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:38:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":178303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:38:49] local.INFO: GPS data processed {"connection_id":178303,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:38:49] local.INFO: Acknowledgment sent {"connection_id":178303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:38:54] local.INFO: TCP Data received {"connection_id":178303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:54] local.INFO: Processing buffer {"connection_id":178303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:54] local.INFO: Packet analysis {"connection_id":178303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:38:54] local.INFO: Extracted packet for processing {"connection_id":178303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:38:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":178303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:38:54] local.INFO: GPS data processed {"connection_id":178303,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:38:54] local.INFO: Acknowledgment sent {"connection_id":178303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:38:59] local.INFO: TCP Data received {"connection_id":178303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:59] local.INFO: Processing buffer {"connection_id":178303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:38:59] local.INFO: Packet analysis {"connection_id":178303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:38:59] local.INFO: Extracted packet for processing {"connection_id":178303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:38:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:38:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":178303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:38:59] local.INFO: GPS data processed {"connection_id":178303,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:38:59] local.INFO: Acknowledgment sent {"connection_id":178303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:39:39] local.INFO: TCP Data received {"connection_id":175721,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:39:39] local.INFO: Processing buffer {"connection_id":175721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:39:39] local.INFO: IMEI packet received {"connection_id":175721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":175721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:39:43] local.INFO: TCP Data received {"connection_id":175721,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:39:43] local.INFO: Processing buffer {"connection_id":175721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:39:43] local.INFO: IMEI packet received {"connection_id":175721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":175721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:39:45] local.INFO: TCP Data received {"connection_id":175721,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:39:45] local.INFO: Processing buffer {"connection_id":175721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:39:45] local.INFO: Packet analysis {"connection_id":175721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:39:45] local.INFO: Extracted packet for processing {"connection_id":175721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:39:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:39:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":175721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:39:45] local.INFO: GPS data processed {"connection_id":175721,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:39:45] local.INFO: Acknowledgment sent {"connection_id":175721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:40:16] local.INFO: TCP Data received {"connection_id":175721,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:40:16] local.INFO: Processing buffer {"connection_id":175721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:40:16] local.INFO: Packet analysis {"connection_id":175721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:40:16] local.INFO: Extracted packet for processing {"connection_id":175721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":175721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:40:16] local.INFO: GPS data processed {"connection_id":175721,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:40:16] local.INFO: Acknowledgment sent {"connection_id":175721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:40:35] local.INFO: TCP Data received {"connection_id":176894,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:40:35] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:40:35] local.INFO: IMEI packet received {"connection_id":176894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":176894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:40:36] local.INFO: TCP Data received {"connection_id":176894,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0856d8f68012d18c240072153880046015028..."} 
[2026-09-09 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856d8f68012d18c240072153880046015028..."} 
[2026-09-09 14:40:36] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856d8f68012d18c240072153880046015028..."} 
[2026-09-09 14:40:36] local.INFO: Packet analysis {"connection_id":176894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856d"} 
[2026-09-09 14:40:36] local.INFO: Extracted packet for processing {"connection_id":176894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856d"} 
[2026-09-09 14:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119624584,"longitude_deg":75.6597312,"latitude_deg":11.9624584,"altitude":70,"angle":336,"satellites":40,"speed":40,"hex_longitude":"2d18c240","hex_latitude":"07215388","is_valid_coordinates":true} 
[2026-09-09 14:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969904896001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18905161841770496,"note":"Value kept but may cause issues"} 
[2026-09-09 14:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456747008,"note":"Value kept but may cause issues"} 
[2026-09-09 14:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788944945000,"timestamp_ms":1788944945000,"timestamp_seconds":1788944945,"priority":1,"record_length":96,"hex_timestamp":"000001a0856d8f68"} 
[2026-09-09 14:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 14:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969904896001,"66":13906,"106":206,"83":41984,"24":40,"16":18905161841770496,"45":1784692120456747008},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 14:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969904896001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:40:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 14:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18905161841770496,"km_value":18905161841770.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456747008,"description":"Unknown IO ID 45"} 
[2026-09-09 14:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969904896001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1784692120456747008}} 
[2026-09-09 14:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":176894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:40:36] local.INFO: GPS data processed {"connection_id":176894,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:40:36] local.INFO: Acknowledgment sent {"connection_id":176894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:40:38] local.INFO: TCP Data received {"connection_id":175508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:40:38] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:40:38] local.INFO: IMEI packet received {"connection_id":175508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":175508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:40:44] local.INFO: TCP Data received {"connection_id":175508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:40:44] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:40:44] local.INFO: IMEI packet received {"connection_id":175508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":175508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:40:44] local.INFO: TCP Data received {"connection_id":175508,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:40:44] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:40:44] local.INFO: Packet analysis {"connection_id":175508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:40:44] local.INFO: Extracted packet for processing {"connection_id":175508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:40: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-09-09 14:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":175508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:40:44] local.INFO: GPS data processed {"connection_id":175508,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:40:44] local.INFO: Acknowledgment sent {"connection_id":175508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:41:07] local.INFO: TCP Data received {"connection_id":176894,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0856e79c8012d181ec00721ad08004b001d27..."} 
[2026-09-09 14:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856e79c8012d181ec00721ad08004b001d27..."} 
[2026-09-09 14:41:07] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856e79c8012d181ec00721ad08004b001d27..."} 
[2026-09-09 14:41:07] local.INFO: Packet analysis {"connection_id":176894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856e"} 
[2026-09-09 14:41:07] local.INFO: Extracted packet for processing {"connection_id":176894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856e"} 
[2026-09-09 14:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647496,"longitude_deg":75.6555456,"latitude_deg":11.9647496,"altitude":75,"angle":29,"satellites":39,"speed":20,"hex_longitude":"2d181ec0","hex_latitude":"0721ad08","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969920768001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18907601383194624,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864433664,"note":"Value kept but may cause issues"} 
[2026-09-09 14: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-09-09 14:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945005000,"timestamp_ms":1788945005000,"timestamp_seconds":1788945005,"priority":1,"record_length":96,"hex_timestamp":"000001a0856e79c8"} 
[2026-09-09 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-09-09 14:41: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-09-09 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-09 14:41:07] 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-09-09 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-09-09 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-09-09 14:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969920768001,"66":14298,"105":206,"83":41984,"24":20,"16":18907601383194624,"45":1737545061864433664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 14:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969920768001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:41:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 14:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18907601383194624,"km_value":18907601383194.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864433664,"description":"Unknown IO ID 45"} 
[2026-09-09 14:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969920768001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1737545061864433664}} 
[2026-09-09 14:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":176894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:41:07] local.INFO: GPS data processed {"connection_id":176894,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:41:07] local.INFO: Acknowledgment sent {"connection_id":176894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:41:16] local.INFO: TCP Data received {"connection_id":175508,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:41:16] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:41:16] local.INFO: Packet analysis {"connection_id":175508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:41:16] local.INFO: Extracted packet for processing {"connection_id":175508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":175508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:41:16] local.INFO: GPS data processed {"connection_id":175508,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:41:16] local.INFO: Acknowledgment sent {"connection_id":175508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:41:19] local.INFO: TCP Data received {"connection_id":175509,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:41:19] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:41:19] local.INFO: IMEI packet received {"connection_id":175509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":175509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:41:30] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:41:30] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:41:30] local.INFO: IMEI packet received {"connection_id":175723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":175723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:41:32] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:41:32] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:41:32] local.INFO: IMEI packet received {"connection_id":175723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":175723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:41:35] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:41:35] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:41:35] local.INFO: IMEI packet received {"connection_id":175723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":175723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:41:36] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0856ea8a8012d1831800721caf8004d001f27..."} 
[2026-09-09 14:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856ea8a8012d1831800721caf8004d001f27..."} 
[2026-09-09 14:41:36] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856ea8a8012d1831800721caf8004d001f27..."} 
[2026-09-09 14:41:36] local.INFO: Packet analysis {"connection_id":175723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856e"} 
[2026-09-09 14:41:36] local.INFO: Extracted packet for processing {"connection_id":175723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856e"} 
[2026-09-09 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119655160,"longitude_deg":75.6560256,"latitude_deg":11.965516,"altitude":77,"angle":31,"satellites":39,"speed":36,"hex_longitude":"2d183180","hex_latitude":"0721caf8","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969921280001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18908035174891520,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073882112,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41: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-09-09 14:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945017000,"timestamp_ms":1788945017000,"timestamp_seconds":1788945017,"priority":1,"record_length":96,"hex_timestamp":"000001a0856ea8a8"} 
[2026-09-09 14:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 14:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969921280001,"66":13972,"105":206,"83":41984,"24":36,"16":18908035174891520,"45":1738037643073882112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 14:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969921280001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:41:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 14:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18908035174891520,"km_value":18908035174891.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073882112,"description":"Unknown IO ID 45"} 
[2026-09-09 14:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969921280001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1738037643073882112}} 
[2026-09-09 14:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":175723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:41:36] local.INFO: GPS data processed {"connection_id":175723,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:41:36] local.INFO: Acknowledgment sent {"connection_id":175723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:41:38] local.INFO: TCP Data received {"connection_id":178304,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:41:38] local.INFO: Processing buffer {"connection_id":178304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:41:38] local.INFO: IMEI packet received {"connection_id":178304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":178304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:41:43] local.INFO: TCP Data received {"connection_id":178304,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:41:43] local.INFO: Processing buffer {"connection_id":178304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:41:43] local.INFO: IMEI packet received {"connection_id":178304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":178304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:41:44] local.INFO: TCP Data received {"connection_id":178304,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:41:44] local.INFO: Processing buffer {"connection_id":178304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856b2a20012d34c48006aa49900009008d26..."} 
[2026-09-09 14:41:44] local.INFO: Packet analysis {"connection_id":178304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:41:44] local.INFO: Extracted packet for processing {"connection_id":178304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856b"} 
[2026-09-09 14:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969788672001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788944788000,"timestamp_ms":1788944788000,"timestamp_seconds":1788944788,"priority":1,"record_length":96,"hex_timestamp":"000001a0856b2a20"} 
[2026-09-09 14:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969788672001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969788672001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969788672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":178304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:41:44] local.INFO: GPS data processed {"connection_id":178304,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:41:44] local.INFO: Acknowledgment sent {"connection_id":178304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:41:48] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:41:48] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:41:48] local.INFO: IMEI packet received {"connection_id":175724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":175724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:42:16] local.INFO: TCP Data received {"connection_id":178304,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:42:16] local.INFO: Processing buffer {"connection_id":178304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:42:16] local.INFO: Packet analysis {"connection_id":178304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:42:16] local.INFO: Extracted packet for processing {"connection_id":178304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":178304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:42:16] local.INFO: GPS data processed {"connection_id":178304,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:42:16] local.INFO: Acknowledgment sent {"connection_id":178304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:42:16] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0856ecbd0012d1845000721e8000050002027..."} 
[2026-09-09 14:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856ecbd0012d1845000721e8000050002027..."} 
[2026-09-09 14:42:16] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856ecbd0012d1845000721e8000050002027..."} 
[2026-09-09 14:42:16] local.INFO: Packet analysis {"connection_id":175723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856e"} 
[2026-09-09 14:42:16] local.INFO: Extracted packet for processing {"connection_id":175723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856e"} 
[2026-09-09 14:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756565248,"raw_latitude":119662592,"longitude_deg":75.6565248,"latitude_deg":11.9662592,"altitude":80,"angle":32,"satellites":39,"speed":41,"hex_longitude":"2d184500","hex_latitude":"0721e800","is_valid_coordinates":true} 
[2026-09-09 14:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969924352001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18908468966588416,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743315298889168896,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788945026000,"timestamp_ms":1788945026000,"timestamp_seconds":1788945026,"priority":1,"record_length":96,"hex_timestamp":"000001a0856ecbd0"} 
[2026-09-09 14:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 14:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969924352001,"66":13993,"105":206,"83":41984,"24":41,"16":18908468966588416,"45":1743315298889168896},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 14:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969924352001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:42:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 14:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 14:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18908468966588416,"km_value":18908468966588.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743315298889168896,"description":"Unknown IO ID 45"} 
[2026-09-09 14:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969924352001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1743315298889168896}} 
[2026-09-09 14:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":175723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:42:16] local.INFO: GPS data processed {"connection_id":175723,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:42:16] local.INFO: Acknowledgment sent {"connection_id":175723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:42:38] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:42:38] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:42:38] local.INFO: IMEI packet received {"connection_id":175510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":175510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:42:44] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:42:44] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:42:44] local.INFO: IMEI packet received {"connection_id":175510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":175510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:42:44] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:42:44] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:42:44] local.INFO: Packet analysis {"connection_id":175510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:42:44] local.INFO: Extracted packet for processing {"connection_id":175510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:42: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-09-09 14:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":175510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:42:44] local.INFO: GPS data processed {"connection_id":175510,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:42:44] local.INFO: Acknowledgment sent {"connection_id":175510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:42:49] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:42:49] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:42:49] local.INFO: Packet analysis {"connection_id":175510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:42:49] local.INFO: Extracted packet for processing {"connection_id":175510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":175510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:42:49] local.INFO: GPS data processed {"connection_id":175510,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:42:49] local.INFO: Acknowledgment sent {"connection_id":175510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:43:21] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:43:21] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:43:21] local.INFO: Packet analysis {"connection_id":175510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:43:21] local.INFO: Extracted packet for processing {"connection_id":175510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:43:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":175510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:43:21] local.INFO: GPS data processed {"connection_id":175510,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:43:21] local.INFO: Acknowledgment sent {"connection_id":175510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:43:38] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:43:38] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:43:38] local.INFO: IMEI packet received {"connection_id":175725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":175725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:43:43] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:43:43] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:43:43] local.INFO: IMEI packet received {"connection_id":175725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":175725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:43:44] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:43:44] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:43:44] local.INFO: Packet analysis {"connection_id":175725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:43:44] local.INFO: Extracted packet for processing {"connection_id":175725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":175725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:43:45] local.INFO: GPS data processed {"connection_id":175725,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:43:45] local.INFO: Acknowledgment sent {"connection_id":175725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:43:53] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:43:53] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:43:53] local.INFO: IMEI packet received {"connection_id":175726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":175726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:43:55] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:43:55] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:43:55] local.INFO: IMEI packet received {"connection_id":175726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":175726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:43:56] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:43:56] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:43:56] local.INFO: IMEI packet received {"connection_id":175726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":175726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:43:56] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085713500012d19d2000723a4980036005322..."} 
[2026-09-09 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085713500012d19d2000723a4980036005322..."} 
[2026-09-09 14:43:56] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085713500012d19d2000723a4980036005322..."} 
[2026-09-09 14:43:56] local.INFO: Packet analysis {"connection_id":175726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08571"} 
[2026-09-09 14:43:56] local.INFO: Extracted packet for processing {"connection_id":175726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08571"} 
[2026-09-09 14:43:56] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119776408,"longitude_deg":75.666688,"latitude_deg":11.9776408,"altitude":54,"angle":83,"satellites":34,"speed":63,"hex_longitude":"2d19d200","hex_latitude":"0723a498","is_valid_coordinates":true} 
[2026-09-09 14:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969965568001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18916745368567808,"note":"Value kept but may cause issues"} 
[2026-09-09 14:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421325766656,"note":"Value kept but may cause issues"} 
[2026-09-09 14:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788945184000,"timestamp_ms":1788945184000,"timestamp_seconds":1788945184,"priority":1,"record_length":96,"hex_timestamp":"000001a085713500"} 
[2026-09-09 14:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:43: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-09-09 14:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 14:43: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-09-09 14:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969965568001,"66":14428,"43":206,"83":42752,"24":63,"16":18916745368567808,"45":1850205421325766656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 14:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969965568001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:43:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 14:43:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18916745368567808,"km_value":18916745368567.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421325766656,"description":"Unknown IO ID 45"} 
[2026-09-09 14:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969965568001,"power":14428,"unknown_43":206,"unknown_83":42752,"ignition":63,"odometer":null,"unknown_45":1850205421325766656}} 
[2026-09-09 14:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":175726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:43:56] local.INFO: GPS data processed {"connection_id":175726,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:43:56] local.INFO: Acknowledgment sent {"connection_id":175726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:44:16] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:44:16] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:44:16] local.INFO: Packet analysis {"connection_id":175725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:44:16] local.INFO: Extracted packet for processing {"connection_id":175725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":175725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:44:16] local.INFO: GPS data processed {"connection_id":175725,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:44:16] local.INFO: Acknowledgment sent {"connection_id":175725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:44:27] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:44:27] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:44:27] local.INFO: IMEI packet received {"connection_id":176896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":176896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:44:30] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:44:30] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:44:30] local.INFO: IMEI packet received {"connection_id":176896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":176896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:44:35] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:44:35] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:44:35] local.INFO: IMEI packet received {"connection_id":176896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":176896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:44:36] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085714c70012d19f8800723a9000032005122..."} 
[2026-09-09 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085714c70012d19f8800723a9000032005122..."} 
[2026-09-09 14:44:36] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085714c70012d19f8800723a9000032005122..."} 
[2026-09-09 14:44:36] local.INFO: Packet analysis {"connection_id":176896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08571"} 
[2026-09-09 14:44:36] local.INFO: Extracted packet for processing {"connection_id":176896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08571"} 
[2026-09-09 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756676736,"raw_latitude":119777536,"longitude_deg":75.6676736,"latitude_deg":11.9777536,"altitude":50,"angle":81,"satellites":34,"speed":64,"hex_longitude":"2d19f880","hex_latitude":"0723a900","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969967104001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18917217814970368,"note":"Value kept but may cause issues"} 
[2026-09-09 14:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626720196608,"note":"Value kept but may cause issues"} 
[2026-09-09 14:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945190000,"timestamp_ms":1788945190000,"timestamp_seconds":1788945190,"priority":1,"record_length":96,"hex_timestamp":"000001a085714c70"} 
[2026-09-09 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-09-09 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 14:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969967104001,"66":14070,"43":206,"83":42752,"24":64,"16":18917217814970368,"45":1860549626720196608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 14:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969967104001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:44:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 14:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18917217814970368,"km_value":18917217814970.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626720196608,"description":"Unknown IO ID 45"} 
[2026-09-09 14:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969967104001,"power":14070,"unknown_43":206,"unknown_83":42752,"ignition":64,"odometer":null,"unknown_45":1860549626720196608}} 
[2026-09-09 14:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":176896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:44:36] local.INFO: GPS data processed {"connection_id":176896,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:44:36] local.INFO: Acknowledgment sent {"connection_id":176896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:44:39] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:44:39] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:44:39] local.INFO: IMEI packet received {"connection_id":175727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":175727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:44:44] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:44:44] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:44:44] local.INFO: IMEI packet received {"connection_id":175727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":175727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:44:45] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:44:45] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:44:45] local.INFO: Packet analysis {"connection_id":175727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:44:45] local.INFO: Extracted packet for processing {"connection_id":175727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":175727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:44:45] local.INFO: GPS data processed {"connection_id":175727,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:44:45] local.INFO: Acknowledgment sent {"connection_id":175727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:45:07] local.INFO: TCP Data received {"connection_id":176896,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085715ff8012d1a17800723af28002e004624..."} 
[2026-09-09 14:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085715ff8012d1a17800723af28002e004624..."} 
[2026-09-09 14:45:07] local.INFO: Processing buffer {"connection_id":176896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085715ff8012d1a17800723af28002e004624..."} 
[2026-09-09 14:45:07] local.INFO: Packet analysis {"connection_id":176896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08571"} 
[2026-09-09 14:45:07] local.INFO: Extracted packet for processing {"connection_id":176896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08571"} 
[2026-09-09 14:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756684672,"raw_latitude":119779112,"longitude_deg":75.6684672,"latitude_deg":11.9779112,"altitude":46,"angle":70,"satellites":36,"speed":62,"hex_longitude":"2d1a1780","hex_latitude":"0723af28","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969968640001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18917600067059712,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871386413323845632,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945195000,"timestamp_ms":1788945195000,"timestamp_seconds":1788945195,"priority":1,"record_length":96,"hex_timestamp":"000001a085715ff8"} 
[2026-09-09 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-09-09 14:45: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-09-09 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 14:45: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-09-09 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-09-09 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-09-09 14:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969968640001,"66":14461,"43":206,"83":42752,"24":62,"16":18917600067059712,"45":1871386413323845632},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-09 14:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969968640001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:45:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 14:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18917600067059712,"km_value":18917600067059.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871386413323845632,"description":"Unknown IO ID 45"} 
[2026-09-09 14:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969968640001,"power":14461,"unknown_43":206,"unknown_83":42752,"ignition":62,"odometer":null,"unknown_45":1871386413323845632}} 
[2026-09-09 14:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":176896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:45:07] local.INFO: GPS data processed {"connection_id":176896,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:45:07] local.INFO: Acknowledgment sent {"connection_id":176896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:45:17] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:45:17] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:45:17] local.INFO: Packet analysis {"connection_id":175727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:45:17] local.INFO: Extracted packet for processing {"connection_id":175727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:45:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":175727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:45:17] local.INFO: GPS data processed {"connection_id":175727,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:45:17] local.INFO: Acknowledgment sent {"connection_id":175727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:45:30] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:45:30] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:45:30] local.INFO: IMEI packet received {"connection_id":175511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":175511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:45:35] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:45:35] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:45:35] local.INFO: IMEI packet received {"connection_id":175511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":175511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:45:36] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085727168012d1ae34007244e900029001a28..."} 
[2026-09-09 14:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085727168012d1ae34007244e900029001a28..."} 
[2026-09-09 14:45:36] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085727168012d1ae34007244e900029001a28..."} 
[2026-09-09 14:45:36] local.INFO: Packet analysis {"connection_id":175511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08572"} 
[2026-09-09 14:45:36] local.INFO: Extracted packet for processing {"connection_id":175511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08572"} 
[2026-09-09 14:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756736832,"raw_latitude":119819920,"longitude_deg":75.6736832,"latitude_deg":11.981992,"altitude":41,"angle":26,"satellites":40,"speed":32,"hex_longitude":"2d1ae340","hex_latitude":"07244e90","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969986560001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18920859947237376,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281233047240704,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945265000,"timestamp_ms":1788945265000,"timestamp_seconds":1788945265,"priority":1,"record_length":96,"hex_timestamp":"000001a085727168"} 
[2026-09-09 14:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 14:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969986560001,"66":14157,"176":206,"83":42752,"24":32,"16":18920859947237376,"45":1935281233047240704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-09 14:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969986560001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:45:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-09 14:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18920859947237376,"km_value":18920859947237.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281233047240704,"description":"Unknown IO ID 45"} 
[2026-09-09 14:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969986560001,"power":14157,"unknown_176":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1935281233047240704}} 
[2026-09-09 14:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":175511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:45:36] local.INFO: GPS data processed {"connection_id":175511,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:45:36] local.INFO: Acknowledgment sent {"connection_id":175511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:45:40] local.INFO: TCP Data received {"connection_id":175728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:45:40] local.INFO: Processing buffer {"connection_id":175728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:45:40] local.INFO: IMEI packet received {"connection_id":175728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":175728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:45:43] local.INFO: TCP Data received {"connection_id":175728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:45:43] local.INFO: Processing buffer {"connection_id":175728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:45:43] local.INFO: IMEI packet received {"connection_id":175728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":175728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:45:44] local.INFO: TCP Data received {"connection_id":175728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:45:44] local.INFO: Processing buffer {"connection_id":175728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:45:44] local.INFO: Packet analysis {"connection_id":175728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:45:44] local.INFO: Extracted packet for processing {"connection_id":175728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":175728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:45:44] local.INFO: GPS data processed {"connection_id":175728,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:45:44] local.INFO: Acknowledgment sent {"connection_id":175728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:46:07] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857290a8012d1af1c0072467500024002627..."} 
[2026-09-09 14:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857290a8012d1af1c0072467500024002627..."} 
[2026-09-09 14:46:07] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857290a8012d1af1c0072467500024002627..."} 
[2026-09-09 14:46:07] local.INFO: Packet analysis {"connection_id":175511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08572"} 
[2026-09-09 14:46:07] local.INFO: Extracted packet for processing {"connection_id":175511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08572"} 
[2026-09-09 14:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756740544,"raw_latitude":119826256,"longitude_deg":75.6740544,"latitude_deg":11.9826256,"altitude":36,"angle":38,"satellites":39,"speed":39,"hex_longitude":"2d1af1c0","hex_latitude":"07246750","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969987840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18921216429522944,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937462664117522432,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945273000,"timestamp_ms":1788945273000,"timestamp_seconds":1788945273,"priority":1,"record_length":96,"hex_timestamp":"000001a0857290a8"} 
[2026-09-09 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-09-09 14:46: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-09-09 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":77,"data_length":795,"current_offset":136} 
[2026-09-09 14:46: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-09-09 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-09-09 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-09-09 14:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969987840001,"66":14004,"136":206,"83":42752,"24":39,"16":18921216429522944,"45":1937462664117522432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969987840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:46:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18921216429522944,"km_value":18921216429522.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937462664117522432,"description":"Unknown IO ID 45"} 
[2026-09-09 14:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969987840001,"power":14004,"unknown_136":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1937462664117522432}} 
[2026-09-09 14:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":175511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:46:07] local.INFO: GPS data processed {"connection_id":175511,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:46:07] local.INFO: Acknowledgment sent {"connection_id":175511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:46:15] local.INFO: TCP Data received {"connection_id":175728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:46:15] local.INFO: Processing buffer {"connection_id":175728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:46:15] local.INFO: Packet analysis {"connection_id":175728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:46:15] local.INFO: Extracted packet for processing {"connection_id":175728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:46: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-09-09 14:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":175728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:46:15] local.INFO: GPS data processed {"connection_id":175728,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:46:15] local.INFO: Acknowledgment sent {"connection_id":175728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:46:28] local.INFO: TCP Data received {"connection_id":176898,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:46:28] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:46:28] local.INFO: IMEI packet received {"connection_id":176898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":176898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:46:30] local.INFO: TCP Data received {"connection_id":176898,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:46:30] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:46:30] local.INFO: IMEI packet received {"connection_id":176898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":176898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:46:35] local.INFO: TCP Data received {"connection_id":176898,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:46:35] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:46:35] local.INFO: IMEI packet received {"connection_id":176898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":176898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:46:36] local.INFO: TCP Data received {"connection_id":176898,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08572b7b8012d1b0a80072481c80022002d28..."} 
[2026-09-09 14:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08572b7b8012d1b0a80072481c80022002d28..."} 
[2026-09-09 14:46:36] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08572b7b8012d1b0a80072481c80022002d28..."} 
[2026-09-09 14:46:36] local.INFO: Packet analysis {"connection_id":176898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08572"} 
[2026-09-09 14:46:36] local.INFO: Extracted packet for processing {"connection_id":176898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08572"} 
[2026-09-09 14:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756746880,"raw_latitude":119833032,"longitude_deg":75.674688,"latitude_deg":11.9833032,"altitude":34,"angle":45,"satellites":40,"speed":31,"hex_longitude":"2d1b0a80","hex_latitude":"072481c8","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969989888001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18921663106121728,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941544051281448960,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945283000,"timestamp_ms":1788945283000,"timestamp_seconds":1788945283,"priority":1,"record_length":96,"hex_timestamp":"000001a08572b7b8"} 
[2026-09-09 14:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14: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-09-09 14: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-09-09 14:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969989888001,"66":14070,"136":206,"83":42752,"24":31,"16":18921663106121728,"45":1941544051281448960},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969989888001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:46:36] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18921663106121728,"km_value":18921663106121.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941544051281448960,"description":"Unknown IO ID 45"} 
[2026-09-09 14:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969989888001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1941544051281448960}} 
[2026-09-09 14:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":176898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:46:36] local.INFO: GPS data processed {"connection_id":176898,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:46:36] local.INFO: Acknowledgment sent {"connection_id":176898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:46:38] local.INFO: TCP Data received {"connection_id":178308,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:46:38] local.INFO: Processing buffer {"connection_id":178308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:46:38] local.INFO: IMEI packet received {"connection_id":178308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":178308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:46:44] local.INFO: TCP Data received {"connection_id":178308,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:46:44] local.INFO: Processing buffer {"connection_id":178308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:46:44] local.INFO: IMEI packet received {"connection_id":178308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":178308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:46:45] local.INFO: TCP Data received {"connection_id":178308,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:46:45] local.INFO: Processing buffer {"connection_id":178308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0856fc1e8012d34c48006aa4990000a008d24..."} 
[2026-09-09 14:46:45] local.INFO: Packet analysis {"connection_id":178308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:46:45] local.INFO: Extracted packet for processing {"connection_id":178308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0856f"} 
[2026-09-09 14:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":10,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969865728001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788945089000,"timestamp_ms":1788945089000,"timestamp_seconds":1788945089,"priority":1,"record_length":96,"hex_timestamp":"000001a0856fc1e8"} 
[2026-09-09 14:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969865728001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969865728001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969865728001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":178308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:46:45] local.INFO: GPS data processed {"connection_id":178308,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:46:45] local.INFO: Acknowledgment sent {"connection_id":178308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:47:07] local.INFO: TCP Data received {"connection_id":176898,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085743688012d1b464007247bc80028012825..."} 
[2026-09-09 14:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085743688012d1b464007247bc80028012825..."} 
[2026-09-09 14:47:07] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085743688012d1b464007247bc80028012825..."} 
[2026-09-09 14:47:07] local.INFO: Packet analysis {"connection_id":176898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:47:07] local.INFO: Extracted packet for processing {"connection_id":176898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756762176,"raw_latitude":119831496,"longitude_deg":75.6762176,"latitude_deg":11.9831496,"altitude":40,"angle":296,"satellites":37,"speed":5,"hex_longitude":"2d1b4640","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970014976001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18922663833501696,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965539793047306240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945381000,"timestamp_ms":1788945381000,"timestamp_seconds":1788945381,"priority":1,"record_length":96,"hex_timestamp":"000001a085743688"} 
[2026-09-09 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-09-09 14:47: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-09-09 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 14:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970014976001,"66":14070,"136":206,"83":42752,"24":5,"16":18922663833501696,"45":1965539793047306240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970014976001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:47:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18922663833501696,"km_value":18922663833501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965539793047306240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970014976001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1965539793047306240}} 
[2026-09-09 14:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":176898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:47:07] local.INFO: GPS data processed {"connection_id":176898,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:47:07] local.INFO: Acknowledgment sent {"connection_id":176898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:47:12] local.INFO: TCP Data received {"connection_id":178309,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:47:12] local.INFO: Processing buffer {"connection_id":178309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:47:12] local.INFO: IMEI packet received {"connection_id":178309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":178309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:47:16] local.INFO: TCP Data received {"connection_id":178308,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:47:16] local.INFO: Processing buffer {"connection_id":178308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:47:16] local.INFO: Packet analysis {"connection_id":178308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:47:16] local.INFO: Extracted packet for processing {"connection_id":178308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":178308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:47:16] local.INFO: GPS data processed {"connection_id":178308,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:47:16] local.INFO: Acknowledgment sent {"connection_id":178308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:47:30] local.INFO: TCP Data received {"connection_id":178310,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:47:30] local.INFO: Processing buffer {"connection_id":178310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:47:30] local.INFO: IMEI packet received {"connection_id":178310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":178310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:47:35] local.INFO: TCP Data received {"connection_id":178310,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:47:35] local.INFO: Processing buffer {"connection_id":178310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:47:35] local.INFO: IMEI packet received {"connection_id":178310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":178310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:47:36] local.INFO: TCP Data received {"connection_id":178310,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085743a70012d1b460007247c200028013c25..."} 
[2026-09-09 14:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085743a70012d1b460007247c200028013c25..."} 
[2026-09-09 14:47:36] local.INFO: Processing buffer {"connection_id":178310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085743a70012d1b460007247c200028013c25..."} 
[2026-09-09 14:47:36] local.INFO: Packet analysis {"connection_id":178310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:47:36] local.INFO: Extracted packet for processing {"connection_id":178310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756762112,"raw_latitude":119831584,"longitude_deg":75.6762112,"latitude_deg":11.9831584,"altitude":40,"angle":316,"satellites":37,"speed":6,"hex_longitude":"2d1b4600","hex_latitude":"07247c20","is_valid_coordinates":true} 
[2026-09-09 14:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970017536001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18922668128468992,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965328686814840832,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945382000,"timestamp_ms":1788945382000,"timestamp_seconds":1788945382,"priority":1,"record_length":96,"hex_timestamp":"000001a085743a70"} 
[2026-09-09 14:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 14:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970017536001,"66":14070,"136":206,"83":42752,"24":6,"16":18922668128468992,"45":1965328686814840832},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970017536001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:47:36] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18922668128468992,"km_value":18922668128468.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965328686814840832,"description":"Unknown IO ID 45"} 
[2026-09-09 14:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970017536001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1965328686814840832}} 
[2026-09-09 14:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":178310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:47:36] local.INFO: GPS data processed {"connection_id":178310,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:47:36] local.INFO: Acknowledgment sent {"connection_id":178310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:47:43] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:47:43] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:47:43] local.INFO: IMEI packet received {"connection_id":175729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:47:49] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:47:49] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:47:49] local.INFO: IMEI packet received {"connection_id":175729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":175729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:47:49] local.INFO: TCP Data received {"connection_id":176899,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:47:49] local.INFO: Processing buffer {"connection_id":176899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:47:49] local.INFO: IMEI packet received {"connection_id":176899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":176899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:47:50] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:47:50] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:47:50] local.INFO: Packet analysis {"connection_id":175729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:47:50] local.INFO: Extracted packet for processing {"connection_id":175729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:47:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:47: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":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:47:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":175729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:47:50] local.INFO: GPS data processed {"connection_id":175729,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:47:50] local.INFO: Acknowledgment sent {"connection_id":175729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:48:07] local.INFO: TCP Data received {"connection_id":178310,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085743e58012d1b458007247c900028016725..."} 
[2026-09-09 14:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085743e58012d1b458007247c900028016725..."} 
[2026-09-09 14:48:07] local.INFO: Processing buffer {"connection_id":178310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085743e58012d1b458007247c900028016725..."} 
[2026-09-09 14:48:07] local.INFO: Packet analysis {"connection_id":178310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:48:07] local.INFO: Extracted packet for processing {"connection_id":178310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756761984,"raw_latitude":119831696,"longitude_deg":75.6761984,"latitude_deg":11.9831696,"altitude":40,"angle":359,"satellites":37,"speed":3,"hex_longitude":"2d1b4580","hex_latitude":"07247c90","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970017792001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18922672423436288,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965258318070685696,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945383000,"timestamp_ms":1788945383000,"timestamp_seconds":1788945383,"priority":1,"record_length":96,"hex_timestamp":"000001a085743e58"} 
[2026-09-09 14:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:48: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-09-09 14: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":246,"data_length":795,"current_offset":136} 
[2026-09-09 14:48: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-09-09 14: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-09-09 14:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970017792001,"66":13993,"136":206,"83":42752,"24":3,"16":18922672423436288,"45":1965258318070685696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970017792001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:48:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18922672423436288,"km_value":18922672423436.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965258318070685696,"description":"Unknown IO ID 45"} 
[2026-09-09 14:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970017792001,"power":13993,"unknown_136":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1965258318070685696}} 
[2026-09-09 14:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":178310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:48:07] local.INFO: GPS data processed {"connection_id":178310,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:48:07] local.INFO: Acknowledgment sent {"connection_id":178310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:48:22] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:48:22] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:48:22] local.INFO: Packet analysis {"connection_id":175729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:48:22] local.INFO: Extracted packet for processing {"connection_id":175729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:48:22] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:48:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:48:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":175729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:48:22] local.INFO: GPS data processed {"connection_id":175729,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:48:22] local.INFO: Acknowledgment sent {"connection_id":175729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:48:35] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:48:35] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:48:35] local.INFO: IMEI packet received {"connection_id":175512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":175512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:48:37] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:48:37] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:48:37] local.INFO: IMEI packet received {"connection_id":175512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":175512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:48:38] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:48:38] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:48:38] local.INFO: IMEI packet received {"connection_id":175513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":175513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:48:39] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085756b20012d1b24c007249210002b013c27..."} 
[2026-09-09 14:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085756b20012d1b24c007249210002b013c27..."} 
[2026-09-09 14:48:39] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085756b20012d1b24c007249210002b013c27..."} 
[2026-09-09 14:48:39] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:48:39] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756753600,"raw_latitude":119837200,"longitude_deg":75.67536,"latitude_deg":11.98372,"altitude":43,"angle":316,"satellites":39,"speed":17,"hex_longitude":"2d1b24c0","hex_latitude":"07249210","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970036480001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18923235064152064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958854762351605760,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788945460000,"timestamp_ms":1788945460000,"timestamp_seconds":1788945460,"priority":1,"record_length":96,"hex_timestamp":"000001a085756b20"} 
[2026-09-09 14:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:48: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-09-09 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 14:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970036480001,"66":14298,"136":206,"83":42752,"24":17,"16":18923235064152064,"45":1958854762351605760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970036480001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:48:39] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:48:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18923235064152064,"km_value":18923235064152.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958854762351605760,"description":"Unknown IO ID 45"} 
[2026-09-09 14:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970036480001,"power":14298,"unknown_136":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1958854762351605760}} 
[2026-09-09 14:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:48:40] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:48:40] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:48:41] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085756f08012d1b240007249370002b015026..."} 
[2026-09-09 14:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085756f08012d1b240007249370002b015026..."} 
[2026-09-09 14:48:41] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085756f08012d1b240007249370002b015026..."} 
[2026-09-09 14:48:41] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:48:41] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756753408,"raw_latitude":119837552,"longitude_deg":75.6753408,"latitude_deg":11.9837552,"altitude":43,"angle":336,"satellites":38,"speed":15,"hex_longitude":"2d1b2400","hex_latitude":"07249370","is_valid_coordinates":true} 
[2026-09-09 14:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970037760001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18923256538988544,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955899275096494080,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788945461000,"timestamp_ms":1788945461000,"timestamp_seconds":1788945461,"priority":1,"record_length":96,"hex_timestamp":"000001a085756f08"} 
[2026-09-09 14:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 14:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970037760001,"66":14070,"136":206,"83":42752,"24":15,"16":18923256538988544,"45":1955899275096494080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970037760001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:48:41] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18923256538988544,"km_value":18923256538988.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955899275096494080,"description":"Unknown IO ID 45"} 
[2026-09-09 14:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970037760001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1955899275096494080}} 
[2026-09-09 14:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:48:41] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:48:41] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:48:43] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:48:43] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:48:43] local.INFO: IMEI packet received {"connection_id":175513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":175513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:48:46] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:48:46] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:48:46] local.INFO: Packet analysis {"connection_id":175513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:48:46] local.INFO: Extracted packet for processing {"connection_id":175513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":175513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:48:46] local.INFO: GPS data processed {"connection_id":175513,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:48:46] local.INFO: Acknowledgment sent {"connection_id":175513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:49:12] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857572f0012d1b2400072494e0002b000026..."} 
[2026-09-09 14:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857572f0012d1b2400072494e0002b000026..."} 
[2026-09-09 14:49:12] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857572f0012d1b2400072494e0002b000026..."} 
[2026-09-09 14:49:12] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:49:12] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756753408,"raw_latitude":119837920,"longitude_deg":75.6753408,"latitude_deg":11.983792,"altitude":43,"angle":0,"satellites":38,"speed":15,"hex_longitude":"2d1b2400","hex_latitude":"072494e0","is_valid_coordinates":true} 
[2026-09-09 14:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970038016001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18923273718857728,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955688168864051200,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788945462000,"timestamp_ms":1788945462000,"timestamp_seconds":1788945462,"priority":1,"record_length":96,"hex_timestamp":"000001a0857572f0"} 
[2026-09-09 14:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:49: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-09-09 14:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 14:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970038016001,"66":14070,"136":206,"83":42752,"24":15,"16":18923273718857728,"45":1955688168864051200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970038016001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:49:12] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18923273718857728,"km_value":18923273718857.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955688168864051200,"description":"Unknown IO ID 45"} 
[2026-09-09 14:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970038016001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1955688168864051200}} 
[2026-09-09 14:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:49:13] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:49:13] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:49:18] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:49:18] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:49:18] local.INFO: Packet analysis {"connection_id":175513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:49:18] local.INFO: Extracted packet for processing {"connection_id":175513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":175513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:49:18] local.INFO: GPS data processed {"connection_id":175513,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:49:18] local.INFO: Acknowledgment sent {"connection_id":175513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:49:30] local.INFO: TCP Data received {"connection_id":178311,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:49:30] local.INFO: Processing buffer {"connection_id":178311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:49:30] local.INFO: IMEI packet received {"connection_id":178311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":178311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:49:35] local.INFO: TCP Data received {"connection_id":178311,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:49:35] local.INFO: Processing buffer {"connection_id":178311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:49:35] local.INFO: IMEI packet received {"connection_id":178311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":178311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:49:36] local.INFO: TCP Data received {"connection_id":178311,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857576d8012d1b24c0072496b0002a001726..."} 
[2026-09-09 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857576d8012d1b24c0072496b0002a001726..."} 
[2026-09-09 14:49:36] local.INFO: Processing buffer {"connection_id":178311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857576d8012d1b24c0072496b0002a001726..."} 
[2026-09-09 14:49:36] local.INFO: Packet analysis {"connection_id":178311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:49:36] local.INFO: Extracted packet for processing {"connection_id":178311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756753600,"raw_latitude":119838384,"longitude_deg":75.67536,"latitude_deg":11.9838384,"altitude":42,"angle":23,"satellites":38,"speed":18,"hex_longitude":"2d1b24c0","hex_latitude":"072496b0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970038272001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18923299488661504,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955688168864145408,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945463000,"timestamp_ms":1788945463000,"timestamp_seconds":1788945463,"priority":1,"record_length":96,"hex_timestamp":"000001a0857576d8"} 
[2026-09-09 14:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 14:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970038272001,"66":14070,"136":206,"83":42752,"24":18,"16":18923299488661504,"45":1955688168864145408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970038272001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:49:36] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18923299488661504,"km_value":18923299488661.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955688168864145408,"description":"Unknown IO ID 45"} 
[2026-09-09 14:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970038272001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1955688168864145408}} 
[2026-09-09 14:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":178311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:49:36] local.INFO: GPS data processed {"connection_id":178311,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:49:36] local.INFO: Acknowledgment sent {"connection_id":178311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:49:39] local.INFO: TCP Data received {"connection_id":175731,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:49:39] local.INFO: Processing buffer {"connection_id":175731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:49:39] local.INFO: IMEI packet received {"connection_id":175731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":175731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:49:43] local.INFO: TCP Data received {"connection_id":175731,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:49:43] local.INFO: Processing buffer {"connection_id":175731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:49:43] local.INFO: IMEI packet received {"connection_id":175731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":175731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:49:44] local.INFO: TCP Data received {"connection_id":175731,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:49:44] local.INFO: Processing buffer {"connection_id":175731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:49:44] local.INFO: Packet analysis {"connection_id":175731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:49:44] local.INFO: Extracted packet for processing {"connection_id":175731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":175731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:49:44] local.INFO: GPS data processed {"connection_id":175731,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:49:44] local.INFO: Acknowledgment sent {"connection_id":175731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:50:07] local.INFO: TCP Data received {"connection_id":178311,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085757ac0012d1b260007249848002a002826..."} 
[2026-09-09 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085757ac0012d1b260007249848002a002826..."} 
[2026-09-09 14:50:07] local.INFO: Processing buffer {"connection_id":178311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085757ac0012d1b260007249848002a002826..."} 
[2026-09-09 14:50:07] local.INFO: Packet analysis {"connection_id":178311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:50:07] local.INFO: Extracted packet for processing {"connection_id":178311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756753920,"raw_latitude":119838792,"longitude_deg":75.675392,"latitude_deg":11.9838792,"altitude":42,"angle":40,"satellites":38,"speed":20,"hex_longitude":"2d1b2600","hex_latitude":"07249848","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970038528001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18923320963497984,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955899275096797184,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945464000,"timestamp_ms":1788945464000,"timestamp_seconds":1788945464,"priority":1,"record_length":96,"hex_timestamp":"000001a085757ac0"} 
[2026-09-09 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-09-09 14:50: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-09-09 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 14:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 14:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970038528001,"66":14070,"136":206,"83":42752,"24":20,"16":18923320963497984,"45":1955899275096797184},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970038528001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:50:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18923320963497984,"km_value":18923320963497.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955899275096797184,"description":"Unknown IO ID 45"} 
[2026-09-09 14:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970038528001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1955899275096797184}} 
[2026-09-09 14:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":178311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:50:07] local.INFO: GPS data processed {"connection_id":178311,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:50:07] local.INFO: Acknowledgment sent {"connection_id":178311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:50:16] local.INFO: TCP Data received {"connection_id":175731,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:50:16] local.INFO: Processing buffer {"connection_id":175731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:50:16] local.INFO: Packet analysis {"connection_id":175731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:50:16] local.INFO: Extracted packet for processing {"connection_id":175731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":175731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:50:16] local.INFO: GPS data processed {"connection_id":175731,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:50:16] local.INFO: Acknowledgment sent {"connection_id":175731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:50:30] local.INFO: TCP Data received {"connection_id":176900,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:50:30] local.INFO: Processing buffer {"connection_id":176900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:50:30] local.INFO: IMEI packet received {"connection_id":176900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":176900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:50:30] local.INFO: TCP Data received {"connection_id":176900,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:50:30] local.INFO: Processing buffer {"connection_id":176900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:50:30] local.INFO: IMEI packet received {"connection_id":176900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":176900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:50:34] local.INFO: TCP Data received {"connection_id":176900,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:50:34] local.INFO: Processing buffer {"connection_id":176900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:50:34] local.INFO: IMEI packet received {"connection_id":176900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":176900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:50:35] local.INFO: TCP Data received {"connection_id":176900,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085758678012d1b2c8007249d90002a003524..."} 
[2026-09-09 14:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085758678012d1b2c8007249d90002a003524..."} 
[2026-09-09 14:50:35] local.INFO: Processing buffer {"connection_id":176900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085758678012d1b2c8007249d90002a003524..."} 
[2026-09-09 14:50:35] local.INFO: Packet analysis {"connection_id":176900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:50:35] local.INFO: Extracted packet for processing {"connection_id":176900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08575"} 
[2026-09-09 14:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756755584,"raw_latitude":119840144,"longitude_deg":75.6755584,"latitude_deg":11.9840144,"altitude":42,"angle":53,"satellites":36,"speed":30,"hex_longitude":"2d1b2c80","hex_latitude":"07249d90","is_valid_coordinates":true} 
[2026-09-09 14:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970038784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18923424042713088,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956251118817789952,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788945467000,"timestamp_ms":1788945467000,"timestamp_seconds":1788945467,"priority":1,"record_length":96,"hex_timestamp":"000001a085758678"} 
[2026-09-09 14:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 14:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970038784001,"66":14004,"136":206,"83":42752,"24":30,"16":18923424042713088,"45":1956251118817789952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 14:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970038784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:50:35] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 14:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18923424042713088,"km_value":18923424042713.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956251118817789952,"description":"Unknown IO ID 45"} 
[2026-09-09 14:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970038784001,"power":14004,"unknown_136":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1956251118817789952}} 
[2026-09-09 14:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":176900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:50:35] local.INFO: GPS data processed {"connection_id":176900,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:50:35] local.INFO: Acknowledgment sent {"connection_id":176900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:50:38] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:50:38] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:50:38] local.INFO: IMEI packet received {"connection_id":175514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":175514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:50:44] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:50:44] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:50:44] local.INFO: IMEI packet received {"connection_id":175514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":175514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:50:45] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:50:45] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:50:45] local.INFO: Packet analysis {"connection_id":175514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:50:45] local.INFO: Extracted packet for processing {"connection_id":175514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":175514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:50:45] local.INFO: GPS data processed {"connection_id":175514,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:50:45] local.INFO: Acknowledgment sent {"connection_id":175514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:51:07] local.INFO: TCP Data received {"connection_id":176900,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08577d068012d1b6ec007257160002400392a..."} 
[2026-09-09 14:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08577d068012d1b6ec007257160002400392a..."} 
[2026-09-09 14:51:07] local.INFO: Processing buffer {"connection_id":176900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08577d068012d1b6ec007257160002400392a..."} 
[2026-09-09 14:51:07] local.INFO: Packet analysis {"connection_id":176900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08577"} 
[2026-09-09 14:51:07] local.INFO: Extracted packet for processing {"connection_id":176900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08577"} 
[2026-09-09 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756772544,"raw_latitude":119894368,"longitude_deg":75.6772544,"latitude_deg":11.9894368,"altitude":36,"angle":57,"satellites":42,"speed":14,"hex_longitude":"2d1b6ec0","hex_latitude":"07257160","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970077696001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926348915441664,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976376579666774016,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945617000,"timestamp_ms":1788945617000,"timestamp_seconds":1788945617,"priority":1,"record_length":96,"hex_timestamp":"000001a08577d068"} 
[2026-09-09 14:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":24,"data_length":795,"current_offset":136} 
[2026-09-09 14:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970077696001,"66":13015,"216":206,"83":42752,"24":14,"16":18926348915441664,"45":1976376579666774016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970077696001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:51:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926348915441664,"km_value":18926348915441.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976376579666774016,"description":"Unknown IO ID 45"} 
[2026-09-09 14:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970077696001,"power":13015,"unknown_216":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1976376579666774016}} 
[2026-09-09 14:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":176900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:51:07] local.INFO: GPS data processed {"connection_id":176900,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:51:07] local.INFO: Acknowledgment sent {"connection_id":176900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:51:16] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:51:16] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:51:16] local.INFO: Packet analysis {"connection_id":175514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:51:16] local.INFO: Extracted packet for processing {"connection_id":175514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":175514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:51:16] local.INFO: GPS data processed {"connection_id":175514,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:51:16] local.INFO: Acknowledgment sent {"connection_id":175514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:51:30] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:51:30] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:51:30] local.INFO: IMEI packet received {"connection_id":175733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":175733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:51:35] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:51:35] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:51:35] local.INFO: IMEI packet received {"connection_id":175733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":175733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:51:36] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08577d450012d1b7040072571f0002400462a..."} 
[2026-09-09 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08577d450012d1b7040072571f0002400462a..."} 
[2026-09-09 14:51:36] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08577d450012d1b7040072571f0002400462a..."} 
[2026-09-09 14:51:36] local.INFO: Packet analysis {"connection_id":175733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08577"} 
[2026-09-09 14:51:36] local.INFO: Extracted packet for processing {"connection_id":175733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08577"} 
[2026-09-09 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119894512,"longitude_deg":75.6772928,"latitude_deg":11.9894512,"altitude":36,"angle":70,"satellites":42,"speed":13,"hex_longitude":"2d1b7040","hex_latitude":"072571f0","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970077952001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926366095310848,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976728423387717632,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945618000,"timestamp_ms":1788945618000,"timestamp_seconds":1788945618,"priority":1,"record_length":96,"hex_timestamp":"000001a08577d450"} 
[2026-09-09 14:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-09 14:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970077952001,"66":13015,"216":206,"83":42752,"24":13,"16":18926366095310848,"45":1976728423387717632},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970077952001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:51:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926366095310848,"km_value":18926366095310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976728423387717632,"description":"Unknown IO ID 45"} 
[2026-09-09 14:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970077952001,"power":13015,"unknown_216":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1976728423387717632}} 
[2026-09-09 14:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":175733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:51:36] local.INFO: GPS data processed {"connection_id":175733,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:51:36] local.INFO: Acknowledgment sent {"connection_id":175733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:51:38] local.INFO: TCP Data received {"connection_id":176901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:51:38] local.INFO: Processing buffer {"connection_id":176901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:51:38] local.INFO: IMEI packet received {"connection_id":176901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":176901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:51:43] local.INFO: TCP Data received {"connection_id":176901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:51:43] local.INFO: Processing buffer {"connection_id":176901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:51:43] local.INFO: IMEI packet received {"connection_id":176901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":176901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:51:44] local.INFO: TCP Data received {"connection_id":176901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:51:44] local.INFO: Processing buffer {"connection_id":176901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857459b0012d34c48006aa49900006008d27..."} 
[2026-09-09 14:51:44] local.INFO: Packet analysis {"connection_id":176901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:51:44] local.INFO: Extracted packet for processing {"connection_id":176901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08574"} 
[2026-09-09 14:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":6,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457969942784001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788945390000,"timestamp_ms":1788945390000,"timestamp_seconds":1788945390,"priority":1,"record_length":96,"hex_timestamp":"000001a0857459b0"} 
[2026-09-09 14:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457969942784001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457969942784001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457969942784001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":176901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:51:44] local.INFO: GPS data processed {"connection_id":176901,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:51:44] local.INFO: Acknowledgment sent {"connection_id":176901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:52:07] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08577e3f0012d1b74c007257348002500582a..."} 
[2026-09-09 14:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08577e3f0012d1b74c007257348002500582a..."} 
[2026-09-09 14:52:07] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08577e3f0012d1b74c007257348002500582a..."} 
[2026-09-09 14:52:07] local.INFO: Packet analysis {"connection_id":175733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08577"} 
[2026-09-09 14:52:07] local.INFO: Extracted packet for processing {"connection_id":175733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08577"} 
[2026-09-09 14:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756774080,"raw_latitude":119894856,"longitude_deg":75.677408,"latitude_deg":11.9894856,"altitude":37,"angle":88,"satellites":42,"speed":9,"hex_longitude":"2d1b74c0","hex_latitude":"07257348","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970078208001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926426224852992,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635852820480,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945622000,"timestamp_ms":1788945622000,"timestamp_seconds":1788945622,"priority":1,"record_length":96,"hex_timestamp":"000001a08577e3f0"} 
[2026-09-09 14:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:52: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-09-09 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-09 14:52: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-09-09 14: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-09-09 14:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970078208001,"66":13102,"216":206,"83":42752,"24":9,"16":18926426224852992,"45":1977150635852820480},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970078208001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:52:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926426224852992,"km_value":18926426224852.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635852820480,"description":"Unknown IO ID 45"} 
[2026-09-09 14:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970078208001,"power":13102,"unknown_216":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1977150635852820480}} 
[2026-09-09 14:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":175733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:52:07] local.INFO: GPS data processed {"connection_id":175733,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:52:07] local.INFO: Acknowledgment sent {"connection_id":175733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:52:16] local.INFO: TCP Data received {"connection_id":176901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:52:16] local.INFO: Processing buffer {"connection_id":176901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:52:16] local.INFO: Packet analysis {"connection_id":176901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:52:16] local.INFO: Extracted packet for processing {"connection_id":176901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970019840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788945691000,"timestamp_ms":1788945691000,"timestamp_seconds":1788945691,"priority":1,"record_length":96,"hex_timestamp":"000001a08578f178"} 
[2026-09-09 14:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970019840001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970019840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970019840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":176901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:52:16] local.INFO: GPS data processed {"connection_id":176901,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:52:16] local.INFO: Acknowledgment sent {"connection_id":176901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:52:30] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:52:30] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:52:30] local.INFO: IMEI packet received {"connection_id":175517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":175517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:52:35] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:52:35] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:52:35] local.INFO: IMEI packet received {"connection_id":175517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":175517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:52:36] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857835f8012d1b76c007257390002500552a..."} 
[2026-09-09 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857835f8012d1b76c007257390002500552a..."} 
[2026-09-09 14:52:36] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857835f8012d1b76c007257390002500552a..."} 
[2026-09-09 14:52:36] local.INFO: Packet analysis {"connection_id":175517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:52:36] local.INFO: Extracted packet for processing {"connection_id":175517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970079232001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978417273248106496,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945643000,"timestamp_ms":1788945643000,"timestamp_seconds":1788945643,"priority":1,"record_length":96,"hex_timestamp":"000001a0857835f8"} 
[2026-09-09 14:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":46,"data_length":795,"current_offset":136} 
[2026-09-09 14:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970079232001,"66":13059,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978417273248106496},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970079232001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:52:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978417273248106496,"description":"Unknown IO ID 45"} 
[2026-09-09 14:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970079232001,"power":13059,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978417273248106496}} 
[2026-09-09 14:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":175517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:52:36] local.INFO: GPS data processed {"connection_id":175517,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:52:36] local.INFO: Acknowledgment sent {"connection_id":175517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:52:43] local.INFO: TCP Data received {"connection_id":178312,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:52:43] local.INFO: Processing buffer {"connection_id":178312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:52:43] local.INFO: IMEI packet received {"connection_id":178312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":178312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:52:49] local.INFO: TCP Data received {"connection_id":178312,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:52:49] local.INFO: Processing buffer {"connection_id":178312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:52:49] local.INFO: IMEI packet received {"connection_id":178312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":178312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:52:49] local.INFO: TCP Data received {"connection_id":175734,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:52:49] local.INFO: Processing buffer {"connection_id":175734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:52:49] local.INFO: IMEI packet received {"connection_id":175734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":175734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:52:50] local.INFO: TCP Data received {"connection_id":178312,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:52:50] local.INFO: Processing buffer {"connection_id":178312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:52:50] local.INFO: Packet analysis {"connection_id":178312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:52:50] local.INFO: Extracted packet for processing {"connection_id":178312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:52:50] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970019840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788945691000,"timestamp_ms":1788945691000,"timestamp_seconds":1788945691,"priority":1,"record_length":96,"hex_timestamp":"000001a08578f178"} 
[2026-09-09 14:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970019840001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970019840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:52:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:52:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970019840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":178312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:52:50] local.INFO: GPS data processed {"connection_id":178312,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:52:50] local.INFO: Acknowledgment sent {"connection_id":178312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:52:54] local.INFO: TCP Data received {"connection_id":178312,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:52:54] local.INFO: Processing buffer {"connection_id":178312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:52:54] local.INFO: Packet analysis {"connection_id":178312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:52:54] local.INFO: Extracted packet for processing {"connection_id":178312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970019840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788945691000,"timestamp_ms":1788945691000,"timestamp_seconds":1788945691,"priority":1,"record_length":96,"hex_timestamp":"000001a08578f178"} 
[2026-09-09 14:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970019840001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970019840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:52:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970019840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":178312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:52:54] local.INFO: GPS data processed {"connection_id":178312,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:52:54] local.INFO: Acknowledgment sent {"connection_id":178312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:53:07] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085788800012d1b76c007257390002500552a..."} 
[2026-09-09 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085788800012d1b76c007257390002500552a..."} 
[2026-09-09 14:53:07] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085788800012d1b76c007257390002500552a..."} 
[2026-09-09 14:53:07] local.INFO: Packet analysis {"connection_id":175517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:53:07] local.INFO: Extracted packet for processing {"connection_id":175517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970084608001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945664000,"timestamp_ms":1788945664000,"timestamp_seconds":1788945664,"priority":1,"record_length":96,"hex_timestamp":"000001a085788800"} 
[2026-09-09 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-09-09 14:53: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-09-09 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 14:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164287929706,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:07] local.WARNING: Large IO value detected {"io_id":216,"raw_value":58075821928611853,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2239210864,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-09-09 14:53:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,216,83,24,241,157,16,61,160,227,45,192,115,37,42,10,66,212,64,113,36,208,1,240,215,133,4,205,13,173,107,239,51,2,67,7],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-09-09 14:53:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666224618280321024,"timestamp_seconds":2666224618280321.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 14:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970084608001,"66":13048,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970084608001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:53:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970084608001,"power":13048,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":175517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:53:07] local.INFO: GPS data processed {"connection_id":175517,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:53:07] local.INFO: Acknowledgment sent {"connection_id":175517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:53:30] local.INFO: TCP Data received {"connection_id":176902,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:53:30] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:53:30] local.INFO: IMEI packet received {"connection_id":176902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":176902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:53:35] local.INFO: TCP Data received {"connection_id":176902,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:53:35] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:53:35] local.INFO: IMEI packet received {"connection_id":176902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":176902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:53:36] local.INFO: TCP Data received {"connection_id":176902,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08578da08012d1b76c007257390002500552a..."} 
[2026-09-09 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578da08012d1b76c007257390002500552a..."} 
[2026-09-09 14:53:36] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578da08012d1b76c007257390002500552a..."} 
[2026-09-09 14:53:36] local.INFO: Packet analysis {"connection_id":176902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:53:36] local.INFO: Extracted packet for processing {"connection_id":176902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970089984001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945685000,"timestamp_ms":1788945685000,"timestamp_seconds":1788945685,"priority":1,"record_length":96,"hex_timestamp":"000001a08578da08"} 
[2026-09-09 14:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-09 14:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970089984001,"66":13015,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970089984001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:53:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970089984001,"power":13015,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":176902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:53:36] local.INFO: GPS data processed {"connection_id":176902,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:53:36] local.INFO: Acknowledgment sent {"connection_id":176902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:53:38] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:53:38] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:53:38] local.INFO: IMEI packet received {"connection_id":176903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":176903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:53:43] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:53:43] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:53:43] local.INFO: IMEI packet received {"connection_id":176903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":176903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:53:44] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:53:44] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:53:44] local.INFO: Packet analysis {"connection_id":176903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:53:44] local.INFO: Extracted packet for processing {"connection_id":176903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970019840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788945691000,"timestamp_ms":1788945691000,"timestamp_seconds":1788945691,"priority":1,"record_length":96,"hex_timestamp":"000001a08578f178"} 
[2026-09-09 14:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:53: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-09-09 14:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970019840001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970019840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970019840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":176903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:53:44] local.INFO: GPS data processed {"connection_id":176903,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:53:44] local.INFO: Acknowledgment sent {"connection_id":176903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:54:07] local.INFO: TCP Data received {"connection_id":176902,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085792c10012d1b76c0072573900025005528..."} 
[2026-09-09 14:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085792c10012d1b76c0072573900025005528..."} 
[2026-09-09 14:54:07] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085792c10012d1b76c0072573900025005528..."} 
[2026-09-09 14:54:07] local.INFO: Packet analysis {"connection_id":176902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08579"} 
[2026-09-09 14:54:07] local.INFO: Extracted packet for processing {"connection_id":176902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08579"} 
[2026-09-09 14:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970095360001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945706000,"timestamp_ms":1788945706000,"timestamp_seconds":1788945706,"priority":1,"record_length":96,"hex_timestamp":"000001a085792c10"} 
[2026-09-09 14:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:54: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-09-09 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-09 14:54: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-09-09 14:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970095360001,"66":12993,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970095360001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:54:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970095360001,"power":12993,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":176902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:54:07] local.INFO: GPS data processed {"connection_id":176902,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:54:07] local.INFO: Acknowledgment sent {"connection_id":176902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:54:15] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:54:15] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:54:15] local.INFO: Packet analysis {"connection_id":176903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:54:15] local.INFO: Extracted packet for processing {"connection_id":176903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970019840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788945691000,"timestamp_ms":1788945691000,"timestamp_seconds":1788945691,"priority":1,"record_length":96,"hex_timestamp":"000001a08578f178"} 
[2026-09-09 14:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:54: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-09-09 14:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970019840001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970019840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970019840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":176903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:54:15] local.INFO: GPS data processed {"connection_id":176903,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:54:15] local.INFO: Acknowledgment sent {"connection_id":176903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:54:35] local.INFO: TCP Data received {"connection_id":178313,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:54:35] local.INFO: Processing buffer {"connection_id":178313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:54:35] local.INFO: IMEI packet received {"connection_id":178313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":178313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:54:39] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:54:39] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:54:39] local.INFO: IMEI packet received {"connection_id":175519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":175519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:54:40] local.INFO: TCP Data received {"connection_id":178313,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:54:40] local.INFO: Processing buffer {"connection_id":178313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:54:40] local.INFO: IMEI packet received {"connection_id":178313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":178313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:54:41] local.INFO: TCP Data received {"connection_id":178313,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085797e18012d1b76c0072573900025005528..."} 
[2026-09-09 14:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085797e18012d1b76c0072573900025005528..."} 
[2026-09-09 14:54:41] local.INFO: Processing buffer {"connection_id":178313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085797e18012d1b76c0072573900025005528..."} 
[2026-09-09 14:54:41] local.INFO: Packet analysis {"connection_id":178313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08579"} 
[2026-09-09 14:54:41] local.INFO: Extracted packet for processing {"connection_id":178313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08579"} 
[2026-09-09 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970100736001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788945727000,"timestamp_ms":1788945727000,"timestamp_seconds":1788945727,"priority":1,"record_length":96,"hex_timestamp":"000001a085797e18"} 
[2026-09-09 14:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-09 14:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970100736001,"66":12950,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970100736001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:54:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970100736001,"power":12950,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":178313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:54:41] local.INFO: GPS data processed {"connection_id":178313,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:54:41] local.INFO: Acknowledgment sent {"connection_id":178313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:54:43] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:54:43] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:54:43] local.INFO: IMEI packet received {"connection_id":175519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":175519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:54:44] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:54:44] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:54:44] local.INFO: Packet analysis {"connection_id":175519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:54:44] local.INFO: Extracted packet for processing {"connection_id":175519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970019840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788945691000,"timestamp_ms":1788945691000,"timestamp_seconds":1788945691,"priority":1,"record_length":96,"hex_timestamp":"000001a08578f178"} 
[2026-09-09 14:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:54: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-09-09 14:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970019840001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970019840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970019840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":175519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:54:44] local.INFO: GPS data processed {"connection_id":175519,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:54:44] local.INFO: Acknowledgment sent {"connection_id":175519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:54:45] local.INFO: TCP Data received {"connection_id":178313,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08579d020012d1b76c0072573900025005529..."} 
[2026-09-09 14:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08579d020012d1b76c0072573900025005529..."} 
[2026-09-09 14:54:45] local.INFO: Processing buffer {"connection_id":178313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08579d020012d1b76c0072573900025005529..."} 
[2026-09-09 14:54:45] local.INFO: Packet analysis {"connection_id":178313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08579"} 
[2026-09-09 14:54:45] local.INFO: Extracted packet for processing {"connection_id":178313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08579"} 
[2026-09-09 14:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970106112001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788945748000,"timestamp_ms":1788945748000,"timestamp_seconds":1788945748,"priority":1,"record_length":96,"hex_timestamp":"000001a08579d020"} 
[2026-09-09 14:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:54: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-09-09 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-09 14:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970106112001,"66":12972,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970106112001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:54:45] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970106112001,"power":12972,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":178313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:54:46] local.INFO: GPS data processed {"connection_id":178313,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:54:46] local.INFO: Acknowledgment sent {"connection_id":178313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:55:16] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:55:16] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:55:16] local.INFO: Packet analysis {"connection_id":175519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:55:16] local.INFO: Extracted packet for processing {"connection_id":175519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970019840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788945691000,"timestamp_ms":1788945691000,"timestamp_seconds":1788945691,"priority":1,"record_length":96,"hex_timestamp":"000001a08578f178"} 
[2026-09-09 14:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970019840001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970019840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:55:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970019840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":175519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:55:16] local.INFO: GPS data processed {"connection_id":175519,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:55:16] local.INFO: Acknowledgment sent {"connection_id":175519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:55:30] local.INFO: TCP Data received {"connection_id":176904,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:55:30] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:55:30] local.INFO: IMEI packet received {"connection_id":176904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":176904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:55:33] local.INFO: TCP Data received {"connection_id":176904,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:55:33] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:55:33] local.INFO: IMEI packet received {"connection_id":176904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":176904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:55:34] local.INFO: TCP Data received {"connection_id":176904,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857a2228012d1b76c0072573900025005528..."} 
[2026-09-09 14:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857a2228012d1b76c0072573900025005528..."} 
[2026-09-09 14:55:34] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857a2228012d1b76c0072573900025005528..."} 
[2026-09-09 14:55:34] local.INFO: Packet analysis {"connection_id":176904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857a"} 
[2026-09-09 14:55:34] local.INFO: Extracted packet for processing {"connection_id":176904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857a"} 
[2026-09-09 14:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970111488001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788945769000,"timestamp_ms":1788945769000,"timestamp_seconds":1788945769,"priority":1,"record_length":96,"hex_timestamp":"000001a0857a2228"} 
[2026-09-09 14:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:55: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-09-09 14: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-09 14:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970111488001,"66":12950,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970111488001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:55:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970111488001,"power":12950,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":176904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:55:34] local.INFO: GPS data processed {"connection_id":176904,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:55:34] local.INFO: Acknowledgment sent {"connection_id":176904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:55:38] local.INFO: TCP Data received {"connection_id":175735,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:55:38] local.INFO: Processing buffer {"connection_id":175735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:55:38] local.INFO: IMEI packet received {"connection_id":175735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":175735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:55:43] local.INFO: TCP Data received {"connection_id":175735,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:55:43] local.INFO: Processing buffer {"connection_id":175735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:55:43] local.INFO: IMEI packet received {"connection_id":175735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":175735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:55:44] local.INFO: TCP Data received {"connection_id":175735,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:55:44] local.INFO: Processing buffer {"connection_id":175735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:55:44] local.INFO: Packet analysis {"connection_id":175735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:55:44] local.INFO: Extracted packet for processing {"connection_id":175735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970019840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788945691000,"timestamp_ms":1788945691000,"timestamp_seconds":1788945691,"priority":1,"record_length":96,"hex_timestamp":"000001a08578f178"} 
[2026-09-09 14:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:55: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-09-09 14: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-09-09 14:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970019840001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970019840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970019840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":175735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:55:44] local.INFO: GPS data processed {"connection_id":175735,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:55:44] local.INFO: Acknowledgment sent {"connection_id":175735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:56:06] local.INFO: TCP Data received {"connection_id":176904,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857a7430012d1b76c0072573900025005528..."} 
[2026-09-09 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857a7430012d1b76c0072573900025005528..."} 
[2026-09-09 14:56:06] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857a7430012d1b76c0072573900025005528..."} 
[2026-09-09 14:56:06] local.INFO: Packet analysis {"connection_id":176904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857a"} 
[2026-09-09 14:56:06] local.INFO: Extracted packet for processing {"connection_id":176904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857a"} 
[2026-09-09 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970116864001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788945790000,"timestamp_ms":1788945790000,"timestamp_seconds":1788945790,"priority":1,"record_length":96,"hex_timestamp":"000001a0857a7430"} 
[2026-09-09 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-09-09 14:56: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-09-09 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-09 14:56: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-09-09 14:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970116864001,"66":12939,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970116864001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:56:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970116864001,"power":12939,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":176904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:56:06] local.INFO: GPS data processed {"connection_id":176904,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:56:06] local.INFO: Acknowledgment sent {"connection_id":176904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:56:16] local.INFO: TCP Data received {"connection_id":175735,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:56:16] local.INFO: Processing buffer {"connection_id":175735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08578f178012d34c48006aa4990000b008d28..."} 
[2026-09-09 14:56:16] local.INFO: Packet analysis {"connection_id":175735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:56:16] local.INFO: Extracted packet for processing {"connection_id":175735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08578"} 
[2026-09-09 14:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":11,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970019840001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788945691000,"timestamp_ms":1788945691000,"timestamp_seconds":1788945691,"priority":1,"record_length":96,"hex_timestamp":"000001a08578f178"} 
[2026-09-09 14:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 14:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970019840001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970019840001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970019840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":175735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:56:16] local.INFO: GPS data processed {"connection_id":175735,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:56:16] local.INFO: Acknowledgment sent {"connection_id":175735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:56:30] local.INFO: TCP Data received {"connection_id":175521,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:56:30] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:56:30] local.INFO: IMEI packet received {"connection_id":175521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":175521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:56:35] local.INFO: TCP Data received {"connection_id":175521,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:56:35] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:56:35] local.INFO: IMEI packet received {"connection_id":175521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":175521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:56:36] local.INFO: TCP Data received {"connection_id":175521,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857ac638012d1b76c0072573900025005527..."} 
[2026-09-09 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857ac638012d1b76c0072573900025005527..."} 
[2026-09-09 14:56:36] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857ac638012d1b76c0072573900025005527..."} 
[2026-09-09 14:56:36] local.INFO: Packet analysis {"connection_id":175521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857a"} 
[2026-09-09 14:56:36] local.INFO: Extracted packet for processing {"connection_id":175521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857a"} 
[2026-09-09 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970122240001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945811000,"timestamp_ms":1788945811000,"timestamp_seconds":1788945811,"priority":1,"record_length":96,"hex_timestamp":"000001a0857ac638"} 
[2026-09-09 14:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 14:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970122240001,"66":12841,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970122240001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:56:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970122240001,"power":12841,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":175521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:56:36] local.INFO: GPS data processed {"connection_id":175521,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:56:36] local.INFO: Acknowledgment sent {"connection_id":175521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:57:07] local.INFO: TCP Data received {"connection_id":175521,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857b1840012d1b76c0072573900025005528..."} 
[2026-09-09 14:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857b1840012d1b76c0072573900025005528..."} 
[2026-09-09 14:57:07] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857b1840012d1b76c0072573900025005528..."} 
[2026-09-09 14:57:07] local.INFO: Packet analysis {"connection_id":175521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857b"} 
[2026-09-09 14:57:07] local.INFO: Extracted packet for processing {"connection_id":175521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857b"} 
[2026-09-09 14:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970127616001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945832000,"timestamp_ms":1788945832000,"timestamp_seconds":1788945832,"priority":1,"record_length":96,"hex_timestamp":"000001a0857b1840"} 
[2026-09-09 14:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:57: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-09-09 14: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-09-09 14: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-09-09 14: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-09-09 14:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970127616001,"66":12885,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970127616001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:57:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970127616001,"power":12885,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":175521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:57:07] local.INFO: GPS data processed {"connection_id":175521,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:57:07] local.INFO: Acknowledgment sent {"connection_id":175521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:57:10] local.INFO: TCP Data received {"connection_id":178316,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:10] local.INFO: Processing buffer {"connection_id":178316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:10] local.INFO: IMEI packet received {"connection_id":178316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":178316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:57:13] local.INFO: TCP Data received {"connection_id":178316,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:13] local.INFO: Processing buffer {"connection_id":178316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:13] local.INFO: IMEI packet received {"connection_id":178316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":178316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:57:19] local.INFO: TCP Data received {"connection_id":178316,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:19] local.INFO: Processing buffer {"connection_id":178316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:19] local.INFO: IMEI packet received {"connection_id":178316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":178316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:57:21] local.INFO: TCP Data received {"connection_id":178316,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:57:21] local.INFO: Processing buffer {"connection_id":178316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:57:21] local.INFO: Packet analysis {"connection_id":178316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:57:21] local.INFO: Extracted packet for processing {"connection_id":178316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970096896001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788945992000,"timestamp_ms":1788945992000,"timestamp_seconds":1788945992,"priority":1,"record_length":96,"hex_timestamp":"000001a0857d8940"} 
[2026-09-09 14:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970096896001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970096896001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:57:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970096896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":178316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:57:21] local.INFO: GPS data processed {"connection_id":178316,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:57:21] local.INFO: Acknowledgment sent {"connection_id":178316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:57:30] local.INFO: TCP Data received {"connection_id":178317,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:57:30] local.INFO: Processing buffer {"connection_id":178317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:57:30] local.INFO: IMEI packet received {"connection_id":178317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":178317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:57:35] local.INFO: TCP Data received {"connection_id":178317,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:57:35] local.INFO: Processing buffer {"connection_id":178317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:57:35] local.INFO: IMEI packet received {"connection_id":178317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":178317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:57:36] local.INFO: TCP Data received {"connection_id":178317,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857b6a48012d1b76c007257390002500552a..."} 
[2026-09-09 14:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857b6a48012d1b76c007257390002500552a..."} 
[2026-09-09 14:57:36] local.INFO: Processing buffer {"connection_id":178317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857b6a48012d1b76c007257390002500552a..."} 
[2026-09-09 14:57:36] local.INFO: Packet analysis {"connection_id":178317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857b"} 
[2026-09-09 14:57:36] local.INFO: Extracted packet for processing {"connection_id":178317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857b"} 
[2026-09-09 14:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970132992001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945853000,"timestamp_ms":1788945853000,"timestamp_seconds":1788945853,"priority":1,"record_length":96,"hex_timestamp":"000001a0857b6a48"} 
[2026-09-09 14:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-09 14:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970132992001,"66":12852,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970132992001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:57:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970132992001,"power":12852,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":178317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:57:36] local.INFO: GPS data processed {"connection_id":178317,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:57:36] local.INFO: Acknowledgment sent {"connection_id":178317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:57:43] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:43] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:43] local.INFO: IMEI packet received {"connection_id":175736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":175736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:57:48] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:48] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:57:48] local.INFO: IMEI packet received {"connection_id":175736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":175736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:57:49] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:57:49] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:57:49] local.INFO: Packet analysis {"connection_id":175736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:57:49] local.INFO: Extracted packet for processing {"connection_id":175736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970096896001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788945992000,"timestamp_ms":1788945992000,"timestamp_seconds":1788945992,"priority":1,"record_length":96,"hex_timestamp":"000001a0857d8940"} 
[2026-09-09 14:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970096896001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970096896001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970096896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":175736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:57:49] local.INFO: GPS data processed {"connection_id":175736,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:57:49] local.INFO: Acknowledgment sent {"connection_id":175736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:58:07] local.INFO: TCP Data received {"connection_id":178317,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857bbc50012d1b76c007257390002500552b..."} 
[2026-09-09 14:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857bbc50012d1b76c007257390002500552b..."} 
[2026-09-09 14:58:07] local.INFO: Processing buffer {"connection_id":178317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857bbc50012d1b76c007257390002500552b..."} 
[2026-09-09 14:58:07] local.INFO: Packet analysis {"connection_id":178317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857b"} 
[2026-09-09 14:58:07] local.INFO: Extracted packet for processing {"connection_id":178317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857b"} 
[2026-09-09 14:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970138368001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945874000,"timestamp_ms":1788945874000,"timestamp_seconds":1788945874,"priority":1,"record_length":96,"hex_timestamp":"000001a0857bbc50"} 
[2026-09-09 14:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:58: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-09-09 14: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 14:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970138368001,"66":12841,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970138368001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:58:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970138368001,"power":12841,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":178317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:58:07] local.INFO: GPS data processed {"connection_id":178317,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:58:07] local.INFO: Acknowledgment sent {"connection_id":178317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:58:21] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:58:21] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:58:21] local.INFO: Packet analysis {"connection_id":175736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:58:21] local.INFO: Extracted packet for processing {"connection_id":175736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970096896001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788945992000,"timestamp_ms":1788945992000,"timestamp_seconds":1788945992,"priority":1,"record_length":96,"hex_timestamp":"000001a0857d8940"} 
[2026-09-09 14:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14: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-09-09 14:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970096896001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970096896001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:58:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970096896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":175736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:58:21] local.INFO: GPS data processed {"connection_id":175736,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:58:21] local.INFO: Acknowledgment sent {"connection_id":175736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:58:30] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:58:30] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:58:30] local.INFO: IMEI packet received {"connection_id":175737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":175737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:58:35] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:58:35] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:58:35] local.INFO: IMEI packet received {"connection_id":175737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":175737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:58:36] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857c0e58012d1b76c007257390002500552b..."} 
[2026-09-09 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857c0e58012d1b76c007257390002500552b..."} 
[2026-09-09 14:58:36] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857c0e58012d1b76c007257390002500552b..."} 
[2026-09-09 14:58:36] local.INFO: Packet analysis {"connection_id":175737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857c"} 
[2026-09-09 14:58:36] local.INFO: Extracted packet for processing {"connection_id":175737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857c"} 
[2026-09-09 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756774592,"raw_latitude":119894928,"longitude_deg":75.6774592,"latitude_deg":11.9894928,"altitude":37,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d1b76c0","hex_latitude":"07257390","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970143744001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926456289624064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788945895000,"timestamp_ms":1788945895000,"timestamp_seconds":1788945895,"priority":1,"record_length":96,"hex_timestamp":"000001a0857c0e58"} 
[2026-09-09 14:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 14:58: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-09-09 14: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-09-09 14:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970143744001,"66":12798,"216":206,"83":42752,"24":0,"16":18926456289624064,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970143744001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:58:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926456289624064,"km_value":18926456289624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970143744001,"power":12798,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":175737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:58:36] local.INFO: GPS data processed {"connection_id":175737,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:58:36] local.INFO: Acknowledgment sent {"connection_id":175737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:58:38] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:58:38] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:58:38] local.INFO: IMEI packet received {"connection_id":176905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":176905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:58:43] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:58:43] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:58:43] local.INFO: IMEI packet received {"connection_id":176905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":176905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:58:44] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:58:44] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:58:44] local.INFO: Packet analysis {"connection_id":176905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:58:44] local.INFO: Extracted packet for processing {"connection_id":176905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970096896001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788945992000,"timestamp_ms":1788945992000,"timestamp_seconds":1788945992,"priority":1,"record_length":96,"hex_timestamp":"000001a0857d8940"} 
[2026-09-09 14:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970096896001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970096896001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:58:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970096896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":176905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:58:44] local.INFO: GPS data processed {"connection_id":176905,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:58:44] local.INFO: Acknowledgment sent {"connection_id":176905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:58:47] local.INFO: TCP Data received {"connection_id":176906,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:58:47] local.INFO: Processing buffer {"connection_id":176906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 14:58:47] local.INFO: IMEI packet received {"connection_id":176906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 14:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":176906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:59:07] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857c6060012d1b768007256fe8003000552b..."} 
[2026-09-09 14:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857c6060012d1b768007256fe8003000552b..."} 
[2026-09-09 14:59:07] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857c6060012d1b768007256fe8003000552b..."} 
[2026-09-09 14:59:07] local.INFO: Packet analysis {"connection_id":175737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857c"} 
[2026-09-09 14:59:07] local.INFO: Extracted packet for processing {"connection_id":175737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857c"} 
[2026-09-09 14:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119893992,"longitude_deg":75.6774528,"latitude_deg":11.9893992,"altitude":48,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d1b7680","hex_latitude":"07256fe8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 14:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970149120001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926503534264320,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201546240,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788945916000,"timestamp_ms":1788945916000,"timestamp_seconds":1788945916,"priority":1,"record_length":96,"hex_timestamp":"000001a0857c6060"} 
[2026-09-09 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-09-09 14:59: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-09-09 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 14:59: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-09-09 14: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-09-09 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-09-09 14:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970149120001,"66":12819,"216":206,"83":42752,"24":0,"16":18926503534264320,"45":1978980223201546240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970149120001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:59:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926503534264320,"km_value":18926503534264.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201546240,"description":"Unknown IO ID 45"} 
[2026-09-09 14:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970149120001,"power":12819,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978980223201546240}} 
[2026-09-09 14:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":175737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:59:07] local.INFO: GPS data processed {"connection_id":175737,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:59:07] local.INFO: Acknowledgment sent {"connection_id":175737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:59:17] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:59:17] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857d8940012d34c48006aa49900009008d27..."} 
[2026-09-09 14:59:17] local.INFO: Packet analysis {"connection_id":176905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:59:17] local.INFO: Extracted packet for processing {"connection_id":176905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 14:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823248,"longitude_deg":75.8432896,"latitude_deg":11.1823248,"altitude":9,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-09-09 14:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970096896001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788945992000,"timestamp_ms":1788945992000,"timestamp_seconds":1788945992,"priority":1,"record_length":96,"hex_timestamp":"000001a0857d8940"} 
[2026-09-09 14:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 14:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970096896001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970096896001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970096896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":176905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:59:17] local.INFO: GPS data processed {"connection_id":176905,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:59:17] local.INFO: Acknowledgment sent {"connection_id":176905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:59:30] local.INFO: TCP Data received {"connection_id":178318,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:59:30] local.INFO: Processing buffer {"connection_id":178318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:59:30] local.INFO: IMEI packet received {"connection_id":178318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 14:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":178318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:59:35] local.INFO: TCP Data received {"connection_id":178318,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:59:35] local.INFO: Processing buffer {"connection_id":178318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 14:59:35] local.INFO: IMEI packet received {"connection_id":178318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 14:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":178318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:59:37] local.INFO: TCP Data received {"connection_id":178318,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857cb268012d1b768007256fe8003000552b..."} 
[2026-09-09 14:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857cb268012d1b768007256fe8003000552b..."} 
[2026-09-09 14:59:37] local.INFO: Processing buffer {"connection_id":178318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857cb268012d1b768007256fe8003000552b..."} 
[2026-09-09 14:59:37] local.INFO: Packet analysis {"connection_id":178318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857c"} 
[2026-09-09 14:59:37] local.INFO: Extracted packet for processing {"connection_id":178318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857c"} 
[2026-09-09 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119893992,"longitude_deg":75.6774528,"latitude_deg":11.9893992,"altitude":48,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d1b7680","hex_latitude":"07256fe8","is_valid_coordinates":true} 
[2026-09-09 14: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-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970154496001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926503534264320,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978909854457128960,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788945937000,"timestamp_ms":1788945937000,"timestamp_seconds":1788945937,"priority":1,"record_length":96,"hex_timestamp":"000001a0857cb268"} 
[2026-09-09 14:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 14: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2239394864,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503888422174720,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":133,"raw_value":8800640607352223424,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7698904449156579352,"corrected_to":0} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3221693811,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":144,"raw_value":10414939898380288,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182173875044608,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512643663409581,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2698658932020237608,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84754164831692147,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,61,160,14,45,192,115,37,43,10,66,188,106,1,240,52,227,133,4,113,205,198,118,144,39,239,50,2,67,7,167,131,69,32],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7698904449156579352,"validated":0}]} 
[2026-09-09 14:59:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458858156992495616,"timestamp_seconds":3458858156992495.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 14:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 14:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 14:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 14:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970154496001,"66":12798,"216":206,"83":42752,"24":0,"16":18926503534264320,"45":1978909854457128960},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 14:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 14:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 14:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970154496001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:59:37] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 14:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 14:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926503534264320,"km_value":18926503534264.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978909854457128960,"description":"Unknown IO ID 45"} 
[2026-09-09 14:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970154496001,"power":12798,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978909854457128960}} 
[2026-09-09 14:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":178318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:59:37] local.INFO: GPS data processed {"connection_id":178318,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:59:37] local.INFO: Acknowledgment sent {"connection_id":178318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:59:44] local.INFO: TCP Data received {"connection_id":178319,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:59:44] local.INFO: Processing buffer {"connection_id":178319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:59:44] local.INFO: IMEI packet received {"connection_id":178319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 14:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":178319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 14:59:48] local.INFO: TCP Data received {"connection_id":178319,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:59:48] local.INFO: Processing buffer {"connection_id":178319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 14:59:48] local.INFO: IMEI packet received {"connection_id":178319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 14:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":178319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 14:59:49] local.INFO: TCP Data received {"connection_id":178319,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 14:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 14:59:49] local.INFO: Processing buffer {"connection_id":178319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 14:59:49] local.INFO: Packet analysis {"connection_id":178319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 14:59:49] local.INFO: Extracted packet for processing {"connection_id":178319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 14:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 14:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 14:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 14:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":178319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:59:50] local.INFO: GPS data processed {"connection_id":178319,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:59:50] local.INFO: Acknowledgment sent {"connection_id":178319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 14:59:54] local.INFO: TCP Data received {"connection_id":178319,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 14:59:54] local.INFO: Processing buffer {"connection_id":178319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 14:59:54] local.INFO: Packet analysis {"connection_id":178319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 14:59:54] local.INFO: Extracted packet for processing {"connection_id":178319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 14:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 14:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 14:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 14:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 14:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 14:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 14:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 14:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 14:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 14:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 14:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 14:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 14:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 14:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 14:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 14:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 14:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 14:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 14:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 14:59:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 14:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 14:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 14:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 14:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 14:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":178319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 14:59:54] local.INFO: GPS data processed {"connection_id":178319,"processed":1,"errors":0,"total":1} 
[2026-09-09 14:59:54] local.INFO: Acknowledgment sent {"connection_id":178319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:00:08] local.INFO: TCP Data received {"connection_id":178318,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0857d0470012d1b768007256fe8003000552a..."} 
[2026-09-09 15:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857d0470012d1b768007256fe8003000552a..."} 
[2026-09-09 15:00:08] local.INFO: Processing buffer {"connection_id":178318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857d0470012d1b768007256fe8003000552a..."} 
[2026-09-09 15:00:08] local.INFO: Packet analysis {"connection_id":178318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 15:00:08] local.INFO: Extracted packet for processing {"connection_id":178318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857d"} 
[2026-09-09 15:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119893992,"longitude_deg":75.6774528,"latitude_deg":11.9893992,"altitude":48,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d1b7680","hex_latitude":"07256fe8","is_valid_coordinates":true} 
[2026-09-09 15:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970159872001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926503534264320,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978909854457128960,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788945958000,"timestamp_ms":1788945958000,"timestamp_seconds":1788945958,"priority":1,"record_length":96,"hex_timestamp":"000001a0857d0470"} 
[2026-09-09 15:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 15:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970159872001,"66":12798,"216":206,"83":42752,"24":0,"16":18926503534264320,"45":1978909854457128960},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 15:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970159872001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:00:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 15:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926503534264320,"km_value":18926503534264.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978909854457128960,"description":"Unknown IO ID 45"} 
[2026-09-09 15:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970159872001,"power":12798,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978909854457128960}} 
[2026-09-09 15:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":178318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:00:08] local.INFO: GPS data processed {"connection_id":178318,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:00:08] local.INFO: Acknowledgment sent {"connection_id":178318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:00:35] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:00:35] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:00:35] local.INFO: IMEI packet received {"connection_id":175523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":175523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:00:39] local.INFO: TCP Data received {"connection_id":175738,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:00:39] local.INFO: Processing buffer {"connection_id":175738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:00:39] local.INFO: IMEI packet received {"connection_id":175738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":175738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:00:39] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:00:39] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:00:39] local.INFO: IMEI packet received {"connection_id":175523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":175523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:00:40] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085803ca8012d1b788007257228003300582b..."} 
[2026-09-09 15:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085803ca8012d1b788007257228003300582b..."} 
[2026-09-09 15:00:40] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085803ca8012d1b788007257228003300582b..."} 
[2026-09-09 15:00:40] local.INFO: Packet analysis {"connection_id":175523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08580"} 
[2026-09-09 15:00:40] local.INFO: Extracted packet for processing {"connection_id":175523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08580"} 
[2026-09-09 15:00:40] local.INFO: GPS Element Parsed {"raw_longitude":756775040,"raw_latitude":119894568,"longitude_deg":75.677504,"latitude_deg":11.9894568,"altitude":51,"angle":88,"satellites":43,"speed":11,"hex_longitude":"2d1b7880","hex_latitude":"07257228","is_valid_coordinates":true} 
[2026-09-09 15:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970218752001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926559368839168,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978980223201474560,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788946169000,"timestamp_ms":1788946169000,"timestamp_seconds":1788946169,"priority":1,"record_length":96,"hex_timestamp":"000001a085803ca8"} 
[2026-09-09 15:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 15:00:40] 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-09-09 15:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970218752001,"66":14211,"216":206,"83":42752,"24":11,"16":18926559368839168,"45":1978980223201474560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 15:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970218752001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:00:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 15:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926559368839168,"km_value":18926559368839.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978980223201474560,"description":"Unknown IO ID 45"} 
[2026-09-09 15:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970218752001,"power":14211,"unknown_216":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1978980223201474560}} 
[2026-09-09 15:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":175523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:00:40] local.INFO: GPS data processed {"connection_id":175523,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:00:40] local.INFO: Acknowledgment sent {"connection_id":175523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:00:41] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085805be8012d1b8380072571d8003400642b..."} 
[2026-09-09 15:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085805be8012d1b8380072571d8003400642b..."} 
[2026-09-09 15:00:41] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085805be8012d1b8380072571d8003400642b..."} 
[2026-09-09 15:00:41] local.INFO: Packet analysis {"connection_id":175523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08580"} 
[2026-09-09 15:00:41] local.INFO: Extracted packet for processing {"connection_id":175523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08580"} 
[2026-09-09 15:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756777856,"raw_latitude":119894488,"longitude_deg":75.6777856,"latitude_deg":11.9894488,"altitude":52,"angle":100,"satellites":43,"speed":8,"hex_longitude":"2d1b8380","hex_latitude":"072571d8","is_valid_coordinates":true} 
[2026-09-09 15:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970219264001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926692512825344,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804410697728,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788946177000,"timestamp_ms":1788946177000,"timestamp_seconds":1788946177,"priority":1,"record_length":96,"hex_timestamp":"000001a085805be8"} 
[2026-09-09 15:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 15:00:41] 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-09-09 15:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970219264001,"66":14243,"216":206,"83":42752,"24":8,"16":18926692512825344,"45":1979472804410697728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 15:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970219264001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:00:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 15:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926692512825344,"km_value":18926692512825.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804410697728,"description":"Unknown IO ID 45"} 
[2026-09-09 15:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970219264001,"power":14243,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1979472804410697728}} 
[2026-09-09 15:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":175523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:00:41] local.INFO: GPS data processed {"connection_id":175523,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:00:41] local.INFO: Acknowledgment sent {"connection_id":175523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:00:43] local.INFO: TCP Data received {"connection_id":175738,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:00:43] local.INFO: Processing buffer {"connection_id":175738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:00:43] local.INFO: IMEI packet received {"connection_id":175738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":175738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:00:45] local.INFO: TCP Data received {"connection_id":175738,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:00:45] local.INFO: Processing buffer {"connection_id":175738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:00:45] local.INFO: Packet analysis {"connection_id":175738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:00:45] local.INFO: Extracted packet for processing {"connection_id":175738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 15:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 15:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:00:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 15:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":175738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:00:45] local.INFO: GPS data processed {"connection_id":175738,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:00:45] local.INFO: Acknowledgment sent {"connection_id":175738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:01:12] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085805fd0012d1b8440072571b0003400702b..."} 
[2026-09-09 15:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085805fd0012d1b8440072571b0003400702b..."} 
[2026-09-09 15:01:12] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085805fd0012d1b8440072571b0003400702b..."} 
[2026-09-09 15:01:12] local.INFO: Packet analysis {"connection_id":175523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08580"} 
[2026-09-09 15:01:12] local.INFO: Extracted packet for processing {"connection_id":175523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08580"} 
[2026-09-09 15:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756778048,"raw_latitude":119894448,"longitude_deg":75.6778048,"latitude_deg":11.9894448,"altitude":52,"angle":112,"satellites":43,"speed":6,"hex_longitude":"2d1b8440","hex_latitude":"072571b0","is_valid_coordinates":true} 
[2026-09-09 15:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970221312001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926696807792640,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982569029154494464,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788946178000,"timestamp_ms":1788946178000,"timestamp_seconds":1788946178,"priority":1,"record_length":96,"hex_timestamp":"000001a085805fd0"} 
[2026-09-09 15:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:01: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-09-09 15:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-09 15:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970221312001,"66":14243,"216":206,"83":42752,"24":6,"16":18926696807792640,"45":1982569029154494464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 15:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970221312001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:01:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 15:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926696807792640,"km_value":18926696807792.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982569029154494464,"description":"Unknown IO ID 45"} 
[2026-09-09 15:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970221312001,"power":14243,"unknown_216":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1982569029154494464}} 
[2026-09-09 15:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":175523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:01:12] local.INFO: GPS data processed {"connection_id":175523,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:01:12] local.INFO: Acknowledgment sent {"connection_id":175523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:01:16] local.INFO: TCP Data received {"connection_id":175738,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:01:16] local.INFO: Processing buffer {"connection_id":175738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:01:16] local.INFO: Packet analysis {"connection_id":175738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:01:16] local.INFO: Extracted packet for processing {"connection_id":175738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 15:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 15:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 15:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":175738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:01:16] local.INFO: GPS data processed {"connection_id":175738,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:01:16] local.INFO: Acknowledgment sent {"connection_id":175738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:01:34] local.INFO: TCP Data received {"connection_id":178320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:34] local.INFO: Processing buffer {"connection_id":178320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:34] local.INFO: IMEI packet received {"connection_id":178320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":178320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:01:35] local.INFO: TCP Data received {"connection_id":178320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:35] local.INFO: Processing buffer {"connection_id":178320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:35] local.INFO: IMEI packet received {"connection_id":178320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":178320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:01:36] local.INFO: TCP Data received {"connection_id":178320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:36] local.INFO: Processing buffer {"connection_id":178320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:36] local.INFO: IMEI packet received {"connection_id":178320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":178320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:01:38] local.INFO: TCP Data received {"connection_id":176908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:01:38] local.INFO: Processing buffer {"connection_id":176908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:01:38] local.INFO: IMEI packet received {"connection_id":176908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":176908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:01:41] local.INFO: TCP Data received {"connection_id":178320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:41] local.INFO: Processing buffer {"connection_id":178320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:01:41] local.INFO: IMEI packet received {"connection_id":178320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":178320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:01:42] local.INFO: TCP Data received {"connection_id":178320,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085806b88012d1b8300072571900034010e2a..."} 
[2026-09-09 15:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085806b88012d1b8300072571900034010e2a..."} 
[2026-09-09 15:01:42] local.INFO: Processing buffer {"connection_id":178320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085806b88012d1b8300072571900034010e2a..."} 
[2026-09-09 15:01:42] local.INFO: Packet analysis {"connection_id":178320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08580"} 
[2026-09-09 15:01:42] local.INFO: Extracted packet for processing {"connection_id":178320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08580"} 
[2026-09-09 15:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756777728,"raw_latitude":119894416,"longitude_deg":75.6777728,"latitude_deg":11.9894416,"altitude":52,"angle":270,"satellites":42,"speed":7,"hex_longitude":"2d1b8300","hex_latitude":"07257190","is_valid_coordinates":true} 
[2026-09-09 15:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970221568001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18926722577596416,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982780135387017216,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788946181000,"timestamp_ms":1788946181000,"timestamp_seconds":1788946181,"priority":1,"record_length":96,"hex_timestamp":"000001a085806b88"} 
[2026-09-09 15:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:01: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-09-09 15:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-09 15:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970221568001,"66":14233,"216":206,"83":42752,"24":7,"16":18926722577596416,"45":1982780135387017216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-09 15:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970221568001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:01:42] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-09 15:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18926722577596416,"km_value":18926722577596.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982780135387017216,"description":"Unknown IO ID 45"} 
[2026-09-09 15:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970221568001,"power":14233,"unknown_216":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1982780135387017216}} 
[2026-09-09 15:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":178320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:01:42] local.INFO: GPS data processed {"connection_id":178320,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:01:42] local.INFO: Acknowledgment sent {"connection_id":178320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:01:43] local.INFO: TCP Data received {"connection_id":176908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:01:43] local.INFO: Processing buffer {"connection_id":176908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:01:43] local.INFO: IMEI packet received {"connection_id":176908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":176908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:01:44] local.INFO: TCP Data received {"connection_id":176908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:01:44] local.INFO: Processing buffer {"connection_id":176908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:01:44] local.INFO: Packet analysis {"connection_id":176908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:01:44] local.INFO: Extracted packet for processing {"connection_id":176908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 15:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 15:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":176908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:01:44] local.INFO: GPS data processed {"connection_id":176908,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:01:44] local.INFO: Acknowledgment sent {"connection_id":176908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:02:16] local.INFO: TCP Data received {"connection_id":176908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:02:16] local.INFO: Processing buffer {"connection_id":176908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:02:16] local.INFO: Packet analysis {"connection_id":176908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:02:16] local.INFO: Extracted packet for processing {"connection_id":176908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 15:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 15:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 15:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":176908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:02:16] local.INFO: GPS data processed {"connection_id":176908,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:02:16] local.INFO: Acknowledgment sent {"connection_id":176908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:02:32] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:02:32] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:02:32] local.INFO: IMEI packet received {"connection_id":175739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":175739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:02:35] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:02:35] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:02:35] local.INFO: IMEI packet received {"connection_id":175739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":175739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:02:37] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08581d6d0012d1b2c00072492e80026007e29..."} 
[2026-09-09 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08581d6d0012d1b2c00072492e80026007e29..."} 
[2026-09-09 15:02:37] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08581d6d0012d1b2c00072492e80026007e29..."} 
[2026-09-09 15:02:37] local.INFO: Packet analysis {"connection_id":175739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08581"} 
[2026-09-09 15:02:37] local.INFO: Extracted packet for processing {"connection_id":175739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08581"} 
[2026-09-09 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756755456,"raw_latitude":119837416,"longitude_deg":75.6755456,"latitude_deg":11.9837416,"altitude":38,"angle":126,"satellites":41,"speed":11,"hex_longitude":"2d1b2c00","hex_latitude":"072492e8","is_valid_coordinates":true} 
[2026-09-09 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970245888001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18930003932610560,"note":"Value kept but may cause issues"} 
[2026-09-09 15:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957658493701042176,"note":"Value kept but may cause issues"} 
[2026-09-09 15:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788946274000,"timestamp_ms":1788946274000,"timestamp_seconds":1788946274,"priority":1,"record_length":96,"hex_timestamp":"000001a08581d6d0"} 
[2026-09-09 15:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:02: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-09-09 15: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 15:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970245888001,"66":13906,"176":206,"83":42752,"24":11,"16":18930003932610560,"45":1957658493701042176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-09 15:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970245888001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:02:37] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-09 15:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18930003932610560,"km_value":18930003932610.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957658493701042176,"description":"Unknown IO ID 45"} 
[2026-09-09 15:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970245888001,"power":13906,"unknown_176":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1957658493701042176}} 
[2026-09-09 15:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":175739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:02:37] local.INFO: GPS data processed {"connection_id":175739,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:02:37] local.INFO: Acknowledgment sent {"connection_id":175739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:02:38] local.INFO: TCP Data received {"connection_id":176909,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:02:38] local.INFO: Processing buffer {"connection_id":176909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:02:38] local.INFO: IMEI packet received {"connection_id":176909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":176909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:02:43] local.INFO: TCP Data received {"connection_id":176909,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:02:43] local.INFO: Processing buffer {"connection_id":176909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:02:43] local.INFO: IMEI packet received {"connection_id":176909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":176909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:02:44] local.INFO: TCP Data received {"connection_id":176909,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:02:44] local.INFO: Processing buffer {"connection_id":176909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:02:44] local.INFO: Packet analysis {"connection_id":176909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:02:44] local.INFO: Extracted packet for processing {"connection_id":176909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 15:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:02:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 15:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":176909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:02:44] local.INFO: GPS data processed {"connection_id":176909,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:02:44] local.INFO: Acknowledgment sent {"connection_id":176909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:03:08] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858228d8012d1b484007247ea8002b00862b..."} 
[2026-09-09 15:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858228d8012d1b484007247ea8002b00862b..."} 
[2026-09-09 15:03:08] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858228d8012d1b484007247ea8002b00862b..."} 
[2026-09-09 15:03:08] local.INFO: Packet analysis {"connection_id":175739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:03:08] local.INFO: Extracted packet for processing {"connection_id":175739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119832232,"longitude_deg":75.6762688,"latitude_deg":11.9832232,"altitude":43,"angle":134,"satellites":43,"speed":12,"hex_longitude":"2d1b4840","hex_latitude":"07247ea8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970246144001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18930429134372864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957939968677701632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788946295000,"timestamp_ms":1788946295000,"timestamp_seconds":1788946295,"priority":1,"record_length":96,"hex_timestamp":"000001a0858228d8"} 
[2026-09-09 15:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 15:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970246144001,"66":14113,"136":206,"83":42752,"24":12,"16":18930429134372864,"45":1957939968677701632},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 15:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970246144001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:03:08] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 15:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18930429134372864,"km_value":18930429134372.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957939968677701632,"description":"Unknown IO ID 45"} 
[2026-09-09 15:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970246144001,"power":14113,"unknown_136":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1957939968677701632}} 
[2026-09-09 15:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":175739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:03:08] local.INFO: GPS data processed {"connection_id":175739,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:03:08] local.INFO: Acknowledgment sent {"connection_id":175739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:03:15] local.INFO: TCP Data received {"connection_id":176909,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:03:15] local.INFO: Processing buffer {"connection_id":176909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:03:15] local.INFO: Packet analysis {"connection_id":176909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:03:15] local.INFO: Extracted packet for processing {"connection_id":176909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 15:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 15:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 15:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":176909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:03:15] local.INFO: GPS data processed {"connection_id":176909,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:03:15] local.INFO: Acknowledgment sent {"connection_id":176909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:03:30] local.INFO: TCP Data received {"connection_id":176910,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:03:30] local.INFO: Processing buffer {"connection_id":176910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:03:30] local.INFO: IMEI packet received {"connection_id":176910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":176910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:03:35] local.INFO: TCP Data received {"connection_id":176910,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:03:35] local.INFO: Processing buffer {"connection_id":176910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:03:35] local.INFO: IMEI packet received {"connection_id":176910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":176910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:03:36] local.INFO: TCP Data received {"connection_id":176910,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858230a8012d1b49c007247d48002a00922b..."} 
[2026-09-09 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858230a8012d1b49c007247d48002a00922b..."} 
[2026-09-09 15:03:36] local.INFO: Processing buffer {"connection_id":176910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858230a8012d1b49c007247d48002a00922b..."} 
[2026-09-09 15:03:36] local.INFO: Packet analysis {"connection_id":176910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:03:36] local.INFO: Extracted packet for processing {"connection_id":176910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756763072,"raw_latitude":119831880,"longitude_deg":75.6763072,"latitude_deg":11.983188,"altitude":42,"angle":146,"satellites":43,"speed":9,"hex_longitude":"2d1b49c0","hex_latitude":"07247d48","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970251520001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18930454904176640,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636768450560,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788946297000,"timestamp_ms":1788946297000,"timestamp_seconds":1788946297,"priority":1,"record_length":96,"hex_timestamp":"000001a0858230a8"} 
[2026-09-09 15:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-09 15:03: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-09-09 15: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-09-09 15:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970251520001,"66":13515,"136":206,"83":42752,"24":9,"16":18930454904176640,"45":1965891636768450560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 15:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970251520001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:03:36] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 15:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18930454904176640,"km_value":18930454904176.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636768450560,"description":"Unknown IO ID 45"} 
[2026-09-09 15:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970251520001,"power":13515,"unknown_136":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1965891636768450560}} 
[2026-09-09 15:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":176910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:03:36] local.INFO: GPS data processed {"connection_id":176910,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:03:36] local.INFO: Acknowledgment sent {"connection_id":176910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:03:38] local.INFO: TCP Data received {"connection_id":176911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:03:38] local.INFO: Processing buffer {"connection_id":176911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:03:38] local.INFO: IMEI packet received {"connection_id":176911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":176911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:03:43] local.INFO: TCP Data received {"connection_id":176911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:03:43] local.INFO: Processing buffer {"connection_id":176911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:03:43] local.INFO: IMEI packet received {"connection_id":176911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":176911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:03:44] local.INFO: TCP Data received {"connection_id":176911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:03:44] local.INFO: Processing buffer {"connection_id":176911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:03:44] local.INFO: Packet analysis {"connection_id":176911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:03:44] local.INFO: Extracted packet for processing {"connection_id":176911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 15:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 15:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":176911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:03:44] local.INFO: GPS data processed {"connection_id":176911,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:03:44] local.INFO: Acknowledgment sent {"connection_id":176911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:04:08] local.INFO: TCP Data received {"connection_id":176910,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085823490012d1b4a0007247ca0002a009f2a..."} 
[2026-09-09 15:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085823490012d1b4a0007247ca0002a009f2a..."} 
[2026-09-09 15:04:08] local.INFO: Processing buffer {"connection_id":176910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085823490012d1b4a0007247ca0002a009f2a..."} 
[2026-09-09 15:04:08] local.INFO: Packet analysis {"connection_id":176910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:04:08] local.INFO: Extracted packet for processing {"connection_id":176910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756763136,"raw_latitude":119831712,"longitude_deg":75.6763136,"latitude_deg":11.9831712,"altitude":42,"angle":159,"satellites":42,"speed":6,"hex_longitude":"2d1b4a00","hex_latitude":"07247ca0","is_valid_coordinates":true} 
[2026-09-09 15:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970252032001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18930463494111232,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966313849233426432,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788946298000,"timestamp_ms":1788946298000,"timestamp_seconds":1788946298,"priority":1,"record_length":96,"hex_timestamp":"000001a085823490"} 
[2026-09-09 15:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:04: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-09-09 15:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 15:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970252032001,"66":13515,"136":206,"83":42752,"24":6,"16":18930463494111232,"45":1966313849233426432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 15:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970252032001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:04:08] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 15:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18930463494111232,"km_value":18930463494111.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966313849233426432,"description":"Unknown IO ID 45"} 
[2026-09-09 15:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970252032001,"power":13515,"unknown_136":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1966313849233426432}} 
[2026-09-09 15:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":176910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:04:08] local.INFO: GPS data processed {"connection_id":176910,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:04:08] local.INFO: Acknowledgment sent {"connection_id":176910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:04:16] local.INFO: TCP Data received {"connection_id":176911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:04:16] local.INFO: Processing buffer {"connection_id":176911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0857fb008012d34c6c006aa49780008011127..."} 
[2026-09-09 15:04:16] local.INFO: Packet analysis {"connection_id":176911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:04:16] local.INFO: Extracted packet for processing {"connection_id":176911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0857f"} 
[2026-09-09 15:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823224,"longitude_deg":75.8433472,"latitude_deg":11.1823224,"altitude":8,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4978","is_valid_coordinates":true} 
[2026-09-09 15:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970173952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522648064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788946133000,"timestamp_ms":1788946133000,"timestamp_seconds":1788946133,"priority":1,"record_length":96,"hex_timestamp":"000001a0857fb008"} 
[2026-09-09 15:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970173952001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802304751522648064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970173952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522648064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970173952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522648064}} 
[2026-09-09 15:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":176911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:04:16] local.INFO: GPS data processed {"connection_id":176911,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:04:16] local.INFO: Acknowledgment sent {"connection_id":176911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:04:35] local.INFO: TCP Data received {"connection_id":178322,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:04:35] local.INFO: Processing buffer {"connection_id":178322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:04:35] local.INFO: IMEI packet received {"connection_id":178322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":178322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:04:40] local.INFO: TCP Data received {"connection_id":178322,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:04:40] local.INFO: Processing buffer {"connection_id":178322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:04:40] local.INFO: IMEI packet received {"connection_id":178322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":178322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:04:41] local.INFO: TCP Data received {"connection_id":178322,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085828698012d1b49c007247b90002a009f2a..."} 
[2026-09-09 15:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085828698012d1b49c007247b90002a009f2a..."} 
[2026-09-09 15:04:41] local.INFO: Processing buffer {"connection_id":178322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085828698012d1b49c007247b90002a009f2a..."} 
[2026-09-09 15:04:41] local.INFO: Packet analysis {"connection_id":178322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:04:41] local.INFO: Extracted packet for processing {"connection_id":178322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756763072,"raw_latitude":119831440,"longitude_deg":75.6763072,"latitude_deg":11.983144,"altitude":42,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d1b49c0","hex_latitude":"07247b90","is_valid_coordinates":true} 
[2026-09-09 15:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970252288001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18930484968947712,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966384217977561088,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788946319000,"timestamp_ms":1788946319000,"timestamp_seconds":1788946319,"priority":1,"record_length":96,"hex_timestamp":"000001a085828698"} 
[2026-09-09 15:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 15:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970252288001,"66":13102,"136":206,"83":42752,"24":0,"16":18930484968947712,"45":1966384217977561088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 15:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970252288001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:04:41] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 15:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18930484968947712,"km_value":18930484968947.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966384217977561088,"description":"Unknown IO ID 45"} 
[2026-09-09 15:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970252288001,"power":13102,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966384217977561088}} 
[2026-09-09 15:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":178322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:04:41] local.INFO: GPS data processed {"connection_id":178322,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:04:41] local.INFO: Acknowledgment sent {"connection_id":178322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:04:42] local.INFO: TCP Data received {"connection_id":178323,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:04:42] local.INFO: Processing buffer {"connection_id":178323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:04:42] local.INFO: IMEI packet received {"connection_id":178323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":178323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:04:43] local.INFO: TCP Data received {"connection_id":178322,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08582d8a0012d1b49c007247b90002a009f2b..."} 
[2026-09-09 15:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08582d8a0012d1b49c007247b90002a009f2b..."} 
[2026-09-09 15:04:43] local.INFO: Processing buffer {"connection_id":178322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08582d8a0012d1b49c007247b90002a009f2b..."} 
[2026-09-09 15:04:43] local.INFO: Packet analysis {"connection_id":178322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:04:43] local.INFO: Extracted packet for processing {"connection_id":178322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08582"} 
[2026-09-09 15:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756763072,"raw_latitude":119831440,"longitude_deg":75.6763072,"latitude_deg":11.983144,"altitude":42,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2d1b49c0","hex_latitude":"07247b90","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970257664001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18930484968947712,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966313849233313792,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788946340000,"timestamp_ms":1788946340000,"timestamp_seconds":1788946340,"priority":1,"record_length":96,"hex_timestamp":"000001a08582d8a0"} 
[2026-09-09 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-09-09 15:04: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-09-09 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-09 15:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970257664001,"66":12591,"136":206,"83":42752,"24":0,"16":18930484968947712,"45":1966313849233313792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 15:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970257664001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:04:43] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 15:04:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18930484968947712,"km_value":18930484968947.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966313849233313792,"description":"Unknown IO ID 45"} 
[2026-09-09 15:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970257664001,"power":12591,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966313849233313792}} 
[2026-09-09 15:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":178322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:04:43] local.INFO: GPS data processed {"connection_id":178322,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:04:43] local.INFO: Acknowledgment sent {"connection_id":178322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:04:43] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:04:43] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:04:43] local.INFO: IMEI packet received {"connection_id":175526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":175526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:04:49] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:04:49] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:04:49] local.INFO: IMEI packet received {"connection_id":175526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":175526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:04:49] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:04:49] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:04:49] local.INFO: Packet analysis {"connection_id":175526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:04:49] local.INFO: Extracted packet for processing {"connection_id":175526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":175526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:04:49] local.INFO: GPS data processed {"connection_id":175526,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:04:49] local.INFO: Acknowledgment sent {"connection_id":175526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:04:55] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:04:55] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:04:55] local.INFO: Packet analysis {"connection_id":175526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:04:55] local.INFO: Extracted packet for processing {"connection_id":175526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:04:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:04:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:04:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":175526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:04:55] local.INFO: GPS data processed {"connection_id":175526,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:04:55] local.INFO: Acknowledgment sent {"connection_id":175526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:05:15] local.INFO: TCP Data received {"connection_id":178322,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085832aa8012d1b49c007247b90002a009f2b..."} 
[2026-09-09 15:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085832aa8012d1b49c007247b90002a009f2b..."} 
[2026-09-09 15:05:15] local.INFO: Processing buffer {"connection_id":178322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085832aa8012d1b49c007247b90002a009f2b..."} 
[2026-09-09 15:05:15] local.INFO: Packet analysis {"connection_id":178322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08583"} 
[2026-09-09 15:05:15] local.INFO: Extracted packet for processing {"connection_id":178322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08583"} 
[2026-09-09 15:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756763072,"raw_latitude":119831440,"longitude_deg":75.6763072,"latitude_deg":11.983144,"altitude":42,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2d1b49c0","hex_latitude":"07247b90","is_valid_coordinates":true} 
[2026-09-09 15:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970263040001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18930484968947712,"note":"Value kept but may cause issues"} 
[2026-09-09 15:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966313849233313792,"note":"Value kept but may cause issues"} 
[2026-09-09 15:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788946361000,"timestamp_ms":1788946361000,"timestamp_seconds":1788946361,"priority":1,"record_length":96,"hex_timestamp":"000001a085832aa8"} 
[2026-09-09 15:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970263040001,"66":13048,"136":206,"83":42752,"24":0,"16":18930484968947712,"45":1966313849233313792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-09 15:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970263040001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:05:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-09 15:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-09 15:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18930484968947712,"km_value":18930484968947.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966313849233313792,"description":"Unknown IO ID 45"} 
[2026-09-09 15:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970263040001,"power":13048,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1966313849233313792}} 
[2026-09-09 15:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":178322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:05:15] local.INFO: GPS data processed {"connection_id":178322,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:05:15] local.INFO: Acknowledgment sent {"connection_id":178322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:05:27] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:05:27] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:05:27] local.INFO: IMEI packet received {"connection_id":176912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":176912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:05:29] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:05:29] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:05:29] local.INFO: IMEI packet received {"connection_id":176912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":176912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:05:37] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.47","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:05:37] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:05:37] local.INFO: IMEI packet received {"connection_id":176912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":176912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:05:39] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:05:39] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:05:39] local.INFO: IMEI packet received {"connection_id":176913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":176913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:05:43] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:05:43] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:05:43] local.INFO: IMEI packet received {"connection_id":176913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":176913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:05:44] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:05:44] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:05:44] local.INFO: Packet analysis {"connection_id":176913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:05:44] local.INFO: Extracted packet for processing {"connection_id":176913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":176913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:05:44] local.INFO: GPS data processed {"connection_id":176913,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:05:44] local.INFO: Acknowledgment sent {"connection_id":176913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:06:17] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:06:17] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:06:17] local.INFO: Packet analysis {"connection_id":176913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:06:17] local.INFO: Extracted packet for processing {"connection_id":176913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:06: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-09-09 15:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":176913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:06:17] local.INFO: GPS data processed {"connection_id":176913,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:06:17] local.INFO: Acknowledgment sent {"connection_id":176913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:06:38] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:06:38] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:06:38] local.INFO: IMEI packet received {"connection_id":175740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":175740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:06:43] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:06:43] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:06:43] local.INFO: IMEI packet received {"connection_id":175740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":175740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:06:45] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:06:45] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:06:45] local.INFO: Packet analysis {"connection_id":175740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:06:45] local.INFO: Extracted packet for processing {"connection_id":175740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:06:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":175740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:06:45] local.INFO: GPS data processed {"connection_id":175740,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:06:45] local.INFO: Acknowledgment sent {"connection_id":175740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:07:16] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:07:16] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:07:16] local.INFO: Packet analysis {"connection_id":175740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:07:16] local.INFO: Extracted packet for processing {"connection_id":175740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":175740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:07:16] local.INFO: GPS data processed {"connection_id":175740,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:07:16] local.INFO: Acknowledgment sent {"connection_id":175740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:07:27] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:07:27] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:07:27] local.INFO: IMEI packet received {"connection_id":178325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":178325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:07:28] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:07:28] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:07:28] local.INFO: IMEI packet received {"connection_id":178325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":178325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:07:32] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:07:32] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:07:32] local.INFO: IMEI packet received {"connection_id":178325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":178325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:07:33] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-09 15:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-09 15:07:33] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-09 15:07:33] local.INFO: Packet analysis {"connection_id":178325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 15:07:33] local.INFO: Extracted packet for processing {"connection_id":178325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 15:07:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282756272816128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:07:33] 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-09-09 15:07: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-09-09 15:07:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":178325,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 15:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 15:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:07:33] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":178325,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:07:33] local.ERROR: GPS data processing failed {"connection_id":178325,"error":"No valid data to process"} 
[2026-09-09 15:07:33] local.INFO: Acknowledgment sent {"connection_id":178325,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:07:38] local.INFO: TCP Data received {"connection_id":178326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:07:38] local.INFO: Processing buffer {"connection_id":178326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:07:38] local.INFO: IMEI packet received {"connection_id":178326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":178326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:07:44] local.INFO: TCP Data received {"connection_id":178326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:07:44] local.INFO: Processing buffer {"connection_id":178326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:07:44] local.INFO: IMEI packet received {"connection_id":178326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":178326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:07:44] local.INFO: TCP Data received {"connection_id":178326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:07:44] local.INFO: Processing buffer {"connection_id":178326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:07:44] local.INFO: Packet analysis {"connection_id":178326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:07:44] local.INFO: Extracted packet for processing {"connection_id":178326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":178326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:07:44] local.INFO: GPS data processed {"connection_id":178326,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:07:44] local.INFO: Acknowledgment sent {"connection_id":178326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:08:04] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-09 15:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-09 15:08:04] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-09 15:08:04] local.INFO: Packet analysis {"connection_id":178325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:08:04] local.INFO: Extracted packet for processing {"connection_id":178325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:08:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282756272816128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:08:04] 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-09-09 15:08:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:08:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":178325,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 15:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 15:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:08:04] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":178325,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:08:04] local.ERROR: GPS data processing failed {"connection_id":178325,"error":"No valid data to process"} 
[2026-09-09 15:08:04] local.INFO: Acknowledgment sent {"connection_id":178325,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:08:16] local.INFO: TCP Data received {"connection_id":178326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:08:16] local.INFO: Processing buffer {"connection_id":178326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:08:16] local.INFO: Packet analysis {"connection_id":178326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:08:16] local.INFO: Extracted packet for processing {"connection_id":178326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":178326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:08:16] local.INFO: GPS data processed {"connection_id":178326,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:08:16] local.INFO: Acknowledgment sent {"connection_id":178326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:08:38] local.INFO: TCP Data received {"connection_id":178328,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:08:38] local.INFO: Processing buffer {"connection_id":178328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:08:38] local.INFO: IMEI packet received {"connection_id":178328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":178328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:08:39] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858828000100000000000000000000000000..."} 
[2026-09-09 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858828000100000000000000000000000000..."} 
[2026-09-09 15:08:39] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858828000100000000000000000000000000..."} 
[2026-09-09 15:08:39] local.INFO: Packet analysis {"connection_id":178325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:08:39] local.INFO: Extracted packet for processing {"connection_id":178325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282756272816128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:08:39] 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-09-09 15:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788946688000,"timestamp_ms":1788946688000,"timestamp_seconds":1788946688,"priority":1,"record_length":96,"hex_timestamp":"000001a085882800"} 
[2026-09-09 15:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:08:39] 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-09-09 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 15:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":178325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":178325,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:08:39] local.INFO: GPS data processed {"connection_id":178325,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:08:39] local.INFO: Acknowledgment sent {"connection_id":178325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:08:44] local.INFO: TCP Data received {"connection_id":178328,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:08:44] local.INFO: Processing buffer {"connection_id":178328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:08:44] local.INFO: IMEI packet received {"connection_id":178328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":178328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:08:45] local.INFO: TCP Data received {"connection_id":178328,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:08:45] local.INFO: Processing buffer {"connection_id":178328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:08:45] local.INFO: Packet analysis {"connection_id":178328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:08:45] local.INFO: Extracted packet for processing {"connection_id":178328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:08:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":178328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:08:45] local.INFO: GPS data processed {"connection_id":178328,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:08:45] local.INFO: Acknowledgment sent {"connection_id":178328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:09:12] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085887a080100000000000000000000000000..."} 
[2026-09-09 15:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085887a080100000000000000000000000000..."} 
[2026-09-09 15:09:12] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085887a080100000000000000000000000000..."} 
[2026-09-09 15:09:12] local.INFO: Packet analysis {"connection_id":178325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:09:12] local.INFO: Extracted packet for processing {"connection_id":178325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:09:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282756272816128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:12] 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-09-09 15:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788946709000,"timestamp_ms":1788946709000,"timestamp_seconds":1788946709,"priority":1,"record_length":96,"hex_timestamp":"000001a085887a08"} 
[2026-09-09 15:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:09:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 15:09: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-09-09 15:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":178325,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:09:12] local.INFO: GPS data processed {"connection_id":178325,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:09:12] local.INFO: Acknowledgment sent {"connection_id":178325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:09:17] local.INFO: TCP Data received {"connection_id":178328,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:09:17] local.INFO: Processing buffer {"connection_id":178328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858447d0012d34c3c006aa4920000d011126..."} 
[2026-09-09 15:09:17] local.INFO: Packet analysis {"connection_id":178328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:09:17] local.INFO: Extracted packet for processing {"connection_id":178328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08584"} 
[2026-09-09 15:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":13,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220240896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788946434000,"timestamp_ms":1788946434000,"timestamp_seconds":1788946434,"priority":1,"record_length":96,"hex_timestamp":"000001a0858447d0"} 
[2026-09-09 15:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970210048001,"66":25680,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802938070220240896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220240896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970210048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220240896}} 
[2026-09-09 15:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":178328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:09:17] local.INFO: GPS data processed {"connection_id":178328,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:09:17] local.INFO: Acknowledgment sent {"connection_id":178328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:09:43] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08588cc100100000000000000000000000000..."} 
[2026-09-09 15:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588cc100100000000000000000000000000..."} 
[2026-09-09 15:09:43] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588cc100100000000000000000000000000..."} 
[2026-09-09 15:09:43] local.INFO: Packet analysis {"connection_id":178325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:09:43] local.INFO: Extracted packet for processing {"connection_id":178325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:09:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282756272816128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:43] 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-09-09 15:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788946730000,"timestamp_ms":1788946730000,"timestamp_seconds":1788946730,"priority":1,"record_length":96,"hex_timestamp":"000001a08588cc10"} 
[2026-09-09 15:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:09:43] 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-09-09 15: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 15:09: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-09-09 15: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-09-09 15:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":178325,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:09:43] local.INFO: GPS data processed {"connection_id":178325,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:09:43] local.INFO: Acknowledgment sent {"connection_id":178325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:09:43] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:09:43] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:09:43] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:09:48] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:09:48] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:09:48] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:09:50] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:09:50] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:09:50] local.INFO: Packet analysis {"connection_id":175529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:09:50] local.INFO: Extracted packet for processing {"connection_id":175529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:09:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":175529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:09:50] local.INFO: GPS data processed {"connection_id":175529,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:09:50] local.INFO: Acknowledgment sent {"connection_id":175529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:09:55] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:09:55] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:09:55] local.INFO: Packet analysis {"connection_id":175529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:09:55] local.INFO: Extracted packet for processing {"connection_id":175529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:09:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:09:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":175529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:09:55] local.INFO: GPS data processed {"connection_id":175529,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:09:55] local.INFO: Acknowledgment sent {"connection_id":175529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:10:15] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08588f320012d7d370005ec08380037000005..."} 
[2026-09-09 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588f320012d7d370005ec08380037000005..."} 
[2026-09-09 15:10:15] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588f320012d7d370005ec08380037000005..."} 
[2026-09-09 15:10:15] local.INFO: Packet analysis {"connection_id":178325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:10:15] local.INFO: Extracted packet for processing {"connection_id":178325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99354680,"longitude_deg":76.31808,"latitude_deg":9.935468,"altitude":55,"angle":0,"satellites":5,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0838","is_valid_coordinates":true} 
[2026-09-09 15:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282756272816128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:15] 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-09-09 15:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788946740000,"timestamp_ms":1788946740000,"timestamp_seconds":1788946740,"priority":1,"record_length":96,"hex_timestamp":"000001a08588f320"} 
[2026-09-09 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-09-09 15:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 15:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13678,"109":206,"87":13824,"24":0,"16":130282756272816128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16]} 
[2026-09-09 15:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 15:10:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 15:10:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282756272816128,"km_value":130282756272816.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:10:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-09-09 15:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":178325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:10:15] local.INFO: GPS data processed {"connection_id":178325,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:10:15] local.INFO: Acknowledgment sent {"connection_id":178325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:10:16] local.INFO: TCP Data received {"connection_id":176918,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:10:16] local.INFO: Processing buffer {"connection_id":176918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:10:16] local.INFO: IMEI packet received {"connection_id":176918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":176918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:10:35] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:10:35] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:10:35] local.INFO: IMEI packet received {"connection_id":175530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":175530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:10:35] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08588a8e8012d18a2400722be48006800b02c..."} 
[2026-09-09 15:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588a8e8012d18a2400722be48006800b02c..."} 
[2026-09-09 15:10:35] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588a8e8012d18a2400722be48006800b02c..."} 
[2026-09-09 15:10:35] local.INFO: Packet analysis {"connection_id":175530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:10:35] local.INFO: Extracted packet for processing {"connection_id":175530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756589120,"raw_latitude":119717448,"longitude_deg":75.658912,"latitude_deg":11.9717448,"altitude":104,"angle":176,"satellites":44,"speed":41,"hex_longitude":"2d18a240","hex_latitude":"0722be48","is_valid_coordinates":true} 
[2026-09-09 15:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970360064001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18941587459407872,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192340018130944,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788946721000,"timestamp_ms":1788946721000,"timestamp_seconds":1788946721,"priority":1,"record_length":96,"hex_timestamp":"000001a08588a8e8"} 
[2026-09-09 15:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 15:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970360064001,"66":13830,"105":206,"83":41984,"24":41,"16":18941587459407872,"45":1775192340018130944},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 15:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970360064001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:10:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 15:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18941587459407872,"km_value":18941587459407.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192340018130944,"description":"Unknown IO ID 45"} 
[2026-09-09 15:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970360064001,"power":13830,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1775192340018130944}} 
[2026-09-09 15:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":175530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:10:35] local.INFO: GPS data processed {"connection_id":175530,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:10:35] local.INFO: Acknowledgment sent {"connection_id":175530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:10:38] local.INFO: TCP Data received {"connection_id":176919,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:10:38] local.INFO: Processing buffer {"connection_id":176919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:10:38] local.INFO: IMEI packet received {"connection_id":176919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":176919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:10:41] local.INFO: TCP Data received {"connection_id":176920,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:10:41] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:10:41] local.INFO: IMEI packet received {"connection_id":176920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":176920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:10:43] local.INFO: TCP Data received {"connection_id":176919,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:10:43] local.INFO: Processing buffer {"connection_id":176919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:10:43] local.INFO: IMEI packet received {"connection_id":176919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":176919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:10:44] local.INFO: TCP Data received {"connection_id":176919,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:10:44] local.INFO: Processing buffer {"connection_id":176919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:10:44] local.INFO: Packet analysis {"connection_id":176919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:10:44] local.INFO: Extracted packet for processing {"connection_id":176919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":176919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:10:44] local.INFO: GPS data processed {"connection_id":176919,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:10:44] local.INFO: Acknowledgment sent {"connection_id":176919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:10:47] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085891a30012d7d360005ec08100027000005..."} 
[2026-09-09 15:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085891a30012d7d360005ec08100027000005..."} 
[2026-09-09 15:10:47] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085891a30012d7d360005ec08100027000005..."} 
[2026-09-09 15:10:47] local.INFO: Packet analysis {"connection_id":178325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08589"} 
[2026-09-09 15:10:47] local.INFO: Extracted packet for processing {"connection_id":178325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08589"} 
[2026-09-09 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99354640,"longitude_deg":76.3180544,"latitude_deg":9.935464,"altitude":39,"angle":0,"satellites":5,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec0810","is_valid_coordinates":true} 
[2026-09-09 15:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970365440001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130282773452685312,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894876160,"note":"Value kept but may cause issues"} 
[2026-09-09 15:10:47] 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-09-09 15:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788946750000,"timestamp_ms":1788946750000,"timestamp_seconds":1788946750,"priority":1,"record_length":96,"hex_timestamp":"000001a085891a30"} 
[2026-09-09 15:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 15:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970365440001,"66":13656,"109":206,"87":13824,"24":0,"16":130282773452685312,"45":9022680403894876160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-09 15:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970365440001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:10:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 15:10:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130282773452685312,"km_value":130282773452685.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894876160,"description":"Unknown IO ID 45"} 
[2026-09-09 15:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970365440001,"power":13656,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894876160}} 
[2026-09-09 15:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":178325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:10:47] local.INFO: GPS data processed {"connection_id":178325,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:10:47] local.INFO: Acknowledgment sent {"connection_id":178325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:11:06] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858a0c60012d181ec00721a7b8004800932c..."} 
[2026-09-09 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858a0c60012d181ec00721a7b8004800932c..."} 
[2026-09-09 15:11:06] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858a0c60012d181ec00721a7b8004800932c..."} 
[2026-09-09 15:11:06] local.INFO: Packet analysis {"connection_id":175530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:06] local.INFO: Extracted packet for processing {"connection_id":175530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646136,"longitude_deg":75.6555456,"latitude_deg":11.9646136,"altitude":72,"angle":147,"satellites":44,"speed":8,"hex_longitude":"2d181ec0","hex_latitude":"0721a7b8","is_valid_coordinates":true} 
[2026-09-09 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970383616001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18945538829320192,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329399296,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788946812000,"timestamp_ms":1788946812000,"timestamp_seconds":1788946812,"priority":1,"record_length":96,"hex_timestamp":"000001a0858a0c60"} 
[2026-09-09 15:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 15:11: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-09-09 15:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970383616001,"66":14298,"105":206,"83":41984,"24":8,"16":18945538829320192,"45":1737967274329399296},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 15:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970383616001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 15:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18945538829320192,"km_value":18945538829320.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329399296,"description":"Unknown IO ID 45"} 
[2026-09-09 15:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970383616001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737967274329399296}} 
[2026-09-09 15:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":175530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:11:06] local.INFO: GPS data processed {"connection_id":175530,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:11:06] local.INFO: Acknowledgment sent {"connection_id":175530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:11:16] local.INFO: TCP Data received {"connection_id":176919,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:11:16] local.INFO: Processing buffer {"connection_id":176919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:11:16] local.INFO: Packet analysis {"connection_id":176919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:11:16] local.INFO: Extracted packet for processing {"connection_id":176919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":176919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:11:16] local.INFO: GPS data processed {"connection_id":176919,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:11:16] local.INFO: Acknowledgment sent {"connection_id":176919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:11:20] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858ad780012d7d228005ec36d80016011808..."} 
[2026-09-09 15:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858ad780012d7d228005ec36d80016011808..."} 
[2026-09-09 15:11:20] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858ad780012d7d228005ec36d80016011808..."} 
[2026-09-09 15:11:20] local.INFO: Packet analysis {"connection_id":178325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:20] local.INFO: Extracted packet for processing {"connection_id":178325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":763175552,"raw_latitude":99366616,"longitude_deg":76.3175552,"latitude_deg":9.9366616,"altitude":22,"angle":280,"satellites":8,"speed":0,"hex_longitude":"2d7d2280","hex_latitude":"05ec36d8","is_valid_coordinates":true} 
[2026-09-09 15:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970392064001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130283610971308032,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613854317176832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:20] 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-09-09 15:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788946864000,"timestamp_ms":1788946864000,"timestamp_seconds":1788946864,"priority":1,"record_length":96,"hex_timestamp":"000001a0858ad780"} 
[2026-09-09 15:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 15:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970392064001,"66":13961,"110":206,"87":13824,"24":0,"16":130283610971308032,"45":9017613854317176832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 15:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970392064001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:11:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 15:11:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130283610971308032,"km_value":130283610971308.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613854317176832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970392064001,"power":13961,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9017613854317176832}} 
[2026-09-09 15:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":178325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:11:20] local.INFO: GPS data processed {"connection_id":178325,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:11:20] local.INFO: Acknowledgment sent {"connection_id":178325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:11:35] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:11:35] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:11:35] local.INFO: IMEI packet received {"connection_id":175531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":175531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:11:36] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.47","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:11:36] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:11:36] local.INFO: IMEI packet received {"connection_id":175531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":175531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:11:36] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.47","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a085..."} 
[2026-09-09 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a085..."} 
[2026-09-09 15:11:36] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:11:36] local.INFO: IMEI packet received {"connection_id":175531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":175531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:11:37] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858a4310012d18320007219890004c00772a..."} 
[2026-09-09 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858a4310012d18320007219890004c00772a..."} 
[2026-09-09 15:11:37] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a085..."} 
[2026-09-09 15:11:37] local.INFO: IMEI packet received {"connection_id":175531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":175531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:11:38] local.INFO: TCP Data received {"connection_id":178329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:11:38] local.INFO: Processing buffer {"connection_id":178329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:11:38] local.INFO: IMEI packet received {"connection_id":178329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":178329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:11:42] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858a6a20012d18530007218a38004c00742c..."} 
[2026-09-09 15:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858a6a20012d18530007218a38004c00742c..."} 
[2026-09-09 15:11:42] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0858a1048012d181f800721a718004800832c..."} 
[2026-09-09 15:11:42] local.INFO: Packet analysis {"connection_id":175531,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:42] local.INFO: Extracted packet for processing {"connection_id":175531,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645976,"longitude_deg":75.6555648,"latitude_deg":11.9645976,"altitude":72,"angle":131,"satellites":44,"speed":8,"hex_longitude":"2d181f80","hex_latitude":"0721a718","is_valid_coordinates":true} 
[2026-09-09 15:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970383872001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18945551714222080,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073533952,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11: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-09-09 15:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788946813000,"timestamp_ms":1788946813000,"timestamp_seconds":1788946813,"priority":1,"record_length":96,"hex_timestamp":"000001a0858a1048"} 
[2026-09-09 15:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:11: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-09-09 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 15:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970383872001,"66":14265,"105":206,"83":41984,"24":8,"16":18945551714222080,"45":1738037643073533952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970383872001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18945551714222080,"km_value":18945551714222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073533952,"description":"Unknown IO ID 45"} 
[2026-09-09 15:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970383872001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738037643073533952}} 
[2026-09-09 15:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":175531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:11:42] local.INFO: GPS data processed {"connection_id":175531,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:11:42] local.INFO: Acknowledgment sent {"connection_id":175531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:11:42] local.INFO: Packet analysis {"connection_id":175531,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:42] local.INFO: Extracted packet for processing {"connection_id":175531,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756560384,"raw_latitude":119642256,"longitude_deg":75.6560384,"latitude_deg":11.9642256,"altitude":76,"angle":119,"satellites":42,"speed":29,"hex_longitude":"2d183200","hex_latitude":"07219890","is_valid_coordinates":true} 
[2026-09-09 15:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970384128001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18945839477030912,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306025984,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788946826000,"timestamp_ms":1788946826000,"timestamp_seconds":1788946826,"priority":1,"record_length":96,"hex_timestamp":"000001a0858a4310"} 
[2026-09-09 15:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:11: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-09-09 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 15:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970384128001,"66":14428,"106":206,"83":41984,"24":29,"16":18945839477030912,"45":1738248749306025984},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970384128001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18945839477030912,"km_value":18945839477030.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306025984,"description":"Unknown IO ID 45"} 
[2026-09-09 15:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970384128001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1738248749306025984}} 
[2026-09-09 15:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":175531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:11:42] local.INFO: GPS data processed {"connection_id":175531,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:11:42] local.INFO: Acknowledgment sent {"connection_id":175531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:11:42] local.INFO: Packet analysis {"connection_id":175531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:42] local.INFO: Extracted packet for processing {"connection_id":175531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756568832,"raw_latitude":119638584,"longitude_deg":75.6568832,"latitude_deg":11.9638584,"altitude":76,"angle":116,"satellites":44,"speed":42,"hex_longitude":"2d185300","hex_latitude":"07218a38","is_valid_coordinates":true} 
[2026-09-09 15:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970387456001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18946277563695104,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743456036374220800,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788946836000,"timestamp_ms":1788946836000,"timestamp_seconds":1788946836,"priority":1,"record_length":96,"hex_timestamp":"000001a0858a6a20"} 
[2026-09-09 15:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:11: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-09-09 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 15:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970387456001,"66":14265,"106":206,"83":41984,"24":42,"16":18946277563695104,"45":1743456036374220800},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 15:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970387456001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18946277563695104,"km_value":18946277563695.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743456036374220800,"description":"Unknown IO ID 45"} 
[2026-09-09 15:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970387456001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1743456036374220800}} 
[2026-09-09 15:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":175531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:11:42] local.INFO: GPS data processed {"connection_id":175531,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:11:42] local.INFO: Acknowledgment sent {"connection_id":175531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:11:43] local.INFO: TCP Data received {"connection_id":178329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:11:43] local.INFO: Processing buffer {"connection_id":178329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:11:43] local.INFO: IMEI packet received {"connection_id":178329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":178329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:11:44] local.INFO: TCP Data received {"connection_id":178329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:11:44] local.INFO: Processing buffer {"connection_id":178329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:11:44] local.INFO: Packet analysis {"connection_id":178329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:11:44] local.INFO: Extracted packet for processing {"connection_id":178329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":178329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:11:44] local.INFO: GPS data processed {"connection_id":178329,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:11:44] local.INFO: Acknowledgment sent {"connection_id":178329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:11:45] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858a7da8012d1866c007218268004b00642c..."} 
[2026-09-09 15:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858a7da8012d1866c007218268004b00642c..."} 
[2026-09-09 15:11:45] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858a7da8012d1866c007218268004b00642c..."} 
[2026-09-09 15:11:45] local.INFO: Packet analysis {"connection_id":175531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:45] local.INFO: Extracted packet for processing {"connection_id":175531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756573888,"raw_latitude":119636584,"longitude_deg":75.6573888,"latitude_deg":11.9636584,"altitude":75,"angle":100,"satellites":44,"speed":45,"hex_longitude":"2d1866c0","hex_latitude":"07218268","is_valid_coordinates":true} 
[2026-09-09 15:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970390016001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18946539556700160,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752744710604732416,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788946841000,"timestamp_ms":1788946841000,"timestamp_seconds":1788946841,"priority":1,"record_length":96,"hex_timestamp":"000001a0858a7da8"} 
[2026-09-09 15:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:11: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-09-09 15:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 15:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970390016001,"66":13972,"106":206,"83":41984,"24":45,"16":18946539556700160,"45":1752744710604732416},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 15:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970390016001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:11:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 15:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18946539556700160,"km_value":18946539556700.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752744710604732416,"description":"Unknown IO ID 45"} 
[2026-09-09 15:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970390016001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1752744710604732416}} 
[2026-09-09 15:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":175531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:11:46] local.INFO: GPS data processed {"connection_id":175531,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:11:46] local.INFO: Acknowledgment sent {"connection_id":175531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:11:51] local.INFO: TCP Data received {"connection_id":178325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858af2d8012d7d1ec005ec37a00015010208..."} 
[2026-09-09 15:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858af2d8012d7d1ec005ec37a00015010208..."} 
[2026-09-09 15:11:51] local.INFO: Processing buffer {"connection_id":178325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858af2d8012d7d1ec005ec37a00015010208..."} 
[2026-09-09 15:11:51] local.INFO: Packet analysis {"connection_id":178325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:51] local.INFO: Extracted packet for processing {"connection_id":178325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":99366816,"longitude_deg":76.3174592,"latitude_deg":9.9366816,"altitude":21,"angle":258,"satellites":8,"speed":8,"hex_longitude":"2d7d1ec0","hex_latitude":"05ec37a0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970397184001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130283666805882880,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016910166875363328,"note":"Value kept but may cause issues"} 
[2026-09-09 15:11:51] 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-09-09 15:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788946871000,"timestamp_ms":1788946871000,"timestamp_seconds":1788946871,"priority":1,"record_length":96,"hex_timestamp":"000001a0858af2d8"} 
[2026-09-09 15:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 15:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970397184001,"66":13406,"110":206,"87":13824,"24":8,"16":130283666805882880,"45":9016910166875363328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 15:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970397184001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:11:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 15:11:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130283666805882880,"km_value":130283666805882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016910166875363328,"description":"Unknown IO ID 45"} 
[2026-09-09 15:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970397184001,"power":13406,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9016910166875363328}} 
[2026-09-09 15:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":178325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:11:51] local.INFO: GPS data processed {"connection_id":178325,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:11:51] local.INFO: Acknowledgment sent {"connection_id":178325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:12:06] local.INFO: TCP Data received {"connection_id":176921,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:12:06] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:12:06] local.INFO: IMEI packet received {"connection_id":176921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":176921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:12:07] local.INFO: TCP Data received {"connection_id":176921,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:12:07] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:12:07] local.INFO: IMEI packet received {"connection_id":176921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":176921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:12:12] local.INFO: TCP Data received {"connection_id":176921,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:12:12] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:12:12] local.INFO: IMEI packet received {"connection_id":176921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":176921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:12:13] local.INFO: TCP Data received {"connection_id":176921,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858afaa8012d7d1c4005ec37c00014011708..."} 
[2026-09-09 15:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858afaa8012d7d1c4005ec37c00014011708..."} 
[2026-09-09 15:12:13] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858afaa8012d7d1c4005ec37c00014011708..."} 
[2026-09-09 15:12:13] local.INFO: Packet analysis {"connection_id":176921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:12:13] local.INFO: Extracted packet for processing {"connection_id":176921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858a"} 
[2026-09-09 15:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99366848,"longitude_deg":76.3173952,"latitude_deg":9.9366848,"altitude":20,"angle":279,"satellites":8,"speed":13,"hex_longitude":"2d7d1c40","hex_latitude":"05ec37c0","is_valid_coordinates":true} 
[2026-09-09 15:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970398976001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130283696870653952,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635712749568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12: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-09-09 15:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788946873000,"timestamp_ms":1788946873000,"timestamp_seconds":1788946873,"priority":1,"record_length":96,"hex_timestamp":"000001a0858afaa8"} 
[2026-09-09 15:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":94,"data_length":795,"current_offset":136} 
[2026-09-09 15:12: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-09-09 15: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-09-09 15:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970398976001,"66":13515,"110":206,"87":13824,"24":13,"16":130283696870653952,"45":9015854635712749568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 15:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970398976001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:12:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 15:12:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130283696870653952,"km_value":130283696870653.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635712749568,"description":"Unknown IO ID 45"} 
[2026-09-09 15:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970398976001,"power":13515,"unknown_110":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9015854635712749568}} 
[2026-09-09 15:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":176921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:12:13] local.INFO: GPS data processed {"connection_id":176921,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:12:13] local.INFO: Acknowledgment sent {"connection_id":176921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:12:16] local.INFO: TCP Data received {"connection_id":178329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:12:16] local.INFO: Processing buffer {"connection_id":178329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:12:16] local.INFO: Packet analysis {"connection_id":178329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:12:16] local.INFO: Extracted packet for processing {"connection_id":178329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":178329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:12:16] local.INFO: GPS data processed {"connection_id":178329,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:12:16] local.INFO: Acknowledgment sent {"connection_id":178329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:12:27] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:12:27] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:12:27] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:12:30] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:12:30] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:12:30] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:12:34] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:12:34] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:12:34] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:12:35] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858b40f8012d18d8800720fd88003c00932a..."} 
[2026-09-09 15:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858b40f8012d18d8800720fd88003c00932a..."} 
[2026-09-09 15:12:35] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858b40f8012d18d8800720fd88003c00932a..."} 
[2026-09-09 15:12:35] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:12:35] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756603008,"raw_latitude":119602568,"longitude_deg":75.6603008,"latitude_deg":11.9602568,"altitude":60,"angle":147,"satellites":42,"speed":42,"hex_longitude":"2d18d880","hex_latitude":"0720fd88","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970403584001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18949017752829952,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789406826312574976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788946891000,"timestamp_ms":1788946891000,"timestamp_seconds":1788946891,"priority":1,"record_length":96,"hex_timestamp":"000001a0858b40f8"} 
[2026-09-09 15:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 15:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970403584001,"66":14254,"103":206,"83":41984,"24":42,"16":18949017752829952,"45":1789406826312574976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 15:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970403584001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:12:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 15:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18949017752829952,"km_value":18949017752829.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789406826312574976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970403584001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1789406826312574976}} 
[2026-09-09 15:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:12:35] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:12:35] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:12:43] local.INFO: TCP Data received {"connection_id":176922,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:12:43] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:12:43] local.INFO: IMEI packet received {"connection_id":176922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":176922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:12:45] local.INFO: TCP Data received {"connection_id":176921,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858b2d70012d7cf90005ec3ad00010010d08..."} 
[2026-09-09 15:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858b2d70012d7cf90005ec3ad00010010d08..."} 
[2026-09-09 15:12:45] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858b2d70012d7cf90005ec3ad00010010d08..."} 
[2026-09-09 15:12:45] local.INFO: Packet analysis {"connection_id":176921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:12:45] local.INFO: Extracted packet for processing {"connection_id":176921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:12:45] local.INFO: GPS Element Parsed {"raw_longitude":763164928,"raw_latitude":99367632,"longitude_deg":76.3164928,"latitude_deg":9.9367632,"altitude":16,"angle":269,"satellites":8,"speed":36,"hex_longitude":"2d7cf900","hex_latitude":"05ec3ad0","is_valid_coordinates":true} 
[2026-09-09 15:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970399488001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130284130662350848,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948270981120,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12: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-09-09 15:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788946886000,"timestamp_ms":1788946886000,"timestamp_seconds":1788946886,"priority":1,"record_length":96,"hex_timestamp":"000001a0858b2d70"} 
[2026-09-09 15:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 15:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970399488001,"66":13406,"110":206,"87":13824,"24":36,"16":130284130662350848,"45":9015150948270981120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 15:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970399488001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:12:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 15:12:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130284130662350848,"km_value":130284130662350.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948270981120,"description":"Unknown IO ID 45"} 
[2026-09-09 15:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970399488001,"power":13406,"unknown_110":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9015150948270981120}} 
[2026-09-09 15:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":176921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:12:45] local.INFO: GPS data processed {"connection_id":176921,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:12:45] local.INFO: Acknowledgment sent {"connection_id":176921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:12:49] local.INFO: TCP Data received {"connection_id":176922,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:12:49] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:12:49] local.INFO: IMEI packet received {"connection_id":176922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":176922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:12:50] local.INFO: TCP Data received {"connection_id":176922,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:12:50] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:12:50] local.INFO: Packet analysis {"connection_id":176922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:12:50] local.INFO: Extracted packet for processing {"connection_id":176922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:12:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":176922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:12:50] local.INFO: GPS data processed {"connection_id":176922,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:12:50] local.INFO: Acknowledgment sent {"connection_id":176922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:12:54] local.INFO: TCP Data received {"connection_id":176922,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:12:54] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:12:54] local.INFO: Packet analysis {"connection_id":176922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:12:54] local.INFO: Extracted packet for processing {"connection_id":176922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:12:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":176922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:12:54] local.INFO: GPS data processed {"connection_id":176922,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:12:54] local.INFO: Acknowledgment sent {"connection_id":176922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:13:05] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858b48c8012d18de800720f768003c00842b..."} 
[2026-09-09 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858b48c8012d18de800720f768003c00842b..."} 
[2026-09-09 15:13:05] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858b48c8012d18de800720f768003c00842b..."} 
[2026-09-09 15:13:05] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:13:05] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756604544,"raw_latitude":119601000,"longitude_deg":75.6604544,"latitude_deg":11.9601,"altitude":60,"angle":132,"satellites":43,"speed":42,"hex_longitude":"2d18de80","hex_latitude":"0720f768","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970404096001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18949120832045056,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790321619986384896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13: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-09-09 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788946893000,"timestamp_ms":1788946893000,"timestamp_seconds":1788946893,"priority":1,"record_length":96,"hex_timestamp":"000001a0858b48c8"} 
[2026-09-09 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-09 15:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970404096001,"66":14243,"103":206,"83":41984,"24":42,"16":18949120832045056,"45":1790321619986384896},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970404096001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:13:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 15:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18949120832045056,"km_value":18949120832045.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790321619986384896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970404096001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1790321619986384896}} 
[2026-09-09 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:13:06] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:13:06] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:13:16] local.INFO: TCP Data received {"connection_id":176921,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858b5480012d7cd30005ec3a28000d010908..."} 
[2026-09-09 15:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858b5480012d7cd30005ec3a28000d010908..."} 
[2026-09-09 15:13:16] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858b5480012d7cd30005ec3a28000d010908..."} 
[2026-09-09 15:13:16] local.INFO: Packet analysis {"connection_id":176921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:13:16] local.INFO: Extracted packet for processing {"connection_id":176921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763155200,"raw_latitude":99367464,"longitude_deg":76.31552,"latitude_deg":9.9367464,"altitude":13,"angle":265,"satellites":8,"speed":29,"hex_longitude":"2d7cd300","hex_latitude":"05ec3a28","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970402816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130284594518818816,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005228955342131200,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:16] 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-09-09 15:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788946896000,"timestamp_ms":1788946896000,"timestamp_seconds":1788946896,"priority":1,"record_length":96,"hex_timestamp":"000001a0858b5480"} 
[2026-09-09 15:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-09 15:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970402816001,"66":13972,"110":206,"87":13824,"24":29,"16":130284594518818816,"45":9005228955342131200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 15:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970402816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:13:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 15:13:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130284594518818816,"km_value":130284594518818.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005228955342131200,"description":"Unknown IO ID 45"} 
[2026-09-09 15:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970402816001,"power":13972,"unknown_110":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":9005228955342131200}} 
[2026-09-09 15:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":176921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:13:16] local.INFO: GPS data processed {"connection_id":176921,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:13:16] local.INFO: Acknowledgment sent {"connection_id":176921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:13:30] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:13:30] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:13:30] local.INFO: IMEI packet received {"connection_id":175534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":175534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:13:34] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:13:34] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:13:34] local.INFO: IMEI packet received {"connection_id":175534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":175534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:13:35] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858c3710012d19bc800720a3a8002f00b52c..."} 
[2026-09-09 15:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858c3710012d19bc800720a3a8002f00b52c..."} 
[2026-09-09 15:13:35] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858c3710012d19bc800720a3a8002f00b52c..."} 
[2026-09-09 15:13:35] local.INFO: Packet analysis {"connection_id":175534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858c"} 
[2026-09-09 15:13:35] local.INFO: Extracted packet for processing {"connection_id":175534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858c"} 
[2026-09-09 15:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119579560,"longitude_deg":75.6661376,"latitude_deg":11.957956,"altitude":47,"angle":181,"satellites":44,"speed":18,"hex_longitude":"2d19bc80","hex_latitude":"0720a3a8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970419968001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18952251863203840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914670659584,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788946954000,"timestamp_ms":1788946954000,"timestamp_seconds":1788946954,"priority":1,"record_length":96,"hex_timestamp":"000001a0858c3710"} 
[2026-09-09 15:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970419968001,"66":13993,"103":206,"83":41984,"24":18,"16":18952251863203840,"45":1854497914670659584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 15:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970419968001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:13:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 15:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18952251863203840,"km_value":18952251863203.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914670659584,"description":"Unknown IO ID 45"} 
[2026-09-09 15:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970419968001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1854497914670659584}} 
[2026-09-09 15:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":175534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:13:35] local.INFO: GPS data processed {"connection_id":175534,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:13:35] local.INFO: Acknowledgment sent {"connection_id":175534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:13:38] local.INFO: TCP Data received {"connection_id":175742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:13:38] local.INFO: Processing buffer {"connection_id":175742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:13:38] local.INFO: IMEI packet received {"connection_id":175742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":175742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:13:43] local.INFO: TCP Data received {"connection_id":175742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:13:43] local.INFO: Processing buffer {"connection_id":175742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:13:43] local.INFO: IMEI packet received {"connection_id":175742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":175742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:13:44] local.INFO: TCP Data received {"connection_id":175742,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:13:44] local.INFO: Processing buffer {"connection_id":175742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:13:44] local.INFO: Packet analysis {"connection_id":175742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:13:44] local.INFO: Extracted packet for processing {"connection_id":175742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:13: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-09-09 15:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":175742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:13:44] local.INFO: GPS data processed {"connection_id":175742,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:13:44] local.INFO: Acknowledgment sent {"connection_id":175742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:13:49] local.INFO: TCP Data received {"connection_id":176921,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858b8f18012d7cae0005ec3840000e010f08..."} 
[2026-09-09 15:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858b8f18012d7cae0005ec3840000e010f08..."} 
[2026-09-09 15:13:49] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858b8f18012d7cae0005ec3840000e010f08..."} 
[2026-09-09 15:13:49] local.INFO: Packet analysis {"connection_id":176921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:13:49] local.INFO: Extracted packet for processing {"connection_id":176921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:13:49] local.INFO: GPS Element Parsed {"raw_longitude":763145728,"raw_latitude":99366976,"longitude_deg":76.3145728,"latitude_deg":9.9366976,"altitude":14,"angle":271,"satellites":8,"speed":23,"hex_longitude":"2d7cae00","hex_latitude":"05ec3840","is_valid_coordinates":true} 
[2026-09-09 15:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970405376001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130285049785352192,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994532906227083264,"note":"Value kept but may cause issues"} 
[2026-09-09 15:13:49] 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-09-09 15:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788946911000,"timestamp_ms":1788946911000,"timestamp_seconds":1788946911,"priority":1,"record_length":96,"hex_timestamp":"000001a0858b8f18"} 
[2026-09-09 15:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970405376001,"66":13939,"110":206,"87":13824,"24":23,"16":130285049785352192,"45":8994532906227083264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 15:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970405376001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:13:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 15:13:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130285049785352192,"km_value":130285049785352.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994532906227083264,"description":"Unknown IO ID 45"} 
[2026-09-09 15:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970405376001,"power":13939,"unknown_110":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8994532906227083264}} 
[2026-09-09 15:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":176921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:13:49] local.INFO: GPS data processed {"connection_id":176921,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:13:49] local.INFO: Acknowledgment sent {"connection_id":176921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:14:06] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858cdf08012d19cc0007201e98002b005129..."} 
[2026-09-09 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858cdf08012d19cc0007201e98002b005129..."} 
[2026-09-09 15:14:06] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858cdf08012d19cc0007201e98002b005129..."} 
[2026-09-09 15:14:06] local.INFO: Packet analysis {"connection_id":175534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858c"} 
[2026-09-09 15:14:06] local.INFO: Extracted packet for processing {"connection_id":175534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858c"} 
[2026-09-09 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119545496,"longitude_deg":75.6665344,"latitude_deg":11.9545496,"altitude":43,"angle":81,"satellites":41,"speed":7,"hex_longitude":"2d19cc00","hex_latitude":"07201e98","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970430464001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18954034274631680,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564335773696,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788946997000,"timestamp_ms":1788946997000,"timestamp_seconds":1788946997,"priority":1,"record_length":96,"hex_timestamp":"000001a0858cdf08"} 
[2026-09-09 15:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 15:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970430464001,"66":14483,"103":206,"83":41984,"24":7,"16":18954034274631680,"45":1858438564335773696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 15:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970430464001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:14:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 15:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18954034274631680,"km_value":18954034274631.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564335773696,"description":"Unknown IO ID 45"} 
[2026-09-09 15:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970430464001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1858438564335773696}} 
[2026-09-09 15:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":175534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:14:06] local.INFO: GPS data processed {"connection_id":175534,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:14:06] local.INFO: Acknowledgment sent {"connection_id":175534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:14:16] local.INFO: TCP Data received {"connection_id":175742,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:14:16] local.INFO: Processing buffer {"connection_id":175742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08588df98012d34c3c006aa49200002011125..."} 
[2026-09-09 15:14:16] local.INFO: Packet analysis {"connection_id":175742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:14:16] local.INFO: Extracted packet for processing {"connection_id":175742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08588"} 
[2026-09-09 15:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":2,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970287104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788946735000,"timestamp_ms":1788946735000,"timestamp_seconds":1788946735,"priority":1,"record_length":96,"hex_timestamp":"000001a08588df98"} 
[2026-09-09 15:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 15:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970287104001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970287104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:14:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970287104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":175742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:14:16] local.INFO: GPS data processed {"connection_id":175742,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:14:16] local.INFO: Acknowledgment sent {"connection_id":175742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:14:24] local.INFO: TCP Data received {"connection_id":176921,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858bc1e0012d7c8a0005ec36080012010b08..."} 
[2026-09-09 15:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858bc1e0012d7c8a0005ec36080012010b08..."} 
[2026-09-09 15:14:24] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858bc1e0012d7c8a0005ec36080012010b08..."} 
[2026-09-09 15:14:24] local.INFO: Packet analysis {"connection_id":176921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:14:24] local.INFO: Extracted packet for processing {"connection_id":176921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858b"} 
[2026-09-09 15:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763136512,"raw_latitude":99366408,"longitude_deg":76.3136512,"latitude_deg":9.9366408,"altitude":18,"angle":267,"satellites":8,"speed":29,"hex_longitude":"2d7c8a00","hex_latitude":"05ec3608","is_valid_coordinates":true} 
[2026-09-09 15:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970409216001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130285492166983680,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984118332088664064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:24] 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-09-09 15:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788946924000,"timestamp_ms":1788946924000,"timestamp_seconds":1788946924,"priority":1,"record_length":96,"hex_timestamp":"000001a0858bc1e0"} 
[2026-09-09 15:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-09 15:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970409216001,"66":13928,"198":206,"87":13824,"24":29,"16":130285492166983680,"45":8984118332088664064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 15:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970409216001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:14:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 15:14:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130285492166983680,"km_value":130285492166983.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984118332088664064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970409216001,"power":13928,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8984118332088664064}} 
[2026-09-09 15:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":176921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:14:24] local.INFO: GPS data processed {"connection_id":176921,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:14:24] local.INFO: Acknowledgment sent {"connection_id":176921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:14:30] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:14:30] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:14:30] local.INFO: IMEI packet received {"connection_id":176923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":176923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:14:31] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:14:31] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:14:31] local.INFO: IMEI packet received {"connection_id":176923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":176923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:14:34] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:14:34] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:14:34] local.INFO: IMEI packet received {"connection_id":176923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":176923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:14:35] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858ce2f0012d19cd0007201ee8002b003e29..."} 
[2026-09-09 15:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858ce2f0012d19cd0007201ee8002b003e29..."} 
[2026-09-09 15:14:35] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858ce2f0012d19cd0007201ee8002b003e29..."} 
[2026-09-09 15:14:35] local.INFO: Packet analysis {"connection_id":176923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858c"} 
[2026-09-09 15:14:35] local.INFO: Extracted packet for processing {"connection_id":176923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858c"} 
[2026-09-09 15:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119545576,"longitude_deg":75.66656,"latitude_deg":11.9545576,"altitude":43,"angle":62,"satellites":41,"speed":8,"hex_longitude":"2d19cd00","hex_latitude":"07201ee8","is_valid_coordinates":true} 
[2026-09-09 15:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970431232001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18954047159533568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776800819200,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788946998000,"timestamp_ms":1788946998000,"timestamp_seconds":1788946998,"priority":1,"record_length":96,"hex_timestamp":"000001a0858ce2f0"} 
[2026-09-09 15:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-09 15:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970431232001,"66":14483,"103":206,"83":41984,"24":8,"16":18954047159533568,"45":1858860776800819200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 15:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970431232001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:14:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 15:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18954047159533568,"km_value":18954047159533.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776800819200,"description":"Unknown IO ID 45"} 
[2026-09-09 15:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970431232001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1858860776800819200}} 
[2026-09-09 15:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":176923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:14:35] local.INFO: GPS data processed {"connection_id":176923,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:14:35] local.INFO: Acknowledgment sent {"connection_id":176923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:14:38] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:14:38] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:14:38] local.INFO: IMEI packet received {"connection_id":175535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":175535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:14:43] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:14:43] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:14:43] local.INFO: IMEI packet received {"connection_id":175535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":175535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:14:44] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0858d7760012d34c3c006aa49200010011125..."} 
[2026-09-09 15:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858d7760012d34c3c006aa49200010011125..."} 
[2026-09-09 15:14:44] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858d7760012d34c3c006aa49200010011125..."} 
[2026-09-09 15:14:44] local.INFO: Packet analysis {"connection_id":175535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858d"} 
[2026-09-09 15:14:44] local.INFO: Extracted packet for processing {"connection_id":175535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858d"} 
[2026-09-09 15:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":16,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970364160001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947036000,"timestamp_ms":1788947036000,"timestamp_seconds":1788947036,"priority":1,"record_length":96,"hex_timestamp":"000001a0858d7760"} 
[2026-09-09 15:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970364160001,"66":25647,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970364160001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970364160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":175535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:14:44] local.INFO: GPS data processed {"connection_id":175535,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:14:44] local.INFO: Acknowledgment sent {"connection_id":175535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:15:06] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858ce6d8012d19cd8007201f78002b002c2a..."} 
[2026-09-09 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858ce6d8012d19cd8007201f78002b002c2a..."} 
[2026-09-09 15:15:06] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858ce6d8012d19cd8007201f78002b002c2a..."} 
[2026-09-09 15:15:06] local.INFO: Packet analysis {"connection_id":176923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858c"} 
[2026-09-09 15:15:06] local.INFO: Extracted packet for processing {"connection_id":176923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858c"} 
[2026-09-09 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119545720,"longitude_deg":75.6665728,"latitude_deg":11.954572,"altitude":43,"angle":44,"satellites":42,"speed":10,"hex_longitude":"2d19cd80","hex_latitude":"07201f78","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970431488001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18954055749468160,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777550336,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15: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-09-09 15:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788946999000,"timestamp_ms":1788946999000,"timestamp_seconds":1788946999,"priority":1,"record_length":96,"hex_timestamp":"000001a0858ce6d8"} 
[2026-09-09 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-09-09 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-09 15:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970431488001,"66":14363,"103":206,"83":41984,"24":10,"16":18954055749468160,"45":1859142251777550336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 15:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970431488001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:15:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 15:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18954055749468160,"km_value":18954055749468.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777550336,"description":"Unknown IO ID 45"} 
[2026-09-09 15:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970431488001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1859142251777550336}} 
[2026-09-09 15:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":176923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:15:06] local.INFO: GPS data processed {"connection_id":176923,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:15:06] local.INFO: Acknowledgment sent {"connection_id":176923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:15:09] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:15:09] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:15:09] local.INFO: IMEI packet received {"connection_id":175743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":175743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:15:12] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:15:12] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:15:12] local.INFO: IMEI packet received {"connection_id":175743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":175743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:15:16] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0858df460012d34c3c006aa4920000e011123..."} 
[2026-09-09 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858df460012d34c3c006aa4920000e011123..."} 
[2026-09-09 15:15:16] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858df460012d34c3c006aa4920000e011123..."} 
[2026-09-09 15:15:16] local.INFO: Packet analysis {"connection_id":175535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858d"} 
[2026-09-09 15:15:16] local.INFO: Extracted packet for processing {"connection_id":175535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858d"} 
[2026-09-09 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823136,"longitude_deg":75.8432704,"latitude_deg":11.1823136,"altitude":14,"angle":273,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4920","is_valid_coordinates":true} 
[2026-09-09 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970441216001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110748340879360,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947068000,"timestamp_ms":1788947068000,"timestamp_seconds":1788947068,"priority":1,"record_length":96,"hex_timestamp":"000001a0858df460"} 
[2026-09-09 15:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 15:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970441216001,"66":25702,"97":206,"81":23296,"24":0,"16":403110748340879360,"45":3802093645290086400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970441216001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110748340879360,"km_value":403110748340879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970441216001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":175535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:15:16] local.INFO: GPS data processed {"connection_id":175535,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:15:16] local.INFO: Acknowledgment sent {"connection_id":175535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:15:17] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:15:17] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:15:17] local.INFO: IMEI packet received {"connection_id":175743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":175743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:15:18] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858dd520012d7b54c005ec0288001800f41b..."} 
[2026-09-09 15:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858dd520012d7b54c005ec0288001800f41b..."} 
[2026-09-09 15:15:18] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858dd520012d7b54c005ec0288001800f41b..."} 
[2026-09-09 15:15:18] local.INFO: Packet analysis {"connection_id":175743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858d"} 
[2026-09-09 15:15:18] local.INFO: Extracted packet for processing {"connection_id":175743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858d"} 
[2026-09-09 15:15:18] local.INFO: GPS Element Parsed {"raw_longitude":763057344,"raw_latitude":99353224,"longitude_deg":76.3057344,"latitude_deg":9.9353224,"altitude":24,"angle":244,"satellites":27,"speed":8,"hex_longitude":"2d7b54c0","hex_latitude":"05ec0288","is_valid_coordinates":true} 
[2026-09-09 15:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970447104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130289357637550080,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887079833864157184,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15: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-09-09 15:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788947060000,"timestamp_ms":1788947060000,"timestamp_seconds":1788947060,"priority":1,"record_length":96,"hex_timestamp":"000001a0858dd520"} 
[2026-09-09 15:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 15:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970447104001,"66":13906,"198":206,"87":13824,"24":8,"16":130289357637550080,"45":8887079833864157184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 15:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970447104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:15:18] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 15:15:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130289357637550080,"km_value":130289357637550.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887079833864157184,"description":"Unknown IO ID 45"} 
[2026-09-09 15:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970447104001,"power":13906,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8887079833864157184}} 
[2026-09-09 15:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":175743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:15:18] local.INFO: GPS data processed {"connection_id":175743,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:15:18] local.INFO: Acknowledgment sent {"connection_id":175743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:15:30] local.INFO: TCP Data received {"connection_id":175744,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:15:30] local.INFO: Processing buffer {"connection_id":175744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:15:30] local.INFO: IMEI packet received {"connection_id":175744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":175744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:15:30] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858e2340012d7b3cc005ebf760001700ed1b..."} 
[2026-09-09 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858e2340012d7b3cc005ebf760001700ed1b..."} 
[2026-09-09 15:15:30] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858e2340012d7b3cc005ebf760001700ed1b..."} 
[2026-09-09 15:15:30] local.INFO: Packet analysis {"connection_id":175743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:15:30] local.INFO: Extracted packet for processing {"connection_id":175743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763051200,"raw_latitude":99350368,"longitude_deg":76.30512,"latitude_deg":9.9350368,"altitude":23,"angle":237,"satellites":27,"speed":0,"hex_longitude":"2d7b3cc0","hex_latitude":"05ebf760","is_valid_coordinates":true} 
[2026-09-09 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970447360001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130289679760097280,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886939096375789568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:30] 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-09-09 15:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788947080000,"timestamp_ms":1788947080000,"timestamp_seconds":1788947080,"priority":1,"record_length":96,"hex_timestamp":"000001a0858e2340"} 
[2026-09-09 15:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 15:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970447360001,"66":13319,"198":206,"87":13824,"24":0,"16":130289679760097280,"45":8886939096375789568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 15:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970447360001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:15:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 15:15:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130289679760097280,"km_value":130289679760097.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886939096375789568,"description":"Unknown IO ID 45"} 
[2026-09-09 15:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970447360001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8886939096375789568}} 
[2026-09-09 15:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":175743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:15:30] local.INFO: GPS data processed {"connection_id":175743,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:15:30] local.INFO: Acknowledgment sent {"connection_id":175743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:15:34] local.INFO: TCP Data received {"connection_id":175744,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:15:34] local.INFO: Processing buffer {"connection_id":175744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:15:34] local.INFO: IMEI packet received {"connection_id":175744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":175744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:15:35] local.INFO: TCP Data received {"connection_id":175744,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858df078012d1a5f0007204c28003e00532c..."} 
[2026-09-09 15:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858df078012d1a5f0007204c28003e00532c..."} 
[2026-09-09 15:15:35] local.INFO: Processing buffer {"connection_id":175744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858df078012d1a5f0007204c28003e00532c..."} 
[2026-09-09 15:15:35] local.INFO: Packet analysis {"connection_id":175744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858d"} 
[2026-09-09 15:15:35] local.INFO: Extracted packet for processing {"connection_id":175744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858d"} 
[2026-09-09 15:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756702976,"raw_latitude":119557160,"longitude_deg":75.6702976,"latitude_deg":11.955716,"altitude":62,"angle":83,"satellites":44,"speed":21,"hex_longitude":"2d1a5f00","hex_latitude":"07204c28","is_valid_coordinates":true} 
[2026-09-09 15:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970447872001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18955975599849472,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897422848612974592,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788947067000,"timestamp_ms":1788947067000,"timestamp_seconds":1788947067,"priority":1,"record_length":96,"hex_timestamp":"000001a0858df078"} 
[2026-09-09 15:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 15:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970447872001,"66":13928,"101":206,"83":41984,"24":21,"16":18955975599849472,"45":1897422848612974592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970447872001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:15:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18955975599849472,"km_value":18955975599849.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897422848612974592,"description":"Unknown IO ID 45"} 
[2026-09-09 15:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970447872001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1897422848612974592}} 
[2026-09-09 15:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":175744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:15:36] local.INFO: GPS data processed {"connection_id":175744,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:15:36] local.INFO: Acknowledgment sent {"connection_id":175744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:15:38] local.INFO: TCP Data received {"connection_id":175745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:15:38] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:15:38] local.INFO: IMEI packet received {"connection_id":175745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":175745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:15:43] local.INFO: TCP Data received {"connection_id":175745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:15:43] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:15:43] local.INFO: IMEI packet received {"connection_id":175745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":175745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:15:44] local.INFO: TCP Data received {"connection_id":175745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0858e4a50012d34c94006aa48f0000c011124..."} 
[2026-09-09 15:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858e4a50012d34c94006aa48f0000c011124..."} 
[2026-09-09 15:15:44] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858e4a50012d34c94006aa48f0000c011124..."} 
[2026-09-09 15:15:44] local.INFO: Packet analysis {"connection_id":175745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:15:44] local.INFO: Extracted packet for processing {"connection_id":175745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111823088,"longitude_deg":75.8434112,"latitude_deg":11.1823088,"altitude":12,"angle":273,"satellites":36,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa48f0","is_valid_coordinates":true} 
[2026-09-09 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970449408001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110756930813952,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290086400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947090000,"timestamp_ms":1788947090000,"timestamp_seconds":1788947090,"priority":1,"record_length":96,"hex_timestamp":"000001a0858e4a50"} 
[2026-09-09 15:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:15: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-09-09 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 15:15: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-09-09 15:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970449408001,"66":25397,"97":206,"81":23296,"24":0,"16":403110756930813952,"45":3802093645290086400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970449408001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110756930813952,"km_value":403110756930813.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290086400,"description":"Unknown IO ID 45"} 
[2026-09-09 15:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970449408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290086400}} 
[2026-09-09 15:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":175745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:15:44] local.INFO: GPS data processed {"connection_id":175745,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:15:44] local.INFO: Acknowledgment sent {"connection_id":175745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:15:46] local.INFO: TCP Data received {"connection_id":176925,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:15:46] local.INFO: Processing buffer {"connection_id":176925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:15:46] local.INFO: IMEI packet received {"connection_id":176925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":176925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:16:05] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:16:05] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:16:05] local.INFO: IMEI packet received {"connection_id":175746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":175746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:16:07] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:16:07] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:16:07] local.INFO: IMEI packet received {"connection_id":175746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":175746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:16:07] local.INFO: TCP Data received {"connection_id":175744,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858ec750012d1a9280072007380038008129..."} 
[2026-09-09 15:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858ec750012d1a9280072007380038008129..."} 
[2026-09-09 15:16:07] local.INFO: Processing buffer {"connection_id":175744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858ec750012d1a9280072007380038008129..."} 
[2026-09-09 15:16:07] local.INFO: Packet analysis {"connection_id":175744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:07] local.INFO: Extracted packet for processing {"connection_id":175744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756716160,"raw_latitude":119539512,"longitude_deg":75.671616,"latitude_deg":11.9539512,"altitude":56,"angle":129,"satellites":41,"speed":20,"hex_longitude":"2d1a9280","hex_latitude":"07200738","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970462720001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18957345694416896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913889134746386432,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 15:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788947122000,"timestamp_ms":1788947122000,"timestamp_seconds":1788947122,"priority":1,"record_length":96,"hex_timestamp":"000001a0858ec750"} 
[2026-09-09 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-09-09 15:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-09 15:16:07] 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-09-09 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-09-09 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-09-09 15:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970462720001,"66":13396,"101":206,"83":41984,"24":20,"16":18957345694416896,"45":1913889134746386432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970462720001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:16:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18957345694416896,"km_value":18957345694416.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913889134746386432,"description":"Unknown IO ID 45"} 
[2026-09-09 15:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970462720001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1913889134746386432}} 
[2026-09-09 15:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":175744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:16:07] local.INFO: GPS data processed {"connection_id":175744,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:16:07] local.INFO: Acknowledgment sent {"connection_id":175744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:16:12] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:16:12] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:16:12] local.INFO: IMEI packet received {"connection_id":175746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":175746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:16:13] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858e36c8012d7b3c0005ebf698001700fa1a..."} 
[2026-09-09 15:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858e36c8012d7b3c0005ebf698001700fa1a..."} 
[2026-09-09 15:16:13] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858e36c8012d7b3c0005ebf698001700fa1a..."} 
[2026-09-09 15:16:13] local.INFO: Packet analysis {"connection_id":175746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:13] local.INFO: Extracted packet for processing {"connection_id":175746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763051008,"raw_latitude":99350168,"longitude_deg":76.3051008,"latitude_deg":9.9350168,"altitude":23,"angle":250,"satellites":26,"speed":6,"hex_longitude":"2d7b3c00","hex_latitude":"05ebf698","is_valid_coordinates":true} 
[2026-09-09 15:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970452480001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130289696939966464,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880183696934002688,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16: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-09-09 15:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788947085000,"timestamp_ms":1788947085000,"timestamp_seconds":1788947085,"priority":1,"record_length":96,"hex_timestamp":"000001a0858e36c8"} 
[2026-09-09 15:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2240599864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2368802817,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2954361462945944064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812245,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3771662336,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961456640,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-6034822205813932027,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,198,87,24,241,157,16,225,160,213,45,192,2,27,10,66,209,64,127,1,240,62,227,133,236,4,113,205,30,142,224,21,239,53,206,5,25,33,56,140],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-09 15:16:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657585363092242432,"timestamp_seconds":1657585363092242.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970452480001,"66":13972,"198":206,"87":13824,"24":6,"16":130289696939966464,"45":8880183696934002688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 15:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970452480001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:16:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 15:16:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130289696939966464,"km_value":130289696939966.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880183696934002688,"description":"Unknown IO ID 45"} 
[2026-09-09 15:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970452480001,"power":13972,"unknown_198":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8880183696934002688}} 
[2026-09-09 15:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":175746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:16:13] local.INFO: GPS data processed {"connection_id":175746,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:16:13] local.INFO: Acknowledgment sent {"connection_id":175746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:16:16] local.INFO: TCP Data received {"connection_id":175745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0858e4e38012d34c94006aa48f0000c011125..."} 
[2026-09-09 15:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858e4e38012d34c94006aa48f0000c011125..."} 
[2026-09-09 15:16:16] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858e4e38012d34c94006aa48f0000c011125..."} 
[2026-09-09 15:16:16] local.INFO: Packet analysis {"connection_id":175745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:16] local.INFO: Extracted packet for processing {"connection_id":175745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111823088,"longitude_deg":75.8434112,"latitude_deg":11.1823088,"altitude":12,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa48f0","is_valid_coordinates":true} 
[2026-09-09 15:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970455040001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110756930813952,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661982720,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947091000,"timestamp_ms":1788947091000,"timestamp_seconds":1788947091,"priority":1,"record_length":96,"hex_timestamp":"000001a0858e4e38"} 
[2026-09-09 15:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 15:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970455040001,"66":25299,"97":206,"81":23296,"24":0,"16":403110756930813952,"45":3803641757661982720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970455040001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110756930813952,"km_value":403110756930813.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661982720,"description":"Unknown IO ID 45"} 
[2026-09-09 15:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970455040001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803641757661982720}} 
[2026-09-09 15:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":175745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:16:16] local.INFO: GPS data processed {"connection_id":175745,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:16:16] local.INFO: Acknowledgment sent {"connection_id":175745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:16:30] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:16:30] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:16:30] local.INFO: IMEI packet received {"connection_id":175536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":175536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:16:34] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:16:34] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:16:34] local.INFO: IMEI packet received {"connection_id":175536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":175536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:16:35] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:16:35] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:16:35] local.INFO: IMEI packet received {"connection_id":175536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":175536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:16:35] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858edad8012d1a9a00072002380037006f2a..."} 
[2026-09-09 15:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858edad8012d1a9a00072002380037006f2a..."} 
[2026-09-09 15:16:35] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858edad8012d1a9a00072002380037006f2a..."} 
[2026-09-09 15:16:35] local.INFO: Packet analysis {"connection_id":175536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:35] local.INFO: Extracted packet for processing {"connection_id":175536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756718080,"raw_latitude":119538232,"longitude_deg":75.671808,"latitude_deg":11.9538232,"altitude":55,"angle":111,"satellites":42,"speed":8,"hex_longitude":"2d1a9a00","hex_latitude":"07200238","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970463232001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18957453068599296,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914733559676352512,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788947127000,"timestamp_ms":1788947127000,"timestamp_seconds":1788947127,"priority":1,"record_length":96,"hex_timestamp":"000001a0858edad8"} 
[2026-09-09 15:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-09 15:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970463232001,"66":14374,"101":206,"83":41984,"24":8,"16":18957453068599296,"45":1914733559676352512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970463232001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:16:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18957453068599296,"km_value":18957453068599.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914733559676352512,"description":"Unknown IO ID 45"} 
[2026-09-09 15:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970463232001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1914733559676352512}} 
[2026-09-09 15:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":175536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:16:35] local.INFO: GPS data processed {"connection_id":175536,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:16:35] local.INFO: Acknowledgment sent {"connection_id":175536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:16:40] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858edec0012d1a9a80072002100038005a2a..."} 
[2026-09-09 15:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858edec0012d1a9a80072002100038005a2a..."} 
[2026-09-09 15:16:40] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858edec0012d1a9a80072002100038005a2a..."} 
[2026-09-09 15:16:40] local.INFO: Packet analysis {"connection_id":175536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:40] local.INFO: Extracted packet for processing {"connection_id":175536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756718208,"raw_latitude":119538192,"longitude_deg":75.6718208,"latitude_deg":11.9538192,"altitude":56,"angle":90,"satellites":42,"speed":7,"hex_longitude":"2d1a9a80","hex_latitude":"07200210","is_valid_coordinates":true} 
[2026-09-09 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970464512001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18957461658533888,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916844622001354752,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788947128000,"timestamp_ms":1788947128000,"timestamp_seconds":1788947128,"priority":1,"record_length":96,"hex_timestamp":"000001a0858edec0"} 
[2026-09-09 15:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 15:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970464512001,"66":14374,"101":206,"83":41984,"24":7,"16":18957461658533888,"45":1916844622001354752},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970464512001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:16:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:16:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18957461658533888,"km_value":18957461658533.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916844622001354752,"description":"Unknown IO ID 45"} 
[2026-09-09 15:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970464512001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1916844622001354752}} 
[2026-09-09 15:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":175536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:16:40] local.INFO: GPS data processed {"connection_id":175536,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:16:40] local.INFO: Acknowledgment sent {"connection_id":175536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:16:43] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:16:43] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:16:43] local.INFO: IMEI packet received {"connection_id":175537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":175537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:16:47] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858e5608012d7b320005ebf1c8001700eb1b..."} 
[2026-09-09 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858e5608012d7b320005ebf1c8001700eb1b..."} 
[2026-09-09 15:16:47] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858e5608012d7b320005ebf1c8001700eb1b..."} 
[2026-09-09 15:16:47] local.INFO: Packet analysis {"connection_id":175746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:47] local.INFO: Extracted packet for processing {"connection_id":175746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:47] local.INFO: GPS Element Parsed {"raw_longitude":763048448,"raw_latitude":99348936,"longitude_deg":76.3048448,"latitude_deg":9.9348936,"altitude":23,"angle":235,"satellites":27,"speed":5,"hex_longitude":"2d7b3200","hex_latitude":"05ebf1c8","is_valid_coordinates":true} 
[2026-09-09 15:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970453760001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130289830083952640,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879972590701418496,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16: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-09-09 15:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788947093000,"timestamp_ms":1788947093000,"timestamp_seconds":1788947093,"priority":1,"record_length":96,"hex_timestamp":"000001a0858e5608"} 
[2026-09-09 15:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970453760001,"66":13798,"198":206,"87":13824,"24":5,"16":130289830083952640,"45":8879972590701418496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 15:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970453760001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:16:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 15:16:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130289830083952640,"km_value":130289830083952.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879972590701418496,"description":"Unknown IO ID 45"} 
[2026-09-09 15:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970453760001,"power":13798,"unknown_198":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8879972590701418496}} 
[2026-09-09 15:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":175746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:16:47] local.INFO: GPS data processed {"connection_id":175746,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:16:47] local.INFO: Acknowledgment sent {"connection_id":175746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:16:49] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:16:49] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:16:49] local.INFO: IMEI packet received {"connection_id":175537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":175537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:16:50] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0858e4e38012d34c94006aa48f0000c011125..."} 
[2026-09-09 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858e4e38012d34c94006aa48f0000c011125..."} 
[2026-09-09 15:16:50] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858e4e38012d34c94006aa48f0000c011125..."} 
[2026-09-09 15:16:50] local.INFO: Packet analysis {"connection_id":175537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:50] local.INFO: Extracted packet for processing {"connection_id":175537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758434112,"raw_latitude":111823088,"longitude_deg":75.8434112,"latitude_deg":11.1823088,"altitude":12,"angle":273,"satellites":37,"speed":0,"hex_longitude":"2d34c940","hex_latitude":"06aa48f0","is_valid_coordinates":true} 
[2026-09-09 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970455040001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110756930813952,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661982720,"note":"Value kept but may cause issues"} 
[2026-09-09 15:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788947091000,"timestamp_ms":1788947091000,"timestamp_seconds":1788947091,"priority":1,"record_length":96,"hex_timestamp":"000001a0858e4e38"} 
[2026-09-09 15:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 15:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970455040001,"66":25299,"97":206,"81":23296,"24":0,"16":403110756930813952,"45":3803641757661982720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970455040001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:16:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110756930813952,"km_value":403110756930813.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661982720,"description":"Unknown IO ID 45"} 
[2026-09-09 15:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970455040001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803641757661982720}} 
[2026-09-09 15:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":175537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:16:50] local.INFO: GPS data processed {"connection_id":175537,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:16:50] local.INFO: Acknowledgment sent {"connection_id":175537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:17:07] local.INFO: TCP Data received {"connection_id":178331,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:17:07] local.INFO: Processing buffer {"connection_id":178331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:17:07] local.INFO: IMEI packet received {"connection_id":178331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":178331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:17:11] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0858eea78012d1a9c00072002b00039002d29..."} 
[2026-09-09 15:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858eea78012d1a9c00072002b00039002d29..."} 
[2026-09-09 15:17:11] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858eea78012d1a9c00072002b00039002d29..."} 
[2026-09-09 15:17:11] local.INFO: Packet analysis {"connection_id":175536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:17:11] local.INFO: Extracted packet for processing {"connection_id":175536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756718592,"raw_latitude":119538352,"longitude_deg":75.6718592,"latitude_deg":11.9538352,"altitude":57,"angle":45,"satellites":41,"speed":7,"hex_longitude":"2d1a9c00","hex_latitude":"072002b0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970464768001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18957483133370368,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916985359489699840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17: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-09-09 15:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788947131000,"timestamp_ms":1788947131000,"timestamp_seconds":1788947131,"priority":1,"record_length":96,"hex_timestamp":"000001a0858eea78"} 
[2026-09-09 15:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":38,"data_length":795,"current_offset":136} 
[2026-09-09 15:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970464768001,"66":14298,"101":206,"83":41984,"24":7,"16":18957483133370368,"45":1916985359489699840},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970464768001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:17:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18957483133370368,"km_value":18957483133370.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916985359489699840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970464768001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1916985359489699840}} 
[2026-09-09 15:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":175536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:17:11] local.INFO: GPS data processed {"connection_id":175536,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:17:11] local.INFO: Acknowledgment sent {"connection_id":175536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:17:12] local.INFO: TCP Data received {"connection_id":178331,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:17:12] local.INFO: Processing buffer {"connection_id":178331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:17:12] local.INFO: IMEI packet received {"connection_id":178331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":178331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:17:13] local.INFO: TCP Data received {"connection_id":178331,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858e8cb8012d7b2f8005ebf0a0001600fa1d..."} 
[2026-09-09 15:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858e8cb8012d7b2f8005ebf0a0001600fa1d..."} 
[2026-09-09 15:17:13] local.INFO: Processing buffer {"connection_id":178331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858e8cb8012d7b2f8005ebf0a0001600fa1d..."} 
[2026-09-09 15:17:13] local.INFO: Packet analysis {"connection_id":178331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:17:13] local.INFO: Extracted packet for processing {"connection_id":178331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763047808,"raw_latitude":99348640,"longitude_deg":76.3047808,"latitude_deg":9.934864,"altitude":22,"angle":250,"satellites":29,"speed":6,"hex_longitude":"2d7b2f80","hex_latitude":"05ebf0a0","is_valid_coordinates":true} 
[2026-09-09 15:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970455808001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130289868738658304,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877157840933996544,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788947107000,"timestamp_ms":1788947107000,"timestamp_seconds":1788947107,"priority":1,"record_length":96,"hex_timestamp":"000001a0858e8cb8"} 
[2026-09-09 15:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 15:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970455808001,"66":13906,"125":206,"87":13824,"24":6,"16":130289868738658304,"45":8877157840933996544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,87,24,16,45]} 
[2026-09-09 15:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970455808001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:17:13] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-09 15:17:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130289868738658304,"km_value":130289868738658.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877157840933996544,"description":"Unknown IO ID 45"} 
[2026-09-09 15:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970455808001,"power":13906,"unknown_125":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8877157840933996544}} 
[2026-09-09 15:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":178331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:17:13] local.INFO: GPS data processed {"connection_id":178331,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:17:13] local.INFO: Acknowledgment sent {"connection_id":178331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:17:22] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0858f9658012d34c9c006aa49300007011124..."} 
[2026-09-09 15:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858f9658012d34c9c006aa49300007011124..."} 
[2026-09-09 15:17:22] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858f9658012d34c9c006aa49300007011124..."} 
[2026-09-09 15:17:22] local.INFO: Packet analysis {"connection_id":175537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858f"} 
[2026-09-09 15:17:22] local.INFO: Extracted packet for processing {"connection_id":175537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858f"} 
[2026-09-09 15:17:22] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111823152,"longitude_deg":75.843424,"latitude_deg":11.1823152,"altitude":7,"angle":273,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-09 15:17: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-09-09 15:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970455296001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110756930813952,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803641757661982720,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788947175000,"timestamp_ms":1788947175000,"timestamp_seconds":1788947175,"priority":1,"record_length":96,"hex_timestamp":"000001a0858f9658"} 
[2026-09-09 15:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:17: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-09-09 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 15:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970455296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110756930813952,"45":3803641757661982720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970455296001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:17:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110756930813952,"km_value":403110756930813.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803641757661982720,"description":"Unknown IO ID 45"} 
[2026-09-09 15:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970455296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803641757661982720}} 
[2026-09-09 15:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":175537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:17:22] local.INFO: GPS data processed {"connection_id":175537,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:17:22] local.INFO: Acknowledgment sent {"connection_id":175537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:17:30] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:17:30] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:17:30] local.INFO: IMEI packet received {"connection_id":175747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":175747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:17:30] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:17:30] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:17:30] local.INFO: IMEI packet received {"connection_id":175747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":175747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:17:35] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:17:35] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:17:35] local.INFO: IMEI packet received {"connection_id":175747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":175747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:17:36] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085901358012d1ac00007200748004e009429..."} 
[2026-09-09 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085901358012d1ac00007200748004e009429..."} 
[2026-09-09 15:17:36] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085901358012d1ac00007200748004e009429..."} 
[2026-09-09 15:17:36] local.INFO: Packet analysis {"connection_id":175747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:17:36] local.INFO: Extracted packet for processing {"connection_id":175747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756727808,"raw_latitude":119539528,"longitude_deg":75.6727808,"latitude_deg":11.9539528,"altitude":78,"angle":148,"satellites":41,"speed":5,"hex_longitude":"2d1ac000","hex_latitude":"07200748","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970484736001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958178918072320,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927470302372550656,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17: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-09-09 15:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947207000,"timestamp_ms":1788947207000,"timestamp_seconds":1788947207,"priority":1,"record_length":96,"hex_timestamp":"000001a085901358"} 
[2026-09-09 15:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 15:17: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-09-09 15: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-09-09 15:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970484736001,"66":13961,"101":206,"83":41984,"24":5,"16":18958178918072320,"45":1927470302372550656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970484736001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:17:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958178918072320,"km_value":18958178918072.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927470302372550656,"description":"Unknown IO ID 45"} 
[2026-09-09 15:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970484736001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1927470302372550656}} 
[2026-09-09 15:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":175747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:17:36] local.INFO: GPS data processed {"connection_id":175747,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:17:36] local.INFO: Acknowledgment sent {"connection_id":175747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:17:39] local.INFO: TCP Data received {"connection_id":178332,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:17:39] local.INFO: Processing buffer {"connection_id":178332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:17:39] local.INFO: IMEI packet received {"connection_id":178332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":178332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:17:40] local.INFO: TCP Data received {"connection_id":178332,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:17:40] local.INFO: Processing buffer {"connection_id":178332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:17:40] local.INFO: IMEI packet received {"connection_id":178332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":178332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:17:45] local.INFO: TCP Data received {"connection_id":178332,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:17:45] local.INFO: Processing buffer {"connection_id":178332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:17:45] local.INFO: IMEI packet received {"connection_id":178332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":178332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:17:46] local.INFO: TCP Data received {"connection_id":178331,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858edad8012d7b234005ebea68001300f51d..."} 
[2026-09-09 15:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858edad8012d7b234005ebea68001300f51d..."} 
[2026-09-09 15:17:46] local.INFO: Processing buffer {"connection_id":178331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858edad8012d7b234005ebea68001300f51d..."} 
[2026-09-09 15:17:46] local.INFO: Packet analysis {"connection_id":178331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:17:46] local.INFO: Extracted packet for processing {"connection_id":178331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858e"} 
[2026-09-09 15:17:46] local.INFO: GPS Element Parsed {"raw_longitude":763044672,"raw_latitude":99347048,"longitude_deg":76.3044672,"latitude_deg":9.9347048,"altitude":19,"angle":245,"satellites":29,"speed":6,"hex_longitude":"2d7b2340","hex_latitude":"05ebea68","is_valid_coordinates":true} 
[2026-09-09 15:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970459392001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130290036242382848,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876454153492144128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788947127000,"timestamp_ms":1788947127000,"timestamp_seconds":1788947127,"priority":1,"record_length":96,"hex_timestamp":"000001a0858edad8"} 
[2026-09-09 15:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 15:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970459392001,"66":13972,"125":206,"87":13824,"24":6,"16":130290036242382848,"45":8876454153492144128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,87,24,16,45]} 
[2026-09-09 15:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970459392001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:17:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-09 15:17:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130290036242382848,"km_value":130290036242382.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876454153492144128,"description":"Unknown IO ID 45"} 
[2026-09-09 15:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970459392001,"power":13972,"unknown_125":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8876454153492144128}} 
[2026-09-09 15:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":178331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:17:46] local.INFO: GPS data processed {"connection_id":178331,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:17:46] local.INFO: Acknowledgment sent {"connection_id":178331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:17:46] local.INFO: TCP Data received {"connection_id":178332,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0858ffbe8012d34c88006aa49500007011126..."} 
[2026-09-09 15:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858ffbe8012d34c88006aa49500007011126..."} 
[2026-09-09 15:17:46] local.INFO: Processing buffer {"connection_id":178332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858ffbe8012d34c88006aa49500007011126..."} 
[2026-09-09 15:17:46] local.INFO: Packet analysis {"connection_id":178332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858f"} 
[2026-09-09 15:17:46] local.INFO: Extracted packet for processing {"connection_id":178332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858f"} 
[2026-09-09 15:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758433920,"raw_latitude":111823184,"longitude_deg":75.843392,"latitude_deg":11.1823184,"altitude":7,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c880","hex_latitude":"06aa4950","is_valid_coordinates":true} 
[2026-09-09 15:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970476800001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110778405650432,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150354432,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788947201000,"timestamp_ms":1788947201000,"timestamp_seconds":1788947201,"priority":1,"record_length":96,"hex_timestamp":"000001a0858ffbe8"} 
[2026-09-09 15:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:17: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-09-09 15:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 15:17:46] 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-09-09 15:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970476800001,"66":27658,"97":206,"81":23296,"24":0,"16":403110778405650432,"45":3803782495150354432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970476800001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110778405650432,"km_value":403110778405650.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150354432,"description":"Unknown IO ID 45"} 
[2026-09-09 15:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970476800001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150354432}} 
[2026-09-09 15:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":178332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:17:46] local.INFO: GPS data processed {"connection_id":178332,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:17:46] local.INFO: Acknowledgment sent {"connection_id":178332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:17:48] local.INFO: TCP Data received {"connection_id":178332,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085904df0012d34c90006aa49300006011126..."} 
[2026-09-09 15:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085904df0012d34c90006aa49300006011126..."} 
[2026-09-09 15:17:48] local.INFO: Processing buffer {"connection_id":178332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085904df0012d34c90006aa49300006011126..."} 
[2026-09-09 15:17:48] local.INFO: Packet analysis {"connection_id":178332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:17:48] local.INFO: Extracted packet for processing {"connection_id":178332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111823152,"longitude_deg":75.8434048,"latitude_deg":11.1823152,"altitude":6,"angle":273,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-09 15:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970483456001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110786995585024,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803430651429474304,"note":"Value kept but may cause issues"} 
[2026-09-09 15:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788947222000,"timestamp_ms":1788947222000,"timestamp_seconds":1788947222,"priority":1,"record_length":96,"hex_timestamp":"000001a085904df0"} 
[2026-09-09 15:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 15:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970483456001,"66":27767,"97":206,"81":23296,"24":0,"16":403110786995585024,"45":3803430651429474304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970483456001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110786995585024,"km_value":403110786995585.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803430651429474304,"description":"Unknown IO ID 45"} 
[2026-09-09 15:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970483456001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803430651429474304}} 
[2026-09-09 15:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":178332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:17:48] local.INFO: GPS data processed {"connection_id":178332,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:17:48] local.INFO: Acknowledgment sent {"connection_id":178332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:18:07] local.INFO: TCP Data received {"connection_id":178333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:18:07] local.INFO: Processing buffer {"connection_id":178333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:18:07] local.INFO: IMEI packet received {"connection_id":178333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":178333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:18:07] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085901b28012d1ac14007200690004f007628..."} 
[2026-09-09 15:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085901b28012d1ac14007200690004f007628..."} 
[2026-09-09 15:18:07] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085901b28012d1ac14007200690004f007628..."} 
[2026-09-09 15:18:07] local.INFO: Packet analysis {"connection_id":175747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:07] local.INFO: Extracted packet for processing {"connection_id":175747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756728128,"raw_latitude":119539344,"longitude_deg":75.6728128,"latitude_deg":11.9539344,"altitude":79,"angle":118,"satellites":40,"speed":5,"hex_longitude":"2d1ac140","hex_latitude":"07200690","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970484992001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958196097941504,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927540671116691456,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 15:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788947209000,"timestamp_ms":1788947209000,"timestamp_seconds":1788947209,"priority":1,"record_length":96,"hex_timestamp":"000001a085901b28"} 
[2026-09-09 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-09-09 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 15:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970484992001,"66":13961,"101":206,"83":41984,"24":5,"16":18958196097941504,"45":1927540671116691456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970484992001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:18:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958196097941504,"km_value":18958196097941.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927540671116691456,"description":"Unknown IO ID 45"} 
[2026-09-09 15:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970484992001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1927540671116691456}} 
[2026-09-09 15:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":175747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:18:07] local.INFO: GPS data processed {"connection_id":175747,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:18:07] local.INFO: Acknowledgment sent {"connection_id":175747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:18:12] local.INFO: TCP Data received {"connection_id":178333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:18:12] local.INFO: Processing buffer {"connection_id":178333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:18:12] local.INFO: IMEI packet received {"connection_id":178333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":178333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:18:13] local.INFO: TCP Data received {"connection_id":178333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858f2ce0012d7b064005ebdc10001200f320..."} 
[2026-09-09 15:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858f2ce0012d7b064005ebdc10001200f320..."} 
[2026-09-09 15:18:13] local.INFO: Processing buffer {"connection_id":178333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858f2ce0012d7b064005ebdc10001200f320..."} 
[2026-09-09 15:18:13] local.INFO: Packet analysis {"connection_id":178333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858f"} 
[2026-09-09 15:18:13] local.INFO: Extracted packet for processing {"connection_id":178333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858f"} 
[2026-09-09 15:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":99343376,"longitude_deg":76.3037248,"latitude_deg":9.9343376,"altitude":18,"angle":243,"satellites":32,"speed":18,"hex_longitude":"2d7b0640","hex_latitude":"05ebdc10","is_valid_coordinates":true} 
[2026-09-09 15:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970464512001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130290435674341376,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873006085027031040,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18: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-09-09 15:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788947148000,"timestamp_ms":1788947148000,"timestamp_seconds":1788947148,"priority":1,"record_length":96,"hex_timestamp":"000001a0858f2ce0"} 
[2026-09-09 15:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970464512001,"66":13928,"98":206,"87":13824,"24":18,"16":130290435674341376,"45":8873006085027031040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-09 15:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970464512001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:18:13] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-09 15:18:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130290435674341376,"km_value":130290435674341.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873006085027031040,"description":"Unknown IO ID 45"} 
[2026-09-09 15:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970464512001,"power":13928,"unknown_98":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8873006085027031040}} 
[2026-09-09 15:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":178333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:18:13] local.INFO: GPS data processed {"connection_id":178333,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:18:13] local.INFO: Acknowledgment sent {"connection_id":178333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:18:19] local.INFO: TCP Data received {"connection_id":178332,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08590d2c0012d34c68006aa46580006016025..."} 
[2026-09-09 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590d2c0012d34c68006aa46580006016025..."} 
[2026-09-09 15:18:19] local.INFO: Processing buffer {"connection_id":178332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590d2c0012d34c68006aa46580006016025..."} 
[2026-09-09 15:18:19] local.INFO: Packet analysis {"connection_id":178332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:19] local.INFO: Extracted packet for processing {"connection_id":178332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111822424,"longitude_deg":75.8433408,"latitude_deg":11.1822424,"altitude":6,"angle":352,"satellites":37,"speed":4,"hex_longitude":"2d34c680","hex_latitude":"06aa4658","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970497024001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110928729505792,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475807232,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788947256000,"timestamp_ms":1788947256000,"timestamp_seconds":1788947256,"priority":1,"record_length":96,"hex_timestamp":"000001a08590d2c0"} 
[2026-09-09 15:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 15:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970497024001,"66":27658,"97":206,"81":23296,"24":4,"16":403110928729505792,"45":3802867701475807232},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970497024001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110928729505792,"km_value":403110928729505.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475807232,"description":"Unknown IO ID 45"} 
[2026-09-09 15:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970497024001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802867701475807232}} 
[2026-09-09 15:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":178332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:18:19] local.INFO: GPS data processed {"connection_id":178332,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:18:19] local.INFO: Acknowledgment sent {"connection_id":178332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:18:32] local.INFO: TCP Data received {"connection_id":175539,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:18:32] local.INFO: Processing buffer {"connection_id":175539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:18:32] local.INFO: IMEI packet received {"connection_id":175539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":175539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:18:35] local.INFO: TCP Data received {"connection_id":175539,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:18:35] local.INFO: Processing buffer {"connection_id":175539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:18:35] local.INFO: IMEI packet received {"connection_id":175539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":175539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:18:38] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:18:38] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:18:38] local.INFO: IMEI packet received {"connection_id":175540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":175540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:18:40] local.INFO: TCP Data received {"connection_id":175539,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:18:40] local.INFO: Processing buffer {"connection_id":175539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:18:40] local.INFO: IMEI packet received {"connection_id":175539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":175539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:18:41] local.INFO: TCP Data received {"connection_id":175539,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085901f10012d1ac1c007200660004f006928..."} 
[2026-09-09 15:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085901f10012d1ac1c007200660004f006928..."} 
[2026-09-09 15:18:41] local.INFO: Processing buffer {"connection_id":175539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085901f10012d1ac1c007200660004f006928..."} 
[2026-09-09 15:18:41] local.INFO: Packet analysis {"connection_id":175539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:41] local.INFO: Extracted packet for processing {"connection_id":175539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756728256,"raw_latitude":119539296,"longitude_deg":75.6728256,"latitude_deg":11.9539296,"altitude":79,"angle":105,"satellites":40,"speed":7,"hex_longitude":"2d1ac1c0","hex_latitude":"07200660","is_valid_coordinates":true} 
[2026-09-09 15:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970485504001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958204687876096,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927892514837532672,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788947210000,"timestamp_ms":1788947210000,"timestamp_seconds":1788947210,"priority":1,"record_length":96,"hex_timestamp":"000001a085901f10"} 
[2026-09-09 15:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 15:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970485504001,"66":13961,"101":206,"83":41984,"24":7,"16":18958204687876096,"45":1927892514837532672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970485504001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:18:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958204687876096,"km_value":18958204687876.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927892514837532672,"description":"Unknown IO ID 45"} 
[2026-09-09 15:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970485504001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1927892514837532672}} 
[2026-09-09 15:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":175539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:18:41] local.INFO: GPS data processed {"connection_id":175539,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:18:41] local.INFO: Acknowledgment sent {"connection_id":175539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:18:43] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:18:44] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:18:44] local.INFO: IMEI packet received {"connection_id":175540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":175540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:18:44] local.INFO: TCP Data received {"connection_id":178333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0858f6778012d7ae4c005ebcb50001000f320..."} 
[2026-09-09 15:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0858f6778012d7ae4c005ebcb50001000f320..."} 
[2026-09-09 15:18:44] local.INFO: Processing buffer {"connection_id":178333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0858f6778012d7ae4c005ebcb50001000f320..."} 
[2026-09-09 15:18:44] local.INFO: Packet analysis {"connection_id":178333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0858f"} 
[2026-09-09 15:18:44] local.INFO: Extracted packet for processing {"connection_id":178333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0858f"} 
[2026-09-09 15:18:44] local.INFO: GPS Element Parsed {"raw_longitude":763028672,"raw_latitude":99339088,"longitude_deg":76.3028672,"latitude_deg":9.9339088,"altitude":16,"angle":243,"satellites":32,"speed":26,"hex_longitude":"2d7ae4c0","hex_latitude":"05ebcb50","is_valid_coordinates":true} 
[2026-09-09 15:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970469888001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130290895235842048,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310701481984,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18: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-09-09 15:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947163000,"timestamp_ms":1788947163000,"timestamp_seconds":1788947163,"priority":1,"record_length":96,"hex_timestamp":"000001a0858f6778"} 
[2026-09-09 15:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 15:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970469888001,"66":13537,"98":206,"87":13824,"24":26,"16":130290895235842048,"45":8864843310701481984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-09 15:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970469888001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:18:44] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-09 15:18:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130290895235842048,"km_value":130290895235842.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310701481984,"description":"Unknown IO ID 45"} 
[2026-09-09 15:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970469888001,"power":13537,"unknown_98":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8864843310701481984}} 
[2026-09-09 15:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":178333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:18:44] local.INFO: GPS data processed {"connection_id":178333,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:18:44] local.INFO: Acknowledgment sent {"connection_id":178333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:18:45] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08590da90012d34c60006aa47000006014c26..."} 
[2026-09-09 15:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590da90012d34c60006aa47000006014c26..."} 
[2026-09-09 15:18:45] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590da90012d34c60006aa47000006014c26..."} 
[2026-09-09 15:18:45] local.INFO: Packet analysis {"connection_id":175540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:45] local.INFO: Extracted packet for processing {"connection_id":175540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111822592,"longitude_deg":75.843328,"latitude_deg":11.1822592,"altitude":6,"angle":332,"satellites":38,"speed":4,"hex_longitude":"2d34c600","hex_latitude":"06aa4700","is_valid_coordinates":true} 
[2026-09-09 15:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970497536001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110937319440384,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475858432,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788947258000,"timestamp_ms":1788947258000,"timestamp_seconds":1788947258,"priority":1,"record_length":96,"hex_timestamp":"000001a08590da90"} 
[2026-09-09 15:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:18: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-09-09 15:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 15:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970497536001,"66":27843,"97":206,"81":23296,"24":4,"16":403110937319440384,"45":3802867701475858432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970497536001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110937319440384,"km_value":403110937319440.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475858432,"description":"Unknown IO ID 45"} 
[2026-09-09 15:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970497536001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802867701475858432}} 
[2026-09-09 15:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":175540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:18:45] local.INFO: GPS data processed {"connection_id":175540,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:18:45] local.INFO: Acknowledgment sent {"connection_id":175540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:18:45] local.INFO: TCP Data received {"connection_id":175539,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859026e0012d1ac340072006280050005a27..."} 
[2026-09-09 15:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859026e0012d1ac340072006280050005a27..."} 
[2026-09-09 15:18:45] local.INFO: Processing buffer {"connection_id":175539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859026e0012d1ac340072006280050005a27..."} 
[2026-09-09 15:18:45] local.INFO: Packet analysis {"connection_id":175539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:45] local.INFO: Extracted packet for processing {"connection_id":175539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756728640,"raw_latitude":119539240,"longitude_deg":75.672864,"latitude_deg":11.953924,"altitude":80,"angle":90,"satellites":39,"speed":7,"hex_longitude":"2d1ac340","hex_latitude":"07200628","is_valid_coordinates":true} 
[2026-09-09 15:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970485760001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958221867745280,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928033252325875712,"note":"Value kept but may cause issues"} 
[2026-09-09 15:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788947212000,"timestamp_ms":1788947212000,"timestamp_seconds":1788947212,"priority":1,"record_length":96,"hex_timestamp":"000001a0859026e0"} 
[2026-09-09 15:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:18: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-09-09 15:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 15:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970485760001,"66":12874,"101":206,"83":41984,"24":7,"16":18958221867745280,"45":1928033252325875712},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970485760001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:18:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958221867745280,"km_value":18958221867745.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928033252325875712,"description":"Unknown IO ID 45"} 
[2026-09-09 15:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970485760001,"power":12874,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1928033252325875712}} 
[2026-09-09 15:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":175539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:18:45] local.INFO: GPS data processed {"connection_id":175539,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:18:45] local.INFO: Acknowledgment sent {"connection_id":175539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:19:06] local.INFO: TCP Data received {"connection_id":176927,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:06] local.INFO: Processing buffer {"connection_id":176927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:06] local.INFO: IMEI packet received {"connection_id":176927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":176927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:19:07] local.INFO: TCP Data received {"connection_id":176927,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:07] local.INFO: Processing buffer {"connection_id":176927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:07] local.INFO: IMEI packet received {"connection_id":176927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":176927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:19:08] local.INFO: TCP Data received {"connection_id":176927,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:08] local.INFO: Processing buffer {"connection_id":176927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:08] local.INFO: IMEI packet received {"connection_id":176927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":176927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:19:10] local.INFO: TCP Data received {"connection_id":176927,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:10] local.INFO: Processing buffer {"connection_id":176927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:19:10] local.INFO: IMEI packet received {"connection_id":176927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":176927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:19:18] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08590de78012d34c5c006aa47580006014026..."} 
[2026-09-09 15:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590de78012d34c5c006aa47580006014026..."} 
[2026-09-09 15:19:18] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590de78012d34c5c006aa47580006014026..."} 
[2026-09-09 15:19:18] local.INFO: Packet analysis {"connection_id":175540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:19:18] local.INFO: Extracted packet for processing {"connection_id":175540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111822680,"longitude_deg":75.8433216,"latitude_deg":11.182268,"altitude":6,"angle":320,"satellites":38,"speed":3,"hex_longitude":"2d34c5c0","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-09 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498048001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110945909374976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987546112,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788947259000,"timestamp_ms":1788947259000,"timestamp_seconds":1788947259,"priority":1,"record_length":96,"hex_timestamp":"000001a08590de78"} 
[2026-09-09 15:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15: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-09-09 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-09 15:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498048001,"66":27995,"97":206,"81":23296,"24":3,"16":403110945909374976,"45":3802726963987546112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498048001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110945909374976,"km_value":403110945909375.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987546112,"description":"Unknown IO ID 45"} 
[2026-09-09 15:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498048001,"power":27995,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802726963987546112}} 
[2026-09-09 15:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":175540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:19:18] local.INFO: GPS data processed {"connection_id":175540,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:19:18] local.INFO: Acknowledgment sent {"connection_id":175540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:19:28] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:28] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:28] local.INFO: IMEI packet received {"connection_id":175749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":175749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:19:30] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:30] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:30] local.INFO: IMEI packet received {"connection_id":175749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":175749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:19:31] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:31] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:31] local.INFO: IMEI packet received {"connection_id":175749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":175749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:19:32] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:32] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:19:32] local.INFO: IMEI packet received {"connection_id":175749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":175749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:19:33] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08591b938012d1acdc007200ea80053009721..."} 
[2026-09-09 15:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08591b938012d1acdc007200ea80053009721..."} 
[2026-09-09 15:19:33] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08591b938012d1acdc007200ea80053009721..."} 
[2026-09-09 15:19:33] local.INFO: Packet analysis {"connection_id":175749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08591"} 
[2026-09-09 15:19:33] local.INFO: Extracted packet for processing {"connection_id":175749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08591"} 
[2026-09-09 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756731328,"raw_latitude":119541416,"longitude_deg":75.6731328,"latitude_deg":11.9541416,"altitude":83,"angle":151,"satellites":33,"speed":1,"hex_longitude":"2d1acdc0","hex_latitude":"07200ea8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970512128001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958440911077376,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1931340583302785024,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788947315000,"timestamp_ms":1788947315000,"timestamp_seconds":1788947315,"priority":1,"record_length":96,"hex_timestamp":"000001a08591b938"} 
[2026-09-09 15:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 15:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970512128001,"66":13993,"101":206,"83":41984,"24":1,"16":18958440911077376,"45":1931340583302785024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970512128001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:19:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958440911077376,"km_value":18958440911077.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1931340583302785024,"description":"Unknown IO ID 45"} 
[2026-09-09 15:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970512128001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1931340583302785024}} 
[2026-09-09 15:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":175749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:19:33] local.INFO: GPS data processed {"connection_id":175749,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:19:33] local.INFO: Acknowledgment sent {"connection_id":175749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:19:33] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08591d490012d1acd8007200e18005300cf21..."} 
[2026-09-09 15:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08591d490012d1acd8007200e18005300cf21..."} 
[2026-09-09 15:19:33] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08591d490012d1acd8007200e18005300cf21..."} 
[2026-09-09 15:19:33] local.INFO: Packet analysis {"connection_id":175749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08591"} 
[2026-09-09 15:19:33] local.INFO: Extracted packet for processing {"connection_id":175749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08591"} 
[2026-09-09 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756731264,"raw_latitude":119541272,"longitude_deg":75.6731264,"latitude_deg":11.9541272,"altitude":83,"angle":207,"satellites":33,"speed":2,"hex_longitude":"2d1acd80","hex_latitude":"07200e18","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970512640001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958449501011968,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1931410952046946304,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788947322000,"timestamp_ms":1788947322000,"timestamp_seconds":1788947322,"priority":1,"record_length":96,"hex_timestamp":"000001a08591d490"} 
[2026-09-09 15:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970512640001,"66":14048,"101":206,"83":41984,"24":2,"16":18958449501011968,"45":1931410952046946304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970512640001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:19:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958449501011968,"km_value":18958449501011.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1931410952046946304,"description":"Unknown IO ID 45"} 
[2026-09-09 15:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970512640001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1931410952046946304}} 
[2026-09-09 15:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":175749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:19:34] local.INFO: GPS data processed {"connection_id":175749,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:19:34] local.INFO: Acknowledgment sent {"connection_id":175749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:19:38] local.INFO: TCP Data received {"connection_id":176928,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:19:38] local.INFO: Processing buffer {"connection_id":176928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:19:38] local.INFO: IMEI packet received {"connection_id":176928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":176928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:19:44] local.INFO: TCP Data received {"connection_id":176928,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:19:44] local.INFO: Processing buffer {"connection_id":176928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:19:44] local.INFO: IMEI packet received {"connection_id":176928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":176928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:19:45] local.INFO: TCP Data received {"connection_id":176928,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:19:45] local.INFO: Processing buffer {"connection_id":176928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:19:45] local.INFO: Packet analysis {"connection_id":176928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:19:45] local.INFO: Extracted packet for processing {"connection_id":176928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822768,"longitude_deg":75.8433152,"latitude_deg":11.1822768,"altitude":6,"angle":318,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-09-09 15:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498304001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243390976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788947261000,"timestamp_ms":1788947261000,"timestamp_seconds":1788947261,"priority":1,"record_length":96,"hex_timestamp":"000001a08590e648"} 
[2026-09-09 15:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 15:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498304001,"66":27767,"97":206,"81":23296,"24":3,"16":403110950204342272,"45":3802656595243390976},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498304001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243390976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498304001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595243390976}} 
[2026-09-09 15:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":176928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:19:45] local.INFO: GPS data processed {"connection_id":176928,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:19:45] local.INFO: Acknowledgment sent {"connection_id":176928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:20:05] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085926130012d1ac14007200dc0004c011e2a..."} 
[2026-09-09 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085926130012d1ac14007200dc0004c011e2a..."} 
[2026-09-09 15:20:05] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085926130012d1ac14007200dc0004c011e2a..."} 
[2026-09-09 15:20:05] local.INFO: Packet analysis {"connection_id":175749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08592"} 
[2026-09-09 15:20:05] local.INFO: Extracted packet for processing {"connection_id":175749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08592"} 
[2026-09-09 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756728128,"raw_latitude":119541184,"longitude_deg":75.6728128,"latitude_deg":11.9541184,"altitude":76,"angle":286,"satellites":42,"speed":4,"hex_longitude":"2d1ac140","hex_latitude":"07200dc0","is_valid_coordinates":true} 
[2026-09-09 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970523136001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958750148722688,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928173989814693888,"note":"Value kept but may cause issues"} 
[2026-09-09 15: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-09-09 15:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788947358000,"timestamp_ms":1788947358000,"timestamp_seconds":1788947358,"priority":1,"record_length":96,"hex_timestamp":"000001a085926130"} 
[2026-09-09 15:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-09 15:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970523136001,"66":14167,"101":206,"83":41984,"24":4,"16":18958750148722688,"45":1928173989814693888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970523136001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:20:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958750148722688,"km_value":18958750148722.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928173989814693888,"description":"Unknown IO ID 45"} 
[2026-09-09 15:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970523136001,"power":14167,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1928173989814693888}} 
[2026-09-09 15:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":175749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:20:05] local.INFO: GPS data processed {"connection_id":175749,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:20:05] local.INFO: Acknowledgment sent {"connection_id":175749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:20:16] local.INFO: TCP Data received {"connection_id":176928,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:20:16] local.INFO: Processing buffer {"connection_id":176928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:20:16] local.INFO: Packet analysis {"connection_id":176928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:20:16] local.INFO: Extracted packet for processing {"connection_id":176928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822768,"longitude_deg":75.8433152,"latitude_deg":11.1822768,"altitude":6,"angle":318,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-09-09 15:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498304001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243390976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947261000,"timestamp_ms":1788947261000,"timestamp_seconds":1788947261,"priority":1,"record_length":96,"hex_timestamp":"000001a08590e648"} 
[2026-09-09 15:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 15:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498304001,"66":27767,"97":206,"81":23296,"24":3,"16":403110950204342272,"45":3802656595243390976},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498304001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243390976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498304001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595243390976}} 
[2026-09-09 15:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":176928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:20:16] local.INFO: GPS data processed {"connection_id":176928,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:20:16] local.INFO: Acknowledgment sent {"connection_id":176928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:20:30] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:20:30] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:20:30] local.INFO: IMEI packet received {"connection_id":175751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":175751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:20:31] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:20:31] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:20:31] local.INFO: IMEI packet received {"connection_id":175751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":175751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:20:33] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:20:33] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:20:33] local.INFO: IMEI packet received {"connection_id":175751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":175751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:20:34] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085926518012d1ac10007200df0004b012f29..."} 
[2026-09-09 15:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085926518012d1ac10007200df0004b012f29..."} 
[2026-09-09 15:20:34] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085926518012d1ac10007200df0004b012f29..."} 
[2026-09-09 15:20:34] local.INFO: Packet analysis {"connection_id":175751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08592"} 
[2026-09-09 15:20:34] local.INFO: Extracted packet for processing {"connection_id":175751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08592"} 
[2026-09-09 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756728064,"raw_latitude":119541232,"longitude_deg":75.6728064,"latitude_deg":11.9541232,"altitude":75,"angle":303,"satellites":41,"speed":4,"hex_longitude":"2d1ac100","hex_latitude":"07200df0","is_valid_coordinates":true} 
[2026-09-09 15:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970523648001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958754443689984,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927892514838003712,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788947359000,"timestamp_ms":1788947359000,"timestamp_seconds":1788947359,"priority":1,"record_length":96,"hex_timestamp":"000001a085926518"} 
[2026-09-09 15:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-09 15:20:34] 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-09-09 15:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970523648001,"66":14363,"101":206,"83":41984,"24":4,"16":18958754443689984,"45":1927892514838003712},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970523648001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:20:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958754443689984,"km_value":18958754443689.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927892514838003712,"description":"Unknown IO ID 45"} 
[2026-09-09 15:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970523648001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1927892514838003712}} 
[2026-09-09 15:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":175751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:20:34] local.INFO: GPS data processed {"connection_id":175751,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:20:34] local.INFO: Acknowledgment sent {"connection_id":175751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:20:38] local.INFO: TCP Data received {"connection_id":178334,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:20:38] local.INFO: Processing buffer {"connection_id":178334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:20:38] local.INFO: IMEI packet received {"connection_id":178334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":178334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:20:43] local.INFO: TCP Data received {"connection_id":178334,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:20:43] local.INFO: Processing buffer {"connection_id":178334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:20:43] local.INFO: IMEI packet received {"connection_id":178334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":178334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:20:45] local.INFO: TCP Data received {"connection_id":178334,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:20:45] local.INFO: Processing buffer {"connection_id":178334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:20:45] local.INFO: Packet analysis {"connection_id":178334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:20:45] local.INFO: Extracted packet for processing {"connection_id":178334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822768,"longitude_deg":75.8433152,"latitude_deg":11.1822768,"altitude":6,"angle":318,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-09-09 15:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498304001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243390976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788947261000,"timestamp_ms":1788947261000,"timestamp_seconds":1788947261,"priority":1,"record_length":96,"hex_timestamp":"000001a08590e648"} 
[2026-09-09 15:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:20: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-09-09 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 15:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498304001,"66":27767,"97":206,"81":23296,"24":3,"16":403110950204342272,"45":3802656595243390976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498304001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243390976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498304001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595243390976}} 
[2026-09-09 15:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":178334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:20:45] local.INFO: GPS data processed {"connection_id":178334,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:20:45] local.INFO: Acknowledgment sent {"connection_id":178334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:21:05] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085934f78012d1a9140072007e0003d01392c..."} 
[2026-09-09 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085934f78012d1a9140072007e0003d01392c..."} 
[2026-09-09 15:21:05] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085934f78012d1a9140072007e0003d01392c..."} 
[2026-09-09 15:21:05] local.INFO: Packet analysis {"connection_id":175751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08593"} 
[2026-09-09 15:21:05] local.INFO: Extracted packet for processing {"connection_id":175751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08593"} 
[2026-09-09 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756715840,"raw_latitude":119539680,"longitude_deg":75.671584,"latitude_deg":11.953968,"altitude":61,"angle":313,"satellites":44,"speed":24,"hex_longitude":"2d1a9140","hex_latitude":"072007e0","is_valid_coordinates":true} 
[2026-09-09 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970538240001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18959527537803264,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916492778280488960,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21: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-09-09 15:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788947419000,"timestamp_ms":1788947419000,"timestamp_seconds":1788947419,"priority":1,"record_length":96,"hex_timestamp":"000001a085934f78"} 
[2026-09-09 15:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 15:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970538240001,"66":14341,"101":206,"83":41984,"24":24,"16":18959527537803264,"45":1916492778280488960},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970538240001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:21:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18959527537803264,"km_value":18959527537803.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916492778280488960,"description":"Unknown IO ID 45"} 
[2026-09-09 15:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970538240001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1916492778280488960}} 
[2026-09-09 15:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":175751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:21:05] local.INFO: GPS data processed {"connection_id":175751,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:21:05] local.INFO: Acknowledgment sent {"connection_id":175751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:21:14] local.INFO: TCP Data received {"connection_id":178335,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:21:14] local.INFO: Processing buffer {"connection_id":178335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:21:14] local.INFO: IMEI packet received {"connection_id":178335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":178335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:21:16] local.INFO: TCP Data received {"connection_id":178334,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:21:16] local.INFO: Processing buffer {"connection_id":178334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:21:16] local.INFO: Packet analysis {"connection_id":178334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:21:16] local.INFO: Extracted packet for processing {"connection_id":178334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822768,"longitude_deg":75.8433152,"latitude_deg":11.1822768,"altitude":6,"angle":318,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-09-09 15:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498304001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243390976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947261000,"timestamp_ms":1788947261000,"timestamp_seconds":1788947261,"priority":1,"record_length":96,"hex_timestamp":"000001a08590e648"} 
[2026-09-09 15:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 15:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498304001,"66":27767,"97":206,"81":23296,"24":3,"16":403110950204342272,"45":3802656595243390976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498304001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243390976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498304001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595243390976}} 
[2026-09-09 15:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":178334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:21:16] local.INFO: GPS data processed {"connection_id":178334,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:21:16] local.INFO: Acknowledgment sent {"connection_id":178334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:21:30] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:21:30] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:21:30] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:21:31] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:21:31] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:21:31] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:21:35] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:21:35] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:21:35] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:21:36] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085935360012d1a8fc0072009a0003d01452c..."} 
[2026-09-09 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085935360012d1a8fc0072009a0003d01452c..."} 
[2026-09-09 15:21:36] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085935360012d1a8fc0072009a0003d01452c..."} 
[2026-09-09 15:21:36] local.INFO: Packet analysis {"connection_id":175752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08593"} 
[2026-09-09 15:21:36] local.INFO: Extracted packet for processing {"connection_id":175752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08593"} 
[2026-09-09 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756715456,"raw_latitude":119540128,"longitude_deg":75.6715456,"latitude_deg":11.9540128,"altitude":61,"angle":325,"satellites":44,"speed":22,"hex_longitude":"2d1a8fc0","hex_latitude":"072009a0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970539264001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18959553307607040,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914381715955507200,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21: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-09-09 15:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947420000,"timestamp_ms":1788947420000,"timestamp_seconds":1788947420,"priority":1,"record_length":96,"hex_timestamp":"000001a085935360"} 
[2026-09-09 15:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988075785,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2241014864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503888923983872,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2469666817,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84753260741074960,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.WARNING: Large IO value detected {"io_id":248,"raw_value":18859687466242048,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,91,160,63,45,192,2,44,10,66,59,1,43,56,64,240,115,227,133,32,4,113,205,9,48,41,239,52,67,7,65,14,206,40,248],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-09 15:21:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395857572433231872,"timestamp_seconds":4395857572433232.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970539264001,"66":14341,"101":206,"83":41984,"24":22,"16":18959553307607040,"45":1914381715955507200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970539264001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:21:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18959553307607040,"km_value":18959553307607.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914381715955507200,"description":"Unknown IO ID 45"} 
[2026-09-09 15:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970539264001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1914381715955507200}} 
[2026-09-09 15:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":175752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:21:36] local.INFO: GPS data processed {"connection_id":175752,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:21:36] local.INFO: Acknowledgment sent {"connection_id":175752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:21:43] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:21:43] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:21:43] local.INFO: IMEI packet received {"connection_id":175541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":175541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:21:48] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:21:48] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:21:48] local.INFO: IMEI packet received {"connection_id":175541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":175541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:21:49] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:21:49] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:21:49] local.INFO: Packet analysis {"connection_id":175541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:21:49] local.INFO: Extracted packet for processing {"connection_id":175541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822768,"longitude_deg":75.8433152,"latitude_deg":11.1822768,"altitude":6,"angle":318,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-09-09 15:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498304001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243390976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788947261000,"timestamp_ms":1788947261000,"timestamp_seconds":1788947261,"priority":1,"record_length":96,"hex_timestamp":"000001a08590e648"} 
[2026-09-09 15:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 15:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498304001,"66":27767,"97":206,"81":23296,"24":3,"16":403110950204342272,"45":3802656595243390976},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498304001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243390976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498304001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595243390976}} 
[2026-09-09 15:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":175541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:21:49] local.INFO: GPS data processed {"connection_id":175541,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:21:49] local.INFO: Acknowledgment sent {"connection_id":175541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:22:07] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085941a98012d1a6d8007204808003c01182c..."} 
[2026-09-09 15:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085941a98012d1a6d8007204808003c01182c..."} 
[2026-09-09 15:22:07] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085941a98012d1a6d8007204808003c01182c..."} 
[2026-09-09 15:22:07] local.INFO: Packet analysis {"connection_id":175752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08594"} 
[2026-09-09 15:22:07] local.INFO: Extracted packet for processing {"connection_id":175752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08594"} 
[2026-09-09 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756706688,"raw_latitude":119556104,"longitude_deg":75.6706688,"latitude_deg":11.9556104,"altitude":60,"angle":280,"satellites":44,"speed":26,"hex_longitude":"2d1a6d80","hex_latitude":"07204808","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970549760001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18960682884005888,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911144753727481856,"note":"Value kept but may cause issues"} 
[2026-09-09 15: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-09-09 15:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788947471000,"timestamp_ms":1788947471000,"timestamp_seconds":1788947471,"priority":1,"record_length":96,"hex_timestamp":"000001a085941a98"} 
[2026-09-09 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-09-09 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-09 15:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970549760001,"66":14048,"101":206,"83":41984,"24":26,"16":18960682884005888,"45":1911144753727481856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970549760001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:22:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18960682884005888,"km_value":18960682884005.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911144753727481856,"description":"Unknown IO ID 45"} 
[2026-09-09 15:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970549760001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1911144753727481856}} 
[2026-09-09 15:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":175752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:22:07] local.INFO: GPS data processed {"connection_id":175752,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:22:07] local.INFO: Acknowledgment sent {"connection_id":175752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:22:21] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:22:21] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:22:21] local.INFO: Packet analysis {"connection_id":175541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:22:21] local.INFO: Extracted packet for processing {"connection_id":175541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822768,"longitude_deg":75.8433152,"latitude_deg":11.1822768,"altitude":6,"angle":318,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-09-09 15:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498304001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243390976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788947261000,"timestamp_ms":1788947261000,"timestamp_seconds":1788947261,"priority":1,"record_length":96,"hex_timestamp":"000001a08590e648"} 
[2026-09-09 15:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 15:22: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-09-09 15:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498304001,"66":27767,"97":206,"81":23296,"24":3,"16":403110950204342272,"45":3802656595243390976},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498304001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243390976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498304001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595243390976}} 
[2026-09-09 15:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":175541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:22:21] local.INFO: GPS data processed {"connection_id":175541,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:22:21] local.INFO: Acknowledgment sent {"connection_id":175541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:22:30] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:22:30] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:22:30] local.INFO: IMEI packet received {"connection_id":176931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":176931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:22:33] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:22:33] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:22:33] local.INFO: IMEI packet received {"connection_id":176931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":176931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:22:35] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:22:35] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:22:35] local.INFO: IMEI packet received {"connection_id":176931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":176931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:22:35] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085942e20012d1a614007204af8003c010d2c..."} 
[2026-09-09 15:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085942e20012d1a614007204af8003c010d2c..."} 
[2026-09-09 15:22:35] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085942e20012d1a614007204af8003c010d2c..."} 
[2026-09-09 15:22:35] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08594"} 
[2026-09-09 15:22:35] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08594"} 
[2026-09-09 15:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756703552,"raw_latitude":119556856,"longitude_deg":75.6703552,"latitude_deg":11.9556856,"altitude":60,"angle":269,"satellites":44,"speed":26,"hex_longitude":"2d1a6140","hex_latitude":"07204af8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970552576001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18960833207861248,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904318985542305792,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788947476000,"timestamp_ms":1788947476000,"timestamp_seconds":1788947476,"priority":1,"record_length":96,"hex_timestamp":"000001a085942e20"} 
[2026-09-09 15:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 15:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970552576001,"66":14026,"101":206,"83":41984,"24":26,"16":18960833207861248,"45":1904318985542305792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970552576001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:22:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18960833207861248,"km_value":18960833207861.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904318985542305792,"description":"Unknown IO ID 45"} 
[2026-09-09 15:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970552576001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1904318985542305792}} 
[2026-09-09 15:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:22:35] local.INFO: GPS data processed {"connection_id":176931,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:22:35] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:22:37] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859435f0012d1a5c8007204a38003b00ff2c..."} 
[2026-09-09 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859435f0012d1a5c8007204a38003b00ff2c..."} 
[2026-09-09 15:22:37] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859435f0012d1a5c8007204a38003b00ff2c..."} 
[2026-09-09 15:22:37] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08594"} 
[2026-09-09 15:22:37] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08594"} 
[2026-09-09 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756702336,"raw_latitude":119556664,"longitude_deg":75.6702336,"latitude_deg":11.9556664,"altitude":59,"angle":255,"satellites":44,"speed":24,"hex_longitude":"2d1a5c80","hex_latitude":"07204a38","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970553856001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18960893337403392,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900870917077792768,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22: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-09-09 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788947478000,"timestamp_ms":1788947478000,"timestamp_seconds":1788947478,"priority":1,"record_length":96,"hex_timestamp":"000001a0859435f0"} 
[2026-09-09 15:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-09 15:22:37] 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-09-09 15: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-09-09 15:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970553856001,"66":14265,"101":206,"83":41984,"24":24,"16":18960893337403392,"45":1900870917077792768},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970553856001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:22:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18960893337403392,"km_value":18960893337403.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900870917077792768,"description":"Unknown IO ID 45"} 
[2026-09-09 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970553856001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1900870917077792768}} 
[2026-09-09 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:22:37] local.INFO: GPS data processed {"connection_id":176931,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:22:37] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:22:38] local.INFO: TCP Data received {"connection_id":176932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:22:38] local.INFO: Processing buffer {"connection_id":176932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:22:38] local.INFO: IMEI packet received {"connection_id":176932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":176932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:22:43] local.INFO: TCP Data received {"connection_id":176932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:22:43] local.INFO: Processing buffer {"connection_id":176932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:22:43] local.INFO: IMEI packet received {"connection_id":176932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":176932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:22:45] local.INFO: TCP Data received {"connection_id":176932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:22:45] local.INFO: Processing buffer {"connection_id":176932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:22:45] local.INFO: Packet analysis {"connection_id":176932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:22:45] local.INFO: Extracted packet for processing {"connection_id":176932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822768,"longitude_deg":75.8433152,"latitude_deg":11.1822768,"altitude":6,"angle":318,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-09-09 15:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498304001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243390976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788947261000,"timestamp_ms":1788947261000,"timestamp_seconds":1788947261,"priority":1,"record_length":96,"hex_timestamp":"000001a08590e648"} 
[2026-09-09 15:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 15:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498304001,"66":27767,"97":206,"81":23296,"24":3,"16":403110950204342272,"45":3802656595243390976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498304001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243390976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498304001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595243390976}} 
[2026-09-09 15:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":176932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:22:45] local.INFO: GPS data processed {"connection_id":176932,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:22:45] local.INFO: Acknowledgment sent {"connection_id":176932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:23:08] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085953ba8012d19df4007200728003100b92c..."} 
[2026-09-09 15:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085953ba8012d19df4007200728003100b92c..."} 
[2026-09-09 15:23:08] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085953ba8012d19df4007200728003100b92c..."} 
[2026-09-09 15:23:08] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:23:08] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756670272,"raw_latitude":119539496,"longitude_deg":75.6670272,"latitude_deg":11.9539496,"altitude":49,"angle":185,"satellites":44,"speed":16,"hex_longitude":"2d19df40","hex_latitude":"07200728","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970571264001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18963199734841344,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864419907589429248,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23: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-09-09 15:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788947545000,"timestamp_ms":1788947545000,"timestamp_seconds":1788947545,"priority":1,"record_length":96,"hex_timestamp":"000001a085953ba8"} 
[2026-09-09 15:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:23: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-09-09 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 15:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970571264001,"66":13537,"101":206,"83":41984,"24":16,"16":18963199734841344,"45":1864419907589429248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970571264001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:23:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18963199734841344,"km_value":18963199734841.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864419907589429248,"description":"Unknown IO ID 45"} 
[2026-09-09 15:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970571264001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1864419907589429248}} 
[2026-09-09 15:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:23:08] local.INFO: GPS data processed {"connection_id":176931,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:23:08] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:23:16] local.INFO: TCP Data received {"connection_id":176932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:23:16] local.INFO: Processing buffer {"connection_id":176932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08590e648012d34c58006aa47b00006013e25..."} 
[2026-09-09 15:23:16] local.INFO: Packet analysis {"connection_id":176932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:23:16] local.INFO: Extracted packet for processing {"connection_id":176932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08590"} 
[2026-09-09 15:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822768,"longitude_deg":75.8433152,"latitude_deg":11.1822768,"altitude":6,"angle":318,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-09-09 15:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498304001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243390976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947261000,"timestamp_ms":1788947261000,"timestamp_seconds":1788947261,"priority":1,"record_length":96,"hex_timestamp":"000001a08590e648"} 
[2026-09-09 15:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-09 15:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498304001,"66":27767,"97":206,"81":23296,"24":3,"16":403110950204342272,"45":3802656595243390976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498304001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243390976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498304001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595243390976}} 
[2026-09-09 15:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":176932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:23:16] local.INFO: GPS data processed {"connection_id":176932,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:23:16] local.INFO: Acknowledgment sent {"connection_id":176932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:23:30] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:30] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:30] local.INFO: IMEI packet received {"connection_id":175544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":175544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:23:32] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:32] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:32] local.INFO: IMEI packet received {"connection_id":175544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":175544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:23:33] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:33] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:33] local.INFO: IMEI packet received {"connection_id":175544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":175544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:23:35] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:35] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:23:35] local.INFO: IMEI packet received {"connection_id":175544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":175544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:23:36] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085953f90012d19de4007200568003100ce2c..."} 
[2026-09-09 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085953f90012d19de4007200568003100ce2c..."} 
[2026-09-09 15:23:36] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085953f90012d19de4007200568003100ce2c..."} 
[2026-09-09 15:23:36] local.INFO: Packet analysis {"connection_id":175544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:23:36] local.INFO: Extracted packet for processing {"connection_id":175544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119539048,"longitude_deg":75.6670016,"latitude_deg":11.9539048,"altitude":49,"angle":206,"satellites":44,"speed":19,"hex_longitude":"2d19de40","hex_latitude":"07200568","is_valid_coordinates":true} 
[2026-09-09 15:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970571520001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18963225504645120,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864279170100963328,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23: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-09-09 15:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947546000,"timestamp_ms":1788947546000,"timestamp_seconds":1788947546,"priority":1,"record_length":96,"hex_timestamp":"000001a085953f90"} 
[2026-09-09 15:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-09 15:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970571520001,"66":13537,"101":206,"83":41984,"24":19,"16":18963225504645120,"45":1864279170100963328},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 15:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970571520001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:23:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 15:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18963225504645120,"km_value":18963225504645.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864279170100963328,"description":"Unknown IO ID 45"} 
[2026-09-09 15:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970571520001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1864279170100963328}} 
[2026-09-09 15:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":175544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:23:36] local.INFO: GPS data processed {"connection_id":175544,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:23:36] local.INFO: Acknowledgment sent {"connection_id":175544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:23:38] local.INFO: TCP Data received {"connection_id":175754,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:23:38] local.INFO: Processing buffer {"connection_id":175754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:23:38] local.INFO: IMEI packet received {"connection_id":175754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":175754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:23:43] local.INFO: TCP Data received {"connection_id":175754,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:23:43] local.INFO: Processing buffer {"connection_id":175754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:23:43] local.INFO: IMEI packet received {"connection_id":175754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":175754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:23:44] local.INFO: TCP Data received {"connection_id":175754,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:23:44] local.INFO: Processing buffer {"connection_id":175754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:23:44] local.INFO: Packet analysis {"connection_id":175754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:23:44] local.INFO: Extracted packet for processing {"connection_id":175754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:23: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-09-09 15:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":175754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:23:44] local.INFO: GPS data processed {"connection_id":175754,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:23:44] local.INFO: Acknowledgment sent {"connection_id":175754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:24:07] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08595fef8012d197cc0071febf0003700fc2c..."} 
[2026-09-09 15:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08595fef8012d197cc0071febf0003700fc2c..."} 
[2026-09-09 15:24:07] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08595fef8012d197cc0071febf0003700fc2c..."} 
[2026-09-09 15:24:07] local.INFO: Packet analysis {"connection_id":175544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:24:07] local.INFO: Extracted packet for processing {"connection_id":175544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532528,"longitude_deg":75.6645056,"latitude_deg":11.9532528,"altitude":55,"angle":252,"satellites":44,"speed":22,"hex_longitude":"2d197cc0","hex_latitude":"071febf0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970583552001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18964548354572288,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838172366009483264,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788947595000,"timestamp_ms":1788947595000,"timestamp_seconds":1788947595,"priority":1,"record_length":96,"hex_timestamp":"000001a08595fef8"} 
[2026-09-09 15:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 15:24: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-09-09 15: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-09-09 15:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970583552001,"66":14211,"102":206,"83":41984,"24":22,"16":18964548354572288,"45":1838172366009483264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970583552001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:24:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18964548354572288,"km_value":18964548354572.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838172366009483264,"description":"Unknown IO ID 45"} 
[2026-09-09 15:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970583552001,"power":14211,"unknown_102":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1838172366009483264}} 
[2026-09-09 15:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":175544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:24:07] local.INFO: GPS data processed {"connection_id":175544,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:24:07] local.INFO: Acknowledgment sent {"connection_id":175544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:24:12] local.INFO: TCP Data received {"connection_id":178337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:24:12] local.INFO: Processing buffer {"connection_id":178337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:24:12] local.INFO: IMEI packet received {"connection_id":178337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":178337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:24:13] local.INFO: TCP Data received {"connection_id":178337,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0859606c8012d79e50005ecacf00004011322..."} 
[2026-09-09 15:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859606c8012d79e50005ecacf00004011322..."} 
[2026-09-09 15:24:13] local.INFO: Processing buffer {"connection_id":178337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859606c8012d79e50005ecacf00004011322..."} 
[2026-09-09 15:24:13] local.INFO: Packet analysis {"connection_id":178337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08596"} 
[2026-09-09 15:24:13] local.INFO: Extracted packet for processing {"connection_id":178337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08596"} 
[2026-09-09 15:24:13] local.INFO: GPS Element Parsed {"raw_longitude":762963200,"raw_latitude":99396848,"longitude_deg":76.29632,"latitude_deg":9.9396848,"altitude":4,"angle":275,"satellites":34,"speed":2,"hex_longitude":"2d79e500","hex_latitude":"05ecacf0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970583808001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297075693780992,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783708148678361088,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24: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-09-09 15:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788947597000,"timestamp_ms":1788947597000,"timestamp_seconds":1788947597,"priority":1,"record_length":96,"hex_timestamp":"000001a0859606c8"} 
[2026-09-09 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-09-09 15:24: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-09-09 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 15:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970583808001,"66":13526,"100":206,"87":13824,"24":2,"16":130297075693780992,"45":8783708148678361088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970583808001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:24:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:24:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297075693780992,"km_value":130297075693780.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783708148678361088,"description":"Unknown IO ID 45"} 
[2026-09-09 15:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970583808001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8783708148678361088}} 
[2026-09-09 15:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":178337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:24:13] local.INFO: GPS data processed {"connection_id":178337,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:24:13] local.INFO: Acknowledgment sent {"connection_id":178337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:24:16] local.INFO: TCP Data received {"connection_id":175754,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:24:16] local.INFO: Processing buffer {"connection_id":175754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:24:16] local.INFO: Packet analysis {"connection_id":175754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:24:16] local.INFO: Extracted packet for processing {"connection_id":175754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":175754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:24:16] local.INFO: GPS data processed {"connection_id":175754,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:24:16] local.INFO: Acknowledgment sent {"connection_id":175754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:24:30] local.INFO: TCP Data received {"connection_id":175756,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:24:30] local.INFO: Processing buffer {"connection_id":175756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:24:30] local.INFO: IMEI packet received {"connection_id":175756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":175756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:24:35] local.INFO: TCP Data received {"connection_id":175756,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:24:35] local.INFO: Processing buffer {"connection_id":175756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:24:35] local.INFO: IMEI packet received {"connection_id":175756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":175756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:24:36] local.INFO: TCP Data received {"connection_id":175756,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859606c8012d197880071feb280037010b2b..."} 
[2026-09-09 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859606c8012d197880071feb280037010b2b..."} 
[2026-09-09 15:24:36] local.INFO: Processing buffer {"connection_id":175756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859606c8012d197880071feb280037010b2b..."} 
[2026-09-09 15:24:36] local.INFO: Packet analysis {"connection_id":175756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08596"} 
[2026-09-09 15:24:36] local.INFO: Extracted packet for processing {"connection_id":175756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08596"} 
[2026-09-09 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756643968,"raw_latitude":119532328,"longitude_deg":75.6643968,"latitude_deg":11.9532328,"altitude":55,"angle":267,"satellites":43,"speed":20,"hex_longitude":"2d197880","hex_latitude":"071feb28","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970584320001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18964599894179840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884893179904,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947597000,"timestamp_ms":1788947597000,"timestamp_seconds":1788947597,"priority":1,"record_length":96,"hex_timestamp":"000001a0859606c8"} 
[2026-09-09 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-09-09 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 15:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970584320001,"66":13928,"102":206,"83":41984,"24":20,"16":18964599894179840,"45":1836553884893179904},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970584320001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18964599894179840,"km_value":18964599894179.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884893179904,"description":"Unknown IO ID 45"} 
[2026-09-09 15:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970584320001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1836553884893179904}} 
[2026-09-09 15:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":175756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:24:36] local.INFO: GPS data processed {"connection_id":175756,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:24:36] local.INFO: Acknowledgment sent {"connection_id":175756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:24:43] local.INFO: TCP Data received {"connection_id":175757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:24:43] local.INFO: Processing buffer {"connection_id":175757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:24:43] local.INFO: IMEI packet received {"connection_id":175757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":175757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:24:44] local.INFO: TCP Data received {"connection_id":178337,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085960e98012d79e44005ecac300004012022..."} 
[2026-09-09 15:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085960e98012d79e44005ecac300004012022..."} 
[2026-09-09 15:24:44] local.INFO: Processing buffer {"connection_id":178337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085960e98012d79e44005ecac300004012022..."} 
[2026-09-09 15:24:44] local.INFO: Packet analysis {"connection_id":178337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08596"} 
[2026-09-09 15:24:44] local.INFO: Extracted packet for processing {"connection_id":178337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08596"} 
[2026-09-09 15:24:44] local.INFO: GPS Element Parsed {"raw_longitude":762963008,"raw_latitude":99396656,"longitude_deg":76.2963008,"latitude_deg":9.9396656,"altitude":4,"angle":288,"satellites":34,"speed":1,"hex_longitude":"2d79e440","hex_latitude":"05ecac30","is_valid_coordinates":true} 
[2026-09-09 15:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970584832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297088578682880,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783426673701613568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24: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-09-09 15:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947599000,"timestamp_ms":1788947599000,"timestamp_seconds":1788947599,"priority":1,"record_length":96,"hex_timestamp":"000001a085960e98"} 
[2026-09-09 15:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 15:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970584832001,"66":13526,"100":206,"87":13824,"24":1,"16":130297088578682880,"45":8783426673701613568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970584832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:24:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:24:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297088578682880,"km_value":130297088578682.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783426673701613568,"description":"Unknown IO ID 45"} 
[2026-09-09 15:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970584832001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8783426673701613568}} 
[2026-09-09 15:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":178337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:24:45] local.INFO: GPS data processed {"connection_id":178337,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:24:45] local.INFO: Acknowledgment sent {"connection_id":178337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:24:48] local.INFO: TCP Data received {"connection_id":175757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:24:48] local.INFO: Processing buffer {"connection_id":175757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:24:48] local.INFO: IMEI packet received {"connection_id":175757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":175757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:24:49] local.INFO: TCP Data received {"connection_id":175757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:24:49] local.INFO: Processing buffer {"connection_id":175757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:24:49] local.INFO: Packet analysis {"connection_id":175757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:24:49] local.INFO: Extracted packet for processing {"connection_id":175757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:24:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:24:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":175757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:24:49] local.INFO: GPS data processed {"connection_id":175757,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:24:49] local.INFO: Acknowledgment sent {"connection_id":175757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:24:55] local.INFO: TCP Data received {"connection_id":175757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:24:55] local.INFO: Processing buffer {"connection_id":175757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:24:55] local.INFO: Packet analysis {"connection_id":175757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:24:55] local.INFO: Extracted packet for processing {"connection_id":175757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:24:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:24:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":175757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:24:55] local.INFO: GPS data processed {"connection_id":175757,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:24:55] local.INFO: Acknowledgment sent {"connection_id":175757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:25:07] local.INFO: TCP Data received {"connection_id":176934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:25:07] local.INFO: Processing buffer {"connection_id":176934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:25:07] local.INFO: IMEI packet received {"connection_id":176934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":176934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:25:07] local.INFO: TCP Data received {"connection_id":175756,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085971068012d19108007200860003700e42a..."} 
[2026-09-09 15:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085971068012d19108007200860003700e42a..."} 
[2026-09-09 15:25:07] local.INFO: Processing buffer {"connection_id":175756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085971068012d19108007200860003700e42a..."} 
[2026-09-09 15:25:07] local.INFO: Packet analysis {"connection_id":175756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:25:07] local.INFO: Extracted packet for processing {"connection_id":175756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756617344,"raw_latitude":119539808,"longitude_deg":75.6617344,"latitude_deg":11.9539808,"altitude":55,"angle":228,"satellites":42,"speed":13,"hex_longitude":"2d191080","hex_latitude":"07200860","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970601216001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966055888093184,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807350856061419520,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788947665000,"timestamp_ms":1788947665000,"timestamp_seconds":1788947665,"priority":1,"record_length":96,"hex_timestamp":"000001a085971068"} 
[2026-09-09 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-09-09 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 15:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970601216001,"66":14048,"102":206,"83":41984,"24":13,"16":18966055888093184,"45":1807350856061419520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970601216001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966055888093184,"km_value":18966055888093.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807350856061419520,"description":"Unknown IO ID 45"} 
[2026-09-09 15:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970601216001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1807350856061419520}} 
[2026-09-09 15:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":175756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:25:07] local.INFO: GPS data processed {"connection_id":175756,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:25:07] local.INFO: Acknowledgment sent {"connection_id":175756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:25:11] local.INFO: TCP Data received {"connection_id":176934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:25:11] local.INFO: Processing buffer {"connection_id":176934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:25:11] local.INFO: IMEI packet received {"connection_id":176934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":176934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:25:12] local.INFO: TCP Data received {"connection_id":176934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085962608012d79e44005ecac600004004722..."} 
[2026-09-09 15:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085962608012d79e44005ecac600004004722..."} 
[2026-09-09 15:25:12] local.INFO: Processing buffer {"connection_id":176934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085962608012d79e44005ecac600004004722..."} 
[2026-09-09 15:25:12] local.INFO: Packet analysis {"connection_id":176934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08596"} 
[2026-09-09 15:25:12] local.INFO: Extracted packet for processing {"connection_id":176934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08596"} 
[2026-09-09 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":762963008,"raw_latitude":99396704,"longitude_deg":76.2963008,"latitude_deg":9.9396704,"altitude":4,"angle":71,"satellites":34,"speed":1,"hex_longitude":"2d79e440","hex_latitude":"05ecac60","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970585344001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297097168617472,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783215567469031424,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25: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-09-09 15:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788947605000,"timestamp_ms":1788947605000,"timestamp_seconds":1788947605,"priority":1,"record_length":96,"hex_timestamp":"000001a085962608"} 
[2026-09-09 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-09-09 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 15:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970585344001,"66":13472,"100":206,"87":13824,"24":1,"16":130297097168617472,"45":8783215567469031424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970585344001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:25:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:25:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297097168617472,"km_value":130297097168617.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783215567469031424,"description":"Unknown IO ID 45"} 
[2026-09-09 15:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970585344001,"power":13472,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8783215567469031424}} 
[2026-09-09 15:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":176934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:25:12] local.INFO: GPS data processed {"connection_id":176934,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:25:12] local.INFO: Acknowledgment sent {"connection_id":176934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:25:35] local.INFO: TCP Data received {"connection_id":178338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:25:35] local.INFO: Processing buffer {"connection_id":178338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:25:35] local.INFO: IMEI packet received {"connection_id":178338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":178338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:25:36] local.INFO: TCP Data received {"connection_id":178338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:25:36] local.INFO: Processing buffer {"connection_id":178338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:25:36] local.INFO: IMEI packet received {"connection_id":178338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":178338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:25:36] local.INFO: TCP Data received {"connection_id":178338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085971450012d190fc007200750003700c82a..."} 
[2026-09-09 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085971450012d190fc007200750003700c82a..."} 
[2026-09-09 15:25:36] local.INFO: Processing buffer {"connection_id":178338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085971450012d190fc007200750003700c82a..."} 
[2026-09-09 15:25:36] local.INFO: Packet analysis {"connection_id":178338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:25:36] local.INFO: Extracted packet for processing {"connection_id":178338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756617152,"raw_latitude":119539536,"longitude_deg":75.6617152,"latitude_deg":11.9539536,"altitude":55,"angle":200,"satellites":42,"speed":13,"hex_longitude":"2d190fc0","hex_latitude":"07200750","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970602240001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966073067962368,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806084218666115072,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947666000,"timestamp_ms":1788947666000,"timestamp_seconds":1788947666,"priority":1,"record_length":96,"hex_timestamp":"000001a085971450"} 
[2026-09-09 15:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 15:25: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-09-09 15: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-09-09 15:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970602240001,"66":14048,"102":206,"83":41984,"24":13,"16":18966073067962368,"45":1806084218666115072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970602240001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:25:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966073067962368,"km_value":18966073067962.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806084218666115072,"description":"Unknown IO ID 45"} 
[2026-09-09 15:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970602240001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1806084218666115072}} 
[2026-09-09 15:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":178338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:25:36] local.INFO: GPS data processed {"connection_id":178338,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:25:36] local.INFO: Acknowledgment sent {"connection_id":178338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:25:38] local.INFO: TCP Data received {"connection_id":175758,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:25:38] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:25:38] local.INFO: IMEI packet received {"connection_id":175758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":175758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:25:40] local.INFO: TCP Data received {"connection_id":178338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085971838012d190f40072005e8003700bc2b..."} 
[2026-09-09 15:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085971838012d190f40072005e8003700bc2b..."} 
[2026-09-09 15:25:40] local.INFO: Processing buffer {"connection_id":178338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085971838012d190f40072005e8003700bc2b..."} 
[2026-09-09 15:25:40] local.INFO: Packet analysis {"connection_id":178338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:25:40] local.INFO: Extracted packet for processing {"connection_id":178338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756617024,"raw_latitude":119539176,"longitude_deg":75.6617024,"latitude_deg":11.9539176,"altitude":55,"angle":188,"satellites":43,"speed":17,"hex_longitude":"2d190f40","hex_latitude":"072005e8","is_valid_coordinates":true} 
[2026-09-09 15:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970602496001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966090247831552,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805873112433512448,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788947667000,"timestamp_ms":1788947667000,"timestamp_seconds":1788947667,"priority":1,"record_length":96,"hex_timestamp":"000001a085971838"} 
[2026-09-09 15:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:25: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-09-09 15:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 15:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970602496001,"66":13135,"102":206,"83":41984,"24":17,"16":18966090247831552,"45":1805873112433512448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970602496001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:25:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:25:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966090247831552,"km_value":18966090247831.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805873112433512448,"description":"Unknown IO ID 45"} 
[2026-09-09 15:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970602496001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1805873112433512448}} 
[2026-09-09 15:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":178338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:25:40] local.INFO: GPS data processed {"connection_id":178338,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:25:40] local.INFO: Acknowledgment sent {"connection_id":178338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:25:43] local.INFO: TCP Data received {"connection_id":176934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085980680012d79e20005ecaaa0000400b023..."} 
[2026-09-09 15:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085980680012d79e20005ecaaa0000400b023..."} 
[2026-09-09 15:25:43] local.INFO: Processing buffer {"connection_id":176934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085980680012d79e20005ecaaa0000400b023..."} 
[2026-09-09 15:25:43] local.INFO: Packet analysis {"connection_id":176934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:25:43] local.INFO: Extracted packet for processing {"connection_id":176934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:25:43] local.INFO: GPS Element Parsed {"raw_longitude":762962432,"raw_latitude":99396256,"longitude_deg":76.2962432,"latitude_deg":9.9396256,"altitude":4,"angle":176,"satellites":35,"speed":7,"hex_longitude":"2d79e200","hex_latitude":"05ecaaa0","is_valid_coordinates":true} 
[2026-09-09 15:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970618112001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297165888094208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248771368960,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788947728000,"timestamp_ms":1788947728000,"timestamp_seconds":1788947728,"priority":1,"record_length":96,"hex_timestamp":"000001a085980680"} 
[2026-09-09 15:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:25: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-09-09 15:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 15:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970618112001,"66":13678,"118":206,"87":13824,"24":7,"16":130297165888094208,"45":8782582248771368960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-09 15:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970618112001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:25:43] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-09 15:25:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297165888094208,"km_value":130297165888094.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248771368960,"description":"Unknown IO ID 45"} 
[2026-09-09 15:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970618112001,"power":13678,"unknown_118":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8782582248771368960}} 
[2026-09-09 15:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":176934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:25:43] local.INFO: GPS data processed {"connection_id":176934,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:25:43] local.INFO: Acknowledgment sent {"connection_id":176934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:25:43] local.INFO: TCP Data received {"connection_id":175758,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:25:43] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:25:43] local.INFO: IMEI packet received {"connection_id":175758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":175758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:25:44] local.INFO: TCP Data received {"connection_id":175758,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:25:44] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:25:44] local.INFO: Packet analysis {"connection_id":175758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:25:44] local.INFO: Extracted packet for processing {"connection_id":175758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":175758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:25:44] local.INFO: GPS data processed {"connection_id":175758,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:25:44] local.INFO: Acknowledgment sent {"connection_id":175758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:26:06] local.INFO: TCP Data received {"connection_id":176935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:26:06] local.INFO: Processing buffer {"connection_id":176935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:26:06] local.INFO: IMEI packet received {"connection_id":176935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":176935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:26:07] local.INFO: TCP Data received {"connection_id":176935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:26:07] local.INFO: Processing buffer {"connection_id":176935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:26:07] local.INFO: IMEI packet received {"connection_id":176935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":176935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:26:11] local.INFO: TCP Data received {"connection_id":178338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859756b8012d190d00071fe938003b00b029..."} 
[2026-09-09 15:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859756b8012d190d00071fe938003b00b029..."} 
[2026-09-09 15:26:11] local.INFO: Processing buffer {"connection_id":178338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859756b8012d190d00071fe938003b00b029..."} 
[2026-09-09 15:26:11] local.INFO: Packet analysis {"connection_id":178338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:26:11] local.INFO: Extracted packet for processing {"connection_id":178338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119531832,"longitude_deg":75.6616448,"latitude_deg":11.9531832,"altitude":59,"angle":176,"satellites":41,"speed":8,"hex_longitude":"2d190d00","hex_latitude":"071fe938","is_valid_coordinates":true} 
[2026-09-09 15:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970602752001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966451025084416,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805732374945064960,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788947683000,"timestamp_ms":1788947683000,"timestamp_seconds":1788947683,"priority":1,"record_length":96,"hex_timestamp":"000001a0859756b8"} 
[2026-09-09 15:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-09 15:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970602752001,"66":12917,"102":206,"83":41984,"24":8,"16":18966451025084416,"45":1805732374945064960},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970602752001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:26:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966451025084416,"km_value":18966451025084.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805732374945064960,"description":"Unknown IO ID 45"} 
[2026-09-09 15:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970602752001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1805732374945064960}} 
[2026-09-09 15:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":178338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:26:11] local.INFO: GPS data processed {"connection_id":178338,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:26:11] local.INFO: Acknowledgment sent {"connection_id":178338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:26:12] local.INFO: TCP Data received {"connection_id":176935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:26:12] local.INFO: Processing buffer {"connection_id":176935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:26:12] local.INFO: IMEI packet received {"connection_id":176935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":176935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:26:13] local.INFO: TCP Data received {"connection_id":176935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085980a68012d79e24005eca9c00004009923..."} 
[2026-09-09 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085980a68012d79e24005eca9c00004009923..."} 
[2026-09-09 15:26:13] local.INFO: Processing buffer {"connection_id":176935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085980a68012d79e24005eca9c00004009923..."} 
[2026-09-09 15:26:13] local.INFO: Packet analysis {"connection_id":176935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:26:13] local.INFO: Extracted packet for processing {"connection_id":176935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:26:13] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":99396032,"longitude_deg":76.2962496,"latitude_deg":9.9396032,"altitude":4,"angle":153,"satellites":35,"speed":9,"hex_longitude":"2d79e240","hex_latitude":"05eca9c0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970618368001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297178772996096,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248771330048,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788947729000,"timestamp_ms":1788947729000,"timestamp_seconds":1788947729,"priority":1,"record_length":96,"hex_timestamp":"000001a085980a68"} 
[2026-09-09 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-09-09 15:26: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-09-09 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 15:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970618368001,"66":13820,"118":206,"87":13824,"24":9,"16":130297178772996096,"45":8782582248771330048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-09 15:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970618368001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:26:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-09 15:26:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297178772996096,"km_value":130297178772996.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248771330048,"description":"Unknown IO ID 45"} 
[2026-09-09 15:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970618368001,"power":13820,"unknown_118":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8782582248771330048}} 
[2026-09-09 15:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":176935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:26:13] local.INFO: GPS data processed {"connection_id":176935,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:26:13] local.INFO: Acknowledgment sent {"connection_id":176935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:26:16] local.INFO: TCP Data received {"connection_id":175758,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:26:16] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:26:16] local.INFO: Packet analysis {"connection_id":175758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:26:16] local.INFO: Extracted packet for processing {"connection_id":175758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":175758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:26:16] local.INFO: GPS data processed {"connection_id":175758,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:26:16] local.INFO: Acknowledgment sent {"connection_id":175758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:26:30] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:26:30] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:26:30] local.INFO: IMEI packet received {"connection_id":175545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":175545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:26:35] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:26:35] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:26:35] local.INFO: IMEI packet received {"connection_id":175545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":175545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:26:36] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085975aa0012d190d40071fe880003c009d29..."} 
[2026-09-09 15:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085975aa0012d190d40071fe880003c009d29..."} 
[2026-09-09 15:26:36] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085975aa0012d190d40071fe880003c009d29..."} 
[2026-09-09 15:26:36] local.INFO: Packet analysis {"connection_id":175545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:26:36] local.INFO: Extracted packet for processing {"connection_id":175545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119531648,"longitude_deg":75.6616512,"latitude_deg":11.9531648,"altitude":60,"angle":157,"satellites":41,"speed":8,"hex_longitude":"2d190d40","hex_latitude":"071fe880","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970606848001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966459615019008,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245585920,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947684000,"timestamp_ms":1788947684000,"timestamp_seconds":1788947684,"priority":1,"record_length":96,"hex_timestamp":"000001a085975aa0"} 
[2026-09-09 15:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-09 15:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970606848001,"66":12917,"102":206,"83":41984,"24":8,"16":18966459615019008,"45":1805099056245585920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970606848001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:26:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966459615019008,"km_value":18966459615019.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245585920,"description":"Unknown IO ID 45"} 
[2026-09-09 15:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970606848001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1805099056245585920}} 
[2026-09-09 15:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":175545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:26:36] local.INFO: GPS data processed {"connection_id":175545,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:26:36] local.INFO: Acknowledgment sent {"connection_id":175545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:26:38] local.INFO: TCP Data received {"connection_id":176936,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:26:38] local.INFO: Processing buffer {"connection_id":176936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:26:38] local.INFO: IMEI packet received {"connection_id":176936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":176936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:26:43] local.INFO: TCP Data received {"connection_id":176936,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:26:43] local.INFO: Processing buffer {"connection_id":176936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:26:43] local.INFO: IMEI packet received {"connection_id":176936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":176936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:26:44] local.INFO: TCP Data received {"connection_id":176935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085981620012d79e34005eca6e0000300a623..."} 
[2026-09-09 15:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085981620012d79e34005eca6e0000300a623..."} 
[2026-09-09 15:26:44] local.INFO: Processing buffer {"connection_id":176935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085981620012d79e34005eca6e0000300a623..."} 
[2026-09-09 15:26:44] local.INFO: Packet analysis {"connection_id":176935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:26:44] local.INFO: Extracted packet for processing {"connection_id":176935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:26:44] local.INFO: GPS Element Parsed {"raw_longitude":762962752,"raw_latitude":99395296,"longitude_deg":76.2962752,"latitude_deg":9.9395296,"altitude":3,"angle":166,"satellites":35,"speed":11,"hex_longitude":"2d79e340","hex_latitude":"05eca6e0","is_valid_coordinates":true} 
[2026-09-09 15:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970618624001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297217427701760,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617515450368,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947732000,"timestamp_ms":1788947732000,"timestamp_seconds":1788947732,"priority":1,"record_length":96,"hex_timestamp":"000001a085981620"} 
[2026-09-09 15:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 15:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970618624001,"66":13993,"118":206,"87":13824,"24":11,"16":130297217427701760,"45":8782652617515450368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-09 15:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970618624001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:26:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-09 15:26:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297217427701760,"km_value":130297217427701.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617515450368,"description":"Unknown IO ID 45"} 
[2026-09-09 15:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970618624001,"power":13993,"unknown_118":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8782652617515450368}} 
[2026-09-09 15:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":176935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:26:44] local.INFO: GPS data processed {"connection_id":176935,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:26:44] local.INFO: Acknowledgment sent {"connection_id":176935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:26:44] local.INFO: TCP Data received {"connection_id":176936,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:26:44] local.INFO: Processing buffer {"connection_id":176936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:26:44] local.INFO: Packet analysis {"connection_id":176936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:26:44] local.INFO: Extracted packet for processing {"connection_id":176936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":176936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:26:44] local.INFO: GPS data processed {"connection_id":176936,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:26:44] local.INFO: Acknowledgment sent {"connection_id":176936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:26:51] local.INFO: TCP Data received {"connection_id":175546,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:26:51] local.INFO: Processing buffer {"connection_id":175546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:26:51] local.INFO: IMEI packet received {"connection_id":175546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":175546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:27:06] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085975e88012d190d80071fe800003c008329..."} 
[2026-09-09 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085975e88012d190d80071fe800003c008329..."} 
[2026-09-09 15:27:06] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085975e88012d190d80071fe800003c008329..."} 
[2026-09-09 15:27:06] local.INFO: Packet analysis {"connection_id":175545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:27:06] local.INFO: Extracted packet for processing {"connection_id":175545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756616576,"raw_latitude":119531520,"longitude_deg":75.6616576,"latitude_deg":11.953152,"altitude":60,"angle":131,"satellites":41,"speed":7,"hex_longitude":"2d190d80","hex_latitude":"071fe800","is_valid_coordinates":true} 
[2026-09-09 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970607104001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966468204953600,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424989716480,"note":"Value kept but may cause issues"} 
[2026-09-09 15: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-09-09 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788947685000,"timestamp_ms":1788947685000,"timestamp_seconds":1788947685,"priority":1,"record_length":96,"hex_timestamp":"000001a085975e88"} 
[2026-09-09 15:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-09 15:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970607104001,"66":12809,"102":206,"83":41984,"24":7,"16":18966468204953600,"45":1805169424989716480},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970607104001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966468204953600,"km_value":18966468204953.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424989716480,"description":"Unknown IO ID 45"} 
[2026-09-09 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970607104001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1805169424989716480}} 
[2026-09-09 15:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":175545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:27:07] local.INFO: GPS data processed {"connection_id":175545,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:27:07] local.INFO: Acknowledgment sent {"connection_id":175545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:27:07] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:27:07] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:27:07] local.INFO: IMEI packet received {"connection_id":175547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":175547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:27:12] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:27:12] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:27:12] local.INFO: IMEI packet received {"connection_id":175547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":175547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:27:13] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085984500012d79ea4005ec92380002009923..."} 
[2026-09-09 15:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085984500012d79ea4005ec92380002009923..."} 
[2026-09-09 15:27:13] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085984500012d79ea4005ec92380002009923..."} 
[2026-09-09 15:27:13] local.INFO: Packet analysis {"connection_id":175547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:27:13] local.INFO: Extracted packet for processing {"connection_id":175547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:27:13] local.INFO: GPS Element Parsed {"raw_longitude":762964544,"raw_latitude":99390008,"longitude_deg":76.2964544,"latitude_deg":9.9390008,"altitude":2,"angle":153,"satellites":35,"speed":11,"hex_longitude":"2d79ea40","hex_latitude":"05ec9238","is_valid_coordinates":true} 
[2026-09-09 15:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970619392001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297488010641408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782934092491972608,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788947744000,"timestamp_ms":1788947744000,"timestamp_seconds":1788947744,"priority":1,"record_length":96,"hex_timestamp":"000001a085984500"} 
[2026-09-09 15:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:27: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-09-09 15:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970619392001,"66":13624,"118":206,"87":13824,"24":11,"16":130297488010641408,"45":8782934092491972608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-09 15:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970619392001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:27:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-09 15:27:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297488010641408,"km_value":130297488010641.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782934092491972608,"description":"Unknown IO ID 45"} 
[2026-09-09 15:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970619392001,"power":13624,"unknown_118":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8782934092491972608}} 
[2026-09-09 15:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":175547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:27:13] local.INFO: GPS data processed {"connection_id":175547,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:27:13] local.INFO: Acknowledgment sent {"connection_id":175547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:27:16] local.INFO: TCP Data received {"connection_id":176936,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:27:16] local.INFO: Processing buffer {"connection_id":176936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:27:16] local.INFO: Packet analysis {"connection_id":176936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:27:16] local.INFO: Extracted packet for processing {"connection_id":176936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":176936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:27:16] local.INFO: GPS data processed {"connection_id":176936,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:27:16] local.INFO: Acknowledgment sent {"connection_id":176936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:27:30] local.INFO: TCP Data received {"connection_id":178339,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:27:30] local.INFO: Processing buffer {"connection_id":178339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:27:30] local.INFO: IMEI packet received {"connection_id":178339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":178339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:27:35] local.INFO: TCP Data received {"connection_id":178339,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:27:35] local.INFO: Processing buffer {"connection_id":178339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:27:35] local.INFO: IMEI packet received {"connection_id":178339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":178339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:27:36] local.INFO: TCP Data received {"connection_id":178339,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085976270012d190e40071fe7c0003c005e2a..."} 
[2026-09-09 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085976270012d190e40071fe7c0003c005e2a..."} 
[2026-09-09 15:27:36] local.INFO: Processing buffer {"connection_id":178339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085976270012d190e40071fe7c0003c005e2a..."} 
[2026-09-09 15:27:36] local.INFO: Packet analysis {"connection_id":178339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:27:36] local.INFO: Extracted packet for processing {"connection_id":178339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756616768,"raw_latitude":119531456,"longitude_deg":75.6616768,"latitude_deg":11.9531456,"altitude":60,"angle":94,"satellites":42,"speed":5,"hex_longitude":"2d190e40","hex_latitude":"071fe7c0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970607360001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966472499920896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805239793733861376,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947686000,"timestamp_ms":1788947686000,"timestamp_seconds":1788947686,"priority":1,"record_length":96,"hex_timestamp":"000001a085976270"} 
[2026-09-09 15:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1080863910736692224,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2147950600,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2241265864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-7575723071255272576,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-2305617092222595501,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2308868866102595370,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,97,160,90,45,64,232,60,41,10,66,86,233,59,1,240,79,227,133,32,4,113,205,13,96,42,239,54,2,67,7,164,121],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 15:27:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323599854393032704,"timestamp_seconds":4323599854393032.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970607360001,"66":12809,"102":206,"83":41984,"24":5,"16":18966472499920896,"45":1805239793733861376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970607360001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966472499920896,"km_value":18966472499920.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805239793733861376,"description":"Unknown IO ID 45"} 
[2026-09-09 15:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970607360001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1805239793733861376}} 
[2026-09-09 15:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":178339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:27:36] local.INFO: GPS data processed {"connection_id":178339,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:27:36] local.INFO: Acknowledgment sent {"connection_id":178339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:27:38] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:27:38] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:27:38] local.INFO: IMEI packet received {"connection_id":176937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":176937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:27:43] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:27:43] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:27:43] local.INFO: IMEI packet received {"connection_id":176937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":176937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:27:44] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:27:44] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:27:44] local.INFO: Packet analysis {"connection_id":176937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:27:44] local.INFO: Extracted packet for processing {"connection_id":176937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":176937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:27:44] local.INFO: GPS data processed {"connection_id":176937,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:27:44] local.INFO: Acknowledgment sent {"connection_id":176937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:27:45] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085989320012d79f20005ec80180000009823..."} 
[2026-09-09 15:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085989320012d79f20005ec80180000009823..."} 
[2026-09-09 15:27:45] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085989320012d79f20005ec80180000009823..."} 
[2026-09-09 15:27:45] local.INFO: Packet analysis {"connection_id":175547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:27:45] local.INFO: Extracted packet for processing {"connection_id":175547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:27:45] local.INFO: GPS Element Parsed {"raw_longitude":762966528,"raw_latitude":99385368,"longitude_deg":76.2966528,"latitude_deg":9.9385368,"altitude":0,"angle":152,"satellites":35,"speed":10,"hex_longitude":"2d79f200","hex_latitude":"05ec8018","is_valid_coordinates":true} 
[2026-09-09 15:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970622464001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297732823777280,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784904417327593472,"note":"Value kept but may cause issues"} 
[2026-09-09 15:27:45] 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-09-09 15:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788947764000,"timestamp_ms":1788947764000,"timestamp_seconds":1788947764,"priority":1,"record_length":96,"hex_timestamp":"000001a085989320"} 
[2026-09-09 15:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 15:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970622464001,"66":13102,"100":206,"87":13824,"24":10,"16":130297732823777280,"45":8784904417327593472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970622464001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:27:45] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:27:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297732823777280,"km_value":130297732823777.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784904417327593472,"description":"Unknown IO ID 45"} 
[2026-09-09 15:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970622464001,"power":13102,"unknown_100":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8784904417327593472}} 
[2026-09-09 15:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":175547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:27:45] local.INFO: GPS data processed {"connection_id":175547,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:27:45] local.INFO: Acknowledgment sent {"connection_id":175547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:28:07] local.INFO: TCP Data received {"connection_id":178340,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:28:07] local.INFO: Processing buffer {"connection_id":178340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:28:07] local.INFO: IMEI packet received {"connection_id":178340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":178340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:28:07] local.INFO: TCP Data received {"connection_id":178339,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085979150012d190d40071fe850003b00032c..."} 
[2026-09-09 15:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085979150012d190d40071fe850003b00032c..."} 
[2026-09-09 15:28:07] local.INFO: Processing buffer {"connection_id":178339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085979150012d190d40071fe850003b00032c..."} 
[2026-09-09 15:28:07] local.INFO: Packet analysis {"connection_id":178339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:28:07] local.INFO: Extracted packet for processing {"connection_id":178339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119531600,"longitude_deg":75.6616512,"latitude_deg":11.95316,"altitude":59,"angle":3,"satellites":44,"speed":5,"hex_longitude":"2d190d40","hex_latitude":"071fe850","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970607616001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966515449593856,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805450899966377984,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788947698000,"timestamp_ms":1788947698000,"timestamp_seconds":1788947698,"priority":1,"record_length":96,"hex_timestamp":"000001a085979150"} 
[2026-09-09 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-09-09 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2241269864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-7565827466605292288,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221692423,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-2305617092222595501,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2308657759886834987,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,102,83,24,241,157,16,97,160,94,45,128,232,60,41,10,66,90,64,86,1,240,117,227,133,32,4,113,205,17,20,15,80,42,239,54,2,67,7,55,13,164,135],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 15:28:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323559176757641216,"timestamp_seconds":4323559176757641.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 15:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970607616001,"66":12841,"102":206,"83":41984,"24":5,"16":18966515449593856,"45":1805450899966377984},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970607616001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:28:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966515449593856,"km_value":18966515449593.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805450899966377984,"description":"Unknown IO ID 45"} 
[2026-09-09 15:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970607616001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1805450899966377984}} 
[2026-09-09 15:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":178339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:28:07] local.INFO: GPS data processed {"connection_id":178339,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:28:07] local.INFO: Acknowledgment sent {"connection_id":178339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:28:12] local.INFO: TCP Data received {"connection_id":178340,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:28:12] local.INFO: Processing buffer {"connection_id":178340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:28:12] local.INFO: IMEI packet received {"connection_id":178340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":178340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:28:13] local.INFO: TCP Data received {"connection_id":178340,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08598dd58012d79f88005ec78300003003a23..."} 
[2026-09-09 15:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08598dd58012d79f88005ec78300003003a23..."} 
[2026-09-09 15:28:13] local.INFO: Processing buffer {"connection_id":178340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08598dd58012d79f88005ec78300003003a23..."} 
[2026-09-09 15:28:13] local.INFO: Packet analysis {"connection_id":178340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:28:13] local.INFO: Extracted packet for processing {"connection_id":178340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:28:13] local.INFO: GPS Element Parsed {"raw_longitude":762968192,"raw_latitude":99383344,"longitude_deg":76.2968192,"latitude_deg":9.9383344,"altitude":3,"angle":58,"satellites":35,"speed":4,"hex_longitude":"2d79f880","hex_latitude":"05ec7830","is_valid_coordinates":true} 
[2026-09-09 15:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970627584001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297870262730752,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787085848395913216,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28: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-09-09 15:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788947783000,"timestamp_ms":1788947783000,"timestamp_seconds":1788947783,"priority":1,"record_length":96,"hex_timestamp":"000001a08598dd58"} 
[2026-09-09 15:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:28: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-09-09 15:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-09 15:28: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-09-09 15:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970627584001,"66":13765,"100":206,"87":13824,"24":4,"16":130297870262730752,"45":8787085848395913216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970627584001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:28:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:28:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297870262730752,"km_value":130297870262730.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787085848395913216,"description":"Unknown IO ID 45"} 
[2026-09-09 15:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970627584001,"power":13765,"unknown_100":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8787085848395913216}} 
[2026-09-09 15:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":178340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:28:13] local.INFO: GPS data processed {"connection_id":178340,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:28:13] local.INFO: Acknowledgment sent {"connection_id":178340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:28:16] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:28:16] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085958db0012d34cc4006aa49080000013428..."} 
[2026-09-09 15:28:16] local.INFO: Packet analysis {"connection_id":176937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:28:16] local.INFO: Extracted packet for processing {"connection_id":176937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08595"} 
[2026-09-09 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970498816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499235840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947566000,"timestamp_ms":1788947566000,"timestamp_seconds":1788947566,"priority":1,"record_length":96,"hex_timestamp":"000001a085958db0"} 
[2026-09-09 15:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 15:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970498816001,"66":26180,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3802586226499235840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970498816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499235840,"description":"Unknown IO ID 45"} 
[2026-09-09 15:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970498816001,"power":26180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499235840}} 
[2026-09-09 15:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":176937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:28:16] local.INFO: GPS data processed {"connection_id":176937,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:28:16] local.INFO: Acknowledgment sent {"connection_id":176937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:28:29] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:28:29] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:28:29] local.INFO: IMEI packet received {"connection_id":175549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":175549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:28:30] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:28:30] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:28:30] local.INFO: IMEI packet received {"connection_id":175549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":175549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:28:35] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:28:35] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:28:35] local.INFO: IMEI packet received {"connection_id":175549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":175549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:28:36] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08597a4d8012d190d00071fea38003a014c2c..."} 
[2026-09-09 15:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08597a4d8012d190d00071fea38003a014c2c..."} 
[2026-09-09 15:28:36] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08597a4d8012d190d00071fea38003a014c2c..."} 
[2026-09-09 15:28:36] local.INFO: Packet analysis {"connection_id":175549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:28:36] local.INFO: Extracted packet for processing {"connection_id":175549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532088,"longitude_deg":75.6616448,"latitude_deg":11.9532088,"altitude":58,"angle":332,"satellites":44,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea38","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970610688001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424989704192,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947703000,"timestamp_ms":1788947703000,"timestamp_seconds":1788947703,"priority":1,"record_length":96,"hex_timestamp":"000001a08597a4d8"} 
[2026-09-09 15:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 15:28: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-09-09 15: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-09-09 15:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970610688001,"66":11515,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805169424989704192},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970610688001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424989704192,"description":"Unknown IO ID 45"} 
[2026-09-09 15:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970610688001,"power":11515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424989704192}} 
[2026-09-09 15:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":175549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:28:36] local.INFO: GPS data processed {"connection_id":175549,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:28:36] local.INFO: Acknowledgment sent {"connection_id":175549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:28:38] local.INFO: TCP Data received {"connection_id":178341,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:28:38] local.INFO: Processing buffer {"connection_id":178341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:28:38] local.INFO: IMEI packet received {"connection_id":178341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":178341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:28:43] local.INFO: TCP Data received {"connection_id":178341,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:28:43] local.INFO: Processing buffer {"connection_id":178341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:28:43] local.INFO: IMEI packet received {"connection_id":178341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":178341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:28:44] local.INFO: TCP Data received {"connection_id":178341,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:28:44] local.INFO: Processing buffer {"connection_id":178341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:28:44] local.INFO: Packet analysis {"connection_id":178341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:28:44] local.INFO: Extracted packet for processing {"connection_id":178341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 15:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":178341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:28:44] local.INFO: GPS data processed {"connection_id":178341,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:28:44] local.INFO: Acknowledgment sent {"connection_id":178341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:28:44] local.INFO: TCP Data received {"connection_id":178340,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08598ecf8012d79f9c005ec78700003004623..."} 
[2026-09-09 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08598ecf8012d79f9c005ec78700003004623..."} 
[2026-09-09 15:28:44] local.INFO: Processing buffer {"connection_id":178340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08598ecf8012d79f9c005ec78700003004623..."} 
[2026-09-09 15:28:44] local.INFO: Packet analysis {"connection_id":178340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:28:44] local.INFO: Extracted packet for processing {"connection_id":178340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99383408,"longitude_deg":76.2968512,"latitude_deg":9.9383408,"altitude":3,"angle":70,"satellites":35,"speed":2,"hex_longitude":"2d79f9c0","hex_latitude":"05ec7870","is_valid_coordinates":true} 
[2026-09-09 15:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970632448001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130297887442599936,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788915435744014336,"note":"Value kept but may cause issues"} 
[2026-09-09 15:28: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-09-09 15:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947787000,"timestamp_ms":1788947787000,"timestamp_seconds":1788947787,"priority":1,"record_length":96,"hex_timestamp":"000001a08598ecf8"} 
[2026-09-09 15:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 15:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970632448001,"66":13613,"100":206,"87":13824,"24":2,"16":130297887442599936,"45":8788915435744014336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970632448001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:28:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:28:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130297887442599936,"km_value":130297887442599.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788915435744014336,"description":"Unknown IO ID 45"} 
[2026-09-09 15:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970632448001,"power":13613,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8788915435744014336}} 
[2026-09-09 15:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":178340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:28:44] local.INFO: GPS data processed {"connection_id":178340,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:28:44] local.INFO: Acknowledgment sent {"connection_id":178340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:29:07] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:29:07] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:29:07] local.INFO: IMEI packet received {"connection_id":175760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":175760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:29:07] local.INFO: TCP Data received {"connection_id":175549,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08597f6e0012d190d00071fea30003a014c28..."} 
[2026-09-09 15:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08597f6e0012d190d00071fea30003a014c28..."} 
[2026-09-09 15:29:07] local.INFO: Processing buffer {"connection_id":175549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08597f6e0012d190d00071fea30003a014c28..."} 
[2026-09-09 15:29:07] local.INFO: Packet analysis {"connection_id":175549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:29:07] local.INFO: Extracted packet for processing {"connection_id":175549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08597"} 
[2026-09-09 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970611968001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245651456,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788947724000,"timestamp_ms":1788947724000,"timestamp_seconds":1788947724,"priority":1,"record_length":96,"hex_timestamp":"000001a08597f6e0"} 
[2026-09-09 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-09-09 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-09-09 15:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970611968001,"66":12852,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245651456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970611968001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:29:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245651456,"description":"Unknown IO ID 45"} 
[2026-09-09 15:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970611968001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245651456}} 
[2026-09-09 15:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":175549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:29:07] local.INFO: GPS data processed {"connection_id":175549,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:29:07] local.INFO: Acknowledgment sent {"connection_id":175549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:29:12] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:29:12] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:29:12] local.INFO: IMEI packet received {"connection_id":175760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":175760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:29:13] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085993b18012d7a0a0005ec7d980002004823..."} 
[2026-09-09 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085993b18012d7a0a0005ec7d980002004823..."} 
[2026-09-09 15:29:13] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085993b18012d7a0a0005ec7d980002004823..."} 
[2026-09-09 15:29:13] local.INFO: Packet analysis {"connection_id":175760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:29:13] local.INFO: Extracted packet for processing {"connection_id":175760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:29:13] local.INFO: GPS Element Parsed {"raw_longitude":762972672,"raw_latitude":99384728,"longitude_deg":76.2972672,"latitude_deg":9.9384728,"altitude":2,"angle":72,"satellites":35,"speed":11,"hex_longitude":"2d7a0a00","hex_latitude":"05ec7d98","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970633472001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298093601030144,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464919040,"note":"Value kept but may cause issues"} 
[2026-09-09 15: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-09-09 15:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788947807000,"timestamp_ms":1788947807000,"timestamp_seconds":1788947807,"priority":1,"record_length":96,"hex_timestamp":"000001a085993b18"} 
[2026-09-09 15:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:29: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-09-09 15: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-09 15:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970633472001,"66":13678,"100":206,"87":13824,"24":11,"16":130298093601030144,"45":8789267279464919040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970633472001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:29:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:29:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298093601030144,"km_value":130298093601030.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464919040,"description":"Unknown IO ID 45"} 
[2026-09-09 15:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970633472001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8789267279464919040}} 
[2026-09-09 15:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":175760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:29:13] local.INFO: GPS data processed {"connection_id":175760,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:29:13] local.INFO: Acknowledgment sent {"connection_id":175760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:29:16] local.INFO: TCP Data received {"connection_id":178341,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:29:16] local.INFO: Processing buffer {"connection_id":178341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:29:16] local.INFO: Packet analysis {"connection_id":178341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:29:16] local.INFO: Extracted packet for processing {"connection_id":178341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 15:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":178341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:29:16] local.INFO: GPS data processed {"connection_id":178341,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:29:16] local.INFO: Acknowledgment sent {"connection_id":178341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:29:30] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:29:30] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:29:30] local.INFO: IMEI packet received {"connection_id":175761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":175761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:29:32] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:29:32] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:29:32] local.INFO: IMEI packet received {"connection_id":175761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":175761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:29:35] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:29:35] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:29:35] local.INFO: IMEI packet received {"connection_id":175761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":175761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:29:36] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859848e8012d190d00071fea30003a014c29..."} 
[2026-09-09 15:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859848e8012d190d00071fea30003a014c29..."} 
[2026-09-09 15:29:36] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859848e8012d190d00071fea30003a014c29..."} 
[2026-09-09 15:29:36] local.INFO: Packet analysis {"connection_id":175761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:29:36] local.INFO: Extracted packet for processing {"connection_id":175761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":41,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 15:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970617344001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947745000,"timestamp_ms":1788947745000,"timestamp_seconds":1788947745,"priority":1,"record_length":96,"hex_timestamp":"000001a0859848e8"} 
[2026-09-09 15:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 15:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970617344001,"66":12743,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970617344001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970617344001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":175761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:29:36] local.INFO: GPS data processed {"connection_id":175761,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:29:36] local.INFO: Acknowledgment sent {"connection_id":175761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:29:39] local.INFO: TCP Data received {"connection_id":176939,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:29:39] local.INFO: Processing buffer {"connection_id":176939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:29:39] local.INFO: IMEI packet received {"connection_id":176939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":176939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:29:40] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:29:40] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:29:40] local.INFO: IMEI packet received {"connection_id":178342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":178342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:29:42] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:29:42] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:29:42] local.INFO: IMEI packet received {"connection_id":178342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":178342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:29:43] local.INFO: TCP Data received {"connection_id":176939,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:29:43] local.INFO: Processing buffer {"connection_id":176939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:29:43] local.INFO: IMEI packet received {"connection_id":176939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:29:44] local.INFO: TCP Data received {"connection_id":176939,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:29:44] local.INFO: Processing buffer {"connection_id":176939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:29:44] local.INFO: Packet analysis {"connection_id":176939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:29:44] local.INFO: Extracted packet for processing {"connection_id":176939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 15:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":176939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:29:44] local.INFO: GPS data processed {"connection_id":176939,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:29:44] local.INFO: Acknowledgment sent {"connection_id":176939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:29:44] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085995670012d7a124005ec80b80003003422..."} 
[2026-09-09 15:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085995670012d7a124005ec80b80003003422..."} 
[2026-09-09 15:29:44] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085995670012d7a124005ec80b80003003422..."} 
[2026-09-09 15:29:44] local.INFO: Packet analysis {"connection_id":175760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:29:44] local.INFO: Extracted packet for processing {"connection_id":175760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:29:44] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99385528,"longitude_deg":76.2974784,"latitude_deg":9.9385528,"altitude":3,"angle":52,"satellites":34,"speed":9,"hex_longitude":"2d7a1240","hex_latitude":"05ec80b8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970638592001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298200975212544,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793841247836805120,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29: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-09-09 15:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947814000,"timestamp_ms":1788947814000,"timestamp_seconds":1788947814,"priority":1,"record_length":96,"hex_timestamp":"000001a085995670"} 
[2026-09-09 15:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 15:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970638592001,"66":13428,"100":206,"87":13824,"24":9,"16":130298200975212544,"45":8793841247836805120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970638592001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:29:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:29:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298200975212544,"km_value":130298200975212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793841247836805120,"description":"Unknown IO ID 45"} 
[2026-09-09 15:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970638592001,"power":13428,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8793841247836805120}} 
[2026-09-09 15:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":175760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:29:45] local.INFO: GPS data processed {"connection_id":175760,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:29:45] local.INFO: Acknowledgment sent {"connection_id":175760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:29:45] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:29:45] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:29:45] local.INFO: IMEI packet received {"connection_id":178342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":178342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:29:49] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-09-09 15:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-09-09 15:29:49] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-09-09 15:29:49] local.INFO: Packet analysis {"connection_id":178342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 15:29:49] local.INFO: Extracted packet for processing {"connection_id":178342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 15:29:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:49] 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-09-09 15:29:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":32000,"timestamp_seconds":32,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:29:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178342,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:29:49] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":178342,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:29:49] local.ERROR: GPS data processing failed {"connection_id":178342,"error":"No valid data to process"} 
[2026-09-09 15:29:49] local.INFO: Acknowledgment sent {"connection_id":178342,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:29:50] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000000000000cf080100000000000000000000000000..."} 
[2026-09-09 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000cf080100000000000000000000000000..."} 
[2026-09-09 15:29:50] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000cf080100000000000000000000000000..."} 
[2026-09-09 15:29:50] local.INFO: Packet analysis {"connection_id":178342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 15:29:50] local.INFO: Extracted packet for processing {"connection_id":178342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:29:50] 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-09-09 15:29:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":53000,"timestamp_seconds":53,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:29:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178342,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:29:50] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":178342,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:29:50] local.ERROR: GPS data processing failed {"connection_id":178342,"error":"No valid data to process"} 
[2026-09-09 15:29:50] local.INFO: Acknowledgment sent {"connection_id":178342,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:30:07] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085989af0012d190d00071fea30003a014c27..."} 
[2026-09-09 15:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085989af0012d190d00071fea30003a014c27..."} 
[2026-09-09 15:30:07] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085989af0012d190d00071fea30003a014c27..."} 
[2026-09-09 15:30:07] local.INFO: Packet analysis {"connection_id":175761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:30:07] local.INFO: Extracted packet for processing {"connection_id":175761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":39,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970622720001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788947766000,"timestamp_ms":1788947766000,"timestamp_seconds":1788947766,"priority":1,"record_length":96,"hex_timestamp":"000001a085989af0"} 
[2026-09-09 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-09-09 15:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-09 15:30: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-09-09 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-09-09 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-09-09 15:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970622720001,"66":12722,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970622720001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:30:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970622720001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":175761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:30:07] local.INFO: GPS data processed {"connection_id":175761,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:30:07] local.INFO: Acknowledgment sent {"connection_id":175761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:30:07] local.INFO: TCP Data received {"connection_id":176941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:07] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:07] local.INFO: IMEI packet received {"connection_id":176941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":176941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:30:08] local.INFO: TCP Data received {"connection_id":176941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:08] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:08] local.INFO: IMEI packet received {"connection_id":176941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":176941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:30:12] local.INFO: TCP Data received {"connection_id":176941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:12] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:12] local.INFO: IMEI packet received {"connection_id":176941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":176941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:30:16] local.INFO: TCP Data received {"connection_id":176939,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:30:16] local.INFO: Processing buffer {"connection_id":176939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:30:16] local.INFO: Packet analysis {"connection_id":176939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:30:16] local.INFO: Extracted packet for processing {"connection_id":176939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 15:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":176939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:30:16] local.INFO: GPS data processed {"connection_id":176939,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:30:16] local.INFO: Acknowledgment sent {"connection_id":176939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:30:17] local.INFO: TCP Data received {"connection_id":176941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:17] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:30:17] local.INFO: IMEI packet received {"connection_id":176941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":176941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:30:18] local.INFO: TCP Data received {"connection_id":176941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c38b8012d7a150005ec81a00004003424..."} 
[2026-09-09 15:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c38b8012d7a150005ec81a00004003424..."} 
[2026-09-09 15:30:18] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c38b8012d7a150005ec81a00004003424..."} 
[2026-09-09 15:30:18] local.INFO: Packet analysis {"connection_id":176941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:30:18] local.INFO: Extracted packet for processing {"connection_id":176941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:30:18] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970688768001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30: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-09-09 15:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788948003000,"timestamp_ms":1788948003000,"timestamp_seconds":1788948003,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c38b8"} 
[2026-09-09 15:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-09 15:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970688768001,"66":13363,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970688768001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:30:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:30:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970688768001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":176941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:30:18] local.INFO: GPS data processed {"connection_id":176941,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:30:18] local.INFO: Acknowledgment sent {"connection_id":176941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:30:22] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a00000000000121100100000000000000000000000000..."} 
[2026-09-09 15:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000121100100000000000000000000000000..."} 
[2026-09-09 15:30:22] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000121100100000000000000000000000000..."} 
[2026-09-09 15:30:22] local.INFO: Packet analysis {"connection_id":178342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:30:22] local.INFO: Extracted packet for processing {"connection_id":178342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:30:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:22] 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-09-09 15:30:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":74000,"timestamp_seconds":74,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:30:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178342,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:30:22] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":178342,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:30:22] local.ERROR: GPS data processing failed {"connection_id":178342,"error":"No valid data to process"} 
[2026-09-09 15:30:22] local.INFO: Acknowledgment sent {"connection_id":178342,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:30:22] local.INFO: TCP Data received {"connection_id":176941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:30:22] local.INFO: Processing buffer {"connection_id":176941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:30:22] local.INFO: Packet analysis {"connection_id":176941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:30:22] local.INFO: Extracted packet for processing {"connection_id":176941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:30:22] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970688768001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:22] 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-09-09 15:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788948005000,"timestamp_ms":1788948005000,"timestamp_seconds":1788948005,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c4088"} 
[2026-09-09 15:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-09 15:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970688768001,"66":13972,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970688768001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:30:22] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:30:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970688768001,"power":13972,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":176941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:30:22] local.INFO: GPS data processed {"connection_id":176941,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:30:22] local.INFO: Acknowledgment sent {"connection_id":176941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:30:30] local.INFO: TCP Data received {"connection_id":175762,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:30:30] local.INFO: Processing buffer {"connection_id":175762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:30:30] local.INFO: IMEI packet received {"connection_id":175762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":175762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:30:35] local.INFO: TCP Data received {"connection_id":175762,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:30:35] local.INFO: Processing buffer {"connection_id":175762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:30:35] local.INFO: IMEI packet received {"connection_id":175762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":175762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:30:36] local.INFO: TCP Data received {"connection_id":175762,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08598ecf8012d190d00071fea30003a014c2b..."} 
[2026-09-09 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08598ecf8012d190d00071fea30003a014c2b..."} 
[2026-09-09 15:30:36] local.INFO: Processing buffer {"connection_id":175762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08598ecf8012d190d00071fea30003a014c2b..."} 
[2026-09-09 15:30:36] local.INFO: Packet analysis {"connection_id":175762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:30:36] local.INFO: Extracted packet for processing {"connection_id":175762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08598"} 
[2026-09-09 15:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":43,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970628096001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947787000,"timestamp_ms":1788947787000,"timestamp_seconds":1788947787,"priority":1,"record_length":96,"hex_timestamp":"000001a08598ecf8"} 
[2026-09-09 15:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":178,"data_length":795,"current_offset":136} 
[2026-09-09 15:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970628096001,"66":12743,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970628096001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970628096001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":175762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:30:36] local.INFO: GPS data processed {"connection_id":175762,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:30:36] local.INFO: Acknowledgment sent {"connection_id":175762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:30:39] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:30:39] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:30:39] local.INFO: IMEI packet received {"connection_id":175763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":175763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:30:44] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:30:44] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:30:44] local.INFO: IMEI packet received {"connection_id":175763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":175763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:30:45] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:30:45] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:30:45] local.INFO: Packet analysis {"connection_id":175763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:30:45] local.INFO: Extracted packet for processing {"connection_id":175763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 15:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:30:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":175763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:30:45] local.INFO: GPS data processed {"connection_id":175763,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:30:45] local.INFO: Acknowledgment sent {"connection_id":175763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:30:54] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000000000018e700100000000000000000000000000..."} 
[2026-09-09 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000018e700100000000000000000000000000..."} 
[2026-09-09 15:30:54] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000018e700100000000000000000000000000..."} 
[2026-09-09 15:30:54] local.INFO: Packet analysis {"connection_id":178342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:30:54] local.INFO: Extracted packet for processing {"connection_id":178342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:30:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:30:54] 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-09-09 15:30:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":102000,"timestamp_seconds":102,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:30:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178342,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:30:54] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":178342,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:30:54] local.ERROR: GPS data processing failed {"connection_id":178342,"error":"No valid data to process"} 
[2026-09-09 15:30:54] local.INFO: Acknowledgment sent {"connection_id":178342,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:31:07] local.INFO: TCP Data received {"connection_id":178343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:31:07] local.INFO: Processing buffer {"connection_id":178343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:31:07] local.INFO: IMEI packet received {"connection_id":178343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":178343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:31:07] local.INFO: TCP Data received {"connection_id":175762,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085993f00012d190d00071fea30003a014c27..."} 
[2026-09-09 15:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085993f00012d190d00071fea30003a014c27..."} 
[2026-09-09 15:31:07] local.INFO: Processing buffer {"connection_id":175762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085993f00012d190d00071fea30003a014c27..."} 
[2026-09-09 15:31:07] local.INFO: Packet analysis {"connection_id":175762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:31:07] local.INFO: Extracted packet for processing {"connection_id":175762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":39,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 15:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970633472001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788947808000,"timestamp_ms":1788947808000,"timestamp_seconds":1788947808,"priority":1,"record_length":96,"hex_timestamp":"000001a085993f00"} 
[2026-09-09 15:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":199,"data_length":795,"current_offset":136} 
[2026-09-09 15:31: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-09-09 15:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970633472001,"66":12722,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970633472001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:31:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970633472001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":175762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:31:07] local.INFO: GPS data processed {"connection_id":175762,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:31:07] local.INFO: Acknowledgment sent {"connection_id":175762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:31:12] local.INFO: TCP Data received {"connection_id":178343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:31:12] local.INFO: Processing buffer {"connection_id":178343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:31:12] local.INFO: IMEI packet received {"connection_id":178343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":178343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:31:13] local.INFO: TCP Data received {"connection_id":178343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:31:13] local.INFO: Processing buffer {"connection_id":178343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:31:13] local.INFO: Packet analysis {"connection_id":178343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:31:13] local.INFO: Extracted packet for processing {"connection_id":178343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:31:13] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:31: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-09-09 15:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31: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-09-09 15:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788948005000,"timestamp_ms":1788948005000,"timestamp_seconds":1788948005,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c4088"} 
[2026-09-09 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-09-09 15:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":13972,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:31:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:31:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":13972,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":178343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:31:13] local.INFO: GPS data processed {"connection_id":178343,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:31:13] local.INFO: Acknowledgment sent {"connection_id":178343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:31:16] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:31:16] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:31:16] local.INFO: Packet analysis {"connection_id":175763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:31:16] local.INFO: Extracted packet for processing {"connection_id":175763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 15:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":175763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:31:16] local.INFO: GPS data processed {"connection_id":175763,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:31:16] local.INFO: Acknowledgment sent {"connection_id":175763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:31:25] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000000000001e0780100000000000000000000000000..."} 
[2026-09-09 15:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001e0780100000000000000000000000000..."} 
[2026-09-09 15:31:25] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001e0780100000000000000000000000000..."} 
[2026-09-09 15:31:25] local.INFO: Packet analysis {"connection_id":178342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:31:25] local.INFO: Extracted packet for processing {"connection_id":178342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:31:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 15:31:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":123000,"timestamp_seconds":123,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:31:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178342,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:31:25] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":178342,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:31:25] local.ERROR: GPS data processing failed {"connection_id":178342,"error":"No valid data to process"} 
[2026-09-09 15:31:25] local.INFO: Acknowledgment sent {"connection_id":178342,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:31:35] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:31:35] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:31:35] local.INFO: IMEI packet received {"connection_id":175764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":175764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:31:38] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:31:38] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:31:38] local.INFO: IMEI packet received {"connection_id":175764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":175764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:31:38] local.INFO: TCP Data received {"connection_id":176942,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:31:38] local.INFO: Processing buffer {"connection_id":176942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:31:38] local.INFO: IMEI packet received {"connection_id":176942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":176942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:31:39] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085999108012d190d00071fea30003a014c28..."} 
[2026-09-09 15:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085999108012d190d00071fea30003a014c28..."} 
[2026-09-09 15:31:39] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085999108012d190d00071fea30003a014c28..."} 
[2026-09-09 15:31:39] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:31:39] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 15:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970638848001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31: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-09-09 15:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788947829000,"timestamp_ms":1788947829000,"timestamp_seconds":1788947829,"priority":1,"record_length":96,"hex_timestamp":"000001a085999108"} 
[2026-09-09 15:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 15:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970638848001,"66":12667,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970638848001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:31:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970638848001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:31:39] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:31:39] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:31:40] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08599e310012d190d00071fea30003a014c29..."} 
[2026-09-09 15:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08599e310012d190d00071fea30003a014c29..."} 
[2026-09-09 15:31:40] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08599e310012d190d00071fea30003a014c29..."} 
[2026-09-09 15:31:40] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:31:40] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08599"} 
[2026-09-09 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":41,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 15:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970644224001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788947850000,"timestamp_ms":1788947850000,"timestamp_seconds":1788947850,"priority":1,"record_length":96,"hex_timestamp":"000001a08599e310"} 
[2026-09-09 15:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-09 15:31: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-09-09 15: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-09-09 15:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970644224001,"66":12504,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970644224001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:31:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970644224001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:31:40] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:31:40] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:31:43] local.INFO: TCP Data received {"connection_id":176942,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:31:43] local.INFO: Processing buffer {"connection_id":176942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:31:43] local.INFO: IMEI packet received {"connection_id":176942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":176942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:31:44] local.INFO: TCP Data received {"connection_id":178343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:31:44] local.INFO: Processing buffer {"connection_id":178343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:31:44] local.INFO: Packet analysis {"connection_id":178343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:31:44] local.INFO: Extracted packet for processing {"connection_id":178343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:31: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-09-09 15:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31: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-09-09 15:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948005000,"timestamp_ms":1788948005000,"timestamp_seconds":1788948005,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c4088"} 
[2026-09-09 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-09-09 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":13972,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:31:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:31:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":13972,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":178343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:31:44] local.INFO: GPS data processed {"connection_id":178343,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:31:44] local.INFO: Acknowledgment sent {"connection_id":178343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:31:44] local.INFO: TCP Data received {"connection_id":176942,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:31:44] local.INFO: Processing buffer {"connection_id":176942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:31:44] local.INFO: Packet analysis {"connection_id":176942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:31:44] local.INFO: Extracted packet for processing {"connection_id":176942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 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-09-09 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":176942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:31:44] local.INFO: GPS data processed {"connection_id":176942,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:31:44] local.INFO: Acknowledgment sent {"connection_id":176942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:31:58] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c30e80100000000000000000000000000..."} 
[2026-09-09 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c30e80100000000000000000000000000..."} 
[2026-09-09 15:31:58] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c30e80100000000000000000000000000..."} 
[2026-09-09 15:31:58] local.INFO: Packet analysis {"connection_id":178342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:31:58] local.INFO: Extracted packet for processing {"connection_id":178342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:31:58] 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-09-09 15:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788948001000,"timestamp_ms":1788948001000,"timestamp_seconds":1788948001,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c30e8"} 
[2026-09-09 15:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 15:31:58] 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-09-09 15:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":178342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:31: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-09-09 15:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":178342,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:31:58] local.INFO: GPS data processed {"connection_id":178342,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:31:58] local.INFO: Acknowledgment sent {"connection_id":178342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:32:07] local.INFO: TCP Data received {"connection_id":178344,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:32:07] local.INFO: Processing buffer {"connection_id":178344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:32:07] local.INFO: IMEI packet received {"connection_id":178344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":178344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:32:11] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a3518012d190d00071fea30003a014c28..."} 
[2026-09-09 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a3518012d190d00071fea30003a014c28..."} 
[2026-09-09 15:32:11] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a3518012d190d00071fea30003a014c28..."} 
[2026-09-09 15:32:11] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:32:11] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970649600001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15: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-09-09 15:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788947871000,"timestamp_ms":1788947871000,"timestamp_seconds":1788947871,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a3518"} 
[2026-09-09 15:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 15:32: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-09-09 15: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-09-09 15:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970649600001,"66":12613,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970649600001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:32:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970649600001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:32:11] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:32:11] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:32:12] local.INFO: TCP Data received {"connection_id":178344,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:32:12] local.INFO: Processing buffer {"connection_id":178344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:32:12] local.INFO: IMEI packet received {"connection_id":178344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":178344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:32:13] local.INFO: TCP Data received {"connection_id":178344,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:32:13] local.INFO: Processing buffer {"connection_id":178344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:32:13] local.INFO: Packet analysis {"connection_id":178344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:32:13] local.INFO: Extracted packet for processing {"connection_id":178344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:32:13] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:32: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-09-09 15:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32: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-09-09 15:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788948005000,"timestamp_ms":1788948005000,"timestamp_seconds":1788948005,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c4088"} 
[2026-09-09 15:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":13972,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:32:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:32:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":13972,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":178344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:32:13] local.INFO: GPS data processed {"connection_id":178344,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:32:13] local.INFO: Acknowledgment sent {"connection_id":178344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:32:15] local.INFO: TCP Data received {"connection_id":176943,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:32:15] local.INFO: Processing buffer {"connection_id":176943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:32:15] local.INFO: IMEI packet received {"connection_id":176943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":176943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:32:16] local.INFO: TCP Data received {"connection_id":176942,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:32:16] local.INFO: Processing buffer {"connection_id":176942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:32:16] local.INFO: Packet analysis {"connection_id":176942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:32:16] local.INFO: Extracted packet for processing {"connection_id":176942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 15:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":176942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:32:16] local.INFO: GPS data processed {"connection_id":176942,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:32:16] local.INFO: Acknowledgment sent {"connection_id":176942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:32:29] local.INFO: TCP Data received {"connection_id":178342,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c82f00100000000000000000000000000..."} 
[2026-09-09 15:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c82f00100000000000000000000000000..."} 
[2026-09-09 15:32:29] local.INFO: Processing buffer {"connection_id":178342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c82f00100000000000000000000000000..."} 
[2026-09-09 15:32:29] local.INFO: Packet analysis {"connection_id":178342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:32:29] local.INFO: Extracted packet for processing {"connection_id":178342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:32:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32: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-09-09 15:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788948022000,"timestamp_ms":1788948022000,"timestamp_seconds":1788948022,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c82f0"} 
[2026-09-09 15:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:32:29] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 15:32:29] 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-09-09 15:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:32: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-09-09 15:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":178342,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:32:29] local.INFO: GPS data processed {"connection_id":178342,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:32:29] local.INFO: Acknowledgment sent {"connection_id":178342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:32:30] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:32:30] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:32:30] local.INFO: IMEI packet received {"connection_id":175551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":175551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:32:35] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:32:35] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:32:35] local.INFO: IMEI packet received {"connection_id":175551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":175551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:32:36] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a8720012d190d00071fea30003a014c23..."} 
[2026-09-09 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a8720012d190d00071fea30003a014c23..."} 
[2026-09-09 15:32:36] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a8720012d190d00071fea30003a014c23..."} 
[2026-09-09 15:32:36] local.INFO: Packet analysis {"connection_id":175551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:32:36] local.INFO: Extracted packet for processing {"connection_id":175551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":35,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970654976001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788947892000,"timestamp_ms":1788947892000,"timestamp_seconds":1788947892,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a8720"} 
[2026-09-09 15:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":69,"data_length":795,"current_offset":136} 
[2026-09-09 15:32: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-09-09 15: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-09-09 15:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970654976001,"66":12667,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970654976001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:32:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970654976001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":175551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:32:36] local.INFO: GPS data processed {"connection_id":175551,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:32:36] local.INFO: Acknowledgment sent {"connection_id":175551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:32:38] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:32:38] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:32:38] local.INFO: IMEI packet received {"connection_id":176944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":176944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:32:41] local.INFO: TCP Data received {"connection_id":176945,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:32:41] local.INFO: Processing buffer {"connection_id":176945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:32:41] local.INFO: IMEI packet received {"connection_id":176945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":176945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:32:44] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:32:44] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:32:44] local.INFO: IMEI packet received {"connection_id":176944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":176944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:32:44] local.INFO: TCP Data received {"connection_id":178344,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:32:44] local.INFO: Processing buffer {"connection_id":178344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:32:44] local.INFO: Packet analysis {"connection_id":178344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:32:44] local.INFO: Extracted packet for processing {"connection_id":178344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:32:44] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:32: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-09-09 15:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32: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-09-09 15:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948005000,"timestamp_ms":1788948005000,"timestamp_seconds":1788948005,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c4088"} 
[2026-09-09 15:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":13972,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:32:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:32:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":13972,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":178344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:32:44] local.INFO: GPS data processed {"connection_id":178344,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:32:44] local.INFO: Acknowledgment sent {"connection_id":178344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:32:45] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:32:45] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:32:45] local.INFO: Packet analysis {"connection_id":176944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:32:45] local.INFO: Extracted packet for processing {"connection_id":176944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 15:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":176944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:32:45] local.INFO: GPS data processed {"connection_id":176944,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:32:45] local.INFO: Acknowledgment sent {"connection_id":176944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:33:05] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:33:05] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:33:05] local.INFO: IMEI packet received {"connection_id":175765,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":175765,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:33:07] local.INFO: TCP Data received {"connection_id":178345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:33:07] local.INFO: Processing buffer {"connection_id":178345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:33:07] local.INFO: IMEI packet received {"connection_id":178345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":178345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:33:07] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859e0d78012d190d00071fea30003a014c29..."} 
[2026-09-09 15:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859e0d78012d190d00071fea30003a014c29..."} 
[2026-09-09 15:33:07] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859e0d78012d190d00071fea30003a014c29..."} 
[2026-09-09 15:33:07] local.INFO: Packet analysis {"connection_id":175551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:33:07] local.INFO: Extracted packet for processing {"connection_id":175551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":41,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970714112001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15: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-09-09 15:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788948123000,"timestamp_ms":1788948123000,"timestamp_seconds":1788948123,"priority":1,"record_length":96,"hex_timestamp":"000001a0859e0d78"} 
[2026-09-09 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-09-09 15:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":97,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2241580864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249642899895216688,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2624802817,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3929014330,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,97,160,105,45,234,58,42,10,66,23,41,197,1,240,249,227,133,31,4,113,205,33,13,48,239,49,2,67,7,120,81,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 15:33:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179705663858933760,"timestamp_seconds":4179705663858934.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 15:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970714112001,"66":13928,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970714112001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:33:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970714112001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":175551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:33:07] local.INFO: GPS data processed {"connection_id":175551,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:33:07] local.INFO: Acknowledgment sent {"connection_id":175551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:33:10] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:33:10] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:33:10] local.INFO: IMEI packet received {"connection_id":175765,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":175765,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:33:11] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0859cd4f80100000000000000000000000000..."} 
[2026-09-09 15:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859cd4f80100000000000000000000000000..."} 
[2026-09-09 15:33:11] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859cd4f80100000000000000000000000000..."} 
[2026-09-09 15:33:11] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:33:11] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:33:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 15:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788948043000,"timestamp_ms":1788948043000,"timestamp_seconds":1788948043,"priority":1,"record_length":96,"hex_timestamp":"000001a0859cd4f8"} 
[2026-09-09 15:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:33:11] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-09 15:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:33:11] 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-09-09 15:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:33:11] local.INFO: GPS data processed {"connection_id":175765,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:33:11] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:33:12] local.INFO: TCP Data received {"connection_id":178345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:33:12] local.INFO: Processing buffer {"connection_id":178345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:33:12] local.INFO: IMEI packet received {"connection_id":178345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":178345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:33:13] local.INFO: TCP Data received {"connection_id":178345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:33:13] local.INFO: Processing buffer {"connection_id":178345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:33:13] local.INFO: Packet analysis {"connection_id":178345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:33:13] local.INFO: Extracted packet for processing {"connection_id":178345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:33:13] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:33: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-09-09 15:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33: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-09-09 15:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788948005000,"timestamp_ms":1788948005000,"timestamp_seconds":1788948005,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c4088"} 
[2026-09-09 15:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":13972,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:33:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:33:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":13972,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":178345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:33:13] local.INFO: GPS data processed {"connection_id":178345,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:33:13] local.INFO: Acknowledgment sent {"connection_id":178345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:33:16] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:33:16] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859a2578012d34cc4006aa49080000013428..."} 
[2026-09-09 15:33:16] local.INFO: Packet analysis {"connection_id":176944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:33:16] local.INFO: Extracted packet for processing {"connection_id":176944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859a"} 
[2026-09-09 15:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970576896001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788947867000,"timestamp_ms":1788947867000,"timestamp_seconds":1788947867,"priority":1,"record_length":96,"hex_timestamp":"000001a0859a2578"} 
[2026-09-09 15:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-09 15:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970576896001,"66":25995,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970576896001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970576896001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":176944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:33:16] local.INFO: GPS data processed {"connection_id":176944,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:33:16] local.INFO: Acknowledgment sent {"connection_id":176944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:33:27] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:27] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:27] local.INFO: IMEI packet received {"connection_id":176947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":176947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:33:30] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:30] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:30] local.INFO: IMEI packet received {"connection_id":176947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":176947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:33:31] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:31] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:31] local.INFO: IMEI packet received {"connection_id":176947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":176947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:33:32] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:32] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:33:32] local.INFO: IMEI packet received {"connection_id":176947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":176947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:33:32] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859e5f80012d190d00071fea30003a014c24..."} 
[2026-09-09 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859e5f80012d190d00071fea30003a014c24..."} 
[2026-09-09 15:33:32] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859e5f80012d190d00071fea30003a014c24..."} 
[2026-09-09 15:33:32] local.INFO: Packet analysis {"connection_id":176947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:33:32] local.INFO: Extracted packet for processing {"connection_id":176947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532080,"longitude_deg":75.6616448,"latitude_deg":11.953208,"altitude":58,"angle":332,"satellites":36,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea30","is_valid_coordinates":true} 
[2026-09-09 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970719488001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966541219397632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33: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-09-09 15:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788948144000,"timestamp_ms":1788948144000,"timestamp_seconds":1788948144,"priority":1,"record_length":96,"hex_timestamp":"000001a0859e5f80"} 
[2026-09-09 15:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 15:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970719488001,"66":14135,"102":206,"83":41984,"24":0,"16":18966541219397632,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970719488001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:33:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966541219397632,"km_value":18966541219397.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970719488001,"power":14135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":176947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:33:32] local.INFO: GPS data processed {"connection_id":176947,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:33:32] local.INFO: Acknowledgment sent {"connection_id":176947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:33:33] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859e6368012d190bc0071feaf8003a000e25..."} 
[2026-09-09 15:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859e6368012d190bc0071feaf8003a000e25..."} 
[2026-09-09 15:33:33] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859e6368012d190bc0071feaf8003a000e25..."} 
[2026-09-09 15:33:33] local.INFO: Packet analysis {"connection_id":176947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:33:33] local.INFO: Extracted packet for processing {"connection_id":176947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756616128,"raw_latitude":119532280,"longitude_deg":75.6616128,"latitude_deg":11.953228,"altitude":58,"angle":14,"satellites":37,"speed":2,"hex_longitude":"2d190bc0","hex_latitude":"071feaf8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970724864001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966558399266816,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245649408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33: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-09-09 15:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788948145000,"timestamp_ms":1788948145000,"timestamp_seconds":1788948145,"priority":1,"record_length":96,"hex_timestamp":"000001a0859e6368"} 
[2026-09-09 15:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:33: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-09-09 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 15:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970724864001,"66":13624,"102":206,"83":41984,"24":2,"16":18966558399266816,"45":1805099056245649408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970724864001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:33:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966558399266816,"km_value":18966558399266.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245649408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970724864001,"power":13624,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1805099056245649408}} 
[2026-09-09 15:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":176947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:33:33] local.INFO: GPS data processed {"connection_id":176947,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:33:33] local.INFO: Acknowledgment sent {"connection_id":176947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:33:38] local.INFO: TCP Data received {"connection_id":175552,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:33:38] local.INFO: Processing buffer {"connection_id":175552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:33:38] local.INFO: IMEI packet received {"connection_id":175552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":175552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:33:42] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0859d27000100000000000000000000000000..."} 
[2026-09-09 15:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859d27000100000000000000000000000000..."} 
[2026-09-09 15:33:42] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859d27000100000000000000000000000000..."} 
[2026-09-09 15:33:42] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859d"} 
[2026-09-09 15:33:42] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859d"} 
[2026-09-09 15:33:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:42] 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-09-09 15:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788948064000,"timestamp_ms":1788948064000,"timestamp_seconds":1788948064,"priority":1,"record_length":96,"hex_timestamp":"000001a0859d2700"} 
[2026-09-09 15:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:33:42] 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-09-09 15:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-09 15:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:33:42] 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-09-09 15:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:33:42] local.INFO: GPS data processed {"connection_id":175765,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:33:42] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:33:43] local.INFO: TCP Data received {"connection_id":175552,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:33:43] local.INFO: Processing buffer {"connection_id":175552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:33:43] local.INFO: IMEI packet received {"connection_id":175552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":175552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:33:44] local.INFO: TCP Data received {"connection_id":178345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:33:44] local.INFO: Processing buffer {"connection_id":178345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:33:44] local.INFO: Packet analysis {"connection_id":178345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:33:44] local.INFO: Extracted packet for processing {"connection_id":178345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:33:44] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33: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-09-09 15:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948005000,"timestamp_ms":1788948005000,"timestamp_seconds":1788948005,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c4088"} 
[2026-09-09 15:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":13972,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:33:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:33:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":13972,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:33:44] local.INFO: TCP Data received {"connection_id":175552,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:33:44] local.INFO: Processing buffer {"connection_id":175552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:33:44] local.INFO: Packet analysis {"connection_id":175552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:33:44] local.INFO: Extracted packet for processing {"connection_id":175552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":175552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:33:45] local.INFO: GPS data processed {"connection_id":175552,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:33:45] local.INFO: Acknowledgment sent {"connection_id":175552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":178345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:33:45] local.INFO: GPS data processed {"connection_id":178345,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:33:45] local.INFO: Acknowledgment sent {"connection_id":178345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:34:04] local.INFO: TCP Data received {"connection_id":176947,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859f0778012d190c0007201978003101242a..."} 
[2026-09-09 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859f0778012d190c0007201978003101242a..."} 
[2026-09-09 15:34:04] local.INFO: Processing buffer {"connection_id":176947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859f0778012d190c0007201978003101242a..."} 
[2026-09-09 15:34:04] local.INFO: Packet analysis {"connection_id":176947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859f"} 
[2026-09-09 15:34:04] local.INFO: Extracted packet for processing {"connection_id":176947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859f"} 
[2026-09-09 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756616192,"raw_latitude":119544184,"longitude_deg":75.6616192,"latitude_deg":11.9544184,"altitude":49,"angle":292,"satellites":42,"speed":15,"hex_longitude":"2d190c00","hex_latitude":"07201978","is_valid_coordinates":true} 
[2026-09-09 15:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970735360001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18967211234295808,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805591637457885184,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788948187000,"timestamp_ms":1788948187000,"timestamp_seconds":1788948187,"priority":1,"record_length":96,"hex_timestamp":"000001a0859f0778"} 
[2026-09-09 15:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:34: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-09-09 15: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 15:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970735360001,"66":13972,"102":206,"83":41984,"24":15,"16":18967211234295808,"45":1805591637457885184},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970735360001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:34:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18967211234295808,"km_value":18967211234295.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805591637457885184,"description":"Unknown IO ID 45"} 
[2026-09-09 15:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970735360001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1805591637457885184}} 
[2026-09-09 15:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":176947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:34:04] local.INFO: GPS data processed {"connection_id":176947,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:34:04] local.INFO: Acknowledgment sent {"connection_id":176947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:34:12] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:34:12] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:34:12] local.INFO: IMEI packet received {"connection_id":175553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":175553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:34:13] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0859d79080100000000000000000000000000..."} 
[2026-09-09 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859d79080100000000000000000000000000..."} 
[2026-09-09 15:34:13] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859d79080100000000000000000000000000..."} 
[2026-09-09 15:34:13] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859d"} 
[2026-09-09 15:34:13] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859d"} 
[2026-09-09 15:34:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948031096422400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 15:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788948085000,"timestamp_ms":1788948085000,"timestamp_seconds":1788948085,"priority":1,"record_length":96,"hex_timestamp":"000001a0859d7908"} 
[2026-09-09 15:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:34:13] 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-09-09 15: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-09 15:34:13] 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-09-09 15: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-09-09 15:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:34:13] 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-09-09 15:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:34:13] local.INFO: GPS data processed {"connection_id":175765,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:34:13] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:34:16] local.INFO: TCP Data received {"connection_id":175552,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:34:16] local.INFO: Processing buffer {"connection_id":175552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:34:16] local.INFO: Packet analysis {"connection_id":175552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:34:16] local.INFO: Extracted packet for processing {"connection_id":175552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":175552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:34:16] local.INFO: GPS data processed {"connection_id":175552,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:34:16] local.INFO: Acknowledgment sent {"connection_id":175552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:34:17] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:34:17] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:34:17] local.INFO: IMEI packet received {"connection_id":175553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":175553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:34:19] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:34:19] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:34:19] local.INFO: Packet analysis {"connection_id":175553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:34:19] local.INFO: Extracted packet for processing {"connection_id":175553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34: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-09-09 15:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788948005000,"timestamp_ms":1788948005000,"timestamp_seconds":1788948005,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c4088"} 
[2026-09-09 15:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":13972,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:34:19] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:34:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":13972,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":175553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:34:19] local.INFO: GPS data processed {"connection_id":175553,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:34:19] local.INFO: Acknowledgment sent {"connection_id":175553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:34:22] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:34:22] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859c4088012d7a150005ec81a00004003424..."} 
[2026-09-09 15:34:22] local.INFO: Packet analysis {"connection_id":175553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:34:22] local.INFO: Extracted packet for processing {"connection_id":175553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859c"} 
[2026-09-09 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385760,"longitude_deg":76.2975488,"latitude_deg":9.938576,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05ec81a0","is_valid_coordinates":true} 
[2026-09-09 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:22] 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-09-09 15:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788948005000,"timestamp_ms":1788948005000,"timestamp_seconds":1788948005,"priority":1,"record_length":96,"hex_timestamp":"000001a0859c4088"} 
[2026-09-09 15:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:34: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-09-09 15:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":13972,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:34:22] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:34:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":13972,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":175553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:34:22] local.INFO: GPS data processed {"connection_id":175553,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:34:22] local.INFO: Acknowledgment sent {"connection_id":175553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:34:30] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:34:30] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:34:30] local.INFO: IMEI packet received {"connection_id":175767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":175767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:34:31] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:34:31] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:34:31] local.INFO: IMEI packet received {"connection_id":175767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":175767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:34:35] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:34:35] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:34:35] local.INFO: IMEI packet received {"connection_id":175767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":175767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:34:36] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0859f0f48012d19088007201a280031011529..."} 
[2026-09-09 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859f0f48012d19088007201a280031011529..."} 
[2026-09-09 15:34:36] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859f0f48012d19088007201a280031011529..."} 
[2026-09-09 15:34:36] local.INFO: Packet analysis {"connection_id":175767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859f"} 
[2026-09-09 15:34:36] local.INFO: Extracted packet for processing {"connection_id":175767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859f"} 
[2026-09-09 15:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756615296,"raw_latitude":119544360,"longitude_deg":75.6615296,"latitude_deg":11.954436,"altitude":49,"angle":277,"satellites":41,"speed":20,"hex_longitude":"2d190880","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-09-09 15:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970735872001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18967258478936064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804817581272037376,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788948189000,"timestamp_ms":1788948189000,"timestamp_seconds":1788948189,"priority":1,"record_length":96,"hex_timestamp":"000001a0859f0f48"} 
[2026-09-09 15:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970735872001,"66":13059,"102":206,"83":41984,"24":20,"16":18967258478936064,"45":1804817581272037376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970735872001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18967258478936064,"km_value":18967258478936.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804817581272037376,"description":"Unknown IO ID 45"} 
[2026-09-09 15:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970735872001,"power":13059,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1804817581272037376}} 
[2026-09-09 15:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":175767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:34:36] local.INFO: GPS data processed {"connection_id":175767,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:34:36] local.INFO: Acknowledgment sent {"connection_id":175767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:34:39] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:34:39] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:34:39] local.INFO: IMEI packet received {"connection_id":175768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":175768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:34:44] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:34:44] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:34:44] local.INFO: IMEI packet received {"connection_id":175768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":175768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:34:44] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085a05f38012d0b850007035040001c00330a..."} 
[2026-09-09 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a05f38012d0b850007035040001c00330a..."} 
[2026-09-09 15:34:44] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a05f38012d0b850007035040001c00330a..."} 
[2026-09-09 15:34:44] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:34:44] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:34:44] local.INFO: GPS Element Parsed {"raw_longitude":755729664,"raw_latitude":117657664,"longitude_deg":75.5729664,"latitude_deg":11.7657664,"altitude":28,"angle":51,"satellites":10,"speed":12,"hex_longitude":"2d0b8500","hex_latitude":"07035040","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970758144001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948430528380928,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829858630207490048,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34: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-09-09 15:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948275000,"timestamp_ms":1788948275000,"timestamp_seconds":1788948275,"priority":1,"record_length":96,"hex_timestamp":"000001a085a05f38"} 
[2026-09-09 15:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 15:34:44] 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-09-09 15: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-09-09 15:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:34:44] 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-09-09 15:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970758144001,"66":14537,"37":206,"94":11008,"24":12,"16":30948430528380928,"45":829858630207490048},"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-09-09 15:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970758144001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:34:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 15:34:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 15:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30948430528380928,"km_value":30948430528380.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":829858630207490048,"description":"Unknown IO ID 45"} 
[2026-09-09 15:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970758144001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":829858630207490048}} 
[2026-09-09 15:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789449,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:34:44] local.INFO: GPS data processed {"connection_id":175765,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:34:44] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:34:45] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:34:45] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:34:45] local.INFO: Packet analysis {"connection_id":175768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:34:45] local.INFO: Extracted packet for processing {"connection_id":175768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:34:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":175768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:34:45] local.INFO: GPS data processed {"connection_id":175768,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:34:45] local.INFO: Acknowledgment sent {"connection_id":175768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:07] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:35:07] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:35:07] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:35:07] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a02c70012d18d280071fd6d8002300e825..."} 
[2026-09-09 15:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a02c70012d18d280071fd6d8002300e825..."} 
[2026-09-09 15:35:07] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a02c70012d18d280071fd6d8002300e825..."} 
[2026-09-09 15:35:07] local.INFO: Packet analysis {"connection_id":175767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:07] local.INFO: Extracted packet for processing {"connection_id":175767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119527128,"longitude_deg":75.6601472,"latitude_deg":11.9527128,"altitude":35,"angle":232,"satellites":37,"speed":14,"hex_longitude":"2d18d280","hex_latitude":"071fd6d8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970754816001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18968766012456960,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613827758080,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788948262000,"timestamp_ms":1788948262000,"timestamp_seconds":1788948262,"priority":1,"record_length":96,"hex_timestamp":"000001a085a02c70"} 
[2026-09-09 15:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 15:35: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-09-09 15: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-09-09 15:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970754816001,"66":14265,"102":206,"83":41984,"24":14,"16":18968766012456960,"45":1788984613827758080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970754816001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18968766012456960,"km_value":18968766012456.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613827758080,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970754816001,"power":14265,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1788984613827758080}} 
[2026-09-09 15:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":175767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:07] local.INFO: GPS data processed {"connection_id":175767,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:07] local.INFO: Acknowledgment sent {"connection_id":175767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:08] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:35:08] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:35:08] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:35:12] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:35:12] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:35:12] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:35:13] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:35:13] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:35:13] local.INFO: Packet analysis {"connection_id":176948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:13] local.INFO: Extracted packet for processing {"connection_id":176948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:13] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385736,"longitude_deg":76.297568,"latitude_deg":9.9385736,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec8188","is_valid_coordinates":true} 
[2026-09-09 15:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35: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-09-09 15:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788948305000,"timestamp_ms":1788948305000,"timestamp_seconds":1788948305,"priority":1,"record_length":96,"hex_timestamp":"000001a085a0d468"} 
[2026-09-09 15:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":2568,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:35:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":2568,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":176948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:13] local.INFO: GPS data processed {"connection_id":176948,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:13] local.INFO: Acknowledgment sent {"connection_id":176948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:15] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085a06320012d0b8680070350b8001c00470a..."} 
[2026-09-09 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a06320012d0b8680070350b8001c00470a..."} 
[2026-09-09 15:35:15] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a06320012d0b8680070350b8001c00470a..."} 
[2026-09-09 15:35:15] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:15] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:15] local.INFO: GPS Element Parsed {"raw_longitude":755730048,"raw_latitude":117657784,"longitude_deg":75.5730048,"latitude_deg":11.7657784,"altitude":28,"angle":71,"satellites":10,"speed":12,"hex_longitude":"2d0b8680","hex_latitude":"070350b8","is_valid_coordinates":true} 
[2026-09-09 15:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970758400001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948452003217408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830069736440086528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:15] 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-09-09 15:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788948276000,"timestamp_ms":1788948276000,"timestamp_seconds":1788948276,"priority":1,"record_length":96,"hex_timestamp":"000001a085a06320"} 
[2026-09-09 15:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 15:35: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-09-09 15:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:35:15] 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-09-09 15:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970758400001,"66":14537,"37":206,"94":11008,"24":12,"16":30948452003217408,"45":830069736440086528},"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-09-09 15:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970758400001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 15:35:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 15:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30948452003217408,"km_value":30948452003217.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":830069736440086528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970758400001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":830069736440086528}} 
[2026-09-09 15:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:15] local.INFO: GPS data processed {"connection_id":175765,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:15] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:17] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:35:17] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:35:17] local.INFO: Packet analysis {"connection_id":175768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:35:17] local.INFO: Extracted packet for processing {"connection_id":175768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:35: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-09-09 15:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":175768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:17] local.INFO: GPS data processed {"connection_id":175768,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:17] local.INFO: Acknowledgment sent {"connection_id":175768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:18] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:35:18] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:35:18] local.INFO: Packet analysis {"connection_id":176948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:18] local.INFO: Extracted packet for processing {"connection_id":176948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:18] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385736,"longitude_deg":76.297568,"latitude_deg":9.9385736,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec8188","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35: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-09-09 15:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788948305000,"timestamp_ms":1788948305000,"timestamp_seconds":1788948305,"priority":1,"record_length":96,"hex_timestamp":"000001a085a0d468"} 
[2026-09-09 15:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":2568,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:35:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":2568,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":176948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:18] local.INFO: GPS data processed {"connection_id":176948,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:18] local.INFO: Acknowledgment sent {"connection_id":176948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:32] local.INFO: TCP Data received {"connection_id":175554,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:35:32] local.INFO: Processing buffer {"connection_id":175554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:35:32] local.INFO: IMEI packet received {"connection_id":175554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":175554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:35:33] local.INFO: TCP Data received {"connection_id":175554,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:35:33] local.INFO: Processing buffer {"connection_id":175554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:35:33] local.INFO: IMEI packet received {"connection_id":175554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":175554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:35:35] local.INFO: TCP Data received {"connection_id":175554,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:35:35] local.INFO: Processing buffer {"connection_id":175554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:35:35] local.INFO: IMEI packet received {"connection_id":175554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":175554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:35:36] local.INFO: TCP Data received {"connection_id":175554,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a03058012d18d100071fd608002400f324..."} 
[2026-09-09 15:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a03058012d18d100071fd608002400f324..."} 
[2026-09-09 15:35:36] local.INFO: Processing buffer {"connection_id":175554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a03058012d18d100071fd608002400f324..."} 
[2026-09-09 15:35:36] local.INFO: Packet analysis {"connection_id":175554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:36] local.INFO: Extracted packet for processing {"connection_id":175554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119526920,"longitude_deg":75.6601088,"latitude_deg":11.952692,"altitude":36,"angle":243,"satellites":36,"speed":18,"hex_longitude":"2d18d100","hex_latitude":"071fd608","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970755072001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18968787487293440,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770106808320,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788948263000,"timestamp_ms":1788948263000,"timestamp_seconds":1788948263,"priority":1,"record_length":96,"hex_timestamp":"000001a085a03058"} 
[2026-09-09 15:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 15:35: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-09-09 15: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-09-09 15:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970755072001,"66":14243,"102":206,"83":41984,"24":18,"16":18968787487293440,"45":1788632770106808320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970755072001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18968787487293440,"km_value":18968787487293.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770106808320,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970755072001,"power":14243,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1788632770106808320}} 
[2026-09-09 15:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":175554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:36] local.INFO: GPS data processed {"connection_id":175554,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:36] local.INFO: Acknowledgment sent {"connection_id":175554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:38] local.INFO: TCP Data received {"connection_id":178346,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:35:38] local.INFO: Processing buffer {"connection_id":178346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:35:38] local.INFO: IMEI packet received {"connection_id":178346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":178346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:35:38] local.INFO: TCP Data received {"connection_id":175554,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a03828012d18cd80071fd4a00025010024..."} 
[2026-09-09 15:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a03828012d18cd80071fd4a00025010024..."} 
[2026-09-09 15:35:38] local.INFO: Processing buffer {"connection_id":175554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a03828012d18cd80071fd4a00025010024..."} 
[2026-09-09 15:35:38] local.INFO: Packet analysis {"connection_id":175554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:38] local.INFO: Extracted packet for processing {"connection_id":175554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756600192,"raw_latitude":119526560,"longitude_deg":75.6600192,"latitude_deg":11.952656,"altitude":37,"angle":256,"satellites":36,"speed":21,"hex_longitude":"2d18cd80","hex_latitude":"071fd4a0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970755328001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18968834731933696,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557641689088,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35: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-09-09 15:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788948265000,"timestamp_ms":1788948265000,"timestamp_seconds":1788948265,"priority":1,"record_length":96,"hex_timestamp":"000001a085a03828"} 
[2026-09-09 15:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-09 15:35: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-09-09 15: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-09-09 15:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970755328001,"66":14352,"102":206,"83":41984,"24":21,"16":18968834731933696,"45":1788210557641689088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970755328001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18968834731933696,"km_value":18968834731933.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557641689088,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970755328001,"power":14352,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1788210557641689088}} 
[2026-09-09 15:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":175554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:38] local.INFO: GPS data processed {"connection_id":175554,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:38] local.INFO: Acknowledgment sent {"connection_id":175554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:43] local.INFO: TCP Data received {"connection_id":178346,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:35:43] local.INFO: Processing buffer {"connection_id":178346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:35:43] local.INFO: IMEI packet received {"connection_id":178346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":178346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:35:44] local.INFO: TCP Data received {"connection_id":178346,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:35:44] local.INFO: Processing buffer {"connection_id":178346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:35:44] local.INFO: Packet analysis {"connection_id":178346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:35:44] local.INFO: Extracted packet for processing {"connection_id":178346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":178346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:44] local.INFO: GPS data processed {"connection_id":178346,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:44] local.INFO: Acknowledgment sent {"connection_id":178346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:46] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085a06708012d0b8800070350b0001c005d0a..."} 
[2026-09-09 15:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a06708012d0b8800070350b0001c005d0a..."} 
[2026-09-09 15:35:46] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a06708012d0b8800070350b0001c005d0a..."} 
[2026-09-09 15:35:46] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:46] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:46] local.INFO: GPS Element Parsed {"raw_longitude":755730432,"raw_latitude":117657776,"longitude_deg":75.5730432,"latitude_deg":11.7657776,"altitude":28,"angle":93,"satellites":10,"speed":14,"hex_longitude":"2d0b8800","hex_latitude":"070350b0","is_valid_coordinates":true} 
[2026-09-09 15:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970758656001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30948469183086592,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830491948905183232,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35: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-09-09 15:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788948277000,"timestamp_ms":1788948277000,"timestamp_seconds":1788948277,"priority":1,"record_length":96,"hex_timestamp":"000001a085a06708"} 
[2026-09-09 15:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 15:35: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-09-09 15:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:35:46] 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-09-09 15:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970758656001,"66":14548,"37":206,"94":11008,"24":14,"16":30948469183086592,"45":830491948905183232},"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-09-09 15:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970758656001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-09 15:35:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 15:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30948469183086592,"km_value":30948469183086.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":830491948905183232,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970758656001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":830491948905183232}} 
[2026-09-09 15:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:46] local.INFO: GPS data processed {"connection_id":175765,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:46] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:35:49] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:35:49] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:35:49] local.INFO: Packet analysis {"connection_id":176948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:49] local.INFO: Extracted packet for processing {"connection_id":176948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:35:49] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385736,"longitude_deg":76.297568,"latitude_deg":9.9385736,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec8188","is_valid_coordinates":true} 
[2026-09-09 15:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:35:49] 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-09-09 15:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788948305000,"timestamp_ms":1788948305000,"timestamp_seconds":1788948305,"priority":1,"record_length":96,"hex_timestamp":"000001a085a0d468"} 
[2026-09-09 15:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":2568,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:35:49] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:35:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":2568,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":176948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:35:49] local.INFO: GPS data processed {"connection_id":176948,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:35:49] local.INFO: Acknowledgment sent {"connection_id":176948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:36:02] local.INFO: TCP Data received {"connection_id":175555,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:02] local.INFO: Processing buffer {"connection_id":175555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:02] local.INFO: IMEI packet received {"connection_id":175555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":175555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:36:03] local.INFO: TCP Data received {"connection_id":175555,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:03] local.INFO: Processing buffer {"connection_id":175555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:03] local.INFO: IMEI packet received {"connection_id":175555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":175555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:36:04] local.INFO: TCP Data received {"connection_id":175555,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:04] local.INFO: Processing buffer {"connection_id":175555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:04] local.INFO: IMEI packet received {"connection_id":175555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":175555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:36:05] local.INFO: TCP Data received {"connection_id":175555,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:05] local.INFO: Processing buffer {"connection_id":175555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:36:05] local.INFO: IMEI packet received {"connection_id":175555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":175555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:36:07] local.INFO: TCP Data received {"connection_id":178348,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:36:07] local.INFO: Processing buffer {"connection_id":178348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:36:07] local.INFO: IMEI packet received {"connection_id":178348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":178348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:36:09] local.INFO: TCP Data received {"connection_id":175554,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a13228012d183540071fd470003700d329..."} 
[2026-09-09 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a13228012d183540071fd470003700d329..."} 
[2026-09-09 15:36:09] local.INFO: Processing buffer {"connection_id":175554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a13228012d183540071fd470003700d329..."} 
[2026-09-09 15:36:09] local.INFO: Packet analysis {"connection_id":175554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a1"} 
[2026-09-09 15:36:09] local.INFO: Extracted packet for processing {"connection_id":175554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a1"} 
[2026-09-09 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756561216,"raw_latitude":119526512,"longitude_deg":75.6561216,"latitude_deg":11.9526512,"altitude":55,"angle":211,"satellites":41,"speed":20,"hex_longitude":"2d183540","hex_latitude":"071fd470","is_valid_coordinates":true} 
[2026-09-09 15:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970770944001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18970883431333888,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744793042484568064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36: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-09-09 15:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788948329000,"timestamp_ms":1788948329000,"timestamp_seconds":1788948329,"priority":1,"record_length":96,"hex_timestamp":"000001a085a13228"} 
[2026-09-09 15:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970770944001,"66":13972,"102":206,"83":41984,"24":20,"16":18970883431333888,"45":1744793042484568064},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970770944001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:36:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18970883431333888,"km_value":18970883431333.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744793042484568064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970770944001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1744793042484568064}} 
[2026-09-09 15:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":175554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:36:10] local.INFO: GPS data processed {"connection_id":175554,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:36:10] local.INFO: Acknowledgment sent {"connection_id":175554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:36:12] local.INFO: TCP Data received {"connection_id":178348,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:36:12] local.INFO: Processing buffer {"connection_id":178348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:36:12] local.INFO: IMEI packet received {"connection_id":178348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":178348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:36:13] local.INFO: TCP Data received {"connection_id":178348,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:36:13] local.INFO: Processing buffer {"connection_id":178348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:36:13] local.INFO: Packet analysis {"connection_id":178348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:36:13] local.INFO: Extracted packet for processing {"connection_id":178348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:36:13] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385736,"longitude_deg":76.297568,"latitude_deg":9.9385736,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec8188","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36: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-09-09 15:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788948305000,"timestamp_ms":1788948305000,"timestamp_seconds":1788948305,"priority":1,"record_length":96,"hex_timestamp":"000001a085a0d468"} 
[2026-09-09 15:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":2568,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:36:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:36:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":2568,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":178348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:36:13] local.INFO: GPS data processed {"connection_id":178348,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:36:13] local.INFO: Acknowledgment sent {"connection_id":178348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:36:18] local.INFO: TCP Data received {"connection_id":178346,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:36:18] local.INFO: Processing buffer {"connection_id":178346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:36:18] local.INFO: Packet analysis {"connection_id":178346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:36:18] local.INFO: Extracted packet for processing {"connection_id":178346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":178346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:36:18] local.INFO: GPS data processed {"connection_id":178346,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:36:18] local.INFO: Acknowledgment sent {"connection_id":178346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:36:30] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:36:30] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:36:30] local.INFO: IMEI packet received {"connection_id":176949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":176949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:36:34] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:36:34] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:36:34] local.INFO: IMEI packet received {"connection_id":176949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":176949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:36:35] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:36:35] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:36:35] local.INFO: IMEI packet received {"connection_id":176949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":176949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:36:37] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a13610012d183380071fd350003700e72a..."} 
[2026-09-09 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a13610012d183380071fd350003700e72a..."} 
[2026-09-09 15:36:37] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a13610012d183380071fd350003700e72a..."} 
[2026-09-09 15:36:37] local.INFO: Packet analysis {"connection_id":176949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a1"} 
[2026-09-09 15:36:37] local.INFO: Extracted packet for processing {"connection_id":176949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a1"} 
[2026-09-09 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756560768,"raw_latitude":119526224,"longitude_deg":75.6560768,"latitude_deg":11.9526224,"altitude":55,"angle":231,"satellites":42,"speed":21,"hex_longitude":"2d183380","hex_latitude":"071fd350","is_valid_coordinates":true} 
[2026-09-09 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970772224001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18970909201137664,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744370830018899968,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36: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-09-09 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788948330000,"timestamp_ms":1788948330000,"timestamp_seconds":1788948330,"priority":1,"record_length":96,"hex_timestamp":"000001a085a13610"} 
[2026-09-09 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970772224001,"66":13972,"106":206,"83":41984,"24":21,"16":18970909201137664,"45":1744370830018899968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970772224001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:36:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 15:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18970909201137664,"km_value":18970909201137.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744370830018899968,"description":"Unknown IO ID 45"} 
[2026-09-09 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970772224001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1744370830018899968}} 
[2026-09-09 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":176949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:36:37] local.INFO: GPS data processed {"connection_id":176949,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:36:37] local.INFO: Acknowledgment sent {"connection_id":176949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:36:38] local.INFO: TCP Data received {"connection_id":178349,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:36:38] local.INFO: Processing buffer {"connection_id":178349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:36:38] local.INFO: IMEI packet received {"connection_id":178349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":178349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:36:39] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a139f8012d183140071fd2a8003800fa29..."} 
[2026-09-09 15:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a139f8012d183140071fd2a8003800fa29..."} 
[2026-09-09 15:36:39] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a139f8012d183140071fd2a8003800fa29..."} 
[2026-09-09 15:36:39] local.INFO: Packet analysis {"connection_id":176949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a1"} 
[2026-09-09 15:36:39] local.INFO: Extracted packet for processing {"connection_id":176949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a1"} 
[2026-09-09 15:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756560192,"raw_latitude":119526056,"longitude_deg":75.6560192,"latitude_deg":11.9526056,"altitude":56,"angle":250,"satellites":41,"speed":22,"hex_longitude":"2d183140","hex_latitude":"071fd2a8","is_valid_coordinates":true} 
[2026-09-09 15:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970772480001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18970934970941440,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743878248809582592,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36: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-09-09 15:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788948331000,"timestamp_ms":1788948331000,"timestamp_seconds":1788948331,"priority":1,"record_length":96,"hex_timestamp":"000001a085a139f8"} 
[2026-09-09 15:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:36: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-09-09 15:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:36: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-09-09 15:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970772480001,"66":14004,"106":206,"83":41984,"24":22,"16":18970934970941440,"45":1743878248809582592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 15:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970772480001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:36:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 15:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18970934970941440,"km_value":18970934970941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743878248809582592,"description":"Unknown IO ID 45"} 
[2026-09-09 15:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970772480001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1743878248809582592}} 
[2026-09-09 15:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":176949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:36:39] local.INFO: GPS data processed {"connection_id":176949,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:36:39] local.INFO: Acknowledgment sent {"connection_id":176949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:36:43] local.INFO: TCP Data received {"connection_id":178349,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:36:43] local.INFO: Processing buffer {"connection_id":178349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:36:43] local.INFO: IMEI packet received {"connection_id":178349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":178349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:36:44] local.INFO: TCP Data received {"connection_id":178348,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:36:44] local.INFO: Processing buffer {"connection_id":178348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:36:44] local.INFO: Packet analysis {"connection_id":178348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:36:44] local.INFO: Extracted packet for processing {"connection_id":178348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:36:44] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385736,"longitude_deg":76.297568,"latitude_deg":9.9385736,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec8188","is_valid_coordinates":true} 
[2026-09-09 15:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36: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-09-09 15:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948305000,"timestamp_ms":1788948305000,"timestamp_seconds":1788948305,"priority":1,"record_length":96,"hex_timestamp":"000001a085a0d468"} 
[2026-09-09 15:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":2568,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:36:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:36:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":2568,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":178348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:36:44] local.INFO: GPS data processed {"connection_id":178348,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:36:44] local.INFO: Acknowledgment sent {"connection_id":178348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:36:44] local.INFO: TCP Data received {"connection_id":178349,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:36:44] local.INFO: Processing buffer {"connection_id":178349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:36:44] local.INFO: Packet analysis {"connection_id":178349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:36:44] local.INFO: Extracted packet for processing {"connection_id":178349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":178349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:36:44] local.INFO: GPS data processed {"connection_id":178349,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:36:44] local.INFO: Acknowledgment sent {"connection_id":178349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:37:06] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:37:06] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:37:06] local.INFO: IMEI packet received {"connection_id":175556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":175556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:37:12] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:37:12] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:37:12] local.INFO: IMEI packet received {"connection_id":175556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":175556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:37:13] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:37:13] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a0d468012d7a15c005ec81880004003424..."} 
[2026-09-09 15:37:13] local.INFO: Packet analysis {"connection_id":175556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:37:13] local.INFO: Extracted packet for processing {"connection_id":175556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 15:37:13] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99385736,"longitude_deg":76.297568,"latitude_deg":9.9385736,"altitude":4,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7a15c0","hex_latitude":"05ec8188","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970689280001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580886528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37: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-09-09 15:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788948305000,"timestamp_ms":1788948305000,"timestamp_seconds":1788948305,"priority":1,"record_length":96,"hex_timestamp":"000001a085a0d468"} 
[2026-09-09 15:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970689280001,"66":2568,"100":206,"87":13824,"24":0,"16":130298239629918208,"45":8796937472580886528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970689280001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:37:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:37:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298239629918208,"km_value":130298239629918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580886528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970689280001,"power":2568,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796937472580886528}} 
[2026-09-09 15:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":175556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:37:13] local.INFO: GPS data processed {"connection_id":175556,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:37:13] local.INFO: Acknowledgment sent {"connection_id":175556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:37:16] local.INFO: TCP Data received {"connection_id":178349,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:37:16] local.INFO: Processing buffer {"connection_id":178349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:37:16] local.INFO: Packet analysis {"connection_id":178349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:37:16] local.INFO: Extracted packet for processing {"connection_id":178349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":178349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:37:16] local.INFO: GPS data processed {"connection_id":178349,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:37:16] local.INFO: Acknowledgment sent {"connection_id":178349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:37:35] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:37:35] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:37:35] local.INFO: IMEI packet received {"connection_id":175557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":175557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:37:35] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:37:35] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:37:35] local.INFO: IMEI packet received {"connection_id":175557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":175557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:37:40] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:37:40] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:37:40] local.INFO: IMEI packet received {"connection_id":175557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":175557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:37:41] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a1de08012d17d140071faff00032010523..."} 
[2026-09-09 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a1de08012d17d140071faff00032010523..."} 
[2026-09-09 15:37:41] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a1de08012d17d140071faff00032010523..."} 
[2026-09-09 15:37:41] local.INFO: Packet analysis {"connection_id":175557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a1"} 
[2026-09-09 15:37:41] local.INFO: Extracted packet for processing {"connection_id":175557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a1"} 
[2026-09-09 15:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756535616,"raw_latitude":119517168,"longitude_deg":75.6535616,"latitude_deg":11.9517168,"altitude":50,"angle":261,"satellites":35,"speed":21,"hex_longitude":"2d17d140","hex_latitude":"071faff0","is_valid_coordinates":true} 
[2026-09-09 15:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970779904001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18972270705770496,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726426800251383808,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37: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-09-09 15:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788948373000,"timestamp_ms":1788948373000,"timestamp_seconds":1788948373,"priority":1,"record_length":96,"hex_timestamp":"000001a085a1de08"} 
[2026-09-09 15:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 15:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970779904001,"66":12841,"102":206,"83":41984,"24":21,"16":18972270705770496,"45":1726426800251383808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 15:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970779904001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:37:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 15:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18972270705770496,"km_value":18972270705770.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726426800251383808,"description":"Unknown IO ID 45"} 
[2026-09-09 15:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970779904001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1726426800251383808}} 
[2026-09-09 15:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":175557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:37:41] local.INFO: GPS data processed {"connection_id":175557,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:37:41] local.INFO: Acknowledgment sent {"connection_id":175557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:37:43] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:37:43] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:37:43] local.INFO: IMEI packet received {"connection_id":175558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":175558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:37:48] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:37:48] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:37:48] local.INFO: IMEI packet received {"connection_id":175558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":175558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:37:49] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:37:49] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:37:49] local.INFO: Packet analysis {"connection_id":175558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:37:49] local.INFO: Extracted packet for processing {"connection_id":175558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":175558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:37:49] local.INFO: GPS data processed {"connection_id":175558,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:37:49] local.INFO: Acknowledgment sent {"connection_id":175558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:37:54] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:37:54] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859ebd40012d34cc4006aa49080000013422..."} 
[2026-09-09 15:37:54] local.INFO: Packet analysis {"connection_id":175558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:37:54] local.INFO: Extracted packet for processing {"connection_id":175558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970653952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788948168000,"timestamp_ms":1788948168000,"timestamp_seconds":1788948168,"priority":1,"record_length":96,"hex_timestamp":"000001a0859ebd40"} 
[2026-09-09 15:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 15:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970653952001,"66":25875,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970653952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:37:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970653952001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":175558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:37:54] local.INFO: GPS data processed {"connection_id":175558,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:37:54] local.INFO: Acknowledgment sent {"connection_id":175558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:38:01] local.INFO: TCP Data received {"connection_id":175559,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:38:01] local.INFO: Processing buffer {"connection_id":175559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:38:01] local.INFO: IMEI packet received {"connection_id":175559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":175559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:38:12] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a214b8012d17ad80071fa8d0003d010026..."} 
[2026-09-09 15:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a214b8012d17ad80071fa8d0003d010026..."} 
[2026-09-09 15:38:12] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a214b8012d17ad80071fa8d0003d010026..."} 
[2026-09-09 15:38:12] local.INFO: Packet analysis {"connection_id":175557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a2"} 
[2026-09-09 15:38:12] local.INFO: Extracted packet for processing {"connection_id":175557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a2"} 
[2026-09-09 15:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756526464,"raw_latitude":119515344,"longitude_deg":75.6526464,"latitude_deg":11.9515344,"altitude":61,"angle":256,"satellites":38,"speed":23,"hex_longitude":"2d17ad80","hex_latitude":"071fa8d0","is_valid_coordinates":true} 
[2026-09-09 15:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970783488001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18972717382369280,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716223332345442304,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:12] 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-09-09 15:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788948387000,"timestamp_ms":1788948387000,"timestamp_seconds":1788948387,"priority":1,"record_length":96,"hex_timestamp":"000001a085a214b8"} 
[2026-09-09 15:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 15:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970783488001,"66":13993,"61":206,"83":41984,"24":23,"16":18972717382369280,"45":1716223332345442304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-09-09 15:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970783488001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:38:12] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-09 15:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18972717382369280,"km_value":18972717382369.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716223332345442304,"description":"Unknown IO ID 45"} 
[2026-09-09 15:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970783488001,"power":13993,"unknown_61":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1716223332345442304}} 
[2026-09-09 15:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":175557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:38:12] local.INFO: GPS data processed {"connection_id":175557,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:38:12] local.INFO: Acknowledgment sent {"connection_id":175557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:38:30] local.INFO: TCP Data received {"connection_id":175771,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:38:30] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:38:30] local.INFO: IMEI packet received {"connection_id":175771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":175771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:38:35] local.INFO: TCP Data received {"connection_id":175771,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:38:35] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:38:35] local.INFO: IMEI packet received {"connection_id":175771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":175771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:38:36] local.INFO: TCP Data received {"connection_id":175771,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a24b68012d1788c0071f9f20004401062c..."} 
[2026-09-09 15:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a24b68012d1788c0071f9f20004401062c..."} 
[2026-09-09 15:38:36] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a24b68012d1788c0071f9f20004401062c..."} 
[2026-09-09 15:38:36] local.INFO: Packet analysis {"connection_id":175771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a2"} 
[2026-09-09 15:38:36] local.INFO: Extracted packet for processing {"connection_id":175771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a2"} 
[2026-09-09 15:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756517056,"raw_latitude":119512864,"longitude_deg":75.6517056,"latitude_deg":11.9512864,"altitude":68,"angle":262,"satellites":44,"speed":33,"hex_longitude":"2d1788c0","hex_latitude":"071f9f20","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970787072001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18973181238837248,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706160601927569408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788948401000,"timestamp_ms":1788948401000,"timestamp_seconds":1788948401,"priority":1,"record_length":96,"hex_timestamp":"000001a085a24b68"} 
[2026-09-09 15:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970787072001,"66":13722,"61":206,"83":41984,"24":33,"16":18973181238837248,"45":1706160601927569408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-09-09 15:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970787072001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:38:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-09 15:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18973181238837248,"km_value":18973181238837.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706160601927569408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970787072001,"power":13722,"unknown_61":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1706160601927569408}} 
[2026-09-09 15:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":175771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:38:36] local.INFO: GPS data processed {"connection_id":175771,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:38:36] local.INFO: Acknowledgment sent {"connection_id":175771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:38:38] local.INFO: TCP Data received {"connection_id":175772,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:38:38] local.INFO: Processing buffer {"connection_id":175772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:38:38] local.INFO: IMEI packet received {"connection_id":175772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":175772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:38:43] local.INFO: TCP Data received {"connection_id":175772,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:38:43] local.INFO: Processing buffer {"connection_id":175772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:38:43] local.INFO: IMEI packet received {"connection_id":175772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":175772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:38:44] local.INFO: TCP Data received {"connection_id":175772,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:38:44] local.INFO: Processing buffer {"connection_id":175772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:38:44] local.INFO: Packet analysis {"connection_id":175772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:38:44] local.INFO: Extracted packet for processing {"connection_id":175772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":175772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:38:44] local.INFO: GPS data processed {"connection_id":175772,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:38:44] local.INFO: Acknowledgment sent {"connection_id":175772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:38:49] local.INFO: TCP Data received {"connection_id":175772,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:38:49] local.INFO: Processing buffer {"connection_id":175772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:38:49] local.INFO: Packet analysis {"connection_id":175772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:38:49] local.INFO: Extracted packet for processing {"connection_id":175772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:38:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":175772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:38:49] local.INFO: GPS data processed {"connection_id":175772,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:38:49] local.INFO: Acknowledgment sent {"connection_id":175772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:39:07] local.INFO: TCP Data received {"connection_id":175771,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a3c268012d168c40071fa8600024011b24..."} 
[2026-09-09 15:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a3c268012d168c40071fa8600024011b24..."} 
[2026-09-09 15:39:07] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a3c268012d168c40071fa8600024011b24..."} 
[2026-09-09 15:39:07] local.INFO: Packet analysis {"connection_id":175771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:39:07] local.INFO: Extracted packet for processing {"connection_id":175771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756452416,"raw_latitude":119515232,"longitude_deg":75.6452416,"latitude_deg":11.9515232,"altitude":36,"angle":283,"satellites":36,"speed":30,"hex_longitude":"2d168c40","hex_latitude":"071fa860","is_valid_coordinates":true} 
[2026-09-09 15:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970813952001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18976698817052672,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629177195796848640,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788948497000,"timestamp_ms":1788948497000,"timestamp_seconds":1788948497,"priority":1,"record_length":96,"hex_timestamp":"000001a085a3c268"} 
[2026-09-09 15:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988079992,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2242083864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503889177935872,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2743330817,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2227175460,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1784021198,"corrected_to":0} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84748893833076606,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485674,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.WARNING: Large IO value detected {"io_id":184,"raw_value":10415841824740352,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,86,83,24,241,157,16,107,160,167,45,64,159,37,39,10,66,106,192,154,36,147,1,240,38,227,133,31,4,113,205,23,128,170,48,239,55,2,67,7,18,206,184],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1784021198,"validated":0}]} 
[2026-09-09 15:39:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666454390443081728,"timestamp_seconds":2666454390443081.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970813952001,"66":13928,"86":206,"83":41984,"24":30,"16":18976698817052672,"45":1629177195796848640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 15:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970813952001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:39:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 15:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18976698817052672,"km_value":18976698817052.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629177195796848640,"description":"Unknown IO ID 45"} 
[2026-09-09 15:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970813952001,"power":13928,"unknown_86":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1629177195796848640}} 
[2026-09-09 15:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":175771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:39:07] local.INFO: GPS data processed {"connection_id":175771,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:39:07] local.INFO: Acknowledgment sent {"connection_id":175771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:39:21] local.INFO: TCP Data received {"connection_id":175772,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:39:21] local.INFO: Processing buffer {"connection_id":175772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:39:21] local.INFO: Packet analysis {"connection_id":175772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:39:21] local.INFO: Extracted packet for processing {"connection_id":175772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:39:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":175772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:39:21] local.INFO: GPS data processed {"connection_id":175772,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:39:21] local.INFO: Acknowledgment sent {"connection_id":175772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:39:29] local.INFO: TCP Data received {"connection_id":176951,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:29] local.INFO: Processing buffer {"connection_id":176951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:29] local.INFO: IMEI packet received {"connection_id":176951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":176951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:39:30] local.INFO: TCP Data received {"connection_id":176951,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:30] local.INFO: Processing buffer {"connection_id":176951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:30] local.INFO: IMEI packet received {"connection_id":176951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":176951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:39:30] local.INFO: TCP Data received {"connection_id":176951,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:30] local.INFO: Processing buffer {"connection_id":176951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:30] local.INFO: IMEI packet received {"connection_id":176951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":176951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:39:31] local.INFO: TCP Data received {"connection_id":176951,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:31] local.INFO: Processing buffer {"connection_id":176951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:39:31] local.INFO: IMEI packet received {"connection_id":176951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":176951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:39:39] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:39:39] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:39:39] local.INFO: IMEI packet received {"connection_id":175774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":175774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:39:43] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:39:43] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:39:43] local.INFO: IMEI packet received {"connection_id":175774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":175774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:39:44] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:39:44] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:39:44] local.INFO: Packet analysis {"connection_id":175774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:39:44] local.INFO: Extracted packet for processing {"connection_id":175774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:39: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-09-09 15:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":175774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:39:44] local.INFO: GPS data processed {"connection_id":175774,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:39:44] local.INFO: Acknowledgment sent {"connection_id":175774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:40:16] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:40:16] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:40:16] local.INFO: Packet analysis {"connection_id":175774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:40:16] local.INFO: Extracted packet for processing {"connection_id":175774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":175774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:40:16] local.INFO: GPS data processed {"connection_id":175774,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:40:16] local.INFO: Acknowledgment sent {"connection_id":175774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:40:38] local.INFO: TCP Data received {"connection_id":176953,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:40:38] local.INFO: Processing buffer {"connection_id":176953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:40:38] local.INFO: IMEI packet received {"connection_id":176953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":176953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:40:43] local.INFO: TCP Data received {"connection_id":176953,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:40:43] local.INFO: Processing buffer {"connection_id":176953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:40:43] local.INFO: IMEI packet received {"connection_id":176953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":176953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:40:44] local.INFO: TCP Data received {"connection_id":176953,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:40:44] local.INFO: Processing buffer {"connection_id":176953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:40:44] local.INFO: Packet analysis {"connection_id":176953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:40:44] local.INFO: Extracted packet for processing {"connection_id":176953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":176953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:40:44] local.INFO: GPS data processed {"connection_id":176953,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:40:44] local.INFO: Acknowledgment sent {"connection_id":176953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:41:06] local.INFO: TCP Data received {"connection_id":176954,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:41:06] local.INFO: Processing buffer {"connection_id":176954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:41:06] local.INFO: IMEI packet received {"connection_id":176954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":176954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:41:11] local.INFO: TCP Data received {"connection_id":176954,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:41:11] local.INFO: Processing buffer {"connection_id":176954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:41:11] local.INFO: IMEI packet received {"connection_id":176954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":176954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:41:11] local.INFO: TCP Data received {"connection_id":176954,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085a61bf8012d0c988007041ae8000c00280d..."} 
[2026-09-09 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a61bf8012d0c988007041ae8000c00280d..."} 
[2026-09-09 15:41:11] local.INFO: Processing buffer {"connection_id":176954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a61bf8012d0c988007041ae8000c00280d..."} 
[2026-09-09 15:41:11] local.INFO: Packet analysis {"connection_id":176954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a6"} 
[2026-09-09 15:41:11] local.INFO: Extracted packet for processing {"connection_id":176954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a6"} 
[2026-09-09 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":755800192,"raw_latitude":117709544,"longitude_deg":75.5800192,"latitude_deg":11.7709544,"altitude":12,"angle":40,"satellites":13,"speed":38,"hex_longitude":"2d0c9880","hex_latitude":"07041ae8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970853376001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30954550856777728,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903253230397325312,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:11] 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-09-09 15:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788948651000,"timestamp_ms":1788948651000,"timestamp_seconds":1788948651,"priority":1,"record_length":96,"hex_timestamp":"000001a085a61bf8"} 
[2026-09-09 15:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 15:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:41:11] 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-09-09 15:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970853376001,"66":13722,"16":30954550856777728,"94":11008,"24":38,"45":903253230397325312},"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-09-09 15:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970853376001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30954550856777728,"km_value":30954550856777.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:41:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 15:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":903253230397325312,"description":"Unknown IO ID 45"} 
[2026-09-09 15:41:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457970853376001,"power":13722,"odometer":null,"unknown_94":11008,"ignition":38,"unknown_45":903253230397325312}} 
[2026-09-09 15:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":176954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:41:11] local.INFO: GPS data processed {"connection_id":176954,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:41:11] local.INFO: Acknowledgment sent {"connection_id":176954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:41:16] local.INFO: TCP Data received {"connection_id":176953,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:41:16] local.INFO: Processing buffer {"connection_id":176953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:41:16] local.INFO: Packet analysis {"connection_id":176953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:41:16] local.INFO: Extracted packet for processing {"connection_id":176953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":176953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:41:16] local.INFO: GPS data processed {"connection_id":176953,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:41:16] local.INFO: Acknowledgment sent {"connection_id":176953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:41:38] local.INFO: TCP Data received {"connection_id":178352,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:41:38] local.INFO: Processing buffer {"connection_id":178352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:41:38] local.INFO: IMEI packet received {"connection_id":178352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":178352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:41:42] local.INFO: TCP Data received {"connection_id":176954,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085a62b98012d0ca10007042818000b001d0d..."} 
[2026-09-09 15:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a62b98012d0ca10007042818000b001d0d..."} 
[2026-09-09 15:41:42] local.INFO: Processing buffer {"connection_id":176954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a62b98012d0ca10007042818000b001d0d..."} 
[2026-09-09 15:41:42] local.INFO: Packet analysis {"connection_id":176954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a6"} 
[2026-09-09 15:41:42] local.INFO: Extracted packet for processing {"connection_id":176954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a6"} 
[2026-09-09 15:41:42] local.INFO: GPS Element Parsed {"raw_longitude":755802368,"raw_latitude":117712920,"longitude_deg":75.5802368,"latitude_deg":11.771292,"altitude":11,"angle":29,"satellites":13,"speed":39,"hex_longitude":"2d0ca100","hex_latitude":"07042818","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970854656001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30954744130306048,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907616092537153536,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:42] 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-09-09 15:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788948655000,"timestamp_ms":1788948655000,"timestamp_seconds":1788948655,"priority":1,"record_length":96,"hex_timestamp":"000001a085a62b98"} 
[2026-09-09 15:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:41: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-09-09 15: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 15:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:41:42] 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-09-09 15:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970854656001,"66":14439,"16":30954744130306048,"94":11008,"24":39,"45":907616092537153536},"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-09-09 15:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970854656001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30954744130306048,"km_value":30954744130306.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:41:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 15:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":907616092537153536,"description":"Unknown IO ID 45"} 
[2026-09-09 15:41:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457970854656001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":39,"unknown_45":907616092537153536}} 
[2026-09-09 15:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":176954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789484,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:41:42] local.INFO: GPS data processed {"connection_id":176954,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:41:42] local.INFO: Acknowledgment sent {"connection_id":176954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:41:43] local.INFO: TCP Data received {"connection_id":178352,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:41:43] local.INFO: Processing buffer {"connection_id":178352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:41:43] local.INFO: IMEI packet received {"connection_id":178352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":178352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:41:44] local.INFO: TCP Data received {"connection_id":178352,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:41:44] local.INFO: Processing buffer {"connection_id":178352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:41:44] local.INFO: Packet analysis {"connection_id":178352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:41:44] local.INFO: Extracted packet for processing {"connection_id":178352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":178352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:41:44] local.INFO: GPS data processed {"connection_id":178352,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:41:44] local.INFO: Acknowledgment sent {"connection_id":178352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:42:10] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:42:10] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:42:10] local.INFO: IMEI packet received {"connection_id":176955,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":176955,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:42:10] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:42:10] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:42:10] local.INFO: IMEI packet received {"connection_id":176955,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":176955,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:42:12] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:42:12] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:42:12] local.INFO: IMEI packet received {"connection_id":176955,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":176955,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:42:13] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085a73538012d0c68400704d670001a01090e..."} 
[2026-09-09 15:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a73538012d0c68400704d670001a01090e..."} 
[2026-09-09 15:42:13] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a73538012d0c68400704d670001a01090e..."} 
[2026-09-09 15:42:13] local.INFO: Packet analysis {"connection_id":176955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a7"} 
[2026-09-09 15:42:13] local.INFO: Extracted packet for processing {"connection_id":176955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a7"} 
[2026-09-09 15:42:13] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117757552,"longitude_deg":75.578784,"latitude_deg":11.7757552,"altitude":26,"angle":265,"satellites":14,"speed":40,"hex_longitude":"2d0c6840","hex_latitude":"0704d670","is_valid_coordinates":true} 
[2026-09-09 15:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970871552001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30957497204342784,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900649586875770880,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:13] 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-09-09 15:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788948723000,"timestamp_ms":1788948723000,"timestamp_seconds":1788948723,"priority":1,"record_length":96,"hex_timestamp":"000001a085a73538"} 
[2026-09-09 15:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:42: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-09-09 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 15:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:42:13] 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-09-09 15:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970871552001,"66":14548,"95":206,"94":10240,"24":40,"16":30957497204342784,"45":900649586875770880},"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-09-09 15:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970871552001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:42:13] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 15:42:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30957497204342784,"km_value":30957497204342.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":900649586875770880,"description":"Unknown IO ID 45"} 
[2026-09-09 15:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970871552001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":900649586875770880}} 
[2026-09-09 15:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":176955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789486,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:42:13] local.INFO: GPS data processed {"connection_id":176955,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:42:13] local.INFO: Acknowledgment sent {"connection_id":176955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:42:15] local.INFO: TCP Data received {"connection_id":178352,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:42:15] local.INFO: Processing buffer {"connection_id":178352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:42:15] local.INFO: Packet analysis {"connection_id":178352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:42:15] local.INFO: Extracted packet for processing {"connection_id":178352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":178352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:42:15] local.INFO: GPS data processed {"connection_id":178352,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:42:15] local.INFO: Acknowledgment sent {"connection_id":178352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:42:16] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085a748c0012d0c53400704d1f8001b00fb0e..."} 
[2026-09-09 15:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a748c0012d0c53400704d1f8001b00fb0e..."} 
[2026-09-09 15:42:16] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a748c0012d0c53400704d1f8001b00fb0e..."} 
[2026-09-09 15:42:16] local.INFO: Packet analysis {"connection_id":176955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a7"} 
[2026-09-09 15:42:16] local.INFO: Extracted packet for processing {"connection_id":176955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a7"} 
[2026-09-09 15:42:16] local.INFO: GPS Element Parsed {"raw_longitude":755782464,"raw_latitude":117756408,"longitude_deg":75.5782464,"latitude_deg":11.7756408,"altitude":27,"angle":251,"satellites":14,"speed":37,"hex_longitude":"2d0c5340","hex_latitude":"0704d1f8","is_valid_coordinates":true} 
[2026-09-09 15:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970873088001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30957759197347840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924923154432,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:16] 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-09-09 15:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788948728000,"timestamp_ms":1788948728000,"timestamp_seconds":1788948728,"priority":1,"record_length":96,"hex_timestamp":"000001a085a748c0"} 
[2026-09-09 15:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 15:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:42: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-09-09 15:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970873088001,"66":14537,"95":206,"94":10240,"24":37,"16":30957759197347840,"45":894034924923154432},"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-09-09 15:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970873088001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:42:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 15:42:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30957759197347840,"km_value":30957759197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924923154432,"description":"Unknown IO ID 45"} 
[2026-09-09 15:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970873088001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":894034924923154432}} 
[2026-09-09 15:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":176955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:42:16] local.INFO: GPS data processed {"connection_id":176955,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:42:16] local.INFO: Acknowledgment sent {"connection_id":176955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:42:38] local.INFO: TCP Data received {"connection_id":175776,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:42:38] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:42:38] local.INFO: IMEI packet received {"connection_id":175776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":175776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:42:44] local.INFO: TCP Data received {"connection_id":175776,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:42:44] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:42:44] local.INFO: IMEI packet received {"connection_id":175776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":175776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:42:45] local.INFO: TCP Data received {"connection_id":175776,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:42:45] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:42:45] local.INFO: Packet analysis {"connection_id":175776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:42:45] local.INFO: Extracted packet for processing {"connection_id":175776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 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-09-09 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:42:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":175776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:42:45] local.INFO: GPS data processed {"connection_id":175776,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:42:45] local.INFO: Acknowledgment sent {"connection_id":175776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:42:47] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085a75090012d0c4d400704cee8001b00ef0e..."} 
[2026-09-09 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a75090012d0c4d400704cee8001b00ef0e..."} 
[2026-09-09 15:42:47] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a75090012d0c4d400704cee8001b00ef0e..."} 
[2026-09-09 15:42:47] local.INFO: Packet analysis {"connection_id":176955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a7"} 
[2026-09-09 15:42:47] local.INFO: Extracted packet for processing {"connection_id":176955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a7"} 
[2026-09-09 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":755780928,"raw_latitude":117755624,"longitude_deg":75.5780928,"latitude_deg":11.7755624,"altitude":27,"angle":239,"satellites":14,"speed":32,"hex_longitude":"2d0c4d40","hex_latitude":"0704cee8","is_valid_coordinates":true} 
[2026-09-09 15:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970874368001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30957840801726464,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888123950411937792,"note":"Value kept but may cause issues"} 
[2026-09-09 15:42:47] 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-09-09 15:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788948730000,"timestamp_ms":1788948730000,"timestamp_seconds":1788948730,"priority":1,"record_length":96,"hex_timestamp":"000001a085a75090"} 
[2026-09-09 15:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 15:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:42:47] 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-09-09 15:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970874368001,"66":14461,"95":206,"94":10240,"24":32,"16":30957840801726464,"45":888123950411937792},"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-09-09 15:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970874368001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:42:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 15:42:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30957840801726464,"km_value":30957840801726.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":888123950411937792,"description":"Unknown IO ID 45"} 
[2026-09-09 15:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970874368001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":888123950411937792}} 
[2026-09-09 15:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":176955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789490,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:42:47] local.INFO: GPS data processed {"connection_id":176955,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:42:47] local.INFO: Acknowledgment sent {"connection_id":176955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:43:05] local.INFO: TCP Data received {"connection_id":178353,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:43:05] local.INFO: Processing buffer {"connection_id":178353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:43:05] local.INFO: IMEI packet received {"connection_id":178353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":178353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:43:06] local.INFO: TCP Data received {"connection_id":178353,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:43:06] local.INFO: Processing buffer {"connection_id":178353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:43:06] local.INFO: IMEI packet received {"connection_id":178353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":178353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:43:06] local.INFO: TCP Data received {"connection_id":178353,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085a75c48012d0c44c00704cb90001b00fe0e..."} 
[2026-09-09 15:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a75c48012d0c44c00704cb90001b00fe0e..."} 
[2026-09-09 15:43:06] local.INFO: Processing buffer {"connection_id":178353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a75c48012d0c44c00704cb90001b00fe0e..."} 
[2026-09-09 15:43:06] local.INFO: Packet analysis {"connection_id":178353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a7"} 
[2026-09-09 15:43:06] local.INFO: Extracted packet for processing {"connection_id":178353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a7"} 
[2026-09-09 15:43:06] local.INFO: GPS Element Parsed {"raw_longitude":755778752,"raw_latitude":117754768,"longitude_deg":75.5778752,"latitude_deg":11.7754768,"altitude":27,"angle":254,"satellites":14,"speed":33,"hex_longitude":"2d0c44c0","hex_latitude":"0704cb90","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970874880001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30957952470876160,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886435100551473152,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:06] 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-09-09 15:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788948733000,"timestamp_ms":1788948733000,"timestamp_seconds":1788948733,"priority":1,"record_length":96,"hex_timestamp":"000001a085a75c48"} 
[2026-09-09 15:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 15:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:43:06] 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-09-09 15:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970874880001,"66":13961,"95":206,"94":10240,"24":33,"16":30957952470876160,"45":886435100551473152},"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-09-09 15:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970874880001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:43:06] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 15:43:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30957952470876160,"km_value":30957952470876.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":886435100551473152,"description":"Unknown IO ID 45"} 
[2026-09-09 15:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970874880001,"power":13961,"unknown_95":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":886435100551473152}} 
[2026-09-09 15:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":178353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789491,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:43:07] local.INFO: GPS data processed {"connection_id":178353,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:43:07] local.INFO: Acknowledgment sent {"connection_id":178353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:43:16] local.INFO: TCP Data received {"connection_id":175776,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:43:16] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a360c0012d34cc4006aa49080000013423..."} 
[2026-09-09 15:43:16] local.INFO: Packet analysis {"connection_id":175776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:43:16] local.INFO: Extracted packet for processing {"connection_id":175776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a3"} 
[2026-09-09 15:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970731008001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788948472000,"timestamp_ms":1788948472000,"timestamp_seconds":1788948472,"priority":1,"record_length":96,"hex_timestamp":"000001a085a360c0"} 
[2026-09-09 15:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 15:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970731008001,"66":25843,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970731008001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970731008001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":175776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:43:16] local.INFO: GPS data processed {"connection_id":175776,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:43:16] local.INFO: Acknowledgment sent {"connection_id":175776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:43:38] local.INFO: TCP Data received {"connection_id":178353,"ip":"42.106.6.18","data_length":93,"data_hex":"00000000000000518e01000001a085a871a0012d0b62000704cad0001a013f0e..."} 
[2026-09-09 15:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178353,"packet_length":93,"packet_hex":"00000000000000518e01000001a085a871a0012d0b62000704cad0001a013f0e..."} 
[2026-09-09 15:43:38] local.INFO: Processing buffer {"connection_id":178353,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a085a871a0012d0b62000704cad0001a013f0e..."} 
[2026-09-09 15:43:38] local.INFO: Packet analysis {"connection_id":178353,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a085a8"} 
[2026-09-09 15:43:38] local.INFO: Extracted packet for processing {"connection_id":178353,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a085a8"} 
[2026-09-09 15:43:38] local.INFO: GPS Element Parsed {"raw_longitude":755720704,"raw_latitude":117754576,"longitude_deg":75.5720704,"latitude_deg":11.7754576,"altitude":26,"angle":319,"satellites":14,"speed":18,"hex_longitude":"2d0b6200","hex_latitude":"0704cad0","is_valid_coordinates":true} 
[2026-09-09 15:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-09 15:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:43:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:43:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178353,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 15:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178353,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178353,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-09 15:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:43:38] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":178353,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:43:38] local.ERROR: GPS data processing failed {"connection_id":178353,"error":"No valid data to process"} 
[2026-09-09 15:43:38] local.INFO: Acknowledgment sent {"connection_id":178353,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:43:41] local.INFO: TCP Data received {"connection_id":178356,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:43:41] local.INFO: Processing buffer {"connection_id":178356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:43:41] local.INFO: IMEI packet received {"connection_id":178356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":178356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:43:44] local.INFO: TCP Data received {"connection_id":178355,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:43:44] local.INFO: Processing buffer {"connection_id":178355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:43:44] local.INFO: IMEI packet received {"connection_id":178355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":178355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:43:46] local.INFO: TCP Data received {"connection_id":178356,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:43:46] local.INFO: Processing buffer {"connection_id":178356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:43:46] local.INFO: IMEI packet received {"connection_id":178356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 15:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":178356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:43:48] local.INFO: TCP Data received {"connection_id":178356,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0859e9e00012c5f200009b56b1002a000882c..."} 
[2026-09-09 15:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0859e9e00012c5f200009b56b1002a000882c..."} 
[2026-09-09 15:43:48] local.INFO: Processing buffer {"connection_id":178356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0859e9e00012c5f200009b56b1002a000882c..."} 
[2026-09-09 15:43:48] local.INFO: Packet analysis {"connection_id":178356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:43:48] local.INFO: Extracted packet for processing {"connection_id":178356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0859e"} 
[2026-09-09 15:43:48] local.INFO: GPS Element Parsed {"raw_longitude":744431616,"raw_latitude":162884368,"longitude_deg":74.4431616,"latitude_deg":16.2884368,"altitude":672,"angle":136,"satellites":44,"speed":0,"hex_longitude":"2c5f2000","hex_latitude":"09b56b10","is_valid_coordinates":true} 
[2026-09-09 15:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970723584001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6854478674556293122,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788948160000,"timestamp_ms":1788948160000,"timestamp_seconds":1788948160,"priority":1,"record_length":96,"hex_timestamp":"000001a0859e9e00"} 
[2026-09-09 15:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-09 15:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 15:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 15:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 15:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 15:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970723584001,"66":28300,"135":206,"117":13312,"24":0,"16":3893920429768704,"44":6854478674556293122},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,117,24,16,44]} 
[2026-09-09 15:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 15:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 15:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970723584001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:43:48] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-09 15:43:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":13312,"description":"Unknown IO ID 117"} 
[2026-09-09 15:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":6854478674556293122,"description":"Unknown IO ID 44"} 
[2026-09-09 15:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970723584001,"power":28300,"unknown_135":206,"unknown_117":13312,"ignition":0,"odometer":null,"unknown_44":6854478674556293122}} 
[2026-09-09 15:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":178356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:43:48] local.INFO: GPS data processed {"connection_id":178356,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:43:48] local.INFO: Acknowledgment sent {"connection_id":178356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:43:49] local.INFO: TCP Data received {"connection_id":178355,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:43:49] local.INFO: Processing buffer {"connection_id":178355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:43:49] local.INFO: IMEI packet received {"connection_id":178355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":178355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:43:51] local.INFO: TCP Data received {"connection_id":178355,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:43:51] local.INFO: Processing buffer {"connection_id":178355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:43:51] local.INFO: Packet analysis {"connection_id":178355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:43:51] local.INFO: Extracted packet for processing {"connection_id":178355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":178355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:43:51] local.INFO: GPS data processed {"connection_id":178355,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:43:51] local.INFO: Acknowledgment sent {"connection_id":178355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:43:56] local.INFO: TCP Data received {"connection_id":178355,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:43:56] local.INFO: Processing buffer {"connection_id":178355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:43:56] local.INFO: Packet analysis {"connection_id":178355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:43:56] local.INFO: Extracted packet for processing {"connection_id":178355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:43:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:43:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":178355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:43:56] local.INFO: GPS data processed {"connection_id":178355,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:43:56] local.INFO: Acknowledgment sent {"connection_id":178355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:44:12] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:44:12] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:44:12] local.INFO: IMEI packet received {"connection_id":176958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":176958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:44:15] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.18","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 15:44:15] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-09 15:44:15] local.INFO: IMEI packet received {"connection_id":176958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":176958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:44:33] local.INFO: TCP Data received {"connection_id":178357,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:44:33] local.INFO: Processing buffer {"connection_id":178357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:44:33] local.INFO: IMEI packet received {"connection_id":178357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":178357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:44:34] local.INFO: TCP Data received {"connection_id":178357,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:44:34] local.INFO: Processing buffer {"connection_id":178357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:44:34] local.INFO: IMEI packet received {"connection_id":178357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":178357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:44:38] local.INFO: TCP Data received {"connection_id":176959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:44:38] local.INFO: Processing buffer {"connection_id":176959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:44:38] local.INFO: IMEI packet received {"connection_id":176959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":176959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:44:40] local.INFO: TCP Data received {"connection_id":178357,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:44:40] local.INFO: Processing buffer {"connection_id":178357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:44:40] local.INFO: IMEI packet received {"connection_id":178357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":178357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:44:41] local.INFO: TCP Data received {"connection_id":178357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a87970012d12b980071f25880031011126..."} 
[2026-09-09 15:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a87970012d12b980071f25880031011126..."} 
[2026-09-09 15:44:41] local.INFO: Processing buffer {"connection_id":178357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a87970012d12b980071f25880031011126..."} 
[2026-09-09 15:44:41] local.INFO: Packet analysis {"connection_id":178357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:44:41] local.INFO: Extracted packet for processing {"connection_id":178357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756201856,"raw_latitude":119481736,"longitude_deg":75.6201856,"latitude_deg":11.9481736,"altitude":49,"angle":273,"satellites":38,"speed":44,"hex_longitude":"2d12b980","hex_latitude":"071f2588","is_valid_coordinates":true} 
[2026-09-09 15:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970892800001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18989824237109248,"note":"Value kept but may cause issues"} 
[2026-09-09 15:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1357131630797438976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788948806000,"timestamp_ms":1788948806000,"timestamp_seconds":1788948806,"priority":1,"record_length":96,"hex_timestamp":"000001a085a87970"} 
[2026-09-09 15:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 15:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970892800001,"66":14352,"31":206,"83":41984,"24":44,"16":18989824237109248,"45":1357131630797438976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-09 15:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970892800001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:44:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-09 15:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18989824237109248,"km_value":18989824237109.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1357131630797438976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970892800001,"power":14352,"unknown_31":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1357131630797438976}} 
[2026-09-09 15:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":178357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:44:41] local.INFO: GPS data processed {"connection_id":178357,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:44:41] local.INFO: Acknowledgment sent {"connection_id":178357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:44:41] local.INFO: TCP Data received {"connection_id":178358,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:44:41] local.INFO: Processing buffer {"connection_id":178358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:44:41] local.INFO: IMEI packet received {"connection_id":178358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":178358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:44:43] local.INFO: TCP Data received {"connection_id":176959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:44:43] local.INFO: Processing buffer {"connection_id":176959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:44:43] local.INFO: IMEI packet received {"connection_id":176959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":176959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:44:44] local.INFO: TCP Data received {"connection_id":176959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:44:44] local.INFO: Processing buffer {"connection_id":176959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:44:44] local.INFO: Packet analysis {"connection_id":176959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:44:44] local.INFO: Extracted packet for processing {"connection_id":176959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:44: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-09-09 15:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":176959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:44:44] local.INFO: GPS data processed {"connection_id":176959,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:44:44] local.INFO: Acknowledgment sent {"connection_id":176959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:45:11] local.INFO: TCP Data received {"connection_id":178357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a894c8012d129c40071f24a00037010629..."} 
[2026-09-09 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a894c8012d129c40071f24a00037010629..."} 
[2026-09-09 15:45:11] local.INFO: Processing buffer {"connection_id":178357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a894c8012d129c40071f24a00037010629..."} 
[2026-09-09 15:45:11] local.INFO: Packet analysis {"connection_id":178357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:45:11] local.INFO: Extracted packet for processing {"connection_id":178357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756194368,"raw_latitude":119481504,"longitude_deg":75.6194368,"latitude_deg":11.9481504,"altitude":55,"angle":262,"satellites":41,"speed":37,"hex_longitude":"2d129c40","hex_latitude":"071f24a0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970894336001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18990176424427520,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1349250331449853952,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788948813000,"timestamp_ms":1788948813000,"timestamp_seconds":1788948813,"priority":1,"record_length":96,"hex_timestamp":"000001a085a894c8"} 
[2026-09-09 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-09-09 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144320,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2242369864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503889351868416,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":117,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2818850817,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":30,"raw_value":4216324141,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637684176939595,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3489738003,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080554,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84745494366461693,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":248,"raw_value":14074810296446976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.WARNING: Large IO value detected {"io_id":19,"raw_value":-5422326121393291211,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:11] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,31,83,24,241,157,16,119,160,98,45,128,32,46,38,10,66,145,118,192,18,35,1,240,227,117,133,30,4,113,205,49,236,100,37,239,54,2,67,7,48,41,206,216,248,19],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-09-09 15:45:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531122437744492544,"timestamp_seconds":3531122437744492.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 15:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970894336001,"66":13993,"31":206,"83":41984,"24":37,"16":18990176424427520,"45":1349250331449853952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-09 15:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970894336001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:45:11] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-09 15:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18990176424427520,"km_value":18990176424427.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1349250331449853952,"description":"Unknown IO ID 45"} 
[2026-09-09 15:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970894336001,"power":13993,"unknown_31":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1349250331449853952}} 
[2026-09-09 15:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":178357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:45:12] local.INFO: GPS data processed {"connection_id":178357,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:45:12] local.INFO: Acknowledgment sent {"connection_id":178357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:45:16] local.INFO: TCP Data received {"connection_id":176959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:45:16] local.INFO: Processing buffer {"connection_id":176959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:45:16] local.INFO: Packet analysis {"connection_id":176959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:45:16] local.INFO: Extracted packet for processing {"connection_id":176959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":176959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:45:16] local.INFO: GPS data processed {"connection_id":176959,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:45:16] local.INFO: Acknowledgment sent {"connection_id":176959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:45:29] local.INFO: TCP Data received {"connection_id":175778,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:45:29] local.INFO: Processing buffer {"connection_id":175778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:45:29] local.INFO: IMEI packet received {"connection_id":175778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":175778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:45:30] local.INFO: TCP Data received {"connection_id":175778,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:45:30] local.INFO: Processing buffer {"connection_id":175778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:45:30] local.INFO: IMEI packet received {"connection_id":175778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":175778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:45:35] local.INFO: TCP Data received {"connection_id":175778,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:45:35] local.INFO: Processing buffer {"connection_id":175778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:45:35] local.INFO: IMEI packet received {"connection_id":175778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":175778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:45:36] local.INFO: TCP Data received {"connection_id":175778,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085a8bfc0012d127740071f20a0003e010626..."} 
[2026-09-09 15:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a8bfc0012d127740071f20a0003e010626..."} 
[2026-09-09 15:45:36] local.INFO: Processing buffer {"connection_id":175778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a8bfc0012d127740071f20a0003e010626..."} 
[2026-09-09 15:45:36] local.INFO: Packet analysis {"connection_id":175778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:45:36] local.INFO: Extracted packet for processing {"connection_id":175778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756184896,"raw_latitude":119480480,"longitude_deg":75.6184896,"latitude_deg":11.948048,"altitude":62,"angle":262,"satellites":38,"speed":31,"hex_longitude":"2d127740","hex_latitude":"071f20a0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970896128001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18990631690960896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1341017188381007872,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788948824000,"timestamp_ms":1788948824000,"timestamp_seconds":1788948824,"priority":1,"record_length":96,"hex_timestamp":"000001a085a8bfc0"} 
[2026-09-09 15:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970896128001,"66":13993,"31":206,"83":41984,"24":31,"16":18990631690960896,"45":1341017188381007872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-09 15:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970896128001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:45:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-09 15:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18990631690960896,"km_value":18990631690960.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1341017188381007872,"description":"Unknown IO ID 45"} 
[2026-09-09 15:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970896128001,"power":13993,"unknown_31":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1341017188381007872}} 
[2026-09-09 15:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":175778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:45:36] local.INFO: GPS data processed {"connection_id":175778,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:45:36] local.INFO: Acknowledgment sent {"connection_id":175778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:45:38] local.INFO: TCP Data received {"connection_id":178359,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:45:38] local.INFO: Processing buffer {"connection_id":178359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:45:38] local.INFO: IMEI packet received {"connection_id":178359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":178359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:45:43] local.INFO: TCP Data received {"connection_id":178359,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:45:43] local.INFO: Processing buffer {"connection_id":178359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:45:43] local.INFO: IMEI packet received {"connection_id":178359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":178359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:45:44] local.INFO: TCP Data received {"connection_id":178359,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:45:44] local.INFO: Processing buffer {"connection_id":178359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:45:44] local.INFO: Packet analysis {"connection_id":178359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:45:44] local.INFO: Extracted packet for processing {"connection_id":178359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":178359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:45:44] local.INFO: GPS data processed {"connection_id":178359,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:45:44] local.INFO: Acknowledgment sent {"connection_id":178359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:46:07] local.INFO: TCP Data received {"connection_id":175778,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085aa1780012d112400071f23d0003d00ce20..."} 
[2026-09-09 15:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085aa1780012d112400071f23d0003d00ce20..."} 
[2026-09-09 15:46:07] local.INFO: Processing buffer {"connection_id":175778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085aa1780012d112400071f23d0003d00ce20..."} 
[2026-09-09 15:46:07] local.INFO: Packet analysis {"connection_id":175778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085aa"} 
[2026-09-09 15:46:07] local.INFO: Extracted packet for processing {"connection_id":175778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085aa"} 
[2026-09-09 15:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756098048,"raw_latitude":119481296,"longitude_deg":75.6098048,"latitude_deg":11.9481296,"altitude":61,"angle":206,"satellites":32,"speed":34,"hex_longitude":"2d112400","hex_latitude":"071f23d0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970920960001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18994986787799040,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236027022068246528,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788948912000,"timestamp_ms":1788948912000,"timestamp_seconds":1788948912,"priority":1,"record_length":96,"hex_timestamp":"000001a085aa1780"} 
[2026-09-09 15:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:46: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-09-09 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 15:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970920960001,"66":13993,"32":206,"83":41984,"24":34,"16":18994986787799040,"45":1236027022068246528},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-09 15:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970920960001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:46:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-09 15:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18994986787799040,"km_value":18994986787799.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236027022068246528,"description":"Unknown IO ID 45"} 
[2026-09-09 15:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970920960001,"power":13993,"unknown_32":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1236027022068246528}} 
[2026-09-09 15:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":175778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:46:07] local.INFO: GPS data processed {"connection_id":175778,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:46:07] local.INFO: Acknowledgment sent {"connection_id":175778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:46:16] local.INFO: TCP Data received {"connection_id":178359,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:46:16] local.INFO: Processing buffer {"connection_id":178359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:46:16] local.INFO: Packet analysis {"connection_id":178359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:46:16] local.INFO: Extracted packet for processing {"connection_id":178359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":178359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:46:16] local.INFO: GPS data processed {"connection_id":178359,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:46:16] local.INFO: Acknowledgment sent {"connection_id":178359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:46:28] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:46:28] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:46:28] local.INFO: IMEI packet received {"connection_id":176961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":176961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:46:28] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:46:28] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:46:28] local.INFO: IMEI packet received {"connection_id":175777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":175777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:46:34] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:46:34] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:46:34] local.INFO: IMEI packet received {"connection_id":176961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":176961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:46:35] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:46:35] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:46:35] local.INFO: IMEI packet received {"connection_id":176961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":176961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:46:36] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085aa3aa8012d111940071f0168003d00c421..."} 
[2026-09-09 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085aa3aa8012d111940071f0168003d00c421..."} 
[2026-09-09 15:46:36] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085aa3aa8012d111940071f0168003d00c421..."} 
[2026-09-09 15:46:36] local.INFO: Packet analysis {"connection_id":176961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085aa"} 
[2026-09-09 15:46:36] local.INFO: Extracted packet for processing {"connection_id":176961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085aa"} 
[2026-09-09 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756095296,"raw_latitude":119472488,"longitude_deg":75.6095296,"latitude_deg":11.9472488,"altitude":61,"angle":196,"satellites":33,"speed":45,"hex_longitude":"2d111940","hex_latitude":"071f0168","is_valid_coordinates":true} 
[2026-09-09 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970921472001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18995433464397824,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235112228393570304,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788948921000,"timestamp_ms":1788948921000,"timestamp_seconds":1788948921,"priority":1,"record_length":96,"hex_timestamp":"000001a085aa3aa8"} 
[2026-09-09 15:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970921472001,"66":14070,"32":206,"83":41984,"24":45,"16":18995433464397824,"45":1235112228393570304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-09 15:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970921472001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:46:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-09 15:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18995433464397824,"km_value":18995433464397.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235112228393570304,"description":"Unknown IO ID 45"} 
[2026-09-09 15:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970921472001,"power":14070,"unknown_32":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1235112228393570304}} 
[2026-09-09 15:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":176961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:46:36] local.INFO: GPS data processed {"connection_id":176961,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:46:36] local.INFO: Acknowledgment sent {"connection_id":176961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:46:36] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085aa5218012d110ec0071ee6c8003d00cf25..."} 
[2026-09-09 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085aa5218012d110ec0071ee6c8003d00cf25..."} 
[2026-09-09 15:46:36] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085aa5218012d110ec0071ee6c8003d00cf25..."} 
[2026-09-09 15:46:36] local.INFO: Packet analysis {"connection_id":176961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085aa"} 
[2026-09-09 15:46:36] local.INFO: Extracted packet for processing {"connection_id":176961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085aa"} 
[2026-09-09 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756092608,"raw_latitude":119465672,"longitude_deg":75.6092608,"latitude_deg":11.9465672,"altitude":61,"angle":207,"satellites":37,"speed":49,"hex_longitude":"2d110ec0","hex_latitude":"071ee6c8","is_valid_coordinates":true} 
[2026-09-09 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970923776001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18995785651716096,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1232086372391675904,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788948927000,"timestamp_ms":1788948927000,"timestamp_seconds":1788948927,"priority":1,"record_length":96,"hex_timestamp":"000001a085aa5218"} 
[2026-09-09 15:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 15:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970923776001,"66":14004,"32":206,"83":41984,"24":49,"16":18995785651716096,"45":1232086372391675904},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-09 15:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970923776001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:46:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-09 15:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18995785651716096,"km_value":18995785651716.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1232086372391675904,"description":"Unknown IO ID 45"} 
[2026-09-09 15:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970923776001,"power":14004,"unknown_32":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1232086372391675904}} 
[2026-09-09 15:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":176961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:46:36] local.INFO: GPS data processed {"connection_id":176961,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:46:36] local.INFO: Acknowledgment sent {"connection_id":176961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:46:38] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:46:38] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:46:38] local.INFO: IMEI packet received {"connection_id":175779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":175779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:46:43] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:46:43] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:46:43] local.INFO: IMEI packet received {"connection_id":175779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":175779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:46:44] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:46:44] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:46:44] local.INFO: Packet analysis {"connection_id":175779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:46:44] local.INFO: Extracted packet for processing {"connection_id":175779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":175779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:46:44] local.INFO: GPS data processed {"connection_id":175779,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:46:44] local.INFO: Acknowledgment sent {"connection_id":175779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:47:07] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085aa7158012d10f800071ec668003c00d624..."} 
[2026-09-09 15:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085aa7158012d10f800071ec668003c00d624..."} 
[2026-09-09 15:47:07] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085aa7158012d10f800071ec668003c00d624..."} 
[2026-09-09 15:47:07] local.INFO: Packet analysis {"connection_id":176961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085aa"} 
[2026-09-09 15:47:07] local.INFO: Extracted packet for processing {"connection_id":176961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085aa"} 
[2026-09-09 15:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756086784,"raw_latitude":119457384,"longitude_deg":75.6086784,"latitude_deg":11.9457384,"altitude":60,"angle":214,"satellites":36,"speed":50,"hex_longitude":"2d10f800","hex_latitude":"071ec668","is_valid_coordinates":true} 
[2026-09-09 15:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970925312001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18996275277987840,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1229130885134469120,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788948935000,"timestamp_ms":1788948935000,"timestamp_seconds":1788948935,"priority":1,"record_length":96,"hex_timestamp":"000001a085aa7158"} 
[2026-09-09 15:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 15:47: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-09-09 15:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970925312001,"66":13928,"32":206,"83":41984,"24":50,"16":18996275277987840,"45":1229130885134469120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-09 15:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970925312001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:47:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-09 15:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18996275277987840,"km_value":18996275277987.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1229130885134469120,"description":"Unknown IO ID 45"} 
[2026-09-09 15:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970925312001,"power":13928,"unknown_32":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1229130885134469120}} 
[2026-09-09 15:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":176961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:47:07] local.INFO: GPS data processed {"connection_id":176961,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:47:07] local.INFO: Acknowledgment sent {"connection_id":176961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:47:16] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:47:16] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:47:16] local.INFO: Packet analysis {"connection_id":175779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:47:16] local.INFO: Extracted packet for processing {"connection_id":175779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":175779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:47:16] local.INFO: GPS data processed {"connection_id":175779,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:47:16] local.INFO: Acknowledgment sent {"connection_id":175779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:47:30] local.INFO: TCP Data received {"connection_id":178360,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:47:30] local.INFO: Processing buffer {"connection_id":178360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:47:30] local.INFO: IMEI packet received {"connection_id":178360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":178360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:47:30] local.INFO: TCP Data received {"connection_id":178360,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:47:30] local.INFO: Processing buffer {"connection_id":178360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:47:30] local.INFO: IMEI packet received {"connection_id":178360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":178360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:47:35] local.INFO: TCP Data received {"connection_id":178360,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:47:35] local.INFO: Processing buffer {"connection_id":178360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:47:35] local.INFO: IMEI packet received {"connection_id":178360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":178360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:47:36] local.INFO: TCP Data received {"connection_id":178360,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ab7328012d101040071e41f0002e012f27..."} 
[2026-09-09 15:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ab7328012d101040071e41f0002e012f27..."} 
[2026-09-09 15:47:36] local.INFO: Processing buffer {"connection_id":178360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ab7328012d101040071e41f0002e012f27..."} 
[2026-09-09 15:47:36] local.INFO: Packet analysis {"connection_id":178360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ab"} 
[2026-09-09 15:47:36] local.INFO: Extracted packet for processing {"connection_id":178360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ab"} 
[2026-09-09 15:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756027456,"raw_latitude":119423472,"longitude_deg":75.6027456,"latitude_deg":11.9423472,"altitude":46,"angle":303,"satellites":39,"speed":45,"hex_longitude":"2d101040","hex_latitude":"071e41f0","is_valid_coordinates":true} 
[2026-09-09 15:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970942208001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19000200878096384,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1165447171641257984,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788949001000,"timestamp_ms":1788949001000,"timestamp_seconds":1788949001,"priority":1,"record_length":96,"hex_timestamp":"000001a085ab7328"} 
[2026-09-09 15:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 15:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970942208001,"66":14374,"235":206,"83":41984,"24":45,"16":19000200878096384,"45":1165447171641257984},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-09 15:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970942208001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:47:36] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-09 15:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19000200878096384,"km_value":19000200878096.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1165447171641257984,"description":"Unknown IO ID 45"} 
[2026-09-09 15:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970942208001,"power":14374,"unknown_235":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1165447171641257984}} 
[2026-09-09 15:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":178360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:47:36] local.INFO: GPS data processed {"connection_id":178360,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:47:36] local.INFO: Acknowledgment sent {"connection_id":178360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:47:43] local.INFO: TCP Data received {"connection_id":175567,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:47:43] local.INFO: Processing buffer {"connection_id":175567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:47:43] local.INFO: IMEI packet received {"connection_id":175567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:47:48] local.INFO: TCP Data received {"connection_id":175567,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:47:48] local.INFO: Processing buffer {"connection_id":175567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:47:48] local.INFO: IMEI packet received {"connection_id":175567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":175567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:47:49] local.INFO: TCP Data received {"connection_id":175567,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:47:49] local.INFO: Processing buffer {"connection_id":175567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:47:49] local.INFO: Packet analysis {"connection_id":175567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:47:49] local.INFO: Extracted packet for processing {"connection_id":175567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":175567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:47:49] local.INFO: GPS data processed {"connection_id":175567,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:47:49] local.INFO: Acknowledgment sent {"connection_id":175567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:47:54] local.INFO: TCP Data received {"connection_id":175567,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:47:54] local.INFO: Processing buffer {"connection_id":175567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a80c10012d34cc4006aa49080000013424..."} 
[2026-09-09 15:47:54] local.INFO: Packet analysis {"connection_id":175567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:47:54] local.INFO: Extracted packet for processing {"connection_id":175567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a8"} 
[2026-09-09 15:47:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970808832001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788948778000,"timestamp_ms":1788948778000,"timestamp_seconds":1788948778,"priority":1,"record_length":96,"hex_timestamp":"000001a085a80c10"} 
[2026-09-09 15:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-09 15:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970808832001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970808832001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:47:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:47:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970808832001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":175567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:47:54] local.INFO: GPS data processed {"connection_id":175567,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:47:54] local.INFO: Acknowledgment sent {"connection_id":175567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:48:07] local.INFO: TCP Data received {"connection_id":178360,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ab7af8012d100880071e4600002e012125..."} 
[2026-09-09 15:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ab7af8012d100880071e4600002e012125..."} 
[2026-09-09 15:48:07] local.INFO: Processing buffer {"connection_id":178360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ab7af8012d100880071e4600002e012125..."} 
[2026-09-09 15:48:07] local.INFO: Packet analysis {"connection_id":178360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ab"} 
[2026-09-09 15:48:07] local.INFO: Extracted packet for processing {"connection_id":178360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ab"} 
[2026-09-09 15:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756025472,"raw_latitude":119424512,"longitude_deg":75.6025472,"latitude_deg":11.9424512,"altitude":46,"angle":289,"satellites":37,"speed":44,"hex_longitude":"2d100880","hex_latitude":"071e4600","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970944256001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19000308252278784,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1157495503550803968,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788949003000,"timestamp_ms":1788949003000,"timestamp_seconds":1788949003,"priority":1,"record_length":96,"hex_timestamp":"000001a085ab7af8"} 
[2026-09-09 15:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:48: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-09-09 15:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 15:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970944256001,"66":14298,"235":206,"83":41984,"24":44,"16":19000308252278784,"45":1157495503550803968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-09 15:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970944256001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:48:07] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-09 15:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19000308252278784,"km_value":19000308252278.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1157495503550803968,"description":"Unknown IO ID 45"} 
[2026-09-09 15:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970944256001,"power":14298,"unknown_235":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1157495503550803968}} 
[2026-09-09 15:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":178360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:48:07] local.INFO: GPS data processed {"connection_id":178360,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:48:07] local.INFO: Acknowledgment sent {"connection_id":178360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:48:35] local.INFO: TCP Data received {"connection_id":175568,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:48:35] local.INFO: Processing buffer {"connection_id":175568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:48:35] local.INFO: IMEI packet received {"connection_id":175568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":175568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:48:38] local.INFO: TCP Data received {"connection_id":175780,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:48:38] local.INFO: Processing buffer {"connection_id":175780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:48:38] local.INFO: IMEI packet received {"connection_id":175780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":175780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:48:43] local.INFO: TCP Data received {"connection_id":175780,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:48:43] local.INFO: Processing buffer {"connection_id":175780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:48:43] local.INFO: IMEI packet received {"connection_id":175780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":175780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:48:44] local.INFO: TCP Data received {"connection_id":175780,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:48:44] local.INFO: Processing buffer {"connection_id":175780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:48:44] local.INFO: Packet analysis {"connection_id":175780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:48:44] local.INFO: Extracted packet for processing {"connection_id":175780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 15:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":175780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:48:44] local.INFO: GPS data processed {"connection_id":175780,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:48:44] local.INFO: Acknowledgment sent {"connection_id":175780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:48:56] local.INFO: TCP Data received {"connection_id":175568,"ip":"42.106.6.47","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175568,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:48:56] local.INFO: Processing buffer {"connection_id":175568,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 15:48:56] local.INFO: IMEI packet received {"connection_id":175568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":175568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:48:58] local.INFO: TCP Data received {"connection_id":175568,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ac8880012d0eda00071e24b80028010923..."} 
[2026-09-09 15:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ac8880012d0eda00071e24b80028010923..."} 
[2026-09-09 15:48:58] local.INFO: Processing buffer {"connection_id":175568,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a085..."} 
[2026-09-09 15:48:58] local.INFO: IMEI packet received {"connection_id":175568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":175568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:48:59] local.INFO: TCP Data received {"connection_id":175568,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ac9c08012d0ec100071e1ff8002600fd22..."} 
[2026-09-09 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ac9c08012d0ec100071e1ff8002600fd22..."} 
[2026-09-09 15:48:59] local.INFO: Processing buffer {"connection_id":175568,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a085ac8880012d0eda00071e24b80028010923..."} 
[2026-09-09 15:48:59] local.INFO: Packet analysis {"connection_id":175568,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:48:59] local.INFO: Extracted packet for processing {"connection_id":175568,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:48:59] local.INFO: GPS Element Parsed {"raw_longitude":755948032,"raw_latitude":119415992,"longitude_deg":75.5948032,"latitude_deg":11.9415992,"altitude":40,"angle":265,"satellites":35,"speed":52,"hex_longitude":"2d0eda00","hex_latitude":"071e24b8","is_valid_coordinates":true} 
[2026-09-09 15:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970960384001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19004036283891712,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1081215784860551168,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788949072000,"timestamp_ms":1788949072000,"timestamp_seconds":1788949072,"priority":1,"record_length":96,"hex_timestamp":"000001a085ac8880"} 
[2026-09-09 15:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970960384001,"66":14276,"11":206,"83":41984,"24":52,"16":19004036283891712,"45":1081215784860551168},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-09 15:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970960384001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:48:59] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-09 15:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19004036283891712,"km_value":19004036283891.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1081215784860551168,"description":"Unknown IO ID 45"} 
[2026-09-09 15:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970960384001,"power":14276,"unknown_11":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1081215784860551168}} 
[2026-09-09 15:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":175568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:48:59] local.INFO: GPS data processed {"connection_id":175568,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:48:59] local.INFO: Acknowledgment sent {"connection_id":175568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:48:59] local.INFO: Packet analysis {"connection_id":175568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:48:59] local.INFO: Extracted packet for processing {"connection_id":175568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:48:59] local.INFO: GPS Element Parsed {"raw_longitude":755941632,"raw_latitude":119414776,"longitude_deg":75.5941632,"latitude_deg":11.9414776,"altitude":38,"angle":253,"satellites":34,"speed":49,"hex_longitude":"2d0ec100","hex_latitude":"071e1ff8","is_valid_coordinates":true} 
[2026-09-09 15:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970962432001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19004345521537024,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1070167892024408064,"note":"Value kept but may cause issues"} 
[2026-09-09 15:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788949077000,"timestamp_ms":1788949077000,"timestamp_seconds":1788949077,"priority":1,"record_length":96,"hex_timestamp":"000001a085ac9c08"} 
[2026-09-09 15:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-09 15:48:59] 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-09-09 15:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970962432001,"66":14265,"11":206,"83":41984,"24":49,"16":19004345521537024,"45":1070167892024408064},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-09 15:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970962432001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:48:59] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-09 15:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19004345521537024,"km_value":19004345521537.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1070167892024408064,"description":"Unknown IO ID 45"} 
[2026-09-09 15:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970962432001,"power":14265,"unknown_11":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1070167892024408064}} 
[2026-09-09 15:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":175568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:48:59] local.INFO: GPS data processed {"connection_id":175568,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:48:59] local.INFO: Acknowledgment sent {"connection_id":175568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:49:00] local.INFO: TCP Data received {"connection_id":175568,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085aca3d8012d0eb880071e1c78002500f124..."} 
[2026-09-09 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085aca3d8012d0eb880071e1c78002500f124..."} 
[2026-09-09 15:49:00] local.INFO: Processing buffer {"connection_id":175568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085aca3d8012d0eb880071e1c78002500f124..."} 
[2026-09-09 15:49:00] local.INFO: Packet analysis {"connection_id":175568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:49:00] local.INFO: Extracted packet for processing {"connection_id":175568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:49:00] local.INFO: GPS Element Parsed {"raw_longitude":755939456,"raw_latitude":119413880,"longitude_deg":75.5939456,"latitude_deg":11.941388,"altitude":37,"angle":241,"satellites":36,"speed":45,"hex_longitude":"2d0eb880","hex_latitude":"071e1c78","is_valid_coordinates":true} 
[2026-09-09 15:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970963712001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19004457190686720,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063131017606330368,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788949079000,"timestamp_ms":1788949079000,"timestamp_seconds":1788949079,"priority":1,"record_length":96,"hex_timestamp":"000001a085aca3d8"} 
[2026-09-09 15:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:49: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-09-09 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 15:49: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-09-09 15:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970963712001,"66":14135,"11":206,"83":41984,"24":45,"16":19004457190686720,"45":1063131017606330368},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-09 15:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970963712001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:49:00] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-09 15:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19004457190686720,"km_value":19004457190686.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063131017606330368,"description":"Unknown IO ID 45"} 
[2026-09-09 15:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970963712001,"power":14135,"unknown_11":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1063131017606330368}} 
[2026-09-09 15:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":175568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:49:00] local.INFO: GPS data processed {"connection_id":175568,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:49:00] local.INFO: Acknowledgment sent {"connection_id":175568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:49:15] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:49:15] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:49:15] local.INFO: IMEI packet received {"connection_id":176965,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":176965,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:49:15] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085ad2c90012d0a77000705c100001b016510..."} 
[2026-09-09 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ad2c90012d0a77000705c100001b016510..."} 
[2026-09-09 15:49:15] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ad2c90012d0a77000705c100001b016510..."} 
[2026-09-09 15:49:15] local.INFO: Packet analysis {"connection_id":176965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:49:15] local.INFO: Extracted packet for processing {"connection_id":176965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":755660544,"raw_latitude":117817600,"longitude_deg":75.5660544,"latitude_deg":11.78176,"altitude":27,"angle":357,"satellites":16,"speed":12,"hex_longitude":"2d0a7700","hex_latitude":"0705c100","is_valid_coordinates":true} 
[2026-09-09 15:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970972672001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30966834463244288,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754141861513162752,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:15] 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-09-09 15:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788949114000,"timestamp_ms":1788949114000,"timestamp_seconds":1788949114,"priority":1,"record_length":96,"hex_timestamp":"000001a085ad2c90"} 
[2026-09-09 15:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 15:49:15] 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-09-09 15:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:49:15] 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-09-09 15:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970972672001,"66":14515,"153":206,"94":10240,"24":12,"16":30966834463244288,"45":754141861513162752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 15:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970972672001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:49:15] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 15:49:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30966834463244288,"km_value":30966834463244.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":754141861513162752,"description":"Unknown IO ID 45"} 
[2026-09-09 15:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970972672001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":754141861513162752}} 
[2026-09-09 15:49:16] local.INFO: TCP Data received {"connection_id":175780,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:49:16] local.INFO: Processing buffer {"connection_id":175780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:49:16] local.INFO: Packet analysis {"connection_id":175780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:49:16] local.INFO: Extracted packet for processing {"connection_id":175780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 15:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":175780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:49:16] local.INFO: GPS data processed {"connection_id":175780,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:49:16] local.INFO: Acknowledgment sent {"connection_id":175780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":176965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:49:16] local.INFO: GPS data processed {"connection_id":176965,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:49:16] local.INFO: Acknowledgment sent {"connection_id":176965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:49:30] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:49:30] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:49:30] local.INFO: IMEI packet received {"connection_id":175569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":175569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:49:33] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:49:33] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:49:33] local.INFO: IMEI packet received {"connection_id":175569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":175569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:49:34] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085acaf90012d0ead40071e1508002500e624..."} 
[2026-09-09 15:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acaf90012d0ead40071e1508002500e624..."} 
[2026-09-09 15:49:34] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acaf90012d0ead40071e1508002500e624..."} 
[2026-09-09 15:49:34] local.INFO: Packet analysis {"connection_id":175569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:49:34] local.INFO: Extracted packet for processing {"connection_id":175569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:49:34] local.INFO: GPS Element Parsed {"raw_longitude":755936576,"raw_latitude":119411976,"longitude_deg":75.5936576,"latitude_deg":11.9411976,"altitude":37,"angle":230,"satellites":36,"speed":45,"hex_longitude":"2d0ead40","hex_latitude":"071e1508","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970964224001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19004624694411264,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1060738480304060416,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788949082000,"timestamp_ms":1788949082000,"timestamp_seconds":1788949082,"priority":1,"record_length":96,"hex_timestamp":"000001a085acaf90"} 
[2026-09-09 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-09-09 15:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 15:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970964224001,"66":14341,"11":206,"83":41984,"24":45,"16":19004624694411264,"45":1060738480304060416},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-09 15:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970964224001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:49:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-09 15:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19004624694411264,"km_value":19004624694411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1060738480304060416,"description":"Unknown IO ID 45"} 
[2026-09-09 15:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970964224001,"power":14341,"unknown_11":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1060738480304060416}} 
[2026-09-09 15:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":175569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:49:34] local.INFO: GPS data processed {"connection_id":175569,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:49:34] local.INFO: Acknowledgment sent {"connection_id":175569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:49:38] local.INFO: TCP Data received {"connection_id":178361,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:49:38] local.INFO: Processing buffer {"connection_id":178361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:49:38] local.INFO: IMEI packet received {"connection_id":178361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":178361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:49:43] local.INFO: TCP Data received {"connection_id":178361,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:49:43] local.INFO: Processing buffer {"connection_id":178361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:49:43] local.INFO: IMEI packet received {"connection_id":178361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":178361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:49:44] local.INFO: TCP Data received {"connection_id":178361,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:49:44] local.INFO: Processing buffer {"connection_id":178361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:49:44] local.INFO: Packet analysis {"connection_id":178361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:49:44] local.INFO: Extracted packet for processing {"connection_id":178361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 15:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":178361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:49:44] local.INFO: GPS data processed {"connection_id":178361,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:49:44] local.INFO: Acknowledgment sent {"connection_id":178361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:49:46] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085ad4018012d0a76400705c5a8001c015710..."} 
[2026-09-09 15:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ad4018012d0a76400705c5a8001c015710..."} 
[2026-09-09 15:49:46] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ad4018012d0a76400705c5a8001c015710..."} 
[2026-09-09 15:49:46] local.INFO: Packet analysis {"connection_id":176965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:49:46] local.INFO: Extracted packet for processing {"connection_id":176965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117818792,"longitude_deg":75.5660352,"latitude_deg":11.7818792,"altitude":28,"angle":343,"satellites":16,"speed":8,"hex_longitude":"2d0a7640","hex_latitude":"0705c5a8","is_valid_coordinates":true} 
[2026-09-09 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970973184001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30966894592786432,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754071492769153024,"note":"Value kept but may cause issues"} 
[2026-09-09 15:49:46] 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-09-09 15:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788949119000,"timestamp_ms":1788949119000,"timestamp_seconds":1788949119,"priority":1,"record_length":96,"hex_timestamp":"000001a085ad4018"} 
[2026-09-09 15:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 15:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:49:46] 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-09-09 15:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970973184001,"66":14439,"153":206,"94":10240,"24":8,"16":30966894592786432,"45":754071492769153024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 15:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970973184001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:49:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 15:49:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30966894592786432,"km_value":30966894592786.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":754071492769153024,"description":"Unknown IO ID 45"} 
[2026-09-09 15:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970973184001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":754071492769153024}} 
[2026-09-09 15:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":176965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:49:46] local.INFO: GPS data processed {"connection_id":176965,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:49:46] local.INFO: Acknowledgment sent {"connection_id":176965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:50:05] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085acced0012d0e9400071df8f0002300df26..."} 
[2026-09-09 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acced0012d0e9400071df8f0002300df26..."} 
[2026-09-09 15:50:05] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acced0012d0e9400071df8f0002300df26..."} 
[2026-09-09 15:50:05] local.INFO: Packet analysis {"connection_id":175569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:50:05] local.INFO: Extracted packet for processing {"connection_id":175569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":755930112,"raw_latitude":119404784,"longitude_deg":75.5930112,"latitude_deg":11.9404784,"altitude":35,"angle":223,"satellites":38,"speed":47,"hex_longitude":"2d0e9400","hex_latitude":"071df8f0","is_valid_coordinates":true} 
[2026-09-09 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970964992001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19005088550879232,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057571886815578112,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788949090000,"timestamp_ms":1788949090000,"timestamp_seconds":1788949090,"priority":1,"record_length":96,"hex_timestamp":"000001a085acced0"} 
[2026-09-09 15:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988082210,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2242658864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84740783861079598,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503889591533568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2892578817,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1930100942,"corrected_to":0} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911027,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2201354240,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.WARNING: Large IO value detected {"io_id":152,"raw_value":13230509970696960,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,11,83,24,241,157,16,132,160,163,45,128,28,37,36,10,66,156,31,38,34,136,1,240,196,227,133,30,4,113,205,39,239,53,2,67,7,40,206,152],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1930100942,"validated":0}]} 
[2026-09-09 15:50:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666384021699493888,"timestamp_seconds":2666384021699494.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970964992001,"66":14233,"11":206,"83":41984,"24":47,"16":19005088550879232,"45":1057571886815578112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-09 15:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970964992001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:50:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-09 15:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19005088550879232,"km_value":19005088550879.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057571886815578112,"description":"Unknown IO ID 45"} 
[2026-09-09 15:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970964992001,"power":14233,"unknown_11":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1057571886815578112}} 
[2026-09-09 15:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":175569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:50:05] local.INFO: GPS data processed {"connection_id":175569,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:50:05] local.INFO: Acknowledgment sent {"connection_id":175569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:50:10] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:50:10] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:50:10] local.INFO: IMEI packet received {"connection_id":176967,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":176967,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:50:15] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:50:15] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:50:15] local.INFO: IMEI packet received {"connection_id":176967,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":176967,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:50:16] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085ad9220012d0a75800705c778001d014e10..."} 
[2026-09-09 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ad9220012d0a75800705c778001d014e10..."} 
[2026-09-09 15:50:16] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ad9220012d0a75800705c778001d014e10..."} 
[2026-09-09 15:50:16] local.INFO: Packet analysis {"connection_id":176967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:50:16] local.INFO: Extracted packet for processing {"connection_id":176967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:50:16] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117819256,"longitude_deg":75.566016,"latitude_deg":11.7819256,"altitude":29,"angle":334,"satellites":16,"speed":0,"hex_longitude":"2d0a7580","hex_latitude":"0705c778","is_valid_coordinates":true} 
[2026-09-09 15:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970974464001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30966920362590208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386536925184,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:16] 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-09-09 15:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949140000,"timestamp_ms":1788949140000,"timestamp_seconds":1788949140,"priority":1,"record_length":96,"hex_timestamp":"000001a085ad9220"} 
[2026-09-09 15:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 15:50: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-09-09 15:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:50: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-09-09 15:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970974464001,"66":14233,"153":206,"94":10240,"24":0,"16":30966920362590208,"45":753860386536925184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 15:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970974464001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:50:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 15:50:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30966920362590208,"km_value":30966920362590.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386536925184,"description":"Unknown IO ID 45"} 
[2026-09-09 15:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970974464001,"power":14233,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753860386536925184}} 
[2026-09-09 15:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":176967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:50:16] local.INFO: GPS data processed {"connection_id":176967,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:50:16] local.INFO: Acknowledgment sent {"connection_id":176967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:50:16] local.INFO: TCP Data received {"connection_id":178361,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:50:16] local.INFO: Processing buffer {"connection_id":178361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:50:16] local.INFO: Packet analysis {"connection_id":178361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:50:16] local.INFO: Extracted packet for processing {"connection_id":178361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 15:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":178361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:50:16] local.INFO: GPS data processed {"connection_id":178361,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:50:16] local.INFO: Acknowledgment sent {"connection_id":178361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:50:16] local.INFO: TCP Data received {"connection_id":176966,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:50:16] local.INFO: Processing buffer {"connection_id":176966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:50:16] local.INFO: IMEI packet received {"connection_id":176966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":176966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:50:20] local.INFO: TCP Data received {"connection_id":176967,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085adccb8012d0a75800705c800001c001713..."} 
[2026-09-09 15:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085adccb8012d0a75800705c800001c001713..."} 
[2026-09-09 15:50:20] local.INFO: Processing buffer {"connection_id":176967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085adccb8012d0a75800705c800001c001713..."} 
[2026-09-09 15:50:20] local.INFO: Packet analysis {"connection_id":176967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:50:20] local.INFO: Extracted packet for processing {"connection_id":176967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:50:20] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117819392,"longitude_deg":75.566016,"latitude_deg":11.7819392,"altitude":28,"angle":23,"satellites":19,"speed":2,"hex_longitude":"2d0a7580","hex_latitude":"0705c800","is_valid_coordinates":true} 
[2026-09-09 15:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970979840001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30966924657557504,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280304510976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788949155000,"timestamp_ms":1788949155000,"timestamp_seconds":1788949155,"priority":1,"record_length":96,"hex_timestamp":"000001a085adccb8"} 
[2026-09-09 15:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 15:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:50:20] 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-09-09 15:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970979840001,"66":14515,"153":206,"94":10240,"24":2,"16":30966924657557504,"45":753649280304510976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 15:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970979840001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:50:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 15:50:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30966924657557504,"km_value":30966924657557.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280304510976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970979840001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753649280304510976}} 
[2026-09-09 15:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":176967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789525,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:50:21] local.INFO: GPS data processed {"connection_id":176967,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:50:21] local.INFO: Acknowledgment sent {"connection_id":176967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:50:30] local.INFO: TCP Data received {"connection_id":178362,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:50:30] local.INFO: Processing buffer {"connection_id":178362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:50:30] local.INFO: IMEI packet received {"connection_id":178362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":178362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:50:33] local.INFO: TCP Data received {"connection_id":178362,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:50:33] local.INFO: Processing buffer {"connection_id":178362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:50:33] local.INFO: IMEI packet received {"connection_id":178362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":178362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:50:34] local.INFO: TCP Data received {"connection_id":178362,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085acde70012d0e85c0071ded48002100ee28..."} 
[2026-09-09 15:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acde70012d0e85c0071ded48002100ee28..."} 
[2026-09-09 15:50:34] local.INFO: Processing buffer {"connection_id":178362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acde70012d0e85c0071ded48002100ee28..."} 
[2026-09-09 15:50:34] local.INFO: Packet analysis {"connection_id":178362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:50:34] local.INFO: Extracted packet for processing {"connection_id":178362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:50:34] local.INFO: GPS Element Parsed {"raw_longitude":755926464,"raw_latitude":119401800,"longitude_deg":75.5926464,"latitude_deg":11.94018,"altitude":33,"angle":238,"satellites":40,"speed":48,"hex_longitude":"2d0e85c0","hex_latitude":"071ded48","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970967040001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19005316184145920,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050464643651792896,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788949094000,"timestamp_ms":1788949094000,"timestamp_seconds":1788949094,"priority":1,"record_length":96,"hex_timestamp":"000001a085acde70"} 
[2026-09-09 15:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 15:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":178362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":178362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":178362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970967040001,"66":14374,"11":206,"83":41984,"24":48,"16":19005316184145920,"45":1050464643651792896},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-09 15:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970967040001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:50:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-09 15:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19005316184145920,"km_value":19005316184145.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050464643651792896,"description":"Unknown IO ID 45"} 
[2026-09-09 15:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970967040001,"power":14374,"unknown_11":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1050464643651792896}} 
[2026-09-09 15:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":178362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:50:34] local.INFO: GPS data processed {"connection_id":178362,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:50:34] local.INFO: Acknowledgment sent {"connection_id":178362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:50:38] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:50:38] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:50:38] local.INFO: IMEI packet received {"connection_id":176968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":176968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:50:44] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:50:44] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:50:44] local.INFO: IMEI packet received {"connection_id":176968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":176968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:50:45] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:50:45] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:50:45] local.INFO: Packet analysis {"connection_id":176968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:50:45] local.INFO: Extracted packet for processing {"connection_id":176968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 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-09-09 15:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":176968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:50:45] local.INFO: GPS data processed {"connection_id":176968,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:50:45] local.INFO: Acknowledgment sent {"connection_id":176968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:50:46] local.INFO: TCP Data received {"connection_id":175782,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:50:46] local.INFO: Processing buffer {"connection_id":175782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:50:46] local.INFO: IMEI packet received {"connection_id":175782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":175782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:51:05] local.INFO: TCP Data received {"connection_id":178362,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ad0198012d0e6540071ddd28001f00f625..."} 
[2026-09-09 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ad0198012d0e6540071ddd28001f00f625..."} 
[2026-09-09 15:51:05] local.INFO: Processing buffer {"connection_id":178362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ad0198012d0e6540071ddd28001f00f625..."} 
[2026-09-09 15:51:05] local.INFO: Packet analysis {"connection_id":178362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:51:05] local.INFO: Extracted packet for processing {"connection_id":178362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ad"} 
[2026-09-09 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":755918144,"raw_latitude":119397672,"longitude_deg":75.5918144,"latitude_deg":11.9397672,"altitude":31,"angle":246,"satellites":37,"speed":40,"hex_longitude":"2d0e6540","hex_latitude":"071ddd28","is_valid_coordinates":true} 
[2026-09-09 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970968064001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19005758565777408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046453625232902144,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788949103000,"timestamp_ms":1788949103000,"timestamp_seconds":1788949103,"priority":1,"record_length":96,"hex_timestamp":"000001a085ad0198"} 
[2026-09-09 15:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 15:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":178362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":178362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":178362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970968064001,"66":14363,"12":206,"83":41984,"24":40,"16":19005758565777408,"45":1046453625232902144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-09 15:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970968064001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:51:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-09 15:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19005758565777408,"km_value":19005758565777.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046453625232902144,"description":"Unknown IO ID 45"} 
[2026-09-09 15:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970968064001,"power":14363,"unknown_12":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1046453625232902144}} 
[2026-09-09 15:51:05] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:51:05] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:51:05] local.INFO: IMEI packet received {"connection_id":175783,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":175783,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":178362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:51:05] local.INFO: GPS data processed {"connection_id":178362,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:51:05] local.INFO: Acknowledgment sent {"connection_id":178362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:51:10] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:51:10] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:51:10] local.INFO: IMEI packet received {"connection_id":175783,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":175783,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:51:11] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085af2478012d0a7900070618900010005d13..."} 
[2026-09-09 15:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085af2478012d0a7900070618900010005d13..."} 
[2026-09-09 15:51:11] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085af2478012d0a7900070618900010005d13..."} 
[2026-09-09 15:51:11] local.INFO: Packet analysis {"connection_id":175783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:51:11] local.INFO: Extracted packet for processing {"connection_id":175783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:51:11] local.INFO: GPS Element Parsed {"raw_longitude":755661056,"raw_latitude":117840016,"longitude_deg":75.5661056,"latitude_deg":11.7840016,"altitude":16,"angle":93,"satellites":19,"speed":10,"hex_longitude":"2d0a7900","hex_latitude":"07061890","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971005696001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30967998399381504,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754071492774879232,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:11] 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-09-09 15:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788949243000,"timestamp_ms":1788949243000,"timestamp_seconds":1788949243,"priority":1,"record_length":96,"hex_timestamp":"000001a085af2478"} 
[2026-09-09 15:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 15:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:51:11] 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-09-09 15:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971005696001,"66":14309,"153":206,"94":10240,"24":10,"16":30967998399381504,"45":754071492774879232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 15:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971005696001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:51:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 15:51:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30967998399381504,"km_value":30967998399381.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":754071492774879232,"description":"Unknown IO ID 45"} 
[2026-09-09 15:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971005696001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":754071492774879232}} 
[2026-09-09 15:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":175783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789529,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:51:11] local.INFO: GPS data processed {"connection_id":175783,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:51:11] local.INFO: Acknowledgment sent {"connection_id":175783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:51:15] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085af2c48012d0a7c0007061818000f006b13..."} 
[2026-09-09 15:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085af2c48012d0a7c0007061818000f006b13..."} 
[2026-09-09 15:51:15] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085af2c48012d0a7c0007061818000f006b13..."} 
[2026-09-09 15:51:15] local.INFO: Packet analysis {"connection_id":175783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:51:15] local.INFO: Extracted packet for processing {"connection_id":175783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:51:15] local.INFO: GPS Element Parsed {"raw_longitude":755661824,"raw_latitude":117839896,"longitude_deg":75.5661824,"latitude_deg":11.7839896,"altitude":15,"angle":107,"satellites":19,"speed":14,"hex_longitude":"2d0a7c00","hex_latitude":"07061818","is_valid_coordinates":true} 
[2026-09-09 15:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971006208001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30968032759119872,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754634442728312832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:15] 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-09-09 15:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788949245000,"timestamp_ms":1788949245000,"timestamp_seconds":1788949245,"priority":1,"record_length":96,"hex_timestamp":"000001a085af2c48"} 
[2026-09-09 15:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-09 15:51:15] 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-09-09 15:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:51:15] 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-09-09 15:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971006208001,"66":14428,"153":206,"94":10240,"24":14,"16":30968032759119872,"45":754634442728312832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 15:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971006208001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:51:15] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 15:51:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30968032759119872,"km_value":30968032759119.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":754634442728312832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971006208001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":754634442728312832}} 
[2026-09-09 15:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":175783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:51:15] local.INFO: GPS data processed {"connection_id":175783,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:51:15] local.INFO: Acknowledgment sent {"connection_id":175783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:51:16] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:51:16] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:51:16] local.INFO: Packet analysis {"connection_id":176968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:51:16] local.INFO: Extracted packet for processing {"connection_id":176968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 15:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":176968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:51:16] local.INFO: GPS data processed {"connection_id":176968,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:51:16] local.INFO: Acknowledgment sent {"connection_id":176968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:51:31] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:51:31] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:51:31] local.INFO: IMEI packet received {"connection_id":175570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":175570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:51:32] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:51:32] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:51:32] local.INFO: IMEI packet received {"connection_id":175570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":175570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:51:35] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:51:35] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:51:35] local.INFO: IMEI packet received {"connection_id":175570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":175570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:51:35] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.47","data_length":1348,"data_hex":"000000000000030f8e0a000001a085aece88012d0d3c00071ce7f8002c00f129..."} 
[2026-09-09 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a085aece88012d0d3c00071ce7f8002c00f129..."} 
[2026-09-09 15:51:35] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a085aece88012d0d3c00071ce7f8002c00f129..."} 
[2026-09-09 15:51:35] local.INFO: Packet analysis {"connection_id":175570,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a085ae"} 
[2026-09-09 15:51:35] local.INFO: Extracted packet for processing {"connection_id":175570,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a085ae"} 
[2026-09-09 15:51:35] local.INFO: GPS Element Parsed {"raw_longitude":755842048,"raw_latitude":119334904,"longitude_deg":75.5842048,"latitude_deg":11.9334904,"altitude":44,"angle":241,"satellites":41,"speed":24,"hex_longitude":"2d0d3c00","hex_latitude":"071ce7f8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970996224001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19010543159345152,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962362975924707328,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788949221000,"timestamp_ms":1788949221000,"timestamp_seconds":1788949221,"priority":1,"record_length":96,"hex_timestamp":"000001a085aece88"} 
[2026-09-09 15:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 15:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970996224001,"66":14048,"57":206,"83":41984,"24":24,"16":19010543159345152,"45":962362975924707328},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-09 15:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970996224001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:51:35] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-09 15:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19010543159345152,"km_value":19010543159345.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":962362975924707328,"description":"Unknown IO ID 45"} 
[2026-09-09 15:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970996224001,"power":14048,"unknown_57":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":962362975924707328}} 
[2026-09-09 15:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":175570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:51:35] local.INFO: GPS data processed {"connection_id":175570,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:51:35] local.INFO: Acknowledgment sent {"connection_id":175570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:51:35] local.INFO: Packet analysis {"connection_id":175570,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a085ae"} 
[2026-09-09 15:51:35] local.INFO: Incomplete packet, waiting for more data {"connection_id":175570,"needed":795,"available":553} 
[2026-09-09 15:51:36] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.47","data_length":242,"data_hex":"000000000001a085ada5a8012d0de380071d79f8002600d924001d0000000a00..."} 
[2026-09-09 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":242,"packet_hex":"000000000001a085ada5a8012d0de380071d79f8002600d924001d0000000a00..."} 
[2026-09-09 15:51:36] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085aefd68012d0d1c40071cd648002d00f328..."} 
[2026-09-09 15:51:36] local.INFO: Packet analysis {"connection_id":175570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ae"} 
[2026-09-09 15:51:36] local.INFO: Extracted packet for processing {"connection_id":175570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ae"} 
[2026-09-09 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":755833920,"raw_latitude":119330376,"longitude_deg":75.583392,"latitude_deg":11.9330376,"altitude":45,"angle":243,"satellites":40,"speed":36,"hex_longitude":"2d0d1c40","hex_latitude":"071cd648","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971000576001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19010985540976640,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953637251645437952,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788949233000,"timestamp_ms":1788949233000,"timestamp_seconds":1788949233,"priority":1,"record_length":96,"hex_timestamp":"000001a085aefd68"} 
[2026-09-09 15:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 15:51: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-09-09 15: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-09-09 15:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971000576001,"66":14048,"57":206,"83":41984,"24":36,"16":19010985540976640,"45":953637251645437952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-09 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971000576001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:51:36] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-09 15:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19010985540976640,"km_value":19010985540976.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":953637251645437952,"description":"Unknown IO ID 45"} 
[2026-09-09 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971000576001,"power":14048,"unknown_57":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":953637251645437952}} 
[2026-09-09 15:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":175570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:51:36] local.INFO: GPS data processed {"connection_id":175570,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:51:36] local.INFO: Acknowledgment sent {"connection_id":175570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:51:38] local.INFO: TCP Data received {"connection_id":175571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:51:38] local.INFO: Processing buffer {"connection_id":175571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:51:38] local.INFO: IMEI packet received {"connection_id":175571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":175571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:51:39] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:51:39] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:51:39] local.INFO: IMEI packet received {"connection_id":178363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":178363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:51:40] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085af2478012d0cfb00071cc560002f00f326..."} 
[2026-09-09 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085af2478012d0cfb00071cc560002f00f326..."} 
[2026-09-09 15:51:40] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085af2478012d0cfb00071cc560002f00f326..."} 
[2026-09-09 15:51:40] local.INFO: Packet analysis {"connection_id":175570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:51:40] local.INFO: Extracted packet for processing {"connection_id":175570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":755825408,"raw_latitude":119326048,"longitude_deg":75.5825408,"latitude_deg":11.9326048,"altitude":47,"angle":243,"satellites":38,"speed":38,"hex_longitude":"2d0cfb00","hex_latitude":"071cc560","is_valid_coordinates":true} 
[2026-09-09 15:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971003648001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19011440807510016,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":944700421133715456,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788949243000,"timestamp_ms":1788949243000,"timestamp_seconds":1788949243,"priority":1,"record_length":96,"hex_timestamp":"000001a085af2478"} 
[2026-09-09 15:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 15:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971003648001,"66":13906,"57":206,"83":41984,"24":38,"16":19011440807510016,"45":944700421133715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-09 15:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971003648001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:51:40] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-09 15:51:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19011440807510016,"km_value":19011440807510.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":944700421133715456,"description":"Unknown IO ID 45"} 
[2026-09-09 15:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971003648001,"power":13906,"unknown_57":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":944700421133715456}} 
[2026-09-09 15:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":175570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:51:40] local.INFO: GPS data processed {"connection_id":175570,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:51:40] local.INFO: Acknowledgment sent {"connection_id":175570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:51:40] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:51:40] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:51:40] local.INFO: IMEI packet received {"connection_id":178363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":178363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:51:43] local.INFO: TCP Data received {"connection_id":175571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:51:43] local.INFO: Processing buffer {"connection_id":175571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:51:43] local.INFO: IMEI packet received {"connection_id":175571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":175571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:51:44] local.INFO: TCP Data received {"connection_id":175571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:51:44] local.INFO: Processing buffer {"connection_id":175571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:51:44] local.INFO: Packet analysis {"connection_id":175571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:51:44] local.INFO: Extracted packet for processing {"connection_id":175571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 15:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":175571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:51:44] local.INFO: GPS data processed {"connection_id":175571,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:51:44] local.INFO: Acknowledgment sent {"connection_id":175571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:51:44] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:51:44] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:51:44] local.INFO: IMEI packet received {"connection_id":178363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":178363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:51:45] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-09 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-09 15:51:45] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-09 15:51:45] local.INFO: Packet analysis {"connection_id":178363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 15:51:45] local.INFO: Extracted packet for processing {"connection_id":178363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-09 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 15:51:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:51:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178363,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 15:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 15:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:51:45] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":178363,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:51:45] local.ERROR: GPS data processing failed {"connection_id":178363,"error":"No valid data to process"} 
[2026-09-09 15:51:45] local.INFO: Acknowledgment sent {"connection_id":178363,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:51:46] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085af3800012d0a7f80070616e0000e007613..."} 
[2026-09-09 15:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085af3800012d0a7f80070616e0000e007613..."} 
[2026-09-09 15:51:46] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085af3800012d0a7f80070616e0000e007613..."} 
[2026-09-09 15:51:46] local.INFO: Packet analysis {"connection_id":175783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:51:46] local.INFO: Extracted packet for processing {"connection_id":175783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:51:46] local.INFO: GPS Element Parsed {"raw_longitude":755662720,"raw_latitude":117839584,"longitude_deg":75.566272,"latitude_deg":11.7839584,"altitude":14,"angle":118,"satellites":19,"speed":12,"hex_longitude":"2d0a7f80","hex_latitude":"070616e0","is_valid_coordinates":true} 
[2026-09-09 15:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971006720001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30968075708792832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755478867658414080,"note":"Value kept but may cause issues"} 
[2026-09-09 15:51:46] 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-09-09 15:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788949248000,"timestamp_ms":1788949248000,"timestamp_seconds":1788949248,"priority":1,"record_length":96,"hex_timestamp":"000001a085af3800"} 
[2026-09-09 15:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:51: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-09-09 15:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 15:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:51:46] 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-09-09 15:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971006720001,"66":14461,"153":206,"94":10240,"24":12,"16":30968075708792832,"45":755478867658414080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-09 15:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971006720001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:51:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 15:51:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30968075708792832,"km_value":30968075708792.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":755478867658414080,"description":"Unknown IO ID 45"} 
[2026-09-09 15:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971006720001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":755478867658414080}} 
[2026-09-09 15:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":175783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:51:47] local.INFO: GPS data processed {"connection_id":175783,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:51:47] local.INFO: Acknowledgment sent {"connection_id":175783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:52:01] local.INFO: TCP Data received {"connection_id":176970,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:01] local.INFO: Processing buffer {"connection_id":176970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:01] local.INFO: IMEI packet received {"connection_id":176970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":176970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:52:02] local.INFO: TCP Data received {"connection_id":176970,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:02] local.INFO: Processing buffer {"connection_id":176970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:02] local.INFO: IMEI packet received {"connection_id":176970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":176970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:52:03] local.INFO: TCP Data received {"connection_id":176970,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:03] local.INFO: Processing buffer {"connection_id":176970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:03] local.INFO: IMEI packet received {"connection_id":176970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":176970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:52:05] local.INFO: TCP Data received {"connection_id":176970,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:05] local.INFO: Processing buffer {"connection_id":176970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:52:05] local.INFO: IMEI packet received {"connection_id":176970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":176970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:52:15] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085af47a0012d0cdb40071cb520003200f423..."} 
[2026-09-09 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085af47a0012d0cdb40071cb520003200f423..."} 
[2026-09-09 15:52:15] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085af47a0012d0cdb40071cb520003200f423..."} 
[2026-09-09 15:52:15] local.INFO: Packet analysis {"connection_id":175570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:52:15] local.INFO: Extracted packet for processing {"connection_id":175570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":755817280,"raw_latitude":119321888,"longitude_deg":75.581728,"latitude_deg":11.9321888,"altitude":50,"angle":244,"satellites":35,"speed":42,"hex_longitude":"2d0cdb40","hex_latitude":"071cb520","is_valid_coordinates":true} 
[2026-09-09 15:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971006208001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19011878894174208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":935341378156978176,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788949252000,"timestamp_ms":1788949252000,"timestamp_seconds":1788949252,"priority":1,"record_length":96,"hex_timestamp":"000001a085af47a0"} 
[2026-09-09 15:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 15:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971006208001,"66":13961,"57":206,"83":41984,"24":42,"16":19011878894174208,"45":935341378156978176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-09 15:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971006208001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:52:15] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-09 15:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19011878894174208,"km_value":19011878894174.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":935341378156978176,"description":"Unknown IO ID 45"} 
[2026-09-09 15:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971006208001,"power":13961,"unknown_57":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":935341378156978176}} 
[2026-09-09 15:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":175570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:52:15] local.INFO: GPS data processed {"connection_id":175570,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:52:15] local.INFO: Acknowledgment sent {"connection_id":175570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:52:15] local.INFO: TCP Data received {"connection_id":175571,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:52:15] local.INFO: Processing buffer {"connection_id":175571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:52:15] local.INFO: Packet analysis {"connection_id":175571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:52:15] local.INFO: Extracted packet for processing {"connection_id":175571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 15:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":175571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:52:15] local.INFO: GPS data processed {"connection_id":175571,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:52:15] local.INFO: Acknowledgment sent {"connection_id":175571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:52:17] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-09 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-09 15:52:17] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-09 15:52:17] local.INFO: Packet analysis {"connection_id":178363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:52:17] local.INFO: Extracted packet for processing {"connection_id":178363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-09 15:52: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-09-09 15: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-09-09 15:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 15:52:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:52:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 15:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178363,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 15:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 15:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 15:52:17] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 15:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":178363,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 15:52:17] local.ERROR: GPS data processing failed {"connection_id":178363,"error":"No valid data to process"} 
[2026-09-09 15:52:17] local.INFO: Acknowledgment sent {"connection_id":178363,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 15:52:30] local.INFO: TCP Data received {"connection_id":175784,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:52:30] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:52:30] local.INFO: IMEI packet received {"connection_id":175784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":175784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:52:31] local.INFO: TCP Data received {"connection_id":175784,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:52:31] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:52:31] local.INFO: IMEI packet received {"connection_id":175784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":175784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:52:35] local.INFO: TCP Data received {"connection_id":175784,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:52:35] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:52:35] local.INFO: IMEI packet received {"connection_id":175784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":175784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:52:37] local.INFO: TCP Data received {"connection_id":175784,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085af5b28012d0cc880071cae800033010025..."} 
[2026-09-09 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085af5b28012d0cc880071cae800033010025..."} 
[2026-09-09 15:52:37] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085af5b28012d0cc880071cae800033010025..."} 
[2026-09-09 15:52:37] local.INFO: Packet analysis {"connection_id":175784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:52:37] local.INFO: Extracted packet for processing {"connection_id":175784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":755812480,"raw_latitude":119320192,"longitude_deg":75.581248,"latitude_deg":11.9320192,"altitude":51,"angle":256,"satellites":37,"speed":39,"hex_longitude":"2d0cc880","hex_latitude":"071cae80","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971008512001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19012119412342784,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926404547645349888,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788949257000,"timestamp_ms":1788949257000,"timestamp_seconds":1788949257,"priority":1,"record_length":96,"hex_timestamp":"000001a085af5b28"} 
[2026-09-09 15:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 15:52: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-09-09 15: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-09-09 15:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971008512001,"66":13972,"57":206,"83":41984,"24":39,"16":19012119412342784,"45":926404547645349888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-09 15:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971008512001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:52:37] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-09 15:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19012119412342784,"km_value":19012119412342.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":926404547645349888,"description":"Unknown IO ID 45"} 
[2026-09-09 15:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971008512001,"power":13972,"unknown_57":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":926404547645349888}} 
[2026-09-09 15:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":175784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:52:37] local.INFO: GPS data processed {"connection_id":175784,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:52:37] local.INFO: Acknowledgment sent {"connection_id":175784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:52:43] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:52:43] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:52:43] local.INFO: IMEI packet received {"connection_id":175572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":175572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:52:48] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b0a3480100000000000000000000000000..."} 
[2026-09-09 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b0a3480100000000000000000000000000..."} 
[2026-09-09 15:52:48] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b0a3480100000000000000000000000000..."} 
[2026-09-09 15:52:48] local.INFO: Packet analysis {"connection_id":178363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:52:48] local.INFO: Extracted packet for processing {"connection_id":178363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:52:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 15:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788949341000,"timestamp_ms":1788949341000,"timestamp_seconds":1788949341,"priority":1,"record_length":96,"hex_timestamp":"000001a085b0a348"} 
[2026-09-09 15:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:52: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-09-09 15:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 15:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":178363,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:52:48] local.INFO: GPS data processed {"connection_id":178363,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:52:48] local.INFO: Acknowledgment sent {"connection_id":178363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:52:48] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:52:48] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:52:48] local.INFO: IMEI packet received {"connection_id":175572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":175572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:52:49] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:52:49] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:52:49] local.INFO: Packet analysis {"connection_id":175572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:52:49] local.INFO: Extracted packet for processing {"connection_id":175572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 15:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":175572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:52:49] local.INFO: GPS data processed {"connection_id":175572,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:52:49] local.INFO: Acknowledgment sent {"connection_id":175572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:52:55] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:52:55] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085acb378012d34cc4006aa49080000013425..."} 
[2026-09-09 15:52:55] local.INFO: Packet analysis {"connection_id":175572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:52:55] local.INFO: Extracted packet for processing {"connection_id":175572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ac"} 
[2026-09-09 15:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970887168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788949083000,"timestamp_ms":1788949083000,"timestamp_seconds":1788949083,"priority":1,"record_length":96,"hex_timestamp":"000001a085acb378"} 
[2026-09-09 15:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970887168001,"66":25756,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970887168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:52:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:52:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970887168001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":175572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:52:55] local.INFO: GPS data processed {"connection_id":175572,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:52:55] local.INFO: Acknowledgment sent {"connection_id":175572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:53:09] local.INFO: TCP Data received {"connection_id":175784,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085af7298012d0cb080071cab900033010e26..."} 
[2026-09-09 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085af7298012d0cb080071cab900033010e26..."} 
[2026-09-09 15:53:09] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085af7298012d0cb080071cab900033010e26..."} 
[2026-09-09 15:53:09] local.INFO: Packet analysis {"connection_id":175784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:53:09] local.INFO: Extracted packet for processing {"connection_id":175784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085af"} 
[2026-09-09 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":755806336,"raw_latitude":119319440,"longitude_deg":75.5806336,"latitude_deg":11.931944,"altitude":51,"angle":270,"satellites":38,"speed":39,"hex_longitude":"2d0cb080","hex_latitude":"071cab90","is_valid_coordinates":true} 
[2026-09-09 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971009792001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19012411470118912,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921126891831590912,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788949263000,"timestamp_ms":1788949263000,"timestamp_seconds":1788949263,"priority":1,"record_length":96,"hex_timestamp":"000001a085af7298"} 
[2026-09-09 15:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971009792001,"66":13993,"57":206,"83":41984,"24":39,"16":19012411470118912,"45":921126891831590912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-09 15:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971009792001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:53:09] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-09 15:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19012411470118912,"km_value":19012411470118.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":921126891831590912,"description":"Unknown IO ID 45"} 
[2026-09-09 15:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971009792001,"power":13993,"unknown_57":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":921126891831590912}} 
[2026-09-09 15:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":175784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:53:09] local.INFO: GPS data processed {"connection_id":175784,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:53:09] local.INFO: Acknowledgment sent {"connection_id":175784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:53:20] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b0f5500100000000000000000000000000..."} 
[2026-09-09 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b0f5500100000000000000000000000000..."} 
[2026-09-09 15:53:20] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b0f5500100000000000000000000000000..."} 
[2026-09-09 15:53:20] local.INFO: Packet analysis {"connection_id":178363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:53:20] local.INFO: Extracted packet for processing {"connection_id":178363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 15:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788949362000,"timestamp_ms":1788949362000,"timestamp_seconds":1788949362,"priority":1,"record_length":96,"hex_timestamp":"000001a085b0f550"} 
[2026-09-09 15:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:53:20] 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-09-09 15:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 15:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":178363,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:53:20] local.INFO: GPS data processed {"connection_id":178363,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:53:20] local.INFO: Acknowledgment sent {"connection_id":178363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:53:36] local.INFO: TCP Data received {"connection_id":176972,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:53:36] local.INFO: Processing buffer {"connection_id":176972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:53:36] local.INFO: IMEI packet received {"connection_id":176972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":176972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:53:38] local.INFO: TCP Data received {"connection_id":176972,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:53:38] local.INFO: Processing buffer {"connection_id":176972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:53:38] local.INFO: IMEI packet received {"connection_id":176972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":176972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:53:38] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:53:38] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:53:38] local.INFO: IMEI packet received {"connection_id":175573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":175573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:53:44] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:53:44] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:53:44] local.INFO: IMEI packet received {"connection_id":175573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:53:45] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:53:45] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:53:45] local.INFO: Packet analysis {"connection_id":175573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:53:45] local.INFO: Extracted packet for processing {"connection_id":175573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:53:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":175573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:53:45] local.INFO: GPS data processed {"connection_id":175573,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:53:45] local.INFO: Acknowledgment sent {"connection_id":175573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:53:51] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b147580100000000000000000000000000..."} 
[2026-09-09 15:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b147580100000000000000000000000000..."} 
[2026-09-09 15:53:51] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b147580100000000000000000000000000..."} 
[2026-09-09 15:53:51] local.INFO: Packet analysis {"connection_id":178363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:53:51] local.INFO: Extracted packet for processing {"connection_id":178363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:53:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298239629918208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 15:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788949383000,"timestamp_ms":1788949383000,"timestamp_seconds":1788949383,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14758"} 
[2026-09-09 15:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:53:51] 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-09-09 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 15:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":178363,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 15:53:51] local.INFO: GPS data processed {"connection_id":178363,"processed":0,"errors":0,"total":1} 
[2026-09-09 15:53:51] local.INFO: Acknowledgment sent {"connection_id":178363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:53:56] local.INFO: TCP Data received {"connection_id":176972,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b0d9f8012d0b7bc0071ca208003800ef20..."} 
[2026-09-09 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b0d9f8012d0b7bc0071ca208003800ef20..."} 
[2026-09-09 15:53:56] local.INFO: Processing buffer {"connection_id":176972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b0d9f8012d0b7bc0071ca208003800ef20..."} 
[2026-09-09 15:53:56] local.INFO: Packet analysis {"connection_id":176972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:53:56] local.INFO: Extracted packet for processing {"connection_id":176972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:53:56] local.INFO: GPS Element Parsed {"raw_longitude":755727296,"raw_latitude":119317000,"longitude_deg":75.5727296,"latitude_deg":11.9317,"altitude":56,"angle":239,"satellites":32,"speed":24,"hex_longitude":"2d0b7bc0","hex_latitude":"071ca208","is_valid_coordinates":true} 
[2026-09-09 15:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971033344001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19016229696045056,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":832040061702322176,"note":"Value kept but may cause issues"} 
[2026-09-09 15:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788949355000,"timestamp_ms":1788949355000,"timestamp_seconds":1788949355,"priority":1,"record_length":96,"hex_timestamp":"000001a085b0d9f8"} 
[2026-09-09 15:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 15:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971033344001,"66":14233,"219":206,"83":41984,"24":24,"16":19016229696045056,"45":832040061702322176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 15:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971033344001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:53:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 15:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19016229696045056,"km_value":19016229696045.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":832040061702322176,"description":"Unknown IO ID 45"} 
[2026-09-09 15:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971033344001,"power":14233,"unknown_219":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":832040061702322176}} 
[2026-09-09 15:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":176972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:53:56] local.INFO: GPS data processed {"connection_id":176972,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:53:56] local.INFO: Acknowledgment sent {"connection_id":176972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:54:01] local.INFO: TCP Data received {"connection_id":176972,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b0e998012d0b74c0071c9de0003a00ff1f..."} 
[2026-09-09 15:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b0e998012d0b74c0071c9de0003a00ff1f..."} 
[2026-09-09 15:54:01] local.INFO: Processing buffer {"connection_id":176972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b0e998012d0b74c0071c9de0003a00ff1f..."} 
[2026-09-09 15:54:01] local.INFO: Packet analysis {"connection_id":176972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:54:01] local.INFO: Extracted packet for processing {"connection_id":176972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:54:01] local.INFO: GPS Element Parsed {"raw_longitude":755725504,"raw_latitude":119315936,"longitude_deg":75.5725504,"latitude_deg":11.9315936,"altitude":58,"angle":255,"satellites":31,"speed":18,"hex_longitude":"2d0b74c0","hex_latitude":"071c9de0","is_valid_coordinates":true} 
[2026-09-09 15:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971034880001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19016328480292864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827466093330302976,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788949359000,"timestamp_ms":1788949359000,"timestamp_seconds":1788949359,"priority":1,"record_length":96,"hex_timestamp":"000001a085b0e998"} 
[2026-09-09 15:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 15:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971034880001,"66":13580,"219":206,"83":41984,"24":18,"16":19016328480292864,"45":827466093330302976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 15:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971034880001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:54:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 15:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19016328480292864,"km_value":19016328480292.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":827466093330302976,"description":"Unknown IO ID 45"} 
[2026-09-09 15:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971034880001,"power":13580,"unknown_219":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":827466093330302976}} 
[2026-09-09 15:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":176972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:54:01] local.INFO: GPS data processed {"connection_id":176972,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:54:01] local.INFO: Acknowledgment sent {"connection_id":176972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:54:16] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:54:16] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:54:16] local.INFO: Packet analysis {"connection_id":175573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:54:16] local.INFO: Extracted packet for processing {"connection_id":175573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":175573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:54:16] local.INFO: GPS data processed {"connection_id":175573,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:54:16] local.INFO: Acknowledgment sent {"connection_id":175573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:54:22] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b22dd0012d79fbc005ec4fe8000000aa09..."} 
[2026-09-09 15:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b22dd0012d79fbc005ec4fe8000000aa09..."} 
[2026-09-09 15:54:22] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b22dd0012d79fbc005ec4fe8000000aa09..."} 
[2026-09-09 15:54:22] local.INFO: Packet analysis {"connection_id":178363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:54:22] local.INFO: Extracted packet for processing {"connection_id":178363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:54:22] local.INFO: GPS Element Parsed {"raw_longitude":762969024,"raw_latitude":99373032,"longitude_deg":76.2969024,"latitude_deg":9.9373032,"altitude":0,"angle":170,"satellites":9,"speed":8,"hex_longitude":"2d79fbc0","hex_latitude":"05ec4fe8","is_valid_coordinates":true} 
[2026-09-09 15:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971055616001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130298858105208832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789689491927529472,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:22] 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-09-09 15:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788949442000,"timestamp_ms":1788949442000,"timestamp_seconds":1788949442,"priority":1,"record_length":96,"hex_timestamp":"000001a085b22dd0"} 
[2026-09-09 15:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 15:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971055616001,"66":13852,"100":206,"87":13824,"24":8,"16":130298858105208832,"45":8789689491927529472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971055616001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:54:22] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:54:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130298858105208832,"km_value":130298858105208.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789689491927529472,"description":"Unknown IO ID 45"} 
[2026-09-09 15:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971055616001,"power":13852,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8789689491927529472}} 
[2026-09-09 15:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":178363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:54:22] local.INFO: GPS data processed {"connection_id":178363,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:54:22] local.INFO: Acknowledgment sent {"connection_id":178363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:54:29] local.INFO: TCP Data received {"connection_id":178365,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:54:29] local.INFO: Processing buffer {"connection_id":178365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:54:29] local.INFO: IMEI packet received {"connection_id":178365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":178365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:54:30] local.INFO: TCP Data received {"connection_id":178365,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:54:30] local.INFO: Processing buffer {"connection_id":178365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:54:30] local.INFO: IMEI packet received {"connection_id":178365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":178365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:54:35] local.INFO: TCP Data received {"connection_id":178365,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:54:35] local.INFO: Processing buffer {"connection_id":178365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:54:35] local.INFO: IMEI packet received {"connection_id":178365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":178365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:54:37] local.INFO: TCP Data received {"connection_id":178365,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b0ed80012d0b7340071c9d78003b01101f..."} 
[2026-09-09 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b0ed80012d0b7340071c9d78003b01101f..."} 
[2026-09-09 15:54:37] local.INFO: Processing buffer {"connection_id":178365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b0ed80012d0b7340071c9d78003b01101f..."} 
[2026-09-09 15:54:37] local.INFO: Packet analysis {"connection_id":178365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:54:37] local.INFO: Extracted packet for processing {"connection_id":178365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b0"} 
[2026-09-09 15:54:37] local.INFO: GPS Element Parsed {"raw_longitude":755725120,"raw_latitude":119315832,"longitude_deg":75.572512,"latitude_deg":11.9315832,"altitude":59,"angle":272,"satellites":31,"speed":18,"hex_longitude":"2d0b7340","hex_latitude":"071c9d78","is_valid_coordinates":true} 
[2026-09-09 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971035904001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19016349955129344,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825495768493056000,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788949360000,"timestamp_ms":1788949360000,"timestamp_seconds":1788949360,"priority":1,"record_length":96,"hex_timestamp":"000001a085b0ed80"} 
[2026-09-09 15:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751530893,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2242921864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":142,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":946881997748305930,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2962210817,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2943352884,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637168780868315,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2061172942,"corrected_to":0} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2952867083,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402106,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2384789504,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":864698948489052209,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398709657751123,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:37] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,219,83,24,241,157,16,143,160,217,45,192,162,56,32,10,66,194,169,55,36,142,1,240,224,227,133,28,4,113,205,30,104,213,168,38,239,54,2,67,7,49,43,12,51,164],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2061172942,"validated":0}]} 
[2026-09-09 15:54:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179620962810068992,"timestamp_seconds":4179620962810069.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971035904001,"66":13580,"219":206,"83":41984,"24":18,"16":19016349955129344,"45":825495768493056000},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 15:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971035904001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:54:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 15:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19016349955129344,"km_value":19016349955129.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":825495768493056000,"description":"Unknown IO ID 45"} 
[2026-09-09 15:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971035904001,"power":13580,"unknown_219":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":825495768493056000}} 
[2026-09-09 15:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":178365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:54:37] local.INFO: GPS data processed {"connection_id":178365,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:54:37] local.INFO: Acknowledgment sent {"connection_id":178365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:54:38] local.INFO: TCP Data received {"connection_id":175786,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:54:38] local.INFO: Processing buffer {"connection_id":175786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:54:38] local.INFO: IMEI packet received {"connection_id":175786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":175786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:54:44] local.INFO: TCP Data received {"connection_id":175786,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:54:44] local.INFO: Processing buffer {"connection_id":175786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:54:44] local.INFO: IMEI packet received {"connection_id":175786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":175786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:54:45] local.INFO: TCP Data received {"connection_id":175786,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:54:45] local.INFO: Processing buffer {"connection_id":175786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:54:45] local.INFO: Packet analysis {"connection_id":175786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:54:45] local.INFO: Extracted packet for processing {"connection_id":175786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:54:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":175786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:54:45] local.INFO: GPS data processed {"connection_id":175786,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:54:45] local.INFO: Acknowledgment sent {"connection_id":175786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:54:53] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b2d1e0012d7a00c005ec3d60000000900a..."} 
[2026-09-09 15:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b2d1e0012d7a00c005ec3d60000000900a..."} 
[2026-09-09 15:54:53] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b2d1e0012d7a00c005ec3d60000000900a..."} 
[2026-09-09 15:54:53] local.INFO: Packet analysis {"connection_id":178363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:54:53] local.INFO: Extracted packet for processing {"connection_id":178363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:54:53] local.INFO: GPS Element Parsed {"raw_longitude":762970304,"raw_latitude":99368288,"longitude_deg":76.2970304,"latitude_deg":9.9368288,"altitude":0,"angle":144,"satellites":10,"speed":2,"hex_longitude":"2d7a00c0","hex_latitude":"05ec3d60","is_valid_coordinates":true} 
[2026-09-09 15:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971067392001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130299137278083072,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791237604298049536,"note":"Value kept but may cause issues"} 
[2026-09-09 15:54:53] 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-09-09 15:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788949484000,"timestamp_ms":1788949484000,"timestamp_seconds":1788949484,"priority":1,"record_length":96,"hex_timestamp":"000001a085b2d1e0"} 
[2026-09-09 15:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 15:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971067392001,"66":13678,"100":206,"87":13824,"24":2,"16":130299137278083072,"45":8791237604298049536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971067392001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:54:53] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:54:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130299137278083072,"km_value":130299137278083.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791237604298049536,"description":"Unknown IO ID 45"} 
[2026-09-09 15:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971067392001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8791237604298049536}} 
[2026-09-09 15:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":178363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:54:53] local.INFO: GPS data processed {"connection_id":178363,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:54:53] local.INFO: Acknowledgment sent {"connection_id":178363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:55:11] local.INFO: TCP Data received {"connection_id":178365,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b258c8012d0a9c80071c6180002600c226..."} 
[2026-09-09 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b258c8012d0a9c80071c6180002600c226..."} 
[2026-09-09 15:55:11] local.INFO: Processing buffer {"connection_id":178365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b258c8012d0a9c80071c6180002600c226..."} 
[2026-09-09 15:55:11] local.INFO: Packet analysis {"connection_id":178365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:55:11] local.INFO: Extracted packet for processing {"connection_id":178365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:55:11] local.INFO: GPS Element Parsed {"raw_longitude":755670144,"raw_latitude":119300480,"longitude_deg":75.5670144,"latitude_deg":11.930048,"altitude":38,"angle":194,"satellites":38,"speed":9,"hex_longitude":"2d0a9c80","hex_latitude":"071c6180","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971058688001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19019150273806336,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764837911008151552,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788949453000,"timestamp_ms":1788949453000,"timestamp_seconds":1788949453,"priority":1,"record_length":96,"hex_timestamp":"000001a085b258c8"} 
[2026-09-09 15:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 15:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971058688001,"66":13993,"219":206,"83":41984,"24":9,"16":19019150273806336,"45":764837911008151552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 15:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971058688001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:55:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 15:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19019150273806336,"km_value":19019150273806.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":764837911008151552,"description":"Unknown IO ID 45"} 
[2026-09-09 15:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971058688001,"power":13993,"unknown_219":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":764837911008151552}} 
[2026-09-09 15:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":178365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:55:11] local.INFO: GPS data processed {"connection_id":178365,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:55:11] local.INFO: Acknowledgment sent {"connection_id":178365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:55:17] local.INFO: TCP Data received {"connection_id":175786,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:55:17] local.INFO: Processing buffer {"connection_id":175786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:55:17] local.INFO: Packet analysis {"connection_id":175786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:55:17] local.INFO: Extracted packet for processing {"connection_id":175786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":175786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:55:17] local.INFO: GPS data processed {"connection_id":175786,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:55:17] local.INFO: Acknowledgment sent {"connection_id":175786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:55:25] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b2d9b0012d7a00c005ec3ce8000000780a..."} 
[2026-09-09 15:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b2d9b0012d7a00c005ec3ce8000000780a..."} 
[2026-09-09 15:55:25] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b2d9b0012d7a00c005ec3ce8000000780a..."} 
[2026-09-09 15:55:25] local.INFO: Packet analysis {"connection_id":178363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:55:25] local.INFO: Extracted packet for processing {"connection_id":178363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:55:25] local.INFO: GPS Element Parsed {"raw_longitude":762970304,"raw_latitude":99368168,"longitude_deg":76.2970304,"latitude_deg":9.9368168,"altitude":0,"angle":120,"satellites":10,"speed":1,"hex_longitude":"2d7a00c0","hex_latitude":"05ec3ce8","is_valid_coordinates":true} 
[2026-09-09 15:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971067904001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130299141573050368,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791237604298022912,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55: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-09-09 15:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788949486000,"timestamp_ms":1788949486000,"timestamp_seconds":1788949486,"priority":1,"record_length":96,"hex_timestamp":"000001a085b2d9b0"} 
[2026-09-09 15:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 15:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971067904001,"66":13798,"100":206,"87":13824,"24":1,"16":130299141573050368,"45":8791237604298022912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971067904001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:55:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:55:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130299141573050368,"km_value":130299141573050.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791237604298022912,"description":"Unknown IO ID 45"} 
[2026-09-09 15:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971067904001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8791237604298022912}} 
[2026-09-09 15:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":178363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:55:25] local.INFO: GPS data processed {"connection_id":178363,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:55:25] local.INFO: Acknowledgment sent {"connection_id":178363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:55:30] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:55:30] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:55:30] local.INFO: IMEI packet received {"connection_id":176976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":176976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:55:32] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:55:32] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:55:32] local.INFO: IMEI packet received {"connection_id":176976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":176976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:55:33] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b26868012d0a9c00071c5cb0002700b727..."} 
[2026-09-09 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b26868012d0a9c00071c5cb0002700b727..."} 
[2026-09-09 15:55:33] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b26868012d0a9c00071c5cb0002700b727..."} 
[2026-09-09 15:55:33] local.INFO: Packet analysis {"connection_id":176976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:55:33] local.INFO: Extracted packet for processing {"connection_id":176976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:55:33] local.INFO: GPS Element Parsed {"raw_longitude":755670016,"raw_latitude":119299248,"longitude_deg":75.5670016,"latitude_deg":11.9299248,"altitude":39,"angle":183,"satellites":39,"speed":16,"hex_longitude":"2d0a9c00","hex_latitude":"071c5cb0","is_valid_coordinates":true} 
[2026-09-09 15:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971059968001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19019210403348480,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764626804775419904,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788949457000,"timestamp_ms":1788949457000,"timestamp_seconds":1788949457,"priority":1,"record_length":96,"hex_timestamp":"000001a085b26868"} 
[2026-09-09 15:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:55: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-09-09 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971059968001,"66":13972,"219":206,"83":41984,"24":16,"16":19019210403348480,"45":764626804775419904},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 15:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971059968001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:55:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 15:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19019210403348480,"km_value":19019210403348.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":764626804775419904,"description":"Unknown IO ID 45"} 
[2026-09-09 15:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971059968001,"power":13972,"unknown_219":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":764626804775419904}} 
[2026-09-09 15:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":176976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:55:33] local.INFO: GPS data processed {"connection_id":176976,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:55:33] local.INFO: Acknowledgment sent {"connection_id":176976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:55:38] local.INFO: TCP Data received {"connection_id":176977,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:55:38] local.INFO: Processing buffer {"connection_id":176977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:55:38] local.INFO: IMEI packet received {"connection_id":176977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":176977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:55:43] local.INFO: TCP Data received {"connection_id":176977,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:55:43] local.INFO: Processing buffer {"connection_id":176977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:55:43] local.INFO: IMEI packet received {"connection_id":176977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":176977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:55:45] local.INFO: TCP Data received {"connection_id":176977,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:55:45] local.INFO: Processing buffer {"connection_id":176977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:55:45] local.INFO: Packet analysis {"connection_id":176977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:55:45] local.INFO: Extracted packet for processing {"connection_id":176977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 15:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 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-09-09 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 15:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:55:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":176977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:55:45] local.INFO: GPS data processed {"connection_id":176977,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:55:45] local.INFO: Acknowledgment sent {"connection_id":176977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:55:56] local.INFO: TCP Data received {"connection_id":178363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b2e568012d79ff4005ec3e700000002b0a..."} 
[2026-09-09 15:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b2e568012d79ff4005ec3e700000002b0a..."} 
[2026-09-09 15:55:56] local.INFO: Processing buffer {"connection_id":178363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b2e568012d79ff4005ec3e700000002b0a..."} 
[2026-09-09 15:55:56] local.INFO: Packet analysis {"connection_id":178363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:55:56] local.INFO: Extracted packet for processing {"connection_id":178363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:55:56] local.INFO: GPS Element Parsed {"raw_longitude":762969920,"raw_latitude":99368560,"longitude_deg":76.296992,"latitude_deg":9.936856,"altitude":0,"angle":43,"satellites":10,"speed":0,"hex_longitude":"2d79ff40","hex_latitude":"05ec3e70","is_valid_coordinates":true} 
[2026-09-09 15:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971068416001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130299171637821440,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791237604297992192,"note":"Value kept but may cause issues"} 
[2026-09-09 15:55:56] 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-09-09 15:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788949489000,"timestamp_ms":1788949489000,"timestamp_seconds":1788949489,"priority":1,"record_length":96,"hex_timestamp":"000001a085b2e568"} 
[2026-09-09 15:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 15:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971068416001,"66":13906,"100":206,"87":13824,"24":0,"16":130299171637821440,"45":8791237604297992192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971068416001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:55:56] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:55:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130299171637821440,"km_value":130299171637821.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791237604297992192,"description":"Unknown IO ID 45"} 
[2026-09-09 15:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971068416001,"power":13906,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8791237604297992192}} 
[2026-09-09 15:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":178363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:55:56] local.INFO: GPS data processed {"connection_id":178363,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:55:56] local.INFO: Acknowledgment sent {"connection_id":178363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:56:04] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b29b30012d0a9640071c3ae8002800c327..."} 
[2026-09-09 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b29b30012d0a9640071c3ae8002800c327..."} 
[2026-09-09 15:56:04] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b29b30012d0a9640071c3ae8002800c327..."} 
[2026-09-09 15:56:04] local.INFO: Packet analysis {"connection_id":176976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:56:04] local.INFO: Extracted packet for processing {"connection_id":176976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":755668544,"raw_latitude":119290600,"longitude_deg":75.5668544,"latitude_deg":11.92906,"altitude":40,"angle":195,"satellites":39,"speed":32,"hex_longitude":"2d0a9640","hex_latitude":"071c3ae8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971060992001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19019635605110784,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764486067286749184,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788949470000,"timestamp_ms":1788949470000,"timestamp_seconds":1788949470,"priority":1,"record_length":96,"hex_timestamp":"000001a085b29b30"} 
[2026-09-09 15:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:56: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-09-09 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 15:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971060992001,"66":13928,"219":206,"83":41984,"24":32,"16":19019635605110784,"45":764486067286749184},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 15:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971060992001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:56:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 15:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19019635605110784,"km_value":19019635605110.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":764486067286749184,"description":"Unknown IO ID 45"} 
[2026-09-09 15:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971060992001,"power":13928,"unknown_219":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":764486067286749184}} 
[2026-09-09 15:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":176976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:56:04] local.INFO: GPS data processed {"connection_id":176976,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:56:04] local.INFO: Acknowledgment sent {"connection_id":176976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:56:16] local.INFO: TCP Data received {"connection_id":176977,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:56:16] local.INFO: Processing buffer {"connection_id":176977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:56:16] local.INFO: Packet analysis {"connection_id":176977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:56:16] local.INFO: Extracted packet for processing {"connection_id":176977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":176977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:56:16] local.INFO: GPS data processed {"connection_id":176977,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:56:16] local.INFO: Acknowledgment sent {"connection_id":176977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:56:19] local.INFO: TCP Data received {"connection_id":175575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:56:19] local.INFO: Processing buffer {"connection_id":175575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:56:19] local.INFO: IMEI packet received {"connection_id":175575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":175575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:56:21] local.INFO: TCP Data received {"connection_id":175787,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:56:21] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:56:21] local.INFO: IMEI packet received {"connection_id":175787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":175787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:56:24] local.INFO: TCP Data received {"connection_id":175575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:56:24] local.INFO: Processing buffer {"connection_id":175575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:56:24] local.INFO: IMEI packet received {"connection_id":175575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":175575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:56:25] local.INFO: TCP Data received {"connection_id":175575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b2f120012d79fec005ec3e700000009f0a..."} 
[2026-09-09 15:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b2f120012d79fec005ec3e700000009f0a..."} 
[2026-09-09 15:56:25] local.INFO: Processing buffer {"connection_id":175575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b2f120012d79fec005ec3e700000009f0a..."} 
[2026-09-09 15:56:25] local.INFO: Packet analysis {"connection_id":175575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:56:25] local.INFO: Extracted packet for processing {"connection_id":175575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:56:25] local.INFO: GPS Element Parsed {"raw_longitude":762969792,"raw_latitude":99368560,"longitude_deg":76.2969792,"latitude_deg":9.936856,"altitude":0,"angle":159,"satellites":10,"speed":2,"hex_longitude":"2d79fec0","hex_latitude":"05ec3e70","is_valid_coordinates":true} 
[2026-09-09 15:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971069184001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130299171637821440,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790815391833026560,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56: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-09-09 15:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788949492000,"timestamp_ms":1788949492000,"timestamp_seconds":1788949492,"priority":1,"record_length":96,"hex_timestamp":"000001a085b2f120"} 
[2026-09-09 15:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 15:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971069184001,"66":13798,"100":206,"87":13824,"24":2,"16":130299171637821440,"45":8790815391833026560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-09 15:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971069184001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:56:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-09 15:56:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130299171637821440,"km_value":130299171637821.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790815391833026560,"description":"Unknown IO ID 45"} 
[2026-09-09 15:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971069184001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8790815391833026560}} 
[2026-09-09 15:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":175575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:56:25] local.INFO: GPS data processed {"connection_id":175575,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:56:25] local.INFO: Acknowledgment sent {"connection_id":175575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:56:30] local.INFO: TCP Data received {"connection_id":176978,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:56:30] local.INFO: Processing buffer {"connection_id":176978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:56:30] local.INFO: IMEI packet received {"connection_id":176978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":176978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:56:35] local.INFO: TCP Data received {"connection_id":176978,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:56:35] local.INFO: Processing buffer {"connection_id":176978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:56:35] local.INFO: IMEI packet received {"connection_id":176978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":176978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:56:38] local.INFO: TCP Data received {"connection_id":176978,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b2be58012d0a8d80071c17c0002600c624..."} 
[2026-09-09 15:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b2be58012d0a8d80071c17c0002600c624..."} 
[2026-09-09 15:56:38] local.INFO: Processing buffer {"connection_id":176978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b2be58012d0a8d80071c17c0002600c624..."} 
[2026-09-09 15:56:38] local.INFO: Packet analysis {"connection_id":176978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:56:38] local.INFO: Extracted packet for processing {"connection_id":176978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b2"} 
[2026-09-09 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":755666304,"raw_latitude":119281600,"longitude_deg":75.5666304,"latitude_deg":11.92816,"altitude":38,"angle":198,"satellites":36,"speed":46,"hex_longitude":"2d0a8d80","hex_latitude":"071c17c0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971064320001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19020086576676864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":762867586168449024,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788949479000,"timestamp_ms":1788949479000,"timestamp_seconds":1788949479,"priority":1,"record_length":96,"hex_timestamp":"000001a085b2be58"} 
[2026-09-09 15:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 15:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971064320001,"66":14254,"221":206,"83":41984,"24":46,"16":19020086576676864,"45":762867586168449024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 15:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971064320001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:56:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 15:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19020086576676864,"km_value":19020086576676.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":762867586168449024,"description":"Unknown IO ID 45"} 
[2026-09-09 15:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971064320001,"power":14254,"unknown_221":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":762867586168449024}} 
[2026-09-09 15:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":176978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:56:38] local.INFO: GPS data processed {"connection_id":176978,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:56:38] local.INFO: Acknowledgment sent {"connection_id":176978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:56:41] local.INFO: TCP Data received {"connection_id":178366,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:56:41] local.INFO: Processing buffer {"connection_id":178366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 15:56:41] local.INFO: IMEI packet received {"connection_id":178366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 15:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":178366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:56:44] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:56:44] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:56:44] local.INFO: IMEI packet received {"connection_id":175788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":175788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:56:48] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:56:48] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:56:48] local.INFO: IMEI packet received {"connection_id":175788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":175788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:56:49] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:56:49] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:56:49] local.INFO: Packet analysis {"connection_id":175788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:56:49] local.INFO: Extracted packet for processing {"connection_id":175788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:56:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":175788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:56:49] local.INFO: GPS data processed {"connection_id":175788,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:56:49] local.INFO: Acknowledgment sent {"connection_id":175788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:56:54] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:56:54] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:56:54] local.INFO: Packet analysis {"connection_id":175788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:56:54] local.INFO: Extracted packet for processing {"connection_id":175788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:56:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:56:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":175788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:56:54] local.INFO: GPS data processed {"connection_id":175788,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:56:54] local.INFO: Acknowledgment sent {"connection_id":175788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:56:58] local.INFO: TCP Data received {"connection_id":175575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b4aa88012d7a410005ebaae0000000300a..."} 
[2026-09-09 15:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b4aa88012d7a410005ebaae0000000300a..."} 
[2026-09-09 15:56:58] local.INFO: Processing buffer {"connection_id":175575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b4aa88012d7a410005ebaae0000000300a..."} 
[2026-09-09 15:56:58] local.INFO: Packet analysis {"connection_id":175575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:56:58] local.INFO: Extracted packet for processing {"connection_id":175575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:56:58] local.INFO: GPS Element Parsed {"raw_longitude":762986752,"raw_latitude":99330784,"longitude_deg":76.2986752,"latitude_deg":9.9330784,"altitude":0,"angle":48,"satellites":10,"speed":2,"hex_longitude":"2d7a4100","hex_latitude":"05ebaae0","is_valid_coordinates":true} 
[2026-09-09 15:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971094528001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130301306236567552,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896565192704,"note":"Value kept but may cause issues"} 
[2026-09-09 15:56:58] 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-09-09 15:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788949605000,"timestamp_ms":1788949605000,"timestamp_seconds":1788949605,"priority":1,"record_length":96,"hex_timestamp":"000001a085b4aa88"} 
[2026-09-09 15:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 15:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971094528001,"66":13656,"161":206,"87":13824,"24":2,"16":130301306236567552,"45":8809040896565192704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-09 15:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971094528001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:56:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-09 15:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130301306236567552,"km_value":130301306236567.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896565192704,"description":"Unknown IO ID 45"} 
[2026-09-09 15:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971094528001,"power":13656,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8809040896565192704}} 
[2026-09-09 15:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":175575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:56:58] local.INFO: GPS data processed {"connection_id":175575,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:56:58] local.INFO: Acknowledgment sent {"connection_id":175575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:57:07] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:57:07] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:57:07] local.INFO: IMEI packet received {"connection_id":175789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":175789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:57:10] local.INFO: TCP Data received {"connection_id":176978,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b450b0012d09fec0071aca38002200e525..."} 
[2026-09-09 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b450b0012d09fec0071aca38002200e525..."} 
[2026-09-09 15:57:10] local.INFO: Processing buffer {"connection_id":176978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b450b0012d09fec0071aca38002200e525..."} 
[2026-09-09 15:57:10] local.INFO: Packet analysis {"connection_id":176978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:10] local.INFO: Extracted packet for processing {"connection_id":176978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:10] local.INFO: GPS Element Parsed {"raw_longitude":755629760,"raw_latitude":119196216,"longitude_deg":75.562976,"latitude_deg":11.9196216,"altitude":34,"angle":229,"satellites":37,"speed":39,"hex_longitude":"2d09fec0","hex_latitude":"071aca38","is_valid_coordinates":true} 
[2026-09-09 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971090176001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19024789565865984,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":729231326428454912,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788949582000,"timestamp_ms":1788949582000,"timestamp_seconds":1788949582,"priority":1,"record_length":96,"hex_timestamp":"000001a085b450b0"} 
[2026-09-09 15:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 15:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:57:10] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971090176001,"66":14102,"221":206,"83":41984,"24":39,"16":19024789565865984,"45":729231326428454912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 15:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971090176001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:57:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 15:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19024789565865984,"km_value":19024789565865.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":729231326428454912,"description":"Unknown IO ID 45"} 
[2026-09-09 15:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971090176001,"power":14102,"unknown_221":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":729231326428454912}} 
[2026-09-09 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:57:10] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:57:10] local.INFO: IMEI packet received {"connection_id":175789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":175789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":176978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:57:10] local.INFO: GPS data processed {"connection_id":176978,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:57:10] local.INFO: Acknowledgment sent {"connection_id":176978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:57:11] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085b49ed0012d09c1c0070549b8001400ca14..."} 
[2026-09-09 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b49ed0012d09c1c0070549b8001400ca14..."} 
[2026-09-09 15:57:11] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b49ed0012d09c1c0070549b8001400ca14..."} 
[2026-09-09 15:57:11] local.INFO: Packet analysis {"connection_id":175789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:11] local.INFO: Extracted packet for processing {"connection_id":175789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:11] local.INFO: GPS Element Parsed {"raw_longitude":755614144,"raw_latitude":117787064,"longitude_deg":75.5614144,"latitude_deg":11.7787064,"altitude":20,"angle":202,"satellites":20,"speed":10,"hex_longitude":"2d09c1c0","hex_latitude":"070549b8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971092736001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30973392878305280,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703898578163341312,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57: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-09-09 15:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788949602000,"timestamp_ms":1788949602000,"timestamp_seconds":1788949602,"priority":1,"record_length":96,"hex_timestamp":"000001a085b49ed0"} 
[2026-09-09 15:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15: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-09-09 15: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 15:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:57:11] 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-09-09 15:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971092736001,"66":14537,"177":206,"94":10240,"24":10,"16":30973392878305280,"45":703898578163341312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 15:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971092736001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:57:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 15:57:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30973392878305280,"km_value":30973392878305.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":703898578163341312,"description":"Unknown IO ID 45"} 
[2026-09-09 15:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971092736001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":703898578163341312}} 
[2026-09-09 15:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":175789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:57:11] local.INFO: GPS data processed {"connection_id":175789,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:57:11] local.INFO: Acknowledgment sent {"connection_id":175789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:57:28] local.INFO: TCP Data received {"connection_id":176979,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:28] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:28] local.INFO: IMEI packet received {"connection_id":176979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":176979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:57:29] local.INFO: TCP Data received {"connection_id":175575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b4b640012d7a410005ebab38000000230a..."} 
[2026-09-09 15:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b4b640012d7a410005ebab38000000230a..."} 
[2026-09-09 15:57:29] local.INFO: Processing buffer {"connection_id":175575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b4b640012d7a410005ebab38000000230a..."} 
[2026-09-09 15:57:29] local.INFO: Packet analysis {"connection_id":175575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:29] local.INFO: Extracted packet for processing {"connection_id":175575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:29] local.INFO: GPS Element Parsed {"raw_longitude":762986752,"raw_latitude":99330872,"longitude_deg":76.2986752,"latitude_deg":9.9330872,"altitude":0,"angle":35,"satellites":10,"speed":1,"hex_longitude":"2d7a4100","hex_latitude":"05ebab38","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971098880001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130301310531534848,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809322371542081536,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:29] 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-09-09 15:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788949608000,"timestamp_ms":1788949608000,"timestamp_seconds":1788949608,"priority":1,"record_length":96,"hex_timestamp":"000001a085b4b640"} 
[2026-09-09 15:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 15:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971098880001,"66":12961,"161":206,"87":13824,"24":1,"16":130301310531534848,"45":8809322371542081536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-09 15:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971098880001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:57:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-09 15:57:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130301310531534848,"km_value":130301310531534.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809322371542081536,"description":"Unknown IO ID 45"} 
[2026-09-09 15:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971098880001,"power":12961,"unknown_161":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8809322371542081536}} 
[2026-09-09 15:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":175575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:57:29] local.INFO: GPS data processed {"connection_id":175575,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:57:29] local.INFO: Acknowledgment sent {"connection_id":175575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:57:30] local.INFO: TCP Data received {"connection_id":176979,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:30] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:30] local.INFO: IMEI packet received {"connection_id":176979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":176979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:57:32] local.INFO: TCP Data received {"connection_id":176979,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:32] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:32] local.INFO: IMEI packet received {"connection_id":176979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":176979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:57:35] local.INFO: TCP Data received {"connection_id":176979,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:35] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:57:35] local.INFO: IMEI packet received {"connection_id":176979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":176979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:57:37] local.INFO: TCP Data received {"connection_id":176979,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b450b0012d09fec0071aca38002200e525..."} 
[2026-09-09 15:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b450b0012d09fec0071aca38002200e525..."} 
[2026-09-09 15:57:37] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b450b0012d09fec0071aca38002200e525..."} 
[2026-09-09 15:57:37] local.INFO: Packet analysis {"connection_id":176979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:37] local.INFO: Extracted packet for processing {"connection_id":176979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:37] local.INFO: GPS Element Parsed {"raw_longitude":755629760,"raw_latitude":119196216,"longitude_deg":75.562976,"latitude_deg":11.9196216,"altitude":34,"angle":229,"satellites":37,"speed":39,"hex_longitude":"2d09fec0","hex_latitude":"071aca38","is_valid_coordinates":true} 
[2026-09-09 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971092992001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19024789565865984,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720224127172622336,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788949582000,"timestamp_ms":1788949582000,"timestamp_seconds":1788949582,"priority":1,"record_length":96,"hex_timestamp":"000001a085b450b0"} 
[2026-09-09 15:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 15:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971092992001,"66":14102,"221":206,"83":41984,"24":39,"16":19024789565865984,"45":720224127172622336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 15:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971092992001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:57:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 15:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19024789565865984,"km_value":19024789565865.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":720224127172622336,"description":"Unknown IO ID 45"} 
[2026-09-09 15:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971092992001,"power":14102,"unknown_221":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":720224127172622336}} 
[2026-09-09 15:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":176979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:57:37] local.INFO: GPS data processed {"connection_id":176979,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:57:37] local.INFO: Acknowledgment sent {"connection_id":176979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:57:38] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:57:38] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:57:38] local.INFO: IMEI packet received {"connection_id":175576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":175576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:57:42] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085b4d580012d09bec0070540b8001400ba14..."} 
[2026-09-09 15:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b4d580012d09bec0070540b8001400ba14..."} 
[2026-09-09 15:57:42] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b4d580012d09bec0070540b8001400ba14..."} 
[2026-09-09 15:57:42] local.INFO: Packet analysis {"connection_id":175789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:42] local.INFO: Extracted packet for processing {"connection_id":175789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:57:42] local.INFO: GPS Element Parsed {"raw_longitude":755613376,"raw_latitude":117784760,"longitude_deg":75.5613376,"latitude_deg":11.778476,"altitude":20,"angle":186,"satellites":20,"speed":9,"hex_longitude":"2d09bec0","hex_latitude":"070540b8","is_valid_coordinates":true} 
[2026-09-09 15:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971098112001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30973513137389568,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703054153232529408,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788949616000,"timestamp_ms":1788949616000,"timestamp_seconds":1788949616,"priority":1,"record_length":96,"hex_timestamp":"000001a085b4d580"} 
[2026-09-09 15:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:57: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-09-09 15:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 15:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:57:42] 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-09-09 15:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971098112001,"66":14233,"177":206,"94":10240,"24":9,"16":30973513137389568,"45":703054153232529408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 15:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971098112001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:57:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 15:57:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30973513137389568,"km_value":30973513137389.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":703054153232529408,"description":"Unknown IO ID 45"} 
[2026-09-09 15:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971098112001,"power":14233,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":703054153232529408}} 
[2026-09-09 15:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":175789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789568,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:57:42] local.INFO: GPS data processed {"connection_id":175789,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:57:42] local.INFO: Acknowledgment sent {"connection_id":175789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:57:43] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:57:43] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:57:43] local.INFO: IMEI packet received {"connection_id":175576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":175576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:57:44] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:57:44] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:57:44] local.INFO: Packet analysis {"connection_id":175576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:57:44] local.INFO: Extracted packet for processing {"connection_id":175576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:57:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":175576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:57:45] local.INFO: GPS data processed {"connection_id":175576,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:57:45] local.INFO: Acknowledgment sent {"connection_id":175576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:57:50] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:57:50] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:57:50] local.INFO: Packet analysis {"connection_id":175576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:57:50] local.INFO: Extracted packet for processing {"connection_id":175576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:57: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-09-09 15:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:57:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":175576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:57:50] local.INFO: GPS data processed {"connection_id":175576,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:57:50] local.INFO: Acknowledgment sent {"connection_id":175576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:58:05] local.INFO: TCP Data received {"connection_id":178367,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:58:05] local.INFO: Processing buffer {"connection_id":178367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:58:05] local.INFO: IMEI packet received {"connection_id":178367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":178367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:58:08] local.INFO: TCP Data received {"connection_id":176979,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b46050012d09f400071abed8002100d924..."} 
[2026-09-09 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b46050012d09f400071abed8002100d924..."} 
[2026-09-09 15:58:08] local.INFO: Processing buffer {"connection_id":176979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b46050012d09f400071abed8002100d924..."} 
[2026-09-09 15:58:08] local.INFO: Packet analysis {"connection_id":176979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:58:08] local.INFO: Extracted packet for processing {"connection_id":176979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:58:08] local.INFO: GPS Element Parsed {"raw_longitude":755627008,"raw_latitude":119193304,"longitude_deg":75.5627008,"latitude_deg":11.9193304,"altitude":33,"angle":217,"satellites":36,"speed":41,"hex_longitude":"2d09f400","hex_latitude":"071abed8","is_valid_coordinates":true} 
[2026-09-09 15:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971092992001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19024982839394304,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720224127172622336,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788949586000,"timestamp_ms":1788949586000,"timestamp_seconds":1788949586,"priority":1,"record_length":96,"hex_timestamp":"000001a085b46050"} 
[2026-09-09 15:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 15:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971092992001,"66":13961,"221":206,"83":41984,"24":41,"16":19024982839394304,"45":720224127172622336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 15:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971092992001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:58:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 15:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19024982839394304,"km_value":19024982839394.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":720224127172622336,"description":"Unknown IO ID 45"} 
[2026-09-09 15:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971092992001,"power":13961,"unknown_221":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":720224127172622336}} 
[2026-09-09 15:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":176979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:58:09] local.INFO: GPS data processed {"connection_id":176979,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:58:09] local.INFO: Acknowledgment sent {"connection_id":176979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:58:10] local.INFO: TCP Data received {"connection_id":178367,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:58:10] local.INFO: Processing buffer {"connection_id":178367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:58:10] local.INFO: IMEI packet received {"connection_id":178367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":178367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:58:11] local.INFO: TCP Data received {"connection_id":178367,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085b4e908012d09be4007053e10001500c514..."} 
[2026-09-09 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b4e908012d09be4007053e10001500c514..."} 
[2026-09-09 15:58:11] local.INFO: Processing buffer {"connection_id":178367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b4e908012d09be4007053e10001500c514..."} 
[2026-09-09 15:58:11] local.INFO: Packet analysis {"connection_id":178367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:58:11] local.INFO: Extracted packet for processing {"connection_id":178367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:58:11] local.INFO: GPS Element Parsed {"raw_longitude":755613248,"raw_latitude":117784080,"longitude_deg":75.5613248,"latitude_deg":11.778408,"altitude":21,"angle":197,"satellites":20,"speed":3,"hex_longitude":"2d09be40","hex_latitude":"07053e10","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971101696001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30973547497127936,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702209728301807616,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58: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-09-09 15:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788949621000,"timestamp_ms":1788949621000,"timestamp_seconds":1788949621,"priority":1,"record_length":96,"hex_timestamp":"000001a085b4e908"} 
[2026-09-09 15:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:58: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-09-09 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 15:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:58:11] 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-09-09 15:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971101696001,"66":14515,"177":206,"94":10240,"24":3,"16":30973547497127936,"45":702209728301807616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 15:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971101696001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:58:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 15:58:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30973547497127936,"km_value":30973547497127.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":702209728301807616,"description":"Unknown IO ID 45"} 
[2026-09-09 15:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971101696001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":702209728301807616}} 
[2026-09-09 15:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":178367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:58:12] local.INFO: GPS data processed {"connection_id":178367,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:58:12] local.INFO: Acknowledgment sent {"connection_id":178367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:58:19] local.INFO: TCP Data received {"connection_id":175791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:58:19] local.INFO: Processing buffer {"connection_id":175791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:58:19] local.INFO: IMEI packet received {"connection_id":175791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":175791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:58:20] local.INFO: TCP Data received {"connection_id":175791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:58:20] local.INFO: Processing buffer {"connection_id":175791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:58:20] local.INFO: IMEI packet received {"connection_id":175791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":175791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:58:21] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:58:21] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b14370012d34cc4006aa49080000013422..."} 
[2026-09-09 15:58:21] local.INFO: Packet analysis {"connection_id":175576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:58:21] local.INFO: Extracted packet for processing {"connection_id":175576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b1"} 
[2026-09-09 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970965248001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788949382000,"timestamp_ms":1788949382000,"timestamp_seconds":1788949382,"priority":1,"record_length":96,"hex_timestamp":"000001a085b14370"} 
[2026-09-09 15:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 15:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970965248001,"66":25734,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970965248001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:58:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970965248001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":175576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:58:21] local.INFO: GPS data processed {"connection_id":175576,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:58:21] local.INFO: Acknowledgment sent {"connection_id":175576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:58:24] local.INFO: TCP Data received {"connection_id":175791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:58:24] local.INFO: Processing buffer {"connection_id":175791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:58:24] local.INFO: IMEI packet received {"connection_id":175791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":175791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:58:25] local.INFO: TCP Data received {"connection_id":175791,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5a870012d7ab50005ebbcd8000000400c..."} 
[2026-09-09 15:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5a870012d7ab50005ebbcd8000000400c..."} 
[2026-09-09 15:58:25] local.INFO: Processing buffer {"connection_id":175791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5a870012d7ab50005ebbcd8000000400c..."} 
[2026-09-09 15:58:25] local.INFO: Packet analysis {"connection_id":175791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:58:25] local.INFO: Extracted packet for processing {"connection_id":175791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:58:25] local.INFO: GPS Element Parsed {"raw_longitude":763016448,"raw_latitude":99335384,"longitude_deg":76.3016448,"latitude_deg":9.9335384,"altitude":0,"angle":64,"satellites":12,"speed":20,"hex_longitude":"2d7ab500","hex_latitude":"05ebbcd8","is_valid_coordinates":true} 
[2026-09-09 15:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971112704001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130302899669434368,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832332950888740864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:25] 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-09-09 15:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788949670000,"timestamp_ms":1788949670000,"timestamp_seconds":1788949670,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5a870"} 
[2026-09-09 15:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-09 15:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971112704001,"66":13830,"99":206,"87":13824,"24":20,"16":130302899669434368,"45":8832332950888740864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 15:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971112704001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:58:25] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 15:58:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130302899669434368,"km_value":130302899669434.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832332950888740864,"description":"Unknown IO ID 45"} 
[2026-09-09 15:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971112704001,"power":13830,"unknown_99":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8832332950888740864}} 
[2026-09-09 15:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":175791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:58:25] local.INFO: GPS data processed {"connection_id":175791,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:58:25] local.INFO: Acknowledgment sent {"connection_id":175791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:58:29] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:58:29] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:58:29] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:58:30] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:58:30] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:58:30] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:58:35] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:58:35] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:58:35] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:58:36] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b569f0012d097500071a24d8003200fa28..."} 
[2026-09-09 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b569f0012d097500071a24d8003200fa28..."} 
[2026-09-09 15:58:36] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b569f0012d097500071a24d8003200fa28..."} 
[2026-09-09 15:58:36] local.INFO: Packet analysis {"connection_id":175577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:58:36] local.INFO: Extracted packet for processing {"connection_id":175577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":755594496,"raw_latitude":119153880,"longitude_deg":75.5594496,"latitude_deg":11.915388,"altitude":50,"angle":250,"satellites":40,"speed":28,"hex_longitude":"2d097500","hex_latitude":"071a24d8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971111168001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19027508280164352,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":682084267817568256,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788949654000,"timestamp_ms":1788949654000,"timestamp_seconds":1788949654,"priority":1,"record_length":96,"hex_timestamp":"000001a085b569f0"} 
[2026-09-09 15:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971111168001,"66":13993,"221":206,"83":41984,"24":28,"16":19027508280164352,"45":682084267817568256},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 15:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971111168001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:58:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 15:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 15:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19027508280164352,"km_value":19027508280164.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":682084267817568256,"description":"Unknown IO ID 45"} 
[2026-09-09 15:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971111168001,"power":13993,"unknown_221":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":682084267817568256}} 
[2026-09-09 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":175577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:58:37] local.INFO: GPS data processed {"connection_id":175577,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:58:37] local.INFO: Acknowledgment sent {"connection_id":175577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:58:38] local.INFO: TCP Data received {"connection_id":175578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:58:38] local.INFO: Processing buffer {"connection_id":175578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:58:38] local.INFO: IMEI packet received {"connection_id":175578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":175578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:58:43] local.INFO: TCP Data received {"connection_id":178367,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085b4f8a8012d09bdc007053c18001500b514..."} 
[2026-09-09 15:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b4f8a8012d09bdc007053c18001500b514..."} 
[2026-09-09 15:58:43] local.INFO: Processing buffer {"connection_id":178367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b4f8a8012d09bdc007053c18001500b514..."} 
[2026-09-09 15:58:43] local.INFO: Packet analysis {"connection_id":178367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:58:43] local.INFO: Extracted packet for processing {"connection_id":178367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b4"} 
[2026-09-09 15:58:43] local.INFO: GPS Element Parsed {"raw_longitude":755613120,"raw_latitude":117783576,"longitude_deg":75.561312,"latitude_deg":11.7783576,"altitude":21,"angle":181,"satellites":20,"speed":5,"hex_longitude":"2d09bdc0","hex_latitude":"07053c18","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971102976001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30973577561899008,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702068990813278208,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:43] 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-09-09 15:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788949625000,"timestamp_ms":1788949625000,"timestamp_seconds":1788949625,"priority":1,"record_length":96,"hex_timestamp":"000001a085b4f8a8"} 
[2026-09-09 15:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:58: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-09-09 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 15:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 15:58:43] 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-09-09 15:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 15:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 15:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971102976001,"66":14396,"177":206,"94":10240,"24":5,"16":30973577561899008,"45":702068990813278208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-09 15:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 15:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 15:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971102976001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:58:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-09 15:58:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 15:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30973577561899008,"km_value":30973577561899.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":702068990813278208,"description":"Unknown IO ID 45"} 
[2026-09-09 15:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971102976001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":702068990813278208}} 
[2026-09-09 15:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":178367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:58:43] local.INFO: GPS data processed {"connection_id":178367,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:58:43] local.INFO: Acknowledgment sent {"connection_id":178367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:58:44] local.INFO: TCP Data received {"connection_id":175578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:58:44] local.INFO: Processing buffer {"connection_id":175578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:58:44] local.INFO: IMEI packet received {"connection_id":175578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":175578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:58:46] local.INFO: TCP Data received {"connection_id":175578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 15:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 15:58:46] local.INFO: Processing buffer {"connection_id":175578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 15:58:46] local.INFO: Packet analysis {"connection_id":175578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:58:46] local.INFO: Extracted packet for processing {"connection_id":175578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 15:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 15:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:58: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-09-09 15:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":175578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:58:46] local.INFO: GPS data processed {"connection_id":175578,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:58:46] local.INFO: Acknowledgment sent {"connection_id":175578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:59:03] local.INFO: TCP Data received {"connection_id":175791,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5e308012d7ad80005ebcb200000003f0c..."} 
[2026-09-09 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5e308012d7ad80005ebcb200000003f0c..."} 
[2026-09-09 15:59:03] local.INFO: Processing buffer {"connection_id":175791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5e308012d7ad80005ebcb200000003f0c..."} 
[2026-09-09 15:59:03] local.INFO: Packet analysis {"connection_id":175791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:59:03] local.INFO: Extracted packet for processing {"connection_id":175791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763025408,"raw_latitude":99339040,"longitude_deg":76.3025408,"latitude_deg":9.933904,"altitude":0,"angle":63,"satellites":12,"speed":26,"hex_longitude":"2d7ad800","hex_latitude":"05ebcb20","is_valid_coordinates":true} 
[2026-09-09 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971115520001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130303367820869632,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841973468841695232,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59: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-09-09 15:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788949685000,"timestamp_ms":1788949685000,"timestamp_seconds":1788949685,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5e308"} 
[2026-09-09 15:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503608233099264,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627147292160,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2248867854,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3037218817,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2666528768,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3968204800,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3953076224,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.WARNING: Large IO value detected {"io_id":252,"raw_value":-8070119054112717333,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,99,87,24,241,157,16,237,160,125,45,192,179,11,10,66,163,74,64,167,236,1,240,227,133,235,4,113,205,17,71,239,54,2,206,5,252],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-09-09 15:59:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":70420285095936,"timestamp_seconds":70420285095.936,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971115520001,"66":13830,"99":206,"87":13824,"24":26,"16":130303367820869632,"45":8841973468841695232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 15:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971115520001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:59:03] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 15:59:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130303367820869632,"km_value":130303367820869.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841973468841695232,"description":"Unknown IO ID 45"} 
[2026-09-09 15:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971115520001,"power":13830,"unknown_99":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8841973468841695232}} 
[2026-09-09 15:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":175791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:59:03] local.INFO: GPS data processed {"connection_id":175791,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:59:03] local.INFO: Acknowledgment sent {"connection_id":175791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:59:05] local.INFO: TCP Data received {"connection_id":176980,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176980,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:05] local.INFO: Processing buffer {"connection_id":176980,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:05] local.INFO: IMEI packet received {"connection_id":176980,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":176980,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:59:05] local.INFO: TCP Data received {"connection_id":176980,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176980,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:05] local.INFO: Processing buffer {"connection_id":176980,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:05] local.INFO: IMEI packet received {"connection_id":176980,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":176980,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:59:06] local.INFO: TCP Data received {"connection_id":176980,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176980,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:06] local.INFO: Processing buffer {"connection_id":176980,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:06] local.INFO: IMEI packet received {"connection_id":176980,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":176980,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:59:08] local.INFO: TCP Data received {"connection_id":176980,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176980,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:08] local.INFO: Processing buffer {"connection_id":176980,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 15:59:08] local.INFO: IMEI packet received {"connection_id":176980,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 15:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":176980,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:59:08] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b619b8012d08ee400719caa0003d00bc27..."} 
[2026-09-09 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b619b8012d08ee400719caa0003d00bc27..."} 
[2026-09-09 15:59:08] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b619b8012d08ee400719caa0003d00bc27..."} 
[2026-09-09 15:59:08] local.INFO: Packet analysis {"connection_id":175577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 15:59:08] local.INFO: Extracted packet for processing {"connection_id":175577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":755560000,"raw_latitude":119130784,"longitude_deg":75.556,"latitude_deg":11.9130784,"altitude":61,"angle":188,"satellites":39,"speed":45,"hex_longitude":"2d08ee40","hex_latitude":"0719caa0","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971120640001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19029784612831232,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":645140677120835584,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:08] 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-09-09 15:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788949699000,"timestamp_ms":1788949699000,"timestamp_seconds":1788949699,"priority":1,"record_length":96,"hex_timestamp":"000001a085b619b8"} 
[2026-09-09 15:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 15:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971120640001,"66":13820,"36":206,"94":10496,"24":45,"16":19029784612831232,"45":645140677120835584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-09 15:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971120640001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:59:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-09 15:59:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10496,"description":"Unknown IO ID 94"} 
[2026-09-09 15:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19029784612831232,"km_value":19029784612831.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":645140677120835584,"description":"Unknown IO ID 45"} 
[2026-09-09 15:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971120640001,"power":13820,"unknown_36":206,"unknown_94":10496,"ignition":45,"odometer":null,"unknown_45":645140677120835584}} 
[2026-09-09 15:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":175577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:59:08] local.INFO: GPS data processed {"connection_id":175577,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:59:08] local.INFO: Acknowledgment sent {"connection_id":175577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:59:17] local.INFO: TCP Data received {"connection_id":175578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 15:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 15:59:17] local.INFO: Processing buffer {"connection_id":175578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 15:59:17] local.INFO: Packet analysis {"connection_id":175578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:59:17] local.INFO: Extracted packet for processing {"connection_id":175578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 15:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 15:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:59:17] local.INFO: GPS data processed {"connection_id":175578,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:59:17] local.INFO: Acknowledgment sent {"connection_id":175578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:59:24] local.INFO: TCP Data received {"connection_id":176981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:59:24] local.INFO: Processing buffer {"connection_id":176981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:59:24] local.INFO: IMEI packet received {"connection_id":176981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 15:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":176981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:59:30] local.INFO: TCP Data received {"connection_id":178369,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:59:30] local.INFO: Processing buffer {"connection_id":178369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:59:30] local.INFO: IMEI packet received {"connection_id":178369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 15:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":178369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:59:30] local.INFO: TCP Data received {"connection_id":176981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:59:30] local.INFO: Processing buffer {"connection_id":176981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 15:59:30] local.INFO: IMEI packet received {"connection_id":176981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 15:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":176981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:59:34] local.INFO: TCP Data received {"connection_id":178369,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:59:34] local.INFO: Processing buffer {"connection_id":178369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 15:59:34] local.INFO: IMEI packet received {"connection_id":178369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 15:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":178369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:59:35] local.INFO: TCP Data received {"connection_id":178369,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b62958012d08e9800719b9e8003e00c927..."} 
[2026-09-09 15:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b62958012d08e9800719b9e8003e00c927..."} 
[2026-09-09 15:59:35] local.INFO: Processing buffer {"connection_id":178369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b62958012d08e9800719b9e8003e00c927..."} 
[2026-09-09 15:59:35] local.INFO: Packet analysis {"connection_id":178369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 15:59:35] local.INFO: Extracted packet for processing {"connection_id":178369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 15:59:35] local.INFO: GPS Element Parsed {"raw_longitude":755558784,"raw_latitude":119126504,"longitude_deg":75.5558784,"latitude_deg":11.9126504,"altitude":62,"angle":201,"satellites":39,"speed":43,"hex_longitude":"2d08e980","hex_latitude":"0719b9e8","is_valid_coordinates":true} 
[2026-09-09 15: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-09-09 15:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971122944001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19029999361196032,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":643522196002217984,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59: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-09-09 15:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788949703000,"timestamp_ms":1788949703000,"timestamp_seconds":1788949703,"priority":1,"record_length":96,"hex_timestamp":"000001a085b62958"} 
[2026-09-09 15:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 15:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15: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-09-09 15:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 15:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 15:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 15:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971122944001,"66":13961,"36":206,"94":10496,"24":43,"16":19029999361196032,"45":643522196002217984},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-09 15:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 15:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 15:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971122944001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:59:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-09 15:59:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10496,"description":"Unknown IO ID 94"} 
[2026-09-09 15:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19029999361196032,"km_value":19029999361196.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":643522196002217984,"description":"Unknown IO ID 45"} 
[2026-09-09 15:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971122944001,"power":13961,"unknown_36":206,"unknown_94":10496,"ignition":43,"odometer":null,"unknown_45":643522196002217984}} 
[2026-09-09 15:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":178369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:59:35] local.INFO: GPS data processed {"connection_id":178369,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:59:35] local.INFO: Acknowledgment sent {"connection_id":178369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:59:38] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:59:38] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:59:38] local.INFO: IMEI packet received {"connection_id":175792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 15:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":175792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 15:59:44] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:59:44] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 15:59:44] local.INFO: IMEI packet received {"connection_id":175792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 15:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":175792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 15:59:44] local.INFO: TCP Data received {"connection_id":176981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b615d0012d7afa8005ebda880000003d0c..."} 
[2026-09-09 15:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b615d0012d7afa8005ebda880000003d0c..."} 
[2026-09-09 15:59:44] local.INFO: Processing buffer {"connection_id":176981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b615d0012d7afa8005ebda880000003d0c..."} 
[2026-09-09 15:59:44] local.INFO: Packet analysis {"connection_id":176981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 15:59:44] local.INFO: Extracted packet for processing {"connection_id":176981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 15:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763034240,"raw_latitude":99342984,"longitude_deg":76.303424,"latitude_deg":9.9342984,"altitude":0,"angle":61,"satellites":12,"speed":27,"hex_longitude":"2d7afa80","hex_latitude":"05ebda88","is_valid_coordinates":true} 
[2026-09-09 15:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971119360001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130303827382370304,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851825093027504128,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] 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-09-09 15:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788949698000,"timestamp_ms":1788949698000,"timestamp_seconds":1788949698,"priority":1,"record_length":96,"hex_timestamp":"000001a085b615d0"} 
[2026-09-09 15:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 15:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":8647242762707535339,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4222133256388608,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627147291136,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2243232864,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3037730817,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2679111680,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3968532480,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3953061888,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2882303763547881488,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:44] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,99,87,24,241,157,16,238,160,168,45,188,12,10,66,237,125,192,179,11,163,74,64,1,240,104,227,236,133,235,4,113,205,18,8,73,239,54,2,206,5,15,159],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-09-09 15:59:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69320773861376,"timestamp_seconds":69320773861.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 15:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 15:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 15:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 15:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971119360001,"66":13820,"99":206,"87":13824,"24":27,"16":130303827382370304,"45":8851825093027504128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 15:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 15:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 15:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971119360001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:59:44] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 15:59:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 15:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130303827382370304,"km_value":130303827382370.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851825093027504128,"description":"Unknown IO ID 45"} 
[2026-09-09 15:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971119360001,"power":13820,"unknown_99":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8851825093027504128}} 
[2026-09-09 15:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":176981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:59:44] local.INFO: GPS data processed {"connection_id":176981,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:59:44] local.INFO: Acknowledgment sent {"connection_id":176981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 15:59:46] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 15:59:46] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 15:59:46] local.INFO: Packet analysis {"connection_id":175792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:59:46] local.INFO: Extracted packet for processing {"connection_id":175792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 15:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 15:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 15:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 15:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 15:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 15:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 15:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 15:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 15:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 15:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 15:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 15:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 15:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 15:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 15:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 15:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 15:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 15:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 15:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 15:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 15:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 15:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 15:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 15:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 15:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":175792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 15:59:46] local.INFO: GPS data processed {"connection_id":175792,"processed":1,"errors":0,"total":1} 
[2026-09-09 15:59:46] local.INFO: Acknowledgment sent {"connection_id":175792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:00:06] local.INFO: TCP Data received {"connection_id":178369,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b638f8012d08e1c00719aaf8004000d627..."} 
[2026-09-09 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b638f8012d08e1c00719aaf8004000d627..."} 
[2026-09-09 16:00:06] local.INFO: Processing buffer {"connection_id":178369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b638f8012d08e1c00719aaf8004000d627..."} 
[2026-09-09 16:00:06] local.INFO: Packet analysis {"connection_id":178369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:00:06] local.INFO: Extracted packet for processing {"connection_id":178369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":755556800,"raw_latitude":119122680,"longitude_deg":75.55568,"latitude_deg":11.912268,"altitude":64,"angle":214,"satellites":39,"speed":42,"hex_longitude":"2d08e1c0","hex_latitude":"0719aaf8","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971123968001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19030209814593536,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":642185189861746688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:06] 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-09-09 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788949707000,"timestamp_ms":1788949707000,"timestamp_seconds":1788949707,"priority":1,"record_length":96,"hex_timestamp":"000001a085b638f8"} 
[2026-09-09 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 16:00: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-09-09 16: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-09-09 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971123968001,"66":14026,"36":206,"94":10496,"24":42,"16":19030209814593536,"45":642185189861746688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-09 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971123968001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:00:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-09 16:00:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10496,"description":"Unknown IO ID 94"} 
[2026-09-09 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19030209814593536,"km_value":19030209814593.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":642185189861746688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971123968001,"power":14026,"unknown_36":206,"unknown_94":10496,"ignition":42,"odometer":null,"unknown_45":642185189861746688}} 
[2026-09-09 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":178369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:00:06] local.INFO: GPS data processed {"connection_id":178369,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:00:06] local.INFO: Acknowledgment sent {"connection_id":178369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:00:18] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:00:18] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:00:18] local.INFO: Packet analysis {"connection_id":175792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:00:18] local.INFO: Extracted packet for processing {"connection_id":175792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 16:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 16:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:00:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":175792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:00:18] local.INFO: GPS data processed {"connection_id":175792,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:00:18] local.INFO: Acknowledgment sent {"connection_id":175792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:00:19] local.INFO: TCP Data received {"connection_id":178370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:00:19] local.INFO: Processing buffer {"connection_id":178370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:00:19] local.INFO: IMEI packet received {"connection_id":178370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":178370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:00:25] local.INFO: TCP Data received {"connection_id":178370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:00:25] local.INFO: Processing buffer {"connection_id":178370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:00:25] local.INFO: IMEI packet received {"connection_id":178370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":178370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:00:26] local.INFO: TCP Data received {"connection_id":178370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b644b0012d7b1a0005ebe9b00000003f0c..."} 
[2026-09-09 16:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b644b0012d7b1a0005ebe9b00000003f0c..."} 
[2026-09-09 16:00:26] local.INFO: Processing buffer {"connection_id":178370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b644b0012d7b1a0005ebe9b00000003f0c..."} 
[2026-09-09 16:00:26] local.INFO: Packet analysis {"connection_id":178370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:00:26] local.INFO: Extracted packet for processing {"connection_id":178370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763042304,"raw_latitude":99346864,"longitude_deg":76.3042304,"latitude_deg":9.9346864,"altitude":0,"angle":63,"satellites":12,"speed":28,"hex_longitude":"2d7b1a00","hex_latitude":"05ebe9b0","is_valid_coordinates":true} 
[2026-09-09 16:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971122688001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130304256879099904,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861535979725031424,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:26] 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-09-09 16:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788949710000,"timestamp_ms":1788949710000,"timestamp_seconds":1788949710,"priority":1,"record_length":96,"hex_timestamp":"000001a085b644b0"} 
[2026-09-09 16:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971122688001,"66":13765,"99":206,"87":13824,"24":28,"16":130304256879099904,"45":8861535979725031424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 16:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971122688001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:00:26] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 16:00:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130304256879099904,"km_value":130304256879099.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861535979725031424,"description":"Unknown IO ID 45"} 
[2026-09-09 16:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971122688001,"power":13765,"unknown_99":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8861535979725031424}} 
[2026-09-09 16:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":178370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:00:26] local.INFO: GPS data processed {"connection_id":178370,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:00:26] local.INFO: Acknowledgment sent {"connection_id":178370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:00:35] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:00:35] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:00:35] local.INFO: IMEI packet received {"connection_id":175795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":175795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:00:38] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:00:38] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:00:38] local.INFO: IMEI packet received {"connection_id":175795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":175795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:00:38] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b75df0012d08364007196fd0004e012629..."} 
[2026-09-09 16:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b75df0012d08364007196fd0004e012629..."} 
[2026-09-09 16:00:38] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b75df0012d08364007196fd0004e012629..."} 
[2026-09-09 16:00:38] local.INFO: Packet analysis {"connection_id":175795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b7"} 
[2026-09-09 16:00:38] local.INFO: Extracted packet for processing {"connection_id":175795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b7"} 
[2026-09-09 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":755512896,"raw_latitude":119107536,"longitude_deg":75.5512896,"latitude_deg":11.9107536,"altitude":78,"angle":294,"satellites":41,"speed":26,"hex_longitude":"2d083640","hex_latitude":"07196fd0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971141120001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19032597816410112,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":601723161953882112,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788949782000,"timestamp_ms":1788949782000,"timestamp_seconds":1788949782,"priority":1,"record_length":96,"hex_timestamp":"000001a085b75df0"} 
[2026-09-09 16:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 16:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971141120001,"66":13993,"35":206,"94":10496,"24":26,"16":19032597816410112,"45":601723161953882112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,94,24,16,45]} 
[2026-09-09 16:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971141120001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:00:38] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-09 16:00:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10496,"description":"Unknown IO ID 94"} 
[2026-09-09 16:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19032597816410112,"km_value":19032597816410.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":601723161953882112,"description":"Unknown IO ID 45"} 
[2026-09-09 16:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971141120001,"power":13993,"unknown_35":206,"unknown_94":10496,"ignition":26,"odometer":null,"unknown_45":601723161953882112}} 
[2026-09-09 16:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":175795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:00:39] local.INFO: GPS data processed {"connection_id":175795,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:00:39] local.INFO: Acknowledgment sent {"connection_id":175795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:00:40] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b78500012d0817c007198308004d012e2a..."} 
[2026-09-09 16:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b78500012d0817c007198308004d012e2a..."} 
[2026-09-09 16:00:40] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b78500012d0817c007198308004d012e2a..."} 
[2026-09-09 16:00:40] local.INFO: Packet analysis {"connection_id":175795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b7"} 
[2026-09-09 16:00:40] local.INFO: Extracted packet for processing {"connection_id":175795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b7"} 
[2026-09-09 16:00:40] local.INFO: GPS Element Parsed {"raw_longitude":755505088,"raw_latitude":119112456,"longitude_deg":75.5505088,"latitude_deg":11.9112456,"altitude":77,"angle":302,"satellites":42,"speed":43,"hex_longitude":"2d0817c0","hex_latitude":"07198308","is_valid_coordinates":true} 
[2026-09-09 16:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971144192001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19033040198041600,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":591730800281505792,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788949792000,"timestamp_ms":1788949792000,"timestamp_seconds":1788949792,"priority":1,"record_length":96,"hex_timestamp":"000001a085b78500"} 
[2026-09-09 16:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 16:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971144192001,"66":14070,"35":206,"94":10496,"24":43,"16":19033040198041600,"45":591730800281505792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,94,24,16,45]} 
[2026-09-09 16:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971144192001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:00:40] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-09 16:00:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10496,"description":"Unknown IO ID 94"} 
[2026-09-09 16:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19033040198041600,"km_value":19033040198041.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":591730800281505792,"description":"Unknown IO ID 45"} 
[2026-09-09 16:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971144192001,"power":14070,"unknown_35":206,"unknown_94":10496,"ignition":43,"odometer":null,"unknown_45":591730800281505792}} 
[2026-09-09 16:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":175795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:00:40] local.INFO: GPS data processed {"connection_id":175795,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:00:40] local.INFO: Acknowledgment sent {"connection_id":175795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:00:44] local.INFO: TCP Data received {"connection_id":175579,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:00:44] local.INFO: Processing buffer {"connection_id":175579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:00:44] local.INFO: IMEI packet received {"connection_id":175579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":175579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:00:48] local.INFO: TCP Data received {"connection_id":175579,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:00:48] local.INFO: Processing buffer {"connection_id":175579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:00:48] local.INFO: IMEI packet received {"connection_id":175579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":175579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:00:49] local.INFO: TCP Data received {"connection_id":175579,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:00:49] local.INFO: Processing buffer {"connection_id":175579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:00:49] local.INFO: Packet analysis {"connection_id":175579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:00:49] local.INFO: Extracted packet for processing {"connection_id":175579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 16:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 16:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":175579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:00:50] local.INFO: GPS data processed {"connection_id":175579,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:00:50] local.INFO: Acknowledgment sent {"connection_id":175579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:00:56] local.INFO: TCP Data received {"connection_id":175579,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:00:56] local.INFO: Processing buffer {"connection_id":175579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:00:56] local.INFO: Packet analysis {"connection_id":175579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:00:56] local.INFO: Extracted packet for processing {"connection_id":175579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 16:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 16:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:00:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:00:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":175579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:00:56] local.INFO: GPS data processed {"connection_id":175579,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:00:56] local.INFO: Acknowledgment sent {"connection_id":175579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:00:58] local.INFO: TCP Data received {"connection_id":178370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b67778012d7b3b0005ebf948000000400c..."} 
[2026-09-09 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b67778012d7b3b0005ebf948000000400c..."} 
[2026-09-09 16:00:58] local.INFO: Processing buffer {"connection_id":178370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b67778012d7b3b0005ebf948000000400c..."} 
[2026-09-09 16:00:58] local.INFO: Packet analysis {"connection_id":178370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:00:58] local.INFO: Extracted packet for processing {"connection_id":178370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763050752,"raw_latitude":99350856,"longitude_deg":76.3050752,"latitude_deg":9.9350856,"altitude":0,"angle":64,"satellites":12,"speed":28,"hex_longitude":"2d7b3b00","hex_latitude":"05ebf948","is_valid_coordinates":true} 
[2026-09-09 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971125760001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130304703555698688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870402441492410368,"note":"Value kept but may cause issues"} 
[2026-09-09 16:00:58] 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-09-09 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788949723000,"timestamp_ms":1788949723000,"timestamp_seconds":1788949723,"priority":1,"record_length":96,"hex_timestamp":"000001a085b67778"} 
[2026-09-09 16:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 16:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":178370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":178370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":178370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971125760001,"66":13820,"99":206,"87":13824,"24":28,"16":130304703555698688,"45":8870402441492410368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971125760001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:00:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 16:00:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130304703555698688,"km_value":130304703555698.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870402441492410368,"description":"Unknown IO ID 45"} 
[2026-09-09 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971125760001,"power":13820,"unknown_99":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8870402441492410368}} 
[2026-09-09 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":178370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:00:58] local.INFO: GPS data processed {"connection_id":178370,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:00:58] local.INFO: Acknowledgment sent {"connection_id":178370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:01:11] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085b7a440012d07f74007199548004e012629..."} 
[2026-09-09 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b7a440012d07f74007199548004e012629..."} 
[2026-09-09 16:01:11] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b7a440012d07f74007199548004e012629..."} 
[2026-09-09 16:01:11] local.INFO: Packet analysis {"connection_id":175795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b7"} 
[2026-09-09 16:01:11] local.INFO: Extracted packet for processing {"connection_id":175795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b7"} 
[2026-09-09 16:01:11] local.INFO: GPS Element Parsed {"raw_longitude":755496768,"raw_latitude":119117128,"longitude_deg":75.5496768,"latitude_deg":11.9117128,"altitude":78,"angle":294,"satellites":41,"speed":47,"hex_longitude":"2d07f740","hex_latitude":"07199548","is_valid_coordinates":true} 
[2026-09-09 16:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971146752001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19033495464574976,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":583145813493090304,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788949800000,"timestamp_ms":1788949800000,"timestamp_seconds":1788949800,"priority":1,"record_length":96,"hex_timestamp":"000001a085b7a440"} 
[2026-09-09 16:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 16:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971146752001,"66":14004,"35":206,"94":10496,"24":47,"16":19033495464574976,"45":583145813493090304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,94,24,16,45]} 
[2026-09-09 16:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971146752001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:01:11] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-09 16:01:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10496,"description":"Unknown IO ID 94"} 
[2026-09-09 16:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19033495464574976,"km_value":19033495464574.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":583145813493090304,"description":"Unknown IO ID 45"} 
[2026-09-09 16:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971146752001,"power":14004,"unknown_35":206,"unknown_94":10496,"ignition":47,"odometer":null,"unknown_45":583145813493090304}} 
[2026-09-09 16:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":175795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:01:11] local.INFO: GPS data processed {"connection_id":175795,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:01:11] local.INFO: Acknowledgment sent {"connection_id":175795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:01:19] local.INFO: TCP Data received {"connection_id":178371,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:01:19] local.INFO: Processing buffer {"connection_id":178371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:01:19] local.INFO: IMEI packet received {"connection_id":178371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":178371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:01:25] local.INFO: TCP Data received {"connection_id":178371,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:01:25] local.INFO: Processing buffer {"connection_id":178371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:01:25] local.INFO: IMEI packet received {"connection_id":178371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":178371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:01:26] local.INFO: TCP Data received {"connection_id":176982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:26] local.INFO: Processing buffer {"connection_id":176982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:26] local.INFO: IMEI packet received {"connection_id":176982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":176982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:01:26] local.INFO: TCP Data received {"connection_id":178371,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b6ae28012d7b5d4005ec07e8000000440c..."} 
[2026-09-09 16:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b6ae28012d7b5d4005ec07e8000000440c..."} 
[2026-09-09 16:01:26] local.INFO: Processing buffer {"connection_id":178371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b6ae28012d7b5d4005ec07e8000000440c..."} 
[2026-09-09 16:01:26] local.INFO: Packet analysis {"connection_id":178371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:01:26] local.INFO: Extracted packet for processing {"connection_id":178371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763059520,"raw_latitude":99354600,"longitude_deg":76.305952,"latitude_deg":9.93546,"altitude":0,"angle":68,"satellites":12,"speed":25,"hex_longitude":"2d7b5d40","hex_latitude":"05ec07e8","is_valid_coordinates":true} 
[2026-09-09 16:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971129088001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130305163117199360,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879691115724883968,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:26] 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-09-09 16:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788949737000,"timestamp_ms":1788949737000,"timestamp_seconds":1788949737,"priority":1,"record_length":96,"hex_timestamp":"000001a085b6ae28"} 
[2026-09-09 16:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971129088001,"66":13689,"99":206,"87":13824,"24":25,"16":130305163117199360,"45":8879691115724883968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-09 16:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971129088001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:01:26] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-09 16:01:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130305163117199360,"km_value":130305163117199.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879691115724883968,"description":"Unknown IO ID 45"} 
[2026-09-09 16:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971129088001,"power":13689,"unknown_99":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8879691115724883968}} 
[2026-09-09 16:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":178371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:01:26] local.INFO: GPS data processed {"connection_id":178371,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:01:26] local.INFO: Acknowledgment sent {"connection_id":178371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:01:27] local.INFO: TCP Data received {"connection_id":176982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:27] local.INFO: Processing buffer {"connection_id":176982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:27] local.INFO: IMEI packet received {"connection_id":176982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":176982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:01:28] local.INFO: TCP Data received {"connection_id":176982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:28] local.INFO: Processing buffer {"connection_id":176982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:28] local.INFO: IMEI packet received {"connection_id":176982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":176982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:01:29] local.INFO: TCP Data received {"connection_id":176982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:29] local.INFO: Processing buffer {"connection_id":176982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:01:29] local.INFO: IMEI packet received {"connection_id":176982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":176982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:01:38] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:01:38] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:01:38] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:01:43] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:01:43] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:01:43] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:01:45] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:01:45] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:01:45] local.INFO: Packet analysis {"connection_id":175798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:01:45] local.INFO: Extracted packet for processing {"connection_id":175798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 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-09-09 16:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 16:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:01:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":175798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:01:45] local.INFO: GPS data processed {"connection_id":175798,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:01:45] local.INFO: Acknowledgment sent {"connection_id":175798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:01:59] local.INFO: TCP Data received {"connection_id":178371,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b6eca8012d7b800005ec12e8000000490d..."} 
[2026-09-09 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b6eca8012d7b800005ec12e8000000490d..."} 
[2026-09-09 16:01:59] local.INFO: Processing buffer {"connection_id":178371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b6eca8012d7b800005ec12e8000000490d..."} 
[2026-09-09 16:01:59] local.INFO: Packet analysis {"connection_id":178371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:01:59] local.INFO: Extracted packet for processing {"connection_id":178371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b6"} 
[2026-09-09 16:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763068416,"raw_latitude":99357416,"longitude_deg":76.3068416,"latitude_deg":9.9357416,"altitude":0,"angle":73,"satellites":13,"speed":21,"hex_longitude":"2d7b8000","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-09 16:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971132672001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130305605498830848,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889331633678182400,"note":"Value kept but may cause issues"} 
[2026-09-09 16:01: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-09-09 16:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788949753000,"timestamp_ms":1788949753000,"timestamp_seconds":1788949753,"priority":1,"record_length":96,"hex_timestamp":"000001a085b6eca8"} 
[2026-09-09 16:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 16:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971132672001,"66":13917,"198":206,"87":13824,"24":21,"16":130305605498830848,"45":8889331633678182400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 16:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971132672001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:01:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 16:01:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130305605498830848,"km_value":130305605498830.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889331633678182400,"description":"Unknown IO ID 45"} 
[2026-09-09 16:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971132672001,"power":13917,"unknown_198":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8889331633678182400}} 
[2026-09-09 16:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":178371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:01:59] local.INFO: GPS data processed {"connection_id":178371,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:01:59] local.INFO: Acknowledgment sent {"connection_id":178371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:02:06] local.INFO: TCP Data received {"connection_id":176983,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:02:06] local.INFO: Processing buffer {"connection_id":176983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:02:06] local.INFO: IMEI packet received {"connection_id":176983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":176983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:02:16] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:02:16] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:02:16] local.INFO: Packet analysis {"connection_id":175798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:02:16] local.INFO: Extracted packet for processing {"connection_id":175798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 16:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 16:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":175798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:02:16] local.INFO: GPS data processed {"connection_id":175798,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:02:16] local.INFO: Acknowledgment sent {"connection_id":175798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:02:24] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:02:24] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:02:24] local.INFO: IMEI packet received {"connection_id":176984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":176984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:02:24] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:02:24] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:02:24] local.INFO: IMEI packet received {"connection_id":176984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":176984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:02:29] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:02:29] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:02:29] local.INFO: IMEI packet received {"connection_id":176984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":176984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:02:30] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b959c0012d7cf88005ec3b400007005613..."} 
[2026-09-09 16:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b959c0012d7cf88005ec3b400007005613..."} 
[2026-09-09 16:02:30] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b959c0012d7cf88005ec3b400007005613..."} 
[2026-09-09 16:02:30] local.INFO: Packet analysis {"connection_id":176984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b9"} 
[2026-09-09 16:02:30] local.INFO: Extracted packet for processing {"connection_id":176984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b9"} 
[2026-09-09 16:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763164800,"raw_latitude":99367744,"longitude_deg":76.31648,"latitude_deg":9.9367744,"altitude":7,"angle":86,"satellites":19,"speed":31,"hex_longitude":"2d7cf880","hex_latitude":"05ec3b40","is_valid_coordinates":true} 
[2026-09-09 16:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971174400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130310269833314304,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994462537482866688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:30] 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-09-09 16:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788949912000,"timestamp_ms":1788949912000,"timestamp_seconds":1788949912,"priority":1,"record_length":96,"hex_timestamp":"000001a085b959c0"} 
[2026-09-09 16:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:02: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-09-09 16:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971174400001,"66":13820,"198":206,"87":13824,"24":31,"16":130310269833314304,"45":8994462537482866688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-09 16:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971174400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:02:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-09 16:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130310269833314304,"km_value":130310269833314.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994462537482866688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971174400001,"power":13820,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8994462537482866688}} 
[2026-09-09 16:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":176984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:02:31] local.INFO: GPS data processed {"connection_id":176984,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:02:31] local.INFO: Acknowledgment sent {"connection_id":176984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:02:35] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085b98c88012d7d1c4005ec3dc00002004413..."} 
[2026-09-09 16:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b98c88012d7d1c4005ec3dc00002004413..."} 
[2026-09-09 16:02:35] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b98c88012d7d1c4005ec3dc00002004413..."} 
[2026-09-09 16:02:35] local.INFO: Packet analysis {"connection_id":176984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b9"} 
[2026-09-09 16:02:35] local.INFO: Extracted packet for processing {"connection_id":176984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b9"} 
[2026-09-09 16:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99368384,"longitude_deg":76.3173952,"latitude_deg":9.9368384,"altitude":2,"angle":68,"satellites":19,"speed":11,"hex_longitude":"2d7d1c40","hex_latitude":"05ec3dc0","is_valid_coordinates":true} 
[2026-09-09 16:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971177472001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130310707919978496,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005088217853804544,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02: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-09-09 16:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788949925000,"timestamp_ms":1788949925000,"timestamp_seconds":1788949925,"priority":1,"record_length":96,"hex_timestamp":"000001a085b98c88"} 
[2026-09-09 16:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971177472001,"66":13428,"110":206,"87":13824,"24":11,"16":130310707919978496,"45":9005088217853804544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 16:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971177472001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:02:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 16:02:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130310707919978496,"km_value":130310707919978.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005088217853804544,"description":"Unknown IO ID 45"} 
[2026-09-09 16:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971177472001,"power":13428,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9005088217853804544}} 
[2026-09-09 16:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":176984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:02:35] local.INFO: GPS data processed {"connection_id":176984,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:02:35] local.INFO: Acknowledgment sent {"connection_id":176984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:02:38] local.INFO: TCP Data received {"connection_id":175580,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:02:38] local.INFO: Processing buffer {"connection_id":175580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:02:38] local.INFO: IMEI packet received {"connection_id":175580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":175580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:02:44] local.INFO: TCP Data received {"connection_id":175580,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:02:44] local.INFO: Processing buffer {"connection_id":175580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:02:44] local.INFO: IMEI packet received {"connection_id":175580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":175580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:02:45] local.INFO: TCP Data received {"connection_id":175580,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:02:45] local.INFO: Processing buffer {"connection_id":175580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:02:45] local.INFO: Packet analysis {"connection_id":175580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:02:45] local.INFO: Extracted packet for processing {"connection_id":175580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 16:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 16:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":175580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:02:45] local.INFO: GPS data processed {"connection_id":175580,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:02:45] local.INFO: Acknowledgment sent {"connection_id":175580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:03:16] local.INFO: TCP Data received {"connection_id":175580,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:03:16] local.INFO: Processing buffer {"connection_id":175580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085b5c7b0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:03:16] local.INFO: Packet analysis {"connection_id":175580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:03:16] local.INFO: Extracted packet for processing {"connection_id":175580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085b5"} 
[2026-09-09 16:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971041792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949678000,"timestamp_ms":1788949678000,"timestamp_seconds":1788949678,"priority":1,"record_length":96,"hex_timestamp":"000001a085b5c7b0"} 
[2026-09-09 16:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-09 16:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971041792001,"66":25702,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971041792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971041792001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":175580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:03:16] local.INFO: GPS data processed {"connection_id":175580,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:03:16] local.INFO: Acknowledgment sent {"connection_id":175580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:03:20] local.INFO: TCP Data received {"connection_id":175800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:03:20] local.INFO: Processing buffer {"connection_id":175800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:03:20] local.INFO: IMEI packet received {"connection_id":175800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":175800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:03:25] local.INFO: TCP Data received {"connection_id":175800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:03:25] local.INFO: Processing buffer {"connection_id":175800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:03:25] local.INFO: IMEI packet received {"connection_id":175800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":175800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:03:26] local.INFO: TCP Data received {"connection_id":175800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba1158012d7cfc8005ec41500000010b13..."} 
[2026-09-09 16:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba1158012d7cfc8005ec41500000010b13..."} 
[2026-09-09 16:03:26] local.INFO: Processing buffer {"connection_id":175800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba1158012d7cfc8005ec41500000010b13..."} 
[2026-09-09 16:03:26] local.INFO: Packet analysis {"connection_id":175800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:03:26] local.INFO: Extracted packet for processing {"connection_id":175800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763165824,"raw_latitude":99369296,"longitude_deg":76.3165824,"latitude_deg":9.9369296,"altitude":0,"angle":267,"satellites":19,"speed":5,"hex_longitude":"2d7cfc80","hex_latitude":"05ec4150","is_valid_coordinates":true} 
[2026-09-09 16:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971188992001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130311171776446464,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006636330226104320,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:26] 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-09-09 16:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788949959000,"timestamp_ms":1788949959000,"timestamp_seconds":1788949959,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba1158"} 
[2026-09-09 16:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 16:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971188992001,"66":13798,"110":206,"87":13824,"24":5,"16":130311171776446464,"45":9006636330226104320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 16:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971188992001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:03:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 16:03:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130311171776446464,"km_value":130311171776446.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006636330226104320,"description":"Unknown IO ID 45"} 
[2026-09-09 16:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971188992001,"power":13798,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9006636330226104320}} 
[2026-09-09 16:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":175800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:03:26] local.INFO: GPS data processed {"connection_id":175800,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:03:26] local.INFO: Acknowledgment sent {"connection_id":175800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:03:29] local.INFO: TCP Data received {"connection_id":175800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba57a8012d7cd90005ec41680000011113..."} 
[2026-09-09 16:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba57a8012d7cd90005ec41680000011113..."} 
[2026-09-09 16:03:29] local.INFO: Processing buffer {"connection_id":175800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba57a8012d7cd90005ec41680000011113..."} 
[2026-09-09 16:03:29] local.INFO: Packet analysis {"connection_id":175800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:03:29] local.INFO: Extracted packet for processing {"connection_id":175800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:03:29] local.INFO: GPS Element Parsed {"raw_longitude":763156736,"raw_latitude":99369320,"longitude_deg":76.3156736,"latitude_deg":9.936932,"altitude":0,"angle":273,"satellites":19,"speed":37,"hex_longitude":"2d7cd900","hex_latitude":"05ec4168","is_valid_coordinates":true} 
[2026-09-09 16:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971189504001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130311605568143360,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006214117761044480,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:29] 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-09-09 16:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788949977000,"timestamp_ms":1788949977000,"timestamp_seconds":1788949977,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba57a8"} 
[2026-09-09 16:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971189504001,"66":13798,"110":206,"87":13824,"24":37,"16":130311605568143360,"45":9006214117761044480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 16:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971189504001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:03:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 16:03:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130311605568143360,"km_value":130311605568143.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006214117761044480,"description":"Unknown IO ID 45"} 
[2026-09-09 16:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971189504001,"power":13798,"unknown_110":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9006214117761044480}} 
[2026-09-09 16:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":175800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:03:29] local.INFO: GPS data processed {"connection_id":175800,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:03:29] local.INFO: Acknowledgment sent {"connection_id":175800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:03:38] local.INFO: TCP Data received {"connection_id":176987,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:03:38] local.INFO: Processing buffer {"connection_id":176987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:03:38] local.INFO: IMEI packet received {"connection_id":176987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":176987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:03:43] local.INFO: TCP Data received {"connection_id":176987,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:03:43] local.INFO: Processing buffer {"connection_id":176987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:03:43] local.INFO: IMEI packet received {"connection_id":176987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":176987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:03:44] local.INFO: TCP Data received {"connection_id":176987,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:03:44] local.INFO: Processing buffer {"connection_id":176987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:03:44] local.INFO: Packet analysis {"connection_id":176987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:03:44] local.INFO: Extracted packet for processing {"connection_id":176987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 16:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:03: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-09-09 16: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-09-09 16:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":176987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:03:44] local.INFO: GPS data processed {"connection_id":176987,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:03:44] local.INFO: Acknowledgment sent {"connection_id":176987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:04:01] local.INFO: TCP Data received {"connection_id":175800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba6b30012d7cc48005ec3f600000010513..."} 
[2026-09-09 16:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba6b30012d7cc48005ec3f600000010513..."} 
[2026-09-09 16:04:01] local.INFO: Processing buffer {"connection_id":175800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba6b30012d7cc48005ec3f600000010513..."} 
[2026-09-09 16:04:01] local.INFO: Packet analysis {"connection_id":175800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:01] local.INFO: Extracted packet for processing {"connection_id":175800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763151488,"raw_latitude":99368800,"longitude_deg":76.3151488,"latitude_deg":9.93688,"altitude":0,"angle":261,"satellites":19,"speed":41,"hex_longitude":"2d7cc480","hex_latitude":"05ec3f60","is_valid_coordinates":true} 
[2026-09-09 16:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971194112001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130311858971213824,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996221756087822336,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:01] 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-09-09 16:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788949982000,"timestamp_ms":1788949982000,"timestamp_seconds":1788949982,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba6b30"} 
[2026-09-09 16:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971194112001,"66":13689,"110":206,"87":13824,"24":41,"16":130311858971213824,"45":8996221756087822336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-09 16:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971194112001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:04:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-09 16:04:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130311858971213824,"km_value":130311858971213.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996221756087822336,"description":"Unknown IO ID 45"} 
[2026-09-09 16:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971194112001,"power":13689,"unknown_110":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8996221756087822336}} 
[2026-09-09 16:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":175800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:04:01] local.INFO: GPS data processed {"connection_id":175800,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:04:01] local.INFO: Acknowledgment sent {"connection_id":175800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:04:11] local.INFO: TCP Data received {"connection_id":176988,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:04:11] local.INFO: Processing buffer {"connection_id":176988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:04:11] local.INFO: IMEI packet received {"connection_id":176988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":176988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:04:12] local.INFO: TCP Data received {"connection_id":176988,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085baccd8012d0c1bc00704c5a80027005116..."} 
[2026-09-09 16:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085baccd8012d0c1bc00704c5a80027005116..."} 
[2026-09-09 16:04:12] local.INFO: Processing buffer {"connection_id":176988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085baccd8012d0c1bc00704c5a80027005116..."} 
[2026-09-09 16:04:12] local.INFO: Packet analysis {"connection_id":176988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:12] local.INFO: Extracted packet for processing {"connection_id":176988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:12] local.INFO: GPS Element Parsed {"raw_longitude":755768256,"raw_latitude":117753256,"longitude_deg":75.5768256,"latitude_deg":11.7753256,"altitude":39,"angle":81,"satellites":22,"speed":42,"hex_longitude":"2d0c1bc0","hex_latitude":"0704c5a8","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971199488001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30983202583609344,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861594933855776768,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:12] 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-09-09 16:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788950007000,"timestamp_ms":1788950007000,"timestamp_seconds":1788950007,"priority":1,"record_length":96,"hex_timestamp":"000001a085baccd8"} 
[2026-09-09 16:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:04: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-09-09 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:04:12] 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-09-09 16:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971199488001,"66":14461,"96":206,"94":10240,"24":42,"16":30983202583609344,"45":861594933855776768},"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-09-09 16:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971199488001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:04:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 16:04:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30983202583609344,"km_value":30983202583609.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":861594933855776768,"description":"Unknown IO ID 45"} 
[2026-09-09 16:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971199488001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":861594933855776768}} 
[2026-09-09 16:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":176988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:04:12] local.INFO: GPS data processed {"connection_id":176988,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:04:12] local.INFO: Acknowledgment sent {"connection_id":176988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:04:16] local.INFO: TCP Data received {"connection_id":176987,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:04:16] local.INFO: Processing buffer {"connection_id":176987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:04:16] local.INFO: Packet analysis {"connection_id":176987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:16] local.INFO: Extracted packet for processing {"connection_id":176987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 16:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":176987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:04:16] local.INFO: GPS data processed {"connection_id":176987,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:04:16] local.INFO: Acknowledgment sent {"connection_id":176987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:04:17] local.INFO: TCP Data received {"connection_id":178374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:17] local.INFO: Processing buffer {"connection_id":178374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:17] local.INFO: IMEI packet received {"connection_id":178374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":178374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:04:20] local.INFO: TCP Data received {"connection_id":178374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:20] local.INFO: Processing buffer {"connection_id":178374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:20] local.INFO: IMEI packet received {"connection_id":178374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":178374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:04:20] local.INFO: TCP Data received {"connection_id":178374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:20] local.INFO: Processing buffer {"connection_id":178374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:20] local.INFO: IMEI packet received {"connection_id":178374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":178374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:04:21] local.INFO: TCP Data received {"connection_id":178374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:21] local.INFO: Processing buffer {"connection_id":178374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:04:21] local.INFO: IMEI packet received {"connection_id":178374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":178374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:04:38] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:04:38] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:04:38] local.INFO: IMEI packet received {"connection_id":176990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":176990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:04:43] local.INFO: TCP Data received {"connection_id":176988,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085baf3e8012d0c41800704cbb00027005415..."} 
[2026-09-09 16:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085baf3e8012d0c41800704cbb00027005415..."} 
[2026-09-09 16:04:43] local.INFO: Processing buffer {"connection_id":176988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085baf3e8012d0c41800704cbb00027005415..."} 
[2026-09-09 16:04:43] local.INFO: Packet analysis {"connection_id":176988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:43] local.INFO: Extracted packet for processing {"connection_id":176988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:43] local.INFO: GPS Element Parsed {"raw_longitude":755777920,"raw_latitude":117754800,"longitude_deg":75.577792,"latitude_deg":11.77548,"altitude":39,"angle":84,"satellites":21,"speed":32,"hex_longitude":"2d0c4180","hex_latitude":"0704cbb0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971201792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30983666440077312,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872502089203689472,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:43] 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-09-09 16:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788950017000,"timestamp_ms":1788950017000,"timestamp_seconds":1788950017,"priority":1,"record_length":96,"hex_timestamp":"000001a085baf3e8"} 
[2026-09-09 16:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:04: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-09-09 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 16:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:04:43] 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-09-09 16:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971201792001,"66":14548,"96":206,"94":10240,"24":32,"16":30983666440077312,"45":872502089203689472},"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-09-09 16:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971201792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:04:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 16:04:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30983666440077312,"km_value":30983666440077.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":872502089203689472,"description":"Unknown IO ID 45"} 
[2026-09-09 16:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971201792001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":872502089203689472}} 
[2026-09-09 16:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":176988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:04:43] local.INFO: GPS data processed {"connection_id":176988,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:04:43] local.INFO: Acknowledgment sent {"connection_id":176988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:04:43] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:04:43] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:04:43] local.INFO: IMEI packet received {"connection_id":176990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":176990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:04:44] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:04:44] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:04:44] local.INFO: Packet analysis {"connection_id":176990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:44] local.INFO: Extracted packet for processing {"connection_id":176990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 16:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:04: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-09-09 16:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":176990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:04:44] local.INFO: GPS data processed {"connection_id":176990,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:04:44] local.INFO: Acknowledgment sent {"connection_id":176990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:05:05] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:05:05] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:05:05] local.INFO: IMEI packet received {"connection_id":175803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":175803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:05:06] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:05:06] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:05:06] local.INFO: IMEI packet received {"connection_id":175803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":175803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:05:10] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:05:10] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:05:10] local.INFO: IMEI packet received {"connection_id":175803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":175803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:05:11] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085bb0b58012d0c50400704ce880026003f15..."} 
[2026-09-09 16:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bb0b58012d0c50400704ce880026003f15..."} 
[2026-09-09 16:05:11] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bb0b58012d0c50400704ce880026003f15..."} 
[2026-09-09 16:05:11] local.INFO: Packet analysis {"connection_id":175803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085bb"} 
[2026-09-09 16:05:11] local.INFO: Extracted packet for processing {"connection_id":175803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085bb"} 
[2026-09-09 16:05:11] local.INFO: GPS Element Parsed {"raw_longitude":755781696,"raw_latitude":117755528,"longitude_deg":75.5781696,"latitude_deg":11.7755528,"altitude":38,"angle":63,"satellites":21,"speed":22,"hex_longitude":"2d0c5040","hex_latitude":"0704ce88","is_valid_coordinates":true} 
[2026-09-09 16:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971204352001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30983851123671040,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883127769574912000,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:11] 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-09-09 16:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788950023000,"timestamp_ms":1788950023000,"timestamp_seconds":1788950023,"priority":1,"record_length":96,"hex_timestamp":"000001a085bb0b58"} 
[2026-09-09 16:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:05: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-09-09 16:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 16:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:05:11] 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-09-09 16:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971204352001,"66":13798,"96":206,"94":10240,"24":22,"16":30983851123671040,"45":883127769574912000},"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-09-09 16:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971204352001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:05:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 16:05:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30983851123671040,"km_value":30983851123671.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":883127769574912000,"description":"Unknown IO ID 45"} 
[2026-09-09 16:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971204352001,"power":13798,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":883127769574912000}} 
[2026-09-09 16:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":175803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:05:11] local.INFO: GPS data processed {"connection_id":175803,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:05:11] local.INFO: Acknowledgment sent {"connection_id":175803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:05:16] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:05:16] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:05:16] local.INFO: Packet analysis {"connection_id":176990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:05:16] local.INFO: Extracted packet for processing {"connection_id":176990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 16:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:05:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":176990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:05:16] local.INFO: GPS data processed {"connection_id":176990,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:05:16] local.INFO: Acknowledgment sent {"connection_id":176990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:05:42] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085bb1ee0012d0c5a400704d3400025004f16..."} 
[2026-09-09 16:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bb1ee0012d0c5a400704d3400025004f16..."} 
[2026-09-09 16:05:42] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bb1ee0012d0c5a400704d3400025004f16..."} 
[2026-09-09 16:05:42] local.INFO: Packet analysis {"connection_id":175803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085bb"} 
[2026-09-09 16:05:42] local.INFO: Extracted packet for processing {"connection_id":175803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085bb"} 
[2026-09-09 16:05:42] local.INFO: GPS Element Parsed {"raw_longitude":755784256,"raw_latitude":117756736,"longitude_deg":75.5784256,"latitude_deg":11.7756736,"altitude":37,"angle":79,"satellites":22,"speed":23,"hex_longitude":"2d0c5a40","hex_latitude":"0704d340","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971205888001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30983988562624512,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887279525481580544,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:42] 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-09-09 16:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788950028000,"timestamp_ms":1788950028000,"timestamp_seconds":1788950028,"priority":1,"record_length":96,"hex_timestamp":"000001a085bb1ee0"} 
[2026-09-09 16:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:05: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-09-09 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:05:42] 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-09-09 16:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971205888001,"66":14591,"96":206,"94":10240,"24":23,"16":30983988562624512,"45":887279525481580544},"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-09-09 16:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971205888001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:05:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 16:05:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30983988562624512,"km_value":30983988562624.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":887279525481580544,"description":"Unknown IO ID 45"} 
[2026-09-09 16:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971205888001,"power":14591,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":887279525481580544}} 
[2026-09-09 16:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":175803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:05:42] local.INFO: GPS data processed {"connection_id":175803,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:05:42] local.INFO: Acknowledgment sent {"connection_id":175803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:05:43] local.INFO: TCP Data received {"connection_id":178377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:05:43] local.INFO: Processing buffer {"connection_id":178377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:05:43] local.INFO: IMEI packet received {"connection_id":178377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":178377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:05:48] local.INFO: TCP Data received {"connection_id":178377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:05:48] local.INFO: Processing buffer {"connection_id":178377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:05:48] local.INFO: IMEI packet received {"connection_id":178377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":178377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:05:50] local.INFO: TCP Data received {"connection_id":178377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:05:50] local.INFO: Processing buffer {"connection_id":178377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:05:50] local.INFO: Packet analysis {"connection_id":178377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:05:50] local.INFO: Extracted packet for processing {"connection_id":178377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:05:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 16:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:05:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:05:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":178377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:05:50] local.INFO: GPS data processed {"connection_id":178377,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:05:50] local.INFO: Acknowledgment sent {"connection_id":178377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:05:54] local.INFO: TCP Data received {"connection_id":178377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:05:54] local.INFO: Processing buffer {"connection_id":178377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:05:54] local.INFO: Packet analysis {"connection_id":178377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:05:54] local.INFO: Extracted packet for processing {"connection_id":178377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 16:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":178377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:05:54] local.INFO: GPS data processed {"connection_id":178377,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:05:54] local.INFO: Acknowledgment sent {"connection_id":178377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:06:05] local.INFO: TCP Data received {"connection_id":175581,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:06:05] local.INFO: Processing buffer {"connection_id":175581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:06:05] local.INFO: IMEI packet received {"connection_id":175581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":175581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:06:10] local.INFO: TCP Data received {"connection_id":175581,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:06:10] local.INFO: Processing buffer {"connection_id":175581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:06:10] local.INFO: IMEI packet received {"connection_id":175581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":175581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:06:11] local.INFO: TCP Data received {"connection_id":175581,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085bc91f8012d0c66c0070512f00021000016..."} 
[2026-09-09 16:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bc91f8012d0c66c0070512f00021000016..."} 
[2026-09-09 16:06:11] local.INFO: Processing buffer {"connection_id":175581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bc91f8012d0c66c0070512f00021000016..."} 
[2026-09-09 16:06:11] local.INFO: Packet analysis {"connection_id":175581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085bc"} 
[2026-09-09 16:06:11] local.INFO: Extracted packet for processing {"connection_id":175581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085bc"} 
[2026-09-09 16:06:11] local.INFO: GPS Element Parsed {"raw_longitude":755787456,"raw_latitude":117773040,"longitude_deg":75.5787456,"latitude_deg":11.777304,"altitude":33,"angle":0,"satellites":22,"speed":0,"hex_longitude":"2d0c66c0","hex_latitude":"070512f0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971226368001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30985556225687552,"note":"Value kept but may cause issues"} 
[2026-09-09 16:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893683081205827584,"note":"Value kept but may cause issues"} 
[2026-09-09 16:06:11] 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-09-09 16:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788950123000,"timestamp_ms":1788950123000,"timestamp_seconds":1788950123,"priority":1,"record_length":96,"hex_timestamp":"000001a085bc91f8"} 
[2026-09-09 16:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 16:06:11] 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-09-09 16: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-09-09 16:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:06:11] 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-09-09 16:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971226368001,"66":13722,"95":206,"94":10240,"24":0,"16":30985556225687552,"45":893683081205827584},"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-09-09 16:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971226368001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:06:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 16:06:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30985556225687552,"km_value":30985556225687.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":893683081205827584,"description":"Unknown IO ID 45"} 
[2026-09-09 16:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971226368001,"power":13722,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":893683081205827584}} 
[2026-09-09 16:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":175581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:06:11] local.INFO: GPS data processed {"connection_id":175581,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:06:11] local.INFO: Acknowledgment sent {"connection_id":175581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:06:38] local.INFO: TCP Data received {"connection_id":175805,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:06:38] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:06:38] local.INFO: IMEI packet received {"connection_id":175805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":175805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:06:38] local.INFO: TCP Data received {"connection_id":175806,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:06:38] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:06:38] local.INFO: IMEI packet received {"connection_id":175806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":175806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:06:40] local.INFO: TCP Data received {"connection_id":175805,"ip":"42.106.6.47","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 16:06:40] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 16:06:40] local.INFO: IMEI packet received {"connection_id":175805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":175805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:06:40] local.INFO: TCP Data received {"connection_id":175805,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:06:40] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-09 16:06:40] local.INFO: IMEI packet received {"connection_id":175805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":175805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:06:43] local.INFO: TCP Data received {"connection_id":175806,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:06:43] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:06:43] local.INFO: IMEI packet received {"connection_id":175806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":175806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:06:44] local.INFO: TCP Data received {"connection_id":175806,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:06:44] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:06:44] local.INFO: Packet analysis {"connection_id":175806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:06:44] local.INFO: Extracted packet for processing {"connection_id":175806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 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-09-09 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:06: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-09-09 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-09-09 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-09-09 16:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":175806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:06:44] local.INFO: GPS data processed {"connection_id":175806,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:06:44] local.INFO: Acknowledgment sent {"connection_id":175806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:07:16] local.INFO: TCP Data received {"connection_id":175806,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:07:16] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:07:16] local.INFO: Packet analysis {"connection_id":175806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:07:16] local.INFO: Extracted packet for processing {"connection_id":175806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 16:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":175806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:07:16] local.INFO: GPS data processed {"connection_id":175806,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:07:16] local.INFO: Acknowledgment sent {"connection_id":175806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:07:31] local.INFO: TCP Data received {"connection_id":175581,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085bce400012d0c66c0070513800021000015..."} 
[2026-09-09 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bce400012d0c66c0070513800021000015..."} 
[2026-09-09 16:07:31] local.INFO: Processing buffer {"connection_id":175581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bce400012d0c66c0070513800021000015..."} 
[2026-09-09 16:07:31] local.INFO: Packet analysis {"connection_id":175581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085bc"} 
[2026-09-09 16:07:31] local.INFO: Extracted packet for processing {"connection_id":175581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085bc"} 
[2026-09-09 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":755787456,"raw_latitude":117773184,"longitude_deg":75.5787456,"latitude_deg":11.7773184,"altitude":33,"angle":0,"satellites":21,"speed":0,"hex_longitude":"2d0c66c0","hex_latitude":"07051380","is_valid_coordinates":true} 
[2026-09-09 16:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971231488001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30985560520654848,"note":"Value kept but may cause issues"} 
[2026-09-09 16:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893612712462053376,"note":"Value kept but may cause issues"} 
[2026-09-09 16:07:31] 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-09-09 16:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788950144000,"timestamp_ms":1788950144000,"timestamp_seconds":1788950144,"priority":1,"record_length":96,"hex_timestamp":"000001a085bce400"} 
[2026-09-09 16:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 16:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971231488001,"66":14646,"95":206,"94":10240,"24":0,"16":30985560520654848,"45":893612712462053376},"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-09-09 16:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971231488001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:07:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 16:07:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30985560520654848,"km_value":30985560520654.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":893612712462053376,"description":"Unknown IO ID 45"} 
[2026-09-09 16:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971231488001,"power":14646,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":893612712462053376}} 
[2026-09-09 16:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":175581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:07:32] local.INFO: GPS data processed {"connection_id":175581,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:07:32] local.INFO: Acknowledgment sent {"connection_id":175581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:07:38] local.INFO: TCP Data received {"connection_id":175808,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:07:38] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:07:38] local.INFO: IMEI packet received {"connection_id":175808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":175808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:07:39] local.INFO: TCP Data received {"connection_id":176993,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:39] local.INFO: Processing buffer {"connection_id":176993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:39] local.INFO: IMEI packet received {"connection_id":176993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":176993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:07:40] local.INFO: TCP Data received {"connection_id":176993,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:40] local.INFO: Processing buffer {"connection_id":176993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:40] local.INFO: IMEI packet received {"connection_id":176993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":176993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:07:41] local.INFO: TCP Data received {"connection_id":176992,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:07:41] local.INFO: Processing buffer {"connection_id":176992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:07:41] local.INFO: IMEI packet received {"connection_id":176992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":176992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:07:42] local.INFO: TCP Data received {"connection_id":176993,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:42] local.INFO: Processing buffer {"connection_id":176993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:42] local.INFO: IMEI packet received {"connection_id":176993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":176993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:07:43] local.INFO: TCP Data received {"connection_id":175808,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:07:43] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:07:43] local.INFO: IMEI packet received {"connection_id":175808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":175808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:07:44] local.INFO: TCP Data received {"connection_id":175808,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:07:44] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:07:44] local.INFO: Packet analysis {"connection_id":175808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:07:44] local.INFO: Extracted packet for processing {"connection_id":175808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 16:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:07: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-09-09 16: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-09-09 16:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":175808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:07:44] local.INFO: GPS data processed {"connection_id":175808,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:07:44] local.INFO: Acknowledgment sent {"connection_id":175808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:07:46] local.INFO: TCP Data received {"connection_id":176993,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:46] local.INFO: Processing buffer {"connection_id":176993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:07:46] local.INFO: IMEI packet received {"connection_id":176993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":176993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:08:15] local.INFO: TCP Data received {"connection_id":175808,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:08:15] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ba4bf0012d34cc4006aa49080003013425..."} 
[2026-09-09 16:08:15] local.INFO: Packet analysis {"connection_id":175808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:08:15] local.INFO: Extracted packet for processing {"connection_id":175808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ba"} 
[2026-09-09 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":3,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971117568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788949974000,"timestamp_ms":1788949974000,"timestamp_seconds":1788949974,"priority":1,"record_length":96,"hex_timestamp":"000001a085ba4bf0"} 
[2026-09-09 16:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 16:08: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-09-09 16:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971117568001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971117568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971117568001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":175808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:08:15] local.INFO: GPS data processed {"connection_id":175808,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:08:15] local.INFO: Acknowledgment sent {"connection_id":175808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:08:38] local.INFO: TCP Data received {"connection_id":178381,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:08:38] local.INFO: Processing buffer {"connection_id":178381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:08:38] local.INFO: IMEI packet received {"connection_id":178381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":178381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:08:44] local.INFO: TCP Data received {"connection_id":178381,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:08:44] local.INFO: Processing buffer {"connection_id":178381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:08:44] local.INFO: IMEI packet received {"connection_id":178381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":178381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:08:45] local.INFO: TCP Data received {"connection_id":178381,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:08:45] local.INFO: Processing buffer {"connection_id":178381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:08:45] local.INFO: Packet analysis {"connection_id":178381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:08:45] local.INFO: Extracted packet for processing {"connection_id":178381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 16:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:08:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":178381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:08:45] local.INFO: GPS data processed {"connection_id":178381,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:08:45] local.INFO: Acknowledgment sent {"connection_id":178381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:09:17] local.INFO: TCP Data received {"connection_id":178381,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:09:17] local.INFO: Processing buffer {"connection_id":178381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:09:17] local.INFO: Packet analysis {"connection_id":178381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:09:17] local.INFO: Extracted packet for processing {"connection_id":178381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 16:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":178381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:09:17] local.INFO: GPS data processed {"connection_id":178381,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:09:17] local.INFO: Acknowledgment sent {"connection_id":178381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:09:25] local.INFO: TCP Data received {"connection_id":175583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:09:25] local.INFO: Processing buffer {"connection_id":175583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:09:25] local.INFO: IMEI packet received {"connection_id":175583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":175583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:09:26] local.INFO: TCP Data received {"connection_id":175583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085bf5cd0012d7cb40005eae6c80009004b15..."} 
[2026-09-09 16:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bf5cd0012d7cb40005eae6c80009004b15..."} 
[2026-09-09 16:09:26] local.INFO: Processing buffer {"connection_id":175583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bf5cd0012d7cb40005eae6c80009004b15..."} 
[2026-09-09 16:09:26] local.INFO: Packet analysis {"connection_id":175583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085bf"} 
[2026-09-09 16:09:26] local.INFO: Extracted packet for processing {"connection_id":175583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085bf"} 
[2026-09-09 16:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763147264,"raw_latitude":99280584,"longitude_deg":76.3147264,"latitude_deg":9.9280584,"altitude":9,"angle":75,"satellites":21,"speed":10,"hex_longitude":"2d7cb400","hex_latitude":"05eae6c8","is_valid_coordinates":true} 
[2026-09-09 16:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971273216001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130320831157895168,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976659245183059968,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:26] 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-09-09 16:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788950306000,"timestamp_ms":1788950306000,"timestamp_seconds":1788950306,"priority":1,"record_length":96,"hex_timestamp":"000001a085bf5cd0"} 
[2026-09-09 16:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 16:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971273216001,"66":13526,"8":206,"87":13824,"24":10,"16":130320831157895168,"45":8976659245183059968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-09 16:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971273216001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:09:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-09 16:09:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130320831157895168,"km_value":130320831157895.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976659245183059968,"description":"Unknown IO ID 45"} 
[2026-09-09 16:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971273216001,"power":13526,"unknown_8":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8976659245183059968}} 
[2026-09-09 16:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":175583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:09:26] local.INFO: GPS data processed {"connection_id":175583,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:09:26] local.INFO: Acknowledgment sent {"connection_id":175583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:09:38] local.INFO: TCP Data received {"connection_id":175810,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:09:38] local.INFO: Processing buffer {"connection_id":175810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:09:38] local.INFO: IMEI packet received {"connection_id":175810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":175810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:09:43] local.INFO: TCP Data received {"connection_id":175810,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:09:43] local.INFO: Processing buffer {"connection_id":175810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:09:43] local.INFO: IMEI packet received {"connection_id":175810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":175810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:09:44] local.INFO: TCP Data received {"connection_id":175810,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:09:44] local.INFO: Processing buffer {"connection_id":175810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:09:44] local.INFO: Packet analysis {"connection_id":175810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:09:44] local.INFO: Extracted packet for processing {"connection_id":175810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 16:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:09:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":175810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:09:44] local.INFO: GPS data processed {"connection_id":175810,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:09:44] local.INFO: Acknowledgment sent {"connection_id":175810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:09:58] local.INFO: TCP Data received {"connection_id":175583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085bfaed8012d7ccc8005eaec20000a005415..."} 
[2026-09-09 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bfaed8012d7ccc8005eaec20000a005415..."} 
[2026-09-09 16:09:58] local.INFO: Processing buffer {"connection_id":175583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bfaed8012d7ccc8005eaec20000a005415..."} 
[2026-09-09 16:09:58] local.INFO: Packet analysis {"connection_id":175583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085bf"} 
[2026-09-09 16:09:58] local.INFO: Extracted packet for processing {"connection_id":175583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085bf"} 
[2026-09-09 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763153536,"raw_latitude":99281952,"longitude_deg":76.3153536,"latitude_deg":9.9281952,"altitude":10,"angle":84,"satellites":21,"speed":16,"hex_longitude":"2d7ccc80","hex_latitude":"05eaec20","is_valid_coordinates":true} 
[2026-09-09 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971278336001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130321140395540480,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985807181926811648,"note":"Value kept but may cause issues"} 
[2026-09-09 16:09:58] 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-09-09 16:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788950327000,"timestamp_ms":1788950327000,"timestamp_seconds":1788950327,"priority":1,"record_length":96,"hex_timestamp":"000001a085bfaed8"} 
[2026-09-09 16:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 16:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971278336001,"66":14135,"8":206,"87":13824,"24":16,"16":130321140395540480,"45":8985807181926811648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-09 16:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971278336001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:09:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-09 16:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130321140395540480,"km_value":130321140395540.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985807181926811648,"description":"Unknown IO ID 45"} 
[2026-09-09 16:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971278336001,"power":14135,"unknown_8":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8985807181926811648}} 
[2026-09-09 16:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":175583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:09:58] local.INFO: GPS data processed {"connection_id":175583,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:09:58] local.INFO: Acknowledgment sent {"connection_id":175583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:10:16] local.INFO: TCP Data received {"connection_id":175810,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:10:16] local.INFO: Processing buffer {"connection_id":175810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:10:16] local.INFO: Packet analysis {"connection_id":175810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:10:16] local.INFO: Extracted packet for processing {"connection_id":175810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 16:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":175810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:10:16] local.INFO: GPS data processed {"connection_id":175810,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:10:16] local.INFO: Acknowledgment sent {"connection_id":175810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:10:24] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:10:24] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:10:24] local.INFO: IMEI packet received {"connection_id":175811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":175811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:10:29] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:10:29] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:10:29] local.INFO: IMEI packet received {"connection_id":175811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":175811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:10:30] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c000e0012d7ce10005eaedf0000a005516..."} 
[2026-09-09 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c000e0012d7ce10005eaedf0000a005516..."} 
[2026-09-09 16:10:30] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c000e0012d7ce10005eaedf0000a005516..."} 
[2026-09-09 16:10:30] local.INFO: Packet analysis {"connection_id":175811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c0"} 
[2026-09-09 16:10:30] local.INFO: Extracted packet for processing {"connection_id":175811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c0"} 
[2026-09-09 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763158784,"raw_latitude":99282416,"longitude_deg":76.3158784,"latitude_deg":9.9282416,"altitude":10,"angle":85,"satellites":22,"speed":0,"hex_longitude":"2d7ce100","hex_latitude":"05eaedf0","is_valid_coordinates":true} 
[2026-09-09 16:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971283712001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130321393798610944,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992703318856572928,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:30] 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-09-09 16:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788950348000,"timestamp_ms":1788950348000,"timestamp_seconds":1788950348,"priority":1,"record_length":96,"hex_timestamp":"000001a085c000e0"} 
[2026-09-09 16:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 16:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971283712001,"66":13798,"8":206,"87":13824,"24":0,"16":130321393798610944,"45":8992703318856572928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-09 16:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971283712001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:10:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-09 16:10:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130321393798610944,"km_value":130321393798610.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992703318856572928,"description":"Unknown IO ID 45"} 
[2026-09-09 16:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971283712001,"power":13798,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8992703318856572928}} 
[2026-09-09 16:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":175811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:10:30] local.INFO: GPS data processed {"connection_id":175811,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:10:30] local.INFO: Acknowledgment sent {"connection_id":175811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:10:33] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c00c98012d7ce28005eaedb0000a006816..."} 
[2026-09-09 16:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c00c98012d7ce28005eaedb0000a006816..."} 
[2026-09-09 16:10:33] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c00c98012d7ce28005eaedb0000a006816..."} 
[2026-09-09 16:10:33] local.INFO: Packet analysis {"connection_id":175811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c0"} 
[2026-09-09 16:10:33] local.INFO: Extracted packet for processing {"connection_id":175811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c0"} 
[2026-09-09 16:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763159168,"raw_latitude":99282352,"longitude_deg":76.3159168,"latitude_deg":9.9282352,"altitude":10,"angle":104,"satellites":22,"speed":5,"hex_longitude":"2d7ce280","hex_latitude":"05eaedb0","is_valid_coordinates":true} 
[2026-09-09 16:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971289088001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130321410978480128,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998473555879260160,"note":"Value kept but may cause issues"} 
[2026-09-09 16: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-09-09 16:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788950351000,"timestamp_ms":1788950351000,"timestamp_seconds":1788950351,"priority":1,"record_length":96,"hex_timestamp":"000001a085c00c98"} 
[2026-09-09 16:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:10: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-09-09 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:10: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-09-09 16:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971289088001,"66":14135,"8":206,"87":13824,"24":5,"16":130321410978480128,"45":8998473555879260160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-09 16:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971289088001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:10:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-09 16:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130321410978480128,"km_value":130321410978480.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998473555879260160,"description":"Unknown IO ID 45"} 
[2026-09-09 16:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971289088001,"power":14135,"unknown_8":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8998473555879260160}} 
[2026-09-09 16:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":175811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:10:33] local.INFO: GPS data processed {"connection_id":175811,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:10:33] local.INFO: Acknowledgment sent {"connection_id":175811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:10:44] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:10:44] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:10:44] local.INFO: IMEI packet received {"connection_id":175585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":175585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:10:48] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:10:48] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:10:48] local.INFO: IMEI packet received {"connection_id":175585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":175585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:10:50] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:10:50] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:10:50] local.INFO: Packet analysis {"connection_id":175585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:10:50] local.INFO: Extracted packet for processing {"connection_id":175585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 16:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:10:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:10:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":175585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:10:50] local.INFO: GPS data processed {"connection_id":175585,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:10:50] local.INFO: Acknowledgment sent {"connection_id":175585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:10:54] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:10:54] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:10:54] local.INFO: Packet analysis {"connection_id":175585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:10:54] local.INFO: Extracted packet for processing {"connection_id":175585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 16:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":175585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:10:54] local.INFO: GPS data processed {"connection_id":175585,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:10:54] local.INFO: Acknowledgment sent {"connection_id":175585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:11:04] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c18398012d7d01c005eaf2080007004115..."} 
[2026-09-09 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c18398012d7d01c005eaf2080007004115..."} 
[2026-09-09 16:11:04] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c18398012d7d01c005eaf2080007004115..."} 
[2026-09-09 16:11:04] local.INFO: Packet analysis {"connection_id":175811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c1"} 
[2026-09-09 16:11:04] local.INFO: Extracted packet for processing {"connection_id":175811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c1"} 
[2026-09-09 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763167168,"raw_latitude":99283464,"longitude_deg":76.3167168,"latitude_deg":9.9283464,"altitude":7,"angle":65,"satellites":21,"speed":3,"hex_longitude":"2d7d01c0","hex_latitude":"05eaf208","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971314176001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130321819000373248,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007551123878449152,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] 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-09-09 16:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788950447000,"timestamp_ms":1788950447000,"timestamp_seconds":1788950447,"priority":1,"record_length":96,"hex_timestamp":"000001a085c18398"} 
[2026-09-09 16:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632126,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":254,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2244042864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3531115677463085056,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13455518,"corrected_to":0} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3245346817,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4050649096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637121536217246,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":4277862400,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941634048,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-162123079974649848,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718081090309719,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,158,87,24,241,157,16,254,160,123,45,7,21,10,66,119,8,115,1,240,247,227,133,234,4,113,205,2,108,56,20,239,52,206,5,3,124,53,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":247,"original":13455518,"validated":0},{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-09 16:11:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504453825994817536,"timestamp_seconds":504453825994817.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971314176001,"66":13580,"158":206,"87":13824,"24":3,"16":130321819000373248,"45":9007551123878449152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971314176001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:11:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:11:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130321819000373248,"km_value":130321819000373.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007551123878449152,"description":"Unknown IO ID 45"} 
[2026-09-09 16:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971314176001,"power":13580,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9007551123878449152}} 
[2026-09-09 16:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":175811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:11:04] local.INFO: GPS data processed {"connection_id":175811,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:11:04] local.INFO: Acknowledgment sent {"connection_id":175811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:11:18] local.INFO: TCP Data received {"connection_id":176997,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:11:18] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:11:18] local.INFO: IMEI packet received {"connection_id":176997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":176997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:11:19] local.INFO: TCP Data received {"connection_id":176997,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:11:19] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:11:19] local.INFO: IMEI packet received {"connection_id":176997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":176997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:11:20] local.INFO: TCP Data received {"connection_id":176997,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:11:20] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:11:20] local.INFO: IMEI packet received {"connection_id":176997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":176997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:11:21] local.INFO: TCP Data received {"connection_id":176997,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c19b08012d7d07c005eaf4a80007003616..."} 
[2026-09-09 16:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c19b08012d7d07c005eaf4a80007003616..."} 
[2026-09-09 16:11:21] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c19b08012d7d07c005eaf4a80007003616..."} 
[2026-09-09 16:11:21] local.INFO: Packet analysis {"connection_id":176997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c1"} 
[2026-09-09 16:11:21] local.INFO: Extracted packet for processing {"connection_id":176997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c1"} 
[2026-09-09 16:11:21] local.INFO: GPS Element Parsed {"raw_longitude":763168704,"raw_latitude":99284136,"longitude_deg":76.3168704,"latitude_deg":9.9284136,"altitude":7,"angle":54,"satellites":22,"speed":15,"hex_longitude":"2d7d07c0","hex_latitude":"05eaf4a8","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971314432001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130321900604751872,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007691861366802432,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] 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-09-09 16:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788950453000,"timestamp_ms":1788950453000,"timestamp_seconds":1788950453,"priority":1,"record_length":96,"hex_timestamp":"000001a085c19b08"} 
[2026-09-09 16:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632126,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2244045864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":254,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3531109080393318400,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3245602817,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4053270536,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635021297209502,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024912,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":206,"raw_value":4277927936,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941677056,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-108079884440436728,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:21] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,158,87,24,241,157,16,255,160,127,45,64,242,7,21,10,66,254,123,119,1,240,181,227,133,234,4,113,205,112,20,239,52,2,206,5,8,124,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-09 16:11:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504474716715810816,"timestamp_seconds":504474716715810.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971314432001,"66":13656,"158":206,"87":13824,"24":15,"16":130321900604751872,"45":9007691861366802432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971314432001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:11:21] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:11:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130321900604751872,"km_value":130321900604751.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007691861366802432,"description":"Unknown IO ID 45"} 
[2026-09-09 16:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971314432001,"power":13656,"unknown_158":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9007691861366802432}} 
[2026-09-09 16:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":176997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:11:22] local.INFO: GPS data processed {"connection_id":176997,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:11:22] local.INFO: Acknowledgment sent {"connection_id":176997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:11:39] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:11:39] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:11:39] local.INFO: IMEI packet received {"connection_id":175587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":175587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:11:43] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:11:43] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:11:43] local.INFO: IMEI packet received {"connection_id":175587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":175587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:11:44] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:11:44] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:11:44] local.INFO: Packet analysis {"connection_id":175587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:11:44] local.INFO: Extracted packet for processing {"connection_id":175587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 16:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":175587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:11:44] local.INFO: GPS data processed {"connection_id":175587,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:11:44] local.INFO: Acknowledgment sent {"connection_id":175587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:11:45] local.INFO: TCP Data received {"connection_id":178382,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:11:45] local.INFO: Processing buffer {"connection_id":178382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:11:45] local.INFO: IMEI packet received {"connection_id":178382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":178382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:11:47] local.INFO: TCP Data received {"connection_id":178382,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c0b490012d092b00071a1b48003000452a..."} 
[2026-09-09 16:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c0b490012d092b00071a1b48003000452a..."} 
[2026-09-09 16:11:47] local.INFO: Processing buffer {"connection_id":178382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c0b490012d092b00071a1b48003000452a..."} 
[2026-09-09 16:11:47] local.INFO: Packet analysis {"connection_id":178382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c0"} 
[2026-09-09 16:11:47] local.INFO: Extracted packet for processing {"connection_id":178382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c0"} 
[2026-09-09 16:11:47] local.INFO: GPS Element Parsed {"raw_longitude":755575552,"raw_latitude":119151432,"longitude_deg":75.5575552,"latitude_deg":11.9151432,"altitude":48,"angle":69,"satellites":42,"speed":51,"hex_longitude":"2d092b00","hex_latitude":"071a1b48","is_valid_coordinates":true} 
[2026-09-09 16:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971298816001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19046835632996352,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":650066489215148032,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788950394000,"timestamp_ms":1788950394000,"timestamp_seconds":1788950394,"priority":1,"record_length":96,"hex_timestamp":"000001a085c0b490"} 
[2026-09-09 16:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:11: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-09-09 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-09 16:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971298816001,"66":14352,"221":206,"83":41984,"24":51,"16":19046835632996352,"45":650066489215148032},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 16:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971298816001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:11:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 16:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19046835632996352,"km_value":19046835632996.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":650066489215148032,"description":"Unknown IO ID 45"} 
[2026-09-09 16:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971298816001,"power":14352,"unknown_221":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":650066489215148032}} 
[2026-09-09 16:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":178382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:11:47] local.INFO: GPS data processed {"connection_id":178382,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:11:47] local.INFO: Acknowledgment sent {"connection_id":178382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:11:53] local.INFO: TCP Data received {"connection_id":176997,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c1a6c0012d7d0d4005eaf7400006004416..."} 
[2026-09-09 16:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c1a6c0012d7d0d4005eaf7400006004416..."} 
[2026-09-09 16:11:53] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c1a6c0012d7d0d4005eaf7400006004416..."} 
[2026-09-09 16:11:53] local.INFO: Packet analysis {"connection_id":176997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c1"} 
[2026-09-09 16:11:53] local.INFO: Extracted packet for processing {"connection_id":176997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c1"} 
[2026-09-09 16:11:53] local.INFO: GPS Element Parsed {"raw_longitude":763170112,"raw_latitude":99284800,"longitude_deg":76.3170112,"latitude_deg":9.92848,"altitude":6,"angle":68,"satellites":22,"speed":21,"hex_longitude":"2d7d0d40","hex_latitude":"05eaf740","is_valid_coordinates":true} 
[2026-09-09 16:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971315968001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130321973619195904,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009380711227238400,"note":"Value kept but may cause issues"} 
[2026-09-09 16:11:53] 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-09-09 16:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788950456000,"timestamp_ms":1788950456000,"timestamp_seconds":1788950456,"priority":1,"record_length":96,"hex_timestamp":"000001a085c1a6c0"} 
[2026-09-09 16:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 16:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971315968001,"66":13852,"158":206,"87":13824,"24":21,"16":130321973619195904,"45":9009380711227238400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971315968001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:11:53] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:11:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130321973619195904,"km_value":130321973619195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009380711227238400,"description":"Unknown IO ID 45"} 
[2026-09-09 16:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971315968001,"power":13852,"unknown_158":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9009380711227238400}} 
[2026-09-09 16:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":176997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:11:53] local.INFO: GPS data processed {"connection_id":176997,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:11:53] local.INFO: Acknowledgment sent {"connection_id":176997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:12:16] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:12:16] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:12:16] local.INFO: Packet analysis {"connection_id":175587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:12:16] local.INFO: Extracted packet for processing {"connection_id":175587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 16:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":175587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:12:16] local.INFO: GPS data processed {"connection_id":175587,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:12:16] local.INFO: Acknowledgment sent {"connection_id":175587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:12:20] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:12:20] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:12:20] local.INFO: IMEI packet received {"connection_id":175813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":175813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:12:20] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:12:20] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:12:20] local.INFO: IMEI packet received {"connection_id":175813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":175813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:12:24] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:12:24] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:12:24] local.INFO: IMEI packet received {"connection_id":175813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":175813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:12:25] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c1f4e0012d7d214005eafec00002004116..."} 
[2026-09-09 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c1f4e0012d7d214005eafec00002004116..."} 
[2026-09-09 16:12:25] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c1f4e0012d7d214005eafec00002004116..."} 
[2026-09-09 16:12:25] local.INFO: Packet analysis {"connection_id":175813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c1"} 
[2026-09-09 16:12:25] local.INFO: Extracted packet for processing {"connection_id":175813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c1"} 
[2026-09-09 16:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":99286720,"longitude_deg":76.3175232,"latitude_deg":9.928672,"altitude":2,"angle":65,"satellites":22,"speed":5,"hex_longitude":"2d7d2140","hex_latitude":"05eafec0","is_valid_coordinates":true} 
[2026-09-09 16:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971316736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130322235612200960,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010928823599316992,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:25] 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-09-09 16:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788950476000,"timestamp_ms":1788950476000,"timestamp_seconds":1788950476,"priority":1,"record_length":96,"hex_timestamp":"000001a085c1f4e0"} 
[2026-09-09 16:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 16:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971316736001,"66":13243,"158":206,"87":13824,"24":5,"16":130322235612200960,"45":9010928823599316992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971316736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:12:25] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:12:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130322235612200960,"km_value":130322235612200.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010928823599316992,"description":"Unknown IO ID 45"} 
[2026-09-09 16:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971316736001,"power":13243,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9010928823599316992}} 
[2026-09-09 16:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":175813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:12:25] local.INFO: GPS data processed {"connection_id":175813,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:12:25] local.INFO: Acknowledgment sent {"connection_id":175813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:12:29] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c20098012d7d230005eafe880001008216..."} 
[2026-09-09 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c20098012d7d230005eafe880001008216..."} 
[2026-09-09 16:12:29] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c20098012d7d230005eafe880001008216..."} 
[2026-09-09 16:12:29] local.INFO: Packet analysis {"connection_id":175813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:12:29] local.INFO: Extracted packet for processing {"connection_id":175813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763175680,"raw_latitude":99286664,"longitude_deg":76.317568,"latitude_deg":9.9286664,"altitude":1,"angle":130,"satellites":22,"speed":5,"hex_longitude":"2d7d2300","hex_latitude":"05eafe88","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971321856001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130322257087037440,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558323134021632,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:29] 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-09-09 16:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788950479000,"timestamp_ms":1788950479000,"timestamp_seconds":1788950479,"priority":1,"record_length":96,"hex_timestamp":"000001a085c20098"} 
[2026-09-09 16:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:12: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-09-09 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-09 16:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971321856001,"66":13472,"158":206,"87":13824,"24":5,"16":130322257087037440,"45":9016558323134021632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971321856001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:12:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:12:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130322257087037440,"km_value":130322257087037.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558323134021632,"description":"Unknown IO ID 45"} 
[2026-09-09 16:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971321856001,"power":13472,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9016558323134021632}} 
[2026-09-09 16:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":175813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:12:29] local.INFO: GPS data processed {"connection_id":175813,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:12:29] local.INFO: Acknowledgment sent {"connection_id":175813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:12:30] local.INFO: TCP Data received {"connection_id":176998,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:12:30] local.INFO: Processing buffer {"connection_id":176998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:12:30] local.INFO: IMEI packet received {"connection_id":176998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":176998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:12:34] local.INFO: TCP Data received {"connection_id":176998,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:12:34] local.INFO: Processing buffer {"connection_id":176998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:12:34] local.INFO: IMEI packet received {"connection_id":176998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":176998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:12:38] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:12:38] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:12:38] local.INFO: IMEI packet received {"connection_id":177000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":177000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:12:43] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:12:43] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:12:43] local.INFO: IMEI packet received {"connection_id":177000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":177000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:12:44] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:12:44] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:12:44] local.INFO: Packet analysis {"connection_id":177000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:12:44] local.INFO: Extracted packet for processing {"connection_id":177000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 16:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:12: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-09-09 16:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":177000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:12:44] local.INFO: GPS data processed {"connection_id":177000,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:12:44] local.INFO: Acknowledgment sent {"connection_id":177000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:12:45] local.INFO: TCP Data received {"connection_id":176998,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c20c50012d09ff80071acd50001d002f23..."} 
[2026-09-09 16:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c20c50012d09ff80071acd50001d002f23..."} 
[2026-09-09 16:12:45] local.INFO: Processing buffer {"connection_id":176998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c20c50012d09ff80071acd50001d002f23..."} 
[2026-09-09 16:12:45] local.INFO: Packet analysis {"connection_id":176998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:12:45] local.INFO: Extracted packet for processing {"connection_id":176998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:12:45] local.INFO: GPS Element Parsed {"raw_longitude":755629952,"raw_latitude":119197008,"longitude_deg":75.5629952,"latitude_deg":11.9197008,"altitude":29,"angle":47,"satellites":35,"speed":37,"hex_longitude":"2d09ff80","hex_latitude":"071acd50","is_valid_coordinates":true} 
[2026-09-09 16:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971322368001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19050413340753920,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":717831589870039040,"note":"Value kept but may cause issues"} 
[2026-09-09 16:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788950482000,"timestamp_ms":1788950482000,"timestamp_seconds":1788950482,"priority":1,"record_length":96,"hex_timestamp":"000001a085c20c50"} 
[2026-09-09 16:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 16:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971322368001,"66":14004,"221":206,"83":41984,"24":37,"16":19050413340753920,"45":717831589870039040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 16:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971322368001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:12:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 16:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19050413340753920,"km_value":19050413340753.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":717831589870039040,"description":"Unknown IO ID 45"} 
[2026-09-09 16:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971322368001,"power":14004,"unknown_221":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":717831589870039040}} 
[2026-09-09 16:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":176998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:12:45] local.INFO: GPS data processed {"connection_id":176998,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:12:45] local.INFO: Acknowledgment sent {"connection_id":176998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:00] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c20480012d7d230005eafe200001009d16..."} 
[2026-09-09 16:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c20480012d7d230005eafe200001009d16..."} 
[2026-09-09 16:13:00] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c20480012d7d230005eafe200001009d16..."} 
[2026-09-09 16:13:00] local.INFO: Packet analysis {"connection_id":175813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:13:00] local.INFO: Extracted packet for processing {"connection_id":175813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763175680,"raw_latitude":99286560,"longitude_deg":76.317568,"latitude_deg":9.928656,"altitude":1,"angle":157,"satellites":22,"speed":5,"hex_longitude":"2d7d2300","hex_latitude":"05eafe20","is_valid_coordinates":true} 
[2026-09-09 16:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971322624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130322261382004736,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017050904343250944,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:00] 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-09-09 16:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788950480000,"timestamp_ms":1788950480000,"timestamp_seconds":1788950480,"priority":1,"record_length":96,"hex_timestamp":"000001a085c20480"} 
[2026-09-09 16:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 16:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971322624001,"66":13917,"158":206,"87":13824,"24":5,"16":130322261382004736,"45":9017050904343250944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971322624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:00] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:13:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130322261382004736,"km_value":130322261382004.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017050904343250944,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971322624001,"power":13917,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9017050904343250944}} 
[2026-09-09 16:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":175813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:00] local.INFO: GPS data processed {"connection_id":175813,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:00] local.INFO: Acknowledgment sent {"connection_id":175813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:05] local.INFO: TCP Data received {"connection_id":178384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:13:05] local.INFO: Processing buffer {"connection_id":178384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:13:05] local.INFO: IMEI packet received {"connection_id":178384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":178384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:13:06] local.INFO: TCP Data received {"connection_id":178384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:13:06] local.INFO: Processing buffer {"connection_id":178384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:13:06] local.INFO: IMEI packet received {"connection_id":178384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":178384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:13:10] local.INFO: TCP Data received {"connection_id":178384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:13:10] local.INFO: Processing buffer {"connection_id":178384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:13:10] local.INFO: IMEI packet received {"connection_id":178384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":178384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:13:11] local.INFO: TCP Data received {"connection_id":178384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c33918012d0c77c0070613b00014008518..."} 
[2026-09-09 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c33918012d0c77c0070613b00014008518..."} 
[2026-09-09 16:13:11] local.INFO: Processing buffer {"connection_id":178384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c33918012d0c77c0070613b00014008518..."} 
[2026-09-09 16:13:11] local.INFO: Packet analysis {"connection_id":178384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:11] local.INFO: Extracted packet for processing {"connection_id":178384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":755791808,"raw_latitude":117838768,"longitude_deg":75.5791808,"latitude_deg":11.7838768,"altitude":20,"angle":133,"satellites":24,"speed":16,"hex_longitude":"2d0c77c0","hex_latitude":"070613b0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971337984001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30991539115130880,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892557181317697536,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:11] 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-09-09 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788950559000,"timestamp_ms":1788950559000,"timestamp_seconds":1788950559,"priority":1,"record_length":96,"hex_timestamp":"000001a085c33918"} 
[2026-09-09 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-09-09 16:13: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-09-09 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 16:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:13:11] 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-09-09 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971337984001,"66":14450,"220":206,"94":10240,"24":16,"16":30991539115130880,"45":892557181317697536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971337984001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:11] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 16:13:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30991539115130880,"km_value":30991539115130.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":892557181317697536,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971337984001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":892557181317697536}} 
[2026-09-09 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":178384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:11] local.INFO: GPS data processed {"connection_id":178384,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:11] local.INFO: Acknowledgment sent {"connection_id":178384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:14] local.INFO: TCP Data received {"connection_id":178384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d0c8300070608f00019007519..."} 
[2026-09-09 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d0c8300070608f00019007519..."} 
[2026-09-09 16:13:14] local.INFO: Processing buffer {"connection_id":178384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d0c8300070608f00019007519..."} 
[2026-09-09 16:13:14] local.INFO: Packet analysis {"connection_id":178384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:14] local.INFO: Extracted packet for processing {"connection_id":178384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:14] local.INFO: GPS Element Parsed {"raw_longitude":755794688,"raw_latitude":117836016,"longitude_deg":75.5794688,"latitude_deg":11.7836016,"altitude":25,"angle":117,"satellites":25,"speed":7,"hex_longitude":"2d0c8300","hex_latitude":"070608f0","is_valid_coordinates":true} 
[2026-09-09 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971343104001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30991732388659200,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898397787082960896,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:14] 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-09-09 16:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:13:14] local.INFO: IO Element 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-09-09 16:13: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-09-09 16:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:13:14] 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-09-09 16:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971343104001,"66":14537,"220":206,"94":10240,"24":7,"16":30991732388659200,"45":898397787082960896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 16:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971343104001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:14] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 16:13:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30991732388659200,"km_value":30991732388659.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":898397787082960896,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971343104001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":898397787082960896}} 
[2026-09-09 16:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":178384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:15] local.INFO: GPS data processed {"connection_id":178384,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:15] local.INFO: Acknowledgment sent {"connection_id":178384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:16] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:13:16] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085bee3b8012d34cc4006aa49080000013425..."} 
[2026-09-09 16:13:16] local.INFO: Packet analysis {"connection_id":177000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:13:16] local.INFO: Extracted packet for processing {"connection_id":177000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085be"} 
[2026-09-09 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971193344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788950275000,"timestamp_ms":1788950275000,"timestamp_seconds":1788950275,"priority":1,"record_length":96,"hex_timestamp":"000001a085bee3b8"} 
[2026-09-09 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-09-09 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971193344001,"66":25680,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971193344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971193344001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":177000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:16] local.INFO: GPS data processed {"connection_id":177000,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:16] local.INFO: Acknowledgment sent {"connection_id":177000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:16] local.INFO: TCP Data received {"connection_id":178383,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:13:16] local.INFO: Processing buffer {"connection_id":178383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:13:16] local.INFO: IMEI packet received {"connection_id":178383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":178383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:13:19] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:13:19] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:13:19] local.INFO: IMEI packet received {"connection_id":177001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":177001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:13:22] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:13:22] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:13:22] local.INFO: IMEI packet received {"connection_id":177001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":177001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:13:24] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:13:24] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:13:24] local.INFO: IMEI packet received {"connection_id":177001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":177001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:13:26] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c35470012d7d1d8005ea82a8000700c016..."} 
[2026-09-09 16:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c35470012d7d1d8005ea82a8000700c016..."} 
[2026-09-09 16:13:26] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c35470012d7d1d8005ea82a8000700c016..."} 
[2026-09-09 16:13:26] local.INFO: Packet analysis {"connection_id":177001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:26] local.INFO: Extracted packet for processing {"connection_id":177001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99254952,"longitude_deg":76.3174272,"latitude_deg":9.9254952,"altitude":7,"angle":192,"satellites":22,"speed":5,"hex_longitude":"2d7d1d80","hex_latitude":"05ea82a8","is_valid_coordinates":true} 
[2026-09-09 16:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971342592001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130323807570231296,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791963504640,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:26] 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-09-09 16:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788950566000,"timestamp_ms":1788950566000,"timestamp_seconds":1788950566,"priority":1,"record_length":96,"hex_timestamp":"000001a085c35470"} 
[2026-09-09 16:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971342592001,"66":13765,"158":206,"87":13824,"24":5,"16":130323807570231296,"45":9015502791963504640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971342592001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:26] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:13:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130323807570231296,"km_value":130323807570231.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791963504640,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971342592001,"power":13765,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9015502791963504640}} 
[2026-09-09 16:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":177001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:26] local.INFO: GPS data processed {"connection_id":177001,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:26] local.INFO: Acknowledgment sent {"connection_id":177001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:30] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:13:30] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:13:30] local.INFO: IMEI packet received {"connection_id":175589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":175589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:13:31] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c396d8012d7d1b8005ea5f88000800b816..."} 
[2026-09-09 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c396d8012d7d1b8005ea5f88000800b816..."} 
[2026-09-09 16:13:31] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c396d8012d7d1b8005ea5f88000800b816..."} 
[2026-09-09 16:13:31] local.INFO: Packet analysis {"connection_id":177001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:31] local.INFO: Extracted packet for processing {"connection_id":177001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":99245960,"longitude_deg":76.317376,"latitude_deg":9.924596,"altitude":8,"angle":184,"satellites":22,"speed":33,"hex_longitude":"2d7d1b80","hex_latitude":"05ea5f88","is_valid_coordinates":true} 
[2026-09-09 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971344896001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130324245656895488,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791963224064,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:31] 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-09-09 16:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788950583000,"timestamp_ms":1788950583000,"timestamp_seconds":1788950583,"priority":1,"record_length":96,"hex_timestamp":"000001a085c396d8"} 
[2026-09-09 16:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 16:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971344896001,"66":13798,"158":206,"87":13824,"24":33,"16":130324245656895488,"45":9015502791963224064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971344896001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:13:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130324245656895488,"km_value":130324245656895.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791963224064,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971344896001,"power":13798,"unknown_158":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":9015502791963224064}} 
[2026-09-09 16:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":177001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:31] local.INFO: GPS data processed {"connection_id":177001,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:31] local.INFO: Acknowledgment sent {"connection_id":177001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:33] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:13:33] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:13:33] local.INFO: IMEI packet received {"connection_id":175589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":175589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:13:35] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:13:35] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:13:35] local.INFO: IMEI packet received {"connection_id":175589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":175589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:13:37] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c21420012d0a05c0071ad1a0001e003c25..."} 
[2026-09-09 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c21420012d0a05c0071ad1a0001e003c25..."} 
[2026-09-09 16:13:37] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c21420012d0a05c0071ad1a0001e003c25..."} 
[2026-09-09 16:13:37] local.INFO: Packet analysis {"connection_id":175589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:13:37] local.INFO: Extracted packet for processing {"connection_id":175589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":755631552,"raw_latitude":119198112,"longitude_deg":75.5631552,"latitude_deg":11.9198112,"altitude":30,"angle":60,"satellites":37,"speed":39,"hex_longitude":"2d0a05c0","hex_latitude":"071ad1a0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971323392001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19050507830034432,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720435233405358080,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788950484000,"timestamp_ms":1788950484000,"timestamp_seconds":1788950484,"priority":1,"record_length":96,"hex_timestamp":"000001a085c21420"} 
[2026-09-09 16:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 16:13: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-09-09 16: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-09-09 16:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971323392001,"66":13917,"221":206,"83":41984,"24":39,"16":19050507830034432,"45":720435233405358080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 16:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971323392001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 16:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19050507830034432,"km_value":19050507830034.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":720435233405358080,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971323392001,"power":13917,"unknown_221":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":720435233405358080}} 
[2026-09-09 16:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":175589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:37] local.INFO: GPS data processed {"connection_id":175589,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:37] local.INFO: Acknowledgment sent {"connection_id":175589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:38] local.INFO: TCP Data received {"connection_id":175814,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:13:38] local.INFO: Processing buffer {"connection_id":175814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:13:38] local.INFO: IMEI packet received {"connection_id":175814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":175814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:13:41] local.INFO: TCP Data received {"connection_id":175815,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:13:41] local.INFO: Processing buffer {"connection_id":175815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:13:41] local.INFO: IMEI packet received {"connection_id":175815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":175815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:13:41] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c23748012d0a26c0071ae180001f003426..."} 
[2026-09-09 16:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c23748012d0a26c0071ae180001f003426..."} 
[2026-09-09 16:13:41] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c23748012d0a26c0071ae180001f003426..."} 
[2026-09-09 16:13:41] local.INFO: Packet analysis {"connection_id":175589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:13:41] local.INFO: Extracted packet for processing {"connection_id":175589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c2"} 
[2026-09-09 16:13:41] local.INFO: GPS Element Parsed {"raw_longitude":755640000,"raw_latitude":119202176,"longitude_deg":75.564,"latitude_deg":11.9202176,"altitude":31,"angle":52,"satellites":38,"speed":41,"hex_longitude":"2d0a26c0","hex_latitude":"071ae180","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971323904001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19050958801600512,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":722194452010082304,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788950493000,"timestamp_ms":1788950493000,"timestamp_seconds":1788950493,"priority":1,"record_length":96,"hex_timestamp":"000001a085c23748"} 
[2026-09-09 16:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 16:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971323904001,"66":14004,"221":206,"83":41984,"24":41,"16":19050958801600512,"45":722194452010082304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 16:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971323904001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 16:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19050958801600512,"km_value":19050958801600.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":722194452010082304,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971323904001,"power":14004,"unknown_221":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":722194452010082304}} 
[2026-09-09 16:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":175589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:42] local.INFO: GPS data processed {"connection_id":175589,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:42] local.INFO: Acknowledgment sent {"connection_id":175589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:43] local.INFO: TCP Data received {"connection_id":175814,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:13:43] local.INFO: Processing buffer {"connection_id":175814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:13:43] local.INFO: IMEI packet received {"connection_id":175814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":175814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:13:44] local.INFO: TCP Data received {"connection_id":175814,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:13:44] local.INFO: Processing buffer {"connection_id":175814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:13:44] local.INFO: Packet analysis {"connection_id":175814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:44] local.INFO: Extracted packet for processing {"connection_id":175814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 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-09-09 16:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":175814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:44] local.INFO: GPS data processed {"connection_id":175814,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:44] local.INFO: Acknowledgment sent {"connection_id":175814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:45] local.INFO: TCP Data received {"connection_id":178384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c39ac0012d0c8b00070604100019008419..."} 
[2026-09-09 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c39ac0012d0c8b00070604100019008419..."} 
[2026-09-09 16:13:45] local.INFO: Processing buffer {"connection_id":178384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c39ac0012d0c8b00070604100019008419..."} 
[2026-09-09 16:13:45] local.INFO: Packet analysis {"connection_id":178384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:45] local.INFO: Extracted packet for processing {"connection_id":178384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":755796736,"raw_latitude":117834768,"longitude_deg":75.5796736,"latitude_deg":11.7834768,"altitude":25,"angle":132,"satellites":25,"speed":12,"hex_longitude":"2d0c8b00","hex_latitude":"07060410","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30991848352776192,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901564380570251264,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:45] 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-09-09 16:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788950584000,"timestamp_ms":1788950584000,"timestamp_seconds":1788950584,"priority":1,"record_length":96,"hex_timestamp":"000001a085c39ac0"} 
[2026-09-09 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-09-09 16:13: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-09-09 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 16:13: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-09-09 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-09-09 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-09-09 16:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:13:45] 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-09-09 16:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":14439,"220":206,"94":10240,"24":12,"16":30991848352776192,"45":901564380570251264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 16:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:45] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 16:13:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30991848352776192,"km_value":30991848352776.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":901564380570251264,"description":"Unknown IO ID 45"} 
[2026-09-09 16:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":901564380570251264}} 
[2026-09-09 16:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":178384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:46] local.INFO: GPS data processed {"connection_id":178384,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:46] local.INFO: Acknowledgment sent {"connection_id":178384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:13:46] local.INFO: TCP Data received {"connection_id":175815,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:13:46] local.INFO: Processing buffer {"connection_id":175815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:13:46] local.INFO: IMEI packet received {"connection_id":175815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 16:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":175815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:13:47] local.INFO: TCP Data received {"connection_id":175815,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a085a0dc38012c5f200009b56b1002a000882c..."} 
[2026-09-09 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085a0dc38012c5f200009b56b1002a000882c..."} 
[2026-09-09 16:13:47] local.INFO: Processing buffer {"connection_id":175815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085a0dc38012c5f200009b56b1002a000882c..."} 
[2026-09-09 16:13:47] local.INFO: Packet analysis {"connection_id":175815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 16:13:47] local.INFO: Extracted packet for processing {"connection_id":175815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085a0"} 
[2026-09-09 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":744431616,"raw_latitude":162884368,"longitude_deg":74.4431616,"latitude_deg":16.2884368,"altitude":672,"angle":136,"satellites":44,"speed":0,"hex_longitude":"2c5f2000","hex_latitude":"09b56b10","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457970761216001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6854478674556293122,"note":"Value kept but may cause issues"} 
[2026-09-09 16:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788948307000,"timestamp_ms":1788948307000,"timestamp_seconds":1788948307,"priority":1,"record_length":96,"hex_timestamp":"000001a085a0dc38"} 
[2026-09-09 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-09-09 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-09 16:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 16:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 16:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 16:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 16:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457970761216001,"66":28224,"135":206,"117":13312,"24":0,"16":3893920429768704,"44":6854478674556293122},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,117,24,16,44]} 
[2026-09-09 16:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 16:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 16:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457970761216001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:13:47] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-09 16:13:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":13312,"description":"Unknown IO ID 117"} 
[2026-09-09 16:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:13:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":6854478674556293122,"description":"Unknown IO ID 44"} 
[2026-09-09 16:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457970761216001,"power":28224,"unknown_135":206,"unknown_117":13312,"ignition":0,"odometer":null,"unknown_44":6854478674556293122}} 
[2026-09-09 16:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":175815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:13:48] local.INFO: GPS data processed {"connection_id":175815,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:13:48] local.INFO: Acknowledgment sent {"connection_id":175815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:05] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:14:05] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:14:05] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:14:07] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:14:07] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:14:07] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:14:10] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:14:10] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:14:10] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:14:11] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c3ba00012d0c93400705fb300019009418..."} 
[2026-09-09 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c3ba00012d0c93400705fb300019009418..."} 
[2026-09-09 16:14:11] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c3ba00012d0c93400705fb300019009418..."} 
[2026-09-09 16:14:11] local.INFO: Packet analysis {"connection_id":175590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:11] local.INFO: Extracted packet for processing {"connection_id":175590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:11] local.INFO: GPS Element Parsed {"raw_longitude":755798848,"raw_latitude":117832496,"longitude_deg":75.5798848,"latitude_deg":11.7832496,"altitude":25,"angle":148,"satellites":24,"speed":13,"hex_longitude":"2d0c9340","hex_latitude":"0705fb30","is_valid_coordinates":true} 
[2026-09-09 16:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971349504001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30991998676631552,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903816180383617024,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:11] 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-09-09 16:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788950592000,"timestamp_ms":1788950592000,"timestamp_seconds":1788950592,"priority":1,"record_length":96,"hex_timestamp":"000001a085c3ba00"} 
[2026-09-09 16:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:14: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-09-09 16:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 16:14:11] 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-09-09 16:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:14:11] 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-09-09 16:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971349504001,"66":14537,"220":206,"94":10240,"24":13,"16":30991998676631552,"45":903816180383617024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 16:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971349504001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:11] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 16:14:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30991998676631552,"km_value":30991998676631.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":903816180383617024,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971349504001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":903816180383617024}} 
[2026-09-09 16:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":175590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789651,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:11] local.INFO: GPS data processed {"connection_id":175590,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:11] local.INFO: Acknowledgment sent {"connection_id":175590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:12] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c40c08012d0ca2c00705e3b00015009417..."} 
[2026-09-09 16:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c40c08012d0ca2c00705e3b00015009417..."} 
[2026-09-09 16:14:12] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c40c08012d0ca2c00705e3b00015009417..."} 
[2026-09-09 16:14:12] local.INFO: Packet analysis {"connection_id":175590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:14:12] local.INFO: Extracted packet for processing {"connection_id":175590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:14:12] local.INFO: GPS Element Parsed {"raw_longitude":755802816,"raw_latitude":117826480,"longitude_deg":75.5802816,"latitude_deg":11.782648,"altitude":21,"angle":148,"satellites":23,"speed":7,"hex_longitude":"2d0ca2c0","hex_latitude":"0705e3b0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971351552001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30992346568982528,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906138348940898304,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788950613000,"timestamp_ms":1788950613000,"timestamp_seconds":1788950613,"priority":1,"record_length":96,"hex_timestamp":"000001a085c40c08"} 
[2026-09-09 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-09-09 16:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 16:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:14:12] 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-09-09 16:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971351552001,"66":14613,"220":206,"94":10240,"24":7,"16":30992346568982528,"45":906138348940898304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 16:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971351552001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:12] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 16:14:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30992346568982528,"km_value":30992346568982.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":906138348940898304,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971351552001,"power":14613,"unknown_220":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":906138348940898304}} 
[2026-09-09 16:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":175590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:12] local.INFO: GPS data processed {"connection_id":175590,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:12] local.INFO: Acknowledgment sent {"connection_id":175590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:14] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c39ac0012d0a8a00071c12e8001e001427..."} 
[2026-09-09 16:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c39ac0012d0a8a00071c12e8001e001427..."} 
[2026-09-09 16:14:14] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c39ac0012d0a8a00071c12e8001e001427..."} 
[2026-09-09 16:14:14] local.INFO: Packet analysis {"connection_id":175589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:14] local.INFO: Extracted packet for processing {"connection_id":175589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:14] local.INFO: GPS Element Parsed {"raw_longitude":755665408,"raw_latitude":119280360,"longitude_deg":75.5665408,"latitude_deg":11.928036,"altitude":30,"angle":20,"satellites":39,"speed":42,"hex_longitude":"2d0a8a00","hex_latitude":"071c12e8","is_valid_coordinates":true} 
[2026-09-09 16:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347200001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19055013250727936,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755267761792305152,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788950584000,"timestamp_ms":1788950584000,"timestamp_seconds":1788950584,"priority":1,"record_length":96,"hex_timestamp":"000001a085c39ac0"} 
[2026-09-09 16:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:14: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-09-09 16:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 16:14: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-09-09 16:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347200001,"66":13820,"221":206,"83":41984,"24":42,"16":19055013250727936,"45":755267761792305152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 16:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347200001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 16:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19055013250727936,"km_value":19055013250727.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":755267761792305152,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347200001,"power":13820,"unknown_221":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":755267761792305152}} 
[2026-09-09 16:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":175589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:14] local.INFO: GPS data processed {"connection_id":175589,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:14] local.INFO: Acknowledgment sent {"connection_id":175589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:17] local.INFO: TCP Data received {"connection_id":175814,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:14:17] local.INFO: Processing buffer {"connection_id":175814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:14:17] local.INFO: Packet analysis {"connection_id":175814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:17] local.INFO: Extracted packet for processing {"connection_id":175814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":175814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:17] local.INFO: GPS data processed {"connection_id":175814,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:17] local.INFO: Acknowledgment sent {"connection_id":175814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:29] local.INFO: TCP Data received {"connection_id":178385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:14:29] local.INFO: Processing buffer {"connection_id":178385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:14:29] local.INFO: IMEI packet received {"connection_id":178385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":178385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:14:30] local.INFO: TCP Data received {"connection_id":178386,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:14:30] local.INFO: Processing buffer {"connection_id":178386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:14:30] local.INFO: IMEI packet received {"connection_id":178386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":178386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:14:32] local.INFO: TCP Data received {"connection_id":177002,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:14:32] local.INFO: Processing buffer {"connection_id":177002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:14:32] local.INFO: IMEI packet received {"connection_id":177002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":177002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:14:35] local.INFO: TCP Data received {"connection_id":178385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:14:35] local.INFO: Processing buffer {"connection_id":178385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:14:35] local.INFO: IMEI packet received {"connection_id":178385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":178385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:14:35] local.INFO: TCP Data received {"connection_id":178386,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:14:35] local.INFO: Processing buffer {"connection_id":178386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:14:35] local.INFO: IMEI packet received {"connection_id":178386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":178386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:14:35] local.INFO: TCP Data received {"connection_id":178385,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c3d940012d7d190005ea3c08000b00b816..."} 
[2026-09-09 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c3d940012d7d190005ea3c08000b00b816..."} 
[2026-09-09 16:14:35] local.INFO: Processing buffer {"connection_id":178385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c3d940012d7d190005ea3c08000b00b816..."} 
[2026-09-09 16:14:35] local.INFO: Packet analysis {"connection_id":178385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:35] local.INFO: Extracted packet for processing {"connection_id":178385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763173120,"raw_latitude":99236872,"longitude_deg":76.317312,"latitude_deg":9.9236872,"altitude":11,"angle":184,"satellites":22,"speed":30,"hex_longitude":"2d7d1900","hex_latitude":"05ea3c08","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971349248001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130324688038526976,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939842007500800,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:35] 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-09-09 16:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788950600000,"timestamp_ms":1788950600000,"timestamp_seconds":1788950600,"priority":1,"record_length":96,"hex_timestamp":"000001a085c3d940"} 
[2026-09-09 16:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:14: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-09-09 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:14: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-09-09 16: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-09-09 16:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971349248001,"66":14189,"158":206,"87":13824,"24":30,"16":130324688038526976,"45":9014939842007500800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971349248001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:14:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130324688038526976,"km_value":130324688038526.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939842007500800,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971349248001,"power":14189,"unknown_158":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9014939842007500800}} 
[2026-09-09 16:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":178385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:36] local.INFO: GPS data processed {"connection_id":178385,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:36] local.INFO: Acknowledgment sent {"connection_id":178385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:38] local.INFO: TCP Data received {"connection_id":178386,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c3bde8012d0a94c0071c3780001f000b24..."} 
[2026-09-09 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c3bde8012d0a94c0071c3780001f000b24..."} 
[2026-09-09 16:14:38] local.INFO: Processing buffer {"connection_id":178386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c3bde8012d0a94c0071c3780001f000b24..."} 
[2026-09-09 16:14:38] local.INFO: Packet analysis {"connection_id":178386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:38] local.INFO: Extracted packet for processing {"connection_id":178386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":755668160,"raw_latitude":119289728,"longitude_deg":75.566816,"latitude_deg":11.9289728,"altitude":31,"angle":11,"satellites":36,"speed":41,"hex_longitude":"2d0a94c0","hex_latitude":"071c3780","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971349504001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19055485697130496,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":759419517701122048,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788950593000,"timestamp_ms":1788950593000,"timestamp_seconds":1788950593,"priority":1,"record_length":96,"hex_timestamp":"000001a085c3bde8"} 
[2026-09-09 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-09-09 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:14: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-09-09 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-09-09 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-09-09 16:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971349504001,"66":13993,"221":206,"83":41984,"24":41,"16":19055485697130496,"45":759419517701122048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 16:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971349504001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 16:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19055485697130496,"km_value":19055485697130.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":759419517701122048,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971349504001,"power":13993,"unknown_221":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":759419517701122048}} 
[2026-09-09 16:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":178386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:38] local.INFO: GPS data processed {"connection_id":178386,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:38] local.INFO: Acknowledgment sent {"connection_id":178386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:38] local.INFO: TCP Data received {"connection_id":178385,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c41ba8012d7d178005ea1858001000b715..."} 
[2026-09-09 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c41ba8012d7d178005ea1858001000b715..."} 
[2026-09-09 16:14:38] local.INFO: Processing buffer {"connection_id":178385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c41ba8012d7d178005ea1858001000b715..."} 
[2026-09-09 16:14:38] local.INFO: Packet analysis {"connection_id":178385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:14:38] local.INFO: Extracted packet for processing {"connection_id":178385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":99227736,"longitude_deg":76.3172736,"latitude_deg":9.9227736,"altitude":16,"angle":183,"satellites":21,"speed":24,"hex_longitude":"2d7d1780","hex_latitude":"05ea1858","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971353600001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130325134715125760,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014236154563397632,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:38] 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-09-09 16:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788950617000,"timestamp_ms":1788950617000,"timestamp_seconds":1788950617,"priority":1,"record_length":96,"hex_timestamp":"000001a085c41ba8"} 
[2026-09-09 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-09-09 16:14: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-09-09 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-09 16:14: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-09-09 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-09-09 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-09-09 16:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971353600001,"66":13820,"158":206,"87":13824,"24":24,"16":130325134715125760,"45":9014236154563397632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971353600001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:38] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:14:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130325134715125760,"km_value":130325134715125.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014236154563397632,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971353600001,"power":13820,"unknown_158":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9014236154563397632}} 
[2026-09-09 16:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":178385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:39] local.INFO: GPS data processed {"connection_id":178385,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:39] local.INFO: Acknowledgment sent {"connection_id":178385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:43] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c45640012d0cab000705d8680013008618..."} 
[2026-09-09 16:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c45640012d0cab000705d8680013008618..."} 
[2026-09-09 16:14:43] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c45640012d0cab000705d8680013008618..."} 
[2026-09-09 16:14:43] local.INFO: Packet analysis {"connection_id":175590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:14:43] local.INFO: Extracted packet for processing {"connection_id":175590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:14:43] local.INFO: GPS Element Parsed {"raw_longitude":755804928,"raw_latitude":117823592,"longitude_deg":75.5804928,"latitude_deg":11.7823592,"altitude":19,"angle":134,"satellites":24,"speed":11,"hex_longitude":"2d0cab00","hex_latitude":"0705d868","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971356928001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30992518367674368,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910501211078373376,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:43] 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-09-09 16:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788950632000,"timestamp_ms":1788950632000,"timestamp_seconds":1788950632,"priority":1,"record_length":96,"hex_timestamp":"000001a085c45640"} 
[2026-09-09 16:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:14: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-09-09 16: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-09 16:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:14:43] 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-09-09 16:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971356928001,"66":14352,"220":206,"94":10240,"24":11,"16":30992518367674368,"45":910501211078373376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 16:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971356928001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:43] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 16:14:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30992518367674368,"km_value":30992518367674.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":910501211078373376,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971356928001,"power":14352,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":910501211078373376}} 
[2026-09-09 16:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":175590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789658,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:43] local.INFO: GPS data processed {"connection_id":175590,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:43] local.INFO: Acknowledgment sent {"connection_id":175590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:44] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:14:44] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:14:44] local.INFO: IMEI packet received {"connection_id":175816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":175816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:14:48] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:14:48] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:14:48] local.INFO: IMEI packet received {"connection_id":175816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":175816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:14:49] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:14:49] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:14:49] local.INFO: Packet analysis {"connection_id":175816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:49] local.INFO: Extracted packet for processing {"connection_id":175816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":175816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:49] local.INFO: GPS data processed {"connection_id":175816,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:49] local.INFO: Acknowledgment sent {"connection_id":175816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:14:54] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:14:54] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:14:54] local.INFO: Packet analysis {"connection_id":175816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:54] local.INFO: Extracted packet for processing {"connection_id":175816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:14:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":175816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:14:54] local.INFO: GPS data processed {"connection_id":175816,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:14:54] local.INFO: Acknowledgment sent {"connection_id":175816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:15:07] local.INFO: TCP Data received {"connection_id":175591,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:15:07] local.INFO: Processing buffer {"connection_id":175591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:15:07] local.INFO: IMEI packet received {"connection_id":175591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":175591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:15:10] local.INFO: TCP Data received {"connection_id":175591,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:15:10] local.INFO: Processing buffer {"connection_id":175591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:15:10] local.INFO: IMEI packet received {"connection_id":175591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":175591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:15:11] local.INFO: TCP Data received {"connection_id":175591,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c52d18012d0cea000705c2580017002d17..."} 
[2026-09-09 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c52d18012d0cea000705c2580017002d17..."} 
[2026-09-09 16:15:11] local.INFO: Processing buffer {"connection_id":175591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c52d18012d0cea000705c2580017002d17..."} 
[2026-09-09 16:15:11] local.INFO: Packet analysis {"connection_id":175591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:15:11] local.INFO: Extracted packet for processing {"connection_id":175591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":755821056,"raw_latitude":117817944,"longitude_deg":75.5821056,"latitude_deg":11.7817944,"altitude":23,"angle":45,"satellites":23,"speed":23,"hex_longitude":"2d0cea00","hex_latitude":"0705c258","is_valid_coordinates":true} 
[2026-09-09 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971375104001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30993604994400256,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928797084562116608,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:11] 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-09-09 16:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788950687000,"timestamp_ms":1788950687000,"timestamp_seconds":1788950687,"priority":1,"record_length":96,"hex_timestamp":"000001a085c52d18"} 
[2026-09-09 16:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:15: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-09-09 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 16:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:15:11] 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-09-09 16:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971375104001,"66":14461,"220":206,"94":10240,"24":23,"16":30993604994400256,"45":928797084562116608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-09 16:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971375104001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:15:11] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-09 16:15:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30993604994400256,"km_value":30993604994400.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":928797084562116608,"description":"Unknown IO ID 45"} 
[2026-09-09 16:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971375104001,"power":14461,"unknown_220":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":928797084562116608}} 
[2026-09-09 16:15:11] local.INFO: TCP Data received {"connection_id":178386,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c3e4f8012d0a9a80071c5ae8001e000921..."} 
[2026-09-09 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c3e4f8012d0a9a80071c5ae8001e000921..."} 
[2026-09-09 16:15:11] local.INFO: Processing buffer {"connection_id":178386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c3e4f8012d0a9a80071c5ae8001e000921..."} 
[2026-09-09 16:15:11] local.INFO: Packet analysis {"connection_id":178386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:15:11] local.INFO: Extracted packet for processing {"connection_id":178386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":755669632,"raw_latitude":119298792,"longitude_deg":75.5669632,"latitude_deg":11.9298792,"altitude":30,"angle":9,"satellites":33,"speed":27,"hex_longitude":"2d0a9a80","hex_latitude":"071c5ae8","is_valid_coordinates":true} 
[2026-09-09 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971351808001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19055932373729280,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":762445373703159808,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788950603000,"timestamp_ms":1788950603000,"timestamp_seconds":1788950603,"priority":1,"record_length":96,"hex_timestamp":"000001a085c3e4f8"} 
[2026-09-09 16:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:15: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-09-09 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 16:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971351808001,"66":14048,"221":206,"83":41984,"24":27,"16":19055932373729280,"45":762445373703159808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,83,24,16,45]} 
[2026-09-09 16:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971351808001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:15:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 16:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19055932373729280,"km_value":19055932373729.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":762445373703159808,"description":"Unknown IO ID 45"} 
[2026-09-09 16:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971351808001,"power":14048,"unknown_221":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":762445373703159808}} 
[2026-09-09 16:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":175591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789661,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:15:11] local.INFO: GPS data processed {"connection_id":175591,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:15:11] local.INFO: Acknowledgment sent {"connection_id":175591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":178386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:15:11] local.INFO: GPS data processed {"connection_id":178386,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:15:11] local.INFO: Acknowledgment sent {"connection_id":178386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:15:19] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:15:19] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:15:19] local.INFO: IMEI packet received {"connection_id":175592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":175592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:15:20] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:15:20] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:15:20] local.INFO: IMEI packet received {"connection_id":175592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":175592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:15:21] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c44e70012d7d15c005e9f3c0000f00b716..."} 
[2026-09-09 16:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c44e70012d7d15c005e9f3c0000f00b716..."} 
[2026-09-09 16:15:21] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c44e70012d7d15c005e9f3c0000f00b716..."} 
[2026-09-09 16:15:21] local.INFO: Packet analysis {"connection_id":175592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:15:21] local.INFO: Extracted packet for processing {"connection_id":175592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":99218368,"longitude_deg":76.3172288,"latitude_deg":9.9218368,"altitude":15,"angle":183,"satellites":22,"speed":30,"hex_longitude":"2d7d15c0","hex_latitude":"05e9f3c0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971357952001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130325589981659136,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813942095992832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:21] 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-09-09 16:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788950630000,"timestamp_ms":1788950630000,"timestamp_seconds":1788950630,"priority":1,"record_length":96,"hex_timestamp":"000001a085c44e70"} 
[2026-09-09 16:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971357952001,"66":13961,"158":206,"87":13824,"24":30,"16":130325589981659136,"45":9013813942095992832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-09 16:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971357952001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:15:21] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-09 16:15:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130325589981659136,"km_value":130325589981659.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813942095992832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971357952001,"power":13961,"unknown_158":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9013813942095992832}} 
[2026-09-09 16:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":175592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:15:21] local.INFO: GPS data processed {"connection_id":175592,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:15:21] local.INFO: Acknowledgment sent {"connection_id":175592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:15:35] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:15:35] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:15:35] local.INFO: IMEI packet received {"connection_id":175593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":175593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:15:38] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:15:38] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:15:38] local.INFO: IMEI packet received {"connection_id":175594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":175594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:15:40] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:15:40] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:15:40] local.INFO: IMEI packet received {"connection_id":175593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":175593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:15:41] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c43700012d0a9d40071c6b200026000728..."} 
[2026-09-09 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c43700012d0a9d40071c6b200026000728..."} 
[2026-09-09 16:15:41] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c43700012d0a9d40071c6b200026000728..."} 
[2026-09-09 16:15:41] local.INFO: Packet analysis {"connection_id":175593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:15:41] local.INFO: Extracted packet for processing {"connection_id":175593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":755670336,"raw_latitude":119302944,"longitude_deg":75.5670336,"latitude_deg":11.9302944,"altitude":38,"angle":7,"satellites":40,"speed":0,"hex_longitude":"2d0a9d40","hex_latitude":"071c6b20","is_valid_coordinates":true} 
[2026-09-09 16:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971354368001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19056138532159488,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764063854821566464,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788950624000,"timestamp_ms":1788950624000,"timestamp_seconds":1788950624,"priority":1,"record_length":96,"hex_timestamp":"000001a085c43700"} 
[2026-09-09 16:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 16:15: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-09-09 16:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971354368001,"66":14298,"219":206,"83":41984,"24":0,"16":19056138532159488,"45":764063854821566464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 16:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971354368001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:15:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19056138532159488,"km_value":19056138532159.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":764063854821566464,"description":"Unknown IO ID 45"} 
[2026-09-09 16:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971354368001,"power":14298,"unknown_219":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":764063854821566464}} 
[2026-09-09 16:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":175593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:15:41] local.INFO: GPS data processed {"connection_id":175593,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:15:41] local.INFO: Acknowledgment sent {"connection_id":175593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:15:41] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c446a0012d0a9e40071c6d18002600352a..."} 
[2026-09-09 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c446a0012d0a9e40071c6d18002600352a..."} 
[2026-09-09 16:15:41] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c446a0012d0a9e40071c6d18002600352a..."} 
[2026-09-09 16:15:41] local.INFO: Packet analysis {"connection_id":175593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:15:41] local.INFO: Extracted packet for processing {"connection_id":175593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":755670592,"raw_latitude":119303448,"longitude_deg":75.5670592,"latitude_deg":11.9303448,"altitude":38,"angle":53,"satellites":42,"speed":9,"hex_longitude":"2d0a9e40","hex_latitude":"071c6d18","is_valid_coordinates":true} 
[2026-09-09 16:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971359744001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19056168596930560,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764837911008583680,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788950628000,"timestamp_ms":1788950628000,"timestamp_seconds":1788950628,"priority":1,"record_length":96,"hex_timestamp":"000001a085c446a0"} 
[2026-09-09 16:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 16:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971359744001,"66":14341,"219":206,"83":41984,"24":9,"16":19056168596930560,"45":764837911008583680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 16:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971359744001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:15:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19056168596930560,"km_value":19056168596930.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":764837911008583680,"description":"Unknown IO ID 45"} 
[2026-09-09 16:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971359744001,"power":14341,"unknown_219":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":764837911008583680}} 
[2026-09-09 16:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":175593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:15:41] local.INFO: GPS data processed {"connection_id":175593,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:15:41] local.INFO: Acknowledgment sent {"connection_id":175593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:15:42] local.INFO: TCP Data received {"connection_id":175591,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c5d128012d0d3ac00705d500001700a218..."} 
[2026-09-09 16:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c5d128012d0d3ac00705d500001700a218..."} 
[2026-09-09 16:15:42] local.INFO: Processing buffer {"connection_id":175591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c5d128012d0d3ac00705d500001700a218..."} 
[2026-09-09 16:15:42] local.INFO: Packet analysis {"connection_id":175591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:15:42] local.INFO: Extracted packet for processing {"connection_id":175591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:15:42] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117822720,"longitude_deg":75.5841728,"latitude_deg":11.782272,"altitude":23,"angle":162,"satellites":24,"speed":11,"hex_longitude":"2d0d3ac0","hex_latitude":"0705d500","is_valid_coordinates":true} 
[2026-09-09 16:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971386368001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30994781815439360,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038793310208,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:42] 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-09-09 16:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788950729000,"timestamp_ms":1788950729000,"timestamp_seconds":1788950729,"priority":1,"record_length":96,"hex_timestamp":"000001a085c5d128"} 
[2026-09-09 16:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:15: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-09-09 16:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 16:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:15:42] 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-09-09 16:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971386368001,"66":14537,"167":206,"94":11008,"24":11,"16":30994781815439360,"45":953215038793310208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 16:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971386368001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:15:42] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 16:15:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 16:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30994781815439360,"km_value":30994781815439.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038793310208,"description":"Unknown IO ID 45"} 
[2026-09-09 16:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971386368001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":953215038793310208}} 
[2026-09-09 16:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":175591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789666,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:15:43] local.INFO: GPS data processed {"connection_id":175591,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:15:43] local.INFO: Acknowledgment sent {"connection_id":175591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:15:43] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:15:43] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:15:43] local.INFO: IMEI packet received {"connection_id":175594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":175594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:15:44] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:15:44] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:15:44] local.INFO: Packet analysis {"connection_id":175594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:15:44] local.INFO: Extracted packet for processing {"connection_id":175594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":175594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:15:44] local.INFO: GPS data processed {"connection_id":175594,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:15:44] local.INFO: Acknowledgment sent {"connection_id":175594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:15:52] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c5e898012d7d0e4005e9bfb0000b010a18..."} 
[2026-09-09 16:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c5e898012d7d0e4005e9bfb0000b010a18..."} 
[2026-09-09 16:15:52] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c5e898012d7d0e4005e9bfb0000b010a18..."} 
[2026-09-09 16:15:52] local.INFO: Packet analysis {"connection_id":175592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:15:52] local.INFO: Extracted packet for processing {"connection_id":175592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763170368,"raw_latitude":99205040,"longitude_deg":76.3170368,"latitude_deg":9.920504,"altitude":11,"angle":266,"satellites":24,"speed":11,"hex_longitude":"2d7d0e40","hex_latitude":"05e9bfb0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971387904001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130326285766361088,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011562142276497408,"note":"Value kept but may cause issues"} 
[2026-09-09 16:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788950735000,"timestamp_ms":1788950735000,"timestamp_seconds":1788950735,"priority":1,"record_length":96,"hex_timestamp":"000001a085c5e898"} 
[2026-09-09 16:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 16:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971387904001,"66":13765,"192":206,"87":13824,"24":11,"16":130326285766361088,"45":9011562142276497408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-09 16:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971387904001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:15:52] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-09 16:15:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130326285766361088,"km_value":130326285766361.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011562142276497408,"description":"Unknown IO ID 45"} 
[2026-09-09 16:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971387904001,"power":13765,"unknown_192":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9011562142276497408}} 
[2026-09-09 16:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":175592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:15:53] local.INFO: GPS data processed {"connection_id":175592,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:15:53] local.INFO: Acknowledgment sent {"connection_id":175592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:16:05] local.INFO: TCP Data received {"connection_id":178387,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:16:05] local.INFO: Processing buffer {"connection_id":178387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:16:05] local.INFO: IMEI packet received {"connection_id":178387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":178387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:16:09] local.INFO: TCP Data received {"connection_id":178387,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:16:09] local.INFO: Processing buffer {"connection_id":178387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:16:09] local.INFO: IMEI packet received {"connection_id":178387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":178387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:16:10] local.INFO: TCP Data received {"connection_id":178387,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c5d8f8012d0d3b400705d258001700b918..."} 
[2026-09-09 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c5d8f8012d0d3b400705d258001700b918..."} 
[2026-09-09 16:16:10] local.INFO: Processing buffer {"connection_id":178387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c5d8f8012d0d3b400705d258001700b918..."} 
[2026-09-09 16:16:10] local.INFO: Packet analysis {"connection_id":178387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:16:10] local.INFO: Extracted packet for processing {"connection_id":178387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117822040,"longitude_deg":75.5841856,"latitude_deg":11.782204,"altitude":23,"angle":185,"satellites":24,"speed":17,"hex_longitude":"2d0d3b40","hex_latitude":"0705d258","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971386624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30994816175177728,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537430528,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:10] 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-09-09 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788950731000,"timestamp_ms":1788950731000,"timestamp_seconds":1788950731,"priority":1,"record_length":96,"hex_timestamp":"000001a085c5d8f8"} 
[2026-09-09 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 16:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":178387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":178387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":178387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:16:10] 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-09-09 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971386624001,"66":14439,"167":206,"94":11008,"24":17,"16":30994816175177728,"45":953285407537430528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971386624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:16:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 16:16:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30994816175177728,"km_value":30994816175177.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537430528,"description":"Unknown IO ID 45"} 
[2026-09-09 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971386624001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":953285407537430528}} 
[2026-09-09 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":178387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:16:10] local.INFO: GPS data processed {"connection_id":178387,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:16:10] local.INFO: Acknowledgment sent {"connection_id":178387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:16:12] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c44e70012d0aa0c0071c6e40002600402a..."} 
[2026-09-09 16:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c44e70012d0aa0c0071c6e40002600402a..."} 
[2026-09-09 16:16:12] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c44e70012d0aa0c0071c6e40002600402a..."} 
[2026-09-09 16:16:12] local.INFO: Packet analysis {"connection_id":175593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:16:12] local.INFO: Extracted packet for processing {"connection_id":175593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:16:12] local.INFO: GPS Element Parsed {"raw_longitude":755671232,"raw_latitude":119303744,"longitude_deg":75.5671232,"latitude_deg":11.9303744,"altitude":38,"angle":64,"satellites":42,"speed":15,"hex_longitude":"2d0aa0c0","hex_latitude":"071c6e40","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971360768001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19056202956668928,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765119385985423360,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788950630000,"timestamp_ms":1788950630000,"timestamp_seconds":1788950630,"priority":1,"record_length":96,"hex_timestamp":"000001a085c44e70"} 
[2026-09-09 16:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:16: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-09-09 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988088117,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2244170864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503890369380352,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3281698817,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2061304014,"corrected_to":0} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2550213898,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84735420520668072,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.WARNING: Large IO value detected {"io_id":112,"raw_value":8162800748735744,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:12] local.INFO: IO Element Parsed {"io_data_count":49,"io_data_keys":[0,219,83,24,241,157,16,179,160,55,45,64,107,38,40,10,66,228,128,90,30,33,221,189,192,1,240,169,227,178,133,28,4,113,205,42,119,123,72,239,56,2,67,7,29,41,206,48,112],"length":529,"final_offset":659,"validated_count":49,"validation_warnings":[{"io_id":205,"original":2061304014,"validated":0}]} 
[2026-09-09 16:16:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738247027946749952,"timestamp_seconds":2738247027946750.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971360768001,"66":14298,"219":206,"83":41984,"24":15,"16":19056202956668928,"45":765119385985423360},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 16:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971360768001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:16:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19056202956668928,"km_value":19056202956668.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":765119385985423360,"description":"Unknown IO ID 45"} 
[2026-09-09 16:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971360768001,"power":14298,"unknown_219":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":765119385985423360}} 
[2026-09-09 16:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":175593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:16:12] local.INFO: GPS data processed {"connection_id":175593,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:16:12] local.INFO: Acknowledgment sent {"connection_id":175593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:16:16] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:16:16] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:16:16] local.INFO: Packet analysis {"connection_id":175594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:16:16] local.INFO: Extracted packet for processing {"connection_id":175594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":175594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:16:16] local.INFO: GPS data processed {"connection_id":175594,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:16:16] local.INFO: Acknowledgment sent {"connection_id":175594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:16:19] local.INFO: TCP Data received {"connection_id":177004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:19] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:19] local.INFO: IMEI packet received {"connection_id":177004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":177004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:16:19] local.INFO: TCP Data received {"connection_id":177004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:19] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:19] local.INFO: IMEI packet received {"connection_id":177004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":177004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:16:20] local.INFO: TCP Data received {"connection_id":177004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:20] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:20] local.INFO: IMEI packet received {"connection_id":177004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":177004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:16:20] local.INFO: TCP Data received {"connection_id":177004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:20] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:16:20] local.INFO: IMEI packet received {"connection_id":177004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":177004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:16:27] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:16:27] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:16:27] local.INFO: IMEI packet received {"connection_id":177005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":177005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:16:30] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:16:30] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:16:30] local.INFO: IMEI packet received {"connection_id":177005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":177005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:16:35] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:16:35] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:16:35] local.INFO: IMEI packet received {"connection_id":177005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":177005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:16:35] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c48138012d0ac480071c7cf80025004427..."} 
[2026-09-09 16:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c48138012d0ac480071c7cf80025004427..."} 
[2026-09-09 16:16:35] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c48138012d0ac480071c7cf80025004427..."} 
[2026-09-09 16:16:35] local.INFO: Packet analysis {"connection_id":177005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:16:35] local.INFO: Extracted packet for processing {"connection_id":177005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":755680384,"raw_latitude":119307512,"longitude_deg":75.5680384,"latitude_deg":11.9307512,"altitude":37,"angle":68,"satellites":39,"speed":36,"hex_longitude":"2d0ac480","hex_latitude":"071c7cf8","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971361280001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19056675403071488,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765823073427275776,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788950643000,"timestamp_ms":1788950643000,"timestamp_seconds":1788950643,"priority":1,"record_length":96,"hex_timestamp":"000001a085c48138"} 
[2026-09-09 16:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:16: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-09-09 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 16:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971361280001,"66":14374,"219":206,"83":41984,"24":36,"16":19056675403071488,"45":765823073427275776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 16:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971361280001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:16:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19056675403071488,"km_value":19056675403071.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":765823073427275776,"description":"Unknown IO ID 45"} 
[2026-09-09 16:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971361280001,"power":14374,"unknown_219":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":765823073427275776}} 
[2026-09-09 16:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":177005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:16:36] local.INFO: GPS data processed {"connection_id":177005,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:16:36] local.INFO: Acknowledgment sent {"connection_id":177005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:16:38] local.INFO: TCP Data received {"connection_id":177006,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:16:38] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:16:38] local.INFO: IMEI packet received {"connection_id":177006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":177006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:16:41] local.INFO: TCP Data received {"connection_id":178387,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085c5f068012d0d39c00705c758001700ab18..."} 
[2026-09-09 16:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c5f068012d0d39c00705c758001700ab18..."} 
[2026-09-09 16:16:41] local.INFO: Processing buffer {"connection_id":178387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c5f068012d0d39c00705c758001700ab18..."} 
[2026-09-09 16:16:41] local.INFO: Packet analysis {"connection_id":178387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:16:41] local.INFO: Extracted packet for processing {"connection_id":178387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c5"} 
[2026-09-09 16:16:41] local.INFO: GPS Element Parsed {"raw_longitude":755841472,"raw_latitude":117819224,"longitude_deg":75.5841472,"latitude_deg":11.7819224,"altitude":23,"angle":171,"satellites":24,"speed":14,"hex_longitude":"2d0d39c0","hex_latitude":"0705c758","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971387136001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30994953614131200,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145025611776,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:41] 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-09-09 16:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788950737000,"timestamp_ms":1788950737000,"timestamp_seconds":1788950737,"priority":1,"record_length":96,"hex_timestamp":"000001a085c5f068"} 
[2026-09-09 16:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 16:16:41] 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-09-09 16: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-09-09 16:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:16:41] 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-09-09 16:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971387136001,"66":14396,"167":206,"94":11008,"24":14,"16":30994953614131200,"45":953426145025611776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-09 16:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971387136001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:16:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 16:16:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-09 16:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30994953614131200,"km_value":30994953614131.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145025611776,"description":"Unknown IO ID 45"} 
[2026-09-09 16:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971387136001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":953426145025611776}} 
[2026-09-09 16:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":178387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:16:41] local.INFO: GPS data processed {"connection_id":178387,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:16:41] local.INFO: Acknowledgment sent {"connection_id":178387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:16:43] local.INFO: TCP Data received {"connection_id":177006,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:16:43] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:16:43] local.INFO: IMEI packet received {"connection_id":177006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":177006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:16:45] local.INFO: TCP Data received {"connection_id":177006,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:16:45] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:16:45] local.INFO: Packet analysis {"connection_id":177006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:16:45] local.INFO: Extracted packet for processing {"connection_id":177006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":177006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:16:45] local.INFO: GPS data processed {"connection_id":177006,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:16:45] local.INFO: Acknowledgment sent {"connection_id":177006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:17:05] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:05] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:05] local.INFO: IMEI packet received {"connection_id":175596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":175596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:17:06] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:06] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:06] local.INFO: IMEI packet received {"connection_id":175596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":175596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:17:06] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c4a460012d0ae640071c88680025004826..."} 
[2026-09-09 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c4a460012d0ae640071c88680025004826..."} 
[2026-09-09 16:17:06] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c4a460012d0ae640071c88680025004826..."} 
[2026-09-09 16:17:06] local.INFO: Packet analysis {"connection_id":177005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:17:06] local.INFO: Extracted packet for processing {"connection_id":177005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c4"} 
[2026-09-09 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":755689024,"raw_latitude":119310440,"longitude_deg":75.5689024,"latitude_deg":11.931044,"altitude":37,"angle":72,"satellites":38,"speed":39,"hex_longitude":"2d0ae640","hex_latitude":"071c8868","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971364608001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19057104899801088,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":775885803845646336,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788950652000,"timestamp_ms":1788950652000,"timestamp_seconds":1788950652,"priority":1,"record_length":96,"hex_timestamp":"000001a085c4a460"} 
[2026-09-09 16:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 16:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971364608001,"66":14428,"219":206,"83":41984,"24":39,"16":19057104899801088,"45":775885803845646336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,45]} 
[2026-09-09 16:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971364608001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:17:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19057104899801088,"km_value":19057104899801.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":775885803845646336,"description":"Unknown IO ID 45"} 
[2026-09-09 16:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971364608001,"power":14428,"unknown_219":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":775885803845646336}} 
[2026-09-09 16:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":177005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:17:06] local.INFO: GPS data processed {"connection_id":177005,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:17:06] local.INFO: Acknowledgment sent {"connection_id":177005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:17:07] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:07] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:07] local.INFO: IMEI packet received {"connection_id":175596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":175596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:17:08] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:08] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:17:08] local.INFO: IMEI packet received {"connection_id":175596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":175596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:17:17] local.INFO: TCP Data received {"connection_id":177006,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:17:17] local.INFO: Processing buffer {"connection_id":177006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:17:17] local.INFO: Packet analysis {"connection_id":177006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:17:17] local.INFO: Extracted packet for processing {"connection_id":177006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":177006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:17:17] local.INFO: GPS data processed {"connection_id":177006,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:17:17] local.INFO: Acknowledgment sent {"connection_id":177006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:17:30] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:17:30] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:17:30] local.INFO: IMEI packet received {"connection_id":175598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":175598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:17:31] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:17:31] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:17:31] local.INFO: IMEI packet received {"connection_id":175598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":175598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:17:35] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:17:35] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:17:35] local.INFO: IMEI packet received {"connection_id":175598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":175598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:17:36] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c6c358012d0c6c00071cb9b80034006623..."} 
[2026-09-09 16:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c6c358012d0c6c00071cb9b80034006623..."} 
[2026-09-09 16:17:36] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c6c358012d0c6c00071cb9b80034006623..."} 
[2026-09-09 16:17:36] local.INFO: Packet analysis {"connection_id":175598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c6"} 
[2026-09-09 16:17:36] local.INFO: Extracted packet for processing {"connection_id":175598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c6"} 
[2026-09-09 16:17:36] local.INFO: GPS Element Parsed {"raw_longitude":755788800,"raw_latitude":119323064,"longitude_deg":75.57888,"latitude_deg":11.9323064,"altitude":52,"angle":102,"satellites":35,"speed":29,"hex_longitude":"2d0c6c00","hex_latitude":"071cb9b8","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971399680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19061915263172608,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887490632115607552,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788950791000,"timestamp_ms":1788950791000,"timestamp_seconds":1788950791,"priority":1,"record_length":96,"hex_timestamp":"000001a085c6c358"} 
[2026-09-09 16:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:17: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-09-09 16: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-09 16:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971399680001,"66":13993,"56":206,"83":41984,"24":29,"16":19061915263172608,"45":887490632115607552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,83,24,16,45]} 
[2026-09-09 16:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971399680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:17:36] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-09 16:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19061915263172608,"km_value":19061915263172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":887490632115607552,"description":"Unknown IO ID 45"} 
[2026-09-09 16:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971399680001,"power":13993,"unknown_56":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":887490632115607552}} 
[2026-09-09 16:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":175598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:17:36] local.INFO: GPS data processed {"connection_id":175598,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:17:36] local.INFO: Acknowledgment sent {"connection_id":175598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:17:38] local.INFO: TCP Data received {"connection_id":177007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:17:38] local.INFO: Processing buffer {"connection_id":177007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:17:38] local.INFO: IMEI packet received {"connection_id":177007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":177007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:17:43] local.INFO: TCP Data received {"connection_id":177007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:17:43] local.INFO: Processing buffer {"connection_id":177007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:17:43] local.INFO: IMEI packet received {"connection_id":177007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":177007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:17:45] local.INFO: TCP Data received {"connection_id":177007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:17:45] local.INFO: Processing buffer {"connection_id":177007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:17:45] local.INFO: Packet analysis {"connection_id":177007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:17:45] local.INFO: Extracted packet for processing {"connection_id":177007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:17:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":177007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:17:45] local.INFO: GPS data processed {"connection_id":177007,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:17:45] local.INFO: Acknowledgment sent {"connection_id":177007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:18:07] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c6f238012d0c90c0071cb0680033006723..."} 
[2026-09-09 16:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c6f238012d0c90c0071cb0680033006723..."} 
[2026-09-09 16:18:07] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c6f238012d0c90c0071cb0680033006723..."} 
[2026-09-09 16:18:07] local.INFO: Packet analysis {"connection_id":175598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c6"} 
[2026-09-09 16:18:07] local.INFO: Extracted packet for processing {"connection_id":175598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c6"} 
[2026-09-09 16:18:07] local.INFO: GPS Element Parsed {"raw_longitude":755798208,"raw_latitude":119320680,"longitude_deg":75.5798208,"latitude_deg":11.932068,"altitude":51,"angle":103,"satellites":35,"speed":32,"hex_longitude":"2d0c90c0","hex_latitude":"071cb068","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971402496001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19062374824673280,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895090456486590464,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788950803000,"timestamp_ms":1788950803000,"timestamp_seconds":1788950803,"priority":1,"record_length":96,"hex_timestamp":"000001a085c6f238"} 
[2026-09-09 16:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 16:18: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-09-09 16: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-09-09 16:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971402496001,"66":14048,"56":206,"83":41984,"24":32,"16":19062374824673280,"45":895090456486590464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,83,24,16,45]} 
[2026-09-09 16:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971402496001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:18:07] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-09 16:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19062374824673280,"km_value":19062374824673.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":895090456486590464,"description":"Unknown IO ID 45"} 
[2026-09-09 16:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971402496001,"power":14048,"unknown_56":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":895090456486590464}} 
[2026-09-09 16:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":175598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:18:07] local.INFO: GPS data processed {"connection_id":175598,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:18:07] local.INFO: Acknowledgment sent {"connection_id":175598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:18:16] local.INFO: TCP Data received {"connection_id":177007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:18:16] local.INFO: Processing buffer {"connection_id":177007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c37b80012d34cc4006aa49080000013421..."} 
[2026-09-09 16:18:16] local.INFO: Packet analysis {"connection_id":177007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:18:16] local.INFO: Extracted packet for processing {"connection_id":177007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c3"} 
[2026-09-09 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971270400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788950576000,"timestamp_ms":1788950576000,"timestamp_seconds":1788950576,"priority":1,"record_length":96,"hex_timestamp":"000001a085c37b80"} 
[2026-09-09 16:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-09 16:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971270400001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971270400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971270400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":177007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:18:16] local.INFO: GPS data processed {"connection_id":177007,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:18:16] local.INFO: Acknowledgment sent {"connection_id":177007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:18:30] local.INFO: TCP Data received {"connection_id":177008,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:18:30] local.INFO: Processing buffer {"connection_id":177008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:18:30] local.INFO: IMEI packet received {"connection_id":177008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":177008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:18:35] local.INFO: TCP Data received {"connection_id":177008,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:18:35] local.INFO: Processing buffer {"connection_id":177008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:18:35] local.INFO: IMEI packet received {"connection_id":177008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":177008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:18:35] local.INFO: TCP Data received {"connection_id":177008,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c71948012d0cad80071cac800031005a21..."} 
[2026-09-09 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c71948012d0cad80071cac800031005a21..."} 
[2026-09-09 16:18:36] local.INFO: Processing buffer {"connection_id":177008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c71948012d0cad80071cac800031005a21..."} 
[2026-09-09 16:18:36] local.INFO: Packet analysis {"connection_id":177008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c7"} 
[2026-09-09 16:18:36] local.INFO: Extracted packet for processing {"connection_id":177008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c7"} 
[2026-09-09 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":755805568,"raw_latitude":119319680,"longitude_deg":75.5805568,"latitude_deg":11.931968,"altitude":49,"angle":90,"satellites":33,"speed":24,"hex_longitude":"2d0cad80","hex_latitude":"071cac80","is_valid_coordinates":true} 
[2026-09-09 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971405568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19062731306958848,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905434661880096768,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788950813000,"timestamp_ms":1788950813000,"timestamp_seconds":1788950813,"priority":1,"record_length":96,"hex_timestamp":"000001a085c71948"} 
[2026-09-09 16:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 16:18: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-09-09 16:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971405568001,"66":13928,"57":206,"83":41984,"24":24,"16":19062731306958848,"45":905434661880096768},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-09 16:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971405568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:18:36] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-09 16:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19062731306958848,"km_value":19062731306958.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":905434661880096768,"description":"Unknown IO ID 45"} 
[2026-09-09 16:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971405568001,"power":13928,"unknown_57":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":905434661880096768}} 
[2026-09-09 16:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":177008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:18:36] local.INFO: GPS data processed {"connection_id":177008,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:18:36] local.INFO: Acknowledgment sent {"connection_id":177008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:18:38] local.INFO: TCP Data received {"connection_id":178390,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178390,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:38] local.INFO: Processing buffer {"connection_id":178390,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:38] local.INFO: Packet analysis {"connection_id":178390,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 16:18:38] local.INFO: Extracted packet for processing {"connection_id":178390,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 16:18:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 16:18:38] 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-09-09 16:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:38] 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-09-09 16:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-09 16:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-09 16:18:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178390,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 16:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178390,"device_imei":null,"avl_records_count":1} 
[2026-09-09 16:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178390,"device_imei":null,"avl_records_count":1} 
[2026-09-09 16:18:38] 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-09-09 16:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":178390,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 16:18:38] local.INFO: GPS data processed {"connection_id":178390,"processed":0,"errors":0,"total":1} 
[2026-09-09 16:18:38] local.INFO: Acknowledgment sent {"connection_id":178390,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:18:38] local.INFO: TCP Data received {"connection_id":175818,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:38] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:38] local.INFO: Packet analysis {"connection_id":175818,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 16:18:38] local.INFO: Extracted packet for processing {"connection_id":175818,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 16:18:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 16:18:38] 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-09-09 16:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:38] 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-09-09 16:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-09 16:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-09 16:18:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175818,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 16:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175818,"device_imei":null,"avl_records_count":1} 
[2026-09-09 16:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175818,"device_imei":null,"avl_records_count":1} 
[2026-09-09 16:18:38] 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-09-09 16:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":175818,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 16:18:38] local.INFO: GPS data processed {"connection_id":175818,"processed":0,"errors":0,"total":1} 
[2026-09-09 16:18:38] local.INFO: Acknowledgment sent {"connection_id":175818,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:18:38] local.INFO: TCP Data received {"connection_id":175817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:18:38] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:18:38] local.INFO: IMEI packet received {"connection_id":175817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":175817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:18:41] local.INFO: TCP Data received {"connection_id":175601,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:41] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:41] local.INFO: Packet analysis {"connection_id":175601,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 16:18:41] local.INFO: Extracted packet for processing {"connection_id":175601,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 16:18:41] 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-09-09 16:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:41] 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-09-09 16:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-09 16:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-09 16:18:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175601,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 16:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175601,"device_imei":null,"avl_records_count":1} 
[2026-09-09 16:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175601,"device_imei":null,"avl_records_count":1} 
[2026-09-09 16:18:41] 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-09-09 16:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":175601,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 16:18:41] local.INFO: GPS data processed {"connection_id":175601,"processed":0,"errors":0,"total":1} 
[2026-09-09 16:18:41] local.INFO: Acknowledgment sent {"connection_id":175601,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:18:41] local.INFO: TCP Data received {"connection_id":177009,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177009,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:41] local.INFO: Processing buffer {"connection_id":177009,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-09 16:18:41] local.INFO: Packet analysis {"connection_id":177009,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 16:18:41] local.INFO: Extracted packet for processing {"connection_id":177009,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-09 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 16:18:41] 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-09-09 16:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:41] 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-09-09 16:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-09 16:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-09 16:18:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177009,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 16:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177009,"device_imei":null,"avl_records_count":1} 
[2026-09-09 16:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177009,"device_imei":null,"avl_records_count":1} 
[2026-09-09 16:18:41] 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-09-09 16:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":177009,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 16:18:41] local.INFO: GPS data processed {"connection_id":177009,"processed":0,"errors":0,"total":1} 
[2026-09-09 16:18:41] local.INFO: Acknowledgment sent {"connection_id":177009,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:18:44] local.INFO: TCP Data received {"connection_id":175817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:18:44] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:18:44] local.INFO: IMEI packet received {"connection_id":175817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":175817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:18:45] local.INFO: TCP Data received {"connection_id":175817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:18:45] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:18:45] local.INFO: Packet analysis {"connection_id":175817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:18:45] local.INFO: Extracted packet for processing {"connection_id":175817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":175817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:18:45] local.INFO: GPS data processed {"connection_id":175817,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:18:45] local.INFO: Acknowledgment sent {"connection_id":175817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:19:07] local.INFO: TCP Data received {"connection_id":177008,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c73888012d0cc280071cae900032004f26..."} 
[2026-09-09 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c73888012d0cc280071cae900032004f26..."} 
[2026-09-09 16:19:07] local.INFO: Processing buffer {"connection_id":177008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c73888012d0cc280071cae900032004f26..."} 
[2026-09-09 16:19:07] local.INFO: Packet analysis {"connection_id":177008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c7"} 
[2026-09-09 16:19:07] local.INFO: Extracted packet for processing {"connection_id":177008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c7"} 
[2026-09-09 16:19:07] local.INFO: GPS Element Parsed {"raw_longitude":755810944,"raw_latitude":119320208,"longitude_deg":75.5810944,"latitude_deg":11.9320208,"altitude":50,"angle":79,"satellites":38,"speed":30,"hex_longitude":"2d0cc280","hex_latitude":"071cae90","is_valid_coordinates":true} 
[2026-09-09 16:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971408128001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19062984710029312,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913527067460272128,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788950821000,"timestamp_ms":1788950821000,"timestamp_seconds":1788950821,"priority":1,"record_length":96,"hex_timestamp":"000001a085c73888"} 
[2026-09-09 16:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 16:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971408128001,"66":14276,"57":206,"83":41984,"24":30,"16":19062984710029312,"45":913527067460272128},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-09 16:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971408128001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:19:07] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-09 16:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19062984710029312,"km_value":19062984710029.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":913527067460272128,"description":"Unknown IO ID 45"} 
[2026-09-09 16:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971408128001,"power":14276,"unknown_57":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":913527067460272128}} 
[2026-09-09 16:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":177008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:19:07] local.INFO: GPS data processed {"connection_id":177008,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:19:07] local.INFO: Acknowledgment sent {"connection_id":177008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:19:16] local.INFO: TCP Data received {"connection_id":175817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:19:16] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:19:16] local.INFO: Packet analysis {"connection_id":175817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:19:16] local.INFO: Extracted packet for processing {"connection_id":175817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":175817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:19:16] local.INFO: GPS data processed {"connection_id":175817,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:19:16] local.INFO: Acknowledgment sent {"connection_id":175817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:19:31] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:19:31] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:19:31] local.INFO: IMEI packet received {"connection_id":175603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":175603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:19:35] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:19:35] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:19:35] local.INFO: IMEI packet received {"connection_id":175603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":175603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:19:36] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c753e0012d0cd900071cb5680032004425..."} 
[2026-09-09 16:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c753e0012d0cd900071cb5680032004425..."} 
[2026-09-09 16:19:36] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c753e0012d0cd900071cb5680032004425..."} 
[2026-09-09 16:19:36] local.INFO: Packet analysis {"connection_id":175603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c7"} 
[2026-09-09 16:19:36] local.INFO: Extracted packet for processing {"connection_id":175603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c7"} 
[2026-09-09 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":755816704,"raw_latitude":119321960,"longitude_deg":75.5816704,"latitude_deg":11.932196,"altitude":50,"angle":68,"satellites":37,"speed":35,"hex_longitude":"2d0cd900","hex_latitude":"071cb568","is_valid_coordinates":true} 
[2026-09-09 16:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971410176001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19063272472838144,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":919438041971331072,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788950828000,"timestamp_ms":1788950828000,"timestamp_seconds":1788950828,"priority":1,"record_length":96,"hex_timestamp":"000001a085c753e0"} 
[2026-09-09 16:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-09 16:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971410176001,"66":14363,"55":206,"83":41984,"24":35,"16":19063272472838144,"45":919438041971331072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,83,24,16,45]} 
[2026-09-09 16:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971410176001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:19:36] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-09 16:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19063272472838144,"km_value":19063272472838.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":919438041971331072,"description":"Unknown IO ID 45"} 
[2026-09-09 16:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971410176001,"power":14363,"unknown_55":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":919438041971331072}} 
[2026-09-09 16:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":175603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:19:36] local.INFO: GPS data processed {"connection_id":175603,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:19:36] local.INFO: Acknowledgment sent {"connection_id":175603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:19:39] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:19:39] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:19:39] local.INFO: IMEI packet received {"connection_id":175819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":175819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:19:43] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:19:43] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:19:43] local.INFO: IMEI packet received {"connection_id":175819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":175819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:19:44] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:19:44] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:19:44] local.INFO: Packet analysis {"connection_id":175819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:19:44] local.INFO: Extracted packet for processing {"connection_id":175819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":175819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:19:44] local.INFO: GPS data processed {"connection_id":175819,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:19:44] local.INFO: Acknowledgment sent {"connection_id":175819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:19:49] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:19:49] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:19:49] local.INFO: Packet analysis {"connection_id":175819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:19:49] local.INFO: Extracted packet for processing {"connection_id":175819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":175819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:19:49] local.INFO: GPS data processed {"connection_id":175819,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:19:49] local.INFO: Acknowledgment sent {"connection_id":175819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:20:06] local.INFO: TCP Data received {"connection_id":175604,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:20:06] local.INFO: Processing buffer {"connection_id":175604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:20:06] local.INFO: IMEI packet received {"connection_id":175604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":175604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:20:07] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c924b8012d0e11c0071db2000021002c25..."} 
[2026-09-09 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c924b8012d0e11c0071db2000021002c25..."} 
[2026-09-09 16:20:07] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c924b8012d0e11c0071db2000021002c25..."} 
[2026-09-09 16:20:07] local.INFO: Packet analysis {"connection_id":175603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c9"} 
[2026-09-09 16:20:07] local.INFO: Extracted packet for processing {"connection_id":175603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c9"} 
[2026-09-09 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":755896768,"raw_latitude":119386624,"longitude_deg":75.5896768,"latitude_deg":11.9386624,"altitude":33,"angle":44,"satellites":37,"speed":38,"hex_longitude":"2d0e11c0","hex_latitude":"071db200","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971440128001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068258929868800,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1006976759743516672,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788950947000,"timestamp_ms":1788950947000,"timestamp_seconds":1788950947,"priority":1,"record_length":96,"hex_timestamp":"000001a085c924b8"} 
[2026-09-09 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-09-09 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-09 16:20: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-09-09 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-09-09 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-09-09 16:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971440128001,"66":13928,"12":206,"83":41984,"24":38,"16":19068258929868800,"45":1006976759743516672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-09 16:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971440128001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:20:07] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-09 16:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068258929868800,"km_value":19068258929868.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1006976759743516672,"description":"Unknown IO ID 45"} 
[2026-09-09 16:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971440128001,"power":13928,"unknown_12":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1006976759743516672}} 
[2026-09-09 16:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":175603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:20:07] local.INFO: GPS data processed {"connection_id":175603,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:20:07] local.INFO: Acknowledgment sent {"connection_id":175603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:20:21] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:20:21] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:20:21] local.INFO: Packet analysis {"connection_id":175819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:20:21] local.INFO: Extracted packet for processing {"connection_id":175819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:20:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":175819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:20:21] local.INFO: GPS data processed {"connection_id":175819,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:20:21] local.INFO: Acknowledgment sent {"connection_id":175819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:20:30] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:30] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:30] local.INFO: IMEI packet received {"connection_id":175605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":175605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:20:30] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:30] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:30] local.INFO: IMEI packet received {"connection_id":175605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":175605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:20:32] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:32] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:32] local.INFO: IMEI packet received {"connection_id":175605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":175605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:20:35] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:35] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:20:35] local.INFO: IMEI packet received {"connection_id":175605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":175605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:20:36] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c93840012d0e2040071dbdb00020003924..."} 
[2026-09-09 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c93840012d0e2040071dbdb00020003924..."} 
[2026-09-09 16:20:36] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c93840012d0e2040071dbdb00020003924..."} 
[2026-09-09 16:20:36] local.INFO: Packet analysis {"connection_id":175605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c9"} 
[2026-09-09 16:20:36] local.INFO: Extracted packet for processing {"connection_id":175605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c9"} 
[2026-09-09 16:20:36] local.INFO: GPS Element Parsed {"raw_longitude":755900480,"raw_latitude":119389616,"longitude_deg":75.590048,"latitude_deg":11.9389616,"altitude":32,"angle":57,"satellites":36,"speed":39,"hex_longitude":"2d0e2040","hex_latitude":"071dbdb0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971442432001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068490858102784,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013802527930580992,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788950952000,"timestamp_ms":1788950952000,"timestamp_seconds":1788950952,"priority":1,"record_length":96,"hex_timestamp":"000001a085c93840"} 
[2026-09-09 16:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:20: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-09-09 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 16:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971442432001,"66":14070,"12":206,"83":41984,"24":39,"16":19068490858102784,"45":1013802527930580992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-09 16:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971442432001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:20:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-09 16:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068490858102784,"km_value":19068490858102.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013802527930580992,"description":"Unknown IO ID 45"} 
[2026-09-09 16:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971442432001,"power":14070,"unknown_12":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1013802527930580992}} 
[2026-09-09 16:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":175605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:20:36] local.INFO: GPS data processed {"connection_id":175605,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:20:36] local.INFO: Acknowledgment sent {"connection_id":175605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:20:38] local.INFO: TCP Data received {"connection_id":178392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:20:38] local.INFO: Processing buffer {"connection_id":178392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:20:38] local.INFO: IMEI packet received {"connection_id":178392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":178392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:20:43] local.INFO: TCP Data received {"connection_id":178392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:20:43] local.INFO: Processing buffer {"connection_id":178392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:20:43] local.INFO: IMEI packet received {"connection_id":178392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":178392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:20:44] local.INFO: TCP Data received {"connection_id":178392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:20:44] local.INFO: Processing buffer {"connection_id":178392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:20:44] local.INFO: Packet analysis {"connection_id":178392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:20:44] local.INFO: Extracted packet for processing {"connection_id":178392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":178392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:20:44] local.INFO: GPS data processed {"connection_id":178392,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:20:44] local.INFO: Acknowledgment sent {"connection_id":178392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:21:07] local.INFO: TCP Data received {"connection_id":175605,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085c95b68012d0e4380071dcfd0001e004123..."} 
[2026-09-09 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c95b68012d0e4380071dcfd0001e004123..."} 
[2026-09-09 16:21:07] local.INFO: Processing buffer {"connection_id":175605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c95b68012d0e4380071dcfd0001e004123..."} 
[2026-09-09 16:21:07] local.INFO: Packet analysis {"connection_id":175605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c9"} 
[2026-09-09 16:21:07] local.INFO: Extracted packet for processing {"connection_id":175605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c9"} 
[2026-09-09 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":755909504,"raw_latitude":119394256,"longitude_deg":75.5909504,"latitude_deg":11.9394256,"altitude":30,"angle":65,"satellites":35,"speed":44,"hex_longitude":"2d0e4380","hex_latitude":"071dcfd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19068971894439936,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017883915093651456,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788950961000,"timestamp_ms":1788950961000,"timestamp_seconds":1788950961,"priority":1,"record_length":96,"hex_timestamp":"000001a085c95b68"} 
[2026-09-09 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-09-09 16:21: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-09-09 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 16:21: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-09-09 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-09-09 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-09-09 16:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971443712001,"66":14026,"12":206,"83":41984,"24":44,"16":19068971894439936,"45":1017883915093651456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-09 16:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:21:07] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-09 16:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19068971894439936,"km_value":19068971894439.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017883915093651456,"description":"Unknown IO ID 45"} 
[2026-09-09 16:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971443712001,"power":14026,"unknown_12":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1017883915093651456}} 
[2026-09-09 16:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":175605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:21:07] local.INFO: GPS data processed {"connection_id":175605,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:21:07] local.INFO: Acknowledgment sent {"connection_id":175605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:21:16] local.INFO: TCP Data received {"connection_id":178392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:21:16] local.INFO: Processing buffer {"connection_id":178392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:21:16] local.INFO: Packet analysis {"connection_id":178392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:21:16] local.INFO: Extracted packet for processing {"connection_id":178392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":178392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:21:16] local.INFO: GPS data processed {"connection_id":178392,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:21:16] local.INFO: Acknowledgment sent {"connection_id":178392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:21:25] local.INFO: TCP Data received {"connection_id":177011,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:21:25] local.INFO: Processing buffer {"connection_id":177011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:21:25] local.INFO: IMEI packet received {"connection_id":177011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":177011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:21:26] local.INFO: TCP Data received {"connection_id":177011,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085c9f3c0012d7c910005e99848000300071b..."} 
[2026-09-09 16:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c9f3c0012d7c910005e99848000300071b..."} 
[2026-09-09 16:21:26] local.INFO: Processing buffer {"connection_id":177011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c9f3c0012d7c910005e99848000300071b..."} 
[2026-09-09 16:21:26] local.INFO: Packet analysis {"connection_id":177011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c9"} 
[2026-09-09 16:21:26] local.INFO: Extracted packet for processing {"connection_id":177011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c9"} 
[2026-09-09 16:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763138304,"raw_latitude":99194952,"longitude_deg":76.3138304,"latitude_deg":9.9194952,"altitude":3,"angle":7,"satellites":27,"speed":0,"hex_longitude":"2d7c9100","hex_latitude":"05e99848","is_valid_coordinates":true} 
[2026-09-09 16:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971454208001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130328613638635520,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975955557719932928,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788951000000,"timestamp_ms":1788951000000,"timestamp_seconds":1788951000,"priority":1,"record_length":96,"hex_timestamp":"000001a085c9f3c0"} 
[2026-09-09 16:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:21: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-09-09 16:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 16:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971454208001,"66":13493,"192":206,"87":13824,"24":0,"16":130328613638635520,"45":8975955557719932928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-09 16:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971454208001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:21:26] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-09 16:21:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130328613638635520,"km_value":130328613638635.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975955557719932928,"description":"Unknown IO ID 45"} 
[2026-09-09 16:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971454208001,"power":13493,"unknown_192":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8975955557719932928}} 
[2026-09-09 16:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":177011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:21:26] local.INFO: GPS data processed {"connection_id":177011,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:21:26] local.INFO: Acknowledgment sent {"connection_id":177011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:21:29] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:21:29] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:21:29] local.INFO: IMEI packet received {"connection_id":175607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":175607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:21:31] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:21:31] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:21:31] local.INFO: IMEI packet received {"connection_id":175607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":175607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:21:35] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:21:35] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:21:35] local.INFO: IMEI packet received {"connection_id":175607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":175607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:21:36] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ca5568012d0f3b40071e31d00026005b21..."} 
[2026-09-09 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ca5568012d0f3b40071e31d00026005b21..."} 
[2026-09-09 16:21:36] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ca5568012d0f3b40071e31d00026005b21..."} 
[2026-09-09 16:21:36] local.INFO: Packet analysis {"connection_id":175607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ca"} 
[2026-09-09 16:21:36] local.INFO: Extracted packet for processing {"connection_id":175607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ca"} 
[2026-09-09 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":755972928,"raw_latitude":119419344,"longitude_deg":75.5972928,"latitude_deg":11.9419344,"altitude":38,"angle":91,"satellites":33,"speed":41,"hex_longitude":"2d0f3b40","hex_latitude":"071e31d0","is_valid_coordinates":true} 
[2026-09-09 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971462400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19072343443767296,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1097541333510377472,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788951025000,"timestamp_ms":1788951025000,"timestamp_seconds":1788951025,"priority":1,"record_length":96,"hex_timestamp":"000001a085ca5568"} 
[2026-09-09 16:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:21: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-09-09 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 16:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971462400001,"66":14396,"147":206,"83":41984,"24":41,"16":19072343443767296,"45":1097541333510377472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-09-09 16:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971462400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:21:36] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-09 16:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19072343443767296,"km_value":19072343443767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1097541333510377472,"description":"Unknown IO ID 45"} 
[2026-09-09 16:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971462400001,"power":14396,"unknown_147":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1097541333510377472}} 
[2026-09-09 16:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":175607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:21:36] local.INFO: GPS data processed {"connection_id":175607,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:21:36] local.INFO: Acknowledgment sent {"connection_id":175607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:21:38] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:21:38] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:21:38] local.INFO: IMEI packet received {"connection_id":175608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":175608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:21:44] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:21:44] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:21:44] local.INFO: IMEI packet received {"connection_id":175608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":175608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:21:46] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:21:46] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:21:46] local.INFO: Packet analysis {"connection_id":175608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:21:46] local.INFO: Extracted packet for processing {"connection_id":175608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":175608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:21:46] local.INFO: GPS data processed {"connection_id":175608,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:21:46] local.INFO: Acknowledgment sent {"connection_id":175608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:21:58] local.INFO: TCP Data received {"connection_id":177011,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ca41e0012d7c910005e99878000300071b..."} 
[2026-09-09 16:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ca41e0012d7c910005e99878000300071b..."} 
[2026-09-09 16:21:58] local.INFO: Processing buffer {"connection_id":177011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ca41e0012d7c910005e99878000300071b..."} 
[2026-09-09 16:21:58] local.INFO: Packet analysis {"connection_id":177011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ca"} 
[2026-09-09 16:21:58] local.INFO: Extracted packet for processing {"connection_id":177011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ca"} 
[2026-09-09 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763138304,"raw_latitude":99195000,"longitude_deg":76.3138304,"latitude_deg":9.9195,"altitude":3,"angle":7,"satellites":27,"speed":0,"hex_longitude":"2d7c9100","hex_latitude":"05e99878","is_valid_coordinates":true} 
[2026-09-09 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971456000001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130328613638635520,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975955557720016896,"note":"Value kept but may cause issues"} 
[2026-09-09 16:21:58] 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-09-09 16:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788951020000,"timestamp_ms":1788951020000,"timestamp_seconds":1788951020,"priority":1,"record_length":96,"hex_timestamp":"000001a085ca41e0"} 
[2026-09-09 16:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:21: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-09-09 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-09 16:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971456000001,"66":13602,"154":206,"87":13824,"24":0,"16":130328613638635520,"45":8975955557720016896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-09 16:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971456000001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:21:58] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-09 16:21:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130328613638635520,"km_value":130328613638635.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975955557720016896,"description":"Unknown IO ID 45"} 
[2026-09-09 16:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971456000001,"power":13602,"unknown_154":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8975955557720016896}} 
[2026-09-09 16:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":177011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:21:58] local.INFO: GPS data processed {"connection_id":177011,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:21:58] local.INFO: Acknowledgment sent {"connection_id":177011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:07] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ca7c78012d0f6200071e2d88002a006023..."} 
[2026-09-09 16:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ca7c78012d0f6200071e2d88002a006023..."} 
[2026-09-09 16:22:07] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ca7c78012d0f6200071e2d88002a006023..."} 
[2026-09-09 16:22:07] local.INFO: Packet analysis {"connection_id":175607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ca"} 
[2026-09-09 16:22:07] local.INFO: Extracted packet for processing {"connection_id":175607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ca"} 
[2026-09-09 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":755982848,"raw_latitude":119418248,"longitude_deg":75.5982848,"latitude_deg":11.9418248,"altitude":42,"angle":96,"satellites":35,"speed":41,"hex_longitude":"2d0f6200","hex_latitude":"071e2d88","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971462400001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19072815890169856,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1097541333510377472,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788951035000,"timestamp_ms":1788951035000,"timestamp_seconds":1788951035,"priority":1,"record_length":96,"hex_timestamp":"000001a085ca7c78"} 
[2026-09-09 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-09-09 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 16:22: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-09-09 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-09-09 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-09-09 16:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971462400001,"66":14341,"147":206,"83":41984,"24":41,"16":19072815890169856,"45":1097541333510377472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-09-09 16:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971462400001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:07] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-09 16:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19072815890169856,"km_value":19072815890169.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1097541333510377472,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971462400001,"power":14341,"unknown_147":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1097541333510377472}} 
[2026-09-09 16:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":175607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:07] local.INFO: GPS data processed {"connection_id":175607,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:07] local.INFO: Acknowledgment sent {"connection_id":175607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:10] local.INFO: TCP Data received {"connection_id":177012,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:22:10] local.INFO: Processing buffer {"connection_id":177012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:22:10] local.INFO: IMEI packet received {"connection_id":177012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":177012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:22:11] local.INFO: TCP Data received {"connection_id":177012,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085cb4798012d0dcb000706f0580020016318..."} 
[2026-09-09 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cb4798012d0dcb000706f0580020016318..."} 
[2026-09-09 16:22:11] local.INFO: Processing buffer {"connection_id":177012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cb4798012d0dcb000706f0580020016318..."} 
[2026-09-09 16:22:11] local.INFO: Packet analysis {"connection_id":177012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:11] local.INFO: Extracted packet for processing {"connection_id":177012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":755878656,"raw_latitude":117895256,"longitude_deg":75.5878656,"latitude_deg":11.7895256,"altitude":32,"angle":355,"satellites":24,"speed":19,"hex_longitude":"2d0dcb00","hex_latitude":"0706f058","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971476480001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31000790474686464,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994591860387557376,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:11] 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-09-09 16:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788951087000,"timestamp_ms":1788951087000,"timestamp_seconds":1788951087,"priority":1,"record_length":96,"hex_timestamp":"000001a085cb4798"} 
[2026-09-09 16:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:22: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-09-09 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 16:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:22:11] 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-09-09 16:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971476480001,"66":14461,"219":206,"94":10240,"24":19,"16":31000790474686464,"45":994591860387557376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971476480001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:22:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31000790474686464,"km_value":31000790474686.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":994591860387557376,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971476480001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":994591860387557376}} 
[2026-09-09 16:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":177012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:11] local.INFO: GPS data processed {"connection_id":177012,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:11] local.INFO: Acknowledgment sent {"connection_id":177012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:17] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:22:17] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:22:17] local.INFO: Packet analysis {"connection_id":175608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:22:17] local.INFO: Extracted packet for processing {"connection_id":175608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":175608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:17] local.INFO: GPS data processed {"connection_id":175608,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:17] local.INFO: Acknowledgment sent {"connection_id":175608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:24] local.INFO: TCP Data received {"connection_id":177013,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:22:24] local.INFO: Processing buffer {"connection_id":177013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:22:24] local.INFO: IMEI packet received {"connection_id":177013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":177013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:22:29] local.INFO: TCP Data received {"connection_id":175822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:22:29] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:22:29] local.INFO: IMEI packet received {"connection_id":175822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":175822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:22:29] local.INFO: TCP Data received {"connection_id":177013,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:22:29] local.INFO: Processing buffer {"connection_id":177013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:22:29] local.INFO: IMEI packet received {"connection_id":177013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":177013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:22:30] local.INFO: TCP Data received {"connection_id":177013,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cb8de8012d7c5e8005e987d8000600fb1a..."} 
[2026-09-09 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cb8de8012d7c5e8005e987d8000600fb1a..."} 
[2026-09-09 16:22:30] local.INFO: Processing buffer {"connection_id":177013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cb8de8012d7c5e8005e987d8000600fb1a..."} 
[2026-09-09 16:22:30] local.INFO: Packet analysis {"connection_id":177013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:30] local.INFO: Extracted packet for processing {"connection_id":177013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763125376,"raw_latitude":99190744,"longitude_deg":76.3125376,"latitude_deg":9.9190744,"altitude":6,"angle":251,"satellites":26,"speed":9,"hex_longitude":"2d7c5e80","hex_latitude":"05e987d8","is_valid_coordinates":true} 
[2026-09-09 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971482112001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130329296538435584,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962304021348548608,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:30] 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-09-09 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788951105000,"timestamp_ms":1788951105000,"timestamp_seconds":1788951105,"priority":1,"record_length":96,"hex_timestamp":"000001a085cb8de8"} 
[2026-09-09 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971482112001,"66":13374,"9":206,"87":13824,"24":9,"16":130329296538435584,"45":8962304021348548608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971482112001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 16:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130329296538435584,"km_value":130329296538435.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962304021348548608,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971482112001,"power":13374,"unknown_9":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8962304021348548608}} 
[2026-09-09 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":177013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:30] local.INFO: GPS data processed {"connection_id":177013,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:30] local.INFO: Acknowledgment sent {"connection_id":177013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:32] local.INFO: TCP Data received {"connection_id":177013,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cbd820012d7c3d8005e97b78000800fb1c..."} 
[2026-09-09 16:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cbd820012d7c3d8005e97b78000800fb1c..."} 
[2026-09-09 16:22:32] local.INFO: Processing buffer {"connection_id":177013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cbd820012d7c3d8005e97b78000800fb1c..."} 
[2026-09-09 16:22:32] local.INFO: Packet analysis {"connection_id":177013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:32] local.INFO: Extracted packet for processing {"connection_id":177013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763116928,"raw_latitude":99187576,"longitude_deg":76.3116928,"latitude_deg":9.9187576,"altitude":8,"angle":251,"satellites":28,"speed":16,"hex_longitude":"2d7c3d80","hex_latitude":"05e97b78","is_valid_coordinates":true} 
[2026-09-09 16:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971482880001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130329730330132480,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961741071395051520,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:32] 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-09-09 16:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788951124000,"timestamp_ms":1788951124000,"timestamp_seconds":1788951124,"priority":1,"record_length":96,"hex_timestamp":"000001a085cbd820"} 
[2026-09-09 16:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-09 16:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971482880001,"66":13787,"9":206,"87":13824,"24":16,"16":130329730330132480,"45":8961741071395051520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 16:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971482880001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 16:22:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130329730330132480,"km_value":130329730330132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961741071395051520,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971482880001,"power":13787,"unknown_9":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8961741071395051520}} 
[2026-09-09 16:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":177013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:33] local.INFO: GPS data processed {"connection_id":177013,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:33] local.INFO: Acknowledgment sent {"connection_id":177013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:34] local.INFO: TCP Data received {"connection_id":175822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:22:34] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:22:34] local.INFO: IMEI packet received {"connection_id":175822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":175822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:22:34] local.INFO: TCP Data received {"connection_id":175822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:22:34] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:22:34] local.INFO: IMEI packet received {"connection_id":175822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":175822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:22:35] local.INFO: TCP Data received {"connection_id":175822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085cb62f0012d103c40071e25e8002d006127..."} 
[2026-09-09 16:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cb62f0012d103c40071e25e8002d006127..."} 
[2026-09-09 16:22:35] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cb62f0012d103c40071e25e8002d006127..."} 
[2026-09-09 16:22:35] local.INFO: Packet analysis {"connection_id":175822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:35] local.INFO: Extracted packet for processing {"connection_id":175822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756038720,"raw_latitude":119416296,"longitude_deg":75.603872,"latitude_deg":11.9416296,"altitude":45,"angle":97,"satellites":39,"speed":41,"hex_longitude":"2d103c40","hex_latitude":"071e25e8","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971479552001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19075667748454400,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1167628602710695936,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788951094000,"timestamp_ms":1788951094000,"timestamp_seconds":1788951094,"priority":1,"record_length":96,"hex_timestamp":"000001a085cb62f0"} 
[2026-09-09 16:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:22: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-09-09 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-09 16:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971479552001,"66":13472,"235":206,"83":41984,"24":41,"16":19075667748454400,"45":1167628602710695936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-09 16:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971479552001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:35] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-09 16:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19075667748454400,"km_value":19075667748454.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1167628602710695936,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971479552001,"power":13472,"unknown_235":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1167628602710695936}} 
[2026-09-09 16:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":175822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:36] local.INFO: GPS data processed {"connection_id":175822,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:36] local.INFO: Acknowledgment sent {"connection_id":175822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:41] local.INFO: TCP Data received {"connection_id":175822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085cb6ac0012d104480071e25f8002d005525..."} 
[2026-09-09 16:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cb6ac0012d104480071e25f8002d005525..."} 
[2026-09-09 16:22:41] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cb6ac0012d104480071e25f8002d005525..."} 
[2026-09-09 16:22:41] local.INFO: Packet analysis {"connection_id":175822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:41] local.INFO: Extracted packet for processing {"connection_id":175822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756040832,"raw_latitude":119416312,"longitude_deg":75.6040832,"latitude_deg":11.9416312,"altitude":45,"angle":85,"satellites":37,"speed":41,"hex_longitude":"2d104480","hex_latitude":"071e25f8","is_valid_coordinates":true} 
[2026-09-09 16:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971480064001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19075762237734912,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1169880402524235776,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788951096000,"timestamp_ms":1788951096000,"timestamp_seconds":1788951096,"priority":1,"record_length":96,"hex_timestamp":"000001a085cb6ac0"} 
[2026-09-09 16:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 16:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971480064001,"66":14233,"235":206,"83":41984,"24":41,"16":19075762237734912,"45":1169880402524235776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-09 16:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971480064001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:41] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-09 16:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19075762237734912,"km_value":19075762237734.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1169880402524235776,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971480064001,"power":14233,"unknown_235":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1169880402524235776}} 
[2026-09-09 16:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":175822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:41] local.INFO: GPS data processed {"connection_id":175822,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:41] local.INFO: Acknowledgment sent {"connection_id":175822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:42] local.INFO: TCP Data received {"connection_id":177012,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085cb5350012d0dcb800706f5480021001118..."} 
[2026-09-09 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cb5350012d0dcb800706f5480021001118..."} 
[2026-09-09 16:22:42] local.INFO: Processing buffer {"connection_id":177012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cb5350012d0dcb800706f5480021001118..."} 
[2026-09-09 16:22:42] local.INFO: Packet analysis {"connection_id":177012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:42] local.INFO: Extracted packet for processing {"connection_id":177012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":755878784,"raw_latitude":117896520,"longitude_deg":75.5878784,"latitude_deg":11.789652,"altitude":33,"angle":17,"satellites":24,"speed":17,"hex_longitude":"2d0dcb80","hex_latitude":"0706f548","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971478272001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31000854899195904,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993888172946511872,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:42] 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-09-09 16:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788951090000,"timestamp_ms":1788951090000,"timestamp_seconds":1788951090,"priority":1,"record_length":96,"hex_timestamp":"000001a085cb5350"} 
[2026-09-09 16:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:22: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-09-09 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 16:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:22:42] 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-09-09 16:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971478272001,"66":14374,"219":206,"94":10240,"24":17,"16":31000854899195904,"45":993888172946511872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971478272001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:22:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31000854899195904,"km_value":31000854899195.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":993888172946511872,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971478272001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":993888172946511872}} 
[2026-09-09 16:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":177012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789705,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:42] local.INFO: GPS data processed {"connection_id":177012,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:42] local.INFO: Acknowledgment sent {"connection_id":177012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:43] local.INFO: TCP Data received {"connection_id":178395,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:22:43] local.INFO: Processing buffer {"connection_id":178395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:22:43] local.INFO: IMEI packet received {"connection_id":178395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":178395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:22:48] local.INFO: TCP Data received {"connection_id":178395,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:22:48] local.INFO: Processing buffer {"connection_id":178395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:22:48] local.INFO: IMEI packet received {"connection_id":178395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":178395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:22:49] local.INFO: TCP Data received {"connection_id":178395,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:22:49] local.INFO: Processing buffer {"connection_id":178395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:22:49] local.INFO: Packet analysis {"connection_id":178395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:22:49] local.INFO: Extracted packet for processing {"connection_id":178395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":178395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:49] local.INFO: GPS data processed {"connection_id":178395,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:49] local.INFO: Acknowledgment sent {"connection_id":178395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:22:54] local.INFO: TCP Data received {"connection_id":178395,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:22:54] local.INFO: Processing buffer {"connection_id":178395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085c81348012d34cc4006aa49080000013425..."} 
[2026-09-09 16:22:54] local.INFO: Packet analysis {"connection_id":178395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:22:54] local.INFO: Extracted packet for processing {"connection_id":178395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085c8"} 
[2026-09-09 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971347456001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788950877000,"timestamp_ms":1788950877000,"timestamp_seconds":1788950877,"priority":1,"record_length":96,"hex_timestamp":"000001a085c81348"} 
[2026-09-09 16:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971347456001,"66":25647,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971347456001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:22:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971347456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":178395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:22:54] local.INFO: GPS data processed {"connection_id":178395,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:22:54] local.INFO: Acknowledgment sent {"connection_id":178395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:23:04] local.INFO: TCP Data received {"connection_id":177013,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cbdff0012d7c3ac005e97a68000800f01b..."} 
[2026-09-09 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cbdff0012d7c3ac005e97a68000800f01b..."} 
[2026-09-09 16:23:04] local.INFO: Processing buffer {"connection_id":177013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cbdff0012d7c3ac005e97a68000800f01b..."} 
[2026-09-09 16:23:04] local.INFO: Packet analysis {"connection_id":177013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:23:04] local.INFO: Extracted packet for processing {"connection_id":177013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763116224,"raw_latitude":99187304,"longitude_deg":76.3116224,"latitude_deg":9.9187304,"altitude":8,"angle":240,"satellites":27,"speed":12,"hex_longitude":"2d7c3ac0","hex_latitude":"05e97a68","is_valid_coordinates":true} 
[2026-09-09 16:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971487744001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130329764689870848,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952452397162788864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:04] 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-09-09 16:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788951126000,"timestamp_ms":1788951126000,"timestamp_seconds":1788951126,"priority":1,"record_length":96,"hex_timestamp":"000001a085cbdff0"} 
[2026-09-09 16:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-09 16:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971487744001,"66":13798,"9":206,"87":13824,"24":12,"16":130329764689870848,"45":8952452397162788864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 16:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971487744001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:23:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 16:23:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130329764689870848,"km_value":130329764689870.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952452397162788864,"description":"Unknown IO ID 45"} 
[2026-09-09 16:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971487744001,"power":13798,"unknown_9":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8952452397162788864}} 
[2026-09-09 16:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":177013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:23:04] local.INFO: GPS data processed {"connection_id":177013,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:23:04] local.INFO: Acknowledgment sent {"connection_id":177013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:23:05] local.INFO: TCP Data received {"connection_id":177014,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177014,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:23:05] local.INFO: Processing buffer {"connection_id":177014,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:23:05] local.INFO: IMEI packet received {"connection_id":177014,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":177014,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:23:10] local.INFO: TCP Data received {"connection_id":177014,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177014,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:23:10] local.INFO: Processing buffer {"connection_id":177014,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:23:10] local.INFO: IMEI packet received {"connection_id":177014,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":177014,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:23:11] local.INFO: TCP Data received {"connection_id":177014,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085cc87e8012d0e3bc007070318002300871a..."} 
[2026-09-09 16:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cc87e8012d0e3bc007070318002300871a..."} 
[2026-09-09 16:23:11] local.INFO: Processing buffer {"connection_id":177014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cc87e8012d0e3bc007070318002300871a..."} 
[2026-09-09 16:23:11] local.INFO: Packet analysis {"connection_id":177014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:11] local.INFO: Extracted packet for processing {"connection_id":177014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:11] local.INFO: GPS Element Parsed {"raw_longitude":755907520,"raw_latitude":117900056,"longitude_deg":75.590752,"latitude_deg":11.7900056,"altitude":35,"angle":135,"satellites":26,"speed":2,"hex_longitude":"2d0e3bc0","hex_latitude":"07070318","is_valid_coordinates":true} 
[2026-09-09 16:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971496192001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31002298008207360,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025131895362658304,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:11] 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-09-09 16:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788951169000,"timestamp_ms":1788951169000,"timestamp_seconds":1788951169,"priority":1,"record_length":96,"hex_timestamp":"000001a085cc87e8"} 
[2026-09-09 16:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 16:23:11] 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-09-09 16:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177014,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177014,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:23:11] 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-09-09 16:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971496192001,"66":14537,"219":206,"94":10240,"24":2,"16":31002298008207360,"45":1025131895362658304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971496192001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:23:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:23:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31002298008207360,"km_value":31002298008207.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025131895362658304,"description":"Unknown IO ID 45"} 
[2026-09-09 16:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971496192001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1025131895362658304}} 
[2026-09-09 16:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":177014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:23:11] local.INFO: GPS data processed {"connection_id":177014,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:23:11] local.INFO: Acknowledgment sent {"connection_id":177014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:23:12] local.INFO: TCP Data received {"connection_id":175822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085cb8de8012d106b40071e2bf0002d004c24..."} 
[2026-09-09 16:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cb8de8012d106b40071e2bf0002d004c24..."} 
[2026-09-09 16:23:12] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cb8de8012d106b40071e2bf0002d004c24..."} 
[2026-09-09 16:23:12] local.INFO: Packet analysis {"connection_id":175822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:23:12] local.INFO: Extracted packet for processing {"connection_id":175822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756050752,"raw_latitude":119417840,"longitude_deg":75.6050752,"latitude_deg":11.941784,"altitude":45,"angle":76,"satellites":36,"speed":46,"hex_longitude":"2d106b40","hex_latitude":"071e2bf0","is_valid_coordinates":true} 
[2026-09-09 16:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971480576001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19076238979104768,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1172202571082102784,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788951105000,"timestamp_ms":1788951105000,"timestamp_seconds":1788951105,"priority":1,"record_length":96,"hex_timestamp":"000001a085cb8de8"} 
[2026-09-09 16:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:23: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-09-09 16:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 16:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971480576001,"66":14363,"5":206,"83":41984,"24":46,"16":19076238979104768,"45":1172202571082102784},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,45]} 
[2026-09-09 16:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971480576001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:23:12] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-09 16:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19076238979104768,"km_value":19076238979104.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1172202571082102784,"description":"Unknown IO ID 45"} 
[2026-09-09 16:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971480576001,"power":14363,"unknown_5":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1172202571082102784}} 
[2026-09-09 16:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":175822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:23:12] local.INFO: GPS data processed {"connection_id":175822,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:23:12] local.INFO: Acknowledgment sent {"connection_id":175822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:23:20] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:23:20] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:23:20] local.INFO: IMEI packet received {"connection_id":175823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":175823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:23:21] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:23:21] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:23:21] local.INFO: IMEI packet received {"connection_id":175823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":175823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:23:24] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:23:24] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:23:24] local.INFO: IMEI packet received {"connection_id":175823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":175823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:23:25] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cbff30012d7c31c005e97678000a00fc1c..."} 
[2026-09-09 16:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cbff30012d7c31c005e97678000a00fc1c..."} 
[2026-09-09 16:23:25] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cbff30012d7c31c005e97678000a00fc1c..."} 
[2026-09-09 16:23:25] local.INFO: Packet analysis {"connection_id":175823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:23:25] local.INFO: Extracted packet for processing {"connection_id":175823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cb"} 
[2026-09-09 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":99186296,"longitude_deg":76.311392,"latitude_deg":9.9186296,"altitude":10,"angle":252,"satellites":28,"speed":17,"hex_longitude":"2d7c31c0","hex_latitude":"05e97678","is_valid_coordinates":true} 
[2026-09-09 16:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971488256001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130329884948955136,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951678340976764928,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:25] 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-09-09 16:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788951134000,"timestamp_ms":1788951134000,"timestamp_seconds":1788951134,"priority":1,"record_length":96,"hex_timestamp":"000001a085cbff30"} 
[2026-09-09 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-09-09 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971488256001,"66":13993,"9":206,"87":13824,"24":17,"16":130329884948955136,"45":8951678340976764928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 16:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971488256001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:23:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 16:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130329884948955136,"km_value":130329884948955.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951678340976764928,"description":"Unknown IO ID 45"} 
[2026-09-09 16:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971488256001,"power":13993,"unknown_9":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8951678340976764928}} 
[2026-09-09 16:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":175823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:23:25] local.INFO: GPS data processed {"connection_id":175823,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:23:25] local.INFO: Acknowledgment sent {"connection_id":175823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:23:26] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cc4198012d7c0f4005e969f8000d00f91c..."} 
[2026-09-09 16:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cc4198012d7c0f4005e969f8000d00f91c..."} 
[2026-09-09 16:23:26] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cc4198012d7c0f4005e969f8000d00f91c..."} 
[2026-09-09 16:23:26] local.INFO: Packet analysis {"connection_id":175823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:26] local.INFO: Extracted packet for processing {"connection_id":175823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763105088,"raw_latitude":99183096,"longitude_deg":76.3105088,"latitude_deg":9.9183096,"altitude":13,"angle":249,"satellites":28,"speed":26,"hex_longitude":"2d7c0f40","hex_latitude":"05e969f8","is_valid_coordinates":true} 
[2026-09-09 16:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971490304001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130330335920521216,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145066186110976,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:26] 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-09-09 16:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788951151000,"timestamp_ms":1788951151000,"timestamp_seconds":1788951151,"priority":1,"record_length":96,"hex_timestamp":"000001a085cc4198"} 
[2026-09-09 16:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 16:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971490304001,"66":12993,"9":206,"87":13824,"24":26,"16":130330335920521216,"45":8949145066186110976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 16:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971490304001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:23:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 16:23:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130330335920521216,"km_value":130330335920521.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145066186110976,"description":"Unknown IO ID 45"} 
[2026-09-09 16:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971490304001,"power":12993,"unknown_9":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8949145066186110976}} 
[2026-09-09 16:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":175823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:23:26] local.INFO: GPS data processed {"connection_id":175823,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:23:26] local.INFO: Acknowledgment sent {"connection_id":175823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:23:31] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cc7078012d7bf38005e96100000801041f..."} 
[2026-09-09 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cc7078012d7bf38005e96100000801041f..."} 
[2026-09-09 16:23:31] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cc7078012d7bf38005e96100000801041f..."} 
[2026-09-09 16:23:31] local.INFO: Packet analysis {"connection_id":175823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:31] local.INFO: Extracted packet for processing {"connection_id":175823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763097984,"raw_latitude":99180800,"longitude_deg":76.3097984,"latitude_deg":9.91808,"altitude":8,"angle":260,"satellites":31,"speed":22,"hex_longitude":"2d7bf380","hex_latitude":"05e96100","is_valid_coordinates":true} 
[2026-09-09 16:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971494656001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130330692402806784,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939434179488774144,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:31] 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-09-09 16:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788951163000,"timestamp_ms":1788951163000,"timestamp_seconds":1788951163,"priority":1,"record_length":96,"hex_timestamp":"000001a085cc7078"} 
[2026-09-09 16:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-09 16:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971494656001,"66":13580,"9":206,"87":13824,"24":22,"16":130330692402806784,"45":8939434179488774144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-09 16:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971494656001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:23:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-09 16:23:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130330692402806784,"km_value":130330692402806.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939434179488774144,"description":"Unknown IO ID 45"} 
[2026-09-09 16:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971494656001,"power":13580,"unknown_9":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8939434179488774144}} 
[2026-09-09 16:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":175823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:23:32] local.INFO: GPS data processed {"connection_id":175823,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:23:32] local.INFO: Acknowledgment sent {"connection_id":175823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:23:33] local.INFO: TCP Data received {"connection_id":178396,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:33] local.INFO: Processing buffer {"connection_id":178396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:33] local.INFO: IMEI packet received {"connection_id":178396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":178396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:23:35] local.INFO: TCP Data received {"connection_id":178396,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:35] local.INFO: Processing buffer {"connection_id":178396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:35] local.INFO: IMEI packet received {"connection_id":178396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":178396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:23:35] local.INFO: TCP Data received {"connection_id":178396,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:35] local.INFO: Processing buffer {"connection_id":178396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:35] local.INFO: IMEI packet received {"connection_id":178396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":178396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:23:36] local.INFO: TCP Data received {"connection_id":177015,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:23:36] local.INFO: Processing buffer {"connection_id":177015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:23:36] local.INFO: IMEI packet received {"connection_id":177015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":177015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:23:37] local.INFO: TCP Data received {"connection_id":178396,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:37] local.INFO: Processing buffer {"connection_id":178396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:23:37] local.INFO: IMEI packet received {"connection_id":178396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":178396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:23:38] local.INFO: TCP Data received {"connection_id":177015,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:23:38] local.INFO: Processing buffer {"connection_id":177015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:23:38] local.INFO: IMEI packet received {"connection_id":177015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":177015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:23:42] local.INFO: TCP Data received {"connection_id":177014,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085cc93a0012d0e3d40070700e00024009f1a..."} 
[2026-09-09 16:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cc93a0012d0e3d40070700e00024009f1a..."} 
[2026-09-09 16:23:42] local.INFO: Processing buffer {"connection_id":177014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cc93a0012d0e3d40070700e00024009f1a..."} 
[2026-09-09 16:23:42] local.INFO: Packet analysis {"connection_id":177014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:42] local.INFO: Extracted packet for processing {"connection_id":177014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:42] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117899488,"longitude_deg":75.5907904,"latitude_deg":11.7899488,"altitude":36,"angle":159,"satellites":26,"speed":11,"hex_longitude":"2d0e3d40","hex_latitude":"070700e0","is_valid_coordinates":true} 
[2026-09-09 16:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971499264001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31002332367945728,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025624476571867136,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:42] 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-09-09 16:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788951172000,"timestamp_ms":1788951172000,"timestamp_seconds":1788951172,"priority":1,"record_length":96,"hex_timestamp":"000001a085cc93a0"} 
[2026-09-09 16:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 16:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177014,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177014,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:23:42] 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-09-09 16:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971499264001,"66":14439,"219":206,"94":10240,"24":11,"16":31002332367945728,"45":1025624476571867136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971499264001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:23:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:23:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31002332367945728,"km_value":31002332367945.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025624476571867136,"description":"Unknown IO ID 45"} 
[2026-09-09 16:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971499264001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1025624476571867136}} 
[2026-09-09 16:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":177014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:23:42] local.INFO: GPS data processed {"connection_id":177014,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:23:42] local.INFO: Acknowledgment sent {"connection_id":177014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:23:43] local.INFO: TCP Data received {"connection_id":177015,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:23:43] local.INFO: Processing buffer {"connection_id":177015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:23:43] local.INFO: IMEI packet received {"connection_id":177015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":177015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:23:45] local.INFO: TCP Data received {"connection_id":177015,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:23:45] local.INFO: Processing buffer {"connection_id":177015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:23:45] local.INFO: Packet analysis {"connection_id":177015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:45] local.INFO: Extracted packet for processing {"connection_id":177015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":177015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:23:45] local.INFO: GPS data processed {"connection_id":177015,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:23:45] local.INFO: Acknowledgment sent {"connection_id":177015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:24:03] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccbe98012d7bd60005e95b600004010a1f..."} 
[2026-09-09 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccbe98012d7bd60005e95b600004010a1f..."} 
[2026-09-09 16:24:03] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccbe98012d7bd60005e95b600004010a1f..."} 
[2026-09-09 16:24:03] local.INFO: Packet analysis {"connection_id":175823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:03] local.INFO: Extracted packet for processing {"connection_id":175823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763090432,"raw_latitude":99179360,"longitude_deg":76.3090432,"latitude_deg":9.917936,"altitude":4,"angle":266,"satellites":31,"speed":20,"hex_longitude":"2d7bd600","hex_latitude":"05e95b60","is_valid_coordinates":true} 
[2026-09-09 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971497728001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130331061769994240,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931623248884465664,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] 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-09-09 16:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788951183000,"timestamp_ms":1788951183000,"timestamp_seconds":1788951183,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccbe98"} 
[2026-09-09 16:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632133,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2244706864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3529195930160988160,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3419938817,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636704924388873,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309212878,"corrected_to":0} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":94,"raw_value":2147871111,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3918069760,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":124,"raw_value":8556845792729497603,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271709943935401,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:03] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,9,87,24,241,157,16,7,160,65,45,64,105,13,28,10,66,6,255,192,118,223,1,240,230,227,133,233,4,113,205,141,94,216,26,239,52,2,207,5,11,124,53,54],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1309212878,"validated":0}]} 
[2026-09-09 16:24:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576746758472073216,"timestamp_seconds":576746758472073.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971497728001,"66":13319,"156":206,"87":13824,"24":20,"16":130331061769994240,"45":8931623248884465664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-09 16:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971497728001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:24:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 16:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130331061769994240,"km_value":130331061769994.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931623248884465664,"description":"Unknown IO ID 45"} 
[2026-09-09 16:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971497728001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8931623248884465664}} 
[2026-09-09 16:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":175823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:24:03] local.INFO: GPS data processed {"connection_id":175823,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:24:03] local.INFO: Acknowledgment sent {"connection_id":175823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:24:05] local.INFO: TCP Data received {"connection_id":177016,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:24:05] local.INFO: Processing buffer {"connection_id":177016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:24:05] local.INFO: IMEI packet received {"connection_id":177016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":177016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:24:11] local.INFO: TCP Data received {"connection_id":177016,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:24:11] local.INFO: Processing buffer {"connection_id":177016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:24:11] local.INFO: IMEI packet received {"connection_id":177016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":177016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:24:11] local.INFO: TCP Data received {"connection_id":177016,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085cd7248012d0e39000706b160002800c31a..."} 
[2026-09-09 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cd7248012d0e39000706b160002800c31a..."} 
[2026-09-09 16:24:11] local.INFO: Processing buffer {"connection_id":177016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cd7248012d0e39000706b160002800c31a..."} 
[2026-09-09 16:24:11] local.INFO: Packet analysis {"connection_id":177016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cd"} 
[2026-09-09 16:24:11] local.INFO: Extracted packet for processing {"connection_id":177016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cd"} 
[2026-09-09 16:24:11] local.INFO: GPS Element Parsed {"raw_longitude":755906816,"raw_latitude":117879136,"longitude_deg":75.5906816,"latitude_deg":11.7879136,"altitude":40,"angle":195,"satellites":26,"speed":16,"hex_longitude":"2d0e3900","hex_latitude":"0706b160","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971510272001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31003337390292992,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026820745219772416,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:11] 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-09-09 16:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788951229000,"timestamp_ms":1788951229000,"timestamp_seconds":1788951229,"priority":1,"record_length":96,"hex_timestamp":"000001a085cd7248"} 
[2026-09-09 16:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-09 16:24:11] 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-09-09 16: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-09-09 16:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:24:11] 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-09-09 16:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971510272001,"66":14450,"219":206,"94":10240,"24":16,"16":31003337390292992,"45":1026820745219772416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971510272001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:24:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:24:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31003337390292992,"km_value":31003337390292.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026820745219772416,"description":"Unknown IO ID 45"} 
[2026-09-09 16:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971510272001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1026820745219772416}} 
[2026-09-09 16:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":177016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:24:12] local.INFO: GPS data processed {"connection_id":177016,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:24:12] local.INFO: Acknowledgment sent {"connection_id":177016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:24:16] local.INFO: TCP Data received {"connection_id":177015,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:24:17] local.INFO: Processing buffer {"connection_id":177015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:24:17] local.INFO: Packet analysis {"connection_id":177015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:17] local.INFO: Extracted packet for processing {"connection_id":177015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":177015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:24:17] local.INFO: GPS data processed {"connection_id":177015,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:24:17] local.INFO: Acknowledgment sent {"connection_id":177015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:24:21] local.INFO: TCP Data received {"connection_id":175824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:24:21] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:24:21] local.INFO: IMEI packet received {"connection_id":175824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":175824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:24:23] local.INFO: TCP Data received {"connection_id":175824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:24:23] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:24:23] local.INFO: IMEI packet received {"connection_id":175824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":175824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:24:24] local.INFO: TCP Data received {"connection_id":175824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccca50012d7bd0c005e95a68000400fe1e..."} 
[2026-09-09 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccca50012d7bd0c005e95a68000400fe1e..."} 
[2026-09-09 16:24:24] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccca50012d7bd0c005e95a68000400fe1e..."} 
[2026-09-09 16:24:24] local.INFO: Packet analysis {"connection_id":175824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:24] local.INFO: Extracted packet for processing {"connection_id":175824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763089088,"raw_latitude":99179112,"longitude_deg":76.3089088,"latitude_deg":9.9179112,"altitude":4,"angle":254,"satellites":30,"speed":16,"hex_longitude":"2d7bd0c0","hex_latitude":"05e95a68","is_valid_coordinates":true} 
[2026-09-09 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971502848001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130331130489470976,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923319737071132672,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] 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-09-09 16:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788951186000,"timestamp_ms":1788951186000,"timestamp_seconds":1788951186,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccca50"} 
[2026-09-09 16:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2244709864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3420450817,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-8574853664727950592,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309212878,"corrected_to":0} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147871099,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3674262862,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3917993984,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57788170800879414,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:24] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":-9065744755024953339,"corrected_to":0} 
[2026-09-09 16:24:24] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,156,87,24,241,157,16,7,160,112,45,128,97,8,31,10,66,9,65,64,105,13,28,6,255,192,1,240,169,227,133,233,4,113,205,12,216,61,120,239,53,2,207,5,62,203],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1309212878,"validated":0},{"io_id":203,"original":-9065744755024953339,"validated":0}]} 
[2026-09-09 16:24:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288522979389997056,"timestamp_seconds":288522979389997.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971502848001,"66":14048,"156":206,"87":13824,"24":16,"16":130331130489470976,"45":8923319737071132672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-09 16:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971502848001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:24:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 16:24:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130331130489470976,"km_value":130331130489470.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923319737071132672,"description":"Unknown IO ID 45"} 
[2026-09-09 16:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971502848001,"power":14048,"unknown_156":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8923319737071132672}} 
[2026-09-09 16:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":175824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:24:24] local.INFO: GPS data processed {"connection_id":175824,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:24:24] local.INFO: Acknowledgment sent {"connection_id":175824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:24:26] local.INFO: TCP Data received {"connection_id":175824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccd608012d7bcb8005e958a0000400f01e..."} 
[2026-09-09 16:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccd608012d7bcb8005e958a0000400f01e..."} 
[2026-09-09 16:24:26] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccd608012d7bcb8005e958a0000400f01e..."} 
[2026-09-09 16:24:26] local.INFO: Packet analysis {"connection_id":175824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:26] local.INFO: Extracted packet for processing {"connection_id":175824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763087744,"raw_latitude":99178656,"longitude_deg":76.3087744,"latitude_deg":9.9178656,"altitude":4,"angle":240,"satellites":30,"speed":20,"hex_longitude":"2d7bcb80","hex_latitude":"05e958a0","is_valid_coordinates":true} 
[2026-09-09 16:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971503616001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130331194913980416,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921841993443338240,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:26] 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-09-09 16:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788951189000,"timestamp_ms":1788951189000,"timestamp_seconds":1788951189,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccd608"} 
[2026-09-09 16:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 16:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971503616001,"66":14102,"156":206,"87":13824,"24":20,"16":130331194913980416,"45":8921841993443338240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-09 16:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971503616001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:24:26] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 16:24:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130331194913980416,"km_value":130331194913980.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921841993443338240,"description":"Unknown IO ID 45"} 
[2026-09-09 16:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971503616001,"power":14102,"unknown_156":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8921841993443338240}} 
[2026-09-09 16:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":175824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:24:26] local.INFO: GPS data processed {"connection_id":175824,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:24:26] local.INFO: Acknowledgment sent {"connection_id":175824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:24:38] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:24:38] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:24:38] local.INFO: IMEI packet received {"connection_id":175825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":175825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:24:42] local.INFO: TCP Data received {"connection_id":177016,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085cd85d0012d0e36c00706aa20002600d019..."} 
[2026-09-09 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cd85d0012d0e36c00706aa20002600d019..."} 
[2026-09-09 16:24:42] local.INFO: Processing buffer {"connection_id":177016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cd85d0012d0e36c00706aa20002600d019..."} 
[2026-09-09 16:24:42] local.INFO: Packet analysis {"connection_id":177016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cd"} 
[2026-09-09 16:24:42] local.INFO: Extracted packet for processing {"connection_id":177016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cd"} 
[2026-09-09 16:24:42] local.INFO: GPS Element Parsed {"raw_longitude":755906240,"raw_latitude":117877280,"longitude_deg":75.590624,"latitude_deg":11.787728,"altitude":38,"angle":208,"satellites":25,"speed":10,"hex_longitude":"2d0e36c0","hex_latitude":"0706aa20","is_valid_coordinates":true} 
[2026-09-09 16:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971514624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31003431879573504,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024850420380557312,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:42] 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-09-09 16:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788951234000,"timestamp_ms":1788951234000,"timestamp_seconds":1788951234,"priority":1,"record_length":96,"hex_timestamp":"000001a085cd85d0"} 
[2026-09-09 16:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 16:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:24:42] 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-09-09 16:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971514624001,"66":14428,"219":206,"94":10240,"24":10,"16":31003431879573504,"45":1024850420380557312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971514624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:24:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:24:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31003431879573504,"km_value":31003431879573.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024850420380557312,"description":"Unknown IO ID 45"} 
[2026-09-09 16:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971514624001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1024850420380557312}} 
[2026-09-09 16:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":177016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:24:43] local.INFO: GPS data processed {"connection_id":177016,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:24:43] local.INFO: Acknowledgment sent {"connection_id":177016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:24:44] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:24:44] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:24:44] local.INFO: IMEI packet received {"connection_id":175825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":175825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:24:46] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:24:46] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:24:46] local.INFO: Packet analysis {"connection_id":175825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:46] local.INFO: Extracted packet for processing {"connection_id":175825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":175825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:24:46] local.INFO: GPS data processed {"connection_id":175825,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:24:46] local.INFO: Acknowledgment sent {"connection_id":175825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:24:57] local.INFO: TCP Data received {"connection_id":175824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccddd8012d7bc80005e95638000500e41f..."} 
[2026-09-09 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccddd8012d7bc80005e95638000500e41f..."} 
[2026-09-09 16:24:57] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccddd8012d7bc80005e95638000500e41f..."} 
[2026-09-09 16:24:57] local.INFO: Packet analysis {"connection_id":175824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:57] local.INFO: Extracted packet for processing {"connection_id":175824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763086848,"raw_latitude":99178040,"longitude_deg":76.3086848,"latitude_deg":9.917804,"altitude":5,"angle":228,"satellites":31,"speed":20,"hex_longitude":"2d7bc800","hex_latitude":"05e95638","is_valid_coordinates":true} 
[2026-09-09 16:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971504384001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130331246453587968,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920364249815490560,"note":"Value kept but may cause issues"} 
[2026-09-09 16:24:57] 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-09-09 16:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788951191000,"timestamp_ms":1788951191000,"timestamp_seconds":1788951191,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccddd8"} 
[2026-09-09 16:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 16:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971504384001,"66":13504,"156":206,"87":13824,"24":20,"16":130331246453587968,"45":8920364249815490560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-09 16:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971504384001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:24:57] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 16:24:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130331246453587968,"km_value":130331246453587.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920364249815490560,"description":"Unknown IO ID 45"} 
[2026-09-09 16:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971504384001,"power":13504,"unknown_156":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8920364249815490560}} 
[2026-09-09 16:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":175824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:24:57] local.INFO: GPS data processed {"connection_id":175824,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:24:57] local.INFO: Acknowledgment sent {"connection_id":175824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:25:05] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:25:05] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:25:05] local.INFO: IMEI packet received {"connection_id":175611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":175611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:25:10] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:25:10] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:25:10] local.INFO: IMEI packet received {"connection_id":175611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":175611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:25:10] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085cd9958012d0e35400706a6d8002300b91a..."} 
[2026-09-09 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cd9958012d0e35400706a6d8002300b91a..."} 
[2026-09-09 16:25:10] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cd9958012d0e35400706a6d8002300b91a..."} 
[2026-09-09 16:25:10] local.INFO: Packet analysis {"connection_id":175611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cd"} 
[2026-09-09 16:25:10] local.INFO: Extracted packet for processing {"connection_id":175611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cd"} 
[2026-09-09 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":755905856,"raw_latitude":117876440,"longitude_deg":75.5905856,"latitude_deg":11.787644,"altitude":35,"angle":185,"satellites":26,"speed":6,"hex_longitude":"2d0e3540","hex_latitude":"0706a6d8","is_valid_coordinates":true} 
[2026-09-09 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971515904001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31003479124213760,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024217101682483200,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788951239000,"timestamp_ms":1788951239000,"timestamp_seconds":1788951239,"priority":1,"record_length":96,"hex_timestamp":"000001a085cd9958"} 
[2026-09-09 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:25: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-09-09 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 16:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:25:10] 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-09-09 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971515904001,"66":14537,"219":206,"94":10240,"24":6,"16":31003479124213760,"45":1024217101682483200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971515904001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:25:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:25:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31003479124213760,"km_value":31003479124213.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024217101682483200,"description":"Unknown IO ID 45"} 
[2026-09-09 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971515904001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1024217101682483200}} 
[2026-09-09 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":175611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:25:10] local.INFO: GPS data processed {"connection_id":175611,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:25:10] local.INFO: Acknowledgment sent {"connection_id":175611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:25:17] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:25:17] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:25:17] local.INFO: Packet analysis {"connection_id":175825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:25:17] local.INFO: Extracted packet for processing {"connection_id":175825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:25:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":175825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:25:17] local.INFO: GPS data processed {"connection_id":175825,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:25:17] local.INFO: Acknowledgment sent {"connection_id":175825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:25:19] local.INFO: TCP Data received {"connection_id":178397,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:25:19] local.INFO: Processing buffer {"connection_id":178397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:25:19] local.INFO: IMEI packet received {"connection_id":178397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":178397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:25:33] local.INFO: TCP Data received {"connection_id":178397,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:25:33] local.INFO: Processing buffer {"connection_id":178397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:25:33] local.INFO: IMEI packet received {"connection_id":178397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":178397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:25:34] local.INFO: TCP Data received {"connection_id":178397,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccfd18012d7bbc8005e94d88000500f31e..."} 
[2026-09-09 16:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccfd18012d7bbc8005e94d88000500f31e..."} 
[2026-09-09 16:25:34] local.INFO: Processing buffer {"connection_id":178397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccfd18012d7bbc8005e94d88000500f31e..."} 
[2026-09-09 16:25:34] local.INFO: Packet analysis {"connection_id":178397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:25:34] local.INFO: Extracted packet for processing {"connection_id":178397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":99175816,"longitude_deg":76.3083904,"latitude_deg":9.9175816,"altitude":5,"angle":243,"satellites":30,"speed":19,"hex_longitude":"2d7bbc80","hex_latitude":"05e94d88","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971504896001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130331426842214400,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919379087396845568,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:34] 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-09-09 16:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788951199000,"timestamp_ms":1788951199000,"timestamp_seconds":1788951199,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccfd18"} 
[2026-09-09 16:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:25: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-09-09 16: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-09 16:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":178397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":178397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":178397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:25: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-09-09 16:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971504896001,"66":14157,"156":206,"87":13824,"24":19,"16":130331426842214400,"45":8919379087396845568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-09 16:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971504896001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:25:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 16:25:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130331426842214400,"km_value":130331426842214.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919379087396845568,"description":"Unknown IO ID 45"} 
[2026-09-09 16:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971504896001,"power":14157,"unknown_156":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8919379087396845568}} 
[2026-09-09 16:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":178397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:25:34] local.INFO: GPS data processed {"connection_id":178397,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:25:34] local.INFO: Acknowledgment sent {"connection_id":178397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:25:41] local.INFO: TCP Data received {"connection_id":178398,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:25:41] local.INFO: Processing buffer {"connection_id":178398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:25:41] local.INFO: IMEI packet received {"connection_id":178398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":178398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:25:42] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085cefcd0012d0e0d0007068640001d011a1a..."} 
[2026-09-09 16:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cefcd0012d0e0d0007068640001d011a1a..."} 
[2026-09-09 16:25:42] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cefcd0012d0e0d0007068640001d011a1a..."} 
[2026-09-09 16:25:42] local.INFO: Packet analysis {"connection_id":175611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ce"} 
[2026-09-09 16:25:42] local.INFO: Extracted packet for processing {"connection_id":175611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ce"} 
[2026-09-09 16:25:42] local.INFO: GPS Element Parsed {"raw_longitude":755895552,"raw_latitude":117868096,"longitude_deg":75.5895552,"latitude_deg":11.7868096,"altitude":29,"angle":282,"satellites":26,"speed":4,"hex_longitude":"2d0e0d00","hex_latitude":"07068640","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971537152001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31004376772378624,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013028471355881472,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:42] 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-09-09 16:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788951330000,"timestamp_ms":1788951330000,"timestamp_seconds":1788951330,"priority":1,"record_length":96,"hex_timestamp":"000001a085cefcd0"} 
[2026-09-09 16:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 16:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:25:42] 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-09-09 16:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971537152001,"66":14428,"219":206,"94":10240,"24":4,"16":31004376772378624,"45":1013028471355881472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971537152001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:25:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:25:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31004376772378624,"km_value":31004376772378.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013028471355881472,"description":"Unknown IO ID 45"} 
[2026-09-09 16:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971537152001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1013028471355881472}} 
[2026-09-09 16:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":175611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:25:42] local.INFO: GPS data processed {"connection_id":175611,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:25:42] local.INFO: Acknowledgment sent {"connection_id":175611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:25:43] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:25:43] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:25:43] local.INFO: IMEI packet received {"connection_id":175826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":175826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:25:48] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:25:48] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:25:48] local.INFO: IMEI packet received {"connection_id":175826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":175826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:25:49] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:25:49] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:25:49] local.INFO: Packet analysis {"connection_id":175826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:25:49] local.INFO: Extracted packet for processing {"connection_id":175826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":175826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:25:49] local.INFO: GPS data processed {"connection_id":175826,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:25:49] local.INFO: Acknowledgment sent {"connection_id":175826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:25:55] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:25:55] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:25:55] local.INFO: Packet analysis {"connection_id":175826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:25:55] local.INFO: Extracted packet for processing {"connection_id":175826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:25:55] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:25:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:25:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":175826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:25:55] local.INFO: GPS data processed {"connection_id":175826,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:25:55] local.INFO: Acknowledgment sent {"connection_id":175826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:26:05] local.INFO: TCP Data received {"connection_id":177018,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177018,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:05] local.INFO: Processing buffer {"connection_id":177018,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:05] local.INFO: IMEI packet received {"connection_id":177018,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":177018,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:26:06] local.INFO: TCP Data received {"connection_id":177018,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177018,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:06] local.INFO: Processing buffer {"connection_id":177018,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:06] local.INFO: IMEI packet received {"connection_id":177018,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":177018,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:26:07] local.INFO: TCP Data received {"connection_id":177018,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177018,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:07] local.INFO: Processing buffer {"connection_id":177018,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:07] local.INFO: IMEI packet received {"connection_id":177018,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":177018,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:26:08] local.INFO: TCP Data received {"connection_id":177018,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177018,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:08] local.INFO: Processing buffer {"connection_id":177018,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:26:08] local.INFO: IMEI packet received {"connection_id":177018,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":177018,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:26:24] local.INFO: TCP Data received {"connection_id":177019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:26:24] local.INFO: Processing buffer {"connection_id":177019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:26:24] local.INFO: IMEI packet received {"connection_id":177019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":177019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:26:26] local.INFO: TCP Data received {"connection_id":177019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:26:26] local.INFO: Processing buffer {"connection_id":177019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:26:26] local.INFO: IMEI packet received {"connection_id":177019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":177019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:26:30] local.INFO: TCP Data received {"connection_id":177019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cf8588012d7b8c0005e93cd0000001071e..."} 
[2026-09-09 16:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cf8588012d7b8c0005e93cd0000001071e..."} 
[2026-09-09 16:26:30] local.INFO: Processing buffer {"connection_id":177019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cf8588012d7b8c0005e93cd0000001071e..."} 
[2026-09-09 16:26:30] local.INFO: Packet analysis {"connection_id":177019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:26:30] local.INFO: Extracted packet for processing {"connection_id":177019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763071488,"raw_latitude":99171536,"longitude_deg":76.3071488,"latitude_deg":9.9171536,"altitude":0,"angle":263,"satellites":30,"speed":2,"hex_longitude":"2d7b8c00","hex_latitude":"05e93cd0","is_valid_coordinates":true} 
[2026-09-09 16:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971548160001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130332058202406912,"note":"Value kept but may cause issues"} 
[2026-09-09 16:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902912801257619456,"note":"Value kept but may cause issues"} 
[2026-09-09 16:26:30] 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-09-09 16:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788951365000,"timestamp_ms":1788951365000,"timestamp_seconds":1788951365,"priority":1,"record_length":96,"hex_timestamp":"000001a085cf8588"} 
[2026-09-09 16:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 16:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971548160001,"66":13678,"156":206,"87":13824,"24":2,"16":130332058202406912,"45":8902912801257619456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-09 16:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971548160001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:26:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 16:26:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130332058202406912,"km_value":130332058202406.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902912801257619456,"description":"Unknown IO ID 45"} 
[2026-09-09 16:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971548160001,"power":13678,"unknown_156":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8902912801257619456}} 
[2026-09-09 16:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":177019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:26:30] local.INFO: GPS data processed {"connection_id":177019,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:26:30] local.INFO: Acknowledgment sent {"connection_id":177019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:26:38] local.INFO: TCP Data received {"connection_id":178399,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:26:38] local.INFO: Processing buffer {"connection_id":178399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:26:38] local.INFO: IMEI packet received {"connection_id":178399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":178399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:26:43] local.INFO: TCP Data received {"connection_id":178399,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:26:43] local.INFO: Processing buffer {"connection_id":178399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:26:43] local.INFO: IMEI packet received {"connection_id":178399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":178399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:26:44] local.INFO: TCP Data received {"connection_id":178399,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:26:44] local.INFO: Processing buffer {"connection_id":178399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:26:44] local.INFO: Packet analysis {"connection_id":178399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:26:44] local.INFO: Extracted packet for processing {"connection_id":178399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":178399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:26:44] local.INFO: GPS data processed {"connection_id":178399,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:26:44] local.INFO: Acknowledgment sent {"connection_id":178399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:27:02] local.INFO: TCP Data received {"connection_id":177019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cf8970012d7b8bc005e93cb0000000fb1f..."} 
[2026-09-09 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cf8970012d7b8bc005e93cb0000000fb1f..."} 
[2026-09-09 16:27:02] local.INFO: Processing buffer {"connection_id":177019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cf8970012d7b8bc005e93cb0000000fb1f..."} 
[2026-09-09 16:27:02] local.INFO: Packet analysis {"connection_id":177019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:27:02] local.INFO: Extracted packet for processing {"connection_id":177019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763071424,"raw_latitude":99171504,"longitude_deg":76.3071424,"latitude_deg":9.9171504,"altitude":0,"angle":251,"satellites":31,"speed":3,"hex_longitude":"2d7b8bc0","hex_latitude":"05e93cb0","is_valid_coordinates":true} 
[2026-09-09 16:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971549440001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130332062497374208,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902490588792541184,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:02] 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-09-09 16:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788951366000,"timestamp_ms":1788951366000,"timestamp_seconds":1788951366,"priority":1,"record_length":96,"hex_timestamp":"000001a085cf8970"} 
[2026-09-09 16:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 16:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16: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-09-09 16:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971549440001,"66":13722,"156":206,"87":13824,"24":3,"16":130332062497374208,"45":8902490588792541184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-09 16:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971549440001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:27:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 16:27:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130332062497374208,"km_value":130332062497374.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902490588792541184,"description":"Unknown IO ID 45"} 
[2026-09-09 16:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971549440001,"power":13722,"unknown_156":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8902490588792541184}} 
[2026-09-09 16:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":177019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:27:02] local.INFO: GPS data processed {"connection_id":177019,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:27:02] local.INFO: Acknowledgment sent {"connection_id":177019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:27:16] local.INFO: TCP Data received {"connection_id":178399,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:27:16] local.INFO: Processing buffer {"connection_id":178399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:27:16] local.INFO: Packet analysis {"connection_id":178399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:27:16] local.INFO: Extracted packet for processing {"connection_id":178399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":178399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:27:16] local.INFO: GPS data processed {"connection_id":178399,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:27:16] local.INFO: Acknowledgment sent {"connection_id":178399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:27:20] local.INFO: TCP Data received {"connection_id":177020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:27:20] local.INFO: Processing buffer {"connection_id":177020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:27:20] local.INFO: IMEI packet received {"connection_id":177020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":177020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:27:24] local.INFO: TCP Data received {"connection_id":177020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:27:24] local.INFO: Processing buffer {"connection_id":177020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:27:24] local.INFO: IMEI packet received {"connection_id":177020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":177020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:27:27] local.INFO: TCP Data received {"connection_id":177020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cf9cf8012d7b8ac005e93c480000011e1e..."} 
[2026-09-09 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cf9cf8012d7b8ac005e93c480000011e1e..."} 
[2026-09-09 16:27:27] local.INFO: Processing buffer {"connection_id":177020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cf9cf8012d7b8ac005e93c480000011e1e..."} 
[2026-09-09 16:27:27] local.INFO: Packet analysis {"connection_id":177020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:27:27] local.INFO: Extracted packet for processing {"connection_id":177020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":99171400,"longitude_deg":76.3071168,"latitude_deg":9.91714,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05e93c48","is_valid_coordinates":true} 
[2026-09-09 16:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971549696001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130332079677243392,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902420220048355328,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:27] 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-09-09 16:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788951371000,"timestamp_ms":1788951371000,"timestamp_seconds":1788951371,"priority":1,"record_length":96,"hex_timestamp":"000001a085cf9cf8"} 
[2026-09-09 16:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:27: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-09-09 16: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 16:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971549696001,"66":13678,"156":206,"87":13824,"24":0,"16":130332079677243392,"45":8902420220048355328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-09 16:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971549696001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:27:27] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 16:27:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130332079677243392,"km_value":130332079677243.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902420220048355328,"description":"Unknown IO ID 45"} 
[2026-09-09 16:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971549696001,"power":13678,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8902420220048355328}} 
[2026-09-09 16:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":177020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:27:27] local.INFO: GPS data processed {"connection_id":177020,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:27:27] local.INFO: Acknowledgment sent {"connection_id":177020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:27:39] local.INFO: TCP Data received {"connection_id":175615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:27:39] local.INFO: Processing buffer {"connection_id":175615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:27:39] local.INFO: IMEI packet received {"connection_id":175615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":175615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:27:43] local.INFO: TCP Data received {"connection_id":175615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:27:43] local.INFO: Processing buffer {"connection_id":175615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:27:43] local.INFO: IMEI packet received {"connection_id":175615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":175615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:27:45] local.INFO: TCP Data received {"connection_id":175615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:27:45] local.INFO: Processing buffer {"connection_id":175615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:27:45] local.INFO: Packet analysis {"connection_id":175615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:27:45] local.INFO: Extracted packet for processing {"connection_id":175615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:27:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":175615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:27:45] local.INFO: GPS data processed {"connection_id":175615,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:27:45] local.INFO: Acknowledgment sent {"connection_id":175615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:27:47] local.INFO: TCP Data received {"connection_id":177020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085cfa0e0012d7b8a4005e93c40000001081e..."} 
[2026-09-09 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cfa0e0012d7b8a4005e93c40000001081e..."} 
[2026-09-09 16:27:47] local.INFO: Processing buffer {"connection_id":177020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cfa0e0012d7b8a4005e93c40000001081e..."} 
[2026-09-09 16:27:47] local.INFO: Packet analysis {"connection_id":177020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:27:47] local.INFO: Extracted packet for processing {"connection_id":177020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763071040,"raw_latitude":99171392,"longitude_deg":76.307104,"latitude_deg":9.9171392,"altitude":0,"angle":264,"satellites":30,"speed":0,"hex_longitude":"2d7b8a40","hex_latitude":"05e93c40","is_valid_coordinates":true} 
[2026-09-09 16:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971550976001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130332079677243392,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745071618048,"note":"Value kept but may cause issues"} 
[2026-09-09 16:27:47] 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-09-09 16:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788951372000,"timestamp_ms":1788951372000,"timestamp_seconds":1788951372,"priority":1,"record_length":96,"hex_timestamp":"000001a085cfa0e0"} 
[2026-09-09 16:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 16:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971550976001,"66":13678,"156":206,"87":13824,"24":0,"16":130332079677243392,"45":8902138745071618048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-09 16:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971550976001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:27:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 16:27:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130332079677243392,"km_value":130332079677243.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745071618048,"description":"Unknown IO ID 45"} 
[2026-09-09 16:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971550976001,"power":13678,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8902138745071618048}} 
[2026-09-09 16:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":177020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:27:47] local.INFO: GPS data processed {"connection_id":177020,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:27:47] local.INFO: Acknowledgment sent {"connection_id":177020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:28:16] local.INFO: TCP Data received {"connection_id":175615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:28:16] local.INFO: Processing buffer {"connection_id":175615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ccab10012d34cc4006aa49080000013423..."} 
[2026-09-09 16:28:16] local.INFO: Packet analysis {"connection_id":175615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:28:16] local.INFO: Extracted packet for processing {"connection_id":175615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cc"} 
[2026-09-09 16:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971424512001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788951178000,"timestamp_ms":1788951178000,"timestamp_seconds":1788951178,"priority":1,"record_length":96,"hex_timestamp":"000001a085ccab10"} 
[2026-09-09 16:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971424512001,"66":25625,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971424512001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971424512001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":175615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:28:16] local.INFO: GPS data processed {"connection_id":175615,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:28:16] local.INFO: Acknowledgment sent {"connection_id":175615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:28:21] local.INFO: TCP Data received {"connection_id":178401,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:28:21] local.INFO: Processing buffer {"connection_id":178401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:28:21] local.INFO: IMEI packet received {"connection_id":178401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":178401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:28:24] local.INFO: TCP Data received {"connection_id":178401,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:28:24] local.INFO: Processing buffer {"connection_id":178401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:28:24] local.INFO: IMEI packet received {"connection_id":178401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":178401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:28:25] local.INFO: TCP Data received {"connection_id":178401,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d11010012d7b4a8005e92d58000000bf1e..."} 
[2026-09-09 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d11010012d7b4a8005e92d58000000bf1e..."} 
[2026-09-09 16:28:25] local.INFO: Processing buffer {"connection_id":178401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d11010012d7b4a8005e92d58000000bf1e..."} 
[2026-09-09 16:28:25] local.INFO: Packet analysis {"connection_id":178401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:28:25] local.INFO: Extracted packet for processing {"connection_id":178401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":99167576,"longitude_deg":76.305472,"latitude_deg":9.9167576,"altitude":0,"angle":191,"satellites":30,"speed":9,"hex_longitude":"2d7b4a80","hex_latitude":"05e92d58","is_valid_coordinates":true} 
[2026-09-09 16:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971575040001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130332908605931520,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977817030656,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:25] 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-09-09 16:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788951466000,"timestamp_ms":1788951466000,"timestamp_seconds":1788951466,"priority":1,"record_length":96,"hex_timestamp":"000001a085d11010"} 
[2026-09-09 16:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-09 16:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971575040001,"66":13852,"201":206,"87":13824,"24":9,"16":130332908605931520,"45":8884053977817030656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 16:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971575040001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:28:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 16:28:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130332908605931520,"km_value":130332908605931.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977817030656,"description":"Unknown IO ID 45"} 
[2026-09-09 16:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971575040001,"power":13852,"unknown_201":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8884053977817030656}} 
[2026-09-09 16:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":178401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:28:25] local.INFO: GPS data processed {"connection_id":178401,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:28:25] local.INFO: Acknowledgment sent {"connection_id":178401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:28:34] local.INFO: TCP Data received {"connection_id":178401,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d113f8012d7b4a4005e92c30000000ae1f..."} 
[2026-09-09 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d113f8012d7b4a4005e92c30000000ae1f..."} 
[2026-09-09 16:28:34] local.INFO: Processing buffer {"connection_id":178401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d113f8012d7b4a4005e92c30000000ae1f..."} 
[2026-09-09 16:28:34] local.INFO: Packet analysis {"connection_id":178401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:28:34] local.INFO: Extracted packet for processing {"connection_id":178401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763054656,"raw_latitude":99167280,"longitude_deg":76.3054656,"latitude_deg":9.916728,"altitude":0,"angle":174,"satellites":31,"speed":12,"hex_longitude":"2d7b4a40","hex_latitude":"05e92c30","is_valid_coordinates":true} 
[2026-09-09 16:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971575296001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130332921490833408,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977816979456,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28: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-09-09 16:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788951467000,"timestamp_ms":1788951467000,"timestamp_seconds":1788951467,"priority":1,"record_length":96,"hex_timestamp":"000001a085d113f8"} 
[2026-09-09 16:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 16:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":178401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":178401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":178401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16: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-09-09 16:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971575296001,"66":13852,"201":206,"87":13824,"24":12,"16":130332921490833408,"45":8884053977816979456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 16:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971575296001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:28:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 16:28:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130332921490833408,"km_value":130332921490833.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977816979456,"description":"Unknown IO ID 45"} 
[2026-09-09 16:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971575296001,"power":13852,"unknown_201":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8884053977816979456}} 
[2026-09-09 16:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":178401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:28:34] local.INFO: GPS data processed {"connection_id":178401,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:28:34] local.INFO: Acknowledgment sent {"connection_id":178401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:28:37] local.INFO: TCP Data received {"connection_id":178402,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:28:37] local.INFO: Processing buffer {"connection_id":178402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:28:37] local.INFO: IMEI packet received {"connection_id":178402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":178402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:28:38] local.INFO: TCP Data received {"connection_id":178402,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:28:38] local.INFO: Processing buffer {"connection_id":178402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:28:38] local.INFO: IMEI packet received {"connection_id":178402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":178402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:28:40] local.INFO: TCP Data received {"connection_id":177021,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:28:40] local.INFO: Processing buffer {"connection_id":177021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:28:40] local.INFO: IMEI packet received {"connection_id":177021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":177021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:28:41] local.INFO: TCP Data received {"connection_id":177021,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085cfe348012d145e80071f4b680028004622..."} 
[2026-09-09 16:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085cfe348012d145e80071f4b680028004622..."} 
[2026-09-09 16:28:41] local.INFO: Processing buffer {"connection_id":177021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085cfe348012d145e80071f4b680028004622..."} 
[2026-09-09 16:28:41] local.INFO: Packet analysis {"connection_id":177021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:28:41] local.INFO: Extracted packet for processing {"connection_id":177021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085cf"} 
[2026-09-09 16:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756309632,"raw_latitude":119491432,"longitude_deg":75.6309632,"latitude_deg":11.9491432,"altitude":40,"angle":70,"satellites":34,"speed":26,"hex_longitude":"2d145e80","hex_latitude":"071f4b68","is_valid_coordinates":true} 
[2026-09-09 16:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971553024001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19090803213205504,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1457688566229286912,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788951389000,"timestamp_ms":1788951389000,"timestamp_seconds":1788951389,"priority":1,"record_length":96,"hex_timestamp":"000001a085cfe348"} 
[2026-09-09 16:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 16:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971553024001,"66":13972,"11":206,"83":41984,"24":26,"16":19090803213205504,"45":1457688566229286912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-09 16:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971553024001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:28:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-09 16:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19090803213205504,"km_value":19090803213205.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1457688566229286912,"description":"Unknown IO ID 45"} 
[2026-09-09 16:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971553024001,"power":13972,"unknown_11":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1457688566229286912}} 
[2026-09-09 16:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":177021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:28:41] local.INFO: GPS data processed {"connection_id":177021,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:28:41] local.INFO: Acknowledgment sent {"connection_id":177021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:28:43] local.INFO: TCP Data received {"connection_id":178402,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:28:43] local.INFO: Processing buffer {"connection_id":178402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:28:43] local.INFO: IMEI packet received {"connection_id":178402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":178402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:28:45] local.INFO: TCP Data received {"connection_id":178402,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:28:45] local.INFO: Processing buffer {"connection_id":178402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:28:45] local.INFO: Packet analysis {"connection_id":178402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:28:45] local.INFO: Extracted packet for processing {"connection_id":178402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":178402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:28:45] local.INFO: GPS data processed {"connection_id":178402,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:28:45] local.INFO: Acknowledgment sent {"connection_id":178402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:29:09] local.INFO: TCP Data received {"connection_id":178401,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d15278012d7b4ac005e91fd80000009f1e..."} 
[2026-09-09 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d15278012d7b4ac005e91fd80000009f1e..."} 
[2026-09-09 16:29:09] local.INFO: Processing buffer {"connection_id":178401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d15278012d7b4ac005e91fd80000009f1e..."} 
[2026-09-09 16:29:09] local.INFO: Packet analysis {"connection_id":178401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:09] local.INFO: Extracted packet for processing {"connection_id":178401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":99164120,"longitude_deg":76.3054784,"latitude_deg":9.916412,"altitude":0,"angle":159,"satellites":30,"speed":2,"hex_longitude":"2d7b4ac0","hex_latitude":"05e91fd8","is_valid_coordinates":true} 
[2026-09-09 16:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971575552001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130333084699590656,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883983609072726016,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:09] 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-09-09 16:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788951483000,"timestamp_ms":1788951483000,"timestamp_seconds":1788951483,"priority":1,"record_length":96,"hex_timestamp":"000001a085d15278"} 
[2026-09-09 16:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 16:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971575552001,"66":13678,"201":206,"87":13824,"24":2,"16":130333084699590656,"45":8883983609072726016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 16:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971575552001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:29:09] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 16:29:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130333084699590656,"km_value":130333084699590.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883983609072726016,"description":"Unknown IO ID 45"} 
[2026-09-09 16:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971575552001,"power":13678,"unknown_201":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8883983609072726016}} 
[2026-09-09 16:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":178401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:29:09] local.INFO: GPS data processed {"connection_id":178401,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:29:09] local.INFO: Acknowledgment sent {"connection_id":178401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:29:12] local.INFO: TCP Data received {"connection_id":177021,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d13b08012d1568c0071fc6280023005d26..."} 
[2026-09-09 16:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d13b08012d1568c0071fc6280023005d26..."} 
[2026-09-09 16:29:12] local.INFO: Processing buffer {"connection_id":177021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d13b08012d1568c0071fc6280023005d26..."} 
[2026-09-09 16:29:12] local.INFO: Packet analysis {"connection_id":177021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:12] local.INFO: Extracted packet for processing {"connection_id":177021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756377792,"raw_latitude":119522856,"longitude_deg":75.6377792,"latitude_deg":11.9522856,"altitude":35,"angle":93,"satellites":38,"speed":43,"hex_longitude":"2d1568c0","hex_latitude":"071fc628","is_valid_coordinates":true} 
[2026-09-09 16:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971575808001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19094479705210880,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1532068328834093056,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788951477000,"timestamp_ms":1788951477000,"timestamp_seconds":1788951477,"priority":1,"record_length":96,"hex_timestamp":"000001a085d13b08"} 
[2026-09-09 16:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:29: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-09-09 16:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 16:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971575808001,"66":14428,"87":206,"83":41984,"24":43,"16":19094479705210880,"45":1532068328834093056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-09 16:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971575808001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:29:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-09 16:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19094479705210880,"km_value":19094479705210.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1532068328834093056,"description":"Unknown IO ID 45"} 
[2026-09-09 16:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971575808001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1532068328834093056}} 
[2026-09-09 16:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":177021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:29:12] local.INFO: GPS data processed {"connection_id":177021,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:29:12] local.INFO: Acknowledgment sent {"connection_id":177021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:29:17] local.INFO: TCP Data received {"connection_id":178402,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:29:17] local.INFO: Processing buffer {"connection_id":178402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:29:17] local.INFO: Packet analysis {"connection_id":178402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:17] local.INFO: Extracted packet for processing {"connection_id":178402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:29: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-09-09 16:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":178402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:29:17] local.INFO: GPS data processed {"connection_id":178402,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:29:17] local.INFO: Acknowledgment sent {"connection_id":178402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:29:18] local.INFO: TCP Data received {"connection_id":178404,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:29:18] local.INFO: Processing buffer {"connection_id":178404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:29:18] local.INFO: IMEI packet received {"connection_id":178404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":178404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:29:19] local.INFO: TCP Data received {"connection_id":178404,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:29:19] local.INFO: Processing buffer {"connection_id":178404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:29:19] local.INFO: IMEI packet received {"connection_id":178404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":178404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:29:25] local.INFO: TCP Data received {"connection_id":178404,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:29:25] local.INFO: Processing buffer {"connection_id":178404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:29:25] local.INFO: IMEI packet received {"connection_id":178404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":178404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:29:26] local.INFO: TCP Data received {"connection_id":178404,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d15660012d7b4ac005e91fa0000000aa1e..."} 
[2026-09-09 16:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d15660012d7b4ac005e91fa0000000aa1e..."} 
[2026-09-09 16:29:26] local.INFO: Processing buffer {"connection_id":178404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d15660012d7b4ac005e91fa0000000aa1e..."} 
[2026-09-09 16:29:26] local.INFO: Packet analysis {"connection_id":178404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:26] local.INFO: Extracted packet for processing {"connection_id":178404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":99164064,"longitude_deg":76.3054784,"latitude_deg":9.9164064,"altitude":0,"angle":170,"satellites":30,"speed":2,"hex_longitude":"2d7b4ac0","hex_latitude":"05e91fa0","is_valid_coordinates":true} 
[2026-09-09 16:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971579648001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130333084699590656,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346560272384,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29: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-09-09 16:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788951484000,"timestamp_ms":1788951484000,"timestamp_seconds":1788951484,"priority":1,"record_length":96,"hex_timestamp":"000001a085d15660"} 
[2026-09-09 16:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 16:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971579648001,"66":13820,"201":206,"87":13824,"24":2,"16":130333084699590656,"45":8884124346560272384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 16:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971579648001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:29:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 16:29:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130333084699590656,"km_value":130333084699590.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346560272384,"description":"Unknown IO ID 45"} 
[2026-09-09 16:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971579648001,"power":13820,"unknown_201":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8884124346560272384}} 
[2026-09-09 16:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":178404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:29:27] local.INFO: GPS data processed {"connection_id":178404,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:29:27] local.INFO: Acknowledgment sent {"connection_id":178404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:29:29] local.INFO: TCP Data received {"connection_id":177022,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:29:29] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:29:29] local.INFO: IMEI packet received {"connection_id":177022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":177022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:29:33] local.INFO: TCP Data received {"connection_id":177022,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:29:33] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:29:33] local.INFO: IMEI packet received {"connection_id":177022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":177022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:29:34] local.INFO: TCP Data received {"connection_id":177022,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:29:34] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:29:34] local.INFO: IMEI packet received {"connection_id":177022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":177022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:29:35] local.INFO: TCP Data received {"connection_id":177022,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d15278012d1582c0071fc7200021005226..."} 
[2026-09-09 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d15278012d1582c0071fc7200021005226..."} 
[2026-09-09 16:29:35] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d15278012d1582c0071fc7200021005226..."} 
[2026-09-09 16:29:35] local.INFO: Packet analysis {"connection_id":177022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:35] local.INFO: Extracted packet for processing {"connection_id":177022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756384448,"raw_latitude":119523104,"longitude_deg":75.6384448,"latitude_deg":11.9523104,"altitude":33,"angle":82,"satellites":38,"speed":43,"hex_longitude":"2d1582c0","hex_latitude":"071fc720","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578112001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19094797532790784,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1542694009204779008,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788951483000,"timestamp_ms":1788951483000,"timestamp_seconds":1788951483,"priority":1,"record_length":96,"hex_timestamp":"000001a085d15278"} 
[2026-09-09 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-09-09 16:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 16:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578112001,"66":14211,"87":206,"83":41984,"24":43,"16":19094797532790784,"45":1542694009204779008},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-09 16:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578112001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:29:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-09 16:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19094797532790784,"km_value":19094797532790.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1542694009204779008,"description":"Unknown IO ID 45"} 
[2026-09-09 16:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578112001,"power":14211,"unknown_87":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1542694009204779008}} 
[2026-09-09 16:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":177022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:29:35] local.INFO: GPS data processed {"connection_id":177022,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:29:35] local.INFO: Acknowledgment sent {"connection_id":177022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:29:40] local.INFO: TCP Data received {"connection_id":177022,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d17988012d15a640071fcfd0001f004a23..."} 
[2026-09-09 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d17988012d15a640071fcfd0001f004a23..."} 
[2026-09-09 16:29:40] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d17988012d15a640071fcfd0001f004a23..."} 
[2026-09-09 16:29:40] local.INFO: Packet analysis {"connection_id":177022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:40] local.INFO: Extracted packet for processing {"connection_id":177022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":756393536,"raw_latitude":119525328,"longitude_deg":75.6393536,"latitude_deg":11.9525328,"altitude":31,"angle":74,"satellites":35,"speed":32,"hex_longitude":"2d15a640","hex_latitude":"071fcfd0","is_valid_coordinates":true} 
[2026-09-09 16:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971579648001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19095239914422272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1550012358599319552,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788951493000,"timestamp_ms":1788951493000,"timestamp_seconds":1788951493,"priority":1,"record_length":96,"hex_timestamp":"000001a085d17988"} 
[2026-09-09 16:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 16:29:40] 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-09-09 16:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971579648001,"66":14396,"87":206,"83":41984,"24":32,"16":19095239914422272,"45":1550012358599319552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-09 16:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971579648001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:29:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-09 16:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19095239914422272,"km_value":19095239914422.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1550012358599319552,"description":"Unknown IO ID 45"} 
[2026-09-09 16:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971579648001,"power":14396,"unknown_87":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1550012358599319552}} 
[2026-09-09 16:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":177022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:29:40] local.INFO: GPS data processed {"connection_id":177022,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:29:40] local.INFO: Acknowledgment sent {"connection_id":177022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:29:43] local.INFO: TCP Data received {"connection_id":177024,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:29:43] local.INFO: Processing buffer {"connection_id":177024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:29:43] local.INFO: IMEI packet received {"connection_id":177024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":177024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:29:49] local.INFO: TCP Data received {"connection_id":177024,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:29:49] local.INFO: Processing buffer {"connection_id":177024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:29:49] local.INFO: IMEI packet received {"connection_id":177024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":177024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:29:51] local.INFO: TCP Data received {"connection_id":177024,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:29:51] local.INFO: Processing buffer {"connection_id":177024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:29:51] local.INFO: Packet analysis {"connection_id":177024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:51] local.INFO: Extracted packet for processing {"connection_id":177024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:29:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":177024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:29:51] local.INFO: GPS data processed {"connection_id":177024,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:29:51] local.INFO: Acknowledgment sent {"connection_id":177024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:29:54] local.INFO: TCP Data received {"connection_id":177024,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:29:54] local.INFO: Processing buffer {"connection_id":177024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:29:54] local.INFO: Packet analysis {"connection_id":177024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:54] local.INFO: Extracted packet for processing {"connection_id":177024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":177024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:29:54] local.INFO: GPS data processed {"connection_id":177024,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:29:54] local.INFO: Acknowledgment sent {"connection_id":177024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:29:59] local.INFO: TCP Data received {"connection_id":178404,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d15a48012d7b4ac005e91f50000000b71e..."} 
[2026-09-09 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d15a48012d7b4ac005e91f50000000b71e..."} 
[2026-09-09 16:29:59] local.INFO: Processing buffer {"connection_id":178404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d15a48012d7b4ac005e91f50000000b71e..."} 
[2026-09-09 16:29:59] local.INFO: Packet analysis {"connection_id":178404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:59] local.INFO: Extracted packet for processing {"connection_id":178404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":99163984,"longitude_deg":76.3054784,"latitude_deg":9.9163984,"altitude":0,"angle":183,"satellites":30,"speed":3,"hex_longitude":"2d7b4ac0","hex_latitude":"05e91f50","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971579904001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130333088994557952,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346560258048,"note":"Value kept but may cause issues"} 
[2026-09-09 16:29:59] 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-09-09 16:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788951485000,"timestamp_ms":1788951485000,"timestamp_seconds":1788951485,"priority":1,"record_length":96,"hex_timestamp":"000001a085d15a48"} 
[2026-09-09 16:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:29: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-09-09 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971579904001,"66":13820,"201":206,"87":13824,"24":3,"16":130333088994557952,"45":8884124346560258048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 16:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971579904001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:29:59] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 16:29:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130333088994557952,"km_value":130333088994557.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346560258048,"description":"Unknown IO ID 45"} 
[2026-09-09 16:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971579904001,"power":13820,"unknown_201":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8884124346560258048}} 
[2026-09-09 16:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":178404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:29:59] local.INFO: GPS data processed {"connection_id":178404,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:29:59] local.INFO: Acknowledgment sent {"connection_id":178404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:30:11] local.INFO: TCP Data received {"connection_id":177022,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d1cb90012d15c040071fd5d0001d004f27..."} 
[2026-09-09 16:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d1cb90012d15c040071fd5d0001d004f27..."} 
[2026-09-09 16:30:11] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d1cb90012d15c040071fd5d0001d004f27..."} 
[2026-09-09 16:30:11] local.INFO: Packet analysis {"connection_id":177022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:30:11] local.INFO: Extracted packet for processing {"connection_id":177022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756400192,"raw_latitude":119526864,"longitude_deg":75.6400192,"latitude_deg":11.9526864,"altitude":29,"angle":79,"satellites":39,"speed":8,"hex_longitude":"2d15c040","hex_latitude":"071fd5d0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971582208001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19095570626904064,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1560004720273117184,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788951514000,"timestamp_ms":1788951514000,"timestamp_seconds":1788951514,"priority":1,"record_length":96,"hex_timestamp":"000001a085d1cb90"} 
[2026-09-09 16:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 16:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971582208001,"66":14298,"87":206,"83":41984,"24":8,"16":19095570626904064,"45":1560004720273117184},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-09 16:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971582208001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:30:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-09 16:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19095570626904064,"km_value":19095570626904.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1560004720273117184,"description":"Unknown IO ID 45"} 
[2026-09-09 16:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971582208001,"power":14298,"unknown_87":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1560004720273117184}} 
[2026-09-09 16:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":177022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:30:11] local.INFO: GPS data processed {"connection_id":177022,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:30:11] local.INFO: Acknowledgment sent {"connection_id":177022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:30:24] local.INFO: TCP Data received {"connection_id":175831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:30:24] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:30:24] local.INFO: IMEI packet received {"connection_id":175831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":175831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:30:29] local.INFO: TCP Data received {"connection_id":175831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:30:29] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:30:29] local.INFO: IMEI packet received {"connection_id":175831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":175831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:30:29] local.INFO: TCP Data received {"connection_id":178405,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:29] local.INFO: Processing buffer {"connection_id":178405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:29] local.INFO: IMEI packet received {"connection_id":178405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":178405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:30:30] local.INFO: TCP Data received {"connection_id":175831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d2dd00012d7b5b0005e81638000500ae1e..."} 
[2026-09-09 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d2dd00012d7b5b0005e81638000500ae1e..."} 
[2026-09-09 16:30:30] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d2dd00012d7b5b0005e81638000500ae1e..."} 
[2026-09-09 16:30:30] local.INFO: Packet analysis {"connection_id":175831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d2"} 
[2026-09-09 16:30:30] local.INFO: Extracted packet for processing {"connection_id":175831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d2"} 
[2026-09-09 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763058944,"raw_latitude":99096120,"longitude_deg":76.3058944,"latitude_deg":9.909612,"altitude":5,"angle":174,"satellites":30,"speed":8,"hex_longitude":"2d7b5b00","hex_latitude":"05e81638","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971603712001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130336409004277760,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888698314914459648,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:30] 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-09-09 16:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788951584000,"timestamp_ms":1788951584000,"timestamp_seconds":1788951584,"priority":1,"record_length":96,"hex_timestamp":"000001a085d2dd00"} 
[2026-09-09 16:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971603712001,"66":13091,"201":206,"87":13824,"24":8,"16":130336409004277760,"45":8888698314914459648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 16:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971603712001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:30:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 16:30:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130336409004277760,"km_value":130336409004277.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888698314914459648,"description":"Unknown IO ID 45"} 
[2026-09-09 16:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971603712001,"power":13091,"unknown_201":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8888698314914459648}} 
[2026-09-09 16:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":175831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:30:30] local.INFO: GPS data processed {"connection_id":175831,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:30:30] local.INFO: Acknowledgment sent {"connection_id":175831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:30:31] local.INFO: TCP Data received {"connection_id":178405,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:31] local.INFO: Processing buffer {"connection_id":178405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:31] local.INFO: IMEI packet received {"connection_id":178405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":178405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:30:33] local.INFO: TCP Data received {"connection_id":178405,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:33] local.INFO: Processing buffer {"connection_id":178405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:33] local.INFO: IMEI packet received {"connection_id":178405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":178405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:30:34] local.INFO: TCP Data received {"connection_id":178405,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:34] local.INFO: Processing buffer {"connection_id":178405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:30:34] local.INFO: IMEI packet received {"connection_id":178405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":178405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:30:35] local.INFO: TCP Data received {"connection_id":178405,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d2d530012d163900071fddd80021009025..."} 
[2026-09-09 16:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d2d530012d163900071fddd80021009025..."} 
[2026-09-09 16:30:35] local.INFO: Processing buffer {"connection_id":178405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d2d530012d163900071fddd80021009025..."} 
[2026-09-09 16:30:35] local.INFO: Packet analysis {"connection_id":178405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d2"} 
[2026-09-09 16:30:35] local.INFO: Extracted packet for processing {"connection_id":178405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d2"} 
[2026-09-09 16:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756431104,"raw_latitude":119528920,"longitude_deg":75.6431104,"latitude_deg":11.952892,"altitude":33,"angle":144,"satellites":37,"speed":10,"hex_longitude":"2d163900","hex_latitude":"071fddd8","is_valid_coordinates":true} 
[2026-09-09 16:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971604736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19097198419509248,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601170435618029568,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788951582000,"timestamp_ms":1788951582000,"timestamp_seconds":1788951582,"priority":1,"record_length":96,"hex_timestamp":"000001a085d2d530"} 
[2026-09-09 16:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 16:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971604736001,"66":14265,"87":206,"83":41984,"24":10,"16":19097198419509248,"45":1601170435618029568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-09 16:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971604736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:30:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-09 16:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19097198419509248,"km_value":19097198419509.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601170435618029568,"description":"Unknown IO ID 45"} 
[2026-09-09 16:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971604736001,"power":14265,"unknown_87":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1601170435618029568}} 
[2026-09-09 16:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":178405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:30:35] local.INFO: GPS data processed {"connection_id":178405,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:30:35] local.INFO: Acknowledgment sent {"connection_id":178405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:30:38] local.INFO: TCP Data received {"connection_id":177025,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:30:38] local.INFO: Processing buffer {"connection_id":177025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:30:38] local.INFO: IMEI packet received {"connection_id":177025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":177025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:30:43] local.INFO: TCP Data received {"connection_id":177025,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:30:43] local.INFO: Processing buffer {"connection_id":177025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:30:43] local.INFO: IMEI packet received {"connection_id":177025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":177025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:30:44] local.INFO: TCP Data received {"connection_id":177025,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:30:44] local.INFO: Processing buffer {"connection_id":177025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:30:44] local.INFO: Packet analysis {"connection_id":177025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:30:44] local.INFO: Extracted packet for processing {"connection_id":177025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":177025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:30:44] local.INFO: GPS data processed {"connection_id":177025,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:30:44] local.INFO: Acknowledgment sent {"connection_id":177025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:01] local.INFO: TCP Data received {"connection_id":175831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d31798012d7b5b8005e7f0a0000000b81f..."} 
[2026-09-09 16:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d31798012d7b5b8005e7f0a0000000b81f..."} 
[2026-09-09 16:31:01] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d31798012d7b5b8005e7f0a0000000b81f..."} 
[2026-09-09 16:31:01] local.INFO: Packet analysis {"connection_id":175831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:01] local.INFO: Extracted packet for processing {"connection_id":175831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":99086496,"longitude_deg":76.3059072,"latitude_deg":9.9086496,"altitude":0,"angle":184,"satellites":31,"speed":32,"hex_longitude":"2d7b5b80","hex_latitude":"05e7f0a0","is_valid_coordinates":true} 
[2026-09-09 16:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971605504001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130336877155713024,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888698314914412544,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:01] 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-09-09 16:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788951599000,"timestamp_ms":1788951599000,"timestamp_seconds":1788951599,"priority":1,"record_length":96,"hex_timestamp":"000001a085d31798"} 
[2026-09-09 16:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-09 16:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971605504001,"66":14135,"201":206,"87":13824,"24":32,"16":130336877155713024,"45":8888698314914412544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 16:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971605504001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:01] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 16:31:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130336877155713024,"km_value":130336877155713.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888698314914412544,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971605504001,"power":14135,"unknown_201":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8888698314914412544}} 
[2026-09-09 16:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":175831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:02] local.INFO: GPS data processed {"connection_id":175831,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:02] local.INFO: Acknowledgment sent {"connection_id":175831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:06] local.INFO: TCP Data received {"connection_id":178405,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d2dd00012d163a80071fdc700021007b25..."} 
[2026-09-09 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d2dd00012d163a80071fdc700021007b25..."} 
[2026-09-09 16:31:06] local.INFO: Processing buffer {"connection_id":178405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d2dd00012d163a80071fdc700021007b25..."} 
[2026-09-09 16:31:06] local.INFO: Packet analysis {"connection_id":178405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d2"} 
[2026-09-09 16:31:06] local.INFO: Extracted packet for processing {"connection_id":178405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d2"} 
[2026-09-09 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756431488,"raw_latitude":119528560,"longitude_deg":75.6431488,"latitude_deg":11.952856,"altitude":33,"angle":123,"satellites":37,"speed":11,"hex_longitude":"2d163a80","hex_latitude":"071fdc70","is_valid_coordinates":true} 
[2026-09-09 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971604992001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19097224189313024,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601311173106325504,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788951584000,"timestamp_ms":1788951584000,"timestamp_seconds":1788951584,"priority":1,"record_length":96,"hex_timestamp":"000001a085d2dd00"} 
[2026-09-09 16:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971604992001,"66":13722,"87":206,"83":41984,"24":11,"16":19097224189313024,"45":1601311173106325504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-09 16:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971604992001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-09 16:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19097224189313024,"km_value":19097224189313.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601311173106325504,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971604992001,"power":13722,"unknown_87":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1601311173106325504}} 
[2026-09-09 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":178405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:06] local.INFO: GPS data processed {"connection_id":178405,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:06] local.INFO: Acknowledgment sent {"connection_id":178405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:10] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:31:10] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:31:10] local.INFO: IMEI packet received {"connection_id":175617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":175617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:31:11] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085d388e0012d0dfd8007070668002201101b..."} 
[2026-09-09 16:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d388e0012d0dfd8007070668002201101b..."} 
[2026-09-09 16:31:11] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d388e0012d0dfd8007070668002201101b..."} 
[2026-09-09 16:31:11] local.INFO: Packet analysis {"connection_id":175617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:11] local.INFO: Extracted packet for processing {"connection_id":175617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:11] local.INFO: GPS Element Parsed {"raw_longitude":755891584,"raw_latitude":117900904,"longitude_deg":75.5891584,"latitude_deg":11.7900904,"altitude":34,"angle":272,"satellites":27,"speed":16,"hex_longitude":"2d0dfd80","hex_latitude":"07070668","is_valid_coordinates":true} 
[2026-09-09 16:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971615744001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31007744026738688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009791509132019712,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:11] 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-09-09 16:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788951628000,"timestamp_ms":1788951628000,"timestamp_seconds":1788951628,"priority":1,"record_length":96,"hex_timestamp":"000001a085d388e0"} 
[2026-09-09 16:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31: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-09-09 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 16:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:31:11] 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-09-09 16:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971615744001,"66":14428,"219":206,"94":10240,"24":16,"16":31007744026738688,"45":1009791509132019712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971615744001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:31:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31007744026738688,"km_value":31007744026738.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009791509132019712,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971615744001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1009791509132019712}} 
[2026-09-09 16:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":175617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:11] local.INFO: GPS data processed {"connection_id":175617,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:11] local.INFO: Acknowledgment sent {"connection_id":175617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:15] local.INFO: TCP Data received {"connection_id":178406,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:31:15] local.INFO: Processing buffer {"connection_id":178406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:31:15] local.INFO: IMEI packet received {"connection_id":178406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":178406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:31:16] local.INFO: TCP Data received {"connection_id":177025,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:31:16] local.INFO: Processing buffer {"connection_id":177025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:31:16] local.INFO: Packet analysis {"connection_id":177025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:31:16] local.INFO: Extracted packet for processing {"connection_id":177025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":177025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:16] local.INFO: GPS data processed {"connection_id":177025,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:16] local.INFO: Acknowledgment sent {"connection_id":177025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:19] local.INFO: TCP Data received {"connection_id":178407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:31:19] local.INFO: Processing buffer {"connection_id":178407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:31:19] local.INFO: IMEI packet received {"connection_id":178407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":178407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:31:24] local.INFO: TCP Data received {"connection_id":178407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:31:24] local.INFO: Processing buffer {"connection_id":178407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:31:24] local.INFO: IMEI packet received {"connection_id":178407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":178407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:31:25] local.INFO: TCP Data received {"connection_id":178407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d332f0012d7b5a4005e7dd88000000ad1e..."} 
[2026-09-09 16:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d332f0012d7b5a4005e7dd88000000ad1e..."} 
[2026-09-09 16:31:25] local.INFO: Processing buffer {"connection_id":178407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d332f0012d7b5a4005e7dd88000000ad1e..."} 
[2026-09-09 16:31:25] local.INFO: Packet analysis {"connection_id":178407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:25] local.INFO: Extracted packet for processing {"connection_id":178407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":99081608,"longitude_deg":76.3058752,"latitude_deg":9.9081608,"altitude":0,"angle":173,"satellites":30,"speed":29,"hex_longitude":"2d7b5a40","hex_latitude":"05e7dd88","is_valid_coordinates":true} 
[2026-09-09 16:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971609344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130337113378914304,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888839052400304128,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:25] 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-09-09 16:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788951606000,"timestamp_ms":1788951606000,"timestamp_seconds":1788951606,"priority":1,"record_length":96,"hex_timestamp":"000001a085d332f0"} 
[2026-09-09 16:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 16:31: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-09-09 16:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971609344001,"66":13906,"201":206,"87":13824,"24":29,"16":130337113378914304,"45":8888839052400304128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 16:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971609344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 16:31:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130337113378914304,"km_value":130337113378914.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888839052400304128,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971609344001,"power":13906,"unknown_201":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8888839052400304128}} 
[2026-09-09 16:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":178407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:25] local.INFO: GPS data processed {"connection_id":178407,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:25] local.INFO: Acknowledgment sent {"connection_id":178407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:35] local.INFO: TCP Data received {"connection_id":175832,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:31:35] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:31:35] local.INFO: IMEI packet received {"connection_id":175832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":175832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:31:36] local.INFO: TCP Data received {"connection_id":175832,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:31:36] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:31:36] local.INFO: IMEI packet received {"connection_id":175832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":175832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:31:36] local.INFO: TCP Data received {"connection_id":175832,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d3a820012d166200071faf700020007823..."} 
[2026-09-09 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d3a820012d166200071faf700020007823..."} 
[2026-09-09 16:31:36] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d3a820012d166200071faf700020007823..."} 
[2026-09-09 16:31:36] local.INFO: Packet analysis {"connection_id":175832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:36] local.INFO: Extracted packet for processing {"connection_id":175832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756441600,"raw_latitude":119517040,"longitude_deg":75.64416,"latitude_deg":11.951704,"altitude":32,"angle":120,"satellites":35,"speed":10,"hex_longitude":"2d166200","hex_latitude":"071faf70","is_valid_coordinates":true} 
[2026-09-09 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971618048001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19097992988459008,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1612077590962604032,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788951636000,"timestamp_ms":1788951636000,"timestamp_seconds":1788951636,"priority":1,"record_length":96,"hex_timestamp":"000001a085d3a820"} 
[2026-09-09 16:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31: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-09-09 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 16:31: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-09-09 16:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971618048001,"66":14396,"86":206,"83":41984,"24":10,"16":19097992988459008,"45":1612077590962604032},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 16:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971618048001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 16:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19097992988459008,"km_value":19097992988459.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1612077590962604032,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971618048001,"power":14396,"unknown_86":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1612077590962604032}} 
[2026-09-09 16:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":175832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:36] local.INFO: GPS data processed {"connection_id":175832,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:36] local.INFO: Acknowledgment sent {"connection_id":175832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:38] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:31:38] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:31:38] local.INFO: IMEI packet received {"connection_id":175618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":175618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:31:40] local.INFO: TCP Data received {"connection_id":175832,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d3ac08012d1662c0071faf100020006c21..."} 
[2026-09-09 16:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d3ac08012d1662c0071faf100020006c21..."} 
[2026-09-09 16:31:40] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d3ac08012d1662c0071faf100020006c21..."} 
[2026-09-09 16:31:40] local.INFO: Packet analysis {"connection_id":175832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:40] local.INFO: Extracted packet for processing {"connection_id":175832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756441792,"raw_latitude":119516944,"longitude_deg":75.6441792,"latitude_deg":11.9516944,"altitude":32,"angle":108,"satellites":33,"speed":9,"hex_longitude":"2d1662c0","hex_latitude":"071faf10","is_valid_coordinates":true} 
[2026-09-09 16:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971618816001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19098005873360896,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1612851647148421120,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788951637000,"timestamp_ms":1788951637000,"timestamp_seconds":1788951637,"priority":1,"record_length":96,"hex_timestamp":"000001a085d3ac08"} 
[2026-09-09 16:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 16:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971618816001,"66":14428,"86":206,"83":41984,"24":9,"16":19098005873360896,"45":1612851647148421120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 16:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971618816001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 16:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19098005873360896,"km_value":19098005873360.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1612851647148421120,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971618816001,"power":14428,"unknown_86":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1612851647148421120}} 
[2026-09-09 16:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":175832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:40] local.INFO: GPS data processed {"connection_id":175832,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:40] local.INFO: Acknowledgment sent {"connection_id":175832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:42] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085d438a8012d0da6c00706ede00025011d1b..."} 
[2026-09-09 16:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d438a8012d0da6c00706ede00025011d1b..."} 
[2026-09-09 16:31:42] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d438a8012d0da6c00706ede00025011d1b..."} 
[2026-09-09 16:31:42] local.INFO: Packet analysis {"connection_id":175617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:31:42] local.INFO: Extracted packet for processing {"connection_id":175617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:31:42] local.INFO: GPS Element Parsed {"raw_longitude":755869376,"raw_latitude":117894624,"longitude_deg":75.5869376,"latitude_deg":11.7894624,"altitude":37,"angle":285,"satellites":27,"speed":28,"hex_longitude":"2d0da6c0","hex_latitude":"0706ede0","is_valid_coordinates":true} 
[2026-09-09 16:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971628032001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31008873603137536,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984458761226504192,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:42] 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-09-09 16:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788951673000,"timestamp_ms":1788951673000,"timestamp_seconds":1788951673,"priority":1,"record_length":96,"hex_timestamp":"000001a085d438a8"} 
[2026-09-09 16:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31: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-09-09 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 16:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:31:42] 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-09-09 16:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971628032001,"66":14439,"219":206,"94":10240,"24":28,"16":31008873603137536,"45":984458761226504192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971628032001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:31:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31008873603137536,"km_value":31008873603137.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":984458761226504192,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971628032001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":984458761226504192}} 
[2026-09-09 16:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":175617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:42] local.INFO: GPS data processed {"connection_id":175617,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:42] local.INFO: Acknowledgment sent {"connection_id":175617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:43] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:31:43] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:31:43] local.INFO: IMEI packet received {"connection_id":175618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":175618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:31:44] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:31:44] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:31:44] local.INFO: Packet analysis {"connection_id":175618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:31:44] local.INFO: Extracted packet for processing {"connection_id":175618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":175618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:44] local.INFO: GPS data processed {"connection_id":175618,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:44] local.INFO: Acknowledgment sent {"connection_id":175618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:31:45] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:31:45] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:31:45] local.INFO: IMEI packet received {"connection_id":175619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":175619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:31:57] local.INFO: TCP Data received {"connection_id":178407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d34678012d7b5cc005e7d070000000a01e..."} 
[2026-09-09 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d34678012d7b5cc005e7d070000000a01e..."} 
[2026-09-09 16:31:57] local.INFO: Processing buffer {"connection_id":178407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d34678012d7b5cc005e7d070000000a01e..."} 
[2026-09-09 16:31:57] local.INFO: Packet analysis {"connection_id":178407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:57] local.INFO: Extracted packet for processing {"connection_id":178407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763059392,"raw_latitude":99078256,"longitude_deg":76.3059392,"latitude_deg":9.9078256,"altitude":0,"angle":160,"satellites":30,"speed":16,"hex_longitude":"2d7b5cc0","hex_latitude":"05e7d070","is_valid_coordinates":true} 
[2026-09-09 16:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971611136001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130337280882638848,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888487208678164480,"note":"Value kept but may cause issues"} 
[2026-09-09 16:31:57] 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-09-09 16:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788951611000,"timestamp_ms":1788951611000,"timestamp_seconds":1788951611,"priority":1,"record_length":96,"hex_timestamp":"000001a085d34678"} 
[2026-09-09 16:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 16:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971611136001,"66":13656,"201":206,"87":13824,"24":16,"16":130337280882638848,"45":8888487208678164480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-09 16:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971611136001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:31:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 16:31:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130337280882638848,"km_value":130337280882638.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888487208678164480,"description":"Unknown IO ID 45"} 
[2026-09-09 16:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971611136001,"power":13656,"unknown_201":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8888487208678164480}} 
[2026-09-09 16:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":178407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:31:57] local.INFO: GPS data processed {"connection_id":178407,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:31:57] local.INFO: Acknowledgment sent {"connection_id":178407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:32:05] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:32:05] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:32:05] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:32:08] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:32:08] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:32:08] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:32:11] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:32:11] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:32:11] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:32:11] local.INFO: TCP Data received {"connection_id":175832,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d3fe10012d166480071fae50001e006e22..."} 
[2026-09-09 16:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d3fe10012d166480071fae50001e006e22..."} 
[2026-09-09 16:32:11] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d3fe10012d166480071fae50001e006e22..."} 
[2026-09-09 16:32:11] local.INFO: Packet analysis {"connection_id":175832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:32:11] local.INFO: Extracted packet for processing {"connection_id":175832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d3"} 
[2026-09-09 16:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756442240,"raw_latitude":119516752,"longitude_deg":75.644224,"latitude_deg":11.9516752,"altitude":30,"angle":110,"satellites":34,"speed":0,"hex_longitude":"2d166480","hex_latitude":"071fae50","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971619072001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19098027348197376,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613062753380929536,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788951658000,"timestamp_ms":1788951658000,"timestamp_seconds":1788951658,"priority":1,"record_length":96,"hex_timestamp":"000001a085d3fe10"} 
[2026-09-09 16:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 16:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971619072001,"66":14461,"86":206,"83":41984,"24":0,"16":19098027348197376,"45":1613062753380929536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 16:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971619072001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:32:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 16:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19098027348197376,"km_value":19098027348197.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613062753380929536,"description":"Unknown IO ID 45"} 
[2026-09-09 16:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971619072001,"power":14461,"unknown_86":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1613062753380929536}} 
[2026-09-09 16:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":175832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:32:11] local.INFO: GPS data processed {"connection_id":175832,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:32:11] local.INFO: Acknowledgment sent {"connection_id":175832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:32:12] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085d44078012d0da2000706f0200026012a1b..."} 
[2026-09-09 16:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d44078012d0da2000706f0200026012a1b..."} 
[2026-09-09 16:32:12] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d44078012d0da2000706f0200026012a1b..."} 
[2026-09-09 16:32:12] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:32:12] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:32:12] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117895200,"longitude_deg":75.586816,"latitude_deg":11.78952,"altitude":38,"angle":298,"satellites":27,"speed":29,"hex_longitude":"2d0da200","hex_latitude":"0706f020","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971628288001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31008938027646976,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983684705040588800,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:12] 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-09-09 16:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788951675000,"timestamp_ms":1788951675000,"timestamp_seconds":1788951675,"priority":1,"record_length":96,"hex_timestamp":"000001a085d44078"} 
[2026-09-09 16:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 16:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:32:12] 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-09-09 16:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971628288001,"66":14135,"219":206,"94":10240,"24":29,"16":31008938027646976,"45":983684705040588800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971628288001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:32:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:32:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31008938027646976,"km_value":31008938027646.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":983684705040588800,"description":"Unknown IO ID 45"} 
[2026-09-09 16:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971628288001,"power":14135,"unknown_219":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":983684705040588800}} 
[2026-09-09 16:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789766,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:32:12] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:32:12] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:32:12] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085d46b70012d0d8180070702c0002901291a..."} 
[2026-09-09 16:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d46b70012d0d8180070702c0002901291a..."} 
[2026-09-09 16:32:12] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d46b70012d0d8180070702c0002901291a..."} 
[2026-09-09 16:32:12] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:32:12] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:32:12] local.INFO: GPS Element Parsed {"raw_longitude":755859840,"raw_latitude":117899968,"longitude_deg":75.585984,"latitude_deg":11.7899968,"altitude":41,"angle":297,"satellites":26,"speed":37,"hex_longitude":"2d0d8180","hex_latitude":"070702c0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971628800001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31009393294180352,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347698901360640,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:12] 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-09-09 16:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788951686000,"timestamp_ms":1788951686000,"timestamp_seconds":1788951686,"priority":1,"record_length":96,"hex_timestamp":"000001a085d46b70"} 
[2026-09-09 16:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 16:32: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-09-09 16: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-09-09 16:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:32:12] 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-09-09 16:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971628800001,"66":14515,"219":206,"94":10240,"24":37,"16":31009393294180352,"45":982347698901360640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-09 16:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971628800001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:32:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-09 16:32:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31009393294180352,"km_value":31009393294180.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347698901360640,"description":"Unknown IO ID 45"} 
[2026-09-09 16:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971628800001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":982347698901360640}} 
[2026-09-09 16:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789767,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:32:13] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:32:13] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:32:16] local.INFO: TCP Data received {"connection_id":175618,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:32:16] local.INFO: Processing buffer {"connection_id":175618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:32:16] local.INFO: Packet analysis {"connection_id":175618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:32:16] local.INFO: Extracted packet for processing {"connection_id":175618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":175618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:32:16] local.INFO: GPS data processed {"connection_id":175618,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:32:16] local.INFO: Acknowledgment sent {"connection_id":175618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:32:19] local.INFO: TCP Data received {"connection_id":178408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:32:19] local.INFO: Processing buffer {"connection_id":178408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:32:19] local.INFO: IMEI packet received {"connection_id":178408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":178408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:32:20] local.INFO: TCP Data received {"connection_id":178408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:32:20] local.INFO: Processing buffer {"connection_id":178408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:32:20] local.INFO: IMEI packet received {"connection_id":178408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":178408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:32:24] local.INFO: TCP Data received {"connection_id":178408,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:32:24] local.INFO: Processing buffer {"connection_id":178408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:32:24] local.INFO: IMEI packet received {"connection_id":178408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":178408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:32:25] local.INFO: TCP Data received {"connection_id":178408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d526f0012d7b7ec005e71860000000991e..."} 
[2026-09-09 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d526f0012d7b7ec005e71860000000991e..."} 
[2026-09-09 16:32:25] local.INFO: Processing buffer {"connection_id":178408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d526f0012d7b7ec005e71860000000991e..."} 
[2026-09-09 16:32:25] local.INFO: Packet analysis {"connection_id":178408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:32:25] local.INFO: Extracted packet for processing {"connection_id":178408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763068096,"raw_latitude":99031136,"longitude_deg":76.3068096,"latitude_deg":9.9031136,"altitude":0,"angle":153,"satellites":30,"speed":28,"hex_longitude":"2d7b7ec0","hex_latitude":"05e71860","is_valid_coordinates":true} 
[2026-09-09 16:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971643136001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130339621639815168,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897986989129799680,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:25] 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-09-09 16:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788951734000,"timestamp_ms":1788951734000,"timestamp_seconds":1788951734,"priority":1,"record_length":96,"hex_timestamp":"000001a085d526f0"} 
[2026-09-09 16:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971643136001,"66":13961,"96":206,"87":13824,"24":28,"16":130339621639815168,"45":8897986989129799680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 16:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971643136001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:32:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 16:32:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130339621639815168,"km_value":130339621639815.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897986989129799680,"description":"Unknown IO ID 45"} 
[2026-09-09 16:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971643136001,"power":13961,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8897986989129799680}} 
[2026-09-09 16:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":178408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:32:25] local.INFO: GPS data processed {"connection_id":178408,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:32:25] local.INFO: Acknowledgment sent {"connection_id":178408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:32:30] local.INFO: TCP Data received {"connection_id":178409,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:32:30] local.INFO: Processing buffer {"connection_id":178409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:32:30] local.INFO: IMEI packet received {"connection_id":178409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":178409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:32:35] local.INFO: TCP Data received {"connection_id":178409,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:32:35] local.INFO: Processing buffer {"connection_id":178409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:32:35] local.INFO: IMEI packet received {"connection_id":178409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":178409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:32:36] local.INFO: TCP Data received {"connection_id":178409,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d45018012d166480071fae50001e006e1f..."} 
[2026-09-09 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d45018012d166480071fae50001e006e1f..."} 
[2026-09-09 16:32:36] local.INFO: Processing buffer {"connection_id":178409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d45018012d166480071fae50001e006e1f..."} 
[2026-09-09 16:32:36] local.INFO: Packet analysis {"connection_id":178409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:32:36] local.INFO: Extracted packet for processing {"connection_id":178409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756442240,"raw_latitude":119516752,"longitude_deg":75.644224,"latitude_deg":11.9516752,"altitude":30,"angle":110,"satellites":31,"speed":0,"hex_longitude":"2d166480","hex_latitude":"071fae50","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971624448001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19098027348197376,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613555334590124032,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788951679000,"timestamp_ms":1788951679000,"timestamp_seconds":1788951679,"priority":1,"record_length":96,"hex_timestamp":"000001a085d45018"} 
[2026-09-09 16:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:32: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-09-09 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 16:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971624448001,"66":14428,"86":206,"83":41984,"24":0,"16":19098027348197376,"45":1613555334590124032},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 16:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971624448001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:32:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 16:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19098027348197376,"km_value":19098027348197.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613555334590124032,"description":"Unknown IO ID 45"} 
[2026-09-09 16:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971624448001,"power":14428,"unknown_86":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1613555334590124032}} 
[2026-09-09 16:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":178409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:32:36] local.INFO: GPS data processed {"connection_id":178409,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:32:36] local.INFO: Acknowledgment sent {"connection_id":178409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:32:38] local.INFO: TCP Data received {"connection_id":177026,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:32:38] local.INFO: Processing buffer {"connection_id":177026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:32:38] local.INFO: IMEI packet received {"connection_id":177026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":177026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:32:43] local.INFO: TCP Data received {"connection_id":177026,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:32:43] local.INFO: Processing buffer {"connection_id":177026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:32:43] local.INFO: IMEI packet received {"connection_id":177026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":177026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:32:44] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a085d578f8012d0d2a4007074050002c01491b..."} 
[2026-09-09 16:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d578f8012d0d2a4007074050002c01491b..."} 
[2026-09-09 16:32:44] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d578f8012d0d2a4007074050002c01491b..."} 
[2026-09-09 16:32:44] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:32:44] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:32:44] local.INFO: GPS Element Parsed {"raw_longitude":755837504,"raw_latitude":117915728,"longitude_deg":75.5837504,"latitude_deg":11.7915728,"altitude":44,"angle":329,"satellites":27,"speed":17,"hex_longitude":"2d0d2a40","hex_latitude":"07074050","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971649024001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31011008201883648,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807933763584,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:44] 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-09-09 16:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788951755000,"timestamp_ms":1788951755000,"timestamp_seconds":1788951755,"priority":1,"record_length":96,"hex_timestamp":"000001a085d578f8"} 
[2026-09-09 16:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 16:32: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-09-09 16: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-09-09 16:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:32:44] 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-09-09 16:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971649024001,"66":14439,"221":206,"94":10240,"24":17,"16":31011008201883648,"45":948781807933763584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-09 16:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971649024001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:32:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 16:32:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31011008201883648,"km_value":31011008201883.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807933763584,"description":"Unknown IO ID 45"} 
[2026-09-09 16:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971649024001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":948781807933763584}} 
[2026-09-09 16:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:32:44] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:32:44] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:32:44] local.INFO: TCP Data received {"connection_id":177026,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:32:44] local.INFO: Processing buffer {"connection_id":177026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:32:44] local.INFO: Packet analysis {"connection_id":177026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:32:44] local.INFO: Extracted packet for processing {"connection_id":177026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":177026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:32:44] local.INFO: GPS data processed {"connection_id":177026,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:32:44] local.INFO: Acknowledgment sent {"connection_id":177026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:32:56] local.INFO: TCP Data received {"connection_id":178408,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d52ec0012d7b820005e713b00000008b1e..."} 
[2026-09-09 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d52ec0012d7b820005e713b00000008b1e..."} 
[2026-09-09 16:32:56] local.INFO: Processing buffer {"connection_id":178408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d52ec0012d7b820005e713b00000008b1e..."} 
[2026-09-09 16:32:56] local.INFO: Packet analysis {"connection_id":178408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:32:56] local.INFO: Extracted packet for processing {"connection_id":178408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":99029936,"longitude_deg":76.3068928,"latitude_deg":9.9029936,"altitude":0,"angle":139,"satellites":30,"speed":26,"hex_longitude":"2d7b8200","hex_latitude":"05e713b0","is_valid_coordinates":true} 
[2026-09-09 16:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971643904001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130339694654259200,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898761045315182592,"note":"Value kept but may cause issues"} 
[2026-09-09 16:32:56] 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-09-09 16:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788951736000,"timestamp_ms":1788951736000,"timestamp_seconds":1788951736,"priority":1,"record_length":96,"hex_timestamp":"000001a085d52ec0"} 
[2026-09-09 16:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 16:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971643904001,"66":14102,"96":206,"87":13824,"24":26,"16":130339694654259200,"45":8898761045315182592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 16:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971643904001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:32:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 16:32:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130339694654259200,"km_value":130339694654259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898761045315182592,"description":"Unknown IO ID 45"} 
[2026-09-09 16:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971643904001,"power":14102,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8898761045315182592}} 
[2026-09-09 16:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":178408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:32:56] local.INFO: GPS data processed {"connection_id":178408,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:32:56] local.INFO: Acknowledgment sent {"connection_id":178408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:33:04] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:04] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:04] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:33:05] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:05] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:05] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:33:06] local.INFO: TCP Data received {"connection_id":178409,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d4a220012d166480071fae50001e006e21..."} 
[2026-09-09 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d4a220012d166480071fae50001e006e21..."} 
[2026-09-09 16:33:06] local.INFO: Processing buffer {"connection_id":178409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d4a220012d166480071fae50001e006e21..."} 
[2026-09-09 16:33:06] local.INFO: Packet analysis {"connection_id":178409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:33:06] local.INFO: Extracted packet for processing {"connection_id":178409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d4"} 
[2026-09-09 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756442240,"raw_latitude":119516752,"longitude_deg":75.644224,"latitude_deg":11.9516752,"altitude":30,"angle":110,"satellites":33,"speed":0,"hex_longitude":"2d166480","hex_latitude":"071fae50","is_valid_coordinates":true} 
[2026-09-09 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971629824001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19098027348197376,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613555334590124032,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788951700000,"timestamp_ms":1788951700000,"timestamp_seconds":1788951700,"priority":1,"record_length":96,"hex_timestamp":"000001a085d4a220"} 
[2026-09-09 16:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 16:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971629824001,"66":14374,"86":206,"83":41984,"24":0,"16":19098027348197376,"45":1613555334590124032},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971629824001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:33:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 16:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19098027348197376,"km_value":19098027348197.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613555334590124032,"description":"Unknown IO ID 45"} 
[2026-09-09 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971629824001,"power":14374,"unknown_86":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1613555334590124032}} 
[2026-09-09 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":178409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:33:06] local.INFO: GPS data processed {"connection_id":178409,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:33:06] local.INFO: Acknowledgment sent {"connection_id":178409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:33:07] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:07] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:07] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:33:08] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:08] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:33:08] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:33:16] local.INFO: TCP Data received {"connection_id":177026,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:33:16] local.INFO: Processing buffer {"connection_id":177026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d142d8012d34cc4006aa49080000013427..."} 
[2026-09-09 16:33:16] local.INFO: Packet analysis {"connection_id":177026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:33:16] local.INFO: Extracted packet for processing {"connection_id":177026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d1"} 
[2026-09-09 16:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971501568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788951479000,"timestamp_ms":1788951479000,"timestamp_seconds":1788951479,"priority":1,"record_length":96,"hex_timestamp":"000001a085d142d8"} 
[2026-09-09 16:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 16:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971501568001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971501568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971501568001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":177026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:33:16] local.INFO: GPS data processed {"connection_id":177026,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:33:16] local.INFO: Acknowledgment sent {"connection_id":177026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:33:21] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:33:21] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:33:21] local.INFO: IMEI packet received {"connection_id":175621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":175621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:33:24] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:33:24] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:33:24] local.INFO: IMEI packet received {"connection_id":175621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":175621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:33:29] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:33:29] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:33:29] local.INFO: IMEI packet received {"connection_id":175621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":175621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:33:30] local.INFO: TCP Data received {"connection_id":178410,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:33:30] local.INFO: Processing buffer {"connection_id":178410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:33:30] local.INFO: IMEI packet received {"connection_id":178410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":178410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:33:30] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d53a78012d7b864005e70cf8000000a01f..."} 
[2026-09-09 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d53a78012d7b864005e70cf8000000a01f..."} 
[2026-09-09 16:33:30] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d53a78012d7b864005e70cf8000000a01f..."} 
[2026-09-09 16:33:30] local.INFO: Packet analysis {"connection_id":175621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:33:30] local.INFO: Extracted packet for processing {"connection_id":175621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":99028216,"longitude_deg":76.3070016,"latitude_deg":9.9028216,"altitude":0,"angle":160,"satellites":31,"speed":27,"hex_longitude":"2d7b8640","hex_latitude":"05e70cf8","is_valid_coordinates":true} 
[2026-09-09 16:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971644416001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130339793438507008,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675838989185024,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788951739000,"timestamp_ms":1788951739000,"timestamp_seconds":1788951739,"priority":1,"record_length":96,"hex_timestamp":"000001a085d53a78"} 
[2026-09-09 16:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 16:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971644416001,"66":13972,"96":206,"87":13824,"24":27,"16":130339793438507008,"45":8899675838989185024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 16:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971644416001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:33:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 16:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130339793438507008,"km_value":130339793438507.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675838989185024,"description":"Unknown IO ID 45"} 
[2026-09-09 16:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971644416001,"power":13972,"unknown_96":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8899675838989185024}} 
[2026-09-09 16:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":175621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:33:30] local.INFO: GPS data processed {"connection_id":175621,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:33:30] local.INFO: Acknowledgment sent {"connection_id":175621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:33:35] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d56188012d7b918005e6ec10000000981e..."} 
[2026-09-09 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d56188012d7b918005e6ec10000000981e..."} 
[2026-09-09 16:33:35] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d56188012d7b918005e6ec10000000981e..."} 
[2026-09-09 16:33:35] local.INFO: Packet analysis {"connection_id":175621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:33:35] local.INFO: Extracted packet for processing {"connection_id":175621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763072896,"raw_latitude":99019792,"longitude_deg":76.3072896,"latitude_deg":9.9019792,"altitude":0,"angle":152,"satellites":30,"speed":31,"hex_longitude":"2d7b9180","hex_latitude":"05e6ec10","is_valid_coordinates":true} 
[2026-09-09 16:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971645184001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130340227230203904,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107639764992,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788951749000,"timestamp_ms":1788951749000,"timestamp_seconds":1788951749,"priority":1,"record_length":96,"hex_timestamp":"000001a085d56188"} 
[2026-09-09 16:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 16:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971645184001,"66":14135,"96":206,"87":13824,"24":31,"16":130340227230203904,"45":8900872107639764992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-09 16:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971645184001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:33:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-09 16:33:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130340227230203904,"km_value":130340227230203.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107639764992,"description":"Unknown IO ID 45"} 
[2026-09-09 16:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971645184001,"power":14135,"unknown_96":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8900872107639764992}} 
[2026-09-09 16:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":175621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:33:35] local.INFO: GPS data processed {"connection_id":175621,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:33:35] local.INFO: Acknowledgment sent {"connection_id":175621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:33:36] local.INFO: TCP Data received {"connection_id":178410,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:33:36] local.INFO: Processing buffer {"connection_id":178410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:33:36] local.INFO: IMEI packet received {"connection_id":178410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":178410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:33:37] local.INFO: TCP Data received {"connection_id":178410,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d59838012d16ac00071f7fc00023009a1d..."} 
[2026-09-09 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d59838012d16ac00071f7fc00023009a1d..."} 
[2026-09-09 16:33:37] local.INFO: Processing buffer {"connection_id":178410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d59838012d16ac00071f7fc00023009a1d..."} 
[2026-09-09 16:33:37] local.INFO: Packet analysis {"connection_id":178410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:33:37] local.INFO: Extracted packet for processing {"connection_id":178410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756460544,"raw_latitude":119504832,"longitude_deg":75.6460544,"latitude_deg":11.9504832,"altitude":35,"angle":154,"satellites":29,"speed":17,"hex_longitude":"2d16ac00","hex_latitude":"071f7fc0","is_valid_coordinates":true} 
[2026-09-09 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971650048001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19099255708844032,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1633540057934299136,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788951763000,"timestamp_ms":1788951763000,"timestamp_seconds":1788951763,"priority":1,"record_length":96,"hex_timestamp":"000001a085d59838"} 
[2026-09-09 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:33: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-09-09 16:33: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-09-09 16:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971650048001,"66":14004,"86":206,"83":41984,"24":17,"16":19099255708844032,"45":1633540057934299136},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971650048001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:33:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 16:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19099255708844032,"km_value":19099255708844.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1633540057934299136,"description":"Unknown IO ID 45"} 
[2026-09-09 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971650048001,"power":14004,"unknown_86":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1633540057934299136}} 
[2026-09-09 16:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":178410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:33:37] local.INFO: GPS data processed {"connection_id":178410,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:33:37] local.INFO: Acknowledgment sent {"connection_id":178410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:33:38] local.INFO: TCP Data received {"connection_id":178412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:33:38] local.INFO: Processing buffer {"connection_id":178412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:33:38] local.INFO: IMEI packet received {"connection_id":178412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":178412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:33:38] local.INFO: TCP Data received {"connection_id":178412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:33:38] local.INFO: Processing buffer {"connection_id":178412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:33:38] local.INFO: IMEI packet received {"connection_id":178412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":178412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:33:43] local.INFO: TCP Data received {"connection_id":178412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:33:43] local.INFO: Processing buffer {"connection_id":178412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:33:43] local.INFO: IMEI packet received {"connection_id":178412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":178412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:33:45] local.INFO: TCP Data received {"connection_id":178412,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:33:45] local.INFO: Processing buffer {"connection_id":178412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:33:45] local.INFO: Packet analysis {"connection_id":178412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:33:45] local.INFO: Extracted packet for processing {"connection_id":178412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":178412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:33:45] local.INFO: GPS data processed {"connection_id":178412,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:33:45] local.INFO: Acknowledgment sent {"connection_id":178412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:34:08] local.INFO: TCP Data received {"connection_id":178410,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d59c20012d16ad40071f7e88002400891d..."} 
[2026-09-09 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d59c20012d16ad40071f7e88002400891d..."} 
[2026-09-09 16:34:08] local.INFO: Processing buffer {"connection_id":178410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d59c20012d16ad40071f7e88002400891d..."} 
[2026-09-09 16:34:08] local.INFO: Packet analysis {"connection_id":178410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:34:08] local.INFO: Extracted packet for processing {"connection_id":178410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756460864,"raw_latitude":119504520,"longitude_deg":75.6460864,"latitude_deg":11.950452,"altitude":36,"angle":137,"satellites":29,"speed":17,"hex_longitude":"2d16ad40","hex_latitude":"071f7e88","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971651328001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19099277183680512,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1633680795421884416,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788951764000,"timestamp_ms":1788951764000,"timestamp_seconds":1788951764,"priority":1,"record_length":96,"hex_timestamp":"000001a085d59c20"} 
[2026-09-09 16:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:34: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-09-09 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 16:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971651328001,"66":14004,"86":206,"83":41984,"24":17,"16":19099277183680512,"45":1633680795421884416},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 16:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971651328001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:34:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 16:34:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19099277183680512,"km_value":19099277183680.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1633680795421884416,"description":"Unknown IO ID 45"} 
[2026-09-09 16:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971651328001,"power":14004,"unknown_86":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1633680795421884416}} 
[2026-09-09 16:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":178410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:34:08] local.INFO: GPS data processed {"connection_id":178410,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:34:08] local.INFO: Acknowledgment sent {"connection_id":178410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:34:16] local.INFO: TCP Data received {"connection_id":178412,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:34:16] local.INFO: Processing buffer {"connection_id":178412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:34:16] local.INFO: Packet analysis {"connection_id":178412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:34:16] local.INFO: Extracted packet for processing {"connection_id":178412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":178412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:34:17] local.INFO: GPS data processed {"connection_id":178412,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:34:17] local.INFO: Acknowledgment sent {"connection_id":178412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:34:19] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:34:20] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:34:20] local.INFO: IMEI packet received {"connection_id":175835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":175835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:34:25] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:34:25] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:34:25] local.INFO: IMEI packet received {"connection_id":175835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":175835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:34:25] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d6b948012d7bc68005e63378000100931f..."} 
[2026-09-09 16:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d6b948012d7bc68005e63378000100931f..."} 
[2026-09-09 16:34:25] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d6b948012d7bc68005e63378000100931f..."} 
[2026-09-09 16:34:25] local.INFO: Packet analysis {"connection_id":175835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d6"} 
[2026-09-09 16:34:25] local.INFO: Extracted packet for processing {"connection_id":175835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d6"} 
[2026-09-09 16:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763086464,"raw_latitude":98972536,"longitude_deg":76.3086464,"latitude_deg":9.8972536,"altitude":1,"angle":147,"satellites":31,"speed":14,"hex_longitude":"2d7bc680","hex_latitude":"05e63378","is_valid_coordinates":true} 
[2026-09-09 16:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971669504001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130342666771628032,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918605031158478848,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:25] 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-09-09 16:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788951837000,"timestamp_ms":1788951837000,"timestamp_seconds":1788951837,"priority":1,"record_length":96,"hex_timestamp":"000001a085d6b948"} 
[2026-09-09 16:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 16:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971669504001,"66":13602,"95":206,"87":13824,"24":14,"16":130342666771628032,"45":8918605031158478848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-09 16:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971669504001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:34:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 16:34:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130342666771628032,"km_value":130342666771628.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918605031158478848,"description":"Unknown IO ID 45"} 
[2026-09-09 16:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971669504001,"power":13602,"unknown_95":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8918605031158478848}} 
[2026-09-09 16:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":175835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:34:25] local.INFO: GPS data processed {"connection_id":175835,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:34:25] local.INFO: Acknowledgment sent {"connection_id":175835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:34:29] local.INFO: TCP Data received {"connection_id":175836,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:34:29] local.INFO: Processing buffer {"connection_id":175836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:34:29] local.INFO: IMEI packet received {"connection_id":175836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":175836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:34:35] local.INFO: TCP Data received {"connection_id":175836,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:34:35] local.INFO: Processing buffer {"connection_id":175836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:34:35] local.INFO: IMEI packet received {"connection_id":175836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":175836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:34:37] local.INFO: TCP Data received {"connection_id":175836,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5a008012d16af00071f7db80024007a1d..."} 
[2026-09-09 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5a008012d16af00071f7db80024007a1d..."} 
[2026-09-09 16:34:37] local.INFO: Processing buffer {"connection_id":175836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5a008012d16af00071f7db80024007a1d..."} 
[2026-09-09 16:34:37] local.INFO: Packet analysis {"connection_id":175836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:34:37] local.INFO: Extracted packet for processing {"connection_id":175836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756461312,"raw_latitude":119504312,"longitude_deg":75.6461312,"latitude_deg":11.9504312,"altitude":36,"angle":122,"satellites":29,"speed":18,"hex_longitude":"2d16af00","hex_latitude":"071f7db8","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971651584001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19099298658516992,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1634032639142692864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788951765000,"timestamp_ms":1788951765000,"timestamp_seconds":1788951765,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5a008"} 
[2026-09-09 16:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 16:34: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-09-09 16: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-09-09 16:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971651584001,"66":13820,"86":206,"83":41984,"24":18,"16":19099298658516992,"45":1634032639142692864},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 16:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971651584001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:34:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 16:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19099298658516992,"km_value":19099298658516.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1634032639142692864,"description":"Unknown IO ID 45"} 
[2026-09-09 16:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971651584001,"power":13820,"unknown_86":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1634032639142692864}} 
[2026-09-09 16:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":175836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:34:37] local.INFO: GPS data processed {"connection_id":175836,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:34:37] local.INFO: Acknowledgment sent {"connection_id":175836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:34:38] local.INFO: TCP Data received {"connection_id":175837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:34:38] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:34:38] local.INFO: IMEI packet received {"connection_id":175837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":175837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:34:43] local.INFO: TCP Data received {"connection_id":175837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:34:43] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:34:43] local.INFO: IMEI packet received {"connection_id":175837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":175837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:34:44] local.INFO: TCP Data received {"connection_id":175837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:34:44] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:34:44] local.INFO: Packet analysis {"connection_id":175837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:34:44] local.INFO: Extracted packet for processing {"connection_id":175837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":175837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:34:44] local.INFO: GPS data processed {"connection_id":175837,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:34:44] local.INFO: Acknowledgment sent {"connection_id":175837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:34:57] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d6d4a0012d7bca0005e62d88000300a01f..."} 
[2026-09-09 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d6d4a0012d7bca0005e62d88000300a01f..."} 
[2026-09-09 16:34:57] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d6d4a0012d7bca0005e62d88000300a01f..."} 
[2026-09-09 16:34:57] local.INFO: Packet analysis {"connection_id":175835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d6"} 
[2026-09-09 16:34:57] local.INFO: Extracted packet for processing {"connection_id":175835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d6"} 
[2026-09-09 16:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763087360,"raw_latitude":98971016,"longitude_deg":76.308736,"latitude_deg":9.8971016,"altitude":3,"angle":160,"satellites":31,"speed":17,"hex_longitude":"2d7bca00","hex_latitude":"05e62d88","is_valid_coordinates":true} 
[2026-09-09 16:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971670272001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130342752670973952,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918956874879170560,"note":"Value kept but may cause issues"} 
[2026-09-09 16:34:57] 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-09-09 16:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788951844000,"timestamp_ms":1788951844000,"timestamp_seconds":1788951844,"priority":1,"record_length":96,"hex_timestamp":"000001a085d6d4a0"} 
[2026-09-09 16:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:34: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-09-09 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 16:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971670272001,"66":13374,"95":206,"87":13824,"24":17,"16":130342752670973952,"45":8918956874879170560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-09 16:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971670272001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:34:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 16:34:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130342752670973952,"km_value":130342752670973.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918956874879170560,"description":"Unknown IO ID 45"} 
[2026-09-09 16:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971670272001,"power":13374,"unknown_95":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8918956874879170560}} 
[2026-09-09 16:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":175835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:34:57] local.INFO: GPS data processed {"connection_id":175835,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:34:57] local.INFO: Acknowledgment sent {"connection_id":175835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:35:15] local.INFO: TCP Data received {"connection_id":175837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:35:15] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:35:15] local.INFO: Packet analysis {"connection_id":175837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:35:15] local.INFO: Extracted packet for processing {"connection_id":175837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":175837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:35:15] local.INFO: GPS data processed {"connection_id":175837,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:35:15] local.INFO: Acknowledgment sent {"connection_id":175837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:35:19] local.INFO: TCP Data received {"connection_id":175622,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:35:19] local.INFO: Processing buffer {"connection_id":175622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:35:19] local.INFO: IMEI packet received {"connection_id":175622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":175622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:35:23] local.INFO: TCP Data received {"connection_id":175836,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5a3f0012d16b180071f7d88002400671d..."} 
[2026-09-09 16:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5a3f0012d16b180071f7d88002400671d..."} 
[2026-09-09 16:35:23] local.INFO: Processing buffer {"connection_id":175836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5a3f0012d16b180071f7d88002400671d..."} 
[2026-09-09 16:35:23] local.INFO: Packet analysis {"connection_id":175836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:35:23] local.INFO: Extracted packet for processing {"connection_id":175836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756461952,"raw_latitude":119504264,"longitude_deg":75.6461952,"latitude_deg":11.9504264,"altitude":36,"angle":103,"satellites":29,"speed":20,"hex_longitude":"2d16b180","hex_latitude":"071f7d88","is_valid_coordinates":true} 
[2026-09-09 16:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971651840001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19099328723288064,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1634525220351883264,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788951766000,"timestamp_ms":1788951766000,"timestamp_seconds":1788951766,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5a3f0"} 
[2026-09-09 16:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971651840001,"66":13820,"86":206,"83":41984,"24":20,"16":19099328723288064,"45":1634525220351883264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-09-09 16:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971651840001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:35:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-09 16:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19099328723288064,"km_value":19099328723288.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1634525220351883264,"description":"Unknown IO ID 45"} 
[2026-09-09 16:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971651840001,"power":13820,"unknown_86":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1634525220351883264}} 
[2026-09-09 16:35:23] local.INFO: TCP Data received {"connection_id":175622,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:35:23] local.INFO: Processing buffer {"connection_id":175622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:35:23] local.INFO: IMEI packet received {"connection_id":175622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":175622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":175836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:35:23] local.INFO: GPS data processed {"connection_id":175836,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:35:23] local.INFO: Acknowledgment sent {"connection_id":175836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:35:25] local.INFO: TCP Data received {"connection_id":175622,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d71ed8012d7bd58005e60928000500a11f..."} 
[2026-09-09 16:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d71ed8012d7bd58005e60928000500a11f..."} 
[2026-09-09 16:35:25] local.INFO: Processing buffer {"connection_id":175622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d71ed8012d7bd58005e60928000500a11f..."} 
[2026-09-09 16:35:25] local.INFO: Packet analysis {"connection_id":175622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d7"} 
[2026-09-09 16:35:25] local.INFO: Extracted packet for processing {"connection_id":175622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d7"} 
[2026-09-09 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763090304,"raw_latitude":98961704,"longitude_deg":76.3090304,"latitude_deg":9.8961704,"altitude":5,"angle":161,"satellites":31,"speed":37,"hex_longitude":"2d7bd580","hex_latitude":"05e60928","is_valid_coordinates":true} 
[2026-09-09 16:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971672064001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130343225117376512,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919942037297268736,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:25] 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-09-09 16:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788951863000,"timestamp_ms":1788951863000,"timestamp_seconds":1788951863,"priority":1,"record_length":96,"hex_timestamp":"000001a085d71ed8"} 
[2026-09-09 16:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-09 16:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971672064001,"66":13798,"95":206,"87":13824,"24":37,"16":130343225117376512,"45":8919942037297268736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-09 16:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971672064001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:35:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-09 16:35:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130343225117376512,"km_value":130343225117376.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919942037297268736,"description":"Unknown IO ID 45"} 
[2026-09-09 16:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971672064001,"power":13798,"unknown_95":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8919942037297268736}} 
[2026-09-09 16:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":175622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:35:25] local.INFO: GPS data processed {"connection_id":175622,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:35:25] local.INFO: Acknowledgment sent {"connection_id":175622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:35:38] local.INFO: TCP Data received {"connection_id":177029,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:35:38] local.INFO: Processing buffer {"connection_id":177029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:35:38] local.INFO: IMEI packet received {"connection_id":177029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":177029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:35:40] local.INFO: TCP Data received {"connection_id":178413,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:35:40] local.INFO: Processing buffer {"connection_id":178413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:35:40] local.INFO: IMEI packet received {"connection_id":178413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":178413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:35:43] local.INFO: TCP Data received {"connection_id":177029,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:35:43] local.INFO: Processing buffer {"connection_id":177029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:35:43] local.INFO: IMEI packet received {"connection_id":177029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":177029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:35:44] local.INFO: TCP Data received {"connection_id":178413,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:35:44] local.INFO: Processing buffer {"connection_id":178413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:35:44] local.INFO: IMEI packet received {"connection_id":178413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":178413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:35:45] local.INFO: TCP Data received {"connection_id":178413,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085d797f0012d17ba80071fad40003c004f26..."} 
[2026-09-09 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d797f0012d17ba80071fad40003c004f26..."} 
[2026-09-09 16:35:45] local.INFO: Processing buffer {"connection_id":178413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d797f0012d17ba80071fad40003c004f26..."} 
[2026-09-09 16:35:45] local.INFO: Packet analysis {"connection_id":178413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d7"} 
[2026-09-09 16:35:45] local.INFO: Extracted packet for processing {"connection_id":178413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d7"} 
[2026-09-09 16:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756529792,"raw_latitude":119516480,"longitude_deg":75.6529792,"latitude_deg":11.951648,"altitude":60,"angle":79,"satellites":38,"speed":32,"hex_longitude":"2d17ba80","hex_latitude":"071fad40","is_valid_coordinates":true} 
[2026-09-09 16:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971681536001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19102661617909760,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699475571230388224,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788951894000,"timestamp_ms":1788951894000,"timestamp_seconds":1788951894,"priority":1,"record_length":96,"hex_timestamp":"000001a085d797f0"} 
[2026-09-09 16:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 16:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971681536001,"66":13993,"102":206,"83":41984,"24":32,"16":19102661617909760,"45":1699475571230388224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971681536001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:35:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19102661617909760,"km_value":19102661617909.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699475571230388224,"description":"Unknown IO ID 45"} 
[2026-09-09 16:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971681536001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1699475571230388224}} 
[2026-09-09 16:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":178413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:35:45] local.INFO: GPS data processed {"connection_id":178413,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:35:45] local.INFO: Acknowledgment sent {"connection_id":178413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:35:46] local.INFO: TCP Data received {"connection_id":177029,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:35:46] local.INFO: Processing buffer {"connection_id":177029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:35:46] local.INFO: Packet analysis {"connection_id":177029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:35:46] local.INFO: Extracted packet for processing {"connection_id":177029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":177029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:35:46] local.INFO: GPS data processed {"connection_id":177029,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:35:46] local.INFO: Acknowledgment sent {"connection_id":177029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:35:57] local.INFO: TCP Data received {"connection_id":175622,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d84f88012d7c380005e54428000000a51d..."} 
[2026-09-09 16:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d84f88012d7c380005e54428000000a51d..."} 
[2026-09-09 16:35:57] local.INFO: Processing buffer {"connection_id":175622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d84f88012d7c380005e54428000000a51d..."} 
[2026-09-09 16:35:57] local.INFO: Packet analysis {"connection_id":175622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d8"} 
[2026-09-09 16:35:57] local.INFO: Extracted packet for processing {"connection_id":175622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d8"} 
[2026-09-09 16:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763115520,"raw_latitude":98911272,"longitude_deg":76.311552,"latitude_deg":9.8911272,"altitude":0,"angle":165,"satellites":29,"speed":11,"hex_longitude":"2d7c3800","hex_latitude":"05e54428","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971696384001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130346016846118912,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950833915976112128,"note":"Value kept but may cause issues"} 
[2026-09-09 16:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788951941000,"timestamp_ms":1788951941000,"timestamp_seconds":1788951941,"priority":1,"record_length":96,"hex_timestamp":"000001a085d84f88"} 
[2026-09-09 16:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 16:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971696384001,"66":13928,"39":206,"87":13824,"24":11,"16":130346016846118912,"45":8950833915976112128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 16:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971696384001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:35:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 16:35:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130346016846118912,"km_value":130346016846118.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950833915976112128,"description":"Unknown IO ID 45"} 
[2026-09-09 16:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971696384001,"power":13928,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8950833915976112128}} 
[2026-09-09 16:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":175622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:35:57] local.INFO: GPS data processed {"connection_id":175622,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:35:57] local.INFO: Acknowledgment sent {"connection_id":175622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:36:18] local.INFO: TCP Data received {"connection_id":177029,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:36:18] local.INFO: Processing buffer {"connection_id":177029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:36:18] local.INFO: Packet analysis {"connection_id":177029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:36:18] local.INFO: Extracted packet for processing {"connection_id":177029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":177029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:36:18] local.INFO: GPS data processed {"connection_id":177029,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:36:18] local.INFO: Acknowledgment sent {"connection_id":177029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:36:20] local.INFO: TCP Data received {"connection_id":175623,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:36:20] local.INFO: Processing buffer {"connection_id":175623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:36:20] local.INFO: IMEI packet received {"connection_id":175623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":175623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:36:24] local.INFO: TCP Data received {"connection_id":175623,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:36:24] local.INFO: Processing buffer {"connection_id":175623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:36:24] local.INFO: IMEI packet received {"connection_id":175623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":175623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:36:26] local.INFO: TCP Data received {"connection_id":175623,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d86310012d7c394005e53f70000000b61d..."} 
[2026-09-09 16:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d86310012d7c394005e53f70000000b61d..."} 
[2026-09-09 16:36:26] local.INFO: Processing buffer {"connection_id":175623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d86310012d7c394005e53f70000000b61d..."} 
[2026-09-09 16:36:26] local.INFO: Packet analysis {"connection_id":175623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d8"} 
[2026-09-09 16:36:26] local.INFO: Extracted packet for processing {"connection_id":175623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d8"} 
[2026-09-09 16:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763115840,"raw_latitude":98910064,"longitude_deg":76.311584,"latitude_deg":9.8910064,"altitude":0,"angle":182,"satellites":29,"speed":11,"hex_longitude":"2d7c3940","hex_latitude":"05e53f70","is_valid_coordinates":true} 
[2026-09-09 16:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971696896001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130346076975661056,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950904284720146432,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788951946000,"timestamp_ms":1788951946000,"timestamp_seconds":1788951946,"priority":1,"record_length":96,"hex_timestamp":"000001a085d86310"} 
[2026-09-09 16:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 16:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971696896001,"66":13972,"39":206,"87":13824,"24":11,"16":130346076975661056,"45":8950904284720146432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 16:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971696896001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:36:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 16:36:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130346076975661056,"km_value":130346076975661.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950904284720146432,"description":"Unknown IO ID 45"} 
[2026-09-09 16:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971696896001,"power":13972,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8950904284720146432}} 
[2026-09-09 16:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":175623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:36:26] local.INFO: GPS data processed {"connection_id":175623,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:36:26] local.INFO: Acknowledgment sent {"connection_id":175623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:36:30] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:30] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:30] local.INFO: IMEI packet received {"connection_id":175624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":175624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:36:30] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:30] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:30] local.INFO: IMEI packet received {"connection_id":175624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":175624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:36:32] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:32] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:32] local.INFO: IMEI packet received {"connection_id":175624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":175624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:36:33] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:33] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:36:33] local.INFO: IMEI packet received {"connection_id":175624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":175624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:36:45] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:36:45] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:36:45] local.INFO: IMEI packet received {"connection_id":175625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":175625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:36:46] local.INFO: TCP Data received {"connection_id":178415,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:36:46] local.INFO: Processing buffer {"connection_id":178415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:36:46] local.INFO: IMEI packet received {"connection_id":178415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":178415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:36:53] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:36:53] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:36:53] local.INFO: IMEI packet received {"connection_id":175625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":175625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:36:54] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:36:54] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:36:54] local.INFO: Packet analysis {"connection_id":175625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:36:54] local.INFO: Extracted packet for processing {"connection_id":175625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":175625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:36:54] local.INFO: GPS data processed {"connection_id":175625,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:36:54] local.INFO: Acknowledgment sent {"connection_id":175625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:36:55] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:36:55] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:36:55] local.INFO: Packet analysis {"connection_id":175625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:36:55] local.INFO: Extracted packet for processing {"connection_id":175625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:36:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:36:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":175625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:36:56] local.INFO: GPS data processed {"connection_id":175625,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:36:56] local.INFO: Acknowledgment sent {"connection_id":175625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:36:58] local.INFO: TCP Data received {"connection_id":175623,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d86ec8012d7c3a4005e53a30000100a41e..."} 
[2026-09-09 16:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d86ec8012d7c3a4005e53a30000100a41e..."} 
[2026-09-09 16:36:58] local.INFO: Processing buffer {"connection_id":175623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d86ec8012d7c3a4005e53a30000100a41e..."} 
[2026-09-09 16:36:58] local.INFO: Packet analysis {"connection_id":175623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d8"} 
[2026-09-09 16:36:58] local.INFO: Extracted packet for processing {"connection_id":175623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d8"} 
[2026-09-09 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763116096,"raw_latitude":98908720,"longitude_deg":76.3116096,"latitude_deg":9.890872,"altitude":1,"angle":164,"satellites":30,"speed":21,"hex_longitude":"2d7c3a40","hex_latitude":"05e53a30","is_valid_coordinates":true} 
[2026-09-09 16:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971698176001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130346145695137792,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951256128440725504,"note":"Value kept but may cause issues"} 
[2026-09-09 16:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788951949000,"timestamp_ms":1788951949000,"timestamp_seconds":1788951949,"priority":1,"record_length":96,"hex_timestamp":"000001a085d86ec8"} 
[2026-09-09 16:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 16:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971698176001,"66":13374,"39":206,"87":13824,"24":21,"16":130346145695137792,"45":8951256128440725504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 16:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971698176001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:36:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 16:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130346145695137792,"km_value":130346145695137.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951256128440725504,"description":"Unknown IO ID 45"} 
[2026-09-09 16:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971698176001,"power":13374,"unknown_39":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8951256128440725504}} 
[2026-09-09 16:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":175623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:36:58] local.INFO: GPS data processed {"connection_id":175623,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:36:58] local.INFO: Acknowledgment sent {"connection_id":175623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:37:18] local.INFO: TCP Data received {"connection_id":177031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:37:18] local.INFO: Processing buffer {"connection_id":177031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:37:18] local.INFO: IMEI packet received {"connection_id":177031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":177031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:37:19] local.INFO: TCP Data received {"connection_id":177031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:37:19] local.INFO: Processing buffer {"connection_id":177031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:37:19] local.INFO: IMEI packet received {"connection_id":177031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":177031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:37:25] local.INFO: TCP Data received {"connection_id":177031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:37:25] local.INFO: Processing buffer {"connection_id":177031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:37:25] local.INFO: IMEI packet received {"connection_id":177031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":177031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:37:26] local.INFO: TCP Data received {"connection_id":177031,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d8a190012d7c400005e52590000100911f..."} 
[2026-09-09 16:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d8a190012d7c400005e52590000100911f..."} 
[2026-09-09 16:37:26] local.INFO: Processing buffer {"connection_id":177031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d8a190012d7c400005e52590000100911f..."} 
[2026-09-09 16:37:26] local.INFO: Packet analysis {"connection_id":177031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d8"} 
[2026-09-09 16:37:26] local.INFO: Extracted packet for processing {"connection_id":177031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d8"} 
[2026-09-09 16:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763117568,"raw_latitude":98903440,"longitude_deg":76.3117568,"latitude_deg":9.890344,"altitude":1,"angle":145,"satellites":31,"speed":6,"hex_longitude":"2d7c4000","hex_latitude":"05e52590","is_valid_coordinates":true} 
[2026-09-09 16:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971698944001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130346411983110144,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951537603417092096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788951962000,"timestamp_ms":1788951962000,"timestamp_seconds":1788951962,"priority":1,"record_length":96,"hex_timestamp":"000001a085d8a190"} 
[2026-09-09 16:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:37: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-09-09 16:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-09 16:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971698944001,"66":13852,"39":206,"87":13824,"24":6,"16":130346411983110144,"45":8951537603417092096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 16:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971698944001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:37:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 16:37:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130346411983110144,"km_value":130346411983110.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951537603417092096,"description":"Unknown IO ID 45"} 
[2026-09-09 16:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971698944001,"power":13852,"unknown_39":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8951537603417092096}} 
[2026-09-09 16:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":177031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:37:26] local.INFO: GPS data processed {"connection_id":177031,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:37:26] local.INFO: Acknowledgment sent {"connection_id":177031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:37:39] local.INFO: TCP Data received {"connection_id":178417,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:37:39] local.INFO: Processing buffer {"connection_id":178417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:37:39] local.INFO: IMEI packet received {"connection_id":178417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":178417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:37:44] local.INFO: TCP Data received {"connection_id":178417,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:37:44] local.INFO: Processing buffer {"connection_id":178417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:37:44] local.INFO: IMEI packet received {"connection_id":178417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":178417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:37:45] local.INFO: TCP Data received {"connection_id":178417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:37:45] local.INFO: Processing buffer {"connection_id":178417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:37:45] local.INFO: Packet analysis {"connection_id":178417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:37:45] local.INFO: Extracted packet for processing {"connection_id":178417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":178417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:37:45] local.INFO: GPS data processed {"connection_id":178417,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:37:45] local.INFO: Acknowledgment sent {"connection_id":178417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:37:49] local.INFO: TCP Data received {"connection_id":178417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:37:49] local.INFO: Processing buffer {"connection_id":178417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:37:49] local.INFO: Packet analysis {"connection_id":178417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:37:49] local.INFO: Extracted packet for processing {"connection_id":178417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":178417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:37:49] local.INFO: GPS data processed {"connection_id":178417,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:37:49] local.INFO: Acknowledgment sent {"connection_id":178417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:37:59] local.INFO: TCP Data received {"connection_id":177031,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085da0508012d7b8f0005e407f0000f00d41f..."} 
[2026-09-09 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da0508012d7b8f0005e407f0000f00d41f..."} 
[2026-09-09 16:37:59] local.INFO: Processing buffer {"connection_id":177031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da0508012d7b8f0005e407f0000f00d41f..."} 
[2026-09-09 16:37:59] local.INFO: Packet analysis {"connection_id":177031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:37:59] local.INFO: Extracted packet for processing {"connection_id":177031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763072256,"raw_latitude":98830320,"longitude_deg":76.3072256,"latitude_deg":9.883032,"altitude":15,"angle":212,"satellites":31,"speed":52,"hex_longitude":"2d7b8f00","hex_latitude":"05e407f0","is_valid_coordinates":true} 
[2026-09-09 16:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971723520001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130350612461125632,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909386725636759552,"note":"Value kept but may cause issues"} 
[2026-09-09 16:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788952053000,"timestamp_ms":1788952053000,"timestamp_seconds":1788952053,"priority":1,"record_length":96,"hex_timestamp":"000001a085da0508"} 
[2026-09-09 16:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 16:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971723520001,"66":14135,"39":206,"87":13824,"24":52,"16":130350612461125632,"45":8909386725636759552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 16:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971723520001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:37:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 16:37:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130350612461125632,"km_value":130350612461125.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909386725636759552,"description":"Unknown IO ID 45"} 
[2026-09-09 16:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971723520001,"power":14135,"unknown_39":206,"unknown_87":13824,"ignition":52,"odometer":null,"unknown_45":8909386725636759552}} 
[2026-09-09 16:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":177031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:37:59] local.INFO: GPS data processed {"connection_id":177031,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:37:59] local.INFO: Acknowledgment sent {"connection_id":177031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:38:10] local.INFO: TCP Data received {"connection_id":177033,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:38:10] local.INFO: Processing buffer {"connection_id":177033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:38:10] local.INFO: IMEI packet received {"connection_id":177033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":177033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:38:11] local.INFO: TCP Data received {"connection_id":177033,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085d9e9b0012d0c360007076a70000e00b220..."} 
[2026-09-09 16:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d9e9b0012d0c360007076a70000e00b220..."} 
[2026-09-09 16:38:11] local.INFO: Processing buffer {"connection_id":177033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d9e9b0012d0c360007076a70000e00b220..."} 
[2026-09-09 16:38:11] local.INFO: Packet analysis {"connection_id":177033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d9"} 
[2026-09-09 16:38:11] local.INFO: Extracted packet for processing {"connection_id":177033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d9"} 
[2026-09-09 16:38:11] local.INFO: GPS Element Parsed {"raw_longitude":755774976,"raw_latitude":117926512,"longitude_deg":75.5774976,"latitude_deg":11.7926512,"altitude":14,"angle":178,"satellites":32,"speed":20,"hex_longitude":"2d0c3600","hex_latitude":"07076a70","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971723264001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31014538665000960,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879961176131106816,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:11] 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-09-09 16:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788952046000,"timestamp_ms":1788952046000,"timestamp_seconds":1788952046,"priority":1,"record_length":96,"hex_timestamp":"000001a085d9e9b0"} 
[2026-09-09 16:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:38: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-09-09 16: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-09 16:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971723264001,"66":14461,"221":206,"94":10240,"24":20,"16":31014538665000960,"45":879961176131106816},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-09 16:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971723264001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-09 16:38:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31014538665000960,"km_value":31014538665000.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":879961176131106816,"description":"Unknown IO ID 45"} 
[2026-09-09 16:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971723264001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":879961176131106816}} 
[2026-09-09 16:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":177033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:38:11] local.INFO: GPS data processed {"connection_id":177033,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:38:11] local.INFO: Acknowledgment sent {"connection_id":177033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:38:19] local.INFO: TCP Data received {"connection_id":175627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:38:19] local.INFO: Processing buffer {"connection_id":175627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:38:19] local.INFO: IMEI packet received {"connection_id":175627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":175627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:38:20] local.INFO: TCP Data received {"connection_id":178417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:38:20] local.INFO: Processing buffer {"connection_id":178417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085d5daa0012d34cc4006aa49080000013424..."} 
[2026-09-09 16:38:20] local.INFO: Packet analysis {"connection_id":178417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:38:20] local.INFO: Extracted packet for processing {"connection_id":178417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085d5"} 
[2026-09-09 16:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971578624001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788951780000,"timestamp_ms":1788951780000,"timestamp_seconds":1788951780,"priority":1,"record_length":96,"hex_timestamp":"000001a085d5daa0"} 
[2026-09-09 16:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971578624001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971578624001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971578624001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":178417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:38:20] local.INFO: GPS data processed {"connection_id":178417,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:38:20] local.INFO: Acknowledgment sent {"connection_id":178417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:38:29] local.INFO: TCP Data received {"connection_id":175627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:38:29] local.INFO: Processing buffer {"connection_id":175627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:38:29] local.INFO: IMEI packet received {"connection_id":175627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":175627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:38:30] local.INFO: TCP Data received {"connection_id":175627,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085da2060012d7b7bc005e3e9e0000d00d41f..."} 
[2026-09-09 16:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da2060012d7b7bc005e3e9e0000d00d41f..."} 
[2026-09-09 16:38:30] local.INFO: Processing buffer {"connection_id":175627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da2060012d7b7bc005e3e9e0000d00d41f..."} 
[2026-09-09 16:38:30] local.INFO: Packet analysis {"connection_id":175627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:38:30] local.INFO: Extracted packet for processing {"connection_id":175627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763067328,"raw_latitude":98822624,"longitude_deg":76.3067328,"latitude_deg":9.8822624,"altitude":13,"angle":212,"satellites":31,"speed":48,"hex_longitude":"2d7b7bc0","hex_latitude":"05e3e9e0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971725568001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130351054842757120,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903335013635321856,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788952060000,"timestamp_ms":1788952060000,"timestamp_seconds":1788952060,"priority":1,"record_length":96,"hex_timestamp":"000001a085da2060"} 
[2026-09-09 16:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:38: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-09-09 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-09 16:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971725568001,"66":13798,"39":206,"87":13824,"24":48,"16":130351054842757120,"45":8903335013635321856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 16:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971725568001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:38:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 16:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130351054842757120,"km_value":130351054842757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903335013635321856,"description":"Unknown IO ID 45"} 
[2026-09-09 16:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971725568001,"power":13798,"unknown_39":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8903335013635321856}} 
[2026-09-09 16:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":175627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:38:30] local.INFO: GPS data processed {"connection_id":175627,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:38:30] local.INFO: Acknowledgment sent {"connection_id":175627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:38:40] local.INFO: TCP Data received {"connection_id":178418,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:38:40] local.INFO: Processing buffer {"connection_id":178418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:38:40] local.INFO: IMEI packet received {"connection_id":178418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":178418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:38:40] local.INFO: TCP Data received {"connection_id":178418,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:38:40] local.INFO: Processing buffer {"connection_id":178418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:38:40] local.INFO: IMEI packet received {"connection_id":178418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":178418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:38:42] local.INFO: TCP Data received {"connection_id":177033,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085dae3b0012d0bb34007071968000f00d620..."} 
[2026-09-09 16:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dae3b0012d0bb34007071968000f00d620..."} 
[2026-09-09 16:38:42] local.INFO: Processing buffer {"connection_id":177033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dae3b0012d0bb34007071968000f00d620..."} 
[2026-09-09 16:38:42] local.INFO: Packet analysis {"connection_id":177033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:38:42] local.INFO: Extracted packet for processing {"connection_id":177033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":755741504,"raw_latitude":117905768,"longitude_deg":75.5741504,"latitude_deg":11.7905768,"altitude":15,"angle":214,"satellites":32,"speed":20,"hex_longitude":"2d0bb340","hex_latitude":"07071968","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971739904001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31016900897013760,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797897472000,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788952110000,"timestamp_ms":1788952110000,"timestamp_seconds":1788952110,"priority":1,"record_length":96,"hex_timestamp":"000001a085dae3b0"} 
[2026-09-09 16:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 16:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177033,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971739904001,"66":14407,"163":206,"94":10240,"24":20,"16":31016900897013760,"45":843439797897472000},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 16:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971739904001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:38:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 16:38:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31016900897013760,"km_value":31016900897013.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797897472000,"description":"Unknown IO ID 45"} 
[2026-09-09 16:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971739904001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":843439797897472000}} 
[2026-09-09 16:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":177033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:38:42] local.INFO: GPS data processed {"connection_id":177033,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:38:42] local.INFO: Acknowledgment sent {"connection_id":177033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:38:43] local.INFO: TCP Data received {"connection_id":178418,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:38:43] local.INFO: Processing buffer {"connection_id":178418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:38:43] local.INFO: IMEI packet received {"connection_id":178418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":178418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:38:45] local.INFO: TCP Data received {"connection_id":178418,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:38:45] local.INFO: Processing buffer {"connection_id":178418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:38:45] local.INFO: Packet analysis {"connection_id":178418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:38:45] local.INFO: Extracted packet for processing {"connection_id":178418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:38:45] 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-09-09 16: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-09-09 16:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:38:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":178418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:38:45] local.INFO: GPS data processed {"connection_id":178418,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:38:45] local.INFO: Acknowledgment sent {"connection_id":178418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:38:50] local.INFO: TCP Data received {"connection_id":178418,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:38:50] local.INFO: Processing buffer {"connection_id":178418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:38:50] local.INFO: Packet analysis {"connection_id":178418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:38:50] local.INFO: Extracted packet for processing {"connection_id":178418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:38:50] 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-09-09 16: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-09-09 16:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:38:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":178418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:38:50] local.INFO: GPS data processed {"connection_id":178418,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:38:50] local.INFO: Acknowledgment sent {"connection_id":178418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:39:01] local.INFO: TCP Data received {"connection_id":175627,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085da4770012d7b678005e3cb98000900d41f..."} 
[2026-09-09 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da4770012d7b678005e3cb98000900d41f..."} 
[2026-09-09 16:39:01] local.INFO: Processing buffer {"connection_id":175627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da4770012d7b678005e3cb98000900d41f..."} 
[2026-09-09 16:39:01] local.INFO: Packet analysis {"connection_id":175627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:01] local.INFO: Extracted packet for processing {"connection_id":175627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763062144,"raw_latitude":98814872,"longitude_deg":76.3062144,"latitude_deg":9.8814872,"altitude":9,"angle":212,"satellites":31,"speed":28,"hex_longitude":"2d7b6780","hex_latitude":"05e3cb98","is_valid_coordinates":true} 
[2026-09-09 16:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971727360001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130351505814323200,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897916620331671552,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788952070000,"timestamp_ms":1788952070000,"timestamp_seconds":1788952070,"priority":1,"record_length":96,"hex_timestamp":"000001a085da4770"} 
[2026-09-09 16:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971727360001,"66":14102,"39":206,"87":13824,"24":28,"16":130351505814323200,"45":8897916620331671552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 16:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971727360001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:39:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 16:39:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130351505814323200,"km_value":130351505814323.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897916620331671552,"description":"Unknown IO ID 45"} 
[2026-09-09 16:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971727360001,"power":14102,"unknown_39":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8897916620331671552}} 
[2026-09-09 16:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":175627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:39:01] local.INFO: GPS data processed {"connection_id":175627,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:39:01] local.INFO: Acknowledgment sent {"connection_id":175627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:39:05] local.INFO: TCP Data received {"connection_id":178419,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:39:05] local.INFO: Processing buffer {"connection_id":178419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:39:05] local.INFO: IMEI packet received {"connection_id":178419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":178419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:39:05] local.INFO: TCP Data received {"connection_id":178419,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:39:05] local.INFO: Processing buffer {"connection_id":178419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:39:05] local.INFO: IMEI packet received {"connection_id":178419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":178419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:39:10] local.INFO: TCP Data received {"connection_id":178419,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:39:10] local.INFO: Processing buffer {"connection_id":178419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:39:10] local.INFO: IMEI packet received {"connection_id":178419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":178419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:39:11] local.INFO: TCP Data received {"connection_id":178419,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085dae798012d0bb18007071818000e00e420..."} 
[2026-09-09 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dae798012d0bb18007071818000e00e420..."} 
[2026-09-09 16:39:11] local.INFO: Processing buffer {"connection_id":178419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dae798012d0bb18007071818000e00e420..."} 
[2026-09-09 16:39:11] local.INFO: Packet analysis {"connection_id":178419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:11] local.INFO: Extracted packet for processing {"connection_id":178419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:11] local.INFO: GPS Element Parsed {"raw_longitude":755741056,"raw_latitude":117905432,"longitude_deg":75.5741056,"latitude_deg":11.7905432,"altitude":14,"angle":228,"satellites":32,"speed":21,"hex_longitude":"2d0bb180","hex_latitude":"07071818","is_valid_coordinates":true} 
[2026-09-09 16:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971740160001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31016926666817536,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843087954176468992,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:11] 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-09-09 16:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788952111000,"timestamp_ms":1788952111000,"timestamp_seconds":1788952111,"priority":1,"record_length":96,"hex_timestamp":"000001a085dae798"} 
[2026-09-09 16:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 16:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971740160001,"66":14102,"163":206,"94":10240,"24":21,"16":31016926666817536,"45":843087954176468992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 16:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971740160001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:39:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 16:39:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31016926666817536,"km_value":31016926666817.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":843087954176468992,"description":"Unknown IO ID 45"} 
[2026-09-09 16:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971740160001,"power":14102,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":843087954176468992}} 
[2026-09-09 16:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":178419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:39:11] local.INFO: GPS data processed {"connection_id":178419,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:39:11] local.INFO: Acknowledgment sent {"connection_id":178419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:39:18] local.INFO: TCP Data received {"connection_id":175628,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:39:18] local.INFO: Processing buffer {"connection_id":175628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:39:18] local.INFO: IMEI packet received {"connection_id":175628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":175628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:39:19] local.INFO: TCP Data received {"connection_id":175628,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:39:19] local.INFO: Processing buffer {"connection_id":175628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:39:19] local.INFO: IMEI packet received {"connection_id":175628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":175628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:39:23] local.INFO: TCP Data received {"connection_id":178418,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:39:23] local.INFO: Processing buffer {"connection_id":178418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:39:23] local.INFO: Packet analysis {"connection_id":178418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:23] local.INFO: Extracted packet for processing {"connection_id":178418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":178418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:39:23] local.INFO: GPS data processed {"connection_id":178418,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:39:23] local.INFO: Acknowledgment sent {"connection_id":178418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:39:24] local.INFO: TCP Data received {"connection_id":175628,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:39:24] local.INFO: Processing buffer {"connection_id":175628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:39:24] local.INFO: IMEI packet received {"connection_id":175628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":175628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:39:26] local.INFO: TCP Data received {"connection_id":175628,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7650012d7b528005e3ae50000900d71f..."} 
[2026-09-09 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7650012d7b528005e3ae50000900d71f..."} 
[2026-09-09 16:39:26] local.INFO: Processing buffer {"connection_id":175628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7650012d7b528005e3ae50000900d71f..."} 
[2026-09-09 16:39:26] local.INFO: Packet analysis {"connection_id":175628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:26] local.INFO: Extracted packet for processing {"connection_id":175628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98807376,"longitude_deg":76.3056768,"latitude_deg":9.8807376,"altitude":9,"angle":215,"satellites":31,"speed":27,"hex_longitude":"2d7b5280","hex_latitude":"05e3ae50","is_valid_coordinates":true} 
[2026-09-09 16:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971729920001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130351948195954688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892216752051296256,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788952082000,"timestamp_ms":1788952082000,"timestamp_seconds":1788952082,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7650"} 
[2026-09-09 16:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 16:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971729920001,"66":14135,"39":206,"87":13824,"24":27,"16":130351948195954688,"45":8892216752051296256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 16:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971729920001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:39:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 16:39:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130351948195954688,"km_value":130351948195954.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892216752051296256,"description":"Unknown IO ID 45"} 
[2026-09-09 16:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971729920001,"power":14135,"unknown_39":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8892216752051296256}} 
[2026-09-09 16:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":175628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:39:26] local.INFO: GPS data processed {"connection_id":175628,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:39:26] local.INFO: Acknowledgment sent {"connection_id":175628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:39:38] local.INFO: TCP Data received {"connection_id":177035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:39:38] local.INFO: Processing buffer {"connection_id":177035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:39:38] local.INFO: IMEI packet received {"connection_id":177035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":177035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:39:42] local.INFO: TCP Data received {"connection_id":178419,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085daeb80012d0baf4007071748000f00f320..."} 
[2026-09-09 16:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085daeb80012d0baf4007071748000f00f320..."} 
[2026-09-09 16:39:42] local.INFO: Processing buffer {"connection_id":178419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085daeb80012d0baf4007071748000f00f320..."} 
[2026-09-09 16:39:42] local.INFO: Packet analysis {"connection_id":178419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:42] local.INFO: Extracted packet for processing {"connection_id":178419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:42] local.INFO: GPS Element Parsed {"raw_longitude":755740480,"raw_latitude":117905224,"longitude_deg":75.574048,"latitude_deg":11.7905224,"altitude":15,"angle":243,"satellites":32,"speed":20,"hex_longitude":"2d0baf40","hex_latitude":"07071748","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971740416001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31016952436621312,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842595372967139328,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788952112000,"timestamp_ms":1788952112000,"timestamp_seconds":1788952112,"priority":1,"record_length":96,"hex_timestamp":"000001a085daeb80"} 
[2026-09-09 16:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 16:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971740416001,"66":14102,"163":206,"94":10240,"24":20,"16":31016952436621312,"45":842595372967139328},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 16:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971740416001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:39:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 16:39:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31016952436621312,"km_value":31016952436621.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":842595372967139328,"description":"Unknown IO ID 45"} 
[2026-09-09 16:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971740416001,"power":14102,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":842595372967139328}} 
[2026-09-09 16:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":178419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:39:42] local.INFO: GPS data processed {"connection_id":178419,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:39:42] local.INFO: Acknowledgment sent {"connection_id":178419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:39:43] local.INFO: TCP Data received {"connection_id":177035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:39:43] local.INFO: Processing buffer {"connection_id":177035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:39:43] local.INFO: IMEI packet received {"connection_id":177035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":177035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:39:45] local.INFO: TCP Data received {"connection_id":177035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:39:45] local.INFO: Processing buffer {"connection_id":177035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:39:45] local.INFO: Packet analysis {"connection_id":177035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:45] local.INFO: Extracted packet for processing {"connection_id":177035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:39:45] 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-09-09 16: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-09-09 16:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:39:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:39:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":177035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:39:45] local.INFO: GPS data processed {"connection_id":177035,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:39:45] local.INFO: Acknowledgment sent {"connection_id":177035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:39:57] local.INFO: TCP Data received {"connection_id":175628,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085dbe580012d7b114005e32df0000a00af1f..."} 
[2026-09-09 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dbe580012d7b114005e32df0000a00af1f..."} 
[2026-09-09 16:39:57] local.INFO: Processing buffer {"connection_id":175628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dbe580012d7b114005e32df0000a00af1f..."} 
[2026-09-09 16:39:57] local.INFO: Packet analysis {"connection_id":175628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085db"} 
[2026-09-09 16:39:57] local.INFO: Extracted packet for processing {"connection_id":175628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085db"} 
[2026-09-09 16:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98774512,"longitude_deg":76.3040064,"latitude_deg":9.8774512,"altitude":10,"angle":175,"satellites":31,"speed":4,"hex_longitude":"2d7b1140","hex_latitude":"05e32df0","is_valid_coordinates":true} 
[2026-09-09 16:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971756032001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130353790736924672,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535299799040,"note":"Value kept but may cause issues"} 
[2026-09-09 16:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788952176000,"timestamp_ms":1788952176000,"timestamp_seconds":1788952176,"priority":1,"record_length":96,"hex_timestamp":"000001a085dbe580"} 
[2026-09-09 16:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-09 16:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971756032001,"66":13580,"206":206,"85":15104,"24":4,"16":130353790736924672,"45":8867939535299799040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-09 16:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971756032001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:39:57] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 16:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130353790736924672,"km_value":130353790736924.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535299799040,"description":"Unknown IO ID 45"} 
[2026-09-09 16:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971756032001,"power":13580,"unknown_206":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8867939535299799040}} 
[2026-09-09 16:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":175628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:39:57] local.INFO: GPS data processed {"connection_id":175628,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:39:57] local.INFO: Acknowledgment sent {"connection_id":175628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:40:05] local.INFO: TCP Data received {"connection_id":178420,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:05] local.INFO: Processing buffer {"connection_id":178420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:05] local.INFO: IMEI packet received {"connection_id":178420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":178420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:40:07] local.INFO: TCP Data received {"connection_id":178420,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:07] local.INFO: Processing buffer {"connection_id":178420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:07] local.INFO: IMEI packet received {"connection_id":178420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":178420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:40:09] local.INFO: TCP Data received {"connection_id":178420,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:09] local.INFO: Processing buffer {"connection_id":178420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:09] local.INFO: IMEI packet received {"connection_id":178420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":178420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:40:10] local.INFO: TCP Data received {"connection_id":178420,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:10] local.INFO: Processing buffer {"connection_id":178420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:40:10] local.INFO: IMEI packet received {"connection_id":178420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":178420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:40:10] local.INFO: TCP Data received {"connection_id":178420,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085dbf908012d0b160007069ae8000200da20..."} 
[2026-09-09 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dbf908012d0b160007069ae8000200da20..."} 
[2026-09-09 16:40:10] local.INFO: Processing buffer {"connection_id":178420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dbf908012d0b160007069ae8000200da20..."} 
[2026-09-09 16:40:10] local.INFO: Packet analysis {"connection_id":178420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085db"} 
[2026-09-09 16:40:10] local.INFO: Extracted packet for processing {"connection_id":178420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085db"} 
[2026-09-09 16:40:10] local.INFO: GPS Element Parsed {"raw_longitude":755701248,"raw_latitude":117873384,"longitude_deg":75.5701248,"latitude_deg":11.7873384,"altitude":2,"angle":218,"satellites":32,"speed":31,"hex_longitude":"2d0b1600","hex_latitude":"07069ae8","is_valid_coordinates":true} 
[2026-09-09 16:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971757056001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31019623906279424,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801148182639235072,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:10] 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-09-09 16:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788952181000,"timestamp_ms":1788952181000,"timestamp_seconds":1788952181,"priority":1,"record_length":96,"hex_timestamp":"000001a085dbf908"} 
[2026-09-09 16:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 16:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":178420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":178420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":178420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971757056001,"66":14428,"163":206,"94":10240,"24":31,"16":31019623906279424,"45":801148182639235072},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 16:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971757056001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:40:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 16:40:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31019623906279424,"km_value":31019623906279.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":801148182639235072,"description":"Unknown IO ID 45"} 
[2026-09-09 16:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971757056001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":801148182639235072}} 
[2026-09-09 16:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":178420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:40:11] local.INFO: GPS data processed {"connection_id":178420,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:40:11] local.INFO: Acknowledgment sent {"connection_id":178420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:40:11] local.INFO: TCP Data received {"connection_id":178420,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085dc27e8012d0afe4007068030000100df1f..."} 
[2026-09-09 16:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dc27e8012d0afe4007068030000100df1f..."} 
[2026-09-09 16:40:11] local.INFO: Processing buffer {"connection_id":178420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dc27e8012d0afe4007068030000100df1f..."} 
[2026-09-09 16:40:11] local.INFO: Packet analysis {"connection_id":178420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:40:11] local.INFO: Extracted packet for processing {"connection_id":178420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:40:11] local.INFO: GPS Element Parsed {"raw_longitude":755695168,"raw_latitude":117866544,"longitude_deg":75.5695168,"latitude_deg":11.7866544,"altitude":1,"angle":223,"satellites":31,"speed":21,"hex_longitude":"2d0afe40","hex_latitude":"07068030","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971758336001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31020061992943616,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798826014080428032,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:11] 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-09-09 16:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788952193000,"timestamp_ms":1788952193000,"timestamp_seconds":1788952193,"priority":1,"record_length":96,"hex_timestamp":"000001a085dc27e8"} 
[2026-09-09 16:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:40: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-09-09 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 16:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971758336001,"66":14450,"163":206,"94":10240,"24":21,"16":31020061992943616,"45":798826014080428032},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 16:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971758336001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:40:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 16:40:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31020061992943616,"km_value":31020061992943.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":798826014080428032,"description":"Unknown IO ID 45"} 
[2026-09-09 16:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971758336001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":798826014080428032}} 
[2026-09-09 16:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":178420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:40:11] local.INFO: GPS data processed {"connection_id":178420,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:40:11] local.INFO: Acknowledgment sent {"connection_id":178420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:40:16] local.INFO: TCP Data received {"connection_id":177035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:40:16] local.INFO: Processing buffer {"connection_id":177035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:40:16] local.INFO: Packet analysis {"connection_id":177035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:40:16] local.INFO: Extracted packet for processing {"connection_id":177035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:40:16] 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-09-09 16:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":177035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:40:16] local.INFO: GPS data processed {"connection_id":177035,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:40:16] local.INFO: Acknowledgment sent {"connection_id":177035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:40:19] local.INFO: TCP Data received {"connection_id":177036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:40:19] local.INFO: Processing buffer {"connection_id":177036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:40:19] local.INFO: IMEI packet received {"connection_id":177036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":177036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:40:25] local.INFO: TCP Data received {"connection_id":177036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:40:25] local.INFO: Processing buffer {"connection_id":177036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:40:25] local.INFO: IMEI packet received {"connection_id":177036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":177036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:40:26] local.INFO: TCP Data received {"connection_id":177036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085dbf138012d7b114005e32d70000b00a420..."} 
[2026-09-09 16:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dbf138012d7b114005e32d70000b00a420..."} 
[2026-09-09 16:40:26] local.INFO: Processing buffer {"connection_id":177036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dbf138012d7b114005e32d70000b00a420..."} 
[2026-09-09 16:40:26] local.INFO: Packet analysis {"connection_id":177036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085db"} 
[2026-09-09 16:40:26] local.INFO: Extracted packet for processing {"connection_id":177036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085db"} 
[2026-09-09 16:40:26] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98774384,"longitude_deg":76.3040064,"latitude_deg":9.8774384,"altitude":11,"angle":164,"satellites":32,"speed":1,"hex_longitude":"2d7b1140","hex_latitude":"05e32d70","is_valid_coordinates":true} 
[2026-09-09 16:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971757056001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130353795031891968,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535299670016,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788952179000,"timestamp_ms":1788952179000,"timestamp_seconds":1788952179,"priority":1,"record_length":96,"hex_timestamp":"000001a085dbf138"} 
[2026-09-09 16:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632155,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2245761864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":10241,"corrected_to":0} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3522935310952431616,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3687202817,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637074291580878,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607336142,"corrected_to":0} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3811731456,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1206971173717934088,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-7421706374544830891,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:26] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,206,85,24,241,157,16,28,160,213,45,64,47,10,31,66,209,192,48,202,1,240,227,133,4,113,205,194,17,136,239,53,2,207,5,123,55,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":202,"original":10241,"validated":0},{"io_id":205,"original":1607336142,"validated":0}]} 
[2026-09-09 16:40:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720768488058388480,"timestamp_seconds":720768488058388.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971757056001,"66":13906,"206":206,"85":15104,"24":1,"16":130353795031891968,"45":8867939535299670016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-09 16:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971757056001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:40:26] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 16:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130353795031891968,"km_value":130353795031891.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535299670016,"description":"Unknown IO ID 45"} 
[2026-09-09 16:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971757056001,"power":13906,"unknown_206":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8867939535299670016}} 
[2026-09-09 16:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":177036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:40:26] local.INFO: GPS data processed {"connection_id":177036,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:40:26] local.INFO: Acknowledgment sent {"connection_id":177036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:40:43] local.INFO: TCP Data received {"connection_id":178420,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085dc2fb8012d0afc0007067d10000100d31f..."} 
[2026-09-09 16:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dc2fb8012d0afc0007067d10000100d31f..."} 
[2026-09-09 16:40:43] local.INFO: Processing buffer {"connection_id":178420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dc2fb8012d0afc0007067d10000100d31f..."} 
[2026-09-09 16:40:43] local.INFO: Packet analysis {"connection_id":178420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:40:43] local.INFO: Extracted packet for processing {"connection_id":178420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:40:43] local.INFO: GPS Element Parsed {"raw_longitude":755694592,"raw_latitude":117865744,"longitude_deg":75.5694592,"latitude_deg":11.7865744,"altitude":1,"angle":211,"satellites":31,"speed":18,"hex_longitude":"2d0afc00","hex_latitude":"07067d10","is_valid_coordinates":true} 
[2026-09-09 16:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971761408001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31020109237583872,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792140983381798912,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:43] 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-09-09 16:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788952195000,"timestamp_ms":1788952195000,"timestamp_seconds":1788952195,"priority":1,"record_length":96,"hex_timestamp":"000001a085dc2fb8"} 
[2026-09-09 16:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-09 16:40:43] 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-09-09 16:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971761408001,"66":14309,"163":206,"94":10240,"24":18,"16":31020109237583872,"45":792140983381798912},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 16:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971761408001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:40:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 16:40:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31020109237583872,"km_value":31020109237583.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":792140983381798912,"description":"Unknown IO ID 45"} 
[2026-09-09 16:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971761408001,"power":14309,"unknown_163":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":792140983381798912}} 
[2026-09-09 16:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":178420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789818,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:40:43] local.INFO: GPS data processed {"connection_id":178420,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:40:43] local.INFO: Acknowledgment sent {"connection_id":178420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:40:46] local.INFO: TCP Data received {"connection_id":175629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:40:46] local.INFO: Processing buffer {"connection_id":175629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:40:46] local.INFO: IMEI packet received {"connection_id":175629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":175629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:40:48] local.INFO: TCP Data received {"connection_id":175629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:40:48] local.INFO: Processing buffer {"connection_id":175629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:40:48] local.INFO: IMEI packet received {"connection_id":175629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":175629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:40:50] local.INFO: TCP Data received {"connection_id":175629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:40:50] local.INFO: Processing buffer {"connection_id":175629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:40:50] local.INFO: Packet analysis {"connection_id":175629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:40:50] local.INFO: Extracted packet for processing {"connection_id":175629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:40:50] 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-09-09 16: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-09-09 16:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:40:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":175629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:40:50] local.INFO: GPS data processed {"connection_id":175629,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:40:50] local.INFO: Acknowledgment sent {"connection_id":175629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:40:54] local.INFO: TCP Data received {"connection_id":175629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:40:54] local.INFO: Processing buffer {"connection_id":175629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:40:54] local.INFO: Packet analysis {"connection_id":175629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:40:54] local.INFO: Extracted packet for processing {"connection_id":175629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:40:54] 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-09-09 16:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:40:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":175629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:40:54] local.INFO: GPS data processed {"connection_id":175629,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:40:54] local.INFO: Acknowledgment sent {"connection_id":175629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:40:57] local.INFO: TCP Data received {"connection_id":177036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085dc1460012d7b114005e32b68000b00b01d..."} 
[2026-09-09 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dc1460012d7b114005e32b68000b00b01d..."} 
[2026-09-09 16:40:57] local.INFO: Processing buffer {"connection_id":177036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dc1460012d7b114005e32b68000b00b01d..."} 
[2026-09-09 16:40:57] local.INFO: Packet analysis {"connection_id":177036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:40:57] local.INFO: Extracted packet for processing {"connection_id":177036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98773864,"longitude_deg":76.3040064,"latitude_deg":9.8773864,"altitude":11,"angle":176,"satellites":29,"speed":2,"hex_longitude":"2d7b1140","hex_latitude":"05e32b68","is_valid_coordinates":true} 
[2026-09-09 16:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971757824001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130353820801695744,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535299637248,"note":"Value kept but may cause issues"} 
[2026-09-09 16:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788952188000,"timestamp_ms":1788952188000,"timestamp_seconds":1788952188,"priority":1,"record_length":96,"hex_timestamp":"000001a085dc1460"} 
[2026-09-09 16:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:40: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-09-09 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 16:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971757824001,"66":13798,"208":206,"85":15104,"24":2,"16":130353820801695744,"45":8867939535299637248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971757824001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:40:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130353820801695744,"km_value":130353820801695.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535299637248,"description":"Unknown IO ID 45"} 
[2026-09-09 16:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971757824001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8867939535299637248}} 
[2026-09-09 16:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":177036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:40:58] local.INFO: GPS data processed {"connection_id":177036,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:40:58] local.INFO: Acknowledgment sent {"connection_id":177036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:41:05] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:41:05] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:41:05] local.INFO: IMEI packet received {"connection_id":175631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":175631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:41:10] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:41:10] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:41:10] local.INFO: IMEI packet received {"connection_id":175631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":175631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:41:10] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085dc33a0012d0afb4007067b58000000c51f..."} 
[2026-09-09 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dc33a0012d0afb4007067b58000000c51f..."} 
[2026-09-09 16:41:10] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dc33a0012d0afb4007067b58000000c51f..."} 
[2026-09-09 16:41:10] local.INFO: Packet analysis {"connection_id":175631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:41:10] local.INFO: Extracted packet for processing {"connection_id":175631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":755694400,"raw_latitude":117865304,"longitude_deg":75.56944,"latitude_deg":11.7865304,"altitude":0,"angle":197,"satellites":31,"speed":17,"hex_longitude":"2d0afb40","hex_latitude":"07067b58","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971761920001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31020135007387648,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791507664683995136,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:10] 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-09-09 16:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788952196000,"timestamp_ms":1788952196000,"timestamp_seconds":1788952196,"priority":1,"record_length":96,"hex_timestamp":"000001a085dc33a0"} 
[2026-09-09 16:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-09 16:41:10] 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-09-09 16: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-09-09 16:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971761920001,"66":14309,"163":206,"94":10240,"24":17,"16":31020135007387648,"45":791507664683995136},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-09 16:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971761920001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:41:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 16:41:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31020135007387648,"km_value":31020135007387.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":791507664683995136,"description":"Unknown IO ID 45"} 
[2026-09-09 16:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971761920001,"power":14309,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":791507664683995136}} 
[2026-09-09 16:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":175631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:41:11] local.INFO: GPS data processed {"connection_id":175631,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:41:11] local.INFO: Acknowledgment sent {"connection_id":175631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:41:24] local.INFO: TCP Data received {"connection_id":178422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:41:24] local.INFO: Processing buffer {"connection_id":178422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:41:24] local.INFO: IMEI packet received {"connection_id":178422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":178422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:41:26] local.INFO: TCP Data received {"connection_id":178422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:41:26] local.INFO: Processing buffer {"connection_id":178422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:41:26] local.INFO: IMEI packet received {"connection_id":178422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":178422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:41:27] local.INFO: TCP Data received {"connection_id":178422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085dc6280012d7b11c005e32290000b00aa20..."} 
[2026-09-09 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dc6280012d7b11c005e32290000b00aa20..."} 
[2026-09-09 16:41:27] local.INFO: Processing buffer {"connection_id":178422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dc6280012d7b11c005e32290000b00aa20..."} 
[2026-09-09 16:41:27] local.INFO: Packet analysis {"connection_id":178422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:41:27] local.INFO: Extracted packet for processing {"connection_id":178422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763040192,"raw_latitude":98771600,"longitude_deg":76.3040192,"latitude_deg":9.87716,"altitude":11,"angle":170,"satellites":32,"speed":3,"hex_longitude":"2d7b11c0","hex_latitude":"05e32290","is_valid_coordinates":true} 
[2026-09-09 16:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971760128001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130353936765812736,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535299504128,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41: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-09-09 16:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788952208000,"timestamp_ms":1788952208000,"timestamp_seconds":1788952208,"priority":1,"record_length":96,"hex_timestamp":"000001a085dc6280"} 
[2026-09-09 16:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":178422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":178422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":178422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971760128001,"66":13406,"208":206,"85":15104,"24":3,"16":130353936765812736,"45":8867939535299504128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971760128001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:41:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130353936765812736,"km_value":130353936765812.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535299504128,"description":"Unknown IO ID 45"} 
[2026-09-09 16:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971760128001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8867939535299504128}} 
[2026-09-09 16:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":178422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:41:27] local.INFO: GPS data processed {"connection_id":178422,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:41:27] local.INFO: Acknowledgment sent {"connection_id":178422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:41:30] local.INFO: TCP Data received {"connection_id":178422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085dc7220012d7b124005e32108000b009c1f..."} 
[2026-09-09 16:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dc7220012d7b124005e32108000b009c1f..."} 
[2026-09-09 16:41:30] local.INFO: Processing buffer {"connection_id":178422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dc7220012d7b124005e32108000b009c1f..."} 
[2026-09-09 16:41:30] local.INFO: Packet analysis {"connection_id":178422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:41:30] local.INFO: Extracted packet for processing {"connection_id":178422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98771208,"longitude_deg":76.304032,"latitude_deg":9.8771208,"altitude":11,"angle":156,"satellites":31,"speed":4,"hex_longitude":"2d7b1240","hex_latitude":"05e32108","is_valid_coordinates":true} 
[2026-09-09 16:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971765248001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130353958240649216,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868080272787279872,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788952212000,"timestamp_ms":1788952212000,"timestamp_seconds":1788952212,"priority":1,"record_length":96,"hex_timestamp":"000001a085dc7220"} 
[2026-09-09 16:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-09 16:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":178422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":178422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":178422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971765248001,"66":13580,"208":206,"85":15104,"24":4,"16":130353958240649216,"45":8868080272787279872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971765248001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:41:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130353958240649216,"km_value":130353958240649.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868080272787279872,"description":"Unknown IO ID 45"} 
[2026-09-09 16:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971765248001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8868080272787279872}} 
[2026-09-09 16:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":178422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:41:30] local.INFO: GPS data processed {"connection_id":178422,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:41:30] local.INFO: Acknowledgment sent {"connection_id":178422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:41:34] local.INFO: TCP Data received {"connection_id":175842,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:41:34] local.INFO: Processing buffer {"connection_id":175842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:41:34] local.INFO: IMEI packet received {"connection_id":175842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":175842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:41:34] local.INFO: TCP Data received {"connection_id":175842,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085dc9548012d190d00071fea60003600b51e..."} 
[2026-09-09 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dc9548012d190d00071fea60003600b51e..."} 
[2026-09-09 16:41:34] local.INFO: Processing buffer {"connection_id":175842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dc9548012d190d00071fea60003600b51e..."} 
[2026-09-09 16:41:34] local.INFO: Packet analysis {"connection_id":175842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:41:34] local.INFO: Extracted packet for processing {"connection_id":175842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532128,"longitude_deg":75.6616448,"latitude_deg":11.9532128,"altitude":54,"angle":181,"satellites":30,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea60","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971763200001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19108687457026048,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245661696,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788952221000,"timestamp_ms":1788952221000,"timestamp_seconds":1788952221,"priority":1,"record_length":96,"hex_timestamp":"000001a085dc9548"} 
[2026-09-09 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-09-09 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 16:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971763200001,"66":14407,"102":206,"83":41984,"24":0,"16":19108687457026048,"45":1805099056245661696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971763200001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:41:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19108687457026048,"km_value":19108687457026.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245661696,"description":"Unknown IO ID 45"} 
[2026-09-09 16:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971763200001,"power":14407,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245661696}} 
[2026-09-09 16:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":175842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:41:34] local.INFO: GPS data processed {"connection_id":175842,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:41:34] local.INFO: Acknowledgment sent {"connection_id":175842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:41:38] local.INFO: TCP Data received {"connection_id":175632,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:41:38] local.INFO: Processing buffer {"connection_id":175632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:41:38] local.INFO: IMEI packet received {"connection_id":175632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":175632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:41:42] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085dd77d8012d0b4c800705ff080009007f20..."} 
[2026-09-09 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dd77d8012d0b4c800705ff080009007f20..."} 
[2026-09-09 16:41:42] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dd77d8012d0b4c800705ff080009007f20..."} 
[2026-09-09 16:41:42] local.INFO: Packet analysis {"connection_id":175631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dd"} 
[2026-09-09 16:41:42] local.INFO: Extracted packet for processing {"connection_id":175631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dd"} 
[2026-09-09 16:41:42] local.INFO: GPS Element Parsed {"raw_longitude":755715200,"raw_latitude":117833480,"longitude_deg":75.57152,"latitude_deg":11.783348,"altitude":9,"angle":127,"satellites":32,"speed":39,"hex_longitude":"2d0b4c80","hex_latitude":"0705ff08","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971780608001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31022213771558912,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804948094815025152,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:42] 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-09-09 16:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788952279000,"timestamp_ms":1788952279000,"timestamp_seconds":1788952279,"priority":1,"record_length":96,"hex_timestamp":"000001a085dd77d8"} 
[2026-09-09 16:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 16:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971780608001,"66":14428,"165":206,"94":10240,"24":39,"16":31022213771558912,"45":804948094815025152},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-09 16:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971780608001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:41:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-09 16:41:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31022213771558912,"km_value":31022213771558.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":804948094815025152,"description":"Unknown IO ID 45"} 
[2026-09-09 16:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971780608001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":804948094815025152}} 
[2026-09-09 16:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":175631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:41:42] local.INFO: GPS data processed {"connection_id":175631,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:41:42] local.INFO: Acknowledgment sent {"connection_id":175631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:41:43] local.INFO: TCP Data received {"connection_id":175632,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:41:43] local.INFO: Processing buffer {"connection_id":175632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:41:43] local.INFO: IMEI packet received {"connection_id":175632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":175632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:41:44] local.INFO: TCP Data received {"connection_id":175632,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:41:44] local.INFO: Processing buffer {"connection_id":175632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:41:44] local.INFO: Packet analysis {"connection_id":175632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:41:44] local.INFO: Extracted packet for processing {"connection_id":175632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:41:44] 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-09-09 16:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":175632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:41:44] local.INFO: GPS data processed {"connection_id":175632,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:41:44] local.INFO: Acknowledgment sent {"connection_id":175632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:01] local.INFO: TCP Data received {"connection_id":178422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085dc9d18012d7b148005e31b38000b00aa1f..."} 
[2026-09-09 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dc9d18012d7b148005e31b38000b00aa1f..."} 
[2026-09-09 16:42:01] local.INFO: Processing buffer {"connection_id":178422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dc9d18012d7b148005e31b38000b00aa1f..."} 
[2026-09-09 16:42:01] local.INFO: Packet analysis {"connection_id":178422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:42:01] local.INFO: Extracted packet for processing {"connection_id":178422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98769720,"longitude_deg":76.3040896,"latitude_deg":9.876972,"altitude":11,"angle":170,"satellites":31,"speed":5,"hex_longitude":"2d7b1480","hex_latitude":"05e31b38","is_valid_coordinates":true} 
[2026-09-09 16:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971766272001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130354039845027840,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010275534848,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788952223000,"timestamp_ms":1788952223000,"timestamp_seconds":1788952223,"priority":1,"record_length":96,"hex_timestamp":"000001a085dc9d18"} 
[2026-09-09 16:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632156,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2245775864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3522926514859409408,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3689250817,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039037390,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607336142,"corrected_to":0} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3811604480,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1242999970495725578,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":55,"raw_value":225811361746517,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,208,85,24,241,157,16,28,160,98,45,192,34,11,32,10,66,20,64,43,29,1,240,82,227,133,4,113,205,213,17,232,31,239,53,206,2,207,5,3,123,55,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1607336142,"validated":0}]} 
[2026-09-09 16:42:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792805191375388672,"timestamp_seconds":792805191375388.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":178422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":178422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":178422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971766272001,"66":13689,"208":206,"85":15104,"24":5,"16":130354039845027840,"45":8868221010275534848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971766272001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130354039845027840,"km_value":130354039845027.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010275534848,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971766272001,"power":13689,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8868221010275534848}} 
[2026-09-09 16:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":178422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:01] local.INFO: GPS data processed {"connection_id":178422,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:01] local.INFO: Acknowledgment sent {"connection_id":178422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:05] local.INFO: TCP Data received {"connection_id":175842,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085dce750012d190d00071fea60003600b520..."} 
[2026-09-09 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dce750012d190d00071fea60003600b520..."} 
[2026-09-09 16:42:05] local.INFO: Processing buffer {"connection_id":175842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dce750012d190d00071fea60003600b520..."} 
[2026-09-09 16:42:05] local.INFO: Packet analysis {"connection_id":175842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:42:05] local.INFO: Extracted packet for processing {"connection_id":175842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dc"} 
[2026-09-09 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119532128,"longitude_deg":75.6616448,"latitude_deg":11.9532128,"altitude":54,"angle":181,"satellites":32,"speed":0,"hex_longitude":"2d190d00","hex_latitude":"071fea60","is_valid_coordinates":true} 
[2026-09-09 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971768576001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19108687457026048,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245661696,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788952242000,"timestamp_ms":1788952242000,"timestamp_seconds":1788952242,"priority":1,"record_length":96,"hex_timestamp":"000001a085dce750"} 
[2026-09-09 16:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 16:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971768576001,"66":14374,"102":206,"83":41984,"24":0,"16":19108687457026048,"45":1805099056245661696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971768576001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19108687457026048,"km_value":19108687457026.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245661696,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971768576001,"power":14374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805099056245661696}} 
[2026-09-09 16:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":175842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:05] local.INFO: GPS data processed {"connection_id":175842,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:05] local.INFO: Acknowledgment sent {"connection_id":175842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:10] local.INFO: TCP Data received {"connection_id":178424,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178424,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:42:10] local.INFO: Processing buffer {"connection_id":178424,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:42:10] local.INFO: IMEI packet received {"connection_id":178424,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":178424,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:42:11] local.INFO: TCP Data received {"connection_id":178424,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178424,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:42:11] local.INFO: Processing buffer {"connection_id":178424,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:42:11] local.INFO: IMEI packet received {"connection_id":178424,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":178424,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:42:16] local.INFO: TCP Data received {"connection_id":175632,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:42:16] local.INFO: Processing buffer {"connection_id":175632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:42:16] local.INFO: Packet analysis {"connection_id":175632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:42:16] local.INFO: Extracted packet for processing {"connection_id":175632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:42:16] 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-09-09 16:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":175632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:16] local.INFO: GPS data processed {"connection_id":175632,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:16] local.INFO: Acknowledgment sent {"connection_id":175632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:18] local.INFO: TCP Data received {"connection_id":178424,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178424,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:42:18] local.INFO: Processing buffer {"connection_id":178424,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:42:18] local.INFO: IMEI packet received {"connection_id":178424,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":178424,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:42:19] local.INFO: TCP Data received {"connection_id":177037,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:42:19] local.INFO: Processing buffer {"connection_id":177037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:42:19] local.INFO: IMEI packet received {"connection_id":177037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":177037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:42:21] local.INFO: TCP Data received {"connection_id":178423,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:42:21] local.INFO: Processing buffer {"connection_id":178423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:42:21] local.INFO: IMEI packet received {"connection_id":178423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":178423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:42:23] local.INFO: TCP Data received {"connection_id":178424,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085dd9b00012d0b69c00705e738000a007e1f..."} 
[2026-09-09 16:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dd9b00012d0b69c00705e738000a007e1f..."} 
[2026-09-09 16:42:23] local.INFO: Processing buffer {"connection_id":178424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dd9b00012d0b69c00705e738000a007e1f..."} 
[2026-09-09 16:42:23] local.INFO: Packet analysis {"connection_id":178424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dd"} 
[2026-09-09 16:42:23] local.INFO: Extracted packet for processing {"connection_id":178424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dd"} 
[2026-09-09 16:42:23] local.INFO: GPS Element Parsed {"raw_longitude":755722688,"raw_latitude":117827384,"longitude_deg":75.5722688,"latitude_deg":11.7827384,"altitude":10,"angle":126,"satellites":31,"speed":39,"hex_longitude":"2d0b69c0","hex_latitude":"0705e738","is_valid_coordinates":true} 
[2026-09-09 16:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971783424001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31022677628026880,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814166400300943360,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788952288000,"timestamp_ms":1788952288000,"timestamp_seconds":1788952288,"priority":1,"record_length":96,"hex_timestamp":"000001a085dd9b00"} 
[2026-09-09 16:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42: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-09-09 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 16:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971783424001,"66":14374,"165":206,"94":10240,"24":39,"16":31022677628026880,"45":814166400300943360},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-09 16:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971783424001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-09 16:42:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31022677628026880,"km_value":31022677628026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":814166400300943360,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971783424001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":814166400300943360}} 
[2026-09-09 16:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":178424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:23] local.INFO: GPS data processed {"connection_id":178424,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:23] local.INFO: Acknowledgment sent {"connection_id":178424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:24] local.INFO: TCP Data received {"connection_id":178424,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a085ddae88012d0b78800705de78000c007321..."} 
[2026-09-09 16:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ddae88012d0b78800705de78000c007321..."} 
[2026-09-09 16:42:24] local.INFO: Processing buffer {"connection_id":178424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ddae88012d0b78800705de78000c007321..."} 
[2026-09-09 16:42:24] local.INFO: Packet analysis {"connection_id":178424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dd"} 
[2026-09-09 16:42:24] local.INFO: Extracted packet for processing {"connection_id":178424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dd"} 
[2026-09-09 16:42:24] local.INFO: GPS Element Parsed {"raw_longitude":755726464,"raw_latitude":117825144,"longitude_deg":75.5726464,"latitude_deg":11.7825144,"altitude":12,"angle":115,"satellites":33,"speed":31,"hex_longitude":"2d0b7880","hex_latitude":"0705de78","is_valid_coordinates":true} 
[2026-09-09 16:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971785728001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31022888081424384,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822399543368169472,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788952293000,"timestamp_ms":1788952293000,"timestamp_seconds":1788952293,"priority":1,"record_length":96,"hex_timestamp":"000001a085ddae88"} 
[2026-09-09 16:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 16:42: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-09-09 16:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178424,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971785728001,"66":14450,"165":206,"94":10240,"24":31,"16":31022888081424384,"45":822399543368169472},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-09 16:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971785728001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:24] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-09 16:42:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-09 16:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31022888081424384,"km_value":31022888081424.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":822399543368169472,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971785728001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":822399543368169472}} 
[2026-09-09 16:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":178424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789832,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:24] local.INFO: GPS data processed {"connection_id":178424,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:24] local.INFO: Acknowledgment sent {"connection_id":178424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:24] local.INFO: TCP Data received {"connection_id":177037,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:42:24] local.INFO: Processing buffer {"connection_id":177037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:42:24] local.INFO: IMEI packet received {"connection_id":177037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":177037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:42:25] local.INFO: TCP Data received {"connection_id":177037,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085de27a0012d7b264005e29168000b00cc1d..."} 
[2026-09-09 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de27a0012d7b264005e29168000b00cc1d..."} 
[2026-09-09 16:42:25] local.INFO: Processing buffer {"connection_id":177037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de27a0012d7b264005e29168000b00cc1d..."} 
[2026-09-09 16:42:25] local.INFO: Packet analysis {"connection_id":177037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:42:25] local.INFO: Extracted packet for processing {"connection_id":177037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763045440,"raw_latitude":98734440,"longitude_deg":76.304544,"latitude_deg":9.873444,"altitude":11,"angle":204,"satellites":29,"speed":8,"hex_longitude":"2d7b2640","hex_latitude":"05e29168","is_valid_coordinates":true} 
[2026-09-09 16:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971794688001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130355800781619200,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247288741888,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788952324000,"timestamp_ms":1788952324000,"timestamp_seconds":1788952324,"priority":1,"record_length":96,"hex_timestamp":"000001a085de27a0"} 
[2026-09-09 16:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42: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-09-09 16:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-09 16:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971794688001,"66":13765,"207":206,"85":15104,"24":8,"16":130355800781619200,"45":8873991247288741888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 16:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971794688001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:25] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 16:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130355800781619200,"km_value":130355800781619.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247288741888,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971794688001,"power":13765,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8873991247288741888}} 
[2026-09-09 16:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":177037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:25] local.INFO: GPS data processed {"connection_id":177037,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:25] local.INFO: Acknowledgment sent {"connection_id":177037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:26] local.INFO: TCP Data received {"connection_id":177037,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085de2b88012d7b260005e290e0000b00dc1b..."} 
[2026-09-09 16:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de2b88012d7b260005e290e0000b00dc1b..."} 
[2026-09-09 16:42:26] local.INFO: Processing buffer {"connection_id":177037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de2b88012d7b260005e290e0000b00dc1b..."} 
[2026-09-09 16:42:26] local.INFO: Packet analysis {"connection_id":177037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:42:26] local.INFO: Extracted packet for processing {"connection_id":177037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763045376,"raw_latitude":98734304,"longitude_deg":76.3045376,"latitude_deg":9.8734304,"altitude":11,"angle":220,"satellites":27,"speed":5,"hex_longitude":"2d7b2600","hex_latitude":"05e290e0","is_valid_coordinates":true} 
[2026-09-09 16:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971794944001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130355809371553792,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873850509800335360,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788952325000,"timestamp_ms":1788952325000,"timestamp_seconds":1788952325,"priority":1,"record_length":96,"hex_timestamp":"000001a085de2b88"} 
[2026-09-09 16:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 16:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971794944001,"66":13765,"207":206,"85":15104,"24":5,"16":130355809371553792,"45":8873850509800335360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 16:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971794944001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 16:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130355809371553792,"km_value":130355809371553.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873850509800335360,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971794944001,"power":13765,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8873850509800335360}} 
[2026-09-09 16:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":177037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:26] local.INFO: GPS data processed {"connection_id":177037,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:26] local.INFO: Acknowledgment sent {"connection_id":177037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:29] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:42:29] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:42:29] local.INFO: IMEI packet received {"connection_id":175633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":175633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:42:30] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:42:30] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:42:30] local.INFO: IMEI packet received {"connection_id":175633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":175633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:42:35] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:42:35] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:42:35] local.INFO: IMEI packet received {"connection_id":175633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":175633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:42:35] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085dd1a18012d190d00071fe870003e00a524..."} 
[2026-09-09 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dd1a18012d190d00071fe870003e00a524..."} 
[2026-09-09 16:42:35] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dd1a18012d190d00071fe870003e00a524..."} 
[2026-09-09 16:42:35] local.INFO: Packet analysis {"connection_id":175633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085dd"} 
[2026-09-09 16:42:35] local.INFO: Extracted packet for processing {"connection_id":175633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085dd"} 
[2026-09-09 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756616448,"raw_latitude":119531632,"longitude_deg":75.6616448,"latitude_deg":11.9531632,"altitude":62,"angle":165,"satellites":36,"speed":5,"hex_longitude":"2d190d00","hex_latitude":"071fe870","is_valid_coordinates":true} 
[2026-09-09 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971773952001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19108713226829824,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805099056245661696,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788952255000,"timestamp_ms":1788952255000,"timestamp_seconds":1788952255,"priority":1,"record_length":96,"hex_timestamp":"000001a085dd1a18"} 
[2026-09-09 16:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 16:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971773952001,"66":14461,"102":206,"83":41984,"24":5,"16":19108713226829824,"45":1805099056245661696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971773952001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19108713226829824,"km_value":19108713226829.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805099056245661696,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971773952001,"power":14461,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1805099056245661696}} 
[2026-09-09 16:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":175633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:36] local.INFO: GPS data processed {"connection_id":175633,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:36] local.INFO: Acknowledgment sent {"connection_id":175633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:38] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:42:38] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:42:38] local.INFO: IMEI packet received {"connection_id":175634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":175634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:42:41] local.INFO: TCP Data received {"connection_id":177038,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:42:41] local.INFO: Processing buffer {"connection_id":177038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:42:41] local.INFO: IMEI packet received {"connection_id":177038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":177038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:42:43] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:42:43] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:42:43] local.INFO: IMEI packet received {"connection_id":175634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":175634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:42:45] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:42:45] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:42:45] local.INFO: Packet analysis {"connection_id":175634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:42:45] local.INFO: Extracted packet for processing {"connection_id":175634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:42:45] 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-09-09 16: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-09-09 16:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":175634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:45] local.INFO: GPS data processed {"connection_id":175634,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:45] local.INFO: Acknowledgment sent {"connection_id":175634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:42:57] local.INFO: TCP Data received {"connection_id":177037,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085de3740012d7b23c005e29028000b00f31a..."} 
[2026-09-09 16:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de3740012d7b23c005e29028000b00f31a..."} 
[2026-09-09 16:42:58] local.INFO: Processing buffer {"connection_id":177037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de3740012d7b23c005e29028000b00f31a..."} 
[2026-09-09 16:42:58] local.INFO: Packet analysis {"connection_id":177037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:42:58] local.INFO: Extracted packet for processing {"connection_id":177037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98734120,"longitude_deg":76.30448,"latitude_deg":9.873412,"altitude":11,"angle":243,"satellites":26,"speed":6,"hex_longitude":"2d7b23c0","hex_latitude":"05e29028","is_valid_coordinates":true} 
[2026-09-09 16:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971795200001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130355835141357568,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873780141056122880,"note":"Value kept but may cause issues"} 
[2026-09-09 16:42: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-09-09 16:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788952328000,"timestamp_ms":1788952328000,"timestamp_seconds":1788952328,"priority":1,"record_length":96,"hex_timestamp":"000001a085de3740"} 
[2026-09-09 16:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 16:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971795200001,"66":13798,"207":206,"85":15104,"24":6,"16":130355835141357568,"45":8873780141056122880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 16:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971795200001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:42:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 16:42:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130355835141357568,"km_value":130355835141357.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873780141056122880,"description":"Unknown IO ID 45"} 
[2026-09-09 16:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971795200001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8873780141056122880}} 
[2026-09-09 16:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":177037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:42:58] local.INFO: GPS data processed {"connection_id":177037,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:42:58] local.INFO: Acknowledgment sent {"connection_id":177037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:43:07] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085de6620012d193bc0071fe5580041005324..."} 
[2026-09-09 16:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de6620012d193bc0071fe5580041005324..."} 
[2026-09-09 16:43:07] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de6620012d193bc0071fe5580041005324..."} 
[2026-09-09 16:43:07] local.INFO: Packet analysis {"connection_id":175633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:43:07] local.INFO: Extracted packet for processing {"connection_id":175633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756628416,"raw_latitude":119530840,"longitude_deg":75.6628416,"latitude_deg":11.953084,"altitude":65,"angle":83,"satellites":36,"speed":7,"hex_longitude":"2d193bc0","hex_latitude":"071fe558","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971798784001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19109769788784640,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818117273918187520,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788952340000,"timestamp_ms":1788952340000,"timestamp_seconds":1788952340,"priority":1,"record_length":96,"hex_timestamp":"000001a085de6620"} 
[2026-09-09 16:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":111,"data_length":795,"current_offset":136} 
[2026-09-09 16:43: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-09-09 16: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-09-09 16:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971798784001,"66":13167,"102":206,"83":41984,"24":7,"16":19109769788784640,"45":1818117273918187520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971798784001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19109769788784640,"km_value":19109769788784.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818117273918187520,"description":"Unknown IO ID 45"} 
[2026-09-09 16:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971798784001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1818117273918187520}} 
[2026-09-09 16:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":175633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:43:07] local.INFO: GPS data processed {"connection_id":175633,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:43:07] local.INFO: Acknowledgment sent {"connection_id":175633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:43:13] local.INFO: TCP Data received {"connection_id":175843,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:43:13] local.INFO: Processing buffer {"connection_id":175843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:43:13] local.INFO: IMEI packet received {"connection_id":175843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":175843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:43:15] local.INFO: TCP Data received {"connection_id":175843,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:43:15] local.INFO: Processing buffer {"connection_id":175843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:43:15] local.INFO: IMEI packet received {"connection_id":175843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":175843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:43:16] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:43:16] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085da7268012d34cc4006aa49080000013424..."} 
[2026-09-09 16:43:16] local.INFO: Packet analysis {"connection_id":175634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:43:16] local.INFO: Extracted packet for processing {"connection_id":175634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085da"} 
[2026-09-09 16:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971655680001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788952081000,"timestamp_ms":1788952081000,"timestamp_seconds":1788952081,"priority":1,"record_length":96,"hex_timestamp":"000001a085da7268"} 
[2026-09-09 16:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 16:43:16] 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-09-09 16:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971655680001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971655680001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971655680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":175634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:43:16] local.INFO: GPS data processed {"connection_id":175634,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:43:16] local.INFO: Acknowledgment sent {"connection_id":175634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:43:18] local.INFO: TCP Data received {"connection_id":177039,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:43:18] local.INFO: Processing buffer {"connection_id":177039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:43:18] local.INFO: IMEI packet received {"connection_id":177039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":177039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:43:19] local.INFO: TCP Data received {"connection_id":177039,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:43:19] local.INFO: Processing buffer {"connection_id":177039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:43:19] local.INFO: IMEI packet received {"connection_id":177039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":177039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:43:20] local.INFO: TCP Data received {"connection_id":175843,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:43:20] local.INFO: Processing buffer {"connection_id":175843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:43:20] local.INFO: IMEI packet received {"connection_id":175843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":175843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:43:24] local.INFO: TCP Data received {"connection_id":177039,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:43:24] local.INFO: Processing buffer {"connection_id":177039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:43:24] local.INFO: IMEI packet received {"connection_id":177039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":177039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:43:25] local.INFO: TCP Data received {"connection_id":177039,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085de3b28012d7b234005e29098000b01181b..."} 
[2026-09-09 16:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de3b28012d7b234005e29098000b01181b..."} 
[2026-09-09 16:43:25] local.INFO: Processing buffer {"connection_id":177039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de3b28012d7b234005e29098000b01181b..."} 
[2026-09-09 16:43:25] local.INFO: Packet analysis {"connection_id":177039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:43:25] local.INFO: Extracted packet for processing {"connection_id":177039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763044672,"raw_latitude":98734232,"longitude_deg":76.3044672,"latitude_deg":9.8734232,"altitude":11,"angle":280,"satellites":27,"speed":5,"hex_longitude":"2d7b2340","hex_latitude":"05e29098","is_valid_coordinates":true} 
[2026-09-09 16:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971795968001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130355843731292160,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873146822358476800,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788952329000,"timestamp_ms":1788952329000,"timestamp_seconds":1788952329,"priority":1,"record_length":96,"hex_timestamp":"000001a085de3b28"} 
[2026-09-09 16:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:43: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-09-09 16:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971795968001,"66":13798,"207":206,"85":15104,"24":5,"16":130355843731292160,"45":8873146822358476800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 16:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971795968001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:43:25] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 16:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130355843731292160,"km_value":130355843731292.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873146822358476800,"description":"Unknown IO ID 45"} 
[2026-09-09 16:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971795968001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8873146822358476800}} 
[2026-09-09 16:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":177039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:43:26] local.INFO: GPS data processed {"connection_id":177039,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:43:26] local.INFO: Acknowledgment sent {"connection_id":177039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:43:29] local.INFO: TCP Data received {"connection_id":178425,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:43:29] local.INFO: Processing buffer {"connection_id":178425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:43:29] local.INFO: IMEI packet received {"connection_id":178425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":178425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:43:34] local.INFO: TCP Data received {"connection_id":178425,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:43:34] local.INFO: Processing buffer {"connection_id":178425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:43:34] local.INFO: IMEI packet received {"connection_id":178425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":178425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:43:38] local.INFO: TCP Data received {"connection_id":178426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:43:38] local.INFO: Processing buffer {"connection_id":178426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:43:38] local.INFO: IMEI packet received {"connection_id":178426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":178426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:43:40] local.INFO: TCP Data received {"connection_id":178425,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:43:40] local.INFO: Processing buffer {"connection_id":178425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:43:40] local.INFO: IMEI packet received {"connection_id":178425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":178425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:43:40] local.INFO: TCP Data received {"connection_id":178426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:43:40] local.INFO: Processing buffer {"connection_id":178426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:43:40] local.INFO: IMEI packet received {"connection_id":178426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":178426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:43:40] local.INFO: TCP Data received {"connection_id":178425,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085de6df0012d193d40071fe5d00041003625..."} 
[2026-09-09 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de6df0012d193d40071fe5d00041003625..."} 
[2026-09-09 16:43:40] local.INFO: Processing buffer {"connection_id":178425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de6df0012d193d40071fe5d00041003625..."} 
[2026-09-09 16:43:40] local.INFO: Packet analysis {"connection_id":178425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:43:40] local.INFO: Extracted packet for processing {"connection_id":178425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119530960,"longitude_deg":75.66288,"latitude_deg":11.953096,"altitude":65,"angle":54,"satellites":37,"speed":6,"hex_longitude":"2d193d40","hex_latitude":"071fe5d0","is_valid_coordinates":true} 
[2026-09-09 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971799040001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19109791263621120,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818258011406555136,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43: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-09-09 16:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788952342000,"timestamp_ms":1788952342000,"timestamp_seconds":1788952342,"priority":1,"record_length":96,"hex_timestamp":"000001a085de6df0"} 
[2026-09-09 16:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-09 16:43:40] 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-09-09 16:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971799040001,"66":13135,"102":206,"83":41984,"24":6,"16":19109791263621120,"45":1818258011406555136},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971799040001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:43:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:43:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19109791263621120,"km_value":19109791263621.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818258011406555136,"description":"Unknown IO ID 45"} 
[2026-09-09 16:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971799040001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1818258011406555136}} 
[2026-09-09 16:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":178425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:43:41] local.INFO: GPS data processed {"connection_id":178425,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:43:41] local.INFO: Acknowledgment sent {"connection_id":178425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:43:47] local.INFO: TCP Data received {"connection_id":178426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:43:47] local.INFO: Processing buffer {"connection_id":178426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:43:47] local.INFO: IMEI packet received {"connection_id":178426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":178426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:43:49] local.INFO: TCP Data received {"connection_id":178426,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:43:49] local.INFO: Processing buffer {"connection_id":178426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:43:49] local.INFO: Packet analysis {"connection_id":178426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:43:49] local.INFO: Extracted packet for processing {"connection_id":178426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":178426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:43:49] local.INFO: GPS data processed {"connection_id":178426,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:43:49] local.INFO: Acknowledgment sent {"connection_id":178426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:43:57] local.INFO: TCP Data received {"connection_id":177039,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085de3f10012d7b224005e29128000b01321b..."} 
[2026-09-09 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de3f10012d7b224005e29128000b01321b..."} 
[2026-09-09 16:43:57] local.INFO: Processing buffer {"connection_id":177039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de3f10012d7b224005e29128000b01321b..."} 
[2026-09-09 16:43:57] local.INFO: Packet analysis {"connection_id":177039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:43:57] local.INFO: Extracted packet for processing {"connection_id":177039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763044416,"raw_latitude":98734376,"longitude_deg":76.3044416,"latitude_deg":9.8734376,"altitude":11,"angle":306,"satellites":27,"speed":5,"hex_longitude":"2d7b2240","hex_latitude":"05e29128","is_valid_coordinates":true} 
[2026-09-09 16:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971796224001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130355856616194048,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873006084870150144,"note":"Value kept but may cause issues"} 
[2026-09-09 16:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788952330000,"timestamp_ms":1788952330000,"timestamp_seconds":1788952330,"priority":1,"record_length":96,"hex_timestamp":"000001a085de3f10"} 
[2026-09-09 16:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:43: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-09-09 16:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 16:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971796224001,"66":13656,"207":206,"85":15104,"24":5,"16":130355856616194048,"45":8873006084870150144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 16:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971796224001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:43:57] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 16:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130355856616194048,"km_value":130355856616194.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873006084870150144,"description":"Unknown IO ID 45"} 
[2026-09-09 16:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971796224001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8873006084870150144}} 
[2026-09-09 16:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":177039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:43:57] local.INFO: GPS data processed {"connection_id":177039,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:43:57] local.INFO: Acknowledgment sent {"connection_id":177039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:44:12] local.INFO: TCP Data received {"connection_id":178425,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085de71d8012d193d80071fe6300041002a25..."} 
[2026-09-09 16:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de71d8012d193d80071fe6300041002a25..."} 
[2026-09-09 16:44:12] local.INFO: Processing buffer {"connection_id":178425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de71d8012d193d80071fe6300041002a25..."} 
[2026-09-09 16:44:12] local.INFO: Packet analysis {"connection_id":178425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:44:12] local.INFO: Extracted packet for processing {"connection_id":178425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119531056,"longitude_deg":75.6628864,"latitude_deg":11.9531056,"altitude":65,"angle":42,"satellites":37,"speed":5,"hex_longitude":"2d193d80","hex_latitude":"071fe630","is_valid_coordinates":true} 
[2026-09-09 16:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971799552001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19109795558588416,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223871651840,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44: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-09-09 16:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788952343000,"timestamp_ms":1788952343000,"timestamp_seconds":1788952343,"priority":1,"record_length":96,"hex_timestamp":"000001a085de71d8"} 
[2026-09-09 16:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:44: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-09-09 16:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-09 16:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971799552001,"66":12885,"102":206,"83":41984,"24":5,"16":19109795558588416,"45":1818680223871651840},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971799552001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:44:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19109795558588416,"km_value":19109795558588.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223871651840,"description":"Unknown IO ID 45"} 
[2026-09-09 16:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971799552001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1818680223871651840}} 
[2026-09-09 16:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":178425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:44:12] local.INFO: GPS data processed {"connection_id":178425,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:44:12] local.INFO: Acknowledgment sent {"connection_id":178425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:44:20] local.INFO: TCP Data received {"connection_id":178427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:44:20] local.INFO: Processing buffer {"connection_id":178427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:44:20] local.INFO: IMEI packet received {"connection_id":178427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":178427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:44:22] local.INFO: TCP Data received {"connection_id":178426,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:44:22] local.INFO: Processing buffer {"connection_id":178426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:44:22] local.INFO: Packet analysis {"connection_id":178426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:44:22] local.INFO: Extracted packet for processing {"connection_id":178426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:44:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:44:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":178426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:44:22] local.INFO: GPS data processed {"connection_id":178426,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:44:22] local.INFO: Acknowledgment sent {"connection_id":178426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:44:24] local.INFO: TCP Data received {"connection_id":178427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:44:24] local.INFO: Processing buffer {"connection_id":178427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:44:24] local.INFO: IMEI packet received {"connection_id":178427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":178427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:44:26] local.INFO: TCP Data received {"connection_id":178427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085de42f8012d7b220005e29280000b015a1b..."} 
[2026-09-09 16:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de42f8012d7b220005e29280000b015a1b..."} 
[2026-09-09 16:44:26] local.INFO: Processing buffer {"connection_id":178427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de42f8012d7b220005e29280000b015a1b..."} 
[2026-09-09 16:44:26] local.INFO: Packet analysis {"connection_id":178427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:44:26] local.INFO: Extracted packet for processing {"connection_id":178427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":98734720,"longitude_deg":76.3044352,"latitude_deg":9.873472,"altitude":11,"angle":346,"satellites":27,"speed":9,"hex_longitude":"2d7b2200","hex_latitude":"05e29280","is_valid_coordinates":true} 
[2026-09-09 16:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971796480001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130355873796063232,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872724609893476352,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788952331000,"timestamp_ms":1788952331000,"timestamp_seconds":1788952331,"priority":1,"record_length":96,"hex_timestamp":"000001a085de42f8"} 
[2026-09-09 16:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 16:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971796480001,"66":13656,"207":206,"85":15104,"24":9,"16":130355873796063232,"45":8872724609893476352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 16:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971796480001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:44:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 16:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130355873796063232,"km_value":130355873796063.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872724609893476352,"description":"Unknown IO ID 45"} 
[2026-09-09 16:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971796480001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8872724609893476352}} 
[2026-09-09 16:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":178427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:44:26] local.INFO: GPS data processed {"connection_id":178427,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:44:26] local.INFO: Acknowledgment sent {"connection_id":178427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:44:29] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:44:29] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:44:29] local.INFO: IMEI packet received {"connection_id":175845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":175845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:44:29] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:44:29] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:44:29] local.INFO: IMEI packet received {"connection_id":175845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":175845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:44:35] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:44:35] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:44:35] local.INFO: IMEI packet received {"connection_id":175845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":175845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:44:35] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085de8d30012d193e80071fe8080040000526..."} 
[2026-09-09 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085de8d30012d193e80071fe8080040000526..."} 
[2026-09-09 16:44:35] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085de8d30012d193e80071fe8080040000526..."} 
[2026-09-09 16:44:35] local.INFO: Packet analysis {"connection_id":175845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:44:35] local.INFO: Extracted packet for processing {"connection_id":175845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119531528,"longitude_deg":75.662912,"latitude_deg":11.9531528,"altitude":64,"angle":5,"satellites":38,"speed":6,"hex_longitude":"2d193e80","hex_latitude":"071fe808","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971799808001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19109825623359488,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592615854080,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788952350000,"timestamp_ms":1788952350000,"timestamp_seconds":1788952350,"priority":1,"record_length":96,"hex_timestamp":"000001a085de8d30"} 
[2026-09-09 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-09-09 16:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-09 16:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971799808001,"66":13156,"102":206,"83":41984,"24":6,"16":19109825623359488,"45":1818750592615854080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971799808001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:44:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19109825623359488,"km_value":19109825623359.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592615854080,"description":"Unknown IO ID 45"} 
[2026-09-09 16:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971799808001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1818750592615854080}} 
[2026-09-09 16:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":175845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:44:36] local.INFO: GPS data processed {"connection_id":175845,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:44:36] local.INFO: Acknowledgment sent {"connection_id":175845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:44:43] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:44:43] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:44:43] local.INFO: IMEI packet received {"connection_id":177040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":177040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:44:48] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:44:48] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:44:48] local.INFO: IMEI packet received {"connection_id":177040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":177040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:44:50] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:44:50] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:44:50] local.INFO: Packet analysis {"connection_id":177040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:44:50] local.INFO: Extracted packet for processing {"connection_id":177040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:44: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-09-09 16:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:44:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":177040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:44:50] local.INFO: GPS data processed {"connection_id":177040,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:44:50] local.INFO: Acknowledgment sent {"connection_id":177040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:44:57] local.INFO: TCP Data received {"connection_id":178427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085e04a80012d7aed4005e395e80009015321..."} 
[2026-09-09 16:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e04a80012d7aed4005e395e80009015321..."} 
[2026-09-09 16:44:57] local.INFO: Processing buffer {"connection_id":178427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e04a80012d7aed4005e395e80009015321..."} 
[2026-09-09 16:44:57] local.INFO: Packet analysis {"connection_id":178427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e0"} 
[2026-09-09 16:44:57] local.INFO: Extracted packet for processing {"connection_id":178427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e0"} 
[2026-09-09 16:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763030848,"raw_latitude":98801128,"longitude_deg":76.3030848,"latitude_deg":9.8801128,"altitude":9,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7aed40","hex_latitude":"05e395e8","is_valid_coordinates":true} 
[2026-09-09 16:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971825664001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130359210985652224,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859073073539497984,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788952464000,"timestamp_ms":1788952464000,"timestamp_seconds":1788952464,"priority":1,"record_length":96,"hex_timestamp":"000001a085e04a80"} 
[2026-09-09 16:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:44: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-09-09 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632159,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2245988864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6777636032935362570,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3748898817,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435112911,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809073152,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1116899180045926410,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-7709936750679765419,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-09-09 16:44:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,32,160,232,45,192,134,9,29,10,66,225,128,132,170,1,240,213,227,133,4,113,205,64,7,40,13,239,53,2,207,5,19,123,52,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-09 16:44:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576825919013847040,"timestamp_seconds":576825919013847.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971825664001,"66":13515,"208":206,"85":15104,"24":0,"16":130359210985652224,"45":8859073073539497984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971825664001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:44:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130359210985652224,"km_value":130359210985652.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859073073539497984,"description":"Unknown IO ID 45"} 
[2026-09-09 16:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971825664001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8859073073539497984}} 
[2026-09-09 16:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":178427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:44:58] local.INFO: GPS data processed {"connection_id":178427,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:44:58] local.INFO: Acknowledgment sent {"connection_id":178427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:45:06] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085debc10012d194040071ff7100042016126..."} 
[2026-09-09 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085debc10012d194040071ff7100042016126..."} 
[2026-09-09 16:45:06] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085debc10012d194040071ff7100042016126..."} 
[2026-09-09 16:45:06] local.INFO: Packet analysis {"connection_id":175845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:45:06] local.INFO: Extracted packet for processing {"connection_id":175845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756629568,"raw_latitude":119535376,"longitude_deg":75.6629568,"latitude_deg":11.9535376,"altitude":66,"angle":353,"satellites":38,"speed":6,"hex_longitude":"2d194040","hex_latitude":"071ff710","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971801600001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110014601920512,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067592685568,"note":"Value kept but may cause issues"} 
[2026-09-09 16: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-09-09 16:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788952362000,"timestamp_ms":1788952362000,"timestamp_seconds":1788952362,"priority":1,"record_length":96,"hex_timestamp":"000001a085debc10"} 
[2026-09-09 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-09-09 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-09 16:45: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-09-09 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-09-09 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-09-09 16:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971801600001,"66":13156,"102":206,"83":41984,"24":6,"16":19110014601920512,"45":1819032067592685568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971801600001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110014601920512,"km_value":19110014601920.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067592685568,"description":"Unknown IO ID 45"} 
[2026-09-09 16:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971801600001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1819032067592685568}} 
[2026-09-09 16:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":175845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:45:06] local.INFO: GPS data processed {"connection_id":175845,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:45:06] local.INFO: Acknowledgment sent {"connection_id":175845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:45:19] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:45:19] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:45:19] local.INFO: IMEI packet received {"connection_id":175635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":175635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:45:21] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:45:21] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:45:21] local.INFO: Packet analysis {"connection_id":177040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:45:21] local.INFO: Extracted packet for processing {"connection_id":177040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:45:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":177040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:45:21] local.INFO: GPS data processed {"connection_id":177040,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:45:21] local.INFO: Acknowledgment sent {"connection_id":177040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:45:24] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:45:24] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:45:24] local.INFO: IMEI packet received {"connection_id":175635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":175635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:45:26] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085e09c88012d7aed4005e397100009016121..."} 
[2026-09-09 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e09c88012d7aed4005e397100009016121..."} 
[2026-09-09 16:45:26] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e09c88012d7aed4005e397100009016121..."} 
[2026-09-09 16:45:26] local.INFO: Packet analysis {"connection_id":175635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e0"} 
[2026-09-09 16:45:26] local.INFO: Extracted packet for processing {"connection_id":175635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e0"} 
[2026-09-09 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763030848,"raw_latitude":98801424,"longitude_deg":76.3030848,"latitude_deg":9.8801424,"altitude":9,"angle":353,"satellites":33,"speed":3,"hex_longitude":"2d7aed40","hex_latitude":"05e39710","is_valid_coordinates":true} 
[2026-09-09 16:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971830784001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130359228165521408,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857806436144900096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788952485000,"timestamp_ms":1788952485000,"timestamp_seconds":1788952485,"priority":1,"record_length":96,"hex_timestamp":"000001a085e09c88"} 
[2026-09-09 16:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 16:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971830784001,"66":13396,"208":206,"85":15104,"24":3,"16":130359228165521408,"45":8857806436144900096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971830784001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:45:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130359228165521408,"km_value":130359228165521.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857806436144900096,"description":"Unknown IO ID 45"} 
[2026-09-09 16:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971830784001,"power":13396,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8857806436144900096}} 
[2026-09-09 16:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":175635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:45:26] local.INFO: GPS data processed {"connection_id":175635,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:45:26] local.INFO: Acknowledgment sent {"connection_id":175635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:45:30] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:45:30] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:45:30] local.INFO: IMEI packet received {"connection_id":175846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":175846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:45:32] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:45:32] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:45:32] local.INFO: IMEI packet received {"connection_id":175846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":175846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:45:32] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ded380012d193e40071ff8e8004100f223..."} 
[2026-09-09 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ded380012d193e40071ff8e8004100f223..."} 
[2026-09-09 16:45:32] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ded380012d193e40071ff8e8004100f223..."} 
[2026-09-09 16:45:32] local.INFO: Packet analysis {"connection_id":175846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:45:32] local.INFO: Extracted packet for processing {"connection_id":175846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085de"} 
[2026-09-09 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756629056,"raw_latitude":119535848,"longitude_deg":75.6629056,"latitude_deg":11.9535848,"altitude":65,"angle":242,"satellites":35,"speed":6,"hex_longitude":"2d193e40","hex_latitude":"071ff8e8","is_valid_coordinates":true} 
[2026-09-09 16:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971804672001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110053256626176,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819524648802914304,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45: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-09-09 16:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788952368000,"timestamp_ms":1788952368000,"timestamp_seconds":1788952368,"priority":1,"record_length":96,"hex_timestamp":"000001a085ded380"} 
[2026-09-09 16:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-09 16:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971804672001,"66":13156,"102":206,"83":41984,"24":6,"16":19110053256626176,"45":1819524648802914304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971804672001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:45:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110053256626176,"km_value":19110053256626.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819524648802914304,"description":"Unknown IO ID 45"} 
[2026-09-09 16:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971804672001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1819524648802914304}} 
[2026-09-09 16:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":175846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:45:32] local.INFO: GPS data processed {"connection_id":175846,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:45:32] local.INFO: Acknowledgment sent {"connection_id":175846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:45:38] local.INFO: TCP Data received {"connection_id":177041,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:45:38] local.INFO: Processing buffer {"connection_id":177041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:45:38] local.INFO: IMEI packet received {"connection_id":177041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":177041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:45:43] local.INFO: TCP Data received {"connection_id":177041,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:45:43] local.INFO: Processing buffer {"connection_id":177041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:45:43] local.INFO: IMEI packet received {"connection_id":177041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":177041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:45:44] local.INFO: TCP Data received {"connection_id":177041,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:45:44] local.INFO: Processing buffer {"connection_id":177041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:45:44] local.INFO: Packet analysis {"connection_id":177041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:45:44] local.INFO: Extracted packet for processing {"connection_id":177041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":177041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:45:44] local.INFO: GPS data processed {"connection_id":177041,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:45:44] local.INFO: Acknowledgment sent {"connection_id":177041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:45:58] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085e0b3f8012d7aec8005e39c480009015620..."} 
[2026-09-09 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e0b3f8012d7aec8005e39c480009015620..."} 
[2026-09-09 16:45:58] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e0b3f8012d7aec8005e39c480009015620..."} 
[2026-09-09 16:45:58] local.INFO: Packet analysis {"connection_id":175635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e0"} 
[2026-09-09 16:45:58] local.INFO: Extracted packet for processing {"connection_id":175635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e0"} 
[2026-09-09 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98802760,"longitude_deg":76.3030656,"latitude_deg":9.880276,"altitude":9,"angle":342,"satellites":32,"speed":11,"hex_longitude":"2d7aec80","hex_latitude":"05e39c48","is_valid_coordinates":true} 
[2026-09-09 16:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971836160001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130359292590030848,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857806436144975872,"note":"Value kept but may cause issues"} 
[2026-09-09 16:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788952491000,"timestamp_ms":1788952491000,"timestamp_seconds":1788952491,"priority":1,"record_length":96,"hex_timestamp":"000001a085e0b3f8"} 
[2026-09-09 16:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-09 16:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971836160001,"66":13646,"208":206,"85":15104,"24":11,"16":130359292590030848,"45":8857806436144975872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971836160001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:45:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:45:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130359292590030848,"km_value":130359292590030.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857806436144975872,"description":"Unknown IO ID 45"} 
[2026-09-09 16:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971836160001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8857806436144975872}} 
[2026-09-09 16:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":175635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:45:58] local.INFO: GPS data processed {"connection_id":175635,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:45:58] local.INFO: Acknowledgment sent {"connection_id":175635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:46:03] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085df2588012d193d40071ff910004000f71d..."} 
[2026-09-09 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df2588012d193d40071ff910004000f71d..."} 
[2026-09-09 16:46:03] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df2588012d193d40071ff910004000f71d..."} 
[2026-09-09 16:46:03] local.INFO: Packet analysis {"connection_id":175846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:46:03] local.INFO: Extracted packet for processing {"connection_id":175846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119535888,"longitude_deg":75.66288,"latitude_deg":11.9535888,"altitude":64,"angle":247,"satellites":29,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ff910","is_valid_coordinates":true} 
[2026-09-09 16:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971806208001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110079026429952,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818961698849613824,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46: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-09-09 16:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788952389000,"timestamp_ms":1788952389000,"timestamp_seconds":1788952389,"priority":1,"record_length":96,"hex_timestamp":"000001a085df2588"} 
[2026-09-09 16:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:46: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-09-09 16:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-09 16:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971806208001,"66":13059,"102":206,"83":41984,"24":0,"16":19110079026429952,"45":1818961698849613824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971806208001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:46:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110079026429952,"km_value":19110079026429.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818961698849613824,"description":"Unknown IO ID 45"} 
[2026-09-09 16:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971806208001,"power":13059,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818961698849613824}} 
[2026-09-09 16:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":175846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:46:04] local.INFO: GPS data processed {"connection_id":175846,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:46:04] local.INFO: Acknowledgment sent {"connection_id":175846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:46:16] local.INFO: TCP Data received {"connection_id":177041,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:46:16] local.INFO: Processing buffer {"connection_id":177041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:46:16] local.INFO: Packet analysis {"connection_id":177041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:46:16] local.INFO: Extracted packet for processing {"connection_id":177041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":177041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:46:16] local.INFO: GPS data processed {"connection_id":177041,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:46:16] local.INFO: Acknowledgment sent {"connection_id":177041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:46:19] local.INFO: TCP Data received {"connection_id":178430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:46:19] local.INFO: Processing buffer {"connection_id":178430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:46:19] local.INFO: IMEI packet received {"connection_id":178430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":178430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:46:24] local.INFO: TCP Data received {"connection_id":178430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:46:24] local.INFO: Processing buffer {"connection_id":178430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:46:24] local.INFO: IMEI packet received {"connection_id":178430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":178430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:46:26] local.INFO: TCP Data received {"connection_id":178430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085e0e6c0012d7ae1c005e3be38000901571f..."} 
[2026-09-09 16:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e0e6c0012d7ae1c005e3be38000901571f..."} 
[2026-09-09 16:46:26] local.INFO: Processing buffer {"connection_id":178430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e0e6c0012d7ae1c005e3be38000901571f..."} 
[2026-09-09 16:46:26] local.INFO: Packet analysis {"connection_id":178430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e0"} 
[2026-09-09 16:46:26] local.INFO: Extracted packet for processing {"connection_id":178430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e0"} 
[2026-09-09 16:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763027904,"raw_latitude":98811448,"longitude_deg":76.3027904,"latitude_deg":9.8811448,"altitude":9,"angle":343,"satellites":31,"speed":36,"hex_longitude":"2d7ae1c0","hex_latitude":"05e3be38","is_valid_coordinates":true} 
[2026-09-09 16:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971837696001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130359734971662336,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912784896,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788952504000,"timestamp_ms":1788952504000,"timestamp_seconds":1788952504,"priority":1,"record_length":96,"hex_timestamp":"000001a085e0e6c0"} 
[2026-09-09 16:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-09 16:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971837696001,"66":14102,"208":206,"85":15104,"24":36,"16":130359734971662336,"45":8857595329912784896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971837696001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:46:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130359734971662336,"km_value":130359734971662.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912784896,"description":"Unknown IO ID 45"} 
[2026-09-09 16:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971837696001,"power":14102,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8857595329912784896}} 
[2026-09-09 16:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":178430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:46:26] local.INFO: GPS data processed {"connection_id":178430,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:46:26] local.INFO: Acknowledgment sent {"connection_id":178430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:46:30] local.INFO: TCP Data received {"connection_id":177042,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:46:30] local.INFO: Processing buffer {"connection_id":177042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:46:30] local.INFO: IMEI packet received {"connection_id":177042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":177042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:46:35] local.INFO: TCP Data received {"connection_id":177042,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:46:35] local.INFO: Processing buffer {"connection_id":177042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:46:35] local.INFO: IMEI packet received {"connection_id":177042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":177042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:46:35] local.INFO: TCP Data received {"connection_id":177042,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085df7790012d193d40071ff910004000f720..."} 
[2026-09-09 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df7790012d193d40071ff910004000f720..."} 
[2026-09-09 16:46:35] local.INFO: Processing buffer {"connection_id":177042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df7790012d193d40071ff910004000f720..."} 
[2026-09-09 16:46:35] local.INFO: Packet analysis {"connection_id":177042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:46:35] local.INFO: Extracted packet for processing {"connection_id":177042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119535888,"longitude_deg":75.66288,"latitude_deg":11.9535888,"altitude":64,"angle":247,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ff910","is_valid_coordinates":true} 
[2026-09-09 16:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971811584001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110079026429952,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872913408,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788952410000,"timestamp_ms":1788952410000,"timestamp_seconds":1788952410,"priority":1,"record_length":96,"hex_timestamp":"000001a085df7790"} 
[2026-09-09 16:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164824800632,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":102,"raw_value":58075809043709959,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2245944864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":4096,"corrected_to":0} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3732002817,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3861905473,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":109,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3829465088,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,228,160,211,45,64,248,65,35,10,66,188,247,38,141,128,1,240,100,227,133,31,4,113,205,5,109,61,208,37,239,51,2,67,7],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":247,"original":4096,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 16:46:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611957722353500160,"timestamp_seconds":4611957722353500.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971811584001,"66":13004,"102":206,"83":41984,"24":0,"16":19110079026429952,"45":1818680223872913408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971811584001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:46:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110079026429952,"km_value":19110079026429.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872913408,"description":"Unknown IO ID 45"} 
[2026-09-09 16:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971811584001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872913408}} 
[2026-09-09 16:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":177042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:46:36] local.INFO: GPS data processed {"connection_id":177042,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:46:36] local.INFO: Acknowledgment sent {"connection_id":177042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:46:38] local.INFO: TCP Data received {"connection_id":178431,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:46:38] local.INFO: Processing buffer {"connection_id":178431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:46:38] local.INFO: IMEI packet received {"connection_id":178431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":178431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:46:44] local.INFO: TCP Data received {"connection_id":178431,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:46:44] local.INFO: Processing buffer {"connection_id":178431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:46:44] local.INFO: IMEI packet received {"connection_id":178431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":178431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:46:44] local.INFO: TCP Data received {"connection_id":178431,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:46:44] local.INFO: Processing buffer {"connection_id":178431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:46:44] local.INFO: Packet analysis {"connection_id":178431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:46:44] local.INFO: Extracted packet for processing {"connection_id":178431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:46: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-09-09 16:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":178431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:46:44] local.INFO: GPS data processed {"connection_id":178431,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:46:44] local.INFO: Acknowledgment sent {"connection_id":178431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:46:57] local.INFO: TCP Data received {"connection_id":178430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085e134e0012d7ad88005e3dd600008015f21..."} 
[2026-09-09 16:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e134e0012d7ad88005e3dd600008015f21..."} 
[2026-09-09 16:46:57] local.INFO: Processing buffer {"connection_id":178430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e134e0012d7ad88005e3dd600008015f21..."} 
[2026-09-09 16:46:57] local.INFO: Packet analysis {"connection_id":178430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e1"} 
[2026-09-09 16:46:57] local.INFO: Extracted packet for processing {"connection_id":178430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e1"} 
[2026-09-09 16:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763025536,"raw_latitude":98819424,"longitude_deg":76.3025536,"latitude_deg":9.8819424,"altitude":8,"angle":351,"satellites":33,"speed":0,"hex_longitude":"2d7ad880","hex_latitude":"05e3dd60","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971841024001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130360142993555456,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854569473915369472,"note":"Value kept but may cause issues"} 
[2026-09-09 16:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788952524000,"timestamp_ms":1788952524000,"timestamp_seconds":1788952524,"priority":1,"record_length":96,"hex_timestamp":"000001a085e134e0"} 
[2026-09-09 16:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:46: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-09-09 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 16:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971841024001,"66":13852,"208":206,"85":15104,"24":0,"16":130360142993555456,"45":8854569473915369472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971841024001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:46:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130360142993555456,"km_value":130360142993555.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854569473915369472,"description":"Unknown IO ID 45"} 
[2026-09-09 16:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971841024001,"power":13852,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8854569473915369472}} 
[2026-09-09 16:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":178430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:46:58] local.INFO: GPS data processed {"connection_id":178430,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:46:58] local.INFO: Acknowledgment sent {"connection_id":178430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:47:05] local.INFO: TCP Data received {"connection_id":175847,"ip":"117.225.222.226","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:47:05] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:47:05] local.INFO: IMEI packet received {"connection_id":175847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":175847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:47:06] local.INFO: TCP Data received {"connection_id":177042,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085dfc998012d193d40071ff910004000f720..."} 
[2026-09-09 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085dfc998012d193d40071ff910004000f720..."} 
[2026-09-09 16:47:06] local.INFO: Processing buffer {"connection_id":177042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085dfc998012d193d40071ff910004000f720..."} 
[2026-09-09 16:47:06] local.INFO: Packet analysis {"connection_id":177042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:47:06] local.INFO: Extracted packet for processing {"connection_id":177042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119535888,"longitude_deg":75.66288,"latitude_deg":11.9535888,"altitude":64,"angle":247,"satellites":32,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ff910","is_valid_coordinates":true} 
[2026-09-09 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971816960001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110079026429952,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223872913408,"note":"Value kept but may cause issues"} 
[2026-09-09 16: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-09-09 16:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788952431000,"timestamp_ms":1788952431000,"timestamp_seconds":1788952431,"priority":1,"record_length":96,"hex_timestamp":"000001a085dfc998"} 
[2026-09-09 16:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 16:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971816960001,"66":13048,"102":206,"83":41984,"24":0,"16":19110079026429952,"45":1818680223872913408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971816960001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110079026429952,"km_value":19110079026429.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223872913408,"description":"Unknown IO ID 45"} 
[2026-09-09 16:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971816960001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818680223872913408}} 
[2026-09-09 16:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":177042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:47:07] local.INFO: GPS data processed {"connection_id":177042,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:47:07] local.INFO: Acknowledgment sent {"connection_id":177042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:47:17] local.INFO: TCP Data received {"connection_id":178431,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:47:17] local.INFO: Processing buffer {"connection_id":178431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:47:17] local.INFO: Packet analysis {"connection_id":178431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:47:17] local.INFO: Extracted packet for processing {"connection_id":178431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:47: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-09-09 16:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":178431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:47:17] local.INFO: GPS data processed {"connection_id":178431,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:47:17] local.INFO: Acknowledgment sent {"connection_id":178431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:47:19] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:19] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:19] local.INFO: IMEI packet received {"connection_id":175636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":175636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:47:21] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:21] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:21] local.INFO: IMEI packet received {"connection_id":175636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":175636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:47:22] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:22] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:22] local.INFO: IMEI packet received {"connection_id":175636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":175636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:47:24] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:24] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:47:24] local.INFO: IMEI packet received {"connection_id":175636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":175636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:47:26] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085e2abe0012d7a9e8005e40a48000700561e..."} 
[2026-09-09 16:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e2abe0012d7a9e8005e40a48000700561e..."} 
[2026-09-09 16:47:26] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e2abe0012d7a9e8005e40a48000700561e..."} 
[2026-09-09 16:47:26] local.INFO: Packet analysis {"connection_id":175636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e2"} 
[2026-09-09 16:47:26] local.INFO: Extracted packet for processing {"connection_id":175636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e2"} 
[2026-09-09 16:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763010688,"raw_latitude":98830920,"longitude_deg":76.3010688,"latitude_deg":9.883092,"altitude":7,"angle":86,"satellites":30,"speed":1,"hex_longitude":"2d7a9e80","hex_latitude":"05e40a48","is_valid_coordinates":true} 
[2026-09-09 16:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971869696001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130361422893809664,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835077331783104512,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788952620000,"timestamp_ms":1788952620000,"timestamp_seconds":1788952620,"priority":1,"record_length":96,"hex_timestamp":"000001a085e2abe0"} 
[2026-09-09 16:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 16:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971869696001,"66":13602,"208":206,"85":15104,"24":1,"16":130361422893809664,"45":8835077331783104512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971869696001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:47:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130361422893809664,"km_value":130361422893809.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835077331783104512,"description":"Unknown IO ID 45"} 
[2026-09-09 16:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971869696001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8835077331783104512}} 
[2026-09-09 16:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":175636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:47:26] local.INFO: GPS data processed {"connection_id":175636,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:47:26] local.INFO: Acknowledgment sent {"connection_id":175636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:47:27] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:27] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:27] local.INFO: IMEI packet received {"connection_id":175637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":175637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:47:28] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:28] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:28] local.INFO: IMEI packet received {"connection_id":175637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":175637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:47:29] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:29] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:29] local.INFO: IMEI packet received {"connection_id":175637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":175637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:47:30] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:30] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:47:30] local.INFO: IMEI packet received {"connection_id":175637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":175637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:47:43] local.INFO: TCP Data received {"connection_id":177044,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:47:43] local.INFO: Processing buffer {"connection_id":177044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:47:43] local.INFO: IMEI packet received {"connection_id":177044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":177044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:47:48] local.INFO: TCP Data received {"connection_id":177044,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:47:48] local.INFO: Processing buffer {"connection_id":177044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:47:48] local.INFO: IMEI packet received {"connection_id":177044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":177044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:47:50] local.INFO: TCP Data received {"connection_id":177044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:47:50] local.INFO: Processing buffer {"connection_id":177044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:47:50] local.INFO: Packet analysis {"connection_id":177044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:47:50] local.INFO: Extracted packet for processing {"connection_id":177044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:47:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:47:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":177044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:47:50] local.INFO: GPS data processed {"connection_id":177044,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:47:50] local.INFO: Acknowledgment sent {"connection_id":177044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:47:55] local.INFO: TCP Data received {"connection_id":177044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:47:55] local.INFO: Processing buffer {"connection_id":177044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085df0a30012d34cc4006aa49080000013424..."} 
[2026-09-09 16:47:55] local.INFO: Packet analysis {"connection_id":177044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:47:55] local.INFO: Extracted packet for processing {"connection_id":177044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085df"} 
[2026-09-09 16:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971732736001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788952382000,"timestamp_ms":1788952382000,"timestamp_seconds":1788952382,"priority":1,"record_length":96,"hex_timestamp":"000001a085df0a30"} 
[2026-09-09 16:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971732736001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971732736001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:47:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:47:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971732736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":177044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:47:55] local.INFO: GPS data processed {"connection_id":177044,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:47:55] local.INFO: Acknowledgment sent {"connection_id":177044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:47:58] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085e2b3b0012d7a9f4005e40a10000700651d..."} 
[2026-09-09 16:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e2b3b0012d7a9f4005e40a10000700651d..."} 
[2026-09-09 16:47:58] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e2b3b0012d7a9f4005e40a10000700651d..."} 
[2026-09-09 16:47:58] local.INFO: Packet analysis {"connection_id":175636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e2"} 
[2026-09-09 16:47:58] local.INFO: Extracted packet for processing {"connection_id":175636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e2"} 
[2026-09-09 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98830864,"longitude_deg":76.301088,"latitude_deg":9.8830864,"altitude":7,"angle":101,"satellites":29,"speed":1,"hex_longitude":"2d7a9f40","hex_latitude":"05e40a10","is_valid_coordinates":true} 
[2026-09-09 16:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971870720001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130361427188776960,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835640281736562688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788952622000,"timestamp_ms":1788952622000,"timestamp_seconds":1788952622,"priority":1,"record_length":96,"hex_timestamp":"000001a085e2b3b0"} 
[2026-09-09 16:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 16:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971870720001,"66":13906,"208":206,"85":15104,"24":1,"16":130361427188776960,"45":8835640281736562688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971870720001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:47:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130361427188776960,"km_value":130361427188776.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835640281736562688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971870720001,"power":13906,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8835640281736562688}} 
[2026-09-09 16:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":175636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:47:58] local.INFO: GPS data processed {"connection_id":175636,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:47:58] local.INFO: Acknowledgment sent {"connection_id":175636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:48:06] local.INFO: TCP Data received {"connection_id":175638,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:48:06] local.INFO: Processing buffer {"connection_id":175638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:48:06] local.INFO: IMEI packet received {"connection_id":175638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":175638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:48:24] local.INFO: TCP Data received {"connection_id":178432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:24] local.INFO: Processing buffer {"connection_id":178432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:24] local.INFO: IMEI packet received {"connection_id":178432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":178432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:48:25] local.INFO: TCP Data received {"connection_id":178432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:25] local.INFO: Processing buffer {"connection_id":178432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:25] local.INFO: IMEI packet received {"connection_id":178432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":178432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:48:25] local.INFO: TCP Data received {"connection_id":178432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:25] local.INFO: Processing buffer {"connection_id":178432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:25] local.INFO: IMEI packet received {"connection_id":178432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":178432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:48:27] local.INFO: TCP Data received {"connection_id":178432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:27] local.INFO: Processing buffer {"connection_id":178432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:48:27] local.INFO: IMEI packet received {"connection_id":178432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":178432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:48:39] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:48:39] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:48:39] local.INFO: IMEI packet received {"connection_id":175849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":175849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:48:41] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:48:41] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:48:41] local.INFO: IMEI packet received {"connection_id":175849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":175849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:48:42] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:48:42] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:48:42] local.INFO: Packet analysis {"connection_id":175849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:48:42] local.INFO: Extracted packet for processing {"connection_id":175849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 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-09-09 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:48: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-09-09 16: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-09-09 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-09-09 16:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:48: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-09-09 16:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":175849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:48:42] local.INFO: GPS data processed {"connection_id":175849,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:48:42] local.INFO: Acknowledgment sent {"connection_id":175849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:48:44] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:48:44] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:48:44] local.INFO: Packet analysis {"connection_id":175849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:48:44] local.INFO: Extracted packet for processing {"connection_id":175849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 16:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:48: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-09-09 16:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":175849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:48:44] local.INFO: GPS data processed {"connection_id":175849,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:48:44] local.INFO: Acknowledgment sent {"connection_id":175849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:49:16] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:49:16] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:49:16] local.INFO: Packet analysis {"connection_id":175849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:49:16] local.INFO: Extracted packet for processing {"connection_id":175849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 16:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":175849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:49:16] local.INFO: GPS data processed {"connection_id":175849,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:49:16] local.INFO: Acknowledgment sent {"connection_id":175849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:49:39] local.INFO: TCP Data received {"connection_id":178436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:49:39] local.INFO: Processing buffer {"connection_id":178436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:49:39] local.INFO: IMEI packet received {"connection_id":178436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":178436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:49:43] local.INFO: TCP Data received {"connection_id":178436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:49:43] local.INFO: Processing buffer {"connection_id":178436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:49:43] local.INFO: IMEI packet received {"connection_id":178436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":178436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:49:45] local.INFO: TCP Data received {"connection_id":178436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:49:45] local.INFO: Processing buffer {"connection_id":178436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:49:45] local.INFO: Packet analysis {"connection_id":178436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:49:45] local.INFO: Extracted packet for processing {"connection_id":178436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 16:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:49:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":178436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:49:45] local.INFO: GPS data processed {"connection_id":178436,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:49:45] local.INFO: Acknowledgment sent {"connection_id":178436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:50:17] local.INFO: TCP Data received {"connection_id":178436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:50:17] local.INFO: Processing buffer {"connection_id":178436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:50:17] local.INFO: Packet analysis {"connection_id":178436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:50:17] local.INFO: Extracted packet for processing {"connection_id":178436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 16:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":178436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:50:17] local.INFO: GPS data processed {"connection_id":178436,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:50:17] local.INFO: Acknowledgment sent {"connection_id":178436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:50:43] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:50:43] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:50:43] local.INFO: IMEI packet received {"connection_id":175852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":175852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:50:48] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:50:48] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:50:48] local.INFO: IMEI packet received {"connection_id":175852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":175852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:50:50] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:50:50] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:50:50] local.INFO: Packet analysis {"connection_id":175852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:50:50] local.INFO: Extracted packet for processing {"connection_id":175852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:50:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 16:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:50: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-09-09 16:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:50:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":175852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:50:50] local.INFO: GPS data processed {"connection_id":175852,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:50:50] local.INFO: Acknowledgment sent {"connection_id":175852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:50:56] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:50:56] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:50:56] local.INFO: Packet analysis {"connection_id":175852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:50:56] local.INFO: Extracted packet for processing {"connection_id":175852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:50:56] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 16:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:50:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:50:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":175852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:50:56] local.INFO: GPS data processed {"connection_id":175852,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:50:56] local.INFO: Acknowledgment sent {"connection_id":175852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:51:38] local.INFO: TCP Data received {"connection_id":178438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:51:38] local.INFO: Processing buffer {"connection_id":178438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:51:38] local.INFO: IMEI packet received {"connection_id":178438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":178438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:51:43] local.INFO: TCP Data received {"connection_id":178438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:51:43] local.INFO: Processing buffer {"connection_id":178438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:51:43] local.INFO: IMEI packet received {"connection_id":178438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":178438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:51:44] local.INFO: TCP Data received {"connection_id":178438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:51:44] local.INFO: Processing buffer {"connection_id":178438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:51:44] local.INFO: Packet analysis {"connection_id":178438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:51:44] local.INFO: Extracted packet for processing {"connection_id":178438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 16:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":178438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:51:44] local.INFO: GPS data processed {"connection_id":178438,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:51:44] local.INFO: Acknowledgment sent {"connection_id":178438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:51:49] local.INFO: TCP Data received {"connection_id":178438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:51:49] local.INFO: Processing buffer {"connection_id":178438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:51:49] local.INFO: Packet analysis {"connection_id":178438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:51:49] local.INFO: Extracted packet for processing {"connection_id":178438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 16:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":178438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:51:49] local.INFO: GPS data processed {"connection_id":178438,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:51:49] local.INFO: Acknowledgment sent {"connection_id":178438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:52:10] local.INFO: TCP Data received {"connection_id":175855,"ip":"117.225.222.226","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:52:10] local.INFO: Processing buffer {"connection_id":175855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:52:10] local.INFO: IMEI packet received {"connection_id":175855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":175855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:52:12] local.INFO: TCP Data received {"connection_id":175855,"ip":"117.225.222.226","data_length":795,"data_hex":"000000000000030f8e0a000001a085e62680012d0babc00702ab80000a012220..."} 
[2026-09-09 16:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e62680012d0babc00702ab80000a012220..."} 
[2026-09-09 16:52:12] local.INFO: Processing buffer {"connection_id":175855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e62680012d0babc00702ab80000a012220..."} 
[2026-09-09 16:52:12] local.INFO: Packet analysis {"connection_id":175855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:52:12] local.INFO: Extracted packet for processing {"connection_id":175855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:52:12] local.INFO: GPS Element Parsed {"raw_longitude":755739584,"raw_latitude":117615488,"longitude_deg":75.5739584,"latitude_deg":11.7615488,"altitude":10,"angle":290,"satellites":32,"speed":6,"hex_longitude":"2d0babc0","hex_latitude":"0702ab80","is_valid_coordinates":true} 
[2026-09-09 16:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971928576001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31037697128660992,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841258366753495040,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788952848000,"timestamp_ms":1788952848000,"timestamp_seconds":1788952848,"priority":1,"record_length":96,"hex_timestamp":"000001a085e62680"} 
[2026-09-09 16:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:52: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-09-09 16:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-09 16:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.222.226","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971928576001,"66":14396,"21":206,"28":32256,"24":6,"16":31037697128660992,"45":841258366753495040},"client_ip":"117.225.222.226","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-09 16:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971928576001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:52:12] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-09 16:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-09 16:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31037697128660992,"km_value":31037697128660.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":841258366753495040,"description":"Unknown IO ID 45"} 
[2026-09-09 16:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971928576001,"power":14396,"unknown_21":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":841258366753495040}} 
[2026-09-09 16:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":175855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789877,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:52:12] local.INFO: GPS data processed {"connection_id":175855,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:52:12] local.INFO: Acknowledgment sent {"connection_id":175855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:52:21] local.INFO: TCP Data received {"connection_id":178438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:52:21] local.INFO: Processing buffer {"connection_id":178438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e3a1f8012d34cc4006aa49080000013423..."} 
[2026-09-09 16:52:21] local.INFO: Packet analysis {"connection_id":178438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:52:21] local.INFO: Extracted packet for processing {"connection_id":178438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e3"} 
[2026-09-09 16:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971809792001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788952683000,"timestamp_ms":1788952683000,"timestamp_seconds":1788952683,"priority":1,"record_length":96,"hex_timestamp":"000001a085e3a1f8"} 
[2026-09-09 16:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 16:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971809792001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971809792001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:52:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971809792001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":178438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:52:21] local.INFO: GPS data processed {"connection_id":178438,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:52:21] local.INFO: Acknowledgment sent {"connection_id":178438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:52:35] local.INFO: TCP Data received {"connection_id":178440,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:52:35] local.INFO: Processing buffer {"connection_id":178440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:52:35] local.INFO: IMEI packet received {"connection_id":178440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":178440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:52:36] local.INFO: TCP Data received {"connection_id":178440,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e4de60012d196680071fedd0003b005629..."} 
[2026-09-09 16:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e4de60012d196680071fedd0003b005629..."} 
[2026-09-09 16:52:36] local.INFO: Processing buffer {"connection_id":178440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e4de60012d196680071fedd0003b005629..."} 
[2026-09-09 16:52:36] local.INFO: Packet analysis {"connection_id":178440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e4"} 
[2026-09-09 16:52:36] local.INFO: Extracted packet for processing {"connection_id":178440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e4"} 
[2026-09-09 16:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971902208001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788952764000,"timestamp_ms":1788952764000,"timestamp_seconds":1788952764,"priority":1,"record_length":96,"hex_timestamp":"000001a085e4de60"} 
[2026-09-09 16:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 16:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971902208001,"66":12928,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971902208001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971902208001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":178440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:52:36] local.INFO: GPS data processed {"connection_id":178440,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:52:36] local.INFO: Acknowledgment sent {"connection_id":178440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:52:39] local.INFO: TCP Data received {"connection_id":178441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:52:39] local.INFO: Processing buffer {"connection_id":178441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:52:39] local.INFO: IMEI packet received {"connection_id":178441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":178441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:52:44] local.INFO: TCP Data received {"connection_id":175855,"ip":"117.225.222.226","data_length":795,"data_hex":"000000000000030f8e0a000001a085e7bcc0012d0b23000702b978000d013b20..."} 
[2026-09-09 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e7bcc0012d0b23000702b978000d013b20..."} 
[2026-09-09 16:52:44] local.INFO: Processing buffer {"connection_id":175855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e7bcc0012d0b23000702b978000d013b20..."} 
[2026-09-09 16:52:44] local.INFO: Packet analysis {"connection_id":175855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:52:44] local.INFO: Extracted packet for processing {"connection_id":175855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":755704576,"raw_latitude":117619064,"longitude_deg":75.5704576,"latitude_deg":11.7619064,"altitude":13,"angle":315,"satellites":32,"speed":9,"hex_longitude":"2d0b2300","hex_latitude":"0702b978","is_valid_coordinates":true} 
[2026-09-09 16:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971954944001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31039595504205824,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802837032433225728,"note":"Value kept but may cause issues"} 
[2026-09-09 16:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788952952000,"timestamp_ms":1788952952000,"timestamp_seconds":1788952952,"priority":1,"record_length":96,"hex_timestamp":"000001a085e7bcc0"} 
[2026-09-09 16:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.222.226","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971954944001,"66":14254,"21":206,"28":32256,"24":9,"16":31039595504205824,"45":802837032433225728},"client_ip":"117.225.222.226","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-09 16:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971954944001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:52:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-09 16:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-09 16:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31039595504205824,"km_value":31039595504205.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":802837032433225728,"description":"Unknown IO ID 45"} 
[2026-09-09 16:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971954944001,"power":14254,"unknown_21":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":802837032433225728}} 
[2026-09-09 16:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":175855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:52:44] local.INFO: GPS data processed {"connection_id":175855,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:52:44] local.INFO: Acknowledgment sent {"connection_id":175855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:53:07] local.INFO: TCP Data received {"connection_id":178440,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e53068012d196680071fedd0003b005628..."} 
[2026-09-09 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e53068012d196680071fedd0003b005628..."} 
[2026-09-09 16:53:07] local.INFO: Processing buffer {"connection_id":178440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e53068012d196680071fedd0003b005628..."} 
[2026-09-09 16:53:07] local.INFO: Packet analysis {"connection_id":178440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e5"} 
[2026-09-09 16:53:07] local.INFO: Extracted packet for processing {"connection_id":178440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e5"} 
[2026-09-09 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971907584001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788952785000,"timestamp_ms":1788952785000,"timestamp_seconds":1788952785,"priority":1,"record_length":96,"hex_timestamp":"000001a085e53068"} 
[2026-09-09 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-09-09 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-09 16:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 16:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971907584001,"66":12885,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971907584001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:53:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971907584001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":178440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:53:07] local.INFO: GPS data processed {"connection_id":178440,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:53:07] local.INFO: Acknowledgment sent {"connection_id":178440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:53:08] local.INFO: TCP Data received {"connection_id":177050,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:53:08] local.INFO: Processing buffer {"connection_id":177050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:53:08] local.INFO: IMEI packet received {"connection_id":177050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":177050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:53:10] local.INFO: TCP Data received {"connection_id":177049,"ip":"117.225.222.226","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:53:10] local.INFO: Processing buffer {"connection_id":177049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:53:10] local.INFO: IMEI packet received {"connection_id":177049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":177049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:53:10] local.INFO: TCP Data received {"connection_id":177049,"ip":"117.225.222.226","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:53:10] local.INFO: Processing buffer {"connection_id":177049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:53:10] local.INFO: IMEI packet received {"connection_id":177049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":177049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:53:15] local.INFO: TCP Data received {"connection_id":177049,"ip":"117.225.222.226","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:53:15] local.INFO: Processing buffer {"connection_id":177049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:53:15] local.INFO: IMEI packet received {"connection_id":177049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":177049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:53:17] local.INFO: TCP Data received {"connection_id":177049,"ip":"117.225.222.226","data_length":795,"data_hex":"000000000000030f8e0a000001a085e7c0a8012d0b22000702ba10000e012d20..."} 
[2026-09-09 16:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e7c0a8012d0b22000702ba10000e012d20..."} 
[2026-09-09 16:53:17] local.INFO: Processing buffer {"connection_id":177049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e7c0a8012d0b22000702ba10000e012d20..."} 
[2026-09-09 16:53:17] local.INFO: Packet analysis {"connection_id":177049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:53:17] local.INFO: Extracted packet for processing {"connection_id":177049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:53:17] local.INFO: GPS Element Parsed {"raw_longitude":755704320,"raw_latitude":117619216,"longitude_deg":75.570432,"latitude_deg":11.7619216,"altitude":14,"angle":301,"satellites":32,"speed":12,"hex_longitude":"2d0b2200","hex_latitude":"0702ba10","is_valid_coordinates":true} 
[2026-09-09 16:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971955712001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31039608389107712,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802485188712560640,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788952953000,"timestamp_ms":1788952953000,"timestamp_seconds":1788952953,"priority":1,"record_length":96,"hex_timestamp":"000001a085e7c0a8"} 
[2026-09-09 16:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-09 16:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.222.226","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971955712001,"66":14254,"21":206,"28":32256,"24":12,"16":31039608389107712,"45":802485188712560640},"client_ip":"117.225.222.226","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-09 16:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971955712001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:53:17] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-09 16:53:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-09 16:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31039608389107712,"km_value":31039608389107.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":802485188712560640,"description":"Unknown IO ID 45"} 
[2026-09-09 16:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971955712001,"power":14254,"unknown_21":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":802485188712560640}} 
[2026-09-09 16:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":177049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:53:17] local.INFO: GPS data processed {"connection_id":177049,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:53:17] local.INFO: Acknowledgment sent {"connection_id":177049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:53:21] local.INFO: TCP Data received {"connection_id":177049,"ip":"117.225.222.226","data_length":795,"data_hex":"000000000000030f8e0a000001a085e7c490012d0b21000702ba88000e011d20..."} 
[2026-09-09 16:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e7c490012d0b21000702ba88000e011d20..."} 
[2026-09-09 16:53:21] local.INFO: Processing buffer {"connection_id":177049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e7c490012d0b21000702ba88000e011d20..."} 
[2026-09-09 16:53:21] local.INFO: Packet analysis {"connection_id":177049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:53:21] local.INFO: Extracted packet for processing {"connection_id":177049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:53:21] local.INFO: GPS Element Parsed {"raw_longitude":755704064,"raw_latitude":117619336,"longitude_deg":75.5704064,"latitude_deg":11.7619336,"altitude":14,"angle":285,"satellites":32,"speed":14,"hex_longitude":"2d0b2100","hex_latitude":"0702ba88","is_valid_coordinates":true} 
[2026-09-09 16:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971955968001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":31039625568976896,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802203713735888896,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788952954000,"timestamp_ms":1788952954000,"timestamp_seconds":1788952954,"priority":1,"record_length":96,"hex_timestamp":"000001a085e7c490"} 
[2026-09-09 16:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-09 16:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-09 16:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.222.226","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-09 16:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-09 16:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971955968001,"66":14135,"21":206,"28":32256,"24":14,"16":31039625568976896,"45":802203713735888896},"client_ip":"117.225.222.226","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-09 16:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-09 16:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-09 16:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971955968001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:53:21] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-09 16:53:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-09 16:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":31039625568976896,"km_value":31039625568976.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":802203713735888896,"description":"Unknown IO ID 45"} 
[2026-09-09 16:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971955968001,"power":14135,"unknown_21":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":802203713735888896}} 
[2026-09-09 16:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":177049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789883,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:53:21] local.INFO: GPS data processed {"connection_id":177049,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:53:21] local.INFO: Acknowledgment sent {"connection_id":177049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:53:30] local.INFO: TCP Data received {"connection_id":175642,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:53:30] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:53:30] local.INFO: IMEI packet received {"connection_id":175642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":175642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:53:30] local.INFO: TCP Data received {"connection_id":175856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:53:30] local.INFO: Processing buffer {"connection_id":175856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:53:30] local.INFO: IMEI packet received {"connection_id":175856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":175856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:53:32] local.INFO: TCP Data received {"connection_id":175642,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:53:32] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:53:32] local.INFO: IMEI packet received {"connection_id":175642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":175642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:53:33] local.INFO: TCP Data received {"connection_id":175856,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085e67c70012d7aef0005e394b80007015020..."} 
[2026-09-09 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e67c70012d7aef0005e394b80007015020..."} 
[2026-09-09 16:53:33] local.INFO: Processing buffer {"connection_id":175856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e67c70012d7aef0005e394b80007015020..."} 
[2026-09-09 16:53:33] local.INFO: Packet analysis {"connection_id":175856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:53:33] local.INFO: Extracted packet for processing {"connection_id":175856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763031296,"raw_latitude":98800824,"longitude_deg":76.3031296,"latitude_deg":9.8800824,"altitude":7,"angle":336,"satellites":32,"speed":11,"hex_longitude":"2d7aef00","hex_latitude":"05e394b8","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971929600001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130365387148623872,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861324873351690240,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53: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-09-09 16:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788952870000,"timestamp_ms":1788952870000,"timestamp_seconds":1788952870,"priority":1,"record_length":96,"hex_timestamp":"000001a085e67c70"} 
[2026-09-09 16:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 16:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:53: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-09-09 16:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971929600001,"66":14135,"208":206,"85":15104,"24":11,"16":130365387148623872,"45":8861324873351690240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 16:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971929600001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:53:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 16:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 16:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130365387148623872,"km_value":130365387148623.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861324873351690240,"description":"Unknown IO ID 45"} 
[2026-09-09 16:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971929600001,"power":14135,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8861324873351690240}} 
[2026-09-09 16:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":175856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:53:33] local.INFO: GPS data processed {"connection_id":175856,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:53:33] local.INFO: Acknowledgment sent {"connection_id":175856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:53:35] local.INFO: TCP Data received {"connection_id":175642,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:53:35] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:53:35] local.INFO: IMEI packet received {"connection_id":175642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":175642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:53:35] local.INFO: TCP Data received {"connection_id":175642,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e58270012d196680071fedd0003b005627..."} 
[2026-09-09 16:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e58270012d196680071fedd0003b005627..."} 
[2026-09-09 16:53:35] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e58270012d196680071fedd0003b005627..."} 
[2026-09-09 16:53:35] local.INFO: Packet analysis {"connection_id":175642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e5"} 
[2026-09-09 16:53:35] local.INFO: Extracted packet for processing {"connection_id":175642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e5"} 
[2026-09-09 16:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971912960001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788952806000,"timestamp_ms":1788952806000,"timestamp_seconds":1788952806,"priority":1,"record_length":96,"hex_timestamp":"000001a085e58270"} 
[2026-09-09 16:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-09 16:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971912960001,"66":12885,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971912960001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:53:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971912960001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":175642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:53:36] local.INFO: GPS data processed {"connection_id":175642,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:53:36] local.INFO: Acknowledgment sent {"connection_id":175642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:53:41] local.INFO: TCP Data received {"connection_id":175857,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:53:41] local.INFO: Processing buffer {"connection_id":175857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:53:41] local.INFO: IMEI packet received {"connection_id":175857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":175857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:54:02] local.INFO: TCP Data received {"connection_id":178442,"ip":"117.225.222.226","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:02] local.INFO: Processing buffer {"connection_id":178442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:02] local.INFO: IMEI packet received {"connection_id":178442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-09 16:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":178442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:54:03] local.INFO: TCP Data received {"connection_id":178442,"ip":"117.225.222.226","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:03] local.INFO: Processing buffer {"connection_id":178442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:03] local.INFO: IMEI packet received {"connection_id":178442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":178442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:54:03] local.INFO: TCP Data received {"connection_id":178442,"ip":"117.225.222.226","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:03] local.INFO: Processing buffer {"connection_id":178442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:03] local.INFO: IMEI packet received {"connection_id":178442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":178442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:54:04] local.INFO: TCP Data received {"connection_id":178442,"ip":"117.225.222.226","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:04] local.INFO: Processing buffer {"connection_id":178442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-09 16:54:04] local.INFO: IMEI packet received {"connection_id":178442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-09 16:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":178442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:54:05] local.INFO: TCP Data received {"connection_id":175856,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085e8d600012d7a2cc005e45bb8001201381f..."} 
[2026-09-09 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e8d600012d7a2cc005e45bb8001201381f..."} 
[2026-09-09 16:54:05] local.INFO: Processing buffer {"connection_id":175856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e8d600012d7a2cc005e45bb8001201381f..."} 
[2026-09-09 16:54:05] local.INFO: Packet analysis {"connection_id":175856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:54:05] local.INFO: Extracted packet for processing {"connection_id":175856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":762981568,"raw_latitude":98851768,"longitude_deg":76.2981568,"latitude_deg":9.8851768,"altitude":18,"angle":312,"satellites":31,"speed":11,"hex_longitude":"2d7a2cc0","hex_latitude":"05e45bb8","is_valid_coordinates":true} 
[2026-09-09 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971973888001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130369390058143744,"note":"Value kept but may cause issues"} 
[2026-09-09 16:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903978117732352,"note":"Value kept but may cause issues"} 
[2026-09-09 16:54: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-09-09 16:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788953024000,"timestamp_ms":1788953024000,"timestamp_seconds":1788953024,"priority":1,"record_length":96,"hex_timestamp":"000001a085e8d600"} 
[2026-09-09 16:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-09 16:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971973888001,"66":13852,"39":206,"87":13824,"24":11,"16":130369390058143744,"45":8803903978117732352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-09 16:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971973888001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:54:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-09 16:54:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 16:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130369390058143744,"km_value":130369390058143.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903978117732352,"description":"Unknown IO ID 45"} 
[2026-09-09 16:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971973888001,"power":13852,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8803903978117732352}} 
[2026-09-09 16:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":175856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:54:05] local.INFO: GPS data processed {"connection_id":175856,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:54:05] local.INFO: Acknowledgment sent {"connection_id":175856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:54:07] local.INFO: TCP Data received {"connection_id":175642,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e5d478012d196680071fedd0003b005628..."} 
[2026-09-09 16:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e5d478012d196680071fedd0003b005628..."} 
[2026-09-09 16:54:07] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e5d478012d196680071fedd0003b005628..."} 
[2026-09-09 16:54:07] local.INFO: Packet analysis {"connection_id":175642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e5"} 
[2026-09-09 16:54:07] local.INFO: Extracted packet for processing {"connection_id":175642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e5"} 
[2026-09-09 16:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971918336001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788952827000,"timestamp_ms":1788952827000,"timestamp_seconds":1788952827,"priority":1,"record_length":96,"hex_timestamp":"000001a085e5d478"} 
[2026-09-09 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-09-09 16:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-09 16:54: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-09-09 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-09-09 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-09-09 16:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971918336001,"66":12852,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971918336001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:54:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971918336001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":175642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:54:07] local.INFO: GPS data processed {"connection_id":175642,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:54:07] local.INFO: Acknowledgment sent {"connection_id":175642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:54:27] local.INFO: TCP Data received {"connection_id":175858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:54:27] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:54:27] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:54:29] local.INFO: TCP Data received {"connection_id":175858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:54:29] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:54:29] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:54:30] local.INFO: TCP Data received {"connection_id":175858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:54:30] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:54:30] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:54:30] local.INFO: TCP Data received {"connection_id":178443,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:54:30] local.INFO: Processing buffer {"connection_id":178443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:54:30] local.INFO: IMEI packet received {"connection_id":178443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":178443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:54:35] local.INFO: TCP Data received {"connection_id":178443,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:54:35] local.INFO: Processing buffer {"connection_id":178443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:54:35] local.INFO: IMEI packet received {"connection_id":178443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":178443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:54:36] local.INFO: TCP Data received {"connection_id":178443,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e62680012d196680071fedd0003b00562a..."} 
[2026-09-09 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e62680012d196680071fedd0003b00562a..."} 
[2026-09-09 16:54:36] local.INFO: Processing buffer {"connection_id":178443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e62680012d196680071fedd0003b00562a..."} 
[2026-09-09 16:54:36] local.INFO: Packet analysis {"connection_id":178443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:54:36] local.INFO: Extracted packet for processing {"connection_id":178443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971923712001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788952848000,"timestamp_ms":1788952848000,"timestamp_seconds":1788952848,"priority":1,"record_length":96,"hex_timestamp":"000001a085e62680"} 
[2026-09-09 16:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 16:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971923712001,"66":12841,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971923712001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:54:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971923712001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":178443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:54:36] local.INFO: GPS data processed {"connection_id":178443,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:54:36] local.INFO: Acknowledgment sent {"connection_id":178443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:55:07] local.INFO: TCP Data received {"connection_id":178443,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e67888012d196680071fedd0003b005628..."} 
[2026-09-09 16:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e67888012d196680071fedd0003b005628..."} 
[2026-09-09 16:55:07] local.INFO: Processing buffer {"connection_id":178443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e67888012d196680071fedd0003b005628..."} 
[2026-09-09 16:55:07] local.INFO: Packet analysis {"connection_id":178443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:55:07] local.INFO: Extracted packet for processing {"connection_id":178443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971929088001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16: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-09-09 16:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788952869000,"timestamp_ms":1788952869000,"timestamp_seconds":1788952869,"priority":1,"record_length":96,"hex_timestamp":"000001a085e67888"} 
[2026-09-09 16:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 16:55: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-09-09 16:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971929088001,"66":12841,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971929088001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:55:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971929088001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":178443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:55:07] local.INFO: GPS data processed {"connection_id":178443,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:55:07] local.INFO: Acknowledgment sent {"connection_id":178443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:55:11] local.INFO: TCP Data received {"connection_id":175858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:11] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:11] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:55:17] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:17] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:17] local.INFO: IMEI packet received {"connection_id":177053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":177053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:55:18] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:18] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:18] local.INFO: IMEI packet received {"connection_id":177053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":177053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:55:19] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:19] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:19] local.INFO: IMEI packet received {"connection_id":177053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":177053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:55:21] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:21] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:55:21] local.INFO: IMEI packet received {"connection_id":177053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":177053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:55:22] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ea3d60012d7a13c005e466e0000f012823..."} 
[2026-09-09 16:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ea3d60012d7a13c005e466e0000f012823..."} 
[2026-09-09 16:55:22] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ea3d60012d7a13c005e466e0000f012823..."} 
[2026-09-09 16:55:22] local.INFO: Packet analysis {"connection_id":177053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 16:55:22] local.INFO: Extracted packet for processing {"connection_id":177053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 16:55:22] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":98854624,"longitude_deg":76.2975168,"latitude_deg":9.8854624,"altitude":15,"angle":296,"satellites":35,"speed":5,"hex_longitude":"2d7a13c0","hex_latitude":"05e466e0","is_valid_coordinates":true} 
[2026-09-09 16:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971997184001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130369823849840640,"note":"Value kept but may cause issues"} 
[2026-09-09 16:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796734956527616,"note":"Value kept but may cause issues"} 
[2026-09-09 16:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788953116000,"timestamp_ms":1788953116000,"timestamp_seconds":1788953116,"priority":1,"record_length":96,"hex_timestamp":"000001a085ea3d60"} 
[2026-09-09 16:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16: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-09-09 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-09 16:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971997184001,"66":12765,"85":206,"87":12288,"24":5,"16":130369823849840640,"45":8796796734956527616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-09 16:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971997184001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-09 16:55:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 16:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130369823849840640,"km_value":130369823849840.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796734956527616,"description":"Unknown IO ID 45"} 
[2026-09-09 16:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971997184001,"power":12765,"unknown_85":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8796796734956527616}} 
[2026-09-09 16:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":177053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:55:22] local.INFO: GPS data processed {"connection_id":177053,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:55:22] local.INFO: Acknowledgment sent {"connection_id":177053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:55:29] local.INFO: TCP Data received {"connection_id":178445,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:55:29] local.INFO: Processing buffer {"connection_id":178445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:55:29] local.INFO: IMEI packet received {"connection_id":178445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":178445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:55:35] local.INFO: TCP Data received {"connection_id":178445,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:55:35] local.INFO: Processing buffer {"connection_id":178445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:55:35] local.INFO: IMEI packet received {"connection_id":178445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":178445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:55:35] local.INFO: TCP Data received {"connection_id":178445,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e6ca90012d196680071fedd0003b005625..."} 
[2026-09-09 16:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e6ca90012d196680071fedd0003b005625..."} 
[2026-09-09 16:55:35] local.INFO: Processing buffer {"connection_id":178445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e6ca90012d196680071fedd0003b005625..."} 
[2026-09-09 16:55:35] local.INFO: Packet analysis {"connection_id":178445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:55:35] local.INFO: Extracted packet for processing {"connection_id":178445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e6"} 
[2026-09-09 16:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971934464001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788952890000,"timestamp_ms":1788952890000,"timestamp_seconds":1788952890,"priority":1,"record_length":96,"hex_timestamp":"000001a085e6ca90"} 
[2026-09-09 16:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 16:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971934464001,"66":12819,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971934464001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:55:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971934464001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":178445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:55:36] local.INFO: GPS data processed {"connection_id":178445,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:55:36] local.INFO: Acknowledgment sent {"connection_id":178445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:56:03] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085eaa2f0012d7a0f8005e465a0000c008723..."} 
[2026-09-09 16:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085eaa2f0012d7a0f8005e465a0000c008723..."} 
[2026-09-09 16:56:03] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085eaa2f0012d7a0f8005e465a0000c008723..."} 
[2026-09-09 16:56:03] local.INFO: Packet analysis {"connection_id":177053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 16:56:03] local.INFO: Extracted packet for processing {"connection_id":177053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 16:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":98854304,"longitude_deg":76.297408,"latitude_deg":9.8854304,"altitude":12,"angle":135,"satellites":35,"speed":4,"hex_longitude":"2d7a0f80","hex_latitude":"05e465a0","is_valid_coordinates":true} 
[2026-09-09 16:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972004096001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130369939813957632,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795318991328763904,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788953142000,"timestamp_ms":1788953142000,"timestamp_seconds":1788953142,"priority":1,"record_length":96,"hex_timestamp":"000001a085eaa2f0"} 
[2026-09-09 16:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:56: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-09-09 16: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 16:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972004096001,"66":13526,"85":206,"87":12288,"24":4,"16":130369939813957632,"45":8795318991328763904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-09 16:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972004096001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:56:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-09 16:56:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 16:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130369939813957632,"km_value":130369939813957.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795318991328763904,"description":"Unknown IO ID 45"} 
[2026-09-09 16:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972004096001,"power":13526,"unknown_85":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8795318991328763904}} 
[2026-09-09 16:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":177053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:56:03] local.INFO: GPS data processed {"connection_id":177053,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:56:03] local.INFO: Acknowledgment sent {"connection_id":177053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:56:07] local.INFO: TCP Data received {"connection_id":178445,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e71c98012d196680071fedd0003b005629..."} 
[2026-09-09 16:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e71c98012d196680071fedd0003b005629..."} 
[2026-09-09 16:56:07] local.INFO: Processing buffer {"connection_id":178445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e71c98012d196680071fedd0003b005629..."} 
[2026-09-09 16:56:07] local.INFO: Packet analysis {"connection_id":178445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:56:07] local.INFO: Extracted packet for processing {"connection_id":178445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971939840001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16: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-09-09 16:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788952911000,"timestamp_ms":1788952911000,"timestamp_seconds":1788952911,"priority":1,"record_length":96,"hex_timestamp":"000001a085e71c98"} 
[2026-09-09 16:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2246368864,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503891233144832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-1978109374247639424,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831739,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":208,"raw_value":16607393680982016,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146119863677357,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3842965504,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300723684064646697,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84751896015216621,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,229,160,120,45,128,237,59,40,10,66,38,42,212,1,240,52,227,133,31,4,113,205,48,208,239,50,2,67,7,164,15,69,80],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-09 16:56:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251492765151526912,"timestamp_seconds":4251492765151527.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 16:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971939840001,"66":12798,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971939840001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:56:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971939840001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":178445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:56:07] local.INFO: GPS data processed {"connection_id":178445,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:56:07] local.INFO: Acknowledgment sent {"connection_id":178445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:56:20] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:56:20] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:56:20] local.INFO: IMEI packet received {"connection_id":175860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 16:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":175860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:56:25] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:56:25] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 16:56:25] local.INFO: IMEI packet received {"connection_id":175860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 16:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":175860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:56:26] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085eaaac0012d7a104005e46590000b007b22..."} 
[2026-09-09 16:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085eaaac0012d7a104005e46590000b007b22..."} 
[2026-09-09 16:56:26] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085eaaac0012d7a104005e46590000b007b22..."} 
[2026-09-09 16:56:26] local.INFO: Packet analysis {"connection_id":175860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 16:56:26] local.INFO: Extracted packet for processing {"connection_id":175860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 16:56:26] local.INFO: GPS Element Parsed {"raw_longitude":762974272,"raw_latitude":98854288,"longitude_deg":76.2974272,"latitude_deg":9.8854288,"altitude":11,"angle":123,"satellites":34,"speed":2,"hex_longitude":"2d7a1040","hex_latitude":"05e46590","is_valid_coordinates":true} 
[2026-09-09 16:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972004352001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130369948403892224,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360072925184,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788953144000,"timestamp_ms":1788953144000,"timestamp_seconds":1788953144,"priority":1,"record_length":96,"hex_timestamp":"000001a085eaaac0"} 
[2026-09-09 16:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 16:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 16:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 16:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 16:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972004352001,"66":13526,"85":206,"87":12288,"24":2,"16":130369948403892224,"45":8795389360072925184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-09 16:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 16:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 16:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972004352001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-09 16:56:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 16:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130369948403892224,"km_value":130369948403892.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360072925184,"description":"Unknown IO ID 45"} 
[2026-09-09 16:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972004352001,"power":13526,"unknown_85":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8795389360072925184}} 
[2026-09-09 16:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":175860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:56:26] local.INFO: GPS data processed {"connection_id":175860,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:56:26] local.INFO: Acknowledgment sent {"connection_id":175860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:56:35] local.INFO: TCP Data received {"connection_id":178446,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:56:35] local.INFO: Processing buffer {"connection_id":178446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:56:35] local.INFO: IMEI packet received {"connection_id":178446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":178446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:56:40] local.INFO: TCP Data received {"connection_id":178446,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:56:40] local.INFO: Processing buffer {"connection_id":178446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:56:40] local.INFO: IMEI packet received {"connection_id":178446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":178446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:56:40] local.INFO: TCP Data received {"connection_id":178446,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e76ea0012d196680071fedd0003b005625..."} 
[2026-09-09 16:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e76ea0012d196680071fedd0003b005625..."} 
[2026-09-09 16:56:40] local.INFO: Processing buffer {"connection_id":178446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e76ea0012d196680071fedd0003b005625..."} 
[2026-09-09 16:56:40] local.INFO: Packet analysis {"connection_id":178446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:56:40] local.INFO: Extracted packet for processing {"connection_id":178446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971945216001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788952932000,"timestamp_ms":1788952932000,"timestamp_seconds":1788952932,"priority":1,"record_length":96,"hex_timestamp":"000001a085e76ea0"} 
[2026-09-09 16:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 16:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971945216001,"66":12798,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971945216001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:56:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971945216001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":178446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:56:41] local.INFO: GPS data processed {"connection_id":178446,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:56:41] local.INFO: Acknowledgment sent {"connection_id":178446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:56:41] local.INFO: TCP Data received {"connection_id":178446,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e7c0a8012d196680071fedd0003b005629..."} 
[2026-09-09 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e7c0a8012d196680071fedd0003b005629..."} 
[2026-09-09 16:56:41] local.INFO: Processing buffer {"connection_id":178446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e7c0a8012d196680071fedd0003b005629..."} 
[2026-09-09 16:56:41] local.INFO: Packet analysis {"connection_id":178446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:56:41] local.INFO: Extracted packet for processing {"connection_id":178446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e7"} 
[2026-09-09 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971950592001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788952953000,"timestamp_ms":1788952953000,"timestamp_seconds":1788952953,"priority":1,"record_length":96,"hex_timestamp":"000001a085e7c0a8"} 
[2026-09-09 16:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 16:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971950592001,"66":12765,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971950592001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:56:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971950592001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":178446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:56:41] local.INFO: GPS data processed {"connection_id":178446,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:56:41] local.INFO: Acknowledgment sent {"connection_id":178446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:57:12] local.INFO: TCP Data received {"connection_id":178446,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e812b0012d196680071fedd0003b005628..."} 
[2026-09-09 16:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e812b0012d196680071fedd0003b005628..."} 
[2026-09-09 16:57:12] local.INFO: Processing buffer {"connection_id":178446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e812b0012d196680071fedd0003b005628..."} 
[2026-09-09 16:57:12] local.INFO: Packet analysis {"connection_id":178446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:57:12] local.INFO: Extracted packet for processing {"connection_id":178446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971955968001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788952974000,"timestamp_ms":1788952974000,"timestamp_seconds":1788952974,"priority":1,"record_length":96,"hex_timestamp":"000001a085e812b0"} 
[2026-09-09 16:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:57: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-09-09 16:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-09 16:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971955968001,"66":12722,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971955968001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:57:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971955968001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":178446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:57:12] local.INFO: GPS data processed {"connection_id":178446,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:57:12] local.INFO: Acknowledgment sent {"connection_id":178446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:57:30] local.INFO: TCP Data received {"connection_id":178447,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:57:30] local.INFO: Processing buffer {"connection_id":178447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:57:30] local.INFO: IMEI packet received {"connection_id":178447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":178447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:57:35] local.INFO: TCP Data received {"connection_id":178447,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:57:35] local.INFO: Processing buffer {"connection_id":178447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:57:35] local.INFO: IMEI packet received {"connection_id":178447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":178447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:57:35] local.INFO: TCP Data received {"connection_id":178447,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e864b8012d196680071fedd0003b005628..."} 
[2026-09-09 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e864b8012d196680071fedd0003b005628..."} 
[2026-09-09 16:57:35] local.INFO: Processing buffer {"connection_id":178447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e864b8012d196680071fedd0003b005628..."} 
[2026-09-09 16:57:35] local.INFO: Packet analysis {"connection_id":178447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:57:35] local.INFO: Extracted packet for processing {"connection_id":178447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971961344001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788952995000,"timestamp_ms":1788952995000,"timestamp_seconds":1788952995,"priority":1,"record_length":96,"hex_timestamp":"000001a085e864b8"} 
[2026-09-09 16:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 16:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971961344001,"66":12743,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971961344001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:57:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971961344001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":178447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:57:36] local.INFO: GPS data processed {"connection_id":178447,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:57:36] local.INFO: Acknowledgment sent {"connection_id":178447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:58:06] local.INFO: TCP Data received {"connection_id":178447,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e8b6c0012d196680071fedd0003b005626..."} 
[2026-09-09 16:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e8b6c0012d196680071fedd0003b005626..."} 
[2026-09-09 16:58:06] local.INFO: Processing buffer {"connection_id":178447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e8b6c0012d196680071fedd0003b005626..."} 
[2026-09-09 16:58:06] local.INFO: Packet analysis {"connection_id":178447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:58:06] local.INFO: Extracted packet for processing {"connection_id":178447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971966720001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16: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-09-09 16:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788953016000,"timestamp_ms":1788953016000,"timestamp_seconds":1788953016,"priority":1,"record_length":96,"hex_timestamp":"000001a085e8b6c0"} 
[2026-09-09 16:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-09 16:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971966720001,"66":12743,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971966720001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971966720001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":178447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:58:06] local.INFO: GPS data processed {"connection_id":178447,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:58:06] local.INFO: Acknowledgment sent {"connection_id":178447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:58:13] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:58:13] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:58:13] local.INFO: IMEI packet received {"connection_id":175862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":175862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:58:14] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085e839c0012d34cc4006aa49080000013426..."} 
[2026-09-09 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e839c0012d34cc4006aa49080000013426..."} 
[2026-09-09 16:58:14] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e839c0012d34cc4006aa49080000013426..."} 
[2026-09-09 16:58:14] local.INFO: Packet analysis {"connection_id":175862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:58:14] local.INFO: Extracted packet for processing {"connection_id":175862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e8"} 
[2026-09-09 16:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971886848001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788952984000,"timestamp_ms":1788952984000,"timestamp_seconds":1788952984,"priority":1,"record_length":96,"hex_timestamp":"000001a085e839c0"} 
[2026-09-09 16:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 16:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971886848001,"66":25615,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971886848001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:58:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971886848001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":175862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:58:14] local.INFO: GPS data processed {"connection_id":175862,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:58:14] local.INFO: Acknowledgment sent {"connection_id":175862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:58:30] local.INFO: TCP Data received {"connection_id":177054,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:58:30] local.INFO: Processing buffer {"connection_id":177054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:58:30] local.INFO: IMEI packet received {"connection_id":177054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":177054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:58:35] local.INFO: TCP Data received {"connection_id":177054,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:58:35] local.INFO: Processing buffer {"connection_id":177054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:58:35] local.INFO: IMEI packet received {"connection_id":177054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":177054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:58:35] local.INFO: TCP Data received {"connection_id":177054,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e908c8012d196680071fedd0003b005629..."} 
[2026-09-09 16:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e908c8012d196680071fedd0003b005629..."} 
[2026-09-09 16:58:35] local.INFO: Processing buffer {"connection_id":177054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e908c8012d196680071fedd0003b005629..."} 
[2026-09-09 16:58:35] local.INFO: Packet analysis {"connection_id":177054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e9"} 
[2026-09-09 16:58:35] local.INFO: Extracted packet for processing {"connection_id":177054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e9"} 
[2026-09-09 16:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971972096001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953037000,"timestamp_ms":1788953037000,"timestamp_seconds":1788953037,"priority":1,"record_length":96,"hex_timestamp":"000001a085e908c8"} 
[2026-09-09 16:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-09 16:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971972096001,"66":12722,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971972096001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:58:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971972096001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":177054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:58:36] local.INFO: GPS data processed {"connection_id":177054,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:58:36] local.INFO: Acknowledgment sent {"connection_id":177054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:58:38] local.INFO: TCP Data received {"connection_id":175863,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:58:38] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:58:38] local.INFO: IMEI packet received {"connection_id":175863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":175863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:58:44] local.INFO: TCP Data received {"connection_id":175863,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:58:44] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:58:44] local.INFO: IMEI packet received {"connection_id":175863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":175863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:58:45] local.INFO: TCP Data received {"connection_id":175863,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 16:58:45] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 16:58:45] local.INFO: Packet analysis {"connection_id":175863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 16:58:45] local.INFO: Extracted packet for processing {"connection_id":175863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 16:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 16:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:58:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":175863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:58:45] local.INFO: GPS data processed {"connection_id":175863,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:58:45] local.INFO: Acknowledgment sent {"connection_id":175863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:59:07] local.INFO: TCP Data received {"connection_id":177054,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085e95ad0012d196680071fedd0003b005624..."} 
[2026-09-09 16:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085e95ad0012d196680071fedd0003b005624..."} 
[2026-09-09 16:59:07] local.INFO: Processing buffer {"connection_id":177054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085e95ad0012d196680071fedd0003b005624..."} 
[2026-09-09 16:59:07] local.INFO: Packet analysis {"connection_id":177054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085e9"} 
[2026-09-09 16:59:07] local.INFO: Extracted packet for processing {"connection_id":177054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085e9"} 
[2026-09-09 16:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 16:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971977472001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788953058000,"timestamp_ms":1788953058000,"timestamp_seconds":1788953058,"priority":1,"record_length":96,"hex_timestamp":"000001a085e95ad0"} 
[2026-09-09 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-09-09 16:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 16:59: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-09-09 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-09-09 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-09-09 16:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971977472001,"66":12722,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971977472001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:59:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971977472001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":177054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:59:07] local.INFO: GPS data processed {"connection_id":177054,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:59:07] local.INFO: Acknowledgment sent {"connection_id":177054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:59:17] local.INFO: TCP Data received {"connection_id":175863,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 16:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 16:59:17] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 16:59:17] local.INFO: Packet analysis {"connection_id":175863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 16:59:17] local.INFO: Extracted packet for processing {"connection_id":175863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 16:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 16:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:59:17] local.INFO: GPS data processed {"connection_id":175863,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:59:17] local.INFO: Acknowledgment sent {"connection_id":175863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:59:29] local.INFO: TCP Data received {"connection_id":175645,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:59:29] local.INFO: Processing buffer {"connection_id":175645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:59:29] local.INFO: IMEI packet received {"connection_id":175645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 16:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":175645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:59:29] local.INFO: TCP Data received {"connection_id":175645,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:59:29] local.INFO: Processing buffer {"connection_id":175645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:59:29] local.INFO: IMEI packet received {"connection_id":175645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":175645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:59:35] local.INFO: TCP Data received {"connection_id":175645,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:59:35] local.INFO: Processing buffer {"connection_id":175645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 16:59:35] local.INFO: IMEI packet received {"connection_id":175645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 16:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":175645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:59:35] local.INFO: TCP Data received {"connection_id":175645,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ece128012d196680071fedd0003b005626..."} 
[2026-09-09 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ece128012d196680071fedd0003b005626..."} 
[2026-09-09 16:59:35] local.INFO: Processing buffer {"connection_id":175645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ece128012d196680071fedd0003b005626..."} 
[2026-09-09 16:59:35] local.INFO: Packet analysis {"connection_id":175645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 16:59:35] local.INFO: Extracted packet for processing {"connection_id":175645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 16:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 16: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-09-09 16:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972036608001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953289000,"timestamp_ms":1788953289000,"timestamp_seconds":1788953289,"priority":1,"record_length":96,"hex_timestamp":"000001a085ece128"} 
[2026-09-09 16:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 16:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16: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-09-09 16:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 16:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 16:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 16:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972036608001,"66":12580,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 16:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 16:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 16:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972036608001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:59:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 16:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 16:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 16:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972036608001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 16:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":175645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:59:36] local.INFO: GPS data processed {"connection_id":175645,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:59:36] local.INFO: Acknowledgment sent {"connection_id":175645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:59:38] local.INFO: TCP Data received {"connection_id":177055,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:59:38] local.INFO: Processing buffer {"connection_id":177055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:59:38] local.INFO: IMEI packet received {"connection_id":177055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 16:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":177055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 16:59:43] local.INFO: TCP Data received {"connection_id":177055,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:59:43] local.INFO: Processing buffer {"connection_id":177055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 16:59:43] local.INFO: IMEI packet received {"connection_id":177055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 16:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":177055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 16:59:44] local.INFO: TCP Data received {"connection_id":177055,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 16:59:44] local.INFO: Processing buffer {"connection_id":177055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 16:59:44] local.INFO: Packet analysis {"connection_id":177055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 16:59:44] local.INFO: Extracted packet for processing {"connection_id":177055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 16:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 16:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 16:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 16:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 16:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 16:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 16:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 16:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 16:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 16:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 16:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 16:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 16:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 16:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 16:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 16:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 16:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 16:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 16:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 16:59:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 16:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 16:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 16:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 16:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 16:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":177055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 16:59:44] local.INFO: GPS data processed {"connection_id":177055,"processed":1,"errors":0,"total":1} 
[2026-09-09 16:59:44] local.INFO: Acknowledgment sent {"connection_id":177055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 16:59:47] local.INFO: TCP Data received {"connection_id":178450,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:59:47] local.INFO: Processing buffer {"connection_id":178450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 16:59:47] local.INFO: IMEI packet received {"connection_id":178450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 16:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":178450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:00:06] local.INFO: TCP Data received {"connection_id":175864,"ip":"85.217.149.36","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-09 17:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175864,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-09 17:00:06] local.INFO: Processing buffer {"connection_id":175864,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-09 17:00:07] local.INFO: TCP Data received {"connection_id":175645,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ed3330012d196680071fedd0003b005628..."} 
[2026-09-09 17:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ed3330012d196680071fedd0003b005628..."} 
[2026-09-09 17:00:07] local.INFO: Processing buffer {"connection_id":175645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ed3330012d196680071fedd0003b005628..."} 
[2026-09-09 17:00:07] local.INFO: Packet analysis {"connection_id":175645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ed"} 
[2026-09-09 17:00:07] local.INFO: Extracted packet for processing {"connection_id":175645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ed"} 
[2026-09-09 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972041984001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788953310000,"timestamp_ms":1788953310000,"timestamp_seconds":1788953310,"priority":1,"record_length":96,"hex_timestamp":"000001a085ed3330"} 
[2026-09-09 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-09-09 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-09 17:00: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-09-09 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-09-09 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-09-09 17:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972041984001,"66":12558,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972041984001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:00:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972041984001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":175645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:00:07] local.INFO: GPS data processed {"connection_id":175645,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:00:07] local.INFO: Acknowledgment sent {"connection_id":175645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:00:15] local.INFO: TCP Data received {"connection_id":177055,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:00:15] local.INFO: Processing buffer {"connection_id":177055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:00:15] local.INFO: Packet analysis {"connection_id":177055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:00:15] local.INFO: Extracted packet for processing {"connection_id":177055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 17:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 17:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:00:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":177055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:00:15] local.INFO: GPS data processed {"connection_id":177055,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:00:15] local.INFO: Acknowledgment sent {"connection_id":177055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:00:30] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:00:30] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:00:30] local.INFO: IMEI packet received {"connection_id":175646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":175646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:00:31] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:00:31] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:00:31] local.INFO: IMEI packet received {"connection_id":175646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":175646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:00:35] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:00:35] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:00:35] local.INFO: IMEI packet received {"connection_id":175646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":175646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:00:36] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ed8538012d196680071fedd0003b005629..."} 
[2026-09-09 17:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ed8538012d196680071fedd0003b005629..."} 
[2026-09-09 17:00:36] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ed8538012d196680071fedd0003b005629..."} 
[2026-09-09 17:00:36] local.INFO: Packet analysis {"connection_id":175646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ed"} 
[2026-09-09 17:00:36] local.INFO: Extracted packet for processing {"connection_id":175646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ed"} 
[2026-09-09 17:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972047360001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788953331000,"timestamp_ms":1788953331000,"timestamp_seconds":1788953331,"priority":1,"record_length":96,"hex_timestamp":"000001a085ed8538"} 
[2026-09-09 17:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":14,"data_length":795,"current_offset":136} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2246788864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741306185903568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3958050817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831739,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3842965504,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,229,160,225,45,128,237,59,38,10,66,143,41,61,1,240,69,227,133,31,4,113,205,153,208,239,49,2,67,7,120,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 17:00:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251492778036428800,"timestamp_seconds":4251492778036429.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972047360001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972047360001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972047360001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":175646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:00:36] local.INFO: GPS data processed {"connection_id":175646,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:00:36] local.INFO: Acknowledgment sent {"connection_id":175646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:00:38] local.INFO: TCP Data received {"connection_id":175865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:00:38] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:00:38] local.INFO: IMEI packet received {"connection_id":175865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":175865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:00:43] local.INFO: TCP Data received {"connection_id":175865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:00:43] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:00:43] local.INFO: IMEI packet received {"connection_id":175865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":175865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:00:44] local.INFO: TCP Data received {"connection_id":175865,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:00:44] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:00:44] local.INFO: Packet analysis {"connection_id":175865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:00:44] local.INFO: Extracted packet for processing {"connection_id":175865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 17:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 17:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:00:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":175865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:00:44] local.INFO: GPS data processed {"connection_id":175865,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:00:44] local.INFO: Acknowledgment sent {"connection_id":175865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:01:07] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085edd740012d196680071fedd0003b005627..."} 
[2026-09-09 17:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085edd740012d196680071fedd0003b005627..."} 
[2026-09-09 17:01:07] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085edd740012d196680071fedd0003b005627..."} 
[2026-09-09 17:01:07] local.INFO: Packet analysis {"connection_id":175646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ed"} 
[2026-09-09 17:01:07] local.INFO: Extracted packet for processing {"connection_id":175646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ed"} 
[2026-09-09 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972052736001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788953352000,"timestamp_ms":1788953352000,"timestamp_seconds":1788953352,"priority":1,"record_length":96,"hex_timestamp":"000001a085edd740"} 
[2026-09-09 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-09-09 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:01: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-09-09 17:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 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-09-09 17:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972052736001,"66":12558,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972052736001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972052736001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":175646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:01:07] local.INFO: GPS data processed {"connection_id":175646,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:01:07] local.INFO: Acknowledgment sent {"connection_id":175646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:01:15] local.INFO: TCP Data received {"connection_id":175865,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:01:15] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:01:15] local.INFO: Packet analysis {"connection_id":175865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:01:15] local.INFO: Extracted packet for processing {"connection_id":175865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 17:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 17:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":175865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:01:15] local.INFO: GPS data processed {"connection_id":175865,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:01:15] local.INFO: Acknowledgment sent {"connection_id":175865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:01:29] local.INFO: TCP Data received {"connection_id":177056,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:01:29] local.INFO: Processing buffer {"connection_id":177056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:01:29] local.INFO: IMEI packet received {"connection_id":177056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":177056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:01:30] local.INFO: TCP Data received {"connection_id":178452,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:01:30] local.INFO: Processing buffer {"connection_id":178452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:01:30] local.INFO: IMEI packet received {"connection_id":178452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":178452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:01:35] local.INFO: TCP Data received {"connection_id":178452,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:01:35] local.INFO: Processing buffer {"connection_id":178452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:01:35] local.INFO: IMEI packet received {"connection_id":178452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":178452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:01:35] local.INFO: TCP Data received {"connection_id":177056,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:01:35] local.INFO: Processing buffer {"connection_id":177056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:01:35] local.INFO: IMEI packet received {"connection_id":177056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":177056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:01:35] local.INFO: TCP Data received {"connection_id":177056,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ee2948012d196680071fedd0003b005628..."} 
[2026-09-09 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ee2948012d196680071fedd0003b005628..."} 
[2026-09-09 17:01:35] local.INFO: Processing buffer {"connection_id":177056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ee2948012d196680071fedd0003b005628..."} 
[2026-09-09 17:01:35] local.INFO: Packet analysis {"connection_id":177056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ee"} 
[2026-09-09 17:01:35] local.INFO: Extracted packet for processing {"connection_id":177056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ee"} 
[2026-09-09 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972058112001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953373000,"timestamp_ms":1788953373000,"timestamp_seconds":1788953373,"priority":1,"record_length":96,"hex_timestamp":"000001a085ee2948"} 
[2026-09-09 17:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2246830864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3968802817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741306185903568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831739,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3842965504,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,229,160,133,45,128,237,59,41,10,66,51,40,225,1,240,36,227,31,4,113,205,61,208,239,49,2,67,7,120,86,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 17:01:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251492773741461504,"timestamp_seconds":4251492773741461.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972058112001,"66":12548,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972058112001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:01:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972058112001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":177056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:01:36] local.INFO: GPS data processed {"connection_id":177056,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:01:36] local.INFO: Acknowledgment sent {"connection_id":177056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:01:37] local.INFO: TCP Data received {"connection_id":178452,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ead1d0012d7a114005e46668000a004b23..."} 
[2026-09-09 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ead1d0012d7a114005e46668000a004b23..."} 
[2026-09-09 17:01:37] local.INFO: Processing buffer {"connection_id":178452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ead1d0012d7a114005e46668000a004b23..."} 
[2026-09-09 17:01:37] local.INFO: Packet analysis {"connection_id":178452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 17:01:37] local.INFO: Extracted packet for processing {"connection_id":178452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":98854504,"longitude_deg":76.2974528,"latitude_deg":9.8854504,"altitude":10,"angle":75,"satellites":35,"speed":5,"hex_longitude":"2d7a1140","hex_latitude":"05e46668","is_valid_coordinates":true} 
[2026-09-09 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972005120001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130369969878728704,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795670835049641984,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788953154000,"timestamp_ms":1788953154000,"timestamp_seconds":1788953154,"priority":1,"record_length":96,"hex_timestamp":"000001a085ead1d0"} 
[2026-09-09 17:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 17:01: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-09-09 17:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972005120001,"66":14080,"208":206,"85":15104,"24":5,"16":130369969878728704,"45":8795670835049641984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972005120001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:01:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130369969878728704,"km_value":130369969878728.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795670835049641984,"description":"Unknown IO ID 45"} 
[2026-09-09 17:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972005120001,"power":14080,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8795670835049641984}} 
[2026-09-09 17:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":178452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:01:37] local.INFO: GPS data processed {"connection_id":178452,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:01:37] local.INFO: Acknowledgment sent {"connection_id":178452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:01:39] local.INFO: TCP Data received {"connection_id":178453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:01:39] local.INFO: Processing buffer {"connection_id":178453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:01:39] local.INFO: IMEI packet received {"connection_id":178453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":178453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:01:40] local.INFO: TCP Data received {"connection_id":178452,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ead9a0012d7a130005e466a0000a005c23..."} 
[2026-09-09 17:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ead9a0012d7a130005e466a0000a005c23..."} 
[2026-09-09 17:01:40] local.INFO: Processing buffer {"connection_id":178452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ead9a0012d7a130005e466a0000a005c23..."} 
[2026-09-09 17:01:40] local.INFO: Packet analysis {"connection_id":178452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 17:01:40] local.INFO: Extracted packet for processing {"connection_id":178452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 17:01:40] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":98854560,"longitude_deg":76.2974976,"latitude_deg":9.885456,"altitude":10,"angle":92,"satellites":35,"speed":10,"hex_longitude":"2d7a1300","hex_latitude":"05e466a0","is_valid_coordinates":true} 
[2026-09-09 17:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972007424001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130369991353565184,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941282220032,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01: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-09-09 17:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788953156000,"timestamp_ms":1788953156000,"timestamp_seconds":1788953156,"priority":1,"record_length":96,"hex_timestamp":"000001a085ead9a0"} 
[2026-09-09 17:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446101248,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2246742864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3936290817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1733624014,"corrected_to":0} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221611622,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531175,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831932928,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,42,160,174,45,128,101,11,34,10,66,87,170,64,162,1,240,214,227,133,228,4,113,205,3,151,14,136,35,239,54,2,207,5,13],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1733624014,"validated":0}]} 
[2026-09-09 17:01:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720658554075545600,"timestamp_seconds":720658554075545.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972007424001,"66":13993,"208":206,"85":15104,"24":10,"16":130369991353565184,"45":8795881941282220032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972007424001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:01:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130369991353565184,"km_value":130369991353565.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941282220032,"description":"Unknown IO ID 45"} 
[2026-09-09 17:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972007424001,"power":13993,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8795881941282220032}} 
[2026-09-09 17:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":178452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:01:40] local.INFO: GPS data processed {"connection_id":178452,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:01:40] local.INFO: Acknowledgment sent {"connection_id":178452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:01:43] local.INFO: TCP Data received {"connection_id":178453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:01:43] local.INFO: Processing buffer {"connection_id":178453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:01:43] local.INFO: IMEI packet received {"connection_id":178453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":178453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:01:44] local.INFO: TCP Data received {"connection_id":178453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:01:44] local.INFO: Processing buffer {"connection_id":178453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:01:44] local.INFO: Packet analysis {"connection_id":178453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:01:44] local.INFO: Extracted packet for processing {"connection_id":178453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 17:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 17:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":178453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:01:44] local.INFO: GPS data processed {"connection_id":178453,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:01:44] local.INFO: Acknowledgment sent {"connection_id":178453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:02:06] local.INFO: TCP Data received {"connection_id":177056,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ee7b50012d196680071fedd0003b005625..."} 
[2026-09-09 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ee7b50012d196680071fedd0003b005625..."} 
[2026-09-09 17:02:06] local.INFO: Processing buffer {"connection_id":177056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ee7b50012d196680071fedd0003b005625..."} 
[2026-09-09 17:02:06] local.INFO: Packet analysis {"connection_id":177056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ee"} 
[2026-09-09 17:02:06] local.INFO: Extracted packet for processing {"connection_id":177056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ee"} 
[2026-09-09 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972063488001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788953394000,"timestamp_ms":1788953394000,"timestamp_seconds":1788953394,"priority":1,"record_length":96,"hex_timestamp":"000001a085ee7b50"} 
[2026-09-09 17:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2246851864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3974178817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831739,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3842965504,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,229,160,215,45,128,237,59,39,10,66,133,41,51,1,240,14,227,31,4,113,205,143,208,239,49,2,67,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 17:02:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251492778036428800,"timestamp_seconds":4251492778036429.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972063488001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972063488001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972063488001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":177056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:02:07] local.INFO: GPS data processed {"connection_id":177056,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:02:07] local.INFO: Acknowledgment sent {"connection_id":177056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:02:17] local.INFO: TCP Data received {"connection_id":178453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:02:17] local.INFO: Processing buffer {"connection_id":178453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:02:17] local.INFO: Packet analysis {"connection_id":178453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:02:17] local.INFO: Extracted packet for processing {"connection_id":178453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 17:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 17:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:02: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-09-09 17:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:02:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":178453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:02:17] local.INFO: GPS data processed {"connection_id":178453,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:02:17] local.INFO: Acknowledgment sent {"connection_id":178453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:02:19] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:02:19] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:02:19] local.INFO: IMEI packet received {"connection_id":175867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":175867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:02:24] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:02:24] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:02:24] local.INFO: IMEI packet received {"connection_id":175867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":175867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:02:26] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085eaf4f8012d7a184005e466880008004e22..."} 
[2026-09-09 17:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085eaf4f8012d7a184005e466880008004e22..."} 
[2026-09-09 17:02:26] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085eaf4f8012d7a184005e466880008004e22..."} 
[2026-09-09 17:02:26] local.INFO: Packet analysis {"connection_id":175867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 17:02:26] local.INFO: Extracted packet for processing {"connection_id":175867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ea"} 
[2026-09-09 17:02:26] local.INFO: GPS Element Parsed {"raw_longitude":762976320,"raw_latitude":98854536,"longitude_deg":76.297632,"latitude_deg":9.8854536,"altitude":8,"angle":78,"satellites":34,"speed":4,"hex_longitude":"2d7a1840","hex_latitude":"05e46688","is_valid_coordinates":true} 
[2026-09-09 17:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972007936001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370055778074624,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522491478016,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788953163000,"timestamp_ms":1788953163000,"timestamp_seconds":1788953163,"priority":1,"record_length":96,"hex_timestamp":"000001a085eaf4f8"} 
[2026-09-09 17:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 17:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972007936001,"66":13961,"208":206,"85":15104,"24":4,"16":130370055778074624,"45":8796374522491478016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972007936001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:02:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370055778074624,"km_value":130370055778074.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522491478016,"description":"Unknown IO ID 45"} 
[2026-09-09 17:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972007936001,"power":13961,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8796374522491478016}} 
[2026-09-09 17:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":175867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:02:26] local.INFO: GPS data processed {"connection_id":175867,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:02:26] local.INFO: Acknowledgment sent {"connection_id":175867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:02:35] local.INFO: TCP Data received {"connection_id":178454,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:02:35] local.INFO: Processing buffer {"connection_id":178454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:02:35] local.INFO: IMEI packet received {"connection_id":178454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":178454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:02:38] local.INFO: TCP Data received {"connection_id":178454,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:02:38] local.INFO: Processing buffer {"connection_id":178454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:02:38] local.INFO: IMEI packet received {"connection_id":178454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":178454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:02:38] local.INFO: TCP Data received {"connection_id":178455,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:02:38] local.INFO: Processing buffer {"connection_id":178455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:02:38] local.INFO: IMEI packet received {"connection_id":178455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":178455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:02:38] local.INFO: TCP Data received {"connection_id":178454,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085eecd58012d196680071fedd0003b005624..."} 
[2026-09-09 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085eecd58012d196680071fedd0003b005624..."} 
[2026-09-09 17:02:38] local.INFO: Processing buffer {"connection_id":178454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085eecd58012d196680071fedd0003b005624..."} 
[2026-09-09 17:02:38] local.INFO: Packet analysis {"connection_id":178454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ee"} 
[2026-09-09 17:02:38] local.INFO: Extracted packet for processing {"connection_id":178454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ee"} 
[2026-09-09 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972068864001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788953415000,"timestamp_ms":1788953415000,"timestamp_seconds":1788953415,"priority":1,"record_length":96,"hex_timestamp":"000001a085eecd58"} 
[2026-09-09 17:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:02: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-09-09 17:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972068864001,"66":12558,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972068864001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:02:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972068864001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":178454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:02:39] local.INFO: GPS data processed {"connection_id":178454,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:02:39] local.INFO: Acknowledgment sent {"connection_id":178454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:02:40] local.INFO: TCP Data received {"connection_id":178454,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ef1f60012d196680071fedd0003b005627..."} 
[2026-09-09 17:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ef1f60012d196680071fedd0003b005627..."} 
[2026-09-09 17:02:40] local.INFO: Processing buffer {"connection_id":178454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ef1f60012d196680071fedd0003b005627..."} 
[2026-09-09 17:02:40] local.INFO: Packet analysis {"connection_id":178454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ef"} 
[2026-09-09 17:02:40] local.INFO: Extracted packet for processing {"connection_id":178454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ef"} 
[2026-09-09 17:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972074240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788953436000,"timestamp_ms":1788953436000,"timestamp_seconds":1788953436,"priority":1,"record_length":96,"hex_timestamp":"000001a085ef1f60"} 
[2026-09-09 17:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2246893864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741306185903568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3984930817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831739,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3842965504,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,229,160,123,45,128,237,59,37,10,66,41,40,215,1,240,14,227,133,31,4,113,205,51,208,239,49,2,67,7,120,86,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 17:02:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251492760856559616,"timestamp_seconds":4251492760856559.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972074240001,"66":12548,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972074240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:02:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972074240001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":178454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:02:40] local.INFO: GPS data processed {"connection_id":178454,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:02:40] local.INFO: Acknowledgment sent {"connection_id":178454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:02:44] local.INFO: TCP Data received {"connection_id":178455,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:02:44] local.INFO: Processing buffer {"connection_id":178455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:02:44] local.INFO: IMEI packet received {"connection_id":178455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":178455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:02:45] local.INFO: TCP Data received {"connection_id":178455,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:02:45] local.INFO: Processing buffer {"connection_id":178455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:02:45] local.INFO: Packet analysis {"connection_id":178455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:02:45] local.INFO: Extracted packet for processing {"connection_id":178455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 17:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 17:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":178455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:02:45] local.INFO: GPS data processed {"connection_id":178455,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:02:45] local.INFO: Acknowledgment sent {"connection_id":178455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:02:58] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085eb4318012d7a1a4005e467280007005121..."} 
[2026-09-09 17:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085eb4318012d7a1a4005e467280007005121..."} 
[2026-09-09 17:02:58] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085eb4318012d7a1a4005e467280007005121..."} 
[2026-09-09 17:02:58] local.INFO: Packet analysis {"connection_id":175867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085eb"} 
[2026-09-09 17:02:58] local.INFO: Extracted packet for processing {"connection_id":175867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085eb"} 
[2026-09-09 17:02:58] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854696,"longitude_deg":76.2976832,"latitude_deg":9.8854696,"altitude":7,"angle":81,"satellites":33,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46728","is_valid_coordinates":true} 
[2026-09-09 17:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972009728001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370081547878400,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797852266119202816,"note":"Value kept but may cause issues"} 
[2026-09-09 17:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788953183000,"timestamp_ms":1788953183000,"timestamp_seconds":1788953183,"priority":1,"record_length":96,"hex_timestamp":"000001a085eb4318"} 
[2026-09-09 17:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 17:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972009728001,"66":13276,"208":206,"85":15104,"24":0,"16":130370081547878400,"45":8797852266119202816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972009728001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:02:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370081547878400,"km_value":130370081547878.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797852266119202816,"description":"Unknown IO ID 45"} 
[2026-09-09 17:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972009728001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8797852266119202816}} 
[2026-09-09 17:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":175867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:02:58] local.INFO: GPS data processed {"connection_id":175867,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:02:58] local.INFO: Acknowledgment sent {"connection_id":175867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:03:11] local.INFO: TCP Data received {"connection_id":178454,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ef7168012d196680071fedd0003b005628..."} 
[2026-09-09 17:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ef7168012d196680071fedd0003b005628..."} 
[2026-09-09 17:03:11] local.INFO: Processing buffer {"connection_id":178454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ef7168012d196680071fedd0003b005628..."} 
[2026-09-09 17:03:11] local.INFO: Packet analysis {"connection_id":178454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ef"} 
[2026-09-09 17:03:11] local.INFO: Extracted packet for processing {"connection_id":178454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ef"} 
[2026-09-09 17:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972079616001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788953457000,"timestamp_ms":1788953457000,"timestamp_seconds":1788953457,"priority":1,"record_length":96,"hex_timestamp":"000001a085ef7168"} 
[2026-09-09 17:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2246914864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831739,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931256,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3842965504,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,229,160,205,45,128,237,59,36,10,66,123,37,41,1,240,4,227,133,31,113,208,239,48,2,67,7,120],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 17:03:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251492773741461504,"timestamp_seconds":4251492773741461.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972079616001,"66":12548,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972079616001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:03:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972079616001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":178454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:03:11] local.INFO: GPS data processed {"connection_id":178454,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:03:11] local.INFO: Acknowledgment sent {"connection_id":178454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:03:19] local.INFO: TCP Data received {"connection_id":178455,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:03:19] local.INFO: Processing buffer {"connection_id":178455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:03:19] local.INFO: Packet analysis {"connection_id":178455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:03:19] local.INFO: Extracted packet for processing {"connection_id":178455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 17:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 17:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:03: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-09-09 17:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":178455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:03:19] local.INFO: GPS data processed {"connection_id":178455,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:03:19] local.INFO: Acknowledgment sent {"connection_id":178455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:03:19] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:03:19] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:03:19] local.INFO: IMEI packet received {"connection_id":175868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":175868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:03:24] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:03:24] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:03:24] local.INFO: IMEI packet received {"connection_id":175868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":175868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:03:25] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085eb71f8012d7a1a4005e467280007005122..."} 
[2026-09-09 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085eb71f8012d7a1a4005e467280007005122..."} 
[2026-09-09 17:03:25] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085eb71f8012d7a1a4005e467280007005122..."} 
[2026-09-09 17:03:25] local.INFO: Packet analysis {"connection_id":175868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085eb"} 
[2026-09-09 17:03:25] local.INFO: Extracted packet for processing {"connection_id":175868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085eb"} 
[2026-09-09 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854696,"longitude_deg":76.2976832,"latitude_deg":9.8854696,"altitude":7,"angle":81,"satellites":34,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46728","is_valid_coordinates":true} 
[2026-09-09 17:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972014848001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370081547878400,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072665088,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788953195000,"timestamp_ms":1788953195000,"timestamp_seconds":1788953195,"priority":1,"record_length":96,"hex_timestamp":"000001a085eb71f8"} 
[2026-09-09 17:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-09 17:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972014848001,"66":13580,"208":206,"85":15104,"24":0,"16":130370081547878400,"45":8798415216072665088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972014848001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:03:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370081547878400,"km_value":130370081547878.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072665088,"description":"Unknown IO ID 45"} 
[2026-09-09 17:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972014848001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8798415216072665088}} 
[2026-09-09 17:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":175868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:03:26] local.INFO: GPS data processed {"connection_id":175868,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:03:26] local.INFO: Acknowledgment sent {"connection_id":175868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:03:30] local.INFO: TCP Data received {"connection_id":177057,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:03:30] local.INFO: Processing buffer {"connection_id":177057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:03:30] local.INFO: IMEI packet received {"connection_id":177057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":177057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:03:35] local.INFO: TCP Data received {"connection_id":177057,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:03:35] local.INFO: Processing buffer {"connection_id":177057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:03:35] local.INFO: IMEI packet received {"connection_id":177057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":177057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:03:35] local.INFO: TCP Data received {"connection_id":177057,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085efc370012d196680071fedd0003b005629..."} 
[2026-09-09 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085efc370012d196680071fedd0003b005629..."} 
[2026-09-09 17:03:35] local.INFO: Processing buffer {"connection_id":177057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085efc370012d196680071fedd0003b005629..."} 
[2026-09-09 17:03:35] local.INFO: Packet analysis {"connection_id":177057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ef"} 
[2026-09-09 17:03:35] local.INFO: Extracted packet for processing {"connection_id":177057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ef"} 
[2026-09-09 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972084992001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953478000,"timestamp_ms":1788953478000,"timestamp_seconds":1788953478,"priority":1,"record_length":96,"hex_timestamp":"000001a085efc370"} 
[2026-09-09 17:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2246935864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831739,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3995682817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3842965504,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,229,160,31,45,128,237,59,39,10,66,205,36,123,1,240,216,227,133,4,113,215,208,239,49,2,67,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 17:03:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251492778036428800,"timestamp_seconds":4251492778036429.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972084992001,"66":12526,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972084992001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972084992001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":177057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:03:36] local.INFO: GPS data processed {"connection_id":177057,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:03:36] local.INFO: Acknowledgment sent {"connection_id":177057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:03:38] local.INFO: TCP Data received {"connection_id":175648,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:03:38] local.INFO: Processing buffer {"connection_id":175648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:03:38] local.INFO: IMEI packet received {"connection_id":175648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":175648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:03:43] local.INFO: TCP Data received {"connection_id":175648,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:03:43] local.INFO: Processing buffer {"connection_id":175648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:03:43] local.INFO: IMEI packet received {"connection_id":175648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":175648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:03:45] local.INFO: TCP Data received {"connection_id":175648,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:03:45] local.INFO: Processing buffer {"connection_id":175648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ecd188012d34cc4006aa49080000013425..."} 
[2026-09-09 17:03:45] local.INFO: Packet analysis {"connection_id":175648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:03:45] local.INFO: Extracted packet for processing {"connection_id":175648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ec"} 
[2026-09-09 17:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457971963904001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788953285000,"timestamp_ms":1788953285000,"timestamp_seconds":1788953285,"priority":1,"record_length":96,"hex_timestamp":"000001a085ecd188"} 
[2026-09-09 17:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 17:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457971963904001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457971963904001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:03:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457971963904001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":175648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:03:45] local.INFO: GPS data processed {"connection_id":175648,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:03:45] local.INFO: Acknowledgment sent {"connection_id":175648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:04:07] local.INFO: TCP Data received {"connection_id":177057,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f01578012d196680071fedd0003b00562a..."} 
[2026-09-09 17:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f01578012d196680071fedd0003b00562a..."} 
[2026-09-09 17:04:07] local.INFO: Processing buffer {"connection_id":177057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f01578012d196680071fedd0003b00562a..."} 
[2026-09-09 17:04:07] local.INFO: Packet analysis {"connection_id":177057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f0"} 
[2026-09-09 17:04:07] local.INFO: Extracted packet for processing {"connection_id":177057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f0"} 
[2026-09-09 17:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972090368001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788953499000,"timestamp_ms":1788953499000,"timestamp_seconds":1788953499,"priority":1,"record_length":96,"hex_timestamp":"000001a085f01578"} 
[2026-09-09 17:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:04: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-09-09 17: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-09-09 17:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972090368001,"66":12461,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972090368001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:04:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972090368001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":177057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:04:07] local.INFO: GPS data processed {"connection_id":177057,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:04:07] local.INFO: Acknowledgment sent {"connection_id":177057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:04:16] local.INFO: TCP Data received {"connection_id":175648,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:04:16] local.INFO: Processing buffer {"connection_id":175648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:04:16] local.INFO: Packet analysis {"connection_id":175648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:04:16] local.INFO: Extracted packet for processing {"connection_id":175648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":175648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:04:16] local.INFO: GPS data processed {"connection_id":175648,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:04:16] local.INFO: Acknowledgment sent {"connection_id":175648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:04:30] local.INFO: TCP Data received {"connection_id":175869,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:04:30] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:04:30] local.INFO: IMEI packet received {"connection_id":175869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":175869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:04:35] local.INFO: TCP Data received {"connection_id":175869,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:04:35] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:04:35] local.INFO: IMEI packet received {"connection_id":175869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":175869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:04:35] local.INFO: TCP Data received {"connection_id":175869,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f06780012d196680071fedd0003b005629..."} 
[2026-09-09 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f06780012d196680071fedd0003b005629..."} 
[2026-09-09 17:04:35] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f06780012d196680071fedd0003b005629..."} 
[2026-09-09 17:04:35] local.INFO: Packet analysis {"connection_id":175869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f0"} 
[2026-09-09 17:04:35] local.INFO: Extracted packet for processing {"connection_id":175869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f0"} 
[2026-09-09 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972095744001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953520000,"timestamp_ms":1788953520000,"timestamp_seconds":1788953520,"priority":1,"record_length":96,"hex_timestamp":"000001a085f06780"} 
[2026-09-09 17:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 17:04: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-09-09 17:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972095744001,"66":12461,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972095744001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:04:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972095744001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":175869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:04:36] local.INFO: GPS data processed {"connection_id":175869,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:04:36] local.INFO: Acknowledgment sent {"connection_id":175869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:04:38] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:04:38] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:04:38] local.INFO: IMEI packet received {"connection_id":175870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":175870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:04:43] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:04:43] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:04:43] local.INFO: IMEI packet received {"connection_id":175870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":175870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:04:44] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:04:44] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:04:44] local.INFO: Packet analysis {"connection_id":175870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:04:44] local.INFO: Extracted packet for processing {"connection_id":175870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":175870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:04:44] local.INFO: GPS data processed {"connection_id":175870,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:04:44] local.INFO: Acknowledgment sent {"connection_id":175870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:05:06] local.INFO: TCP Data received {"connection_id":175869,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f0b988012d196680071fedd0003b005628..."} 
[2026-09-09 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f0b988012d196680071fedd0003b005628..."} 
[2026-09-09 17:05:06] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f0b988012d196680071fedd0003b005628..."} 
[2026-09-09 17:05:06] local.INFO: Packet analysis {"connection_id":175869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f0"} 
[2026-09-09 17:05:06] local.INFO: Extracted packet for processing {"connection_id":175869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f0"} 
[2026-09-09 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972101120001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788953541000,"timestamp_ms":1788953541000,"timestamp_seconds":1788953541,"priority":1,"record_length":96,"hex_timestamp":"000001a085f0b988"} 
[2026-09-09 17:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 17:05: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-09-09 17:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972101120001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972101120001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:05:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972101120001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":175869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:05:06] local.INFO: GPS data processed {"connection_id":175869,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:05:06] local.INFO: Acknowledgment sent {"connection_id":175869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:05:16] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:05:16] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:05:16] local.INFO: Packet analysis {"connection_id":175870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:05:16] local.INFO: Extracted packet for processing {"connection_id":175870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:05:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":175870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:05:16] local.INFO: GPS data processed {"connection_id":175870,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:05:16] local.INFO: Acknowledgment sent {"connection_id":175870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:05:21] local.INFO: TCP Data received {"connection_id":178456,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:05:21] local.INFO: Processing buffer {"connection_id":178456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:05:21] local.INFO: IMEI packet received {"connection_id":178456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":178456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:05:30] local.INFO: TCP Data received {"connection_id":175871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:05:30] local.INFO: Processing buffer {"connection_id":175871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:05:30] local.INFO: IMEI packet received {"connection_id":175871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":175871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:05:35] local.INFO: TCP Data received {"connection_id":175871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:05:35] local.INFO: Processing buffer {"connection_id":175871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:05:35] local.INFO: IMEI packet received {"connection_id":175871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":175871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:05:35] local.INFO: TCP Data received {"connection_id":175871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f10b90012d196680071fedd0003b005628..."} 
[2026-09-09 17:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f10b90012d196680071fedd0003b005628..."} 
[2026-09-09 17:05:35] local.INFO: Processing buffer {"connection_id":175871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f10b90012d196680071fedd0003b005628..."} 
[2026-09-09 17:05:35] local.INFO: Packet analysis {"connection_id":175871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:05:35] local.INFO: Extracted packet for processing {"connection_id":175871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972106496001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953562000,"timestamp_ms":1788953562000,"timestamp_seconds":1788953562,"priority":1,"record_length":96,"hex_timestamp":"000001a085f10b90"} 
[2026-09-09 17:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972106496001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972106496001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:05:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972106496001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":175871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:05:36] local.INFO: GPS data processed {"connection_id":175871,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:05:36] local.INFO: Acknowledgment sent {"connection_id":175871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:05:38] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:05:38] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:05:38] local.INFO: IMEI packet received {"connection_id":175872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":175872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:05:43] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:05:43] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:05:43] local.INFO: IMEI packet received {"connection_id":175872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:05:44] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:05:44] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:05:44] local.INFO: Packet analysis {"connection_id":175872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:05:44] local.INFO: Extracted packet for processing {"connection_id":175872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":175872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:05:44] local.INFO: GPS data processed {"connection_id":175872,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:05:44] local.INFO: Acknowledgment sent {"connection_id":175872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:05:46] local.INFO: TCP Data received {"connection_id":177058,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:05:46] local.INFO: Processing buffer {"connection_id":177058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:05:46] local.INFO: IMEI packet received {"connection_id":177058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":177058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:06:07] local.INFO: TCP Data received {"connection_id":175871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f15d98012d196680071fedd0003b005629..."} 
[2026-09-09 17:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f15d98012d196680071fedd0003b005629..."} 
[2026-09-09 17:06:07] local.INFO: Processing buffer {"connection_id":175871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f15d98012d196680071fedd0003b005629..."} 
[2026-09-09 17:06:07] local.INFO: Packet analysis {"connection_id":175871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:06:07] local.INFO: Extracted packet for processing {"connection_id":175871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972111872001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788953583000,"timestamp_ms":1788953583000,"timestamp_seconds":1788953583,"priority":1,"record_length":96,"hex_timestamp":"000001a085f15d98"} 
[2026-09-09 17:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:06: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-09-09 17: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-09-09 17:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972111872001,"66":12526,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972111872001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:06:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972111872001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":175871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:06:07] local.INFO: GPS data processed {"connection_id":175871,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:06:07] local.INFO: Acknowledgment sent {"connection_id":175871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:06:15] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:06:15] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:06:15] local.INFO: Packet analysis {"connection_id":175872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:06:15] local.INFO: Extracted packet for processing {"connection_id":175872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":175872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:06:15] local.INFO: GPS data processed {"connection_id":175872,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:06:15] local.INFO: Acknowledgment sent {"connection_id":175872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:06:28] local.INFO: TCP Data received {"connection_id":177059,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:06:28] local.INFO: Processing buffer {"connection_id":177059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:06:28] local.INFO: IMEI packet received {"connection_id":177059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":177059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:06:29] local.INFO: TCP Data received {"connection_id":177059,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:06:29] local.INFO: Processing buffer {"connection_id":177059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:06:29] local.INFO: IMEI packet received {"connection_id":177059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":177059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:06:35] local.INFO: TCP Data received {"connection_id":177059,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:06:35] local.INFO: Processing buffer {"connection_id":177059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:06:35] local.INFO: IMEI packet received {"connection_id":177059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":177059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:06:36] local.INFO: TCP Data received {"connection_id":177059,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f1afa0012d196680071fedd0003b00562b..."} 
[2026-09-09 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f1afa0012d196680071fedd0003b00562b..."} 
[2026-09-09 17:06:36] local.INFO: Processing buffer {"connection_id":177059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f1afa0012d196680071fedd0003b00562b..."} 
[2026-09-09 17:06:36] local.INFO: Packet analysis {"connection_id":177059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:06:36] local.INFO: Extracted packet for processing {"connection_id":177059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":43,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972117248001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788953604000,"timestamp_ms":1788953604000,"timestamp_seconds":1788953604,"priority":1,"record_length":96,"hex_timestamp":"000001a085f1afa0"} 
[2026-09-09 17:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972117248001,"66":12461,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972117248001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972117248001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":177059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:06:36] local.INFO: GPS data processed {"connection_id":177059,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:06:36] local.INFO: Acknowledgment sent {"connection_id":177059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:06:38] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:06:38] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:06:38] local.INFO: IMEI packet received {"connection_id":175650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":175650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:06:43] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:06:43] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:06:43] local.INFO: IMEI packet received {"connection_id":175650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":175650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:06:44] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:06:44] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:06:44] local.INFO: Packet analysis {"connection_id":175650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:06:44] local.INFO: Extracted packet for processing {"connection_id":175650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":175650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:06:44] local.INFO: GPS data processed {"connection_id":175650,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:06:44] local.INFO: Acknowledgment sent {"connection_id":175650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:07:07] local.INFO: TCP Data received {"connection_id":177059,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f201a8012d196680071fedd0003b00562a..."} 
[2026-09-09 17:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f201a8012d196680071fedd0003b00562a..."} 
[2026-09-09 17:07:07] local.INFO: Processing buffer {"connection_id":177059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f201a8012d196680071fedd0003b00562a..."} 
[2026-09-09 17:07:07] local.INFO: Packet analysis {"connection_id":177059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f2"} 
[2026-09-09 17:07:07] local.INFO: Extracted packet for processing {"connection_id":177059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f2"} 
[2026-09-09 17:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972122624001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788953625000,"timestamp_ms":1788953625000,"timestamp_seconds":1788953625,"priority":1,"record_length":96,"hex_timestamp":"000001a085f201a8"} 
[2026-09-09 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-09-09 17:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 17:07: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-09-09 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-09-09 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-09-09 17:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972122624001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972122624001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:07:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972122624001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":177059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:07:07] local.INFO: GPS data processed {"connection_id":177059,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:07:07] local.INFO: Acknowledgment sent {"connection_id":177059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:07:16] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:07:16] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:07:16] local.INFO: Packet analysis {"connection_id":175650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:07:16] local.INFO: Extracted packet for processing {"connection_id":175650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":175650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:07:16] local.INFO: GPS data processed {"connection_id":175650,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:07:16] local.INFO: Acknowledgment sent {"connection_id":175650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:07:29] local.INFO: TCP Data received {"connection_id":178457,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:07:29] local.INFO: Processing buffer {"connection_id":178457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:07:29] local.INFO: IMEI packet received {"connection_id":178457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":178457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:07:32] local.INFO: TCP Data received {"connection_id":178457,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:07:32] local.INFO: Processing buffer {"connection_id":178457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:07:32] local.INFO: IMEI packet received {"connection_id":178457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":178457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:07:35] local.INFO: TCP Data received {"connection_id":178457,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:07:35] local.INFO: Processing buffer {"connection_id":178457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:07:35] local.INFO: IMEI packet received {"connection_id":178457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":178457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:07:35] local.INFO: TCP Data received {"connection_id":178457,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f253b0012d196680071fedd0003b005629..."} 
[2026-09-09 17:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f253b0012d196680071fedd0003b005629..."} 
[2026-09-09 17:07:35] local.INFO: Processing buffer {"connection_id":178457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f253b0012d196680071fedd0003b005629..."} 
[2026-09-09 17:07:35] local.INFO: Packet analysis {"connection_id":178457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f2"} 
[2026-09-09 17:07:35] local.INFO: Extracted packet for processing {"connection_id":178457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f2"} 
[2026-09-09 17:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972128000001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953646000,"timestamp_ms":1788953646000,"timestamp_seconds":1788953646,"priority":1,"record_length":96,"hex_timestamp":"000001a085f253b0"} 
[2026-09-09 17:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972128000001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972128000001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:07:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972128000001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":178457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:07:36] local.INFO: GPS data processed {"connection_id":178457,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:07:36] local.INFO: Acknowledgment sent {"connection_id":178457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:07:38] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:07:38] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:07:38] local.INFO: IMEI packet received {"connection_id":175873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":175873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:07:43] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:07:43] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:07:43] local.INFO: IMEI packet received {"connection_id":175873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":175873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:07:44] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:07:44] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:07:44] local.INFO: Packet analysis {"connection_id":175873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:07:44] local.INFO: Extracted packet for processing {"connection_id":175873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":175873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:07:44] local.INFO: GPS data processed {"connection_id":175873,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:07:44] local.INFO: Acknowledgment sent {"connection_id":175873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:08:06] local.INFO: TCP Data received {"connection_id":178457,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f2a5b8012d196680071fedd0003b005626..."} 
[2026-09-09 17:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f2a5b8012d196680071fedd0003b005626..."} 
[2026-09-09 17:08:06] local.INFO: Processing buffer {"connection_id":178457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f2a5b8012d196680071fedd0003b005626..."} 
[2026-09-09 17:08:06] local.INFO: Packet analysis {"connection_id":178457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f2"} 
[2026-09-09 17:08:06] local.INFO: Extracted packet for processing {"connection_id":178457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f2"} 
[2026-09-09 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972133376001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08: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-09-09 17:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788953667000,"timestamp_ms":1788953667000,"timestamp_seconds":1788953667,"priority":1,"record_length":96,"hex_timestamp":"000001a085f2a5b8"} 
[2026-09-09 17:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:08: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-09-09 17:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972133376001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972133376001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:08:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972133376001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":178457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:08:07] local.INFO: GPS data processed {"connection_id":178457,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:08:07] local.INFO: Acknowledgment sent {"connection_id":178457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:08:16] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:08:16] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:08:16] local.INFO: Packet analysis {"connection_id":175873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:08:16] local.INFO: Extracted packet for processing {"connection_id":175873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":175873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:08:16] local.INFO: GPS data processed {"connection_id":175873,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:08:16] local.INFO: Acknowledgment sent {"connection_id":175873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:08:29] local.INFO: TCP Data received {"connection_id":175653,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:08:29] local.INFO: Processing buffer {"connection_id":175653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:08:29] local.INFO: IMEI packet received {"connection_id":175653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":175653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:08:35] local.INFO: TCP Data received {"connection_id":175653,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:08:35] local.INFO: Processing buffer {"connection_id":175653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:08:35] local.INFO: IMEI packet received {"connection_id":175653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":175653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:08:35] local.INFO: TCP Data received {"connection_id":175653,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f2f7c0012d196680071fedd0003b00562a..."} 
[2026-09-09 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f2f7c0012d196680071fedd0003b00562a..."} 
[2026-09-09 17:08:35] local.INFO: Processing buffer {"connection_id":175653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f2f7c0012d196680071fedd0003b00562a..."} 
[2026-09-09 17:08:35] local.INFO: Packet analysis {"connection_id":175653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f2"} 
[2026-09-09 17:08:35] local.INFO: Extracted packet for processing {"connection_id":175653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f2"} 
[2026-09-09 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972138752001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953688000,"timestamp_ms":1788953688000,"timestamp_seconds":1788953688,"priority":1,"record_length":96,"hex_timestamp":"000001a085f2f7c0"} 
[2026-09-09 17:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972138752001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972138752001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:08:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972138752001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":175653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:08:36] local.INFO: GPS data processed {"connection_id":175653,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:08:36] local.INFO: Acknowledgment sent {"connection_id":175653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:08:38] local.INFO: TCP Data received {"connection_id":178458,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:08:38] local.INFO: Processing buffer {"connection_id":178458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:08:38] local.INFO: IMEI packet received {"connection_id":178458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":178458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:08:43] local.INFO: TCP Data received {"connection_id":178458,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:08:43] local.INFO: Processing buffer {"connection_id":178458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:08:43] local.INFO: IMEI packet received {"connection_id":178458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":178458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:08:44] local.INFO: TCP Data received {"connection_id":178458,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:08:44] local.INFO: Processing buffer {"connection_id":178458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f16950012d34cc4006aa49080006013420..."} 
[2026-09-09 17:08:44] local.INFO: Packet analysis {"connection_id":178458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:08:44] local.INFO: Extracted packet for processing {"connection_id":178458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f1"} 
[2026-09-09 17:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972040960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788953586000,"timestamp_ms":1788953586000,"timestamp_seconds":1788953586,"priority":1,"record_length":96,"hex_timestamp":"000001a085f16950"} 
[2026-09-09 17:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972040960001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972040960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972040960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":178458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:08:44] local.INFO: GPS data processed {"connection_id":178458,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:08:44] local.INFO: Acknowledgment sent {"connection_id":178458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:09:07] local.INFO: TCP Data received {"connection_id":175653,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f349c8012d196680071fedd0003b005628..."} 
[2026-09-09 17:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f349c8012d196680071fedd0003b005628..."} 
[2026-09-09 17:09:07] local.INFO: Processing buffer {"connection_id":175653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f349c8012d196680071fedd0003b005628..."} 
[2026-09-09 17:09:07] local.INFO: Packet analysis {"connection_id":175653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f3"} 
[2026-09-09 17:09:07] local.INFO: Extracted packet for processing {"connection_id":175653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f3"} 
[2026-09-09 17:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972144128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788953709000,"timestamp_ms":1788953709000,"timestamp_seconds":1788953709,"priority":1,"record_length":96,"hex_timestamp":"000001a085f349c8"} 
[2026-09-09 17:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:09: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-09-09 17: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-09-09 17:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972144128001,"66":12515,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972144128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:09:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972144128001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":175653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:09:07] local.INFO: GPS data processed {"connection_id":175653,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:09:07] local.INFO: Acknowledgment sent {"connection_id":175653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:09:15] local.INFO: TCP Data received {"connection_id":178458,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:09:15] local.INFO: Processing buffer {"connection_id":178458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:09:15] local.INFO: Packet analysis {"connection_id":178458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:09:15] local.INFO: Extracted packet for processing {"connection_id":178458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":178458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:09:15] local.INFO: GPS data processed {"connection_id":178458,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:09:15] local.INFO: Acknowledgment sent {"connection_id":178458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:09:35] local.INFO: TCP Data received {"connection_id":177060,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:09:35] local.INFO: Processing buffer {"connection_id":177060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:09:35] local.INFO: IMEI packet received {"connection_id":177060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":177060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:09:38] local.INFO: TCP Data received {"connection_id":177060,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:09:38] local.INFO: Processing buffer {"connection_id":177060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:09:38] local.INFO: IMEI packet received {"connection_id":177060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":177060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:09:38] local.INFO: TCP Data received {"connection_id":175655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:09:38] local.INFO: Processing buffer {"connection_id":175655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:09:38] local.INFO: IMEI packet received {"connection_id":175655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":175655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:09:38] local.INFO: TCP Data received {"connection_id":177060,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f39bd0012d196680071fedd0003b005627..."} 
[2026-09-09 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f39bd0012d196680071fedd0003b005627..."} 
[2026-09-09 17:09:38] local.INFO: Processing buffer {"connection_id":177060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f39bd0012d196680071fedd0003b005627..."} 
[2026-09-09 17:09:38] local.INFO: Packet analysis {"connection_id":177060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f3"} 
[2026-09-09 17:09:38] local.INFO: Extracted packet for processing {"connection_id":177060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f3"} 
[2026-09-09 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972149504001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788953730000,"timestamp_ms":1788953730000,"timestamp_seconds":1788953730,"priority":1,"record_length":96,"hex_timestamp":"000001a085f39bd0"} 
[2026-09-09 17:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":227,"data_length":795,"current_offset":136} 
[2026-09-09 17:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972149504001,"66":12461,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972149504001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:09:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972149504001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":177060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:09:38] local.INFO: GPS data processed {"connection_id":177060,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:09:38] local.INFO: Acknowledgment sent {"connection_id":177060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:09:40] local.INFO: TCP Data received {"connection_id":177060,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f3edd8012d196680071fedd0003b005626..."} 
[2026-09-09 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f3edd8012d196680071fedd0003b005626..."} 
[2026-09-09 17:09:40] local.INFO: Processing buffer {"connection_id":177060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f3edd8012d196680071fedd0003b005626..."} 
[2026-09-09 17:09:40] local.INFO: Packet analysis {"connection_id":177060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f3"} 
[2026-09-09 17:09:40] local.INFO: Extracted packet for processing {"connection_id":177060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f3"} 
[2026-09-09 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972154880001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09: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-09-09 17:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788953751000,"timestamp_ms":1788953751000,"timestamp_seconds":1788953751,"priority":1,"record_length":96,"hex_timestamp":"000001a085f3edd8"} 
[2026-09-09 17:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 17:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972154880001,"66":12461,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972154880001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:09:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972154880001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":177060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:09:40] local.INFO: GPS data processed {"connection_id":177060,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:09:40] local.INFO: Acknowledgment sent {"connection_id":177060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:09:44] local.INFO: TCP Data received {"connection_id":175655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:09:44] local.INFO: Processing buffer {"connection_id":175655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:09:44] local.INFO: IMEI packet received {"connection_id":175655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":175655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:09:45] local.INFO: TCP Data received {"connection_id":175655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:09:45] local.INFO: Processing buffer {"connection_id":175655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:09:45] local.INFO: Packet analysis {"connection_id":175655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:09:45] local.INFO: Extracted packet for processing {"connection_id":175655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":175655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:09:45] local.INFO: GPS data processed {"connection_id":175655,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:09:45] local.INFO: Acknowledgment sent {"connection_id":175655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:10:11] local.INFO: TCP Data received {"connection_id":177060,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f43fe0012d196680071fedd0003b005624..."} 
[2026-09-09 17:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f43fe0012d196680071fedd0003b005624..."} 
[2026-09-09 17:10:11] local.INFO: Processing buffer {"connection_id":177060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f43fe0012d196680071fedd0003b005624..."} 
[2026-09-09 17:10:11] local.INFO: Packet analysis {"connection_id":177060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f4"} 
[2026-09-09 17:10:11] local.INFO: Extracted packet for processing {"connection_id":177060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f4"} 
[2026-09-09 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972160256001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788953772000,"timestamp_ms":1788953772000,"timestamp_seconds":1788953772,"priority":1,"record_length":96,"hex_timestamp":"000001a085f43fe0"} 
[2026-09-09 17:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 17:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972160256001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972160256001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:10:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972160256001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":177060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:10:11] local.INFO: GPS data processed {"connection_id":177060,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:10:11] local.INFO: Acknowledgment sent {"connection_id":177060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:10:17] local.INFO: TCP Data received {"connection_id":175655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:10:17] local.INFO: Processing buffer {"connection_id":175655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:10:17] local.INFO: Packet analysis {"connection_id":175655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:10:17] local.INFO: Extracted packet for processing {"connection_id":175655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":175655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:10:17] local.INFO: GPS data processed {"connection_id":175655,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:10:17] local.INFO: Acknowledgment sent {"connection_id":175655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:10:30] local.INFO: TCP Data received {"connection_id":177061,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:10:30] local.INFO: Processing buffer {"connection_id":177061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:10:30] local.INFO: IMEI packet received {"connection_id":177061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":177061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:10:35] local.INFO: TCP Data received {"connection_id":177061,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:10:35] local.INFO: Processing buffer {"connection_id":177061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:10:35] local.INFO: IMEI packet received {"connection_id":177061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":177061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:10:35] local.INFO: TCP Data received {"connection_id":177061,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f491e8012d196680071fedd0003b005626..."} 
[2026-09-09 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f491e8012d196680071fedd0003b005626..."} 
[2026-09-09 17:10:35] local.INFO: Processing buffer {"connection_id":177061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f491e8012d196680071fedd0003b005626..."} 
[2026-09-09 17:10:35] local.INFO: Packet analysis {"connection_id":177061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f4"} 
[2026-09-09 17:10:35] local.INFO: Extracted packet for processing {"connection_id":177061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f4"} 
[2026-09-09 17:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972165632001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953793000,"timestamp_ms":1788953793000,"timestamp_seconds":1788953793,"priority":1,"record_length":96,"hex_timestamp":"000001a085f491e8"} 
[2026-09-09 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-09-09 17:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972165632001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972165632001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:10:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972165632001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":177061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:10:36] local.INFO: GPS data processed {"connection_id":177061,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:10:36] local.INFO: Acknowledgment sent {"connection_id":177061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:10:38] local.INFO: TCP Data received {"connection_id":175656,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:10:38] local.INFO: Processing buffer {"connection_id":175656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:10:38] local.INFO: IMEI packet received {"connection_id":175656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":175656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:10:44] local.INFO: TCP Data received {"connection_id":175656,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:10:44] local.INFO: Processing buffer {"connection_id":175656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:10:44] local.INFO: IMEI packet received {"connection_id":175656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":175656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:10:46] local.INFO: TCP Data received {"connection_id":175656,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:10:46] local.INFO: Processing buffer {"connection_id":175656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:10:46] local.INFO: Packet analysis {"connection_id":175656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:10:46] local.INFO: Extracted packet for processing {"connection_id":175656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":175656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:10:46] local.INFO: GPS data processed {"connection_id":175656,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:10:46] local.INFO: Acknowledgment sent {"connection_id":175656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:11:07] local.INFO: TCP Data received {"connection_id":177061,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f4e3f0012d196680071fedd0003b005627..."} 
[2026-09-09 17:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f4e3f0012d196680071fedd0003b005627..."} 
[2026-09-09 17:11:07] local.INFO: Processing buffer {"connection_id":177061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f4e3f0012d196680071fedd0003b005627..."} 
[2026-09-09 17:11:07] local.INFO: Packet analysis {"connection_id":177061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f4"} 
[2026-09-09 17:11:07] local.INFO: Extracted packet for processing {"connection_id":177061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f4"} 
[2026-09-09 17:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972171008001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788953814000,"timestamp_ms":1788953814000,"timestamp_seconds":1788953814,"priority":1,"record_length":96,"hex_timestamp":"000001a085f4e3f0"} 
[2026-09-09 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-09-09 17:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:11: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-09-09 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-09-09 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-09-09 17:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972171008001,"66":12461,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972171008001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:11:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972171008001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":177061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:11:07] local.INFO: GPS data processed {"connection_id":177061,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:11:07] local.INFO: Acknowledgment sent {"connection_id":177061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:11:17] local.INFO: TCP Data received {"connection_id":175656,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:11:17] local.INFO: Processing buffer {"connection_id":175656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:11:17] local.INFO: Packet analysis {"connection_id":175656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:11:17] local.INFO: Extracted packet for processing {"connection_id":175656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:11: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-09-09 17:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":175656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:11:17] local.INFO: GPS data processed {"connection_id":175656,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:11:17] local.INFO: Acknowledgment sent {"connection_id":175656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:11:30] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:11:30] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:11:30] local.INFO: IMEI packet received {"connection_id":175657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":175657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:11:35] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:11:35] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:11:35] local.INFO: IMEI packet received {"connection_id":175657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":175657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:11:35] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f535f8012d196680071fedd0003b00562a..."} 
[2026-09-09 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f535f8012d196680071fedd0003b00562a..."} 
[2026-09-09 17:11:35] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f535f8012d196680071fedd0003b00562a..."} 
[2026-09-09 17:11:35] local.INFO: Packet analysis {"connection_id":175657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f5"} 
[2026-09-09 17:11:35] local.INFO: Extracted packet for processing {"connection_id":175657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f5"} 
[2026-09-09 17:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":42,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972176384001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788953835000,"timestamp_ms":1788953835000,"timestamp_seconds":1788953835,"priority":1,"record_length":96,"hex_timestamp":"000001a085f535f8"} 
[2026-09-09 17:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 17:11: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-09-09 17: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-09-09 17:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972176384001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972176384001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:11:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972176384001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":175657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:11:35] local.INFO: GPS data processed {"connection_id":175657,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:11:35] local.INFO: Acknowledgment sent {"connection_id":175657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:11:38] local.INFO: TCP Data received {"connection_id":178460,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:11:38] local.INFO: Processing buffer {"connection_id":178460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:11:38] local.INFO: IMEI packet received {"connection_id":178460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":178460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:11:42] local.INFO: TCP Data received {"connection_id":177062,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:11:42] local.INFO: Processing buffer {"connection_id":177062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:11:42] local.INFO: IMEI packet received {"connection_id":177062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":177062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:11:43] local.INFO: TCP Data received {"connection_id":178460,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:11:43] local.INFO: Processing buffer {"connection_id":178460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:11:43] local.INFO: IMEI packet received {"connection_id":178460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":178460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:11:45] local.INFO: TCP Data received {"connection_id":178460,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:11:45] local.INFO: Processing buffer {"connection_id":178460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:11:45] local.INFO: Packet analysis {"connection_id":178460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:11:45] local.INFO: Extracted packet for processing {"connection_id":178460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:11:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":178460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:11:45] local.INFO: GPS data processed {"connection_id":178460,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:11:45] local.INFO: Acknowledgment sent {"connection_id":178460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:12:07] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f58800012d196680071fedd0003b005627..."} 
[2026-09-09 17:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f58800012d196680071fedd0003b005627..."} 
[2026-09-09 17:12:07] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f58800012d196680071fedd0003b005627..."} 
[2026-09-09 17:12:07] local.INFO: Packet analysis {"connection_id":175657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f5"} 
[2026-09-09 17:12:07] local.INFO: Extracted packet for processing {"connection_id":175657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f5"} 
[2026-09-09 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972181760001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788953856000,"timestamp_ms":1788953856000,"timestamp_seconds":1788953856,"priority":1,"record_length":96,"hex_timestamp":"000001a085f58800"} 
[2026-09-09 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-09-09 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:12: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-09-09 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-09-09 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-09-09 17:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972181760001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972181760001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:12:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972181760001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":175657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:12:07] local.INFO: GPS data processed {"connection_id":175657,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:12:07] local.INFO: Acknowledgment sent {"connection_id":175657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:12:39] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:12:39] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:12:39] local.INFO: IMEI packet received {"connection_id":175875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":175875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:12:44] local.INFO: TCP Data received {"connection_id":177064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:12:44] local.INFO: Processing buffer {"connection_id":177064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:12:44] local.INFO: IMEI packet received {"connection_id":177064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":177064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:12:45] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:12:45] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:12:45] local.INFO: IMEI packet received {"connection_id":175875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":175875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:12:45] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f5da08012d196680071fedd0003b005627..."} 
[2026-09-09 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f5da08012d196680071fedd0003b005627..."} 
[2026-09-09 17:12:45] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f5da08012d196680071fedd0003b005627..."} 
[2026-09-09 17:12:45] local.INFO: Packet analysis {"connection_id":175875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f5"} 
[2026-09-09 17:12:45] local.INFO: Extracted packet for processing {"connection_id":175875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f5"} 
[2026-09-09 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972187136001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788953877000,"timestamp_ms":1788953877000,"timestamp_seconds":1788953877,"priority":1,"record_length":96,"hex_timestamp":"000001a085f5da08"} 
[2026-09-09 17:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:12: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-09-09 17:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972187136001,"66":12504,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972187136001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:12:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972187136001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":175875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:12:46] local.INFO: GPS data processed {"connection_id":175875,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:12:46] local.INFO: Acknowledgment sent {"connection_id":175875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:12:48] local.INFO: TCP Data received {"connection_id":178460,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:12:48] local.INFO: Processing buffer {"connection_id":178460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:12:48] local.INFO: Packet analysis {"connection_id":178460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:12:48] local.INFO: Extracted packet for processing {"connection_id":178460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":178460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:12:48] local.INFO: GPS data processed {"connection_id":178460,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:12:48] local.INFO: Acknowledgment sent {"connection_id":178460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:12:48] local.INFO: TCP Data received {"connection_id":177064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:12:48] local.INFO: Processing buffer {"connection_id":177064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:12:48] local.INFO: IMEI packet received {"connection_id":177064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":177064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:12:49] local.INFO: TCP Data received {"connection_id":177064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:12:49] local.INFO: Processing buffer {"connection_id":177064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:12:49] local.INFO: Packet analysis {"connection_id":177064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:12:49] local.INFO: Extracted packet for processing {"connection_id":177064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":177064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:12:49] local.INFO: GPS data processed {"connection_id":177064,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:12:49] local.INFO: Acknowledgment sent {"connection_id":177064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:13:21] local.INFO: TCP Data received {"connection_id":177064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:13:21] local.INFO: Processing buffer {"connection_id":177064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:13:21] local.INFO: Packet analysis {"connection_id":177064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:13:21] local.INFO: Extracted packet for processing {"connection_id":177064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:13:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:13:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":177064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:13:21] local.INFO: GPS data processed {"connection_id":177064,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:13:21] local.INFO: Acknowledgment sent {"connection_id":177064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:13:34] local.INFO: TCP Data received {"connection_id":177065,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:13:34] local.INFO: Processing buffer {"connection_id":177065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:13:34] local.INFO: IMEI packet received {"connection_id":177065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":177065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:13:36] local.INFO: TCP Data received {"connection_id":177065,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:13:36] local.INFO: Processing buffer {"connection_id":177065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:13:36] local.INFO: IMEI packet received {"connection_id":177065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":177065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:13:37] local.INFO: TCP Data received {"connection_id":177065,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085f96060012d196680071fedd0003b005628..."} 
[2026-09-09 17:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f96060012d196680071fedd0003b005628..."} 
[2026-09-09 17:13:37] local.INFO: Processing buffer {"connection_id":177065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f96060012d196680071fedd0003b005628..."} 
[2026-09-09 17:13:37] local.INFO: Packet analysis {"connection_id":177065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f9"} 
[2026-09-09 17:13:37] local.INFO: Extracted packet for processing {"connection_id":177065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f9"} 
[2026-09-09 17:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533008,"longitude_deg":75.663936,"latitude_deg":11.9533008,"altitude":59,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972246272001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19110676026884096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661490688,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788954108000,"timestamp_ms":1788954108000,"timestamp_seconds":1788954108,"priority":1,"record_length":96,"hex_timestamp":"000001a085f96060"} 
[2026-09-09 17:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:13: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-09-09 17: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-09-09 17:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972246272001,"66":12461,"102":206,"83":41984,"24":0,"16":19110676026884096,"45":1830291066661490688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972246272001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:13:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19110676026884096,"km_value":19110676026884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661490688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972246272001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661490688}} 
[2026-09-09 17:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":177065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:13:37] local.INFO: GPS data processed {"connection_id":177065,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:13:37] local.INFO: Acknowledgment sent {"connection_id":177065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:13:38] local.INFO: TCP Data received {"connection_id":178461,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:13:38] local.INFO: Processing buffer {"connection_id":178461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:13:38] local.INFO: IMEI packet received {"connection_id":178461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":178461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:13:39] local.INFO: TCP Data received {"connection_id":177066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:13:39] local.INFO: Processing buffer {"connection_id":177066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:13:39] local.INFO: IMEI packet received {"connection_id":177066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":177066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:13:43] local.INFO: TCP Data received {"connection_id":178461,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:13:43] local.INFO: Processing buffer {"connection_id":178461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:13:43] local.INFO: IMEI packet received {"connection_id":178461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":178461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:13:44] local.INFO: TCP Data received {"connection_id":178461,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:13:44] local.INFO: Processing buffer {"connection_id":178461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f60118012d34cc4006aa49080000013422..."} 
[2026-09-09 17:13:44] local.INFO: Packet analysis {"connection_id":178461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:13:44] local.INFO: Extracted packet for processing {"connection_id":178461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f6"} 
[2026-09-09 17:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972118016001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788953887000,"timestamp_ms":1788953887000,"timestamp_seconds":1788953887,"priority":1,"record_length":96,"hex_timestamp":"000001a085f60118"} 
[2026-09-09 17:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:13: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-09-09 17:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972118016001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972118016001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":178461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:13:44] local.INFO: GPS data processed {"connection_id":178461,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:13:44] local.INFO: Acknowledgment sent {"connection_id":178461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:13:44] local.INFO: TCP Data received {"connection_id":177066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:13:44] local.INFO: Processing buffer {"connection_id":177066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:13:44] local.INFO: IMEI packet received {"connection_id":177066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":177066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:13:45] local.INFO: TCP Data received {"connection_id":177066,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085f973e8012d7a3c8005e45ea00016004f26..."} 
[2026-09-09 17:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f973e8012d7a3c8005e45ea00016004f26..."} 
[2026-09-09 17:13:45] local.INFO: Processing buffer {"connection_id":177066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f973e8012d7a3c8005e45ea00016004f26..."} 
[2026-09-09 17:13:45] local.INFO: Packet analysis {"connection_id":177066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f9"} 
[2026-09-09 17:13:45] local.INFO: Extracted packet for processing {"connection_id":177066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f9"} 
[2026-09-09 17:13:45] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98852512,"longitude_deg":76.29856,"latitude_deg":9.8852512,"altitude":22,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d7a3c80","hex_latitude":"05e45ea0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972247552001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370648483561472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734024445952,"note":"Value kept but may cause issues"} 
[2026-09-09 17:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788954113000,"timestamp_ms":1788954113000,"timestamp_seconds":1788954113,"priority":1,"record_length":96,"hex_timestamp":"000001a085f973e8"} 
[2026-09-09 17:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:13: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-09-09 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 17:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:13: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-09-09 17:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972247552001,"66":12917,"85":206,"87":12288,"24":0,"16":130370648483561472,"45":8808055734024445952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-09 17:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972247552001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:13:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-09 17:13:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 17:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370648483561472,"km_value":130370648483561.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734024445952,"description":"Unknown IO ID 45"} 
[2026-09-09 17:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972247552001,"power":12917,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8808055734024445952}} 
[2026-09-09 17:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":177066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:13:45] local.INFO: GPS data processed {"connection_id":177066,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:13:45] local.INFO: Acknowledgment sent {"connection_id":177066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:14:07] local.INFO: TCP Data received {"connection_id":177065,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fad378012d19a580071ff1c0003b005f2a..."} 
[2026-09-09 17:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fad378012d19a580071ff1c0003b005f2a..."} 
[2026-09-09 17:14:07] local.INFO: Processing buffer {"connection_id":177065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fad378012d19a580071ff1c0003b005f2a..."} 
[2026-09-09 17:14:07] local.INFO: Packet analysis {"connection_id":177065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:07] local.INFO: Extracted packet for processing {"connection_id":177065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119534016,"longitude_deg":75.6655488,"latitude_deg":11.9534016,"altitude":59,"angle":95,"satellites":42,"speed":13,"hex_longitude":"2d19a580","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972275456001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19111466300866560,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985280512,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788954203000,"timestamp_ms":1788954203000,"timestamp_seconds":1788954203,"priority":1,"record_length":96,"hex_timestamp":"000001a085fad378"} 
[2026-09-09 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-09-09 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-09 17:14: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-09-09 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-09-09 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-09-09 17:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972275456001,"66":13254,"101":206,"83":41984,"24":13,"16":19111466300866560,"45":1847531408985280512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972275456001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:14:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19111466300866560,"km_value":19111466300866.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985280512,"description":"Unknown IO ID 45"} 
[2026-09-09 17:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972275456001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1847531408985280512}} 
[2026-09-09 17:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":177065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:14:08] local.INFO: GPS data processed {"connection_id":177065,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:14:08] local.INFO: Acknowledgment sent {"connection_id":177065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:14:16] local.INFO: TCP Data received {"connection_id":178461,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:14:16] local.INFO: Processing buffer {"connection_id":178461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:14:16] local.INFO: Packet analysis {"connection_id":178461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:16] local.INFO: Extracted packet for processing {"connection_id":178461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:14:16] 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-09-09 17: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-09-09 17:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:14:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":178461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:14:16] local.INFO: GPS data processed {"connection_id":178461,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:14:16] local.INFO: Acknowledgment sent {"connection_id":178461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:14:19] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:14:19] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:14:19] local.INFO: IMEI packet received {"connection_id":175658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":175658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:14:24] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:14:24] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:14:24] local.INFO: IMEI packet received {"connection_id":175658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":175658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:14:26] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085f9d590012d7a3c8005e45ea00016004f29..."} 
[2026-09-09 17:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085f9d590012d7a3c8005e45ea00016004f29..."} 
[2026-09-09 17:14:26] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085f9d590012d7a3c8005e45ea00016004f29..."} 
[2026-09-09 17:14:26] local.INFO: Packet analysis {"connection_id":175658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085f9"} 
[2026-09-09 17:14:26] local.INFO: Extracted packet for processing {"connection_id":175658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085f9"} 
[2026-09-09 17:14:26] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98852512,"longitude_deg":76.29856,"latitude_deg":9.8852512,"altitude":22,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d7a3c80","hex_latitude":"05e45ea0","is_valid_coordinates":true} 
[2026-09-09 17:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972252928001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370648483561472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734024445952,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788954138000,"timestamp_ms":1788954138000,"timestamp_seconds":1788954138,"priority":1,"record_length":96,"hex_timestamp":"000001a085f9d590"} 
[2026-09-09 17:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:14: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-09-09 17:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-09 17:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972252928001,"66":13319,"85":206,"87":12288,"24":0,"16":130370648483561472,"45":8808055734024445952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-09 17:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972252928001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-09 17:14:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 17:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370648483561472,"km_value":130370648483561.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734024445952,"description":"Unknown IO ID 45"} 
[2026-09-09 17:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972252928001,"power":13319,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8808055734024445952}} 
[2026-09-09 17:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":175658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:14:26] local.INFO: GPS data processed {"connection_id":175658,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:14:26] local.INFO: Acknowledgment sent {"connection_id":175658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:14:27] local.INFO: TCP Data received {"connection_id":177067,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:14:27] local.INFO: Processing buffer {"connection_id":177067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:14:27] local.INFO: IMEI packet received {"connection_id":177067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":177067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:14:29] local.INFO: TCP Data received {"connection_id":177067,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:14:29] local.INFO: Processing buffer {"connection_id":177067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:14:29] local.INFO: IMEI packet received {"connection_id":177067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":177067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:14:32] local.INFO: TCP Data received {"connection_id":177067,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:14:32] local.INFO: Processing buffer {"connection_id":177067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:14:32] local.INFO: IMEI packet received {"connection_id":177067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":177067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:14:33] local.INFO: TCP Data received {"connection_id":177067,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fad760012d19a740071ff128003b006d29..."} 
[2026-09-09 17:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fad760012d19a740071ff128003b006d29..."} 
[2026-09-09 17:14:33] local.INFO: Processing buffer {"connection_id":177067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fad760012d19a740071ff128003b006d29..."} 
[2026-09-09 17:14:33] local.INFO: Packet analysis {"connection_id":177067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:33] local.INFO: Extracted packet for processing {"connection_id":177067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756655936,"raw_latitude":119533864,"longitude_deg":75.6655936,"latitude_deg":11.9533864,"altitude":59,"angle":109,"satellites":41,"speed":17,"hex_longitude":"2d19a740","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972275968001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19111492070670336,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990194520064,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788954204000,"timestamp_ms":1788954204000,"timestamp_seconds":1788954204,"priority":1,"record_length":96,"hex_timestamp":"000001a085fad760"} 
[2026-09-09 17:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 17:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972275968001,"66":13254,"101":206,"83":41984,"24":17,"16":19111492070670336,"45":1848023990194520064},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972275968001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:14:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19111492070670336,"km_value":19111492070670.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990194520064,"description":"Unknown IO ID 45"} 
[2026-09-09 17:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972275968001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1848023990194520064}} 
[2026-09-09 17:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":177067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:14:33] local.INFO: GPS data processed {"connection_id":177067,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:14:33] local.INFO: Acknowledgment sent {"connection_id":177067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:14:43] local.INFO: TCP Data received {"connection_id":175877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:14:43] local.INFO: Processing buffer {"connection_id":175877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:14:43] local.INFO: IMEI packet received {"connection_id":175877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":175877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:14:48] local.INFO: TCP Data received {"connection_id":175877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:14:48] local.INFO: Processing buffer {"connection_id":175877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:14:48] local.INFO: IMEI packet received {"connection_id":175877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":175877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:14:49] local.INFO: TCP Data received {"connection_id":175877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:14:49] local.INFO: Processing buffer {"connection_id":175877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:14:49] local.INFO: Packet analysis {"connection_id":175877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:49] local.INFO: Extracted packet for processing {"connection_id":175877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:14:49] 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-09-09 17:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":175877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:14:49] local.INFO: GPS data processed {"connection_id":175877,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:14:49] local.INFO: Acknowledgment sent {"connection_id":175877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:14:54] local.INFO: TCP Data received {"connection_id":175877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:14:54] local.INFO: Processing buffer {"connection_id":175877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:14:54] local.INFO: Packet analysis {"connection_id":175877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:54] local.INFO: Extracted packet for processing {"connection_id":175877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:14:54] 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-09-09 17:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:14:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":175877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:14:54] local.INFO: GPS data processed {"connection_id":175877,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:14:54] local.INFO: Acknowledgment sent {"connection_id":175877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:14:57] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa17f8012d7a3c8005e45ea00016004f25..."} 
[2026-09-09 17:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa17f8012d7a3c8005e45ea00016004f25..."} 
[2026-09-09 17:14:57] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa17f8012d7a3c8005e45ea00016004f25..."} 
[2026-09-09 17:14:57] local.INFO: Packet analysis {"connection_id":175658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:57] local.INFO: Extracted packet for processing {"connection_id":175658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:14:57] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98852512,"longitude_deg":76.29856,"latitude_deg":9.8852512,"altitude":22,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d7a3c80","hex_latitude":"05e45ea0","is_valid_coordinates":true} 
[2026-09-09 17:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972259328001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370648483561472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734024445952,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788954155000,"timestamp_ms":1788954155000,"timestamp_seconds":1788954155,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa17f8"} 
[2026-09-09 17:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2247651864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4169250817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":228,"raw_value":6658572139269203712,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1733624014,"corrected_to":0} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728679,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831232512,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":105,"raw_value":57815985009088304,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.WARNING: Large IO value detected {"io_id":248,"raw_value":7939847437889126405,"note":"Value kept but may cause issues"} 
[2026-09-09 17:14:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,85,87,24,241,157,16,43,160,115,45,128,94,22,38,10,66,33,40,250,1,240,220,227,133,228,4,113,205,15,118,48,39,239,52,2,207,5,21,13,105,248],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1733624014,"validated":0}]} 
[2026-09-09 17:14:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585354106346668032,"timestamp_seconds":1585354106346668.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972259328001,"66":13276,"85":206,"87":12288,"24":0,"16":130370648483561472,"45":8808055734024445952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-09 17:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972259328001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-09 17:14:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 17:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370648483561472,"km_value":130370648483561.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734024445952,"description":"Unknown IO ID 45"} 
[2026-09-09 17:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972259328001,"power":13276,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8808055734024445952}} 
[2026-09-09 17:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":175658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:14:57] local.INFO: GPS data processed {"connection_id":175658,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:14:57] local.INFO: Acknowledgment sent {"connection_id":175658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:15:03] local.INFO: TCP Data received {"connection_id":175659,"ip":"85.217.149.14","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-09 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175659,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-09 17:15:03] local.INFO: Processing buffer {"connection_id":175659,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-09 17:15:04] local.INFO: TCP Data received {"connection_id":177067,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fb7b70012d19ca0007201d780028014b26..."} 
[2026-09-09 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fb7b70012d19ca0007201d780028014b26..."} 
[2026-09-09 17:15:04] local.INFO: Processing buffer {"connection_id":177067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fb7b70012d19ca0007201d780028014b26..."} 
[2026-09-09 17:15:04] local.INFO: Packet analysis {"connection_id":177067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fb"} 
[2026-09-09 17:15:04] local.INFO: Extracted packet for processing {"connection_id":177067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fb"} 
[2026-09-09 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119545208,"longitude_deg":75.6664832,"latitude_deg":11.9545208,"altitude":40,"angle":331,"satellites":38,"speed":36,"hex_longitude":"2d19ca00","hex_latitude":"07201d78","is_valid_coordinates":true} 
[2026-09-09 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972286464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19112668891709440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265424384,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15: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-09-09 17:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788954246000,"timestamp_ms":1788954246000,"timestamp_seconds":1788954246,"priority":1,"record_length":96,"hex_timestamp":"000001a085fb7b70"} 
[2026-09-09 17:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-09 17:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972286464001,"66":13993,"103":206,"83":41984,"24":36,"16":19112668891709440,"45":1859282989265424384},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972286464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:15:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19112668891709440,"km_value":19112668891709.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265424384,"description":"Unknown IO ID 45"} 
[2026-09-09 17:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972286464001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1859282989265424384}} 
[2026-09-09 17:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":177067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:15:04] local.INFO: GPS data processed {"connection_id":177067,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:15:04] local.INFO: Acknowledgment sent {"connection_id":177067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:15:24] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:15:24] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:15:24] local.INFO: IMEI packet received {"connection_id":175878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":175878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:15:26] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:26] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:26] local.INFO: IMEI packet received {"connection_id":175660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":175660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:15:29] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:15:29] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:15:29] local.INFO: IMEI packet received {"connection_id":175878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":175878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:15:30] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:30] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:30] local.INFO: IMEI packet received {"connection_id":175660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":175660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:15:30] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa6a00012d7a3c8005e45ea00016004f29..."} 
[2026-09-09 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa6a00012d7a3c8005e45ea00016004f29..."} 
[2026-09-09 17:15:30] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa6a00012d7a3c8005e45ea00016004f29..."} 
[2026-09-09 17:15:30] local.INFO: Packet analysis {"connection_id":175878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:15:30] local.INFO: Extracted packet for processing {"connection_id":175878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:15:30] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98852512,"longitude_deg":76.29856,"latitude_deg":9.8852512,"altitude":22,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d7a3c80","hex_latitude":"05e45ea0","is_valid_coordinates":true} 
[2026-09-09 17:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972263680001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370648483561472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734024445952,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:30] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-09 17:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788954176000,"timestamp_ms":1788954176000,"timestamp_seconds":1788954176,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa6a00"} 
[2026-09-09 17:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-09 17:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972263680001,"66":13396,"24":0,"16":130370648483561472,"45":8808055734024445952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-09 17:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972263680001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370648483561472,"km_value":130370648483561.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734024445952,"description":"Unknown IO ID 45"} 
[2026-09-09 17:15:30] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457972263680001,"power":13396,"ignition":0,"odometer":null,"unknown_45":8808055734024445952}} 
[2026-09-09 17:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":175878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:15:30] local.INFO: GPS data processed {"connection_id":175878,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:15:30] local.INFO: Acknowledgment sent {"connection_id":175878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:15:30] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:30] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:30] local.INFO: IMEI packet received {"connection_id":175660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":175660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:15:35] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:35] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:15:35] local.INFO: IMEI packet received {"connection_id":175660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":175660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:15:36] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fc1b98012d19b8c00720aa68002c015028..."} 
[2026-09-09 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fc1b98012d19b8c00720aa68002c015028..."} 
[2026-09-09 17:15:36] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fc1b98012d19b8c00720aa68002c015028..."} 
[2026-09-09 17:15:36] local.INFO: Packet analysis {"connection_id":175660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fc"} 
[2026-09-09 17:15:36] local.INFO: Extracted packet for processing {"connection_id":175660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fc"} 
[2026-09-09 17:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119581288,"longitude_deg":75.6660416,"latitude_deg":11.9581288,"altitude":44,"angle":336,"satellites":40,"speed":20,"hex_longitude":"2d19b8c0","hex_latitude":"0720aa68","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972297216001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19114532907515904,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740707840,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15: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-09-09 17:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788954287000,"timestamp_ms":1788954287000,"timestamp_seconds":1788954287,"priority":1,"record_length":96,"hex_timestamp":"000001a085fc1b98"} 
[2026-09-09 17:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6988102601,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8445723146201088,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2247870864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503891278430208,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4227106817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2422210597,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221692556,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3895394304,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84752246055051369,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,232,160,19,45,128,166,43,39,10,66,4,64,156,41,40,252,1,240,22,227,133,32,113,205,36,171,239,55,2,67,7,30,206,144],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-09 17:15:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098867042058829824,"timestamp_seconds":3098867042058830.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972297216001,"66":13254,"103":206,"83":41984,"24":20,"16":19114532907515904,"45":1853653489740707840},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972297216001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:15:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19114532907515904,"km_value":19114532907515.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740707840,"description":"Unknown IO ID 45"} 
[2026-09-09 17:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972297216001,"power":13254,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853653489740707840}} 
[2026-09-09 17:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":175660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:15:36] local.INFO: GPS data processed {"connection_id":175660,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:15:36] local.INFO: Acknowledgment sent {"connection_id":175660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:15:43] local.INFO: TCP Data received {"connection_id":178463,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:15:43] local.INFO: Processing buffer {"connection_id":178463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:15:43] local.INFO: IMEI packet received {"connection_id":178463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":178463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:15:48] local.INFO: TCP Data received {"connection_id":178463,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:15:48] local.INFO: Processing buffer {"connection_id":178463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:15:48] local.INFO: IMEI packet received {"connection_id":178463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":178463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:15:49] local.INFO: TCP Data received {"connection_id":178463,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:15:49] local.INFO: Processing buffer {"connection_id":178463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:15:49] local.INFO: Packet analysis {"connection_id":178463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:15:49] local.INFO: Extracted packet for processing {"connection_id":178463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:15:49] 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-09-09 17:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":178463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:15:49] local.INFO: GPS data processed {"connection_id":178463,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:15:49] local.INFO: Acknowledgment sent {"connection_id":178463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:16:01] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fb2198012d7a3c8005e45ea00016004f25..."} 
[2026-09-09 17:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fb2198012d7a3c8005e45ea00016004f25..."} 
[2026-09-09 17:16:01] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fb2198012d7a3c8005e45ea00016004f25..."} 
[2026-09-09 17:16:01] local.INFO: Packet analysis {"connection_id":175878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fb"} 
[2026-09-09 17:16:01] local.INFO: Extracted packet for processing {"connection_id":175878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fb"} 
[2026-09-09 17:16:01] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98852512,"longitude_deg":76.29856,"latitude_deg":9.8852512,"altitude":22,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d7a3c80","hex_latitude":"05e45ea0","is_valid_coordinates":true} 
[2026-09-09 17:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972269056001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370648483561472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734024445952,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:01] 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-09-09 17:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788954223000,"timestamp_ms":1788954223000,"timestamp_seconds":1788954223,"priority":1,"record_length":96,"hex_timestamp":"000001a085fb2198"} 
[2026-09-09 17:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-09 17:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:16: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-09-09 17:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972269056001,"66":13319,"102":206,"87":12288,"24":0,"16":130370648483561472,"45":8808055734024445952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-09 17:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972269056001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:16:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:16:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 17:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370648483561472,"km_value":130370648483561.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734024445952,"description":"Unknown IO ID 45"} 
[2026-09-09 17:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972269056001,"power":13319,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8808055734024445952}} 
[2026-09-09 17:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":175878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:16:01] local.INFO: GPS data processed {"connection_id":175878,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:16:01] local.INFO: Acknowledgment sent {"connection_id":175878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:16:07] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fc1f80012d19b6c00720abd0002c013b28..."} 
[2026-09-09 17:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fc1f80012d19b6c00720abd0002c013b28..."} 
[2026-09-09 17:16:07] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fc1f80012d19b6c00720abd0002c013b28..."} 
[2026-09-09 17:16:07] local.INFO: Packet analysis {"connection_id":175660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fc"} 
[2026-09-09 17:16:07] local.INFO: Extracted packet for processing {"connection_id":175660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fc"} 
[2026-09-09 17:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119581648,"longitude_deg":75.6659904,"latitude_deg":11.9581648,"altitude":44,"angle":315,"satellites":40,"speed":21,"hex_longitude":"2d19b6c0","hex_latitude":"0720abd0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972297472001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19114562972286976,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508301824,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788954288000,"timestamp_ms":1788954288000,"timestamp_seconds":1788954288,"priority":1,"record_length":96,"hex_timestamp":"000001a085fc1f80"} 
[2026-09-09 17:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 17:16: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-09-09 17: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-09-09 17:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972297472001,"66":13254,"103":206,"83":41984,"24":21,"16":19114562972286976,"45":1853442383508301824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972297472001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:16:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19114562972286976,"km_value":19114562972286.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508301824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972297472001,"power":13254,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1853442383508301824}} 
[2026-09-09 17:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":175660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:16:07] local.INFO: GPS data processed {"connection_id":175660,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:16:07] local.INFO: Acknowledgment sent {"connection_id":175660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:16:19] local.INFO: TCP Data received {"connection_id":178464,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:16:19] local.INFO: Processing buffer {"connection_id":178464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:16:19] local.INFO: IMEI packet received {"connection_id":178464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":178464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:16:21] local.INFO: TCP Data received {"connection_id":178463,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:16:21] local.INFO: Processing buffer {"connection_id":178463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:16:21] local.INFO: Packet analysis {"connection_id":178463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:16:21] local.INFO: Extracted packet for processing {"connection_id":178463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:16:21] 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-09-09 17:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:16:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":178463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:16:21] local.INFO: GPS data processed {"connection_id":178463,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:16:21] local.INFO: Acknowledgment sent {"connection_id":178463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:16:24] local.INFO: TCP Data received {"connection_id":178464,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:16:24] local.INFO: Processing buffer {"connection_id":178464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:16:24] local.INFO: IMEI packet received {"connection_id":178464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":178464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:16:26] local.INFO: TCP Data received {"connection_id":178464,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fb73a0012d7a3c8005e45ea00016004f27..."} 
[2026-09-09 17:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fb73a0012d7a3c8005e45ea00016004f27..."} 
[2026-09-09 17:16:26] local.INFO: Processing buffer {"connection_id":178464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fb73a0012d7a3c8005e45ea00016004f27..."} 
[2026-09-09 17:16:26] local.INFO: Packet analysis {"connection_id":178464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fb"} 
[2026-09-09 17:16:26] local.INFO: Extracted packet for processing {"connection_id":178464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fb"} 
[2026-09-09 17:16:26] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98852512,"longitude_deg":76.29856,"latitude_deg":9.8852512,"altitude":22,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d7a3c80","hex_latitude":"05e45ea0","is_valid_coordinates":true} 
[2026-09-09 17:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972281088001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370648483561472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734024445952,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] 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-09-09 17:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788954244000,"timestamp_ms":1788954244000,"timestamp_seconds":1788954244,"priority":1,"record_length":96,"hex_timestamp":"000001a085fb73a0"} 
[2026-09-09 17:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2247686864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4185122817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":228,"raw_value":6739636936853825024,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1733624014,"corrected_to":0} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2147869790,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407143,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831416832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57815985009088304,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.WARNING: Large IO value detected {"io_id":248,"raw_value":-9099521752266637307,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:26] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,87,24,241,157,16,43,160,106,45,128,94,22,41,10,66,23,37,85,213,1,240,7,227,133,228,4,113,205,33,60,40,239,52,2,207,5,220,248],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1733624014,"validated":0}]} 
[2026-09-09 17:16:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585354089166798848,"timestamp_seconds":1585354089166798.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972281088001,"66":13396,"102":206,"87":12288,"24":0,"16":130370648483561472,"45":8808055734024445952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-09 17:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972281088001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:16:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:16:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 17:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370648483561472,"km_value":130370648483561.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734024445952,"description":"Unknown IO ID 45"} 
[2026-09-09 17:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972281088001,"power":13396,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8808055734024445952}} 
[2026-09-09 17:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":178464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:16:26] local.INFO: GPS data processed {"connection_id":178464,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:16:26] local.INFO: Acknowledgment sent {"connection_id":178464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:16:28] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:16:28] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:16:28] local.INFO: IMEI packet received {"connection_id":175880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":175880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:16:29] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:16:29] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:16:29] local.INFO: IMEI packet received {"connection_id":175880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":175880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:16:35] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:16:35] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:16:35] local.INFO: IMEI packet received {"connection_id":175880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":175880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:16:35] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fc2368012d19b4400720acb8002d012927..."} 
[2026-09-09 17:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fc2368012d19b4400720acb8002d012927..."} 
[2026-09-09 17:16:35] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fc2368012d19b4400720acb8002d012927..."} 
[2026-09-09 17:16:35] local.INFO: Packet analysis {"connection_id":175880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fc"} 
[2026-09-09 17:16:35] local.INFO: Extracted packet for processing {"connection_id":175880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fc"} 
[2026-09-09 17:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119581880,"longitude_deg":75.6659264,"latitude_deg":11.958188,"altitude":45,"angle":297,"satellites":39,"speed":25,"hex_longitude":"2d19b440","hex_latitude":"0720acb8","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972297728001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19114597332025344,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433554972672,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788954289000,"timestamp_ms":1788954289000,"timestamp_seconds":1788954289,"priority":1,"record_length":96,"hex_timestamp":"000001a085fc2368"} 
[2026-09-09 17:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 17:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972297728001,"66":14233,"103":206,"83":41984,"24":25,"16":19114597332025344,"45":1852879433554972672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972297728001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:16:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19114597332025344,"km_value":19114597332025.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433554972672,"description":"Unknown IO ID 45"} 
[2026-09-09 17:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972297728001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1852879433554972672}} 
[2026-09-09 17:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":175880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:16:35] local.INFO: GPS data processed {"connection_id":175880,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:16:35] local.INFO: Acknowledgment sent {"connection_id":175880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:16:38] local.INFO: TCP Data received {"connection_id":175661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:16:38] local.INFO: Processing buffer {"connection_id":175661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:16:38] local.INFO: IMEI packet received {"connection_id":175661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":175661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:16:44] local.INFO: TCP Data received {"connection_id":175661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:16:44] local.INFO: Processing buffer {"connection_id":175661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:16:44] local.INFO: IMEI packet received {"connection_id":175661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":175661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:16:46] local.INFO: TCP Data received {"connection_id":175661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:16:46] local.INFO: Processing buffer {"connection_id":175661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:16:46] local.INFO: Packet analysis {"connection_id":175661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:16:46] local.INFO: Extracted packet for processing {"connection_id":175661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:16:46] 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-09-09 17:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":175661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:16:46] local.INFO: GPS data processed {"connection_id":175661,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:16:46] local.INFO: Acknowledgment sent {"connection_id":175661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:16:57] local.INFO: TCP Data received {"connection_id":178464,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fbc5a8012d7a3c8005e45ea00016004f29..."} 
[2026-09-09 17:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fbc5a8012d7a3c8005e45ea00016004f29..."} 
[2026-09-09 17:16:57] local.INFO: Processing buffer {"connection_id":178464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fbc5a8012d7a3c8005e45ea00016004f29..."} 
[2026-09-09 17:16:57] local.INFO: Packet analysis {"connection_id":178464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fb"} 
[2026-09-09 17:16:57] local.INFO: Extracted packet for processing {"connection_id":178464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fb"} 
[2026-09-09 17:16:57] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98852512,"longitude_deg":76.29856,"latitude_deg":9.8852512,"altitude":22,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d7a3c80","hex_latitude":"05e45ea0","is_valid_coordinates":true} 
[2026-09-09 17:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972286464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130370648483561472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734024445952,"note":"Value kept but may cause issues"} 
[2026-09-09 17:16:57] 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-09-09 17:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788954265000,"timestamp_ms":1788954265000,"timestamp_seconds":1788954265,"priority":1,"record_length":96,"hex_timestamp":"000001a085fbc5a8"} 
[2026-09-09 17:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-09 17:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972286464001,"66":13450,"102":206,"87":12288,"24":0,"16":130370648483561472,"45":8808055734024445952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-09 17:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972286464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:16:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:16:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 17:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130370648483561472,"km_value":130370648483561.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734024445952,"description":"Unknown IO ID 45"} 
[2026-09-09 17:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972286464001,"power":13450,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8808055734024445952}} 
[2026-09-09 17:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":178464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:16:57] local.INFO: GPS data processed {"connection_id":178464,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:16:57] local.INFO: Acknowledgment sent {"connection_id":178464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:17:07] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fd67a0012d18d68007210020003d014927..."} 
[2026-09-09 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fd67a0012d18d68007210020003d014927..."} 
[2026-09-09 17:17:07] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fd67a0012d18d68007210020003d014927..."} 
[2026-09-09 17:17:07] local.INFO: Packet analysis {"connection_id":175880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fd"} 
[2026-09-09 17:17:07] local.INFO: Extracted packet for processing {"connection_id":175880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fd"} 
[2026-09-09 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756602496,"raw_latitude":119603232,"longitude_deg":75.6602496,"latitude_deg":11.9603232,"altitude":61,"angle":329,"satellites":39,"speed":35,"hex_longitude":"2d18d680","hex_latitude":"07210020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972318208001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19117702593380352,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792221576078698496,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788954372000,"timestamp_ms":1788954372000,"timestamp_seconds":1788954372,"priority":1,"record_length":96,"hex_timestamp":"000001a085fd67a0"} 
[2026-09-09 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-09-09 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 17:17: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-09-09 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-09-09 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-09-09 17:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972318208001,"66":13993,"103":206,"83":41984,"24":35,"16":19117702593380352,"45":1792221576078698496},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972318208001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:17:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19117702593380352,"km_value":19117702593380.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792221576078698496,"description":"Unknown IO ID 45"} 
[2026-09-09 17:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972318208001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1792221576078698496}} 
[2026-09-09 17:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":175880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:17:07] local.INFO: GPS data processed {"connection_id":175880,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:17:07] local.INFO: Acknowledgment sent {"connection_id":175880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:17:11] local.INFO: TCP Data received {"connection_id":175662,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:17:11] local.INFO: Processing buffer {"connection_id":175662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:17:11] local.INFO: IMEI packet received {"connection_id":175662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":175662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:17:17] local.INFO: TCP Data received {"connection_id":175661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:17:17] local.INFO: Processing buffer {"connection_id":175661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:17:17] local.INFO: Packet analysis {"connection_id":175661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:17:17] local.INFO: Extracted packet for processing {"connection_id":175661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:17:17] 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-09-09 17:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":175661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:17:17] local.INFO: GPS data processed {"connection_id":175661,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:17:17] local.INFO: Acknowledgment sent {"connection_id":175661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:17:26] local.INFO: TCP Data received {"connection_id":175663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:17:26] local.INFO: Processing buffer {"connection_id":175663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:17:26] local.INFO: IMEI packet received {"connection_id":175663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":175663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:17:27] local.INFO: TCP Data received {"connection_id":175663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:17:27] local.INFO: Processing buffer {"connection_id":175663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:17:27] local.INFO: IMEI packet received {"connection_id":175663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":175663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:17:28] local.INFO: TCP Data received {"connection_id":175663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fe1b50012d7a5f0005e46940000d004929..."} 
[2026-09-09 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fe1b50012d7a5f0005e46940000d004929..."} 
[2026-09-09 17:17:28] local.INFO: Processing buffer {"connection_id":175663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fe1b50012d7a5f0005e46940000d004929..."} 
[2026-09-09 17:17:28] local.INFO: Packet analysis {"connection_id":175663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:17:28] local.INFO: Extracted packet for processing {"connection_id":175663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:17:28] local.INFO: GPS Element Parsed {"raw_longitude":762994432,"raw_latitude":98855232,"longitude_deg":76.2994432,"latitude_deg":9.8855232,"altitude":13,"angle":73,"satellites":41,"speed":12,"hex_longitude":"2d7a5f00","hex_latitude":"05e46940","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972329472001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130371120929964032,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815162977186803712,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:28] 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-09-09 17:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788954418000,"timestamp_ms":1788954418000,"timestamp_seconds":1788954418,"priority":1,"record_length":96,"hex_timestamp":"000001a085fe1b50"} 
[2026-09-09 17:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:17: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-09-09 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 17:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972329472001,"66":13559,"102":206,"87":12288,"24":12,"16":130371120929964032,"45":8815162977186803712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-09 17:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972329472001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:17:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:17:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 17:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130371120929964032,"km_value":130371120929964.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815162977186803712,"description":"Unknown IO ID 45"} 
[2026-09-09 17:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972329472001,"power":13559,"unknown_102":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8815162977186803712}} 
[2026-09-09 17:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":175663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:17:28] local.INFO: GPS data processed {"connection_id":175663,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:17:28] local.INFO: Acknowledgment sent {"connection_id":175663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:17:29] local.INFO: TCP Data received {"connection_id":175663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a085fe2708012d7a61c005e46a70000c003728..."} 
[2026-09-09 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fe2708012d7a61c005e46a70000c003728..."} 
[2026-09-09 17:17:29] local.INFO: Processing buffer {"connection_id":175663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fe2708012d7a61c005e46a70000c003728..."} 
[2026-09-09 17:17:29] local.INFO: Packet analysis {"connection_id":175663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:17:29] local.INFO: Extracted packet for processing {"connection_id":175663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:17:29] local.INFO: GPS Element Parsed {"raw_longitude":762995136,"raw_latitude":98855536,"longitude_deg":76.2995136,"latitude_deg":9.8855536,"altitude":12,"angle":55,"satellites":40,"speed":7,"hex_longitude":"2d7a61c0","hex_latitude":"05e46a70","is_valid_coordinates":true} 
[2026-09-09 17:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972331008001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130371155289702400,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817766620721659904,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:29] 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-09-09 17:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788954421000,"timestamp_ms":1788954421000,"timestamp_seconds":1788954421,"priority":1,"record_length":96,"hex_timestamp":"000001a085fe2708"} 
[2026-09-09 17:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 17:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972331008001,"66":13580,"102":206,"87":12288,"24":7,"16":130371155289702400,"45":8817766620721659904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-09 17:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972331008001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:17:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:17:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-09 17:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130371155289702400,"km_value":130371155289702.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817766620721659904,"description":"Unknown IO ID 45"} 
[2026-09-09 17:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972331008001,"power":13580,"unknown_102":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8817766620721659904}} 
[2026-09-09 17:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":175663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:17:29] local.INFO: GPS data processed {"connection_id":175663,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:17:29] local.INFO: Acknowledgment sent {"connection_id":175663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:17:29] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:17:29] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:17:29] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:17:35] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:17:35] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:17:35] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:17:35] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fd6f70012d18d400072106c0003d015729..."} 
[2026-09-09 17:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fd6f70012d18d400072106c0003d015729..."} 
[2026-09-09 17:17:35] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fd6f70012d18d400072106c0003d015729..."} 
[2026-09-09 17:17:35] local.INFO: Packet analysis {"connection_id":175881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fd"} 
[2026-09-09 17:17:35] local.INFO: Extracted packet for processing {"connection_id":175881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fd"} 
[2026-09-09 17:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119604928,"longitude_deg":75.6601856,"latitude_deg":11.9604928,"altitude":61,"angle":343,"satellites":41,"speed":36,"hex_longitude":"2d18d400","hex_latitude":"072106c0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972319232001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19117788492726272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789758670033133568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788954374000,"timestamp_ms":1788954374000,"timestamp_seconds":1788954374,"priority":1,"record_length":96,"hex_timestamp":"000001a085fd6f70"} 
[2026-09-09 17:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 17:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972319232001,"66":13917,"103":206,"83":41984,"24":36,"16":19117788492726272,"45":1789758670033133568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972319232001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:17:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19117788492726272,"km_value":19117788492726.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789758670033133568,"description":"Unknown IO ID 45"} 
[2026-09-09 17:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972319232001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1789758670033133568}} 
[2026-09-09 17:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":175881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:17:35] local.INFO: GPS data processed {"connection_id":175881,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:17:35] local.INFO: Acknowledgment sent {"connection_id":175881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:17:38] local.INFO: TCP Data received {"connection_id":177068,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:17:38] local.INFO: Processing buffer {"connection_id":177068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:17:38] local.INFO: IMEI packet received {"connection_id":177068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":177068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:17:41] local.INFO: TCP Data received {"connection_id":175882,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:17:41] local.INFO: Processing buffer {"connection_id":175882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:17:41] local.INFO: IMEI packet received {"connection_id":175882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":175882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:17:43] local.INFO: TCP Data received {"connection_id":177068,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:17:43] local.INFO: Processing buffer {"connection_id":177068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:17:43] local.INFO: IMEI packet received {"connection_id":177068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":177068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:17:44] local.INFO: TCP Data received {"connection_id":177068,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:17:44] local.INFO: Processing buffer {"connection_id":177068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:17:44] local.INFO: Packet analysis {"connection_id":177068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:17:44] local.INFO: Extracted packet for processing {"connection_id":177068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:17:44] 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-09-09 17:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":177068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:17:44] local.INFO: GPS data processed {"connection_id":177068,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:17:44] local.INFO: Acknowledgment sent {"connection_id":177068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:18:06] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fd82f8012d18d100072116c8003f016529..."} 
[2026-09-09 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fd82f8012d18d100072116c8003f016529..."} 
[2026-09-09 17:18:06] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fd82f8012d18d100072116c8003f016529..."} 
[2026-09-09 17:18:06] local.INFO: Packet analysis {"connection_id":175881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fd"} 
[2026-09-09 17:18:06] local.INFO: Extracted packet for processing {"connection_id":175881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fd"} 
[2026-09-09 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119609032,"longitude_deg":75.6601088,"latitude_deg":11.9609032,"altitude":63,"angle":357,"satellites":41,"speed":28,"hex_longitude":"2d18d100","hex_latitude":"072116c8","is_valid_coordinates":true} 
[2026-09-09 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972319744001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19117990356189184,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982591791104,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18: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-09-09 17:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788954379000,"timestamp_ms":1788954379000,"timestamp_seconds":1788954379,"priority":1,"record_length":96,"hex_timestamp":"000001a085fd82f8"} 
[2026-09-09 17:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 17:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972319744001,"66":14428,"103":206,"83":41984,"24":28,"16":19117990356189184,"45":1789054982591791104},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972319744001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:18:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19117990356189184,"km_value":19117990356189.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982591791104,"description":"Unknown IO ID 45"} 
[2026-09-09 17:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972319744001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1789054982591791104}} 
[2026-09-09 17:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":175881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:18:06] local.INFO: GPS data processed {"connection_id":175881,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:18:06] local.INFO: Acknowledgment sent {"connection_id":175881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:18:15] local.INFO: TCP Data received {"connection_id":177068,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:18:15] local.INFO: Processing buffer {"connection_id":177068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:18:15] local.INFO: Packet analysis {"connection_id":177068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:18:15] local.INFO: Extracted packet for processing {"connection_id":177068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:18:15] 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-09-09 17:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":177068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:18:15] local.INFO: GPS data processed {"connection_id":177068,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:18:15] local.INFO: Acknowledgment sent {"connection_id":177068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:18:30] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:18:30] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:18:30] local.INFO: IMEI packet received {"connection_id":175883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":175883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:18:30] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:18:30] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:18:30] local.INFO: IMEI packet received {"connection_id":175883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":175883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:18:34] local.INFO: TCP Data received {"connection_id":178465,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:18:34] local.INFO: Processing buffer {"connection_id":178465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:18:34] local.INFO: IMEI packet received {"connection_id":178465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":178465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:18:34] local.INFO: TCP Data received {"connection_id":178465,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:18:34] local.INFO: Processing buffer {"connection_id":178465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:18:34] local.INFO: IMEI packet received {"connection_id":178465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":178465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:18:35] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:18:35] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:18:35] local.INFO: IMEI packet received {"connection_id":175883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":175883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:18:36] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085febf60012d188480072180a80047011b26..."} 
[2026-09-09 17:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085febf60012d188480072180a80047011b26..."} 
[2026-09-09 17:18:36] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085febf60012d188480072180a80047011b26..."} 
[2026-09-09 17:18:36] local.INFO: Packet analysis {"connection_id":175883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:18:36] local.INFO: Extracted packet for processing {"connection_id":175883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756581504,"raw_latitude":119636136,"longitude_deg":75.6581504,"latitude_deg":11.9636136,"altitude":71,"angle":283,"satellites":38,"speed":40,"hex_longitude":"2d188480","hex_latitude":"072180a8","is_valid_coordinates":true} 
[2026-09-09 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972341760001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19119764177682432,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766677721951283200,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788954460000,"timestamp_ms":1788954460000,"timestamp_seconds":1788954460,"priority":1,"record_length":96,"hex_timestamp":"000001a085febf60"} 
[2026-09-09 17:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 17:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972341760001,"66":13961,"106":206,"83":41984,"24":40,"16":19119764177682432,"45":1766677721951283200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 17:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972341760001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:18:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 17:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19119764177682432,"km_value":19119764177682.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766677721951283200,"description":"Unknown IO ID 45"} 
[2026-09-09 17:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972341760001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1766677721951283200}} 
[2026-09-09 17:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":175883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:18:36] local.INFO: GPS data processed {"connection_id":175883,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:18:36] local.INFO: Acknowledgment sent {"connection_id":175883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:18:38] local.INFO: TCP Data received {"connection_id":175664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:18:38] local.INFO: Processing buffer {"connection_id":175664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:18:38] local.INFO: IMEI packet received {"connection_id":175664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":175664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:18:39] local.INFO: TCP Data received {"connection_id":178465,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:18:39] local.INFO: Processing buffer {"connection_id":178465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:18:39] local.INFO: IMEI packet received {"connection_id":178465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":178465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:18:41] local.INFO: TCP Data received {"connection_id":178465,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a085fefde0012d7acdc005e40f900006009229..."} 
[2026-09-09 17:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fefde0012d7acdc005e40f900006009229..."} 
[2026-09-09 17:18:41] local.INFO: Processing buffer {"connection_id":178465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fefde0012d7acdc005e40f900006009229..."} 
[2026-09-09 17:18:41] local.INFO: Packet analysis {"connection_id":178465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:18:41] local.INFO: Extracted packet for processing {"connection_id":178465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":98832272,"longitude_deg":76.3022784,"latitude_deg":9.8832272,"altitude":6,"angle":146,"satellites":41,"speed":25,"hex_longitude":"2d7acdc0","hex_latitude":"05e40f90","is_valid_coordinates":true} 
[2026-09-09 17:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972343296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130372916226293760,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844366006016131072,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788954476000,"timestamp_ms":1788954476000,"timestamp_seconds":1788954476,"priority":1,"record_length":96,"hex_timestamp":"000001a085fefde0"} 
[2026-09-09 17:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 17:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":178465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":178465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":178465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972343296001,"66":13515,"31":206,"87":13824,"24":25,"16":130372916226293760,"45":8844366006016131072},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-09 17:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972343296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:18:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-09 17:18:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 17:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130372916226293760,"km_value":130372916226293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844366006016131072,"description":"Unknown IO ID 45"} 
[2026-09-09 17:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972343296001,"power":13515,"unknown_31":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8844366006016131072}} 
[2026-09-09 17:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":178465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:18:41] local.INFO: GPS data processed {"connection_id":178465,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:18:41] local.INFO: Acknowledgment sent {"connection_id":178465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:18:44] local.INFO: TCP Data received {"connection_id":175664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:18:44] local.INFO: Processing buffer {"connection_id":175664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:18:44] local.INFO: IMEI packet received {"connection_id":175664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":175664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:18:45] local.INFO: TCP Data received {"connection_id":175664,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:18:45] local.INFO: Processing buffer {"connection_id":175664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fa98e0012d34cc4006aa49080013013424..."} 
[2026-09-09 17:18:45] local.INFO: Packet analysis {"connection_id":175664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:18:45] local.INFO: Extracted packet for processing {"connection_id":175664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fa"} 
[2026-09-09 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972195072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788954188000,"timestamp_ms":1788954188000,"timestamp_seconds":1788954188,"priority":1,"record_length":96,"hex_timestamp":"000001a085fa98e0"} 
[2026-09-09 17:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:18:45] 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-09-09 17:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972195072001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972195072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972195072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":175664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:18:45] local.INFO: GPS data processed {"connection_id":175664,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:18:45] local.INFO: Acknowledgment sent {"connection_id":175664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:19:07] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fecb18012d187940072181d80047010c26..."} 
[2026-09-09 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fecb18012d187940072181d80047010c26..."} 
[2026-09-09 17:19:07] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fecb18012d187940072181d80047010c26..."} 
[2026-09-09 17:19:07] local.INFO: Packet analysis {"connection_id":175883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:19:07] local.INFO: Extracted packet for processing {"connection_id":175883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756578624,"raw_latitude":119636440,"longitude_deg":75.6578624,"latitude_deg":11.963644,"altitude":71,"angle":268,"satellites":38,"speed":35,"hex_longitude":"2d187940","hex_latitude":"072181d8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972341760001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19119905911603200,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766677721951283200,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19: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-09-09 17:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788954463000,"timestamp_ms":1788954463000,"timestamp_seconds":1788954463,"priority":1,"record_length":96,"hex_timestamp":"000001a085fecb18"} 
[2026-09-09 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-09-09 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 17:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 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-09-09 17:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972341760001,"66":13928,"106":206,"83":41984,"24":35,"16":19119905911603200,"45":1766677721951283200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 17:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972341760001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:19:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 17:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19119905911603200,"km_value":19119905911603.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766677721951283200,"description":"Unknown IO ID 45"} 
[2026-09-09 17:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972341760001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1766677721951283200}} 
[2026-09-09 17:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":175883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:19:07] local.INFO: GPS data processed {"connection_id":175883,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:19:07] local.INFO: Acknowledgment sent {"connection_id":175883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:19:16] local.INFO: TCP Data received {"connection_id":175664,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:19:16] local.INFO: Processing buffer {"connection_id":175664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:19:16] local.INFO: Packet analysis {"connection_id":175664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:19:16] local.INFO: Extracted packet for processing {"connection_id":175664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":32,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972272128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 17:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:19:16] 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-09-09 17:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972272128001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972272128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972272128001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":175664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:19:16] local.INFO: GPS data processed {"connection_id":175664,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:19:16] local.INFO: Acknowledgment sent {"connection_id":175664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:19:19] local.INFO: TCP Data received {"connection_id":177069,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:19:19] local.INFO: Processing buffer {"connection_id":177069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:19:19] local.INFO: IMEI packet received {"connection_id":177069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":177069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:19:26] local.INFO: TCP Data received {"connection_id":177069,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:19:26] local.INFO: Processing buffer {"connection_id":177069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:19:26] local.INFO: IMEI packet received {"connection_id":177069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":177069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:19:29] local.INFO: TCP Data received {"connection_id":177069,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff05b0012d7acfc005e40ab0000600a229..."} 
[2026-09-09 17:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff05b0012d7acfc005e40ab0000600a229..."} 
[2026-09-09 17:19:29] local.INFO: Processing buffer {"connection_id":177069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff05b0012d7acfc005e40ab0000600a229..."} 
[2026-09-09 17:19:29] local.INFO: Packet analysis {"connection_id":177069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:19:29] local.INFO: Extracted packet for processing {"connection_id":177069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763023296,"raw_latitude":98831024,"longitude_deg":76.3023296,"latitude_deg":9.8831024,"altitude":6,"angle":162,"satellites":41,"speed":29,"hex_longitude":"2d7acfc0","hex_latitude":"05e40ab0","is_valid_coordinates":true} 
[2026-09-09 17:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972345856001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130372980650803200,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386487296,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788954478000,"timestamp_ms":1788954478000,"timestamp_seconds":1788954478,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff05b0"} 
[2026-09-09 17:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 17:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972345856001,"66":13765,"31":206,"87":13824,"24":29,"16":130372980650803200,"45":8848939974386487296},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-09 17:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972345856001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:19:29] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-09 17:19:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 17:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130372980650803200,"km_value":130372980650803.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386487296,"description":"Unknown IO ID 45"} 
[2026-09-09 17:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972345856001,"power":13765,"unknown_31":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8848939974386487296}} 
[2026-09-09 17:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":177069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:19:29] local.INFO: GPS data processed {"connection_id":177069,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:19:29] local.INFO: Acknowledgment sent {"connection_id":177069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:19:30] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:19:30] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:19:30] local.INFO: IMEI packet received {"connection_id":175884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":175884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:19:35] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:19:35] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:19:35] local.INFO: IMEI packet received {"connection_id":175884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":175884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:19:38] local.INFO: TCP Data received {"connection_id":175885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:19:38] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:19:38] local.INFO: IMEI packet received {"connection_id":175885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":175885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:19:40] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:19:40] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:19:40] local.INFO: IMEI packet received {"connection_id":175884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":175884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:19:40] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085fee288012d1862c0072182780048011d24..."} 
[2026-09-09 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085fee288012d1862c0072182780048011d24..."} 
[2026-09-09 17:19:40] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085fee288012d1862c0072182780048011d24..."} 
[2026-09-09 17:19:40] local.INFO: Packet analysis {"connection_id":175884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:19:40] local.INFO: Extracted packet for processing {"connection_id":175884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756572864,"raw_latitude":119636600,"longitude_deg":75.6572864,"latitude_deg":11.96366,"altitude":72,"angle":285,"satellites":36,"speed":39,"hex_longitude":"2d1862c0","hex_latitude":"07218278","is_valid_coordinates":true} 
[2026-09-09 17:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972342528001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19120176494542848,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763511128463366144,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19: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-09-09 17:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788954469000,"timestamp_ms":1788954469000,"timestamp_seconds":1788954469,"priority":1,"record_length":96,"hex_timestamp":"000001a085fee288"} 
[2026-09-09 17:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-09 17:19: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-09-09 17: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-09-09 17:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972342528001,"66":13896,"105":206,"83":41984,"24":39,"16":19120176494542848,"45":1763511128463366144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972342528001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:19:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19120176494542848,"km_value":19120176494542.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763511128463366144,"description":"Unknown IO ID 45"} 
[2026-09-09 17:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972342528001,"power":13896,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1763511128463366144}} 
[2026-09-09 17:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":175884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:19:40] local.INFO: GPS data processed {"connection_id":175884,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:19:40] local.INFO: Acknowledgment sent {"connection_id":175884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:19:43] local.INFO: TCP Data received {"connection_id":175885,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:19:43] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:19:43] local.INFO: IMEI packet received {"connection_id":175885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":175885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:19:45] local.INFO: TCP Data received {"connection_id":175885,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:19:45] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:19:45] local.INFO: Packet analysis {"connection_id":175885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:19:45] local.INFO: Extracted packet for processing {"connection_id":175885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":32,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972272128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 17:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972272128001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972272128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972272128001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":175885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:19:45] local.INFO: GPS data processed {"connection_id":175885,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:19:45] local.INFO: Acknowledgment sent {"connection_id":175885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:19:45] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085feee40012d185800072186d8004b012a26..."} 
[2026-09-09 17:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085feee40012d185800072186d8004b012a26..."} 
[2026-09-09 17:19:45] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085feee40012d185800072186d8004b012a26..."} 
[2026-09-09 17:19:45] local.INFO: Packet analysis {"connection_id":175884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:19:45] local.INFO: Extracted packet for processing {"connection_id":175884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085fe"} 
[2026-09-09 17:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119637720,"longitude_deg":75.6570112,"latitude_deg":11.963772,"altitude":75,"angle":298,"satellites":38,"speed":36,"hex_longitude":"2d185800","hex_latitude":"072186d8","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972344064001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19120318228463616,"note":"Value kept but may cause issues"} 
[2026-09-09 17:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757177941487417344,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788954472000,"timestamp_ms":1788954472000,"timestamp_seconds":1788954472,"priority":1,"record_length":96,"hex_timestamp":"000001a085feee40"} 
[2026-09-09 17:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-09 17:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972344064001,"66":13830,"105":206,"83":41984,"24":36,"16":19120318228463616,"45":1757177941487417344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972344064001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:19:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19120318228463616,"km_value":19120318228463.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757177941487417344,"description":"Unknown IO ID 45"} 
[2026-09-09 17:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972344064001,"power":13830,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1757177941487417344}} 
[2026-09-09 17:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":175884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:19:45] local.INFO: GPS data processed {"connection_id":175884,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:19:45] local.INFO: Acknowledgment sent {"connection_id":175884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:20:01] local.INFO: TCP Data received {"connection_id":177069,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d7ad78005e3e790000700a727..."} 
[2026-09-09 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d7ad78005e3e790000700a727..."} 
[2026-09-09 17:20:01] local.INFO: Processing buffer {"connection_id":177069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d7ad78005e3e790000700a727..."} 
[2026-09-09 17:20:01] local.INFO: Packet analysis {"connection_id":177069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:01] local.INFO: Extracted packet for processing {"connection_id":177069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98822032,"longitude_deg":76.302528,"latitude_deg":9.8822032,"altitude":7,"angle":167,"satellites":39,"speed":33,"hex_longitude":"2d7ad780","hex_latitude":"05e3e790","is_valid_coordinates":true} 
[2026-09-09 17:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972346368001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130373427327401984,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849502924339589120,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 17:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 17:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972346368001,"66":13896,"31":206,"87":13824,"24":33,"16":130373427327401984,"45":8849502924339589120},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-09-09 17:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972346368001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:20:01] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-09 17:20:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-09 17:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130373427327401984,"km_value":130373427327401.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849502924339589120,"description":"Unknown IO ID 45"} 
[2026-09-09 17:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972346368001,"power":13896,"unknown_31":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8849502924339589120}} 
[2026-09-09 17:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":177069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:20:01] local.INFO: GPS data processed {"connection_id":177069,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:20:01] local.INFO: Acknowledgment sent {"connection_id":177069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:20:18] local.INFO: TCP Data received {"connection_id":175885,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:20:18] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:20:18] local.INFO: Packet analysis {"connection_id":175885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:18] local.INFO: Extracted packet for processing {"connection_id":175885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:18] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":32,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972272128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 17:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972272128001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972272128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:20:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:20:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972272128001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":175885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:20:18] local.INFO: GPS data processed {"connection_id":175885,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:20:18] local.INFO: Acknowledgment sent {"connection_id":175885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:20:19] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:20:19] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:20:19] local.INFO: IMEI packet received {"connection_id":175667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":175667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:20:23] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:20:23] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:20:23] local.INFO: IMEI packet received {"connection_id":175667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":175667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:20:24] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:20:24] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:20:24] local.INFO: IMEI packet received {"connection_id":175667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":175667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:20:25] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:20:25] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:20:25] local.INFO: IMEI packet received {"connection_id":175668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":175668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:20:26] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08600f9b0012d7b0bc005e33088001000c420..."} 
[2026-09-09 17:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08600f9b0012d7b0bc005e33088001000c420..."} 
[2026-09-09 17:20:26] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08600f9b0012d7b0bc005e33088001000c420..."} 
[2026-09-09 17:20:26] local.INFO: Packet analysis {"connection_id":175667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08600"} 
[2026-09-09 17:20:26] local.INFO: Extracted packet for processing {"connection_id":175667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08600"} 
[2026-09-09 17:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98775176,"longitude_deg":76.3038656,"latitude_deg":9.8775176,"altitude":16,"angle":196,"satellites":32,"speed":0,"hex_longitude":"2d7b0bc0","hex_latitude":"05e33088","is_valid_coordinates":true} 
[2026-09-09 17:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972378624001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130375819624185856,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791672125440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788954606000,"timestamp_ms":1788954606000,"timestamp_seconds":1788954606,"priority":1,"record_length":96,"hex_timestamp":"000001a08600f9b0"} 
[2026-09-09 17:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 17:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972378624001,"66":13678,"208":206,"85":15104,"24":0,"16":130375819624185856,"45":8866461791672125440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972378624001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:20:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130375819624185856,"km_value":130375819624185.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791672125440,"description":"Unknown IO ID 45"} 
[2026-09-09 17:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972378624001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866461791672125440}} 
[2026-09-09 17:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":175667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:20:26] local.INFO: GPS data processed {"connection_id":175667,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:20:26] local.INFO: Acknowledgment sent {"connection_id":175667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:20:30] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:20:30] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:20:30] local.INFO: IMEI packet received {"connection_id":175668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":175668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:20:30] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:20:30] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:20:30] local.INFO: IMEI packet received {"connection_id":175668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":175668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:20:31] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff2108012d1835c007219630004c012723..."} 
[2026-09-09 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff2108012d1835c007219630004c012723..."} 
[2026-09-09 17:20:31] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff2108012d1835c007219630004c012723..."} 
[2026-09-09 17:20:31] local.INFO: Packet analysis {"connection_id":175668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:31] local.INFO: Extracted packet for processing {"connection_id":175668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756561344,"raw_latitude":119641648,"longitude_deg":75.6561344,"latitude_deg":11.9641648,"altitude":76,"angle":295,"satellites":35,"speed":30,"hex_longitude":"2d1835c0","hex_latitude":"07219630","is_valid_coordinates":true} 
[2026-09-09 17:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972344832001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19120777789964288,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085488064512,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788954485000,"timestamp_ms":1788954485000,"timestamp_seconds":1788954485,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff2108"} 
[2026-09-09 17:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":105,"raw_value":8070781591531554593,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8444257907048448,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633774269952,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2248052864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":6145,"corrected_to":0} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4273954817,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2158493767,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3221692788,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3974889472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2882375235211231263,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:31] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,105,83,24,241,157,16,237,160,226,45,192,130,72,36,10,66,203,64,129,71,38,106,191,128,1,240,137,227,133,33,4,113,205,40,152,166,39,239,54,2,67,7,69,30,88],"length":528,"final_offset":658,"validated_count":46,"validation_warnings":[{"io_id":203,"original":6145,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-09 17:20:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404647370520788992,"timestamp_seconds":5404647370520789.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972344832001,"66":14070,"105":206,"83":41984,"24":30,"16":19120777789964288,"45":1754152085488064512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972344832001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:20:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19120777789964288,"km_value":19120777789964.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085488064512,"description":"Unknown IO ID 45"} 
[2026-09-09 17:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972344832001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1754152085488064512}} 
[2026-09-09 17:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":175668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:20:31] local.INFO: GPS data processed {"connection_id":175668,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:20:31] local.INFO: Acknowledgment sent {"connection_id":175668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:20:32] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff3878012d18298007219cd0004b013521..."} 
[2026-09-09 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff3878012d18298007219cd0004b013521..."} 
[2026-09-09 17:20:32] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff3878012d18298007219cd0004b013521..."} 
[2026-09-09 17:20:32] local.INFO: Packet analysis {"connection_id":175668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:32] local.INFO: Extracted packet for processing {"connection_id":175668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643344,"longitude_deg":75.6558208,"latitude_deg":11.9643344,"altitude":75,"angle":309,"satellites":33,"speed":16,"hex_longitude":"2d182980","hex_latitude":"07219cd0","is_valid_coordinates":true} 
[2026-09-09 17:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972348160001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19120949588656128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744511567536730112,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20: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-09-09 17:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788954491000,"timestamp_ms":1788954491000,"timestamp_seconds":1788954491,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff3878"} 
[2026-09-09 17:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 17:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972348160001,"66":14026,"105":206,"83":41984,"24":16,"16":19120949588656128,"45":1744511567536730112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972348160001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:20:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19120949588656128,"km_value":19120949588656.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744511567536730112,"description":"Unknown IO ID 45"} 
[2026-09-09 17:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972348160001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1744511567536730112}} 
[2026-09-09 17:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":175668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:20:32] local.INFO: GPS data processed {"connection_id":175668,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:20:32] local.INFO: Acknowledgment sent {"connection_id":175668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:20:38] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:20:38] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:20:38] local.INFO: IMEI packet received {"connection_id":175669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":175669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:20:43] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:20:43] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:20:43] local.INFO: IMEI packet received {"connection_id":175669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":175669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:20:44] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:20:44] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:20:44] local.INFO: Packet analysis {"connection_id":175669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:44] local.INFO: Extracted packet for processing {"connection_id":175669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":32,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972272128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 17:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972272128001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972272128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972272128001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":175669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:20:44] local.INFO: GPS data processed {"connection_id":175669,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:20:44] local.INFO: Acknowledgment sent {"connection_id":175669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:20:57] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08600fd98012d7b0c0005e33030001000a121..."} 
[2026-09-09 17:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08600fd98012d7b0c0005e33030001000a121..."} 
[2026-09-09 17:20:57] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08600fd98012d7b0c0005e33030001000a121..."} 
[2026-09-09 17:20:57] local.INFO: Packet analysis {"connection_id":175667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08600"} 
[2026-09-09 17:20:57] local.INFO: Extracted packet for processing {"connection_id":175667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08600"} 
[2026-09-09 17:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98775088,"longitude_deg":76.303872,"latitude_deg":9.8775088,"altitude":16,"angle":161,"satellites":33,"speed":3,"hex_longitude":"2d7b0c00","hex_latitude":"05e33030","is_valid_coordinates":true} 
[2026-09-09 17:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972379136001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130375823919153152,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422927931392,"note":"Value kept but may cause issues"} 
[2026-09-09 17:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788954607000,"timestamp_ms":1788954607000,"timestamp_seconds":1788954607,"priority":1,"record_length":96,"hex_timestamp":"000001a08600fd98"} 
[2026-09-09 17:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 17:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972379136001,"66":13678,"208":206,"85":15104,"24":3,"16":130375823919153152,"45":8866391422927931392},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972379136001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:20:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130375823919153152,"km_value":130375823919153.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422927931392,"description":"Unknown IO ID 45"} 
[2026-09-09 17:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972379136001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866391422927931392}} 
[2026-09-09 17:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":175667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:20:57] local.INFO: GPS data processed {"connection_id":175667,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:20:57] local.INFO: Acknowledgment sent {"connection_id":175667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:21:03] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff8a80012d181e800721a6500049013022..."} 
[2026-09-09 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff8a80012d181e800721a6500049013022..."} 
[2026-09-09 17:21:03] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff8a80012d181e800721a6500049013022..."} 
[2026-09-09 17:21:03] local.INFO: Packet analysis {"connection_id":175668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:21:03] local.INFO: Extracted packet for processing {"connection_id":175668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645776,"longitude_deg":75.6555392,"latitude_deg":11.9645776,"altitude":73,"angle":304,"satellites":34,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721a650","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349696001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121125682315264,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072458752,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788954512000,"timestamp_ms":1788954512000,"timestamp_seconds":1788954512,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff8a80"} 
[2026-09-09 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-09-09 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-09 17:21:03] 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-09-09 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-09-09 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-09-09 17:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349696001,"66":14048,"105":206,"83":41984,"24":0,"16":19121125682315264,"45":1741063499072458752},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349696001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:21:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121125682315264,"km_value":19121125682315.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072458752,"description":"Unknown IO ID 45"} 
[2026-09-09 17:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349696001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741063499072458752}} 
[2026-09-09 17:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":175668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:21:03] local.INFO: GPS data processed {"connection_id":175668,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:21:03] local.INFO: Acknowledgment sent {"connection_id":175668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:21:15] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:21:15] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:21:15] local.INFO: Packet analysis {"connection_id":175669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:21:15] local.INFO: Extracted packet for processing {"connection_id":175669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":32,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972272128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 17:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972272128001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972272128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972272128001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":175669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:21:15] local.INFO: GPS data processed {"connection_id":175669,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:21:15] local.INFO: Acknowledgment sent {"connection_id":175669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:21:25] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:21:25] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:21:25] local.INFO: IMEI packet received {"connection_id":175670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":175670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:21:25] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:21:25] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:21:25] local.INFO: IMEI packet received {"connection_id":175670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":175670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:21:29] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:21:29] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:21:29] local.INFO: IMEI packet received {"connection_id":175670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":175670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:21:30] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:21:30] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:21:30] local.INFO: IMEI packet received {"connection_id":175886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":175886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:21:30] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860120c0012d7b0d8005e327c0001000ac1b..."} 
[2026-09-09 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860120c0012d7b0d8005e327c0001000ac1b..."} 
[2026-09-09 17:21:30] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860120c0012d7b0d8005e327c0001000ac1b..."} 
[2026-09-09 17:21:30] local.INFO: Packet analysis {"connection_id":175670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08601"} 
[2026-09-09 17:21:30] local.INFO: Extracted packet for processing {"connection_id":175670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08601"} 
[2026-09-09 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98772928,"longitude_deg":76.3039104,"latitude_deg":9.8772928,"altitude":16,"angle":172,"satellites":27,"speed":14,"hex_longitude":"2d7b0d80","hex_latitude":"05e327c0","is_valid_coordinates":true} 
[2026-09-09 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972379392001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130375931293335552,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791672086528,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788954616000,"timestamp_ms":1788954616000,"timestamp_seconds":1788954616,"priority":1,"record_length":96,"hex_timestamp":"000001a0860120c0"} 
[2026-09-09 17:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 17:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972379392001,"66":13319,"208":206,"85":15104,"24":14,"16":130375931293335552,"45":8866461791672086528},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972379392001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:21:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130375931293335552,"km_value":130375931293335.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791672086528,"description":"Unknown IO ID 45"} 
[2026-09-09 17:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972379392001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8866461791672086528}} 
[2026-09-09 17:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":175670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:21:31] local.INFO: GPS data processed {"connection_id":175670,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:21:31] local.INFO: Acknowledgment sent {"connection_id":175670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:21:34] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:21:34] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:21:34] local.INFO: IMEI packet received {"connection_id":175886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":175886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:21:35] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a085ffdc88012d181e800721a6500049013026..."} 
[2026-09-09 17:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ffdc88012d181e800721a6500049013026..."} 
[2026-09-09 17:21:35] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ffdc88012d181e800721a6500049013026..."} 
[2026-09-09 17:21:35] local.INFO: Packet analysis {"connection_id":175886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:21:35] local.INFO: Extracted packet for processing {"connection_id":175886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645776,"longitude_deg":75.6555392,"latitude_deg":11.9645776,"altitude":73,"angle":304,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721a650","is_valid_coordinates":true} 
[2026-09-09 17:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972355072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121125682315264,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329264128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788954533000,"timestamp_ms":1788954533000,"timestamp_seconds":1788954533,"priority":1,"record_length":96,"hex_timestamp":"000001a085ffdc88"} 
[2026-09-09 17:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 17:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972355072001,"66":13961,"105":206,"83":41984,"24":0,"16":19121125682315264,"45":1737967274329264128},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972355072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:21:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121125682315264,"km_value":19121125682315.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329264128,"description":"Unknown IO ID 45"} 
[2026-09-09 17:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972355072001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329264128}} 
[2026-09-09 17:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":175886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:21:35] local.INFO: GPS data processed {"connection_id":175886,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:21:35] local.INFO: Acknowledgment sent {"connection_id":175886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:21:36] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086013448012d7b0f0005e322a00010009f1f..."} 
[2026-09-09 17:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086013448012d7b0f0005e322a00010009f1f..."} 
[2026-09-09 17:21:36] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086013448012d7b0f0005e322a00010009f1f..."} 
[2026-09-09 17:21:36] local.INFO: Packet analysis {"connection_id":175670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08601"} 
[2026-09-09 17:21:36] local.INFO: Extracted packet for processing {"connection_id":175670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08601"} 
[2026-09-09 17:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98771616,"longitude_deg":76.3039488,"latitude_deg":9.8771616,"altitude":16,"angle":159,"satellites":31,"speed":7,"hex_longitude":"2d7b0f00","hex_latitude":"05e322a0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972381696001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130376000012812288,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004136599552,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21: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-09-09 17:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788954621000,"timestamp_ms":1788954621000,"timestamp_seconds":1788954621,"priority":1,"record_length":96,"hex_timestamp":"000001a086013448"} 
[2026-09-09 17:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-6928786731859984379,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2248194864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:36] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13459408,"corrected_to":0} 
[2026-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4129800909849764608,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812255,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:36] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,48,160,253,45,33,10,66,249,192,32,1,240,247,227,134,4,113,205,3,195,12,248,239,53,2,207,5,14,88],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":247,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-09 17:21:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153110736571858944,"timestamp_seconds":1153110736571859.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972381696001,"66":13406,"208":206,"85":15104,"24":7,"16":130376000012812288,"45":8866884004136599552},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972381696001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:21:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130376000012812288,"km_value":130376000012812.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004136599552,"description":"Unknown IO ID 45"} 
[2026-09-09 17:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972381696001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8866884004136599552}} 
[2026-09-09 17:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":175670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:21:36] local.INFO: GPS data processed {"connection_id":175670,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:21:36] local.INFO: Acknowledgment sent {"connection_id":175670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:21:38] local.INFO: TCP Data received {"connection_id":177071,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:21:38] local.INFO: Processing buffer {"connection_id":177071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:21:38] local.INFO: IMEI packet received {"connection_id":177071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":177071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:21:43] local.INFO: TCP Data received {"connection_id":177071,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:21:43] local.INFO: Processing buffer {"connection_id":177071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:21:43] local.INFO: IMEI packet received {"connection_id":177071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":177071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:21:44] local.INFO: TCP Data received {"connection_id":177071,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:21:44] local.INFO: Processing buffer {"connection_id":177071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:21:44] local.INFO: Packet analysis {"connection_id":177071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:21:44] local.INFO: Extracted packet for processing {"connection_id":177071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":32,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972272128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 17:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972272128001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972272128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972272128001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":177071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:21:44] local.INFO: GPS data processed {"connection_id":177071,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:21:44] local.INFO: Acknowledgment sent {"connection_id":177071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:22:07] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086002e90012d181e800721a6500049013027..."} 
[2026-09-09 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086002e90012d181e800721a6500049013027..."} 
[2026-09-09 17:22:07] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086002e90012d181e800721a6500049013027..."} 
[2026-09-09 17:22:07] local.INFO: Packet analysis {"connection_id":175886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08600"} 
[2026-09-09 17:22:07] local.INFO: Extracted packet for processing {"connection_id":175886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08600"} 
[2026-09-09 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645776,"longitude_deg":75.6555392,"latitude_deg":11.9645776,"altitude":73,"angle":304,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721a650","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972360448001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121125682315264,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329264128,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788954554000,"timestamp_ms":1788954554000,"timestamp_seconds":1788954554,"priority":1,"record_length":96,"hex_timestamp":"000001a086002e90"} 
[2026-09-09 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-09-09 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 17:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972360448001,"66":14113,"105":206,"83":41984,"24":0,"16":19121125682315264,"45":1737967274329264128},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972360448001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121125682315264,"km_value":19121125682315.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329264128,"description":"Unknown IO ID 45"} 
[2026-09-09 17:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972360448001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329264128}} 
[2026-09-09 17:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":175886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:22:07] local.INFO: GPS data processed {"connection_id":175886,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:22:07] local.INFO: Acknowledgment sent {"connection_id":175886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:22:16] local.INFO: TCP Data received {"connection_id":177071,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:22:16] local.INFO: Processing buffer {"connection_id":177071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:22:16] local.INFO: Packet analysis {"connection_id":177071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:22:16] local.INFO: Extracted packet for processing {"connection_id":177071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":32,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972272128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 17:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:22:16] 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-09-09 17:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972272128001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972272128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972272128001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":177071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:22:16] local.INFO: GPS data processed {"connection_id":177071,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:22:16] local.INFO: Acknowledgment sent {"connection_id":177071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:22:19] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:22:19] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:22:19] local.INFO: IMEI packet received {"connection_id":175671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":175671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:22:24] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:22:24] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:22:24] local.INFO: IMEI packet received {"connection_id":175671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":175671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:22:25] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086016af8012d7b110005e31c80001000ac1f..."} 
[2026-09-09 17:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086016af8012d7b110005e31c80001000ac1f..."} 
[2026-09-09 17:22:25] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086016af8012d7b110005e31c80001000ac1f..."} 
[2026-09-09 17:22:25] local.INFO: Packet analysis {"connection_id":175671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08601"} 
[2026-09-09 17:22:25] local.INFO: Extracted packet for processing {"connection_id":175671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08601"} 
[2026-09-09 17:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":98770048,"longitude_deg":76.304,"latitude_deg":9.8770048,"altitude":16,"angle":172,"satellites":31,"speed":4,"hex_longitude":"2d7b1100","hex_latitude":"05e31c80","is_valid_coordinates":true} 
[2026-09-09 17:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972382976001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130376085912158208,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216601329664,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788954635000,"timestamp_ms":1788954635000,"timestamp_seconds":1788954635,"priority":1,"record_length":96,"hex_timestamp":"000001a086016af8"} 
[2026-09-09 17:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:22: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-09-09 17:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-09 17:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972382976001,"66":13624,"208":206,"85":15104,"24":4,"16":130376085912158208,"45":8867306216601329664},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972382976001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:22:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130376085912158208,"km_value":130376085912158.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216601329664,"description":"Unknown IO ID 45"} 
[2026-09-09 17:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972382976001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8867306216601329664}} 
[2026-09-09 17:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":175671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:22:25] local.INFO: GPS data processed {"connection_id":175671,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:22:25] local.INFO: Acknowledgment sent {"connection_id":175671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:22:30] local.INFO: TCP Data received {"connection_id":177072,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:22:30] local.INFO: Processing buffer {"connection_id":177072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:22:30] local.INFO: IMEI packet received {"connection_id":177072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":177072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:22:34] local.INFO: TCP Data received {"connection_id":177072,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:22:34] local.INFO: Processing buffer {"connection_id":177072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:22:34] local.INFO: IMEI packet received {"connection_id":177072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":177072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:22:35] local.INFO: TCP Data received {"connection_id":177072,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086008098012d181e800721a6500049013026..."} 
[2026-09-09 17:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086008098012d181e800721a6500049013026..."} 
[2026-09-09 17:22:35] local.INFO: Processing buffer {"connection_id":177072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086008098012d181e800721a6500049013026..."} 
[2026-09-09 17:22:35] local.INFO: Packet analysis {"connection_id":177072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08600"} 
[2026-09-09 17:22:35] local.INFO: Extracted packet for processing {"connection_id":177072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08600"} 
[2026-09-09 17:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645776,"longitude_deg":75.6555392,"latitude_deg":11.9645776,"altitude":73,"angle":304,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721a650","is_valid_coordinates":true} 
[2026-09-09 17:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972365824001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121125682315264,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329264128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788954575000,"timestamp_ms":1788954575000,"timestamp_seconds":1788954575,"priority":1,"record_length":96,"hex_timestamp":"000001a086008098"} 
[2026-09-09 17:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-09 17:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972365824001,"66":14135,"105":206,"83":41984,"24":0,"16":19121125682315264,"45":1737967274329264128},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972365824001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:22:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121125682315264,"km_value":19121125682315.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329264128,"description":"Unknown IO ID 45"} 
[2026-09-09 17:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972365824001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329264128}} 
[2026-09-09 17:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":177072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:22:35] local.INFO: GPS data processed {"connection_id":177072,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:22:35] local.INFO: Acknowledgment sent {"connection_id":177072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:22:38] local.INFO: TCP Data received {"connection_id":177073,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:22:38] local.INFO: Processing buffer {"connection_id":177073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:22:38] local.INFO: IMEI packet received {"connection_id":177073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":177073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:22:43] local.INFO: TCP Data received {"connection_id":177073,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:22:43] local.INFO: Processing buffer {"connection_id":177073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:22:43] local.INFO: IMEI packet received {"connection_id":177073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":177073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:22:44] local.INFO: TCP Data received {"connection_id":177073,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:22:44] local.INFO: Processing buffer {"connection_id":177073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:22:44] local.INFO: Packet analysis {"connection_id":177073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:22:44] local.INFO: Extracted packet for processing {"connection_id":177073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":32,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972272128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 17:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972272128001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972272128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972272128001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":177073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:22:44] local.INFO: GPS data processed {"connection_id":177073,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:22:44] local.INFO: Acknowledgment sent {"connection_id":177073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:22:47] local.INFO: TCP Data received {"connection_id":178467,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:22:47] local.INFO: Processing buffer {"connection_id":178467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:22:47] local.INFO: IMEI packet received {"connection_id":178467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":178467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:22:56] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086017e80012d7b110005e31910001000b720..."} 
[2026-09-09 17:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086017e80012d7b110005e31910001000b720..."} 
[2026-09-09 17:22:56] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086017e80012d7b110005e31910001000b720..."} 
[2026-09-09 17:22:56] local.INFO: Packet analysis {"connection_id":175671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08601"} 
[2026-09-09 17:22:56] local.INFO: Extracted packet for processing {"connection_id":175671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08601"} 
[2026-09-09 17:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":98769168,"longitude_deg":76.304,"latitude_deg":9.8769168,"altitude":16,"angle":183,"satellites":32,"speed":11,"hex_longitude":"2d7b1100","hex_latitude":"05e31910","is_valid_coordinates":true} 
[2026-09-09 17:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972386560001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130376128861831168,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867869166554349568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788954640000,"timestamp_ms":1788954640000,"timestamp_seconds":1788954640,"priority":1,"record_length":96,"hex_timestamp":"000001a086017e80"} 
[2026-09-09 17:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 17:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972386560001,"66":13526,"208":206,"85":15104,"24":11,"16":130376128861831168,"45":8867869166554349568},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 17:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972386560001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:22:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 17:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130376128861831168,"km_value":130376128861831.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867869166554349568,"description":"Unknown IO ID 45"} 
[2026-09-09 17:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972386560001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8867869166554349568}} 
[2026-09-09 17:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":175671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:22:56] local.INFO: GPS data processed {"connection_id":175671,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:22:56] local.INFO: Acknowledgment sent {"connection_id":175671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:23:06] local.INFO: TCP Data received {"connection_id":177072,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08602bae8012d1824c00721b8980049012e28..."} 
[2026-09-09 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08602bae8012d1824c00721b8980049012e28..."} 
[2026-09-09 17:23:06] local.INFO: Processing buffer {"connection_id":177072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08602bae8012d1824c00721b8980049012e28..."} 
[2026-09-09 17:23:06] local.INFO: Packet analysis {"connection_id":177072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08602"} 
[2026-09-09 17:23:06] local.INFO: Extracted packet for processing {"connection_id":177072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08602"} 
[2026-09-09 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650456,"longitude_deg":75.6556992,"latitude_deg":11.9650456,"altitude":73,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-09-09 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972403200001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121439214927872,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934903808,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788954721000,"timestamp_ms":1788954721000,"timestamp_seconds":1788954721,"priority":1,"record_length":96,"hex_timestamp":"000001a08602bae8"} 
[2026-09-09 17:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 17:23: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-09-09 17:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972403200001,"66":13993,"105":206,"83":41984,"24":0,"16":19121439214927872,"45":1739726492934903808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972403200001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:23:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121439214927872,"km_value":19121439214927.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934903808,"description":"Unknown IO ID 45"} 
[2026-09-09 17:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972403200001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934903808}} 
[2026-09-09 17:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":177072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:23:06] local.INFO: GPS data processed {"connection_id":177072,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:23:06] local.INFO: Acknowledgment sent {"connection_id":177072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:23:15] local.INFO: TCP Data received {"connection_id":177073,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:23:15] local.INFO: Processing buffer {"connection_id":177073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a085ff30a8012d34cc4006aa49080020013422..."} 
[2026-09-09 17:23:15] local.INFO: Packet analysis {"connection_id":177073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:23:15] local.INFO: Extracted packet for processing {"connection_id":177073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a085ff"} 
[2026-09-09 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":32,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972272128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788954489000,"timestamp_ms":1788954489000,"timestamp_seconds":1788954489,"priority":1,"record_length":96,"hex_timestamp":"000001a085ff30a8"} 
[2026-09-09 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-09-09 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972272128001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972272128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972272128001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":177073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:23:15] local.INFO: GPS data processed {"connection_id":177073,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:23:15] local.INFO: Acknowledgment sent {"connection_id":177073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:23:19] local.INFO: TCP Data received {"connection_id":177074,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:23:19] local.INFO: Processing buffer {"connection_id":177074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:23:19] local.INFO: IMEI packet received {"connection_id":177074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":177074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:23:24] local.INFO: TCP Data received {"connection_id":177074,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:23:24] local.INFO: Processing buffer {"connection_id":177074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:23:24] local.INFO: IMEI packet received {"connection_id":177074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":177074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:23:25] local.INFO: TCP Data received {"connection_id":177074,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086039d78012d7b424005e1afe80002008b23..."} 
[2026-09-09 17:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086039d78012d7b424005e1afe80002008b23..."} 
[2026-09-09 17:23:25] local.INFO: Processing buffer {"connection_id":177074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086039d78012d7b424005e1afe80002008b23..."} 
[2026-09-09 17:23:25] local.INFO: Packet analysis {"connection_id":177074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:23:25] local.INFO: Extracted packet for processing {"connection_id":177074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763052608,"raw_latitude":98676712,"longitude_deg":76.3052608,"latitude_deg":9.8676712,"altitude":2,"angle":139,"satellites":35,"speed":8,"hex_longitude":"2d7b4240","hex_latitude":"05e1afe8","is_valid_coordinates":true} 
[2026-09-09 17:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972423168001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881661440389294080,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130380664347295744,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 17:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788954779000,"timestamp_ms":1788954779000,"timestamp_seconds":1788954779,"priority":1,"record_length":96,"hex_timestamp":"000001a086039d78"} 
[2026-09-09 17:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:23: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-09-09 17:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 17:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972423168001,"66":13689,"45":8881661440389294080,"85":15104,"24":8,"16":130380664347295744},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-09 17:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972423168001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881661440389294080,"description":"Unknown IO ID 45"} 
[2026-09-09 17:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130380664347295744,"km_value":130380664347295.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:23:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457972423168001,"power":13689,"unknown_45":8881661440389294080,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-09-09 17:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":177074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:23:25] local.INFO: GPS data processed {"connection_id":177074,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:23:25] local.INFO: Acknowledgment sent {"connection_id":177074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:23:30] local.INFO: TCP Data received {"connection_id":177075,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:23:30] local.INFO: Processing buffer {"connection_id":177075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:23:30] local.INFO: IMEI packet received {"connection_id":177075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":177075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:23:34] local.INFO: TCP Data received {"connection_id":177075,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:23:34] local.INFO: Processing buffer {"connection_id":177075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:23:34] local.INFO: IMEI packet received {"connection_id":177075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":177075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:23:35] local.INFO: TCP Data received {"connection_id":177075,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08602e1f8012d1824000721b6b8004b00bf28..."} 
[2026-09-09 17:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08602e1f8012d1824000721b6b8004b00bf28..."} 
[2026-09-09 17:23:35] local.INFO: Processing buffer {"connection_id":177075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08602e1f8012d1824000721b6b8004b00bf28..."} 
[2026-09-09 17:23:35] local.INFO: Packet analysis {"connection_id":177075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08602"} 
[2026-09-09 17:23:35] local.INFO: Extracted packet for processing {"connection_id":177075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08602"} 
[2026-09-09 17:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649976,"longitude_deg":75.65568,"latitude_deg":11.9649976,"altitude":75,"angle":191,"satellites":40,"speed":5,"hex_longitude":"2d182400","hex_latitude":"0721b6b8","is_valid_coordinates":true} 
[2026-09-09 17:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972408576001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121464984731648,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934903808,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788954731000,"timestamp_ms":1788954731000,"timestamp_seconds":1788954731,"priority":1,"record_length":96,"hex_timestamp":"000001a08602e1f8"} 
[2026-09-09 17:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 17:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972408576001,"66":14004,"105":206,"83":41984,"24":5,"16":19121464984731648,"45":1739726492934903808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972408576001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:23:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121464984731648,"km_value":19121464984731.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934903808,"description":"Unknown IO ID 45"} 
[2026-09-09 17:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972408576001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739726492934903808}} 
[2026-09-09 17:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":177075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:23:35] local.INFO: GPS data processed {"connection_id":177075,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:23:35] local.INFO: Acknowledgment sent {"connection_id":177075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:23:44] local.INFO: TCP Data received {"connection_id":177076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:23:44] local.INFO: Processing buffer {"connection_id":177076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:23:44] local.INFO: IMEI packet received {"connection_id":177076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":177076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:23:48] local.INFO: TCP Data received {"connection_id":177076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:23:48] local.INFO: Processing buffer {"connection_id":177076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:23:48] local.INFO: IMEI packet received {"connection_id":177076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":177076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:23:50] local.INFO: TCP Data received {"connection_id":177076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:23:50] local.INFO: Processing buffer {"connection_id":177076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:23:50] local.INFO: Packet analysis {"connection_id":177076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:23:50] local.INFO: Extracted packet for processing {"connection_id":177076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:23:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":177076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:23:50] local.INFO: GPS data processed {"connection_id":177076,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:23:50] local.INFO: Acknowledgment sent {"connection_id":177076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:23:51] local.INFO: TCP Data received {"connection_id":177076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:23:51] local.INFO: Processing buffer {"connection_id":177076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:23:51] local.INFO: Packet analysis {"connection_id":177076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:23:51] local.INFO: Extracted packet for processing {"connection_id":177076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:23:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":177076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:23:51] local.INFO: GPS data processed {"connection_id":177076,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:23:51] local.INFO: Acknowledgment sent {"connection_id":177076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:23:55] local.INFO: TCP Data received {"connection_id":177074,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08603a548012d7b43c005e1af080003007f24..."} 
[2026-09-09 17:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603a548012d7b43c005e1af080003007f24..."} 
[2026-09-09 17:23:55] local.INFO: Processing buffer {"connection_id":177074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603a548012d7b43c005e1af080003007f24..."} 
[2026-09-09 17:23:55] local.INFO: Packet analysis {"connection_id":177074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:23:55] local.INFO: Extracted packet for processing {"connection_id":177074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98676488,"longitude_deg":76.3052992,"latitude_deg":9.8676488,"altitude":3,"angle":127,"satellites":36,"speed":7,"hex_longitude":"2d7b43c0","hex_latitude":"05e1af08","is_valid_coordinates":true} 
[2026-09-09 17:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972423424001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809133455360,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130380685822132224,"note":"Value kept but may cause issues"} 
[2026-09-09 17:23:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 17:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788954781000,"timestamp_ms":1788954781000,"timestamp_seconds":1788954781,"priority":1,"record_length":96,"hex_timestamp":"000001a08603a548"} 
[2026-09-09 17:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:23: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-09-09 17: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 17:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972423424001,"66":13961,"45":8881731809133455360,"85":15104,"24":7,"16":130380685822132224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-09 17:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972423424001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809133455360,"description":"Unknown IO ID 45"} 
[2026-09-09 17:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130380685822132224,"km_value":130380685822132.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:23:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457972423424001,"power":13961,"unknown_45":8881731809133455360,"unknown_85":15104,"ignition":7,"odometer":null}} 
[2026-09-09 17:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":177074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:23:55] local.INFO: GPS data processed {"connection_id":177074,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:23:55] local.INFO: Acknowledgment sent {"connection_id":177074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:24:06] local.INFO: TCP Data received {"connection_id":177075,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08602edb0012d1823400721b508004b00d328..."} 
[2026-09-09 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08602edb0012d1823400721b508004b00d328..."} 
[2026-09-09 17:24:06] local.INFO: Processing buffer {"connection_id":177075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08602edb0012d1823400721b508004b00d328..."} 
[2026-09-09 17:24:06] local.INFO: Packet analysis {"connection_id":177075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08602"} 
[2026-09-09 17:24:06] local.INFO: Extracted packet for processing {"connection_id":177075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08602"} 
[2026-09-09 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649544,"longitude_deg":75.6556608,"latitude_deg":11.9649544,"altitude":75,"angle":211,"satellites":40,"speed":7,"hex_longitude":"2d182340","hex_latitude":"0721b508","is_valid_coordinates":true} 
[2026-09-09 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972411136001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121486459568128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702247936,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788954734000,"timestamp_ms":1788954734000,"timestamp_seconds":1788954734,"priority":1,"record_length":96,"hex_timestamp":"000001a08602edb0"} 
[2026-09-09 17:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 17:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972411136001,"66":14048,"105":206,"83":41984,"24":7,"16":19121486459568128,"45":1739515386702247936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972411136001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:24:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121486459568128,"km_value":19121486459568.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702247936,"description":"Unknown IO ID 45"} 
[2026-09-09 17:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972411136001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739515386702247936}} 
[2026-09-09 17:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":177075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:24:06] local.INFO: GPS data processed {"connection_id":177075,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:24:06] local.INFO: Acknowledgment sent {"connection_id":177075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:24:19] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:24:19] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:24:19] local.INFO: IMEI packet received {"connection_id":175888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":175888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:24:20] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:24:20] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:24:20] local.INFO: IMEI packet received {"connection_id":175888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":175888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:24:23] local.INFO: TCP Data received {"connection_id":177076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:24:23] local.INFO: Processing buffer {"connection_id":177076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:24:23] local.INFO: Packet analysis {"connection_id":177076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:24:23] local.INFO: Extracted packet for processing {"connection_id":177076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":177076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:24:23] local.INFO: GPS data processed {"connection_id":177076,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:24:23] local.INFO: Acknowledgment sent {"connection_id":177076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:24:24] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:24:24] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:24:24] local.INFO: IMEI packet received {"connection_id":175888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":175888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:24:25] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860487d8012d7bb38005e1c3e80008003621..."} 
[2026-09-09 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860487d8012d7bb38005e1c3e80008003621..."} 
[2026-09-09 17:24:25] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860487d8012d7bb38005e1c3e80008003621..."} 
[2026-09-09 17:24:25] local.INFO: Packet analysis {"connection_id":175888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08604"} 
[2026-09-09 17:24:25] local.INFO: Extracted packet for processing {"connection_id":175888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08604"} 
[2026-09-09 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763081600,"raw_latitude":98681832,"longitude_deg":76.30816,"latitude_deg":9.8681832,"altitude":8,"angle":54,"satellites":33,"speed":27,"hex_longitude":"2d7bb380","hex_latitude":"05e1c3e8","is_valid_coordinates":true} 
[2026-09-09 17:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972438272001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912342212851873792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130382094571405312,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 17:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788954839000,"timestamp_ms":1788954839000,"timestamp_seconds":1788954839,"priority":1,"record_length":96,"hex_timestamp":"000001a0860487d8"} 
[2026-09-09 17:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:24: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-09-09 17: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 17:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972438272001,"66":13798,"45":8912342212851873792,"85":15104,"24":27,"16":130382094571405312},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-09 17:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972438272001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912342212851873792,"description":"Unknown IO ID 45"} 
[2026-09-09 17:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130382094571405312,"km_value":130382094571405.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:24:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457972438272001,"power":13798,"unknown_45":8912342212851873792,"unknown_85":15104,"ignition":27,"odometer":null}} 
[2026-09-09 17:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":175888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:24:25] local.INFO: GPS data processed {"connection_id":175888,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:24:25] local.INFO: Acknowledgment sent {"connection_id":175888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:24:29] local.INFO: TCP Data received {"connection_id":178468,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:24:29] local.INFO: Processing buffer {"connection_id":178468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:24:29] local.INFO: IMEI packet received {"connection_id":178468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":178468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:24:35] local.INFO: TCP Data received {"connection_id":178468,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:24:35] local.INFO: Processing buffer {"connection_id":178468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:24:35] local.INFO: IMEI packet received {"connection_id":178468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":178468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:24:36] local.INFO: TCP Data received {"connection_id":178468,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086033fb8012d181e000721ae30004900d327..."} 
[2026-09-09 17:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086033fb8012d181e000721ae30004900d327..."} 
[2026-09-09 17:24:36] local.INFO: Processing buffer {"connection_id":178468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086033fb8012d181e000721ae30004900d327..."} 
[2026-09-09 17:24:36] local.INFO: Packet analysis {"connection_id":178468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:24:36] local.INFO: Extracted packet for processing {"connection_id":178468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647792,"longitude_deg":75.6555264,"latitude_deg":11.9647792,"altitude":73,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972411904001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121598128717824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469604352,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788954755000,"timestamp_ms":1788954755000,"timestamp_seconds":1788954755,"priority":1,"record_length":96,"hex_timestamp":"000001a086033fb8"} 
[2026-09-09 17:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 17:24: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-09-09 17: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-09-09 17:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972411904001,"66":14461,"105":206,"83":41984,"24":0,"16":19121598128717824,"45":1739304280469604352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972411904001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:24:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121598128717824,"km_value":19121598128717.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469604352,"description":"Unknown IO ID 45"} 
[2026-09-09 17:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972411904001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469604352}} 
[2026-09-09 17:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":178468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:24:36] local.INFO: GPS data processed {"connection_id":178468,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:24:36] local.INFO: Acknowledgment sent {"connection_id":178468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:24:38] local.INFO: TCP Data received {"connection_id":177077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:24:38] local.INFO: Processing buffer {"connection_id":177077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:24:38] local.INFO: IMEI packet received {"connection_id":177077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":177077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:24:43] local.INFO: TCP Data received {"connection_id":177077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:24:43] local.INFO: Processing buffer {"connection_id":177077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:24:43] local.INFO: IMEI packet received {"connection_id":177077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":177077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:24:44] local.INFO: TCP Data received {"connection_id":177077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:24:44] local.INFO: Processing buffer {"connection_id":177077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:24:44] local.INFO: Packet analysis {"connection_id":177077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:24:44] local.INFO: Extracted packet for processing {"connection_id":177077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":177077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:24:44] local.INFO: GPS data processed {"connection_id":177077,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:24:44] local.INFO: Acknowledgment sent {"connection_id":177077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:24:56] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08604baa0012d7bcec005e1da680009003520..."} 
[2026-09-09 17:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08604baa0012d7bcec005e1da680009003520..."} 
[2026-09-09 17:24:56] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08604baa0012d7bcec005e1da680009003520..."} 
[2026-09-09 17:24:56] local.INFO: Packet analysis {"connection_id":175888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08604"} 
[2026-09-09 17:24:56] local.INFO: Extracted packet for processing {"connection_id":175888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08604"} 
[2026-09-09 17:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763088576,"raw_latitude":98687592,"longitude_deg":76.3088576,"latitude_deg":9.8687592,"altitude":9,"angle":53,"satellites":32,"speed":17,"hex_longitude":"2d7bcec0","hex_latitude":"05e1da68","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972438784001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913608850247247872,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130382532658069504,"note":"Value kept but may cause issues"} 
[2026-09-09 17:24:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 17:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788954852000,"timestamp_ms":1788954852000,"timestamp_seconds":1788954852,"priority":1,"record_length":96,"hex_timestamp":"000001a08604baa0"} 
[2026-09-09 17:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:24: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-09-09 17:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 17:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972438784001,"66":13428,"45":8913608850247247872,"85":15104,"24":17,"16":130382532658069504},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-09 17:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972438784001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913608850247247872,"description":"Unknown IO ID 45"} 
[2026-09-09 17:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130382532658069504,"km_value":130382532658069.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:24:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457972438784001,"power":13428,"unknown_45":8913608850247247872,"unknown_85":15104,"ignition":17,"odometer":null}} 
[2026-09-09 17:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":175888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:24:56] local.INFO: GPS data processed {"connection_id":175888,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:24:56] local.INFO: Acknowledgment sent {"connection_id":175888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:25:07] local.INFO: TCP Data received {"connection_id":178468,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086037668012d181c800721acb8004900df28..."} 
[2026-09-09 17:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086037668012d181c800721acb8004900df28..."} 
[2026-09-09 17:25:07] local.INFO: Processing buffer {"connection_id":178468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086037668012d181c800721acb8004900df28..."} 
[2026-09-09 17:25:07] local.INFO: Packet analysis {"connection_id":178468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:25:07] local.INFO: Extracted packet for processing {"connection_id":178468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647416,"longitude_deg":75.655488,"latitude_deg":11.9647416,"altitude":73,"angle":223,"satellites":40,"speed":2,"hex_longitude":"2d181c80","hex_latitude":"0721acb8","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972417280001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19121623898521600,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841424896,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788954769000,"timestamp_ms":1788954769000,"timestamp_seconds":1788954769,"priority":1,"record_length":96,"hex_timestamp":"000001a086037668"} 
[2026-09-09 17:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 17:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972417280001,"66":13993,"105":206,"83":41984,"24":2,"16":19121623898521600,"45":1737826536841424896},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972417280001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:25:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19121623898521600,"km_value":19121623898521.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841424896,"description":"Unknown IO ID 45"} 
[2026-09-09 17:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972417280001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737826536841424896}} 
[2026-09-09 17:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":178468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:25:07] local.INFO: GPS data processed {"connection_id":178468,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:25:07] local.INFO: Acknowledgment sent {"connection_id":178468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:25:16] local.INFO: TCP Data received {"connection_id":177077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:25:16] local.INFO: Processing buffer {"connection_id":177077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:25:16] local.INFO: Packet analysis {"connection_id":177077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:25:16] local.INFO: Extracted packet for processing {"connection_id":177077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":177077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:25:16] local.INFO: GPS data processed {"connection_id":177077,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:25:16] local.INFO: Acknowledgment sent {"connection_id":177077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:25:19] local.INFO: TCP Data received {"connection_id":178469,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:19] local.INFO: Processing buffer {"connection_id":178469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:19] local.INFO: IMEI packet received {"connection_id":178469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":178469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:25:19] local.INFO: TCP Data received {"connection_id":178469,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:19] local.INFO: Processing buffer {"connection_id":178469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:19] local.INFO: IMEI packet received {"connection_id":178469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":178469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:25:20] local.INFO: TCP Data received {"connection_id":178469,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:20] local.INFO: Processing buffer {"connection_id":178469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:20] local.INFO: IMEI packet received {"connection_id":178469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":178469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:25:22] local.INFO: TCP Data received {"connection_id":178469,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:22] local.INFO: Processing buffer {"connection_id":178469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:25:22] local.INFO: IMEI packet received {"connection_id":178469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":178469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:25:29] local.INFO: TCP Data received {"connection_id":178470,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:25:29] local.INFO: Processing buffer {"connection_id":178470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:25:29] local.INFO: IMEI packet received {"connection_id":178470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":178470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:25:36] local.INFO: TCP Data received {"connection_id":178470,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:25:36] local.INFO: Processing buffer {"connection_id":178470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:25:36] local.INFO: IMEI packet received {"connection_id":178470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":178470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:25:37] local.INFO: TCP Data received {"connection_id":178470,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086052800012d188d8007217eb0004b007121..."} 
[2026-09-09 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086052800012d188d8007217eb0004b007121..."} 
[2026-09-09 17:25:37] local.INFO: Processing buffer {"connection_id":178470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086052800012d188d8007217eb0004b007121..."} 
[2026-09-09 17:25:37] local.INFO: Packet analysis {"connection_id":178470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08605"} 
[2026-09-09 17:25:37] local.INFO: Extracted packet for processing {"connection_id":178470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08605"} 
[2026-09-09 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756583808,"raw_latitude":119635632,"longitude_deg":75.6583808,"latitude_deg":11.9635632,"altitude":75,"angle":113,"satellites":33,"speed":40,"hex_longitude":"2d188d80","hex_latitude":"07217eb0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972448768001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19123182971650048,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767029565672208384,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25: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-09-09 17:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788954880000,"timestamp_ms":1788954880000,"timestamp_seconds":1788954880,"priority":1,"record_length":96,"hex_timestamp":"000001a086052800"} 
[2026-09-09 17:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 17:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":178470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":178470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":178470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972448768001,"66":14396,"106":206,"83":41984,"24":40,"16":19123182971650048,"45":1767029565672208384},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 17:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972448768001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:25:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 17:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19123182971650048,"km_value":19123182971650.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767029565672208384,"description":"Unknown IO ID 45"} 
[2026-09-09 17:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972448768001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1767029565672208384}} 
[2026-09-09 17:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":178470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:25:37] local.INFO: GPS data processed {"connection_id":178470,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:25:37] local.INFO: Acknowledgment sent {"connection_id":178470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:25:38] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:25:38] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:25:38] local.INFO: IMEI packet received {"connection_id":175672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":175672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:25:43] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:25:43] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:25:43] local.INFO: IMEI packet received {"connection_id":175672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":175672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:25:44] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:25:44] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:25:44] local.INFO: Packet analysis {"connection_id":175672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:25:44] local.INFO: Extracted packet for processing {"connection_id":175672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":175672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:25:44] local.INFO: GPS data processed {"connection_id":175672,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:25:44] local.INFO: Acknowledgment sent {"connection_id":175672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:26:08] local.INFO: TCP Data received {"connection_id":178470,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086054b28012d18acc007217158004b007f22..."} 
[2026-09-09 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086054b28012d18acc007217158004b007f22..."} 
[2026-09-09 17:26:08] local.INFO: Processing buffer {"connection_id":178470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086054b28012d18acc007217158004b007f22..."} 
[2026-09-09 17:26:08] local.INFO: Packet analysis {"connection_id":178470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08605"} 
[2026-09-09 17:26:08] local.INFO: Extracted packet for processing {"connection_id":178470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08605"} 
[2026-09-09 17:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756591808,"raw_latitude":119632216,"longitude_deg":75.6591808,"latitude_deg":11.9632216,"altitude":75,"angle":127,"satellites":34,"speed":34,"hex_longitude":"2d18acc0","hex_latitude":"07217158","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972449280001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19123599583477760,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769210996741550080,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26: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-09-09 17:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788954889000,"timestamp_ms":1788954889000,"timestamp_seconds":1788954889,"priority":1,"record_length":96,"hex_timestamp":"000001a086054b28"} 
[2026-09-09 17:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 17:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":178470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":178470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":178470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972449280001,"66":14396,"106":206,"83":41984,"24":34,"16":19123599583477760,"45":1769210996741550080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 17:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972449280001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:26:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 17:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19123599583477760,"km_value":19123599583477.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769210996741550080,"description":"Unknown IO ID 45"} 
[2026-09-09 17:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972449280001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1769210996741550080}} 
[2026-09-09 17:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":178470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:26:08] local.INFO: GPS data processed {"connection_id":178470,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:26:08] local.INFO: Acknowledgment sent {"connection_id":178470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:26:16] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:26:16] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:26:16] local.INFO: Packet analysis {"connection_id":175672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:26:16] local.INFO: Extracted packet for processing {"connection_id":175672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":175672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:26:16] local.INFO: GPS data processed {"connection_id":175672,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:26:16] local.INFO: Acknowledgment sent {"connection_id":175672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:26:29] local.INFO: TCP Data received {"connection_id":178472,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:26:29] local.INFO: Processing buffer {"connection_id":178472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:26:29] local.INFO: IMEI packet received {"connection_id":178472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":178472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:26:35] local.INFO: TCP Data received {"connection_id":178472,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:26:35] local.INFO: Processing buffer {"connection_id":178472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:26:35] local.INFO: IMEI packet received {"connection_id":178472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":178472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:26:36] local.INFO: TCP Data received {"connection_id":178472,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860552f8012d18b18007216c30004a008e22..."} 
[2026-09-09 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860552f8012d18b18007216c30004a008e22..."} 
[2026-09-09 17:26:36] local.INFO: Processing buffer {"connection_id":178472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860552f8012d18b18007216c30004a008e22..."} 
[2026-09-09 17:26:36] local.INFO: Packet analysis {"connection_id":178472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08605"} 
[2026-09-09 17:26:36] local.INFO: Extracted packet for processing {"connection_id":178472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08605"} 
[2026-09-09 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119630896,"longitude_deg":75.6593024,"latitude_deg":11.9630896,"altitude":74,"angle":142,"satellites":34,"speed":36,"hex_longitude":"2d18b180","hex_latitude":"07216c30","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972451584001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19123685482823680,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778007089762883584,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788954891000,"timestamp_ms":1788954891000,"timestamp_seconds":1788954891,"priority":1,"record_length":96,"hex_timestamp":"000001a0860552f8"} 
[2026-09-09 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 17:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972451584001,"66":14070,"106":206,"83":41984,"24":36,"16":19123685482823680,"45":1778007089762883584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972451584001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:26:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 17:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19123685482823680,"km_value":19123685482823.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778007089762883584,"description":"Unknown IO ID 45"} 
[2026-09-09 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972451584001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1778007089762883584}} 
[2026-09-09 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":178472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:26:36] local.INFO: GPS data processed {"connection_id":178472,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:26:36] local.INFO: Acknowledgment sent {"connection_id":178472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:26:38] local.INFO: TCP Data received {"connection_id":177079,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:26:38] local.INFO: Processing buffer {"connection_id":177079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:26:38] local.INFO: IMEI packet received {"connection_id":177079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":177079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:26:43] local.INFO: TCP Data received {"connection_id":177079,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:26:43] local.INFO: Processing buffer {"connection_id":177079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:26:43] local.INFO: IMEI packet received {"connection_id":177079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":177079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:26:45] local.INFO: TCP Data received {"connection_id":177079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:26:45] local.INFO: Processing buffer {"connection_id":177079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:26:45] local.INFO: Packet analysis {"connection_id":177079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:26:45] local.INFO: Extracted packet for processing {"connection_id":177079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:26:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":177079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:26:45] local.INFO: GPS data processed {"connection_id":177079,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:26:45] local.INFO: Acknowledgment sent {"connection_id":177079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:27:07] local.INFO: TCP Data received {"connection_id":178472,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08606ba58012d1948c00720ae38002c006e20..."} 
[2026-09-09 17:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08606ba58012d1948c00720ae38002c006e20..."} 
[2026-09-09 17:27:07] local.INFO: Processing buffer {"connection_id":178472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08606ba58012d1948c00720ae38002c006e20..."} 
[2026-09-09 17:27:07] local.INFO: Packet analysis {"connection_id":178472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08606"} 
[2026-09-09 17:27:07] local.INFO: Extracted packet for processing {"connection_id":178472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08606"} 
[2026-09-09 17:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756631744,"raw_latitude":119582264,"longitude_deg":75.6631744,"latitude_deg":11.9582264,"altitude":44,"angle":110,"satellites":32,"speed":40,"hex_longitude":"2d1948c0","hex_latitude":"0720ae38","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972474624001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19126936773066752,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817835798955134976,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788954983000,"timestamp_ms":1788954983000,"timestamp_seconds":1788954983,"priority":1,"record_length":96,"hex_timestamp":"000001a08606ba58"} 
[2026-09-09 17:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":224,"data_length":795,"current_offset":136} 
[2026-09-09 17:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972474624001,"66":14048,"103":206,"83":41984,"24":40,"16":19126936773066752,"45":1817835798955134976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972474624001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:27:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19126936773066752,"km_value":19126936773066.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817835798955134976,"description":"Unknown IO ID 45"} 
[2026-09-09 17:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972474624001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1817835798955134976}} 
[2026-09-09 17:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":178472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:27:08] local.INFO: GPS data processed {"connection_id":178472,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:27:08] local.INFO: Acknowledgment sent {"connection_id":178472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:27:17] local.INFO: TCP Data received {"connection_id":177079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:27:17] local.INFO: Processing buffer {"connection_id":177079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:27:17] local.INFO: Packet analysis {"connection_id":177079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:27:17] local.INFO: Extracted packet for processing {"connection_id":177079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":177079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:27:17] local.INFO: GPS data processed {"connection_id":177079,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:27:17] local.INFO: Acknowledgment sent {"connection_id":177079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:27:33] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:33] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:33] local.INFO: IMEI packet received {"connection_id":177080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":177080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:27:34] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:34] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:34] local.INFO: IMEI packet received {"connection_id":177080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":177080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:27:34] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:34] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:34] local.INFO: IMEI packet received {"connection_id":177080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":177080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:27:38] local.INFO: TCP Data received {"connection_id":178474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:27:38] local.INFO: Processing buffer {"connection_id":178474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:27:38] local.INFO: IMEI packet received {"connection_id":178474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":178474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:27:40] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:40] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:27:40] local.INFO: IMEI packet received {"connection_id":177080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":177080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:27:40] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08606c610012d1955000720ab98002a006120..."} 
[2026-09-09 17:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08606c610012d1955000720ab98002a006120..."} 
[2026-09-09 17:27:40] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08606c610012d1955000720ab98002a006120..."} 
[2026-09-09 17:27:40] local.INFO: Packet analysis {"connection_id":177080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08606"} 
[2026-09-09 17:27:40] local.INFO: Extracted packet for processing {"connection_id":177080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08606"} 
[2026-09-09 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119581592,"longitude_deg":75.663488,"latitude_deg":11.9581592,"altitude":42,"angle":97,"satellites":32,"speed":41,"hex_longitude":"2d195500","hex_latitude":"0720ab98","is_valid_coordinates":true} 
[2026-09-09 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972475648001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19127091391889408,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821917186116958208,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788954986000,"timestamp_ms":1788954986000,"timestamp_seconds":1788954986,"priority":1,"record_length":96,"hex_timestamp":"000001a08606c610"} 
[2026-09-09 17:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 17:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972475648001,"66":13493,"103":206,"83":41984,"24":41,"16":19127091391889408,"45":1821917186116958208},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972475648001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:27:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19127091391889408,"km_value":19127091391889.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821917186116958208,"description":"Unknown IO ID 45"} 
[2026-09-09 17:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972475648001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1821917186116958208}} 
[2026-09-09 17:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":177080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:27:41] local.INFO: GPS data processed {"connection_id":177080,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:27:41] local.INFO: Acknowledgment sent {"connection_id":177080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:27:43] local.INFO: TCP Data received {"connection_id":178474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:27:43] local.INFO: Processing buffer {"connection_id":178474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:27:43] local.INFO: IMEI packet received {"connection_id":178474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":178474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:27:44] local.INFO: TCP Data received {"connection_id":178474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:27:44] local.INFO: Processing buffer {"connection_id":178474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:27:44] local.INFO: Packet analysis {"connection_id":178474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:27:44] local.INFO: Extracted packet for processing {"connection_id":178474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":178474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:27:44] local.INFO: GPS data processed {"connection_id":178474,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:27:44] local.INFO: Acknowledgment sent {"connection_id":178474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:28:11] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08607bc28012d19ae0007209370002b00cb22..."} 
[2026-09-09 17:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08607bc28012d19ae0007209370002b00cb22..."} 
[2026-09-09 17:28:11] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08607bc28012d19ae0007209370002b00cb22..."} 
[2026-09-09 17:28:11] local.INFO: Packet analysis {"connection_id":177080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08607"} 
[2026-09-09 17:28:11] local.INFO: Extracted packet for processing {"connection_id":177080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08607"} 
[2026-09-09 17:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119575408,"longitude_deg":75.6657664,"latitude_deg":11.9575408,"altitude":43,"angle":203,"satellites":34,"speed":27,"hex_longitude":"2d19ae00","hex_latitude":"07209370","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972489472001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19128706299592704,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439693989888,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28: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-09-09 17:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788955049000,"timestamp_ms":1788955049000,"timestamp_seconds":1788955049,"priority":1,"record_length":96,"hex_timestamp":"000001a08607bc28"} 
[2026-09-09 17:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-09 17:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972489472001,"66":14396,"103":206,"83":41984,"24":27,"16":19128706299592704,"45":1854216439693989888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972489472001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:28:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19128706299592704,"km_value":19128706299592.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439693989888,"description":"Unknown IO ID 45"} 
[2026-09-09 17:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972489472001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1854216439693989888}} 
[2026-09-09 17:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":177080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:28:11] local.INFO: GPS data processed {"connection_id":177080,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:28:11] local.INFO: Acknowledgment sent {"connection_id":177080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:28:14] local.INFO: TCP Data received {"connection_id":178475,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:28:14] local.INFO: Processing buffer {"connection_id":178475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:28:14] local.INFO: IMEI packet received {"connection_id":178475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":178475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:28:16] local.INFO: TCP Data received {"connection_id":178474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:28:16] local.INFO: Processing buffer {"connection_id":178474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:28:16] local.INFO: Packet analysis {"connection_id":178474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:28:16] local.INFO: Extracted packet for processing {"connection_id":178474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":178474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:28:16] local.INFO: GPS data processed {"connection_id":178474,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:28:16] local.INFO: Acknowledgment sent {"connection_id":178474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:28:30] local.INFO: TCP Data received {"connection_id":177081,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:28:30] local.INFO: Processing buffer {"connection_id":177081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:28:30] local.INFO: IMEI packet received {"connection_id":177081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":177081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:28:33] local.INFO: TCP Data received {"connection_id":177081,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:28:33] local.INFO: Processing buffer {"connection_id":177081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:28:33] local.INFO: IMEI packet received {"connection_id":177081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":177081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:28:34] local.INFO: TCP Data received {"connection_id":177081,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08607c010012d19ad40072090b8002b00c021..."} 
[2026-09-09 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08607c010012d19ad40072090b8002b00c021..."} 
[2026-09-09 17:28:34] local.INFO: Processing buffer {"connection_id":177081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08607c010012d19ad40072090b8002b00c021..."} 
[2026-09-09 17:28:34] local.INFO: Packet analysis {"connection_id":177081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08607"} 
[2026-09-09 17:28:34] local.INFO: Extracted packet for processing {"connection_id":177081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08607"} 
[2026-09-09 17:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574712,"longitude_deg":75.6657472,"latitude_deg":11.9574712,"altitude":43,"angle":192,"satellites":33,"speed":27,"hex_longitude":"2d19ad40","hex_latitude":"072090b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972492544001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19128740659331072,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527507156992,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788955050000,"timestamp_ms":1788955050000,"timestamp_seconds":1788955050,"priority":1,"record_length":96,"hex_timestamp":"000001a08607c010"} 
[2026-09-09 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-09-09 17:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 17:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972492544001,"66":14396,"103":206,"83":41984,"24":27,"16":19128740659331072,"45":1850416527507156992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972492544001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:28:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19128740659331072,"km_value":19128740659331.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527507156992,"description":"Unknown IO ID 45"} 
[2026-09-09 17:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972492544001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1850416527507156992}} 
[2026-09-09 17:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":177081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:28:34] local.INFO: GPS data processed {"connection_id":177081,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:28:34] local.INFO: Acknowledgment sent {"connection_id":177081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:28:41] local.INFO: TCP Data received {"connection_id":175892,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:28:41] local.INFO: Processing buffer {"connection_id":175892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:28:41] local.INFO: IMEI packet received {"connection_id":175892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":175892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:28:43] local.INFO: TCP Data received {"connection_id":177082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:28:43] local.INFO: Processing buffer {"connection_id":177082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:28:43] local.INFO: IMEI packet received {"connection_id":177082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":177082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:28:48] local.INFO: TCP Data received {"connection_id":177082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:28:48] local.INFO: Processing buffer {"connection_id":177082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:28:48] local.INFO: IMEI packet received {"connection_id":177082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":177082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:28:51] local.INFO: TCP Data received {"connection_id":177082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:28:51] local.INFO: Processing buffer {"connection_id":177082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08603c870012d34cc4006aa49080000013422..."} 
[2026-09-09 17:28:51] local.INFO: Packet analysis {"connection_id":177082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:28:51] local.INFO: Extracted packet for processing {"connection_id":177082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08603"} 
[2026-09-09 17:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972349184001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788954790000,"timestamp_ms":1788954790000,"timestamp_seconds":1788954790,"priority":1,"record_length":96,"hex_timestamp":"000001a08603c870"} 
[2026-09-09 17:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 17:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972349184001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972349184001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972349184001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":177082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:28:51] local.INFO: GPS data processed {"connection_id":177082,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:28:51] local.INFO: Acknowledgment sent {"connection_id":177082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:28:52] local.INFO: TCP Data received {"connection_id":177082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:28:52] local.INFO: Processing buffer {"connection_id":177082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:28:52] local.INFO: Packet analysis {"connection_id":177082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:28:52] local.INFO: Extracted packet for processing {"connection_id":177082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":177082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:28:52] local.INFO: GPS data processed {"connection_id":177082,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:28:52] local.INFO: Acknowledgment sent {"connection_id":177082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:29:05] local.INFO: TCP Data received {"connection_id":177081,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08607c7e0012d19ad8007208a90002a00ac21..."} 
[2026-09-09 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08607c7e0012d19ad8007208a90002a00ac21..."} 
[2026-09-09 17:29:05] local.INFO: Processing buffer {"connection_id":177081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08607c7e0012d19ad8007208a90002a00ac21..."} 
[2026-09-09 17:29:05] local.INFO: Packet analysis {"connection_id":177081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08607"} 
[2026-09-09 17:29:05] local.INFO: Extracted packet for processing {"connection_id":177081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08607"} 
[2026-09-09 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119573136,"longitude_deg":75.6657536,"latitude_deg":11.9573136,"altitude":42,"angle":172,"satellites":33,"speed":31,"hex_longitude":"2d19ad80","hex_latitude":"07208a90","is_valid_coordinates":true} 
[2026-09-09 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972492800001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19128817968742400,"note":"Value kept but may cause issues"} 
[2026-09-09 17:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274445824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:29: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-09-09 17:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788955052000,"timestamp_ms":1788955052000,"timestamp_seconds":1788955052,"priority":1,"record_length":96,"hex_timestamp":"000001a08607c7e0"} 
[2026-09-09 17:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-09 17:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972492800001,"66":14276,"103":206,"83":41984,"24":31,"16":19128817968742400,"45":1850205421274445824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972492800001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:29:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19128817968742400,"km_value":19128817968742.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274445824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972492800001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1850205421274445824}} 
[2026-09-09 17:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":177081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:29:05] local.INFO: GPS data processed {"connection_id":177081,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:29:05] local.INFO: Acknowledgment sent {"connection_id":177081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:29:27] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:29:27] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:29:27] local.INFO: IMEI packet received {"connection_id":175674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":175674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:29:30] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:29:30] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:29:30] local.INFO: IMEI packet received {"connection_id":175674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":175674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:29:35] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:29:35] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:29:35] local.INFO: IMEI packet received {"connection_id":175674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":175674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:29:35] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08607e338012d19b440072071e80028009e24..."} 
[2026-09-09 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08607e338012d19b440072071e80028009e24..."} 
[2026-09-09 17:29:35] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08607e338012d19b440072071e80028009e24..."} 
[2026-09-09 17:29:35] local.INFO: Packet analysis {"connection_id":175674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08607"} 
[2026-09-09 17:29:35] local.INFO: Extracted packet for processing {"connection_id":175674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08607"} 
[2026-09-09 17:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119566824,"longitude_deg":75.6659264,"latitude_deg":11.9566824,"altitude":40,"angle":158,"satellites":36,"speed":38,"hex_longitude":"2d19b440","hex_latitude":"072071e8","is_valid_coordinates":true} 
[2026-09-09 17:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972493312001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19129135796322304,"note":"Value kept but may cause issues"} 
[2026-09-09 17:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018220032,"note":"Value kept but may cause issues"} 
[2026-09-09 17:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955059000,"timestamp_ms":1788955059000,"timestamp_seconds":1788955059,"priority":1,"record_length":96,"hex_timestamp":"000001a08607e338"} 
[2026-09-09 17:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-09 17:29:35] 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-09-09 17:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972493312001,"66":14048,"103":206,"83":41984,"24":38,"16":19129135796322304,"45":1850275790018220032},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972493312001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:29:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19129135796322304,"km_value":19129135796322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018220032,"description":"Unknown IO ID 45"} 
[2026-09-09 17:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972493312001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1850275790018220032}} 
[2026-09-09 17:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":175674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:29:36] local.INFO: GPS data processed {"connection_id":175674,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:29:36] local.INFO: Acknowledgment sent {"connection_id":175674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:29:38] local.INFO: TCP Data received {"connection_id":178476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:29:38] local.INFO: Processing buffer {"connection_id":178476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:29:38] local.INFO: IMEI packet received {"connection_id":178476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":178476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:29:43] local.INFO: TCP Data received {"connection_id":178476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:29:43] local.INFO: Processing buffer {"connection_id":178476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:29:43] local.INFO: IMEI packet received {"connection_id":178476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":178476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:29:44] local.INFO: TCP Data received {"connection_id":178476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:29:44] local.INFO: Processing buffer {"connection_id":178476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:29:44] local.INFO: Packet analysis {"connection_id":178476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:29:44] local.INFO: Extracted packet for processing {"connection_id":178476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:29:44] 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-09-09 17: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-09-09 17:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":178476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:29:44] local.INFO: GPS data processed {"connection_id":178476,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:29:44] local.INFO: Acknowledgment sent {"connection_id":178476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:30:07] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086097978012d19aa00071ff1280032012221..."} 
[2026-09-09 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086097978012d19aa00071ff1280032012221..."} 
[2026-09-09 17:30:07] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086097978012d19aa00071ff1280032012221..."} 
[2026-09-09 17:30:07] local.INFO: Packet analysis {"connection_id":175674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:30:07] local.INFO: Extracted packet for processing {"connection_id":175674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119533864,"longitude_deg":75.665664,"latitude_deg":11.9533864,"altitude":50,"angle":290,"satellites":33,"speed":22,"hex_longitude":"2d19aa00","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972520960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19131433603825664,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851260952426545152,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30: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-09-09 17:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788955163000,"timestamp_ms":1788955163000,"timestamp_seconds":1788955163,"priority":1,"record_length":96,"hex_timestamp":"000001a086097978"} 
[2026-09-09 17:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:30: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-09-09 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 17:30: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-09-09 17: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-09-09 17:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972520960001,"66":13993,"101":206,"83":41984,"24":22,"16":19131433603825664,"45":1851260952426545152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972520960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:30:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19131433603825664,"km_value":19131433603825.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851260952426545152,"description":"Unknown IO ID 45"} 
[2026-09-09 17:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972520960001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1851260952426545152}} 
[2026-09-09 17:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":175674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:30:07] local.INFO: GPS data processed {"connection_id":175674,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:30:07] local.INFO: Acknowledgment sent {"connection_id":175674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:30:16] local.INFO: TCP Data received {"connection_id":178476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:30:16] local.INFO: Processing buffer {"connection_id":178476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:30:16] local.INFO: Packet analysis {"connection_id":178476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:30:16] local.INFO: Extracted packet for processing {"connection_id":178476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":178476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:30:16] local.INFO: GPS data processed {"connection_id":178476,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:30:16] local.INFO: Acknowledgment sent {"connection_id":178476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:30:24] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:30:24] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:30:24] local.INFO: IMEI packet received {"connection_id":175675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":175675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:30:25] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860a0de8012d7e334005e0a040000600ae23..."} 
[2026-09-09 17:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860a0de8012d7e334005e0a040000600ae23..."} 
[2026-09-09 17:30:25] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860a0de8012d7e334005e0a040000600ae23..."} 
[2026-09-09 17:30:25] local.INFO: Packet analysis {"connection_id":175675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:30:25] local.INFO: Extracted packet for processing {"connection_id":175675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763245376,"raw_latitude":98607168,"longitude_deg":76.3245376,"latitude_deg":9.8607168,"altitude":6,"angle":174,"satellites":35,"speed":35,"hex_longitude":"2d7e3340","hex_latitude":"05e0a040","is_valid_coordinates":true} 
[2026-09-09 17:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972530944001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130395219991461888,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093471360346677248,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:25] 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-09-09 17:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788955201000,"timestamp_ms":1788955201000,"timestamp_seconds":1788955201,"priority":1,"record_length":96,"hex_timestamp":"000001a0860a0de8"} 
[2026-09-09 17:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-09 17:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972530944001,"66":13689,"105":206,"85":15104,"24":35,"16":130395219991461888,"45":9093471360346677248},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-09 17:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972530944001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:30:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130395219991461888,"km_value":130395219991461.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093471360346677248,"description":"Unknown IO ID 45"} 
[2026-09-09 17:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972530944001,"power":13689,"unknown_105":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9093471360346677248}} 
[2026-09-09 17:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":175675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:30:25] local.INFO: GPS data processed {"connection_id":175675,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:30:25] local.INFO: Acknowledgment sent {"connection_id":175675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:30:28] local.INFO: TCP Data received {"connection_id":178477,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:28] local.INFO: Processing buffer {"connection_id":178477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:28] local.INFO: IMEI packet received {"connection_id":178477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":178477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:30:29] local.INFO: TCP Data received {"connection_id":178477,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:29] local.INFO: Processing buffer {"connection_id":178477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:29] local.INFO: IMEI packet received {"connection_id":178477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":178477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:30:31] local.INFO: TCP Data received {"connection_id":178477,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:31] local.INFO: Processing buffer {"connection_id":178477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:31] local.INFO: IMEI packet received {"connection_id":178477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":178477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:30:35] local.INFO: TCP Data received {"connection_id":178477,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:35] local.INFO: Processing buffer {"connection_id":178477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:30:35] local.INFO: IMEI packet received {"connection_id":178477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":178477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:30:35] local.INFO: TCP Data received {"connection_id":178477,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086098148012d19a640071ff2280032011521..."} 
[2026-09-09 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086098148012d19a640071ff2280032011521..."} 
[2026-09-09 17:30:35] local.INFO: Processing buffer {"connection_id":178477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086098148012d19a640071ff2280032011521..."} 
[2026-09-09 17:30:35] local.INFO: Packet analysis {"connection_id":178477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:30:35] local.INFO: Extracted packet for processing {"connection_id":178477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756655680,"raw_latitude":119534120,"longitude_deg":75.665568,"latitude_deg":11.953412,"altitude":50,"angle":277,"satellites":33,"speed":18,"hex_longitude":"2d19a640","hex_latitude":"071ff228","is_valid_coordinates":true} 
[2026-09-09 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972521728001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19131480848465920,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627589679104,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955165000,"timestamp_ms":1788955165000,"timestamp_seconds":1788955165,"priority":1,"record_length":96,"hex_timestamp":"000001a086098148"} 
[2026-09-09 17:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 17:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972521728001,"66":14070,"101":206,"83":41984,"24":18,"16":19131480848465920,"45":1849290627589679104},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972521728001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:30:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19131480848465920,"km_value":19131480848465.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627589679104,"description":"Unknown IO ID 45"} 
[2026-09-09 17:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972521728001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1849290627589679104}} 
[2026-09-09 17:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":178477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:30:36] local.INFO: GPS data processed {"connection_id":178477,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:30:36] local.INFO: Acknowledgment sent {"connection_id":178477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:30:38] local.INFO: TCP Data received {"connection_id":178478,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:30:38] local.INFO: Processing buffer {"connection_id":178478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:30:38] local.INFO: IMEI packet received {"connection_id":178478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":178478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:30:43] local.INFO: TCP Data received {"connection_id":178478,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:30:43] local.INFO: Processing buffer {"connection_id":178478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:30:43] local.INFO: IMEI packet received {"connection_id":178478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":178478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:30:44] local.INFO: TCP Data received {"connection_id":178478,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:30:44] local.INFO: Processing buffer {"connection_id":178478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:30:44] local.INFO: Packet analysis {"connection_id":178478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:30:44] local.INFO: Extracted packet for processing {"connection_id":178478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:30:44] 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-09-09 17: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-09-09 17:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:30: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-09-09 17:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":178478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:30:44] local.INFO: GPS data processed {"connection_id":178478,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:30:44] local.INFO: Acknowledgment sent {"connection_id":178478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:30:56] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860a2d28012d7e3a8005e08148000600a322..."} 
[2026-09-09 17:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860a2d28012d7e3a8005e08148000600a322..."} 
[2026-09-09 17:30:56] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860a2d28012d7e3a8005e08148000600a322..."} 
[2026-09-09 17:30:56] local.INFO: Packet analysis {"connection_id":175675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:30:56] local.INFO: Extracted packet for processing {"connection_id":175675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":98599240,"longitude_deg":76.3247232,"latitude_deg":9.859924,"altitude":6,"angle":163,"satellites":34,"speed":46,"hex_longitude":"2d7e3a80","hex_latitude":"05e08148","is_valid_coordinates":true} 
[2026-09-09 17:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972531456001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130395615128453120,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093682466578776064,"note":"Value kept but may cause issues"} 
[2026-09-09 17:30:56] 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-09-09 17:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788955209000,"timestamp_ms":1788955209000,"timestamp_seconds":1788955209,"priority":1,"record_length":96,"hex_timestamp":"000001a0860a2d28"} 
[2026-09-09 17:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 17:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972531456001,"66":13678,"105":206,"85":15104,"24":46,"16":130395615128453120,"45":9093682466578776064},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-09 17:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972531456001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:30:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130395615128453120,"km_value":130395615128453.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093682466578776064,"description":"Unknown IO ID 45"} 
[2026-09-09 17:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972531456001,"power":13678,"unknown_105":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9093682466578776064}} 
[2026-09-09 17:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":175675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:30:56] local.INFO: GPS data processed {"connection_id":175675,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:30:56] local.INFO: Acknowledgment sent {"connection_id":175675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:31:07] local.INFO: TCP Data received {"connection_id":178477,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086098918012d19a380071ff1b0003300fc21..."} 
[2026-09-09 17:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086098918012d19a380071ff1b0003300fc21..."} 
[2026-09-09 17:31:07] local.INFO: Processing buffer {"connection_id":178477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086098918012d19a380071ff1b0003300fc21..."} 
[2026-09-09 17:31:07] local.INFO: Packet analysis {"connection_id":178477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:31:07] local.INFO: Extracted packet for processing {"connection_id":178477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119534000,"longitude_deg":75.6654976,"latitude_deg":11.9534,"altitude":51,"angle":252,"satellites":33,"speed":13,"hex_longitude":"2d19a380","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-09-09 17:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972522240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19131515208204288,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096427079680,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31: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-09-09 17:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788955167000,"timestamp_ms":1788955167000,"timestamp_seconds":1788955167,"priority":1,"record_length":96,"hex_timestamp":"000001a086098918"} 
[2026-09-09 17:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:31: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-09-09 17:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 17:31: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-09-09 17:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972522240001,"66":13798,"101":206,"83":41984,"24":13,"16":19131515208204288,"45":1848235096427079680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972522240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:31:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19131515208204288,"km_value":19131515208204.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096427079680,"description":"Unknown IO ID 45"} 
[2026-09-09 17:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972522240001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1848235096427079680}} 
[2026-09-09 17:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":178477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:31:07] local.INFO: GPS data processed {"connection_id":178477,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:31:07] local.INFO: Acknowledgment sent {"connection_id":178477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:31:16] local.INFO: TCP Data received {"connection_id":178478,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:31:16] local.INFO: Processing buffer {"connection_id":178478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:31:16] local.INFO: Packet analysis {"connection_id":178478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:31:16] local.INFO: Extracted packet for processing {"connection_id":178478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":178478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:31:16] local.INFO: GPS data processed {"connection_id":178478,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:31:16] local.INFO: Acknowledgment sent {"connection_id":178478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:31:19] local.INFO: TCP Data received {"connection_id":178479,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:31:19] local.INFO: Processing buffer {"connection_id":178479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:31:19] local.INFO: IMEI packet received {"connection_id":178479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":178479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:31:24] local.INFO: TCP Data received {"connection_id":178479,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:31:24] local.INFO: Processing buffer {"connection_id":178479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:31:24] local.INFO: IMEI packet received {"connection_id":178479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":178479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:31:25] local.INFO: TCP Data received {"connection_id":178479,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860a40b0012d7e3f0005e06ac0000500af24..."} 
[2026-09-09 17:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860a40b0012d7e3f0005e06ac0000500af24..."} 
[2026-09-09 17:31:25] local.INFO: Processing buffer {"connection_id":178479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860a40b0012d7e3f0005e06ac0000500af24..."} 
[2026-09-09 17:31:25] local.INFO: Packet analysis {"connection_id":178479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:31:25] local.INFO: Extracted packet for processing {"connection_id":178479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763248384,"raw_latitude":98593472,"longitude_deg":76.3248384,"latitude_deg":9.8593472,"altitude":5,"angle":175,"satellites":36,"speed":44,"hex_longitude":"2d7e3f00","hex_latitude":"05e06ac0","is_valid_coordinates":true} 
[2026-09-09 17:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972533504001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130395898596294656,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723160157898752,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:25] 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-09-09 17:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788955214000,"timestamp_ms":1788955214000,"timestamp_seconds":1788955214,"priority":1,"record_length":96,"hex_timestamp":"000001a0860a40b0"} 
[2026-09-09 17:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 17:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972533504001,"66":13678,"105":206,"85":15104,"24":44,"16":130395898596294656,"45":9095723160157898752},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-09 17:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972533504001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:31:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130395898596294656,"km_value":130395898596294.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723160157898752,"description":"Unknown IO ID 45"} 
[2026-09-09 17:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972533504001,"power":13678,"unknown_105":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9095723160157898752}} 
[2026-09-09 17:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":178479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:31:25] local.INFO: GPS data processed {"connection_id":178479,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:31:25] local.INFO: Acknowledgment sent {"connection_id":178479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:31:29] local.INFO: TCP Data received {"connection_id":178480,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:31:29] local.INFO: Processing buffer {"connection_id":178480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:31:29] local.INFO: IMEI packet received {"connection_id":178480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":178480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:31:35] local.INFO: TCP Data received {"connection_id":178480,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:31:35] local.INFO: Processing buffer {"connection_id":178480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:31:35] local.INFO: IMEI packet received {"connection_id":178480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":178480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:31:36] local.INFO: TCP Data received {"connection_id":178480,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860994d0012d199f00071ff0900035010c23..."} 
[2026-09-09 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860994d0012d199f00071ff0900035010c23..."} 
[2026-09-09 17:31:36] local.INFO: Processing buffer {"connection_id":178480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860994d0012d199f00071ff0900035010c23..."} 
[2026-09-09 17:31:36] local.INFO: Packet analysis {"connection_id":178480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:31:36] local.INFO: Extracted packet for processing {"connection_id":178480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756653824,"raw_latitude":119533712,"longitude_deg":75.6653824,"latitude_deg":11.9533712,"altitude":53,"angle":268,"satellites":35,"speed":16,"hex_longitude":"2d199f00","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972522752001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19131571042779136,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040241094656,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31: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-09-09 17:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788955170000,"timestamp_ms":1788955170000,"timestamp_seconds":1788955170,"priority":1,"record_length":96,"hex_timestamp":"000001a0860994d0"} 
[2026-09-09 17:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 17:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972522752001,"66":13820,"101":206,"83":41984,"24":16,"16":19131571042779136,"45":1847461040241094656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972522752001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:31:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19131571042779136,"km_value":19131571042779.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040241094656,"description":"Unknown IO ID 45"} 
[2026-09-09 17:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972522752001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1847461040241094656}} 
[2026-09-09 17:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":178480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:31:36] local.INFO: GPS data processed {"connection_id":178480,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:31:36] local.INFO: Acknowledgment sent {"connection_id":178480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:31:38] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:31:38] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:31:38] local.INFO: IMEI packet received {"connection_id":175676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":175676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:31:43] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:31:43] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:31:43] local.INFO: IMEI packet received {"connection_id":175676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":175676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:31:45] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:31:45] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:31:45] local.INFO: Packet analysis {"connection_id":175676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:31:45] local.INFO: Extracted packet for processing {"connection_id":175676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:31:45] 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-09-09 17:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:31:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":175676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:31:45] local.INFO: GPS data processed {"connection_id":175676,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:31:45] local.INFO: Acknowledgment sent {"connection_id":175676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:31:57] local.INFO: TCP Data received {"connection_id":178479,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860a6ba8012d7e420005e04498000600a721..."} 
[2026-09-09 17:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860a6ba8012d7e420005e04498000600a721..."} 
[2026-09-09 17:31:57] local.INFO: Processing buffer {"connection_id":178479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860a6ba8012d7e420005e04498000600a721..."} 
[2026-09-09 17:31:57] local.INFO: Packet analysis {"connection_id":178479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:31:57] local.INFO: Extracted packet for processing {"connection_id":178479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763249152,"raw_latitude":98583704,"longitude_deg":76.3249152,"latitude_deg":9.8583704,"altitude":6,"angle":167,"satellites":33,"speed":40,"hex_longitude":"2d7e4200","hex_latitude":"05e04498","is_valid_coordinates":true} 
[2026-09-09 17:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972534784001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130396375337664512,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096989797551620096,"note":"Value kept but may cause issues"} 
[2026-09-09 17:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788955225000,"timestamp_ms":1788955225000,"timestamp_seconds":1788955225,"priority":1,"record_length":96,"hex_timestamp":"000001a0860a6ba8"} 
[2026-09-09 17:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 17:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972534784001,"66":13939,"104":206,"85":15104,"24":40,"16":130396375337664512,"45":9096989797551620096},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-09 17:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972534784001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:31:57] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-09 17:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130396375337664512,"km_value":130396375337664.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096989797551620096,"description":"Unknown IO ID 45"} 
[2026-09-09 17:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972534784001,"power":13939,"unknown_104":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9096989797551620096}} 
[2026-09-09 17:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":178479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:31:57] local.INFO: GPS data processed {"connection_id":178479,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:31:57] local.INFO: Acknowledgment sent {"connection_id":178479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:32:07] local.INFO: TCP Data received {"connection_id":178480,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086099ca0012d199c40071ff0e80036011b23..."} 
[2026-09-09 17:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086099ca0012d199c40071ff0e80036011b23..."} 
[2026-09-09 17:32:07] local.INFO: Processing buffer {"connection_id":178480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086099ca0012d199c40071ff0e80036011b23..."} 
[2026-09-09 17:32:07] local.INFO: Packet analysis {"connection_id":178480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:32:07] local.INFO: Extracted packet for processing {"connection_id":178480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756653120,"raw_latitude":119533800,"longitude_deg":75.665312,"latitude_deg":11.95338,"altitude":54,"angle":283,"satellites":35,"speed":12,"hex_longitude":"2d199c40","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972523520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19131605402517504,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846194402845822976,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32: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-09-09 17:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788955172000,"timestamp_ms":1788955172000,"timestamp_seconds":1788955172,"priority":1,"record_length":96,"hex_timestamp":"000001a086099ca0"} 
[2026-09-09 17:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:32: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-09-09 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 17:32: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-09-09 17: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-09-09 17:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972523520001,"66":12841,"102":206,"83":41984,"24":12,"16":19131605402517504,"45":1846194402845822976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972523520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:32:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19131605402517504,"km_value":19131605402517.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846194402845822976,"description":"Unknown IO ID 45"} 
[2026-09-09 17:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972523520001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1846194402845822976}} 
[2026-09-09 17:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":178480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:32:07] local.INFO: GPS data processed {"connection_id":178480,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:32:07] local.INFO: Acknowledgment sent {"connection_id":178480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:32:16] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:32:16] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:32:16] local.INFO: Packet analysis {"connection_id":175676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:32:16] local.INFO: Extracted packet for processing {"connection_id":175676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":175676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:32:16] local.INFO: GPS data processed {"connection_id":175676,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:32:16] local.INFO: Acknowledgment sent {"connection_id":175676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:32:19] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:32:19] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:32:19] local.INFO: IMEI packet received {"connection_id":175677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":175677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:32:24] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:32:24] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:32:24] local.INFO: IMEI packet received {"connection_id":175677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":175677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:32:25] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860a96a0012d7e4ec005e022000003009f21..."} 
[2026-09-09 17:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860a96a0012d7e4ec005e022000003009f21..."} 
[2026-09-09 17:32:25] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860a96a0012d7e4ec005e022000003009f21..."} 
[2026-09-09 17:32:25] local.INFO: Packet analysis {"connection_id":175677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:32:25] local.INFO: Extracted packet for processing {"connection_id":175677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763252416,"raw_latitude":98574848,"longitude_deg":76.3252416,"latitude_deg":9.8574848,"altitude":3,"angle":159,"satellites":33,"speed":42,"hex_longitude":"2d7e4ec0","hex_latitude":"05e02200","is_valid_coordinates":true} 
[2026-09-09 17:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972537600001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130396830604197888,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097834222479251456,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788955236000,"timestamp_ms":1788955236000,"timestamp_seconds":1788955236,"priority":1,"record_length":96,"hex_timestamp":"000001a0860a96a0"} 
[2026-09-09 17:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-09 17:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972537600001,"66":13678,"104":206,"85":15104,"24":42,"16":130396830604197888,"45":9097834222479251456},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-09 17:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972537600001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:32:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-09 17:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130396830604197888,"km_value":130396830604197.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097834222479251456,"description":"Unknown IO ID 45"} 
[2026-09-09 17:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972537600001,"power":13678,"unknown_104":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9097834222479251456}} 
[2026-09-09 17:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":175677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:32:25] local.INFO: GPS data processed {"connection_id":175677,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:32:25] local.INFO: Acknowledgment sent {"connection_id":175677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:32:35] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:32:35] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:32:35] local.INFO: IMEI packet received {"connection_id":175894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":175894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:32:40] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:32:40] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:32:40] local.INFO: IMEI packet received {"connection_id":175894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":175894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:32:40] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08609a858012d1998c0071ff1400038011023..."} 
[2026-09-09 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08609a858012d1998c0071ff1400038011023..."} 
[2026-09-09 17:32:40] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08609a858012d1998c0071ff1400038011023..."} 
[2026-09-09 17:32:40] local.INFO: Packet analysis {"connection_id":175894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:32:40] local.INFO: Extracted packet for processing {"connection_id":175894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756652224,"raw_latitude":119533888,"longitude_deg":75.6652224,"latitude_deg":11.9533888,"altitude":56,"angle":272,"satellites":35,"speed":12,"hex_longitude":"2d1998c0","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-09-09 17:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972524032001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19131648352190464,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845420346659891200,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32: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-09-09 17:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788955175000,"timestamp_ms":1788955175000,"timestamp_seconds":1788955175,"priority":1,"record_length":96,"hex_timestamp":"000001a08609a858"} 
[2026-09-09 17:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 17:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972524032001,"66":13015,"102":206,"83":41984,"24":12,"16":19131648352190464,"45":1845420346659891200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972524032001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:32:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19131648352190464,"km_value":19131648352190.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845420346659891200,"description":"Unknown IO ID 45"} 
[2026-09-09 17:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972524032001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1845420346659891200}} 
[2026-09-09 17:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":175894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:32:41] local.INFO: GPS data processed {"connection_id":175894,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:32:41] local.INFO: Acknowledgment sent {"connection_id":175894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:32:41] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08609cf68012d198640071ff088003c010128..."} 
[2026-09-09 17:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08609cf68012d198640071ff088003c010128..."} 
[2026-09-09 17:32:41] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08609cf68012d198640071ff088003c010128..."} 
[2026-09-09 17:32:41] local.INFO: Packet analysis {"connection_id":175894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:32:41] local.INFO: Extracted packet for processing {"connection_id":175894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756647488,"raw_latitude":119533704,"longitude_deg":75.6647488,"latitude_deg":11.9533704,"altitude":60,"angle":257,"satellites":40,"speed":22,"hex_longitude":"2d198640","hex_latitude":"071ff088","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972524800001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19131871690489856,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844435184241426432,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32: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-09-09 17:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788955185000,"timestamp_ms":1788955185000,"timestamp_seconds":1788955185,"priority":1,"record_length":96,"hex_timestamp":"000001a08609cf68"} 
[2026-09-09 17:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":215,"data_length":795,"current_offset":136} 
[2026-09-09 17:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972524800001,"66":12863,"102":206,"83":41984,"24":22,"16":19131871690489856,"45":1844435184241426432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972524800001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:32:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19131871690489856,"km_value":19131871690489.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844435184241426432,"description":"Unknown IO ID 45"} 
[2026-09-09 17:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972524800001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1844435184241426432}} 
[2026-09-09 17:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":175894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:32:41] local.INFO: GPS data processed {"connection_id":175894,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:32:41] local.INFO: Acknowledgment sent {"connection_id":175894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:32:44] local.INFO: TCP Data received {"connection_id":177085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:32:44] local.INFO: Processing buffer {"connection_id":177085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:32:44] local.INFO: IMEI packet received {"connection_id":177085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":177085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:32:48] local.INFO: TCP Data received {"connection_id":177085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:32:48] local.INFO: Processing buffer {"connection_id":177085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:32:48] local.INFO: IMEI packet received {"connection_id":177085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":177085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:32:49] local.INFO: TCP Data received {"connection_id":177085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:32:49] local.INFO: Processing buffer {"connection_id":177085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:32:49] local.INFO: Packet analysis {"connection_id":177085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:32:49] local.INFO: Extracted packet for processing {"connection_id":177085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":177085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:32:49] local.INFO: GPS data processed {"connection_id":177085,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:32:49] local.INFO: Acknowledgment sent {"connection_id":177085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:32:54] local.INFO: TCP Data received {"connection_id":177085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:32:54] local.INFO: Processing buffer {"connection_id":177085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:32:54] local.INFO: Packet analysis {"connection_id":177085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:32:54] local.INFO: Extracted packet for processing {"connection_id":177085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:32:54] 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-09-09 17:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:32:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":177085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:32:54] local.INFO: GPS data processed {"connection_id":177085,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:32:54] local.INFO: Acknowledgment sent {"connection_id":177085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:32:57] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860ab9c8012d7e59c005e00090000300a322..."} 
[2026-09-09 17:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860ab9c8012d7e59c005e00090000300a322..."} 
[2026-09-09 17:32:57] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860ab9c8012d7e59c005e00090000300a322..."} 
[2026-09-09 17:32:57] local.INFO: Packet analysis {"connection_id":175677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:32:57] local.INFO: Extracted packet for processing {"connection_id":175677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763255232,"raw_latitude":98566288,"longitude_deg":76.3255232,"latitude_deg":9.8566288,"altitude":3,"angle":163,"satellites":34,"speed":41,"hex_longitude":"2d7e59c0","hex_latitude":"05e00090","is_valid_coordinates":true} 
[2026-09-09 17:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972540416001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130397268690862080,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101423028430045184,"note":"Value kept but may cause issues"} 
[2026-09-09 17:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788955245000,"timestamp_ms":1788955245000,"timestamp_seconds":1788955245,"priority":1,"record_length":96,"hex_timestamp":"000001a0860ab9c8"} 
[2026-09-09 17:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 17:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972540416001,"66":13852,"104":206,"85":15104,"24":41,"16":130397268690862080,"45":9101423028430045184},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-09 17:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972540416001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:32:57] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-09 17:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130397268690862080,"km_value":130397268690862.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101423028430045184,"description":"Unknown IO ID 45"} 
[2026-09-09 17:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972540416001,"power":13852,"unknown_104":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9101423028430045184}} 
[2026-09-09 17:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":175677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:32:57] local.INFO: GPS data processed {"connection_id":175677,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:32:57] local.INFO: Acknowledgment sent {"connection_id":175677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:33:12] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08609d350012d198440071fefd0003d00f528..."} 
[2026-09-09 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08609d350012d198440071fefd0003d00f528..."} 
[2026-09-09 17:33:12] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08609d350012d198440071fefd0003d00f528..."} 
[2026-09-09 17:33:12] local.INFO: Packet analysis {"connection_id":175894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:33:12] local.INFO: Extracted packet for processing {"connection_id":175894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":756646976,"raw_latitude":119533520,"longitude_deg":75.6646976,"latitude_deg":11.953352,"altitude":61,"angle":245,"satellites":40,"speed":20,"hex_longitude":"2d198440","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-09-09 17:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972527360001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19131901755260928,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839227897172232192,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33: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-09-09 17:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788955186000,"timestamp_ms":1788955186000,"timestamp_seconds":1788955186,"priority":1,"record_length":96,"hex_timestamp":"000001a08609d350"} 
[2026-09-09 17:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17: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-09-09 17:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-09 17:33: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-09-09 17:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972527360001,"66":12863,"102":206,"83":41984,"24":20,"16":19131901755260928,"45":1839227897172232192},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972527360001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:33:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19131901755260928,"km_value":19131901755260.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839227897172232192,"description":"Unknown IO ID 45"} 
[2026-09-09 17:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972527360001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1839227897172232192}} 
[2026-09-09 17:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":175894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:33:12] local.INFO: GPS data processed {"connection_id":175894,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:33:12] local.INFO: Acknowledgment sent {"connection_id":175894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:33:19] local.INFO: TCP Data received {"connection_id":178482,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:33:19] local.INFO: Processing buffer {"connection_id":178482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:33:19] local.INFO: IMEI packet received {"connection_id":178482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":178482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:33:23] local.INFO: TCP Data received {"connection_id":178482,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:33:23] local.INFO: Processing buffer {"connection_id":178482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:33:23] local.INFO: IMEI packet received {"connection_id":178482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":178482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:33:24] local.INFO: TCP Data received {"connection_id":178482,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860adcf0012d7e61c005dfde28000400a625..."} 
[2026-09-09 17:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860adcf0012d7e61c005dfde28000400a625..."} 
[2026-09-09 17:33:24] local.INFO: Processing buffer {"connection_id":178482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860adcf0012d7e61c005dfde28000400a625..."} 
[2026-09-09 17:33:24] local.INFO: Packet analysis {"connection_id":178482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:33:24] local.INFO: Extracted packet for processing {"connection_id":178482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763257280,"raw_latitude":98557480,"longitude_deg":76.325728,"latitude_deg":9.855748,"altitude":4,"angle":166,"satellites":37,"speed":36,"hex_longitude":"2d7e61c0","hex_latitude":"05dfde28","is_valid_coordinates":true} 
[2026-09-09 17:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972542720001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130397706777526272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104519253171671040,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788955254000,"timestamp_ms":1788955254000,"timestamp_seconds":1788955254,"priority":1,"record_length":96,"hex_timestamp":"000001a0860adcf0"} 
[2026-09-09 17:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 17:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":178482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":178482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":178482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972542720001,"66":13961,"104":206,"85":15104,"24":36,"16":130397706777526272,"45":9104519253171671040},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-09 17:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972542720001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:33:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-09 17:33:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130397706777526272,"km_value":130397706777526.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104519253171671040,"description":"Unknown IO ID 45"} 
[2026-09-09 17:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972542720001,"power":13961,"unknown_104":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9104519253171671040}} 
[2026-09-09 17:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":178482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:33:24] local.INFO: GPS data processed {"connection_id":178482,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:33:24] local.INFO: Acknowledgment sent {"connection_id":178482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:33:30] local.INFO: TCP Data received {"connection_id":178483,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:33:30] local.INFO: Processing buffer {"connection_id":178483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:33:30] local.INFO: IMEI packet received {"connection_id":178483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":178483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:33:35] local.INFO: TCP Data received {"connection_id":178483,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:33:35] local.INFO: Processing buffer {"connection_id":178483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:33:35] local.INFO: IMEI packet received {"connection_id":178483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":178483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:33:35] local.INFO: TCP Data received {"connection_id":178483,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08609e6d8012d197ac0071feb60003f010126..."} 
[2026-09-09 17:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08609e6d8012d197ac0071feb60003f010126..."} 
[2026-09-09 17:33:35] local.INFO: Processing buffer {"connection_id":178483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08609e6d8012d197ac0071feb60003f010126..."} 
[2026-09-09 17:33:35] local.INFO: Packet analysis {"connection_id":178483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:33:35] local.INFO: Extracted packet for processing {"connection_id":178483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756644544,"raw_latitude":119532384,"longitude_deg":75.6644544,"latitude_deg":11.9532384,"altitude":63,"angle":257,"satellites":38,"speed":20,"hex_longitude":"2d197ac0","hex_latitude":"071feb60","is_valid_coordinates":true} 
[2026-09-09 17:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972527616001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132030604279808,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218763776,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955191000,"timestamp_ms":1788955191000,"timestamp_seconds":1788955191,"priority":1,"record_length":96,"hex_timestamp":"000001a08609e6d8"} 
[2026-09-09 17:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-09 17:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972527616001,"66":12776,"102":206,"83":41984,"24":20,"16":19132030604279808,"45":1838664947218763776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972527616001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:33:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132030604279808,"km_value":19132030604279.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218763776,"description":"Unknown IO ID 45"} 
[2026-09-09 17:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972527616001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1838664947218763776}} 
[2026-09-09 17:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":178483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:33:35] local.INFO: GPS data processed {"connection_id":178483,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:33:35] local.INFO: Acknowledgment sent {"connection_id":178483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:33:39] local.INFO: TCP Data received {"connection_id":175895,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:33:39] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:33:39] local.INFO: IMEI packet received {"connection_id":175895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":175895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:33:43] local.INFO: TCP Data received {"connection_id":175895,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:33:43] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:33:43] local.INFO: IMEI packet received {"connection_id":175895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":175895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:33:45] local.INFO: TCP Data received {"connection_id":175896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:33:45] local.INFO: Processing buffer {"connection_id":175896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:33:45] local.INFO: IMEI packet received {"connection_id":175896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":175896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:33:46] local.INFO: TCP Data received {"connection_id":175895,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:33:46] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086086038012d34cc4006aa49080013013423..."} 
[2026-09-09 17:33:46] local.INFO: Packet analysis {"connection_id":175895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:33:46] local.INFO: Extracted packet for processing {"connection_id":175895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08608"} 
[2026-09-09 17:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":19,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972426240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788955091000,"timestamp_ms":1788955091000,"timestamp_seconds":1788955091,"priority":1,"record_length":96,"hex_timestamp":"000001a086086038"} 
[2026-09-09 17:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 17:33:46] 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-09-09 17:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972426240001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972426240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972426240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":175895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:33:46] local.INFO: GPS data processed {"connection_id":175895,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:33:46] local.INFO: Acknowledgment sent {"connection_id":175895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:33:55] local.INFO: TCP Data received {"connection_id":178482,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860d51d8012d7ed14005debde8000b00b524..."} 
[2026-09-09 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860d51d8012d7ed14005debde8000b00b524..."} 
[2026-09-09 17:33:55] local.INFO: Processing buffer {"connection_id":178482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860d51d8012d7ed14005debde8000b00b524..."} 
[2026-09-09 17:33:55] local.INFO: Packet analysis {"connection_id":178482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:33:55] local.INFO: Extracted packet for processing {"connection_id":178482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763285824,"raw_latitude":98483688,"longitude_deg":76.3285824,"latitude_deg":9.8483688,"altitude":11,"angle":181,"satellites":36,"speed":38,"hex_longitude":"2d7ed140","hex_latitude":"05debde8","is_valid_coordinates":true} 
[2026-09-09 17:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972586240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130401619492732928,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138155512867448832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788955415000,"timestamp_ms":1788955415000,"timestamp_seconds":1788955415,"priority":1,"record_length":96,"hex_timestamp":"000001a0860d51d8"} 
[2026-09-09 17:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 17:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972586240001,"66":13906,"206":206,"85":15104,"24":38,"16":130401619492732928,"45":9138155512867448832},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-09 17:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972586240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:33:55] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 17:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130401619492732928,"km_value":130401619492732.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138155512867448832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972586240001,"power":13906,"unknown_206":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9138155512867448832}} 
[2026-09-09 17:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":178482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:33:55] local.INFO: GPS data processed {"connection_id":178482,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:33:55] local.INFO: Acknowledgment sent {"connection_id":178482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:34:06] local.INFO: TCP Data received {"connection_id":178483,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08609eea8012d197640071feb28003f010e26..."} 
[2026-09-09 17:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08609eea8012d197640071feb28003f010e26..."} 
[2026-09-09 17:34:06] local.INFO: Processing buffer {"connection_id":178483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08609eea8012d197640071feb28003f010e26..."} 
[2026-09-09 17:34:06] local.INFO: Packet analysis {"connection_id":178483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:34:06] local.INFO: Extracted packet for processing {"connection_id":178483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756643392,"raw_latitude":119532328,"longitude_deg":75.6643392,"latitude_deg":11.9532328,"altitude":63,"angle":270,"satellites":38,"speed":18,"hex_longitude":"2d197640","hex_latitude":"071feb28","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972528896001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132086438854656,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835990934939721728,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34: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-09-09 17:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788955193000,"timestamp_ms":1788955193000,"timestamp_seconds":1788955193,"priority":1,"record_length":96,"hex_timestamp":"000001a08609eea8"} 
[2026-09-09 17:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-09 17:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972528896001,"66":12798,"102":206,"83":41984,"24":18,"16":19132086438854656,"45":1835990934939721728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 17:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972528896001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:34:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 17:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132086438854656,"km_value":19132086438854.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835990934939721728,"description":"Unknown IO ID 45"} 
[2026-09-09 17:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972528896001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1835990934939721728}} 
[2026-09-09 17:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":178483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:34:06] local.INFO: GPS data processed {"connection_id":178483,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:34:06] local.INFO: Acknowledgment sent {"connection_id":178483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:34:18] local.INFO: TCP Data received {"connection_id":175895,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:34:18] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:34:18] local.INFO: Packet analysis {"connection_id":175895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:34:18] local.INFO: Extracted packet for processing {"connection_id":175895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:34:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":175895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:34:18] local.INFO: GPS data processed {"connection_id":175895,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:34:18] local.INFO: Acknowledgment sent {"connection_id":175895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:34:19] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:34:19] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:34:19] local.INFO: IMEI packet received {"connection_id":175678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":175678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:34:22] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:34:22] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:34:22] local.INFO: IMEI packet received {"connection_id":175678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":175678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:34:24] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:34:24] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:34:24] local.INFO: IMEI packet received {"connection_id":175678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":175678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:34:24] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860d5d90012d7ed24005deb210000b00aa25..."} 
[2026-09-09 17:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860d5d90012d7ed24005deb210000b00aa25..."} 
[2026-09-09 17:34:25] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860d5d90012d7ed24005deb210000b00aa25..."} 
[2026-09-09 17:34:25] local.INFO: Packet analysis {"connection_id":175678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:34:25] local.INFO: Extracted packet for processing {"connection_id":175678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763286080,"raw_latitude":98480656,"longitude_deg":76.328608,"latitude_deg":9.8480656,"altitude":11,"angle":170,"satellites":37,"speed":40,"hex_longitude":"2d7ed240","hex_latitude":"05deb210","is_valid_coordinates":true} 
[2026-09-09 17:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972586240001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130401765521620992,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138155512867448832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788955418000,"timestamp_ms":1788955418000,"timestamp_seconds":1788955418,"priority":1,"record_length":96,"hex_timestamp":"000001a0860d5d90"} 
[2026-09-09 17:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 17:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972586240001,"66":13961,"206":206,"85":15104,"24":40,"16":130401765521620992,"45":9138155512867448832},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-09 17:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972586240001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:34:25] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 17:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130401765521620992,"km_value":130401765521620.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138155512867448832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972586240001,"power":13961,"unknown_206":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9138155512867448832}} 
[2026-09-09 17:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":175678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:34:25] local.INFO: GPS data processed {"connection_id":175678,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:34:25] local.INFO: Acknowledgment sent {"connection_id":175678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:34:29] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860d8c70012d7edb8005de8f28000a00a424..."} 
[2026-09-09 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860d8c70012d7edb8005de8f28000a00a424..."} 
[2026-09-09 17:34:29] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860d8c70012d7edb8005de8f28000a00a424..."} 
[2026-09-09 17:34:29] local.INFO: Packet analysis {"connection_id":175678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:34:29] local.INFO: Extracted packet for processing {"connection_id":175678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763288448,"raw_latitude":98471720,"longitude_deg":76.3288448,"latitude_deg":9.847172,"altitude":10,"angle":164,"satellites":36,"speed":27,"hex_longitude":"2d7edb80","hex_latitude":"05de8f28","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972587008001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130402216493187072,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138436987843383296,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788955430000,"timestamp_ms":1788955430000,"timestamp_seconds":1788955430,"priority":1,"record_length":96,"hex_timestamp":"000001a0860d8c70"} 
[2026-09-09 17:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:34: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-09-09 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 17:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972587008001,"66":13765,"206":206,"85":15104,"24":27,"16":130402216493187072,"45":9138436987843383296},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-09 17:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972587008001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:34:29] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 17:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130402216493187072,"km_value":130402216493187.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138436987843383296,"description":"Unknown IO ID 45"} 
[2026-09-09 17:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972587008001,"power":13765,"unknown_206":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9138436987843383296}} 
[2026-09-09 17:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":175678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:34:29] local.INFO: GPS data processed {"connection_id":175678,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:34:29] local.INFO: Acknowledgment sent {"connection_id":175678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:34:30] local.INFO: TCP Data received {"connection_id":177086,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:34:30] local.INFO: Processing buffer {"connection_id":177086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:34:30] local.INFO: IMEI packet received {"connection_id":177086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":177086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:34:35] local.INFO: TCP Data received {"connection_id":177086,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:34:35] local.INFO: Processing buffer {"connection_id":177086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:34:35] local.INFO: IMEI packet received {"connection_id":177086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":177086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:34:35] local.INFO: TCP Data received {"connection_id":177086,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08609fe48012d196f80071fec40003f011927..."} 
[2026-09-09 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08609fe48012d196f80071fec40003f011927..."} 
[2026-09-09 17:34:35] local.INFO: Processing buffer {"connection_id":177086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08609fe48012d196f80071fec40003f011927..."} 
[2026-09-09 17:34:35] local.INFO: Packet analysis {"connection_id":177086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:34:35] local.INFO: Extracted packet for processing {"connection_id":177086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08609"} 
[2026-09-09 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532608,"longitude_deg":75.6641664,"latitude_deg":11.9532608,"altitude":63,"angle":281,"satellites":39,"speed":13,"hex_longitude":"2d196f80","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-09-09 17:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972529408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132163748265984,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834724297544509440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955197000,"timestamp_ms":1788955197000,"timestamp_seconds":1788955197,"priority":1,"record_length":96,"hex_timestamp":"000001a08609fe48"} 
[2026-09-09 17:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 17:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972529408001,"66":12722,"103":206,"83":41984,"24":13,"16":19132163748265984,"45":1834724297544509440},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972529408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:34:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132163748265984,"km_value":19132163748265.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834724297544509440,"description":"Unknown IO ID 45"} 
[2026-09-09 17:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972529408001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1834724297544509440}} 
[2026-09-09 17:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":177086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:34:35] local.INFO: GPS data processed {"connection_id":177086,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:34:35] local.INFO: Acknowledgment sent {"connection_id":177086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:34:43] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:34:43] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:34:43] local.INFO: IMEI packet received {"connection_id":175679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":175679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:34:49] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:34:49] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:34:49] local.INFO: IMEI packet received {"connection_id":175679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":175679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:34:50] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:34:50] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:34:50] local.INFO: Packet analysis {"connection_id":175679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:34:50] local.INFO: Extracted packet for processing {"connection_id":175679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:34:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:34:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:34:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":175679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:34:50] local.INFO: GPS data processed {"connection_id":175679,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:34:50] local.INFO: Acknowledgment sent {"connection_id":175679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:35:00] local.INFO: TCP Data received {"connection_id":175678,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860db380012d7eea0005de6c20000900a123..."} 
[2026-09-09 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860db380012d7eea0005de6c20000900a123..."} 
[2026-09-09 17:35:00] local.INFO: Processing buffer {"connection_id":175678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860db380012d7eea0005de6c20000900a123..."} 
[2026-09-09 17:35:00] local.INFO: Packet analysis {"connection_id":175678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:35:00] local.INFO: Extracted packet for processing {"connection_id":175678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763292160,"raw_latitude":98462752,"longitude_deg":76.329216,"latitude_deg":9.8462752,"altitude":9,"angle":161,"satellites":35,"speed":43,"hex_longitude":"2d7eea00","hex_latitude":"05de6c20","is_valid_coordinates":true} 
[2026-09-09 17:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972590080001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130402684644622336,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141040631375669248,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788955440000,"timestamp_ms":1788955440000,"timestamp_seconds":1788955440,"priority":1,"record_length":96,"hex_timestamp":"000001a0860db380"} 
[2026-09-09 17:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:35: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-09-09 17: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 17:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972590080001,"66":13820,"205":206,"85":15104,"24":43,"16":130402684644622336,"45":9141040631375669248},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-09 17:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972590080001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130402684644622336,"km_value":130402684644622.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141040631375669248,"description":"Unknown IO ID 45"} 
[2026-09-09 17:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972590080001,"power":13820,"cell_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9141040631375669248}} 
[2026-09-09 17:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":175678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:35:00] local.INFO: GPS data processed {"connection_id":175678,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:35:00] local.INFO: Acknowledgment sent {"connection_id":175678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:35:06] local.INFO: TCP Data received {"connection_id":177086,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860a5050012d1967c0071fee58003e011a23..."} 
[2026-09-09 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860a5050012d1967c0071fee58003e011a23..."} 
[2026-09-09 17:35:06] local.INFO: Processing buffer {"connection_id":177086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860a5050012d1967c0071fee58003e011a23..."} 
[2026-09-09 17:35:06] local.INFO: Packet analysis {"connection_id":177086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:35:06] local.INFO: Extracted packet for processing {"connection_id":177086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860a"} 
[2026-09-09 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972530432001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451784192,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 17:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788955218000,"timestamp_ms":1788955218000,"timestamp_seconds":1788955218,"priority":1,"record_length":96,"hex_timestamp":"000001a0860a5050"} 
[2026-09-09 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-09-09 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 17:35: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-09-09 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-09-09 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-09-09 17:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972530432001,"66":12667,"103":206,"83":41984,"24":0,"16":19132262532513792,"45":1832824341451784192},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972530432001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:35:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451784192,"description":"Unknown IO ID 45"} 
[2026-09-09 17:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972530432001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451784192}} 
[2026-09-09 17:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":177086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:35:07] local.INFO: GPS data processed {"connection_id":177086,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:35:07] local.INFO: Acknowledgment sent {"connection_id":177086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:35:22] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:35:22] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:35:22] local.INFO: Packet analysis {"connection_id":175679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:35:22] local.INFO: Extracted packet for processing {"connection_id":175679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:35:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":175679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:35:22] local.INFO: GPS data processed {"connection_id":175679,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:35:22] local.INFO: Acknowledgment sent {"connection_id":175679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:35:24] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:35:24] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:35:24] local.INFO: IMEI packet received {"connection_id":175898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":175898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:35:27] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:35:27] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:35:27] local.INFO: IMEI packet received {"connection_id":175898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":175898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:35:27] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860dd2c0012d7ef68005de46b8000900a224..."} 
[2026-09-09 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860dd2c0012d7ef68005de46b8000900a224..."} 
[2026-09-09 17:35:27] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860dd2c0012d7ef68005de46b8000900a224..."} 
[2026-09-09 17:35:27] local.INFO: Packet analysis {"connection_id":175898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:35:27] local.INFO: Extracted packet for processing {"connection_id":175898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763295360,"raw_latitude":98453176,"longitude_deg":76.329536,"latitude_deg":9.8453176,"altitude":9,"angle":162,"satellites":36,"speed":56,"hex_longitude":"2d7ef680","hex_latitude":"05de46b8","is_valid_coordinates":true} 
[2026-09-09 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":795,"current_offset":40} 
[2026-09-09 17:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972592640001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130403174270894080,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145122018535677952,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35: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-09-09 17:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788955448000,"timestamp_ms":1788955448000,"timestamp_seconds":1788955448,"priority":1,"record_length":96,"hex_timestamp":"000001a0860dd2c0"} 
[2026-09-09 17:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 17:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972592640001,"66":13798,"205":206,"85":15104,"24":56,"16":130403174270894080,"45":9145122018535677952},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-09 17:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972592640001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130403174270894080,"km_value":130403174270894.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145122018535677952,"description":"Unknown IO ID 45"} 
[2026-09-09 17:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972592640001,"power":13798,"cell_id":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9145122018535677952}} 
[2026-09-09 17:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":175898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:35:27] local.INFO: GPS data processed {"connection_id":175898,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:35:27] local.INFO: Acknowledgment sent {"connection_id":175898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:35:28] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860dee18012d7f034005de20500009009e23..."} 
[2026-09-09 17:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860dee18012d7f034005de20500009009e23..."} 
[2026-09-09 17:35:28] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860dee18012d7f034005de20500009009e23..."} 
[2026-09-09 17:35:28] local.INFO: Packet analysis {"connection_id":175898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:35:28] local.INFO: Extracted packet for processing {"connection_id":175898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763298624,"raw_latitude":98443344,"longitude_deg":76.3298624,"latitude_deg":9.8443344,"altitude":9,"angle":158,"satellites":35,"speed":59,"hex_longitude":"2d7f0340","hex_latitude":"05de2050","is_valid_coordinates":true} 
[2026-09-09 17:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972594688001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130403676782067712,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148640455742109696,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788955455000,"timestamp_ms":1788955455000,"timestamp_seconds":1788955455,"priority":1,"record_length":96,"hex_timestamp":"000001a0860dee18"} 
[2026-09-09 17:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:35: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-09-09 17:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 17:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972594688001,"66":13906,"205":206,"85":15104,"24":59,"16":130403676782067712,"45":9148640455742109696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-09 17:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972594688001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130403676782067712,"km_value":130403676782067.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148640455742109696,"description":"Unknown IO ID 45"} 
[2026-09-09 17:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972594688001,"power":13906,"cell_id":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9148640455742109696}} 
[2026-09-09 17:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":175898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:35:28] local.INFO: GPS data processed {"connection_id":175898,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:35:28] local.INFO: Acknowledgment sent {"connection_id":175898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:35:29] local.INFO: TCP Data received {"connection_id":177087,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:35:29] local.INFO: Processing buffer {"connection_id":177087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:35:29] local.INFO: IMEI packet received {"connection_id":177087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":177087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:35:29] local.INFO: TCP Data received {"connection_id":177087,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:35:29] local.INFO: Processing buffer {"connection_id":177087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:35:29] local.INFO: IMEI packet received {"connection_id":177087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":177087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:35:35] local.INFO: TCP Data received {"connection_id":177087,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:35:35] local.INFO: Processing buffer {"connection_id":177087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:35:35] local.INFO: IMEI packet received {"connection_id":177087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":177087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:35:35] local.INFO: TCP Data received {"connection_id":177087,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860dd2c0012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860dd2c0012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:35:35] local.INFO: Processing buffer {"connection_id":177087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860dd2c0012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:35:35] local.INFO: Packet analysis {"connection_id":177087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:35:35] local.INFO: Extracted packet for processing {"connection_id":177087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860d"} 
[2026-09-09 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972589568001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955448000,"timestamp_ms":1788955448000,"timestamp_seconds":1788955448,"priority":1,"record_length":96,"hex_timestamp":"000001a0860dd2c0"} 
[2026-09-09 17:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 17:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972589568001,"66":12461,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972589568001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:35:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972589568001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":177087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:35:35] local.INFO: GPS data processed {"connection_id":177087,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:35:35] local.INFO: Acknowledgment sent {"connection_id":177087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:35:38] local.INFO: TCP Data received {"connection_id":178484,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:35:38] local.INFO: Processing buffer {"connection_id":178484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:35:38] local.INFO: IMEI packet received {"connection_id":178484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":178484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:35:43] local.INFO: TCP Data received {"connection_id":178484,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:35:43] local.INFO: Processing buffer {"connection_id":178484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:35:43] local.INFO: IMEI packet received {"connection_id":178484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":178484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:35:44] local.INFO: TCP Data received {"connection_id":178484,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:35:44] local.INFO: Processing buffer {"connection_id":178484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:35:44] local.INFO: Packet analysis {"connection_id":178484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:35:44] local.INFO: Extracted packet for processing {"connection_id":178484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":178484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:35:44] local.INFO: GPS data processed {"connection_id":178484,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:35:44] local.INFO: Acknowledgment sent {"connection_id":178484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:35:59] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860f3638012d7f820005dcc5f00006008922..."} 
[2026-09-09 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860f3638012d7f820005dcc5f00006008922..."} 
[2026-09-09 17:35:59] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860f3638012d7f820005dcc5f00006008922..."} 
[2026-09-09 17:35:59] local.INFO: Packet analysis {"connection_id":175898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:35:59] local.INFO: Extracted packet for processing {"connection_id":175898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763331072,"raw_latitude":98354672,"longitude_deg":76.3331072,"latitude_deg":9.8354672,"altitude":6,"angle":137,"satellites":34,"speed":44,"hex_longitude":"2d7f8200","hex_latitude":"05dcc5f0","is_valid_coordinates":true} 
[2026-09-09 17:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972617472001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130408319641714688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186217365108215808,"note":"Value kept but may cause issues"} 
[2026-09-09 17:35:59] 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-09-09 17:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788955539000,"timestamp_ms":1788955539000,"timestamp_seconds":1788955539,"priority":1,"record_length":96,"hex_timestamp":"000001a0860f3638"} 
[2026-09-09 17:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:35: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-09-09 17:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 17:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972617472001,"66":14048,"111":206,"85":15104,"24":44,"16":130408319641714688,"45":9186217365108215808},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-09 17:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972617472001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:35:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-09 17:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130408319641714688,"km_value":130408319641714.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186217365108215808,"description":"Unknown IO ID 45"} 
[2026-09-09 17:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972617472001,"power":14048,"unknown_111":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9186217365108215808}} 
[2026-09-09 17:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":175898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:36:00] local.INFO: GPS data processed {"connection_id":175898,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:36:00] local.INFO: Acknowledgment sent {"connection_id":175898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:36:06] local.INFO: TCP Data received {"connection_id":177087,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860e28b0012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860e28b0012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:36:06] local.INFO: Processing buffer {"connection_id":177087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860e28b0012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:36:06] local.INFO: Packet analysis {"connection_id":177087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860e"} 
[2026-09-09 17:36:06] local.INFO: Extracted packet for processing {"connection_id":177087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860e"} 
[2026-09-09 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972594688001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36: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-09-09 17:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788955470000,"timestamp_ms":1788955470000,"timestamp_seconds":1788955470,"priority":1,"record_length":96,"hex_timestamp":"000001a0860e28b0"} 
[2026-09-09 17:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 17:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972594688001,"66":12461,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972594688001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:36:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972594688001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":177087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:36:07] local.INFO: GPS data processed {"connection_id":177087,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:36:07] local.INFO: Acknowledgment sent {"connection_id":177087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:36:16] local.INFO: TCP Data received {"connection_id":178484,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:36:16] local.INFO: Processing buffer {"connection_id":178484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:36:16] local.INFO: Packet analysis {"connection_id":178484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:36:16] local.INFO: Extracted packet for processing {"connection_id":178484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":178484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:36:16] local.INFO: GPS data processed {"connection_id":178484,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:36:16] local.INFO: Acknowledgment sent {"connection_id":178484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:36:24] local.INFO: TCP Data received {"connection_id":175899,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:36:24] local.INFO: Processing buffer {"connection_id":175899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:36:24] local.INFO: IMEI packet received {"connection_id":175899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":175899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:36:25] local.INFO: TCP Data received {"connection_id":175899,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:36:25] local.INFO: Processing buffer {"connection_id":175899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:36:25] local.INFO: IMEI packet received {"connection_id":175899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":175899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:36:26] local.INFO: TCP Data received {"connection_id":175899,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860f41f0012d7f8a0005dcbb700005009922..."} 
[2026-09-09 17:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860f41f0012d7f8a0005dcbb700005009922..."} 
[2026-09-09 17:36:26] local.INFO: Processing buffer {"connection_id":175899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860f41f0012d7f8a0005dcbb700005009922..."} 
[2026-09-09 17:36:26] local.INFO: Packet analysis {"connection_id":175899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:36:26] local.INFO: Extracted packet for processing {"connection_id":175899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763333120,"raw_latitude":98351984,"longitude_deg":76.333312,"latitude_deg":9.8351984,"altitude":5,"angle":153,"satellites":34,"speed":45,"hex_longitude":"2d7f8a00","hex_latitude":"05dcbb70","is_valid_coordinates":true} 
[2026-09-09 17:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972617984001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130408482850471936,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187906214968029184,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:26] 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-09-09 17:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788955542000,"timestamp_ms":1788955542000,"timestamp_seconds":1788955542,"priority":1,"record_length":96,"hex_timestamp":"000001a0860f41f0"} 
[2026-09-09 17:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 17:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972617984001,"66":13917,"111":206,"85":15104,"24":45,"16":130408482850471936,"45":9187906214968029184},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-09 17:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972617984001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:36:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-09 17:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130408482850471936,"km_value":130408482850471.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187906214968029184,"description":"Unknown IO ID 45"} 
[2026-09-09 17:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972617984001,"power":13917,"unknown_111":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9187906214968029184}} 
[2026-09-09 17:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":175899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:36:26] local.INFO: GPS data processed {"connection_id":175899,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:36:26] local.INFO: Acknowledgment sent {"connection_id":175899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:36:26] local.INFO: TCP Data received {"connection_id":175899,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0860f5d48012d7f968005dc9a98000400a022..."} 
[2026-09-09 17:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860f5d48012d7f968005dc9a98000400a022..."} 
[2026-09-09 17:36:26] local.INFO: Processing buffer {"connection_id":175899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860f5d48012d7f968005dc9a98000400a022..."} 
[2026-09-09 17:36:26] local.INFO: Packet analysis {"connection_id":175899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:36:26] local.INFO: Extracted packet for processing {"connection_id":175899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763336320,"raw_latitude":98343576,"longitude_deg":76.333632,"latitude_deg":9.8343576,"altitude":4,"angle":160,"satellites":34,"speed":52,"hex_longitude":"2d7f9680","hex_latitude":"05dc9a98","is_valid_coordinates":true} 
[2026-09-09 17:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972618752001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130408916642168832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190158014781026304,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:26] 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-09-09 17:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788955549000,"timestamp_ms":1788955549000,"timestamp_seconds":1788955549,"priority":1,"record_length":96,"hex_timestamp":"000001a0860f5d48"} 
[2026-09-09 17:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-09 17:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972618752001,"66":13559,"111":206,"85":15104,"24":52,"16":130408916642168832,"45":9190158014781026304},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-09 17:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972618752001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:36:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-09 17:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130408916642168832,"km_value":130408916642168.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190158014781026304,"description":"Unknown IO ID 45"} 
[2026-09-09 17:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972618752001,"power":13559,"unknown_111":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9190158014781026304}} 
[2026-09-09 17:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":175899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:36:26] local.INFO: GPS data processed {"connection_id":175899,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:36:26] local.INFO: Acknowledgment sent {"connection_id":175899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:36:30] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:36:30] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:36:30] local.INFO: IMEI packet received {"connection_id":175680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":175680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:36:31] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:36:31] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:36:31] local.INFO: IMEI packet received {"connection_id":175680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":175680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:36:35] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:36:35] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:36:35] local.INFO: IMEI packet received {"connection_id":175680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":175680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:36:35] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860e7ab8012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860e7ab8012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:36:35] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860e7ab8012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:36:35] local.INFO: Packet analysis {"connection_id":175680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860e"} 
[2026-09-09 17:36:35] local.INFO: Extracted packet for processing {"connection_id":175680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860e"} 
[2026-09-09 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972600320001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955491000,"timestamp_ms":1788955491000,"timestamp_seconds":1788955491,"priority":1,"record_length":96,"hex_timestamp":"000001a0860e7ab8"} 
[2026-09-09 17:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 17:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972600320001,"66":11830,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972600320001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:36:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972600320001,"power":11830,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":175680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:36:35] local.INFO: GPS data processed {"connection_id":175680,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:36:35] local.INFO: Acknowledgment sent {"connection_id":175680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:36:41] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:36:41] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:36:41] local.INFO: IMEI packet received {"connection_id":175681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":175681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:36:43] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:36:43] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:36:43] local.INFO: IMEI packet received {"connection_id":175681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":175681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:36:44] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:36:44] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:36:44] local.INFO: Packet analysis {"connection_id":175681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:36:44] local.INFO: Extracted packet for processing {"connection_id":175681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":175681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:36:44] local.INFO: GPS data processed {"connection_id":175681,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:36:44] local.INFO: Acknowledgment sent {"connection_id":175681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:36:49] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:36:49] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:36:49] local.INFO: Packet analysis {"connection_id":175681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:36:49] local.INFO: Extracted packet for processing {"connection_id":175681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":175681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:36:49] local.INFO: GPS data processed {"connection_id":175681,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:36:49] local.INFO: Acknowledgment sent {"connection_id":175681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:36:57] local.INFO: TCP Data received {"connection_id":175899,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086105360012d80690005dca8100006007222..."} 
[2026-09-09 17:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086105360012d80690005dca8100006007222..."} 
[2026-09-09 17:36:57] local.INFO: Processing buffer {"connection_id":175899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086105360012d80690005dca8100006007222..."} 
[2026-09-09 17:36:57] local.INFO: Packet analysis {"connection_id":175899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:36:57] local.INFO: Extracted packet for processing {"connection_id":175899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763390208,"raw_latitude":98347024,"longitude_deg":76.3390208,"latitude_deg":9.8347024,"altitude":6,"angle":114,"satellites":34,"speed":21,"hex_longitude":"2d806900","hex_latitude":"05dca810","is_valid_coordinates":true} 
[2026-09-09 17:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972636416001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130411789975289856,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194450457820876800,"note":"Value kept but may cause issues"} 
[2026-09-09 17:36:57] 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-09-09 17:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788955612000,"timestamp_ms":1788955612000,"timestamp_seconds":1788955612,"priority":1,"record_length":96,"hex_timestamp":"000001a086105360"} 
[2026-09-09 17:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 17:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972636416001,"66":13624,"251":206,"85":15104,"24":21,"16":130411789975289856,"45":-9194450457820876800},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 17:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972636416001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:36:57] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 17:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130411789975289856,"km_value":130411789975289.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194450457820876800,"description":"Unknown IO ID 45"} 
[2026-09-09 17:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972636416001,"power":13624,"unknown_251":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9194450457820876800}} 
[2026-09-09 17:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":175899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:36:57] local.INFO: GPS data processed {"connection_id":175899,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:36:57] local.INFO: Acknowledgment sent {"connection_id":175899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:37:06] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860eccc0012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860eccc0012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:37:06] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860eccc0012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:37:06] local.INFO: Packet analysis {"connection_id":175680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860e"} 
[2026-09-09 17:37:06] local.INFO: Extracted packet for processing {"connection_id":175680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860e"} 
[2026-09-09 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972605696001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37: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-09-09 17:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788955512000,"timestamp_ms":1788955512000,"timestamp_seconds":1788955512,"priority":1,"record_length":96,"hex_timestamp":"000001a0860eccc0"} 
[2026-09-09 17:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-09 17:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972605696001,"66":12461,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972605696001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:37:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972605696001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":175680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:37:07] local.INFO: GPS data processed {"connection_id":175680,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:37:07] local.INFO: Acknowledgment sent {"connection_id":175680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:37:17] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:18] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:18] local.INFO: IMEI packet received {"connection_id":177090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":177090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:37:18] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:18] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:18] local.INFO: IMEI packet received {"connection_id":177090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":177090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:37:19] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:19] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:19] local.INFO: IMEI packet received {"connection_id":177090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":177090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:37:20] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:37:20] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:37:20] local.INFO: Packet analysis {"connection_id":175681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:37:20] local.INFO: Extracted packet for processing {"connection_id":175681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:37:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":175681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:37:20] local.INFO: GPS data processed {"connection_id":175681,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:37:20] local.INFO: Acknowledgment sent {"connection_id":175681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:37:21] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:21] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:37:21] local.INFO: IMEI packet received {"connection_id":177090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":177090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:37:22] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086105748012d806ac005dca6c00006008421..."} 
[2026-09-09 17:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086105748012d806ac005dca6c00006008421..."} 
[2026-09-09 17:37:22] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086105748012d806ac005dca6c00006008421..."} 
[2026-09-09 17:37:22] local.INFO: Packet analysis {"connection_id":177090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:37:22] local.INFO: Extracted packet for processing {"connection_id":177090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:37:22] local.INFO: GPS Element Parsed {"raw_longitude":763390656,"raw_latitude":98346688,"longitude_deg":76.3390656,"latitude_deg":9.8346688,"altitude":6,"angle":132,"satellites":33,"speed":22,"hex_longitude":"2d806ac0","hex_latitude":"05dca6c0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972636672001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130411815745093632,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193817139123318784,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:22] 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-09-09 17:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788955613000,"timestamp_ms":1788955613000,"timestamp_seconds":1788955613,"priority":1,"record_length":96,"hex_timestamp":"000001a086105748"} 
[2026-09-09 17:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 17:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972636672001,"66":13624,"251":206,"85":15104,"24":22,"16":130411815745093632,"45":-9193817139123318784},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 17:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972636672001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:37:22] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 17:37:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130411815745093632,"km_value":130411815745093.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193817139123318784,"description":"Unknown IO ID 45"} 
[2026-09-09 17:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972636672001,"power":13624,"unknown_251":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9193817139123318784}} 
[2026-09-09 17:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":177090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:37:22] local.INFO: GPS data processed {"connection_id":177090,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:37:22] local.INFO: Acknowledgment sent {"connection_id":177090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:37:29] local.INFO: TCP Data received {"connection_id":178485,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:37:29] local.INFO: Processing buffer {"connection_id":178485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:37:29] local.INFO: IMEI packet received {"connection_id":178485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":178485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:37:35] local.INFO: TCP Data received {"connection_id":178485,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:37:35] local.INFO: Processing buffer {"connection_id":178485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:37:35] local.INFO: IMEI packet received {"connection_id":178485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":178485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:37:35] local.INFO: TCP Data received {"connection_id":178485,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860f1ec8012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860f1ec8012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:37:35] local.INFO: Processing buffer {"connection_id":178485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860f1ec8012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:37:35] local.INFO: Packet analysis {"connection_id":178485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:37:35] local.INFO: Extracted packet for processing {"connection_id":178485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972611072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955533000,"timestamp_ms":1788955533000,"timestamp_seconds":1788955533,"priority":1,"record_length":96,"hex_timestamp":"000001a0860f1ec8"} 
[2026-09-09 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-09-09 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 17:37: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-09-09 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-09-09 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-09-09 17:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972611072001,"66":12406,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972611072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:37:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972611072001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":178485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:37:35] local.INFO: GPS data processed {"connection_id":178485,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:37:35] local.INFO: Acknowledgment sent {"connection_id":178485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:37:38] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:37:38] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:37:38] local.INFO: IMEI packet received {"connection_id":175900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":175900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:37:43] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:37:43] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:37:43] local.INFO: IMEI packet received {"connection_id":175900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":175900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:37:44] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:37:44] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:37:44] local.INFO: Packet analysis {"connection_id":175900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:37:44] local.INFO: Extracted packet for processing {"connection_id":175900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:37:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":175900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:37:44] local.INFO: GPS data processed {"connection_id":175900,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:37:44] local.INFO: Acknowledgment sent {"connection_id":175900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:37:53] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086105b30012d806c4005dca4d00006009321..."} 
[2026-09-09 17:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086105b30012d806c4005dca4d00006009321..."} 
[2026-09-09 17:37:53] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086105b30012d806c4005dca4d00006009321..."} 
[2026-09-09 17:37:53] local.INFO: Packet analysis {"connection_id":177090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:37:53] local.INFO: Extracted packet for processing {"connection_id":177090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:37:53] local.INFO: GPS Element Parsed {"raw_longitude":763391040,"raw_latitude":98346192,"longitude_deg":76.339104,"latitude_deg":9.8346192,"altitude":6,"angle":147,"satellites":33,"speed":25,"hex_longitude":"2d806c40","hex_latitude":"05dca4d0","is_valid_coordinates":true} 
[2026-09-09 17:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972636928001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130411845809864704,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193324557914161152,"note":"Value kept but may cause issues"} 
[2026-09-09 17:37:53] 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-09-09 17:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788955614000,"timestamp_ms":1788955614000,"timestamp_seconds":1788955614,"priority":1,"record_length":96,"hex_timestamp":"000001a086105b30"} 
[2026-09-09 17:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 17:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972636928001,"66":13928,"251":206,"85":15104,"24":25,"16":130411845809864704,"45":-9193324557914161152},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-09 17:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972636928001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:37:53] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-09 17:37:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130411845809864704,"km_value":130411845809864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193324557914161152,"description":"Unknown IO ID 45"} 
[2026-09-09 17:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972636928001,"power":13928,"unknown_251":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9193324557914161152}} 
[2026-09-09 17:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":177090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:37:53] local.INFO: GPS data processed {"connection_id":177090,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:37:53] local.INFO: Acknowledgment sent {"connection_id":177090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:38:06] local.INFO: TCP Data received {"connection_id":178485,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860f70d0012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860f70d0012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:38:06] local.INFO: Processing buffer {"connection_id":178485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860f70d0012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:38:06] local.INFO: Packet analysis {"connection_id":178485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:38:06] local.INFO: Extracted packet for processing {"connection_id":178485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972616448001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38: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-09-09 17:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788955554000,"timestamp_ms":1788955554000,"timestamp_seconds":1788955554,"priority":1,"record_length":96,"hex_timestamp":"000001a0860f70d0"} 
[2026-09-09 17:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 17:38: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-09-09 17:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972616448001,"66":11830,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972616448001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:38:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972616448001,"power":11830,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":178485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:38:07] local.INFO: GPS data processed {"connection_id":178485,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:38:07] local.INFO: Acknowledgment sent {"connection_id":178485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:38:16] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:38:16] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:38:16] local.INFO: Packet analysis {"connection_id":175900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:38:16] local.INFO: Extracted packet for processing {"connection_id":175900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:38:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":175900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:38:16] local.INFO: GPS data processed {"connection_id":175900,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:38:16] local.INFO: Acknowledgment sent {"connection_id":175900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:38:20] local.INFO: TCP Data received {"connection_id":178486,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:38:20] local.INFO: Processing buffer {"connection_id":178486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:38:20] local.INFO: IMEI packet received {"connection_id":178486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":178486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:38:20] local.INFO: TCP Data received {"connection_id":178486,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:38:20] local.INFO: Processing buffer {"connection_id":178486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:38:20] local.INFO: IMEI packet received {"connection_id":178486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":178486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:38:24] local.INFO: TCP Data received {"connection_id":178486,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:38:24] local.INFO: Processing buffer {"connection_id":178486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:38:24] local.INFO: IMEI packet received {"connection_id":178486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":178486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:38:25] local.INFO: TCP Data received {"connection_id":178486,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086114978012d80f1c005db8d700005009c23..."} 
[2026-09-09 17:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086114978012d80f1c005db8d700005009c23..."} 
[2026-09-09 17:38:25] local.INFO: Processing buffer {"connection_id":178486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086114978012d80f1c005db8d700005009c23..."} 
[2026-09-09 17:38:25] local.INFO: Packet analysis {"connection_id":178486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:38:25] local.INFO: Extracted packet for processing {"connection_id":178486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763425216,"raw_latitude":98274672,"longitude_deg":76.3425216,"latitude_deg":9.8274672,"altitude":5,"angle":156,"satellites":35,"speed":56,"hex_longitude":"2d80f1c0","hex_latitude":"05db8d70","is_valid_coordinates":true} 
[2026-09-09 17:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972652800001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130415694100561920,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155325436076658688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:25] 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-09-09 17:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788955675000,"timestamp_ms":1788955675000,"timestamp_seconds":1788955675,"priority":1,"record_length":96,"hex_timestamp":"000001a086114978"} 
[2026-09-09 17:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 17:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972652800001,"66":13972,"155":206,"85":15104,"24":56,"16":130415694100561920,"45":-9155325436076658688},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 17:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972652800001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:38:25] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 17:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130415694100561920,"km_value":130415694100561.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155325436076658688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972652800001,"power":13972,"unknown_155":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":-9155325436076658688}} 
[2026-09-09 17:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":178486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:38:25] local.INFO: GPS data processed {"connection_id":178486,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:38:25] local.INFO: Acknowledgment sent {"connection_id":178486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:38:35] local.INFO: TCP Data received {"connection_id":178487,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:38:35] local.INFO: Processing buffer {"connection_id":178487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:38:35] local.INFO: IMEI packet received {"connection_id":178487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":178487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:38:38] local.INFO: TCP Data received {"connection_id":178487,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:38:38] local.INFO: Processing buffer {"connection_id":178487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:38:38] local.INFO: IMEI packet received {"connection_id":178487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":178487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:38:38] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:38:38] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:38:38] local.INFO: IMEI packet received {"connection_id":175901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":175901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:38:38] local.INFO: TCP Data received {"connection_id":178487,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0860fc2d8012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860fc2d8012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:38:38] local.INFO: Processing buffer {"connection_id":178487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860fc2d8012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:38:38] local.INFO: Packet analysis {"connection_id":178487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:38:38] local.INFO: Extracted packet for processing {"connection_id":178487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860f"} 
[2026-09-09 17:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972621824001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38: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-09-09 17:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788955575000,"timestamp_ms":1788955575000,"timestamp_seconds":1788955575,"priority":1,"record_length":96,"hex_timestamp":"000001a0860fc2d8"} 
[2026-09-09 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-09-09 17:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-09 17:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972621824001,"66":12428,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972621824001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:38:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972621824001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":178487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:38:38] local.INFO: GPS data processed {"connection_id":178487,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:38:38] local.INFO: Acknowledgment sent {"connection_id":178487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:38:40] local.INFO: TCP Data received {"connection_id":178487,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861014e0012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861014e0012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:38:40] local.INFO: Processing buffer {"connection_id":178487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861014e0012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:38:40] local.INFO: Packet analysis {"connection_id":178487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:38:40] local.INFO: Extracted packet for processing {"connection_id":178487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:38:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972627200001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788955596000,"timestamp_ms":1788955596000,"timestamp_seconds":1788955596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861014e0"} 
[2026-09-09 17:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-09 17:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972627200001,"66":12406,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972627200001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:38:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:38:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972627200001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":178487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:38:40] local.INFO: GPS data processed {"connection_id":178487,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:38:40] local.INFO: Acknowledgment sent {"connection_id":178487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:38:43] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:38:43] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:38:43] local.INFO: IMEI packet received {"connection_id":175901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":175901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:38:44] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:38:44] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0860cf800012d34cc4006aa49080000013422..."} 
[2026-09-09 17:38:44] local.INFO: Packet analysis {"connection_id":175901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:38:44] local.INFO: Extracted packet for processing {"connection_id":175901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0860c"} 
[2026-09-09 17:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972503296001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955392000,"timestamp_ms":1788955392000,"timestamp_seconds":1788955392,"priority":1,"record_length":96,"hex_timestamp":"000001a0860cf800"} 
[2026-09-09 17:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 17:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:38: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-09-09 17:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972503296001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972503296001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972503296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":175901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:38:44] local.INFO: GPS data processed {"connection_id":175901,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:38:44] local.INFO: Acknowledgment sent {"connection_id":175901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:38:56] local.INFO: TCP Data received {"connection_id":178486,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0861164d0012d80ffc005db68a00004009d23..."} 
[2026-09-09 17:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861164d0012d80ffc005db68a00004009d23..."} 
[2026-09-09 17:38:56] local.INFO: Processing buffer {"connection_id":178486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861164d0012d80ffc005db68a00004009d23..."} 
[2026-09-09 17:38:56] local.INFO: Packet analysis {"connection_id":178486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:38:56] local.INFO: Extracted packet for processing {"connection_id":178486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763428800,"raw_latitude":98265248,"longitude_deg":76.34288,"latitude_deg":9.8265248,"altitude":4,"angle":157,"satellites":35,"speed":52,"hex_longitude":"2d80ffc0","hex_latitude":"05db68a0","is_valid_coordinates":true} 
[2026-09-09 17:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972652800001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130416183726833664,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155325436076658688,"note":"Value kept but may cause issues"} 
[2026-09-09 17:38:56] 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-09-09 17:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788955682000,"timestamp_ms":1788955682000,"timestamp_seconds":1788955682,"priority":1,"record_length":96,"hex_timestamp":"000001a0861164d0"} 
[2026-09-09 17:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 17:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972652800001,"66":13646,"155":206,"85":15104,"24":52,"16":130416183726833664,"45":-9155325436076658688},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 17:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972652800001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:38:56] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 17:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130416183726833664,"km_value":130416183726833.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155325436076658688,"description":"Unknown IO ID 45"} 
[2026-09-09 17:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972652800001,"power":13646,"unknown_155":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-9155325436076658688}} 
[2026-09-09 17:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":178486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:38:56] local.INFO: GPS data processed {"connection_id":178486,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:38:56] local.INFO: Acknowledgment sent {"connection_id":178486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:39:11] local.INFO: TCP Data received {"connection_id":178487,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861066e8012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861066e8012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:39:11] local.INFO: Processing buffer {"connection_id":178487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861066e8012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:39:11] local.INFO: Packet analysis {"connection_id":178487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:39:11] local.INFO: Extracted packet for processing {"connection_id":178487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972632576001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39: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-09-09 17:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788955617000,"timestamp_ms":1788955617000,"timestamp_seconds":1788955617,"priority":1,"record_length":96,"hex_timestamp":"000001a0861066e8"} 
[2026-09-09 17:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 17:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972632576001,"66":12385,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972632576001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:39:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972632576001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":178487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:39:11] local.INFO: GPS data processed {"connection_id":178487,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:39:11] local.INFO: Acknowledgment sent {"connection_id":178487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:39:15] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:39:15] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:39:15] local.INFO: Packet analysis {"connection_id":175901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:39:15] local.INFO: Extracted packet for processing {"connection_id":175901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:39:15] 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-09-09 17:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":175901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:39:15] local.INFO: GPS data processed {"connection_id":175901,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:39:15] local.INFO: Acknowledgment sent {"connection_id":175901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:39:23] local.INFO: TCP Data received {"connection_id":178488,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:39:23] local.INFO: Processing buffer {"connection_id":178488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:39:23] local.INFO: IMEI packet received {"connection_id":178488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":178488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:39:24] local.INFO: TCP Data received {"connection_id":178488,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:39:24] local.INFO: Processing buffer {"connection_id":178488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:39:24] local.INFO: IMEI packet received {"connection_id":178488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":178488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:39:27] local.INFO: TCP Data received {"connection_id":175683,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:39:27] local.INFO: Processing buffer {"connection_id":175683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:39:27] local.INFO: IMEI packet received {"connection_id":175683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":175683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:39:28] local.INFO: TCP Data received {"connection_id":178488,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:39:28] local.INFO: Processing buffer {"connection_id":178488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:39:28] local.INFO: IMEI packet received {"connection_id":178488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":178488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:39:29] local.INFO: TCP Data received {"connection_id":178488,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086125318012d8165c005da8c60000700a822..."} 
[2026-09-09 17:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086125318012d8165c005da8c60000700a822..."} 
[2026-09-09 17:39:29] local.INFO: Processing buffer {"connection_id":178488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086125318012d8165c005da8c60000700a822..."} 
[2026-09-09 17:39:29] local.INFO: Packet analysis {"connection_id":178488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:39:29] local.INFO: Extracted packet for processing {"connection_id":178488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763454912,"raw_latitude":98208864,"longitude_deg":76.3454912,"latitude_deg":9.8208864,"altitude":7,"angle":168,"satellites":34,"speed":31,"hex_longitude":"2d8165c0","hex_latitude":"05da8c60","is_valid_coordinates":true} 
[2026-09-09 17:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972668416001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130419233153613824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124644663630610432,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:29] 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-09-09 17:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788955743000,"timestamp_ms":1788955743000,"timestamp_seconds":1788955743,"priority":1,"record_length":96,"hex_timestamp":"000001a086125318"} 
[2026-09-09 17:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 17:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":178488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":178488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":178488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972668416001,"66":13798,"154":206,"85":15104,"24":31,"16":130419233153613824,"45":-9124644663630610432},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-09 17:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972668416001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:39:29] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-09 17:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130419233153613824,"km_value":130419233153613.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124644663630610432,"description":"Unknown IO ID 45"} 
[2026-09-09 17:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972668416001,"power":13798,"unknown_154":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9124644663630610432}} 
[2026-09-09 17:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":178488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:39:29] local.INFO: GPS data processed {"connection_id":178488,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:39:29] local.INFO: Acknowledgment sent {"connection_id":178488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:39:30] local.INFO: TCP Data received {"connection_id":178489,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:39:30] local.INFO: Processing buffer {"connection_id":178489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:39:30] local.INFO: IMEI packet received {"connection_id":178489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":178489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:39:30] local.INFO: TCP Data received {"connection_id":178488,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086125ae8012d81674005da87180008009a23..."} 
[2026-09-09 17:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086125ae8012d81674005da87180008009a23..."} 
[2026-09-09 17:39:30] local.INFO: Processing buffer {"connection_id":178488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086125ae8012d81674005da87180008009a23..."} 
[2026-09-09 17:39:30] local.INFO: Packet analysis {"connection_id":178488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:39:30] local.INFO: Extracted packet for processing {"connection_id":178488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763455296,"raw_latitude":98207512,"longitude_deg":76.3455296,"latitude_deg":9.8207512,"altitude":8,"angle":154,"satellites":35,"speed":26,"hex_longitude":"2d816740","hex_latitude":"05da8718","is_valid_coordinates":true} 
[2026-09-09 17:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972670208001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130419301873090560,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122674338795069440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39: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-09-09 17:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788955745000,"timestamp_ms":1788955745000,"timestamp_seconds":1788955745,"priority":1,"record_length":96,"hex_timestamp":"000001a086125ae8"} 
[2026-09-09 17:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 17:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":178488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":178488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":178488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972670208001,"66":13526,"154":206,"85":15104,"24":26,"16":130419301873090560,"45":-9122674338795069440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-09 17:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972670208001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:39:30] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-09 17:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130419301873090560,"km_value":130419301873090.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122674338795069440,"description":"Unknown IO ID 45"} 
[2026-09-09 17:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972670208001,"power":13526,"unknown_154":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9122674338795069440}} 
[2026-09-09 17:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":178488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:39:30] local.INFO: GPS data processed {"connection_id":178488,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:39:30] local.INFO: Acknowledgment sent {"connection_id":178488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:39:35] local.INFO: TCP Data received {"connection_id":178489,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:39:35] local.INFO: Processing buffer {"connection_id":178489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:39:35] local.INFO: IMEI packet received {"connection_id":178489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":178489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:39:36] local.INFO: TCP Data received {"connection_id":178489,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08610b8f0012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08610b8f0012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:39:36] local.INFO: Processing buffer {"connection_id":178489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08610b8f0012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:39:36] local.INFO: Packet analysis {"connection_id":178489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:39:36] local.INFO: Extracted packet for processing {"connection_id":178489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08610"} 
[2026-09-09 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972637952001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39: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-09-09 17:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788955638000,"timestamp_ms":1788955638000,"timestamp_seconds":1788955638,"priority":1,"record_length":96,"hex_timestamp":"000001a08610b8f0"} 
[2026-09-09 17:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 17:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972637952001,"66":12385,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972637952001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:39:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972637952001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":178489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:39:36] local.INFO: GPS data processed {"connection_id":178489,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:39:36] local.INFO: Acknowledgment sent {"connection_id":178489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:39:38] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:39:38] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:39:38] local.INFO: IMEI packet received {"connection_id":175684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":175684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:39:43] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:39:43] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:39:43] local.INFO: IMEI packet received {"connection_id":175684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":175684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:39:44] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:39:44] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:39:44] local.INFO: Packet analysis {"connection_id":175684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:39:44] local.INFO: Extracted packet for processing {"connection_id":175684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:39:44] 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-09-09 17:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:39: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-09-09 17:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":175684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:39:44] local.INFO: GPS data processed {"connection_id":175684,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:39:44] local.INFO: Acknowledgment sent {"connection_id":175684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:39:47] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:39:47] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:39:47] local.INFO: IMEI packet received {"connection_id":175902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":175902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:39:49] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:39:49] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:39:49] local.INFO: Packet analysis {"connection_id":175684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:39:49] local.INFO: Extracted packet for processing {"connection_id":175684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:39:49] 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-09-09 17:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:39:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":175684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:39:49] local.INFO: GPS data processed {"connection_id":175684,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:39:49] local.INFO: Acknowledgment sent {"connection_id":175684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:40:01] local.INFO: TCP Data received {"connection_id":178488,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086125ed0012d8168c005da84f80008008d24..."} 
[2026-09-09 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086125ed0012d8168c005da84f80008008d24..."} 
[2026-09-09 17:40:01] local.INFO: Processing buffer {"connection_id":178488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086125ed0012d8168c005da84f80008008d24..."} 
[2026-09-09 17:40:01] local.INFO: Packet analysis {"connection_id":178488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:40:01] local.INFO: Extracted packet for processing {"connection_id":178488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763455680,"raw_latitude":98206968,"longitude_deg":76.345568,"latitude_deg":9.8206968,"altitude":8,"angle":141,"satellites":36,"speed":26,"hex_longitude":"2d8168c0","hex_latitude":"05da84f8","is_valid_coordinates":true} 
[2026-09-09 17:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972670720001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130419331937861632,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122252126330349568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40: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-09-09 17:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788955746000,"timestamp_ms":1788955746000,"timestamp_seconds":1788955746,"priority":1,"record_length":96,"hex_timestamp":"000001a086125ed0"} 
[2026-09-09 17:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-09 17:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":178488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":178488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":178488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972670720001,"66":13798,"153":206,"85":15104,"24":26,"16":130419331937861632,"45":-9122252126330349568},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-09-09 17:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972670720001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:40:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-09 17:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130419331937861632,"km_value":130419331937861.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122252126330349568,"description":"Unknown IO ID 45"} 
[2026-09-09 17:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972670720001,"power":13798,"unknown_153":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9122252126330349568}} 
[2026-09-09 17:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":178488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:40:01] local.INFO: GPS data processed {"connection_id":178488,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:40:01] local.INFO: Acknowledgment sent {"connection_id":178488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:40:07] local.INFO: TCP Data received {"connection_id":178489,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086110af8012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086110af8012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:40:07] local.INFO: Processing buffer {"connection_id":178489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086110af8012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:40:07] local.INFO: Packet analysis {"connection_id":178489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:40:07] local.INFO: Extracted packet for processing {"connection_id":178489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972643328001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40: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-09-09 17:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788955659000,"timestamp_ms":1788955659000,"timestamp_seconds":1788955659,"priority":1,"record_length":96,"hex_timestamp":"000001a086110af8"} 
[2026-09-09 17:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 17:40: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-09-09 17: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-09-09 17:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972643328001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972643328001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:40:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972643328001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":178489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:40:07] local.INFO: GPS data processed {"connection_id":178489,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:40:07] local.INFO: Acknowledgment sent {"connection_id":178489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:40:15] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:15] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:15] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:40:16] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:16] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:16] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:40:18] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:18] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:18] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:40:19] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:19] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:40:19] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:40:20] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:40:20] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:40:20] local.INFO: Packet analysis {"connection_id":175684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:40:20] local.INFO: Extracted packet for processing {"connection_id":175684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:40:20] 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-09-09 17:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:40:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":175684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:40:20] local.INFO: GPS data processed {"connection_id":175684,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:40:20] local.INFO: Acknowledgment sent {"connection_id":175684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:40:30] local.INFO: TCP Data received {"connection_id":178490,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:40:30] local.INFO: Processing buffer {"connection_id":178490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:40:30] local.INFO: IMEI packet received {"connection_id":178490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":178490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:40:35] local.INFO: TCP Data received {"connection_id":178490,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:40:35] local.INFO: Processing buffer {"connection_id":178490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:40:35] local.INFO: IMEI packet received {"connection_id":178490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":178490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:40:35] local.INFO: TCP Data received {"connection_id":178490,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086115d00012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086115d00012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:40:35] local.INFO: Processing buffer {"connection_id":178490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086115d00012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:40:35] local.INFO: Packet analysis {"connection_id":178490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:40:35] local.INFO: Extracted packet for processing {"connection_id":178490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972648704001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955680000,"timestamp_ms":1788955680000,"timestamp_seconds":1788955680,"priority":1,"record_length":96,"hex_timestamp":"000001a086115d00"} 
[2026-09-09 17:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:40: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-09-09 17: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-09-09 17:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972648704001,"66":12232,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972648704001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:40:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972648704001,"power":12232,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":178490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:40:35] local.INFO: GPS data processed {"connection_id":178490,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:40:35] local.INFO: Acknowledgment sent {"connection_id":178490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:40:38] local.INFO: TCP Data received {"connection_id":177091,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:40:38] local.INFO: Processing buffer {"connection_id":177091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:40:38] local.INFO: IMEI packet received {"connection_id":177091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":177091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:40:43] local.INFO: TCP Data received {"connection_id":177091,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:40:43] local.INFO: Processing buffer {"connection_id":177091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:40:43] local.INFO: IMEI packet received {"connection_id":177091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":177091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:40:44] local.INFO: TCP Data received {"connection_id":177091,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:40:44] local.INFO: Processing buffer {"connection_id":177091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:40:44] local.INFO: Packet analysis {"connection_id":177091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:40:44] local.INFO: Extracted packet for processing {"connection_id":177091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:40:44] 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-09-09 17:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":177091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:40:44] local.INFO: GPS data processed {"connection_id":177091,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:40:44] local.INFO: Acknowledgment sent {"connection_id":177091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:41:06] local.INFO: TCP Data received {"connection_id":178490,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08611af08012d1967c0071fee58003e011a23..."} 
[2026-09-09 17:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08611af08012d1967c0071fee58003e011a23..."} 
[2026-09-09 17:41:06] local.INFO: Processing buffer {"connection_id":178490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08611af08012d1967c0071fee58003e011a23..."} 
[2026-09-09 17:41:06] local.INFO: Packet analysis {"connection_id":178490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:41:06] local.INFO: Extracted packet for processing {"connection_id":178490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972654080001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41: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-09-09 17:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788955701000,"timestamp_ms":1788955701000,"timestamp_seconds":1788955701,"priority":1,"record_length":96,"hex_timestamp":"000001a08611af08"} 
[2026-09-09 17:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 17:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972654080001,"66":12385,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972654080001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:41:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972654080001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":178490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:41:06] local.INFO: GPS data processed {"connection_id":178490,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:41:06] local.INFO: Acknowledgment sent {"connection_id":178490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:41:16] local.INFO: TCP Data received {"connection_id":177091,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:41:16] local.INFO: Processing buffer {"connection_id":177091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:41:16] local.INFO: Packet analysis {"connection_id":177091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:41:16] local.INFO: Extracted packet for processing {"connection_id":177091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:41:16] 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-09-09 17:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":177091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:41:16] local.INFO: GPS data processed {"connection_id":177091,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:41:16] local.INFO: Acknowledgment sent {"connection_id":177091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:41:30] local.INFO: TCP Data received {"connection_id":177092,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:41:30] local.INFO: Processing buffer {"connection_id":177092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:41:30] local.INFO: IMEI packet received {"connection_id":177092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":177092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:41:35] local.INFO: TCP Data received {"connection_id":177092,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:41:35] local.INFO: Processing buffer {"connection_id":177092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:41:35] local.INFO: IMEI packet received {"connection_id":177092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":177092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:41:35] local.INFO: TCP Data received {"connection_id":177092,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08611fd28012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08611fd28012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:41:35] local.INFO: Processing buffer {"connection_id":177092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08611fd28012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:41:35] local.INFO: Packet analysis {"connection_id":177092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:41:35] local.INFO: Extracted packet for processing {"connection_id":177092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972659456001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955721000,"timestamp_ms":1788955721000,"timestamp_seconds":1788955721,"priority":1,"record_length":96,"hex_timestamp":"000001a08611fd28"} 
[2026-09-09 17:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 17:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972659456001,"66":12385,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972659456001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:41:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972659456001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":177092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:41:35] local.INFO: GPS data processed {"connection_id":177092,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:41:35] local.INFO: Acknowledgment sent {"connection_id":177092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:41:39] local.INFO: TCP Data received {"connection_id":175904,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:41:39] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:41:39] local.INFO: IMEI packet received {"connection_id":175904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":175904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:41:44] local.INFO: TCP Data received {"connection_id":175904,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:41:44] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:41:44] local.INFO: IMEI packet received {"connection_id":175904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":175904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:41:45] local.INFO: TCP Data received {"connection_id":175904,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:41:45] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:41:45] local.INFO: Packet analysis {"connection_id":175904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:41:45] local.INFO: Extracted packet for processing {"connection_id":175904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:41:45] 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-09-09 17:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:41:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":175904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:41:45] local.INFO: GPS data processed {"connection_id":175904,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:41:45] local.INFO: Acknowledgment sent {"connection_id":175904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:42:06] local.INFO: TCP Data received {"connection_id":177092,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086124f30012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086124f30012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:42:06] local.INFO: Processing buffer {"connection_id":177092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086124f30012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:42:06] local.INFO: Packet analysis {"connection_id":177092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:42:06] local.INFO: Extracted packet for processing {"connection_id":177092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972664576001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42: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-09-09 17:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788955742000,"timestamp_ms":1788955742000,"timestamp_seconds":1788955742,"priority":1,"record_length":96,"hex_timestamp":"000001a086124f30"} 
[2026-09-09 17:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 17:42: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-09-09 17:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972664576001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972664576001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:42:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972664576001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":177092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:42:07] local.INFO: GPS data processed {"connection_id":177092,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:42:07] local.INFO: Acknowledgment sent {"connection_id":177092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:42:16] local.INFO: TCP Data received {"connection_id":175904,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:42:16] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:42:16] local.INFO: Packet analysis {"connection_id":175904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:42:16] local.INFO: Extracted packet for processing {"connection_id":175904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:42:16] 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-09-09 17:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":175904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:42:16] local.INFO: GPS data processed {"connection_id":175904,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:42:16] local.INFO: Acknowledgment sent {"connection_id":175904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:42:28] local.INFO: TCP Data received {"connection_id":178493,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:42:28] local.INFO: Processing buffer {"connection_id":178493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:42:28] local.INFO: IMEI packet received {"connection_id":178493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":178493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:42:29] local.INFO: TCP Data received {"connection_id":178493,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:42:29] local.INFO: Processing buffer {"connection_id":178493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:42:29] local.INFO: IMEI packet received {"connection_id":178493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":178493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:42:35] local.INFO: TCP Data received {"connection_id":178493,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:42:35] local.INFO: Processing buffer {"connection_id":178493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:42:35] local.INFO: IMEI packet received {"connection_id":178493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":178493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:42:35] local.INFO: TCP Data received {"connection_id":178493,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08612a520012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08612a520012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:42:35] local.INFO: Processing buffer {"connection_id":178493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08612a520012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:42:35] local.INFO: Packet analysis {"connection_id":178493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:42:35] local.INFO: Extracted packet for processing {"connection_id":178493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972669952001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955764000,"timestamp_ms":1788955764000,"timestamp_seconds":1788955764,"priority":1,"record_length":96,"hex_timestamp":"000001a08612a520"} 
[2026-09-09 17:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:42: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-09-09 17:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972669952001,"66":12319,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972669952001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:42:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972669952001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":178493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:42:35] local.INFO: GPS data processed {"connection_id":178493,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:42:35] local.INFO: Acknowledgment sent {"connection_id":178493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:42:38] local.INFO: TCP Data received {"connection_id":178494,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:42:38] local.INFO: Processing buffer {"connection_id":178494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:42:38] local.INFO: IMEI packet received {"connection_id":178494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":178494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:42:43] local.INFO: TCP Data received {"connection_id":178494,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:42:43] local.INFO: Processing buffer {"connection_id":178494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:42:43] local.INFO: IMEI packet received {"connection_id":178494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":178494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:42:44] local.INFO: TCP Data received {"connection_id":178494,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:42:44] local.INFO: Processing buffer {"connection_id":178494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:42:44] local.INFO: Packet analysis {"connection_id":178494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:42:44] local.INFO: Extracted packet for processing {"connection_id":178494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:42:44] 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-09-09 17:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":178494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:42:44] local.INFO: GPS data processed {"connection_id":178494,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:42:44] local.INFO: Acknowledgment sent {"connection_id":178494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:43:06] local.INFO: TCP Data received {"connection_id":178493,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08612f728012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08612f728012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:43:06] local.INFO: Processing buffer {"connection_id":178493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08612f728012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:43:06] local.INFO: Packet analysis {"connection_id":178493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:43:06] local.INFO: Extracted packet for processing {"connection_id":178493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08612"} 
[2026-09-09 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972675584001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788955785000,"timestamp_ms":1788955785000,"timestamp_seconds":1788955785,"priority":1,"record_length":96,"hex_timestamp":"000001a08612f728"} 
[2026-09-09 17:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 17:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972675584001,"66":12319,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972675584001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:43:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972675584001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":178493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:43:07] local.INFO: GPS data processed {"connection_id":178493,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:43:07] local.INFO: Acknowledgment sent {"connection_id":178493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:43:15] local.INFO: TCP Data received {"connection_id":178494,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:43:15] local.INFO: Processing buffer {"connection_id":178494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:43:15] local.INFO: Packet analysis {"connection_id":178494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:43:15] local.INFO: Extracted packet for processing {"connection_id":178494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:43:15] 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-09-09 17:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":178494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:43:15] local.INFO: GPS data processed {"connection_id":178494,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:43:15] local.INFO: Acknowledgment sent {"connection_id":178494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:43:29] local.INFO: TCP Data received {"connection_id":177094,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:43:29] local.INFO: Processing buffer {"connection_id":177094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:43:29] local.INFO: IMEI packet received {"connection_id":177094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":177094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:43:32] local.INFO: TCP Data received {"connection_id":177094,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:43:32] local.INFO: Processing buffer {"connection_id":177094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:43:32] local.INFO: IMEI packet received {"connection_id":177094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":177094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:43:35] local.INFO: TCP Data received {"connection_id":177094,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:43:35] local.INFO: Processing buffer {"connection_id":177094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:43:35] local.INFO: IMEI packet received {"connection_id":177094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":177094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:43:35] local.INFO: TCP Data received {"connection_id":177094,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086134930012d1967c0071fee58003e011a27..."} 
[2026-09-09 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086134930012d1967c0071fee58003e011a27..."} 
[2026-09-09 17:43:35] local.INFO: Processing buffer {"connection_id":177094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086134930012d1967c0071fee58003e011a27..."} 
[2026-09-09 17:43:35] local.INFO: Packet analysis {"connection_id":177094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08613"} 
[2026-09-09 17:43:35] local.INFO: Extracted packet for processing {"connection_id":177094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08613"} 
[2026-09-09 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972680960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955806000,"timestamp_ms":1788955806000,"timestamp_seconds":1788955806,"priority":1,"record_length":96,"hex_timestamp":"000001a086134930"} 
[2026-09-09 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-09-09 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 17:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972680960001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972680960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:43:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972680960001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":177094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:43:35] local.INFO: GPS data processed {"connection_id":177094,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:43:35] local.INFO: Acknowledgment sent {"connection_id":177094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:43:38] local.INFO: TCP Data received {"connection_id":175686,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:43:38] local.INFO: Processing buffer {"connection_id":175686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:43:38] local.INFO: IMEI packet received {"connection_id":175686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":175686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:43:43] local.INFO: TCP Data received {"connection_id":175686,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:43:43] local.INFO: Processing buffer {"connection_id":175686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:43:43] local.INFO: IMEI packet received {"connection_id":175686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":175686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:43:45] local.INFO: TCP Data received {"connection_id":175686,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:43:45] local.INFO: Processing buffer {"connection_id":175686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086118fc8012d34cc4006aa49080000013424..."} 
[2026-09-09 17:43:45] local.INFO: Packet analysis {"connection_id":175686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:43:45] local.INFO: Extracted packet for processing {"connection_id":175686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08611"} 
[2026-09-09 17:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972580352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788955693000,"timestamp_ms":1788955693000,"timestamp_seconds":1788955693,"priority":1,"record_length":96,"hex_timestamp":"000001a086118fc8"} 
[2026-09-09 17:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:43:45] 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-09-09 17:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972580352001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972580352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:43:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":175686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:43:45] local.INFO: GPS data processed {"connection_id":175686,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:43:45] local.INFO: Acknowledgment sent {"connection_id":175686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:44:07] local.INFO: TCP Data received {"connection_id":177094,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086139b38012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086139b38012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:44:07] local.INFO: Processing buffer {"connection_id":177094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086139b38012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:44:07] local.INFO: Packet analysis {"connection_id":177094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08613"} 
[2026-09-09 17:44:07] local.INFO: Extracted packet for processing {"connection_id":177094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08613"} 
[2026-09-09 17:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972686336001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788955827000,"timestamp_ms":1788955827000,"timestamp_seconds":1788955827,"priority":1,"record_length":96,"hex_timestamp":"000001a086139b38"} 
[2026-09-09 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-09-09 17:44: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-09-09 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972686336001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972686336001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:44:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972686336001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":177094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:44:07] local.INFO: GPS data processed {"connection_id":177094,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:44:07] local.INFO: Acknowledgment sent {"connection_id":177094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:44:16] local.INFO: TCP Data received {"connection_id":175686,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:44:16] local.INFO: Processing buffer {"connection_id":175686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:44:16] local.INFO: Packet analysis {"connection_id":175686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:44:16] local.INFO: Extracted packet for processing {"connection_id":175686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":175686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:44:16] local.INFO: GPS data processed {"connection_id":175686,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:44:16] local.INFO: Acknowledgment sent {"connection_id":175686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:44:29] local.INFO: TCP Data received {"connection_id":178495,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:44:29] local.INFO: Processing buffer {"connection_id":178495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:44:29] local.INFO: IMEI packet received {"connection_id":178495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":178495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:44:35] local.INFO: TCP Data received {"connection_id":178495,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:44:35] local.INFO: Processing buffer {"connection_id":178495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:44:35] local.INFO: IMEI packet received {"connection_id":178495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":178495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:44:35] local.INFO: TCP Data received {"connection_id":178495,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08613ed40012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08613ed40012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:44:35] local.INFO: Processing buffer {"connection_id":178495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08613ed40012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:44:35] local.INFO: Packet analysis {"connection_id":178495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08613"} 
[2026-09-09 17:44:35] local.INFO: Extracted packet for processing {"connection_id":178495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08613"} 
[2026-09-09 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972691712001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955848000,"timestamp_ms":1788955848000,"timestamp_seconds":1788955848,"priority":1,"record_length":96,"hex_timestamp":"000001a08613ed40"} 
[2026-09-09 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-09-09 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:44: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-09-09 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-09-09 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-09-09 17:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972691712001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972691712001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:44:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972691712001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":178495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:44:35] local.INFO: GPS data processed {"connection_id":178495,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:44:35] local.INFO: Acknowledgment sent {"connection_id":178495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:44:38] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:44:38] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:44:38] local.INFO: IMEI packet received {"connection_id":175687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":175687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:44:43] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:44:43] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:44:43] local.INFO: IMEI packet received {"connection_id":175687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":175687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:44:45] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:44:45] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:44:45] local.INFO: Packet analysis {"connection_id":175687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:44:45] local.INFO: Extracted packet for processing {"connection_id":175687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":175687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:44:45] local.INFO: GPS data processed {"connection_id":175687,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:44:45] local.INFO: Acknowledgment sent {"connection_id":175687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:45:07] local.INFO: TCP Data received {"connection_id":178495,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086143f48012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086143f48012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:45:07] local.INFO: Processing buffer {"connection_id":178495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086143f48012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:45:07] local.INFO: Packet analysis {"connection_id":178495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08614"} 
[2026-09-09 17:45:07] local.INFO: Extracted packet for processing {"connection_id":178495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08614"} 
[2026-09-09 17:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972697088001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45: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-09-09 17:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788955869000,"timestamp_ms":1788955869000,"timestamp_seconds":1788955869,"priority":1,"record_length":96,"hex_timestamp":"000001a086143f48"} 
[2026-09-09 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-09-09 17:45: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-09-09 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972697088001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972697088001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:45:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972697088001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":178495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:45:07] local.INFO: GPS data processed {"connection_id":178495,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:45:07] local.INFO: Acknowledgment sent {"connection_id":178495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:45:17] local.INFO: TCP Data received {"connection_id":175688,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:45:17] local.INFO: Processing buffer {"connection_id":175688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:45:17] local.INFO: IMEI packet received {"connection_id":175688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":175688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:45:17] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:45:17] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:45:17] local.INFO: Packet analysis {"connection_id":175687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:45:17] local.INFO: Extracted packet for processing {"connection_id":175687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:45:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":175687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:45:17] local.INFO: GPS data processed {"connection_id":175687,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:45:17] local.INFO: Acknowledgment sent {"connection_id":175687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:45:22] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:45:22] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:45:22] local.INFO: IMEI packet received {"connection_id":175906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":175906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:45:24] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:45:24] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:45:24] local.INFO: IMEI packet received {"connection_id":175906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":175906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:45:25] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086172578012d82a70005d77700000600af26..."} 
[2026-09-09 17:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086172578012d82a70005d77700000600af26..."} 
[2026-09-09 17:45:25] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086172578012d82a70005d77700000600af26..."} 
[2026-09-09 17:45:25] local.INFO: Packet analysis {"connection_id":175906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08617"} 
[2026-09-09 17:45:25] local.INFO: Extracted packet for processing {"connection_id":175906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08617"} 
[2026-09-09 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763537152,"raw_latitude":98006784,"longitude_deg":76.3537152,"latitude_deg":9.8006784,"altitude":6,"angle":175,"satellites":38,"speed":28,"hex_longitude":"2d82a700","hex_latitude":"05d77700","is_valid_coordinates":true} 
[2026-09-09 17:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972747776001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130431705738641408,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032883821273782272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:25] 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-09-09 17:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788956059000,"timestamp_ms":1788956059000,"timestamp_seconds":1788956059,"priority":1,"record_length":96,"hex_timestamp":"000001a086172578"} 
[2026-09-09 17:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 17:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972747776001,"66":13798,"155":206,"85":15104,"24":28,"16":130431705738641408,"45":-9032883821273782272},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 17:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972747776001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:45:25] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 17:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130431705738641408,"km_value":130431705738641.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032883821273782272,"description":"Unknown IO ID 45"} 
[2026-09-09 17:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972747776001,"power":13798,"unknown_155":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9032883821273782272}} 
[2026-09-09 17:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":175906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:45:25] local.INFO: GPS data processed {"connection_id":175906,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:45:25] local.INFO: Acknowledgment sent {"connection_id":175906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:45:35] local.INFO: TCP Data received {"connection_id":175689,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:45:35] local.INFO: Processing buffer {"connection_id":175689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:45:35] local.INFO: IMEI packet received {"connection_id":175689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":175689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:45:38] local.INFO: TCP Data received {"connection_id":175689,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:45:38] local.INFO: Processing buffer {"connection_id":175689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:45:38] local.INFO: IMEI packet received {"connection_id":175689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":175689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:45:38] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:45:38] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:45:38] local.INFO: IMEI packet received {"connection_id":175690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":175690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:45:38] local.INFO: TCP Data received {"connection_id":175689,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086149150012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086149150012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:45:38] local.INFO: Processing buffer {"connection_id":175689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086149150012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:45:38] local.INFO: Packet analysis {"connection_id":175689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08614"} 
[2026-09-09 17:45:38] local.INFO: Extracted packet for processing {"connection_id":175689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08614"} 
[2026-09-09 17:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972702464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788955890000,"timestamp_ms":1788955890000,"timestamp_seconds":1788955890,"priority":1,"record_length":96,"hex_timestamp":"000001a086149150"} 
[2026-09-09 17:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:45: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-09-09 17: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-09-09 17:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972702464001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972702464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:45:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972702464001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":175689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:45:38] local.INFO: GPS data processed {"connection_id":175689,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:45:38] local.INFO: Acknowledgment sent {"connection_id":175689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:45:39] local.INFO: TCP Data received {"connection_id":175689,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08614e358012d1967c0071fee58003e011a27..."} 
[2026-09-09 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08614e358012d1967c0071fee58003e011a27..."} 
[2026-09-09 17:45:39] local.INFO: Processing buffer {"connection_id":175689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08614e358012d1967c0071fee58003e011a27..."} 
[2026-09-09 17:45:39] local.INFO: Packet analysis {"connection_id":175689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08614"} 
[2026-09-09 17:45:39] local.INFO: Extracted packet for processing {"connection_id":175689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08614"} 
[2026-09-09 17:45:39] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972707840001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45: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-09-09 17:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788955911000,"timestamp_ms":1788955911000,"timestamp_seconds":1788955911,"priority":1,"record_length":96,"hex_timestamp":"000001a08614e358"} 
[2026-09-09 17:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972707840001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972707840001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:45:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:45:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972707840001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":175689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:45:40] local.INFO: GPS data processed {"connection_id":175689,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:45:40] local.INFO: Acknowledgment sent {"connection_id":175689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:45:43] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:45:43] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:45:43] local.INFO: IMEI packet received {"connection_id":175690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":175690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:45:45] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:45:45] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:45:45] local.INFO: Packet analysis {"connection_id":175690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:45:45] local.INFO: Extracted packet for processing {"connection_id":175690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":175690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:45:45] local.INFO: GPS data processed {"connection_id":175690,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:45:45] local.INFO: Acknowledgment sent {"connection_id":175690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:45:56] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086176bc8012d82aa8005d753f8000900ae27..."} 
[2026-09-09 17:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086176bc8012d82aa8005d753f8000900ae27..."} 
[2026-09-09 17:45:56] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086176bc8012d82aa8005d753f8000900ae27..."} 
[2026-09-09 17:45:56] local.INFO: Packet analysis {"connection_id":175906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08617"} 
[2026-09-09 17:45:56] local.INFO: Extracted packet for processing {"connection_id":175906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08617"} 
[2026-09-09 17:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763538048,"raw_latitude":97997816,"longitude_deg":76.3538048,"latitude_deg":9.7997816,"altitude":9,"angle":174,"satellites":39,"speed":22,"hex_longitude":"2d82aa80","hex_latitude":"05d753f8","is_valid_coordinates":true} 
[2026-09-09 17:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972751104001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130432143825305600,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032250502578503680,"note":"Value kept but may cause issues"} 
[2026-09-09 17:45:56] 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-09-09 17:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788956077000,"timestamp_ms":1788956077000,"timestamp_seconds":1788956077,"priority":1,"record_length":96,"hex_timestamp":"000001a086176bc8"} 
[2026-09-09 17:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 17:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972751104001,"66":13820,"155":206,"85":15104,"24":22,"16":130432143825305600,"45":-9032250502578503680},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-09 17:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972751104001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:45:56] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-09 17:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130432143825305600,"km_value":130432143825305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032250502578503680,"description":"Unknown IO ID 45"} 
[2026-09-09 17:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972751104001,"power":13820,"unknown_155":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9032250502578503680}} 
[2026-09-09 17:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":175906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:45:56] local.INFO: GPS data processed {"connection_id":175906,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:45:56] local.INFO: Acknowledgment sent {"connection_id":175906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:46:11] local.INFO: TCP Data received {"connection_id":175689,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086153560012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086153560012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:46:11] local.INFO: Processing buffer {"connection_id":175689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086153560012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:46:11] local.INFO: Packet analysis {"connection_id":175689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08615"} 
[2026-09-09 17:46:11] local.INFO: Extracted packet for processing {"connection_id":175689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08615"} 
[2026-09-09 17:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972713216001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46: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-09-09 17:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788955932000,"timestamp_ms":1788955932000,"timestamp_seconds":1788955932,"priority":1,"record_length":96,"hex_timestamp":"000001a086153560"} 
[2026-09-09 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-09-09 17:46: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-09-09 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:46: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-09-09 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-09-09 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-09-09 17:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972713216001,"66":12385,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972713216001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:46:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972713216001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":175689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:46:11] local.INFO: GPS data processed {"connection_id":175689,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:46:11] local.INFO: Acknowledgment sent {"connection_id":175689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:46:13] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:46:13] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:46:13] local.INFO: IMEI packet received {"connection_id":175907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":175907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:46:16] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:46:16] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:46:16] local.INFO: Packet analysis {"connection_id":175690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:46:16] local.INFO: Extracted packet for processing {"connection_id":175690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":175690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:46:16] local.INFO: GPS data processed {"connection_id":175690,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:46:16] local.INFO: Acknowledgment sent {"connection_id":175690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:46:24] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:46:24] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:46:24] local.INFO: IMEI packet received {"connection_id":175908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":175908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:46:29] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:46:29] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:46:29] local.INFO: IMEI packet received {"connection_id":175908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":175908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:46:30] local.INFO: TCP Data received {"connection_id":177097,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:46:30] local.INFO: Processing buffer {"connection_id":177097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:46:30] local.INFO: IMEI packet received {"connection_id":177097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":177097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:46:30] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08618b000012d82cf4005d688380004007c27..."} 
[2026-09-09 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08618b000012d82cf4005d688380004007c27..."} 
[2026-09-09 17:46:30] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08618b000012d82cf4005d688380004007c27..."} 
[2026-09-09 17:46:30] local.INFO: Packet analysis {"connection_id":175908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08618"} 
[2026-09-09 17:46:30] local.INFO: Extracted packet for processing {"connection_id":175908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08618"} 
[2026-09-09 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763547456,"raw_latitude":97945656,"longitude_deg":76.3547456,"latitude_deg":9.7945656,"altitude":4,"angle":124,"satellites":39,"speed":10,"hex_longitude":"2d82cf40","hex_latitude":"05d68838","is_valid_coordinates":true} 
[2026-09-09 17:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972776192001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130434810999996416,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021765559711610880,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46: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-09-09 17:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788956160000,"timestamp_ms":1788956160000,"timestamp_seconds":1788956160,"priority":1,"record_length":96,"hex_timestamp":"000001a08618b000"} 
[2026-09-09 17:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-09 17:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972776192001,"66":13961,"156":206,"85":15104,"24":10,"16":130434810999996416,"45":-9021765559711610880},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 17:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972776192001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:46:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 17:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130434810999996416,"km_value":130434810999996.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021765559711610880,"description":"Unknown IO ID 45"} 
[2026-09-09 17:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972776192001,"power":13961,"unknown_156":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9021765559711610880}} 
[2026-09-09 17:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":175908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:46:30] local.INFO: GPS data processed {"connection_id":175908,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:46:30] local.INFO: Acknowledgment sent {"connection_id":175908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:46:30] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08618b7d0012d82d0c005d686f80003008e27..."} 
[2026-09-09 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08618b7d0012d82d0c005d686f80003008e27..."} 
[2026-09-09 17:46:30] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08618b7d0012d82d0c005d686f80003008e27..."} 
[2026-09-09 17:46:30] local.INFO: Packet analysis {"connection_id":175908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08618"} 
[2026-09-09 17:46:30] local.INFO: Extracted packet for processing {"connection_id":175908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08618"} 
[2026-09-09 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763547840,"raw_latitude":97945336,"longitude_deg":76.354784,"latitude_deg":9.7945336,"altitude":3,"angle":142,"satellites":39,"speed":9,"hex_longitude":"2d82d0c0","hex_latitude":"05d686f8","is_valid_coordinates":true} 
[2026-09-09 17:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972776960001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130434836769800192,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020921134781548544,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46: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-09-09 17:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788956162000,"timestamp_ms":1788956162000,"timestamp_seconds":1788956162,"priority":1,"record_length":96,"hex_timestamp":"000001a08618b7d0"} 
[2026-09-09 17:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 17:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972776960001,"66":13406,"156":206,"85":15104,"24":9,"16":130434836769800192,"45":-9020921134781548544},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 17:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972776960001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:46:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 17:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130434836769800192,"km_value":130434836769800.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020921134781548544,"description":"Unknown IO ID 45"} 
[2026-09-09 17:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972776960001,"power":13406,"unknown_156":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9020921134781548544}} 
[2026-09-09 17:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":175908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:46:30] local.INFO: GPS data processed {"connection_id":175908,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:46:30] local.INFO: Acknowledgment sent {"connection_id":175908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:46:35] local.INFO: TCP Data received {"connection_id":177097,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:46:35] local.INFO: Processing buffer {"connection_id":177097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:46:35] local.INFO: IMEI packet received {"connection_id":177097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":177097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:46:35] local.INFO: TCP Data received {"connection_id":177097,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086158768012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086158768012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:46:35] local.INFO: Processing buffer {"connection_id":177097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086158768012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:46:35] local.INFO: Packet analysis {"connection_id":177097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08615"} 
[2026-09-09 17:46:35] local.INFO: Extracted packet for processing {"connection_id":177097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08615"} 
[2026-09-09 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972718592001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955953000,"timestamp_ms":1788955953000,"timestamp_seconds":1788955953,"priority":1,"record_length":96,"hex_timestamp":"000001a086158768"} 
[2026-09-09 17:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-09 17:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972718592001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972718592001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:46:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972718592001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":177097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:46:36] local.INFO: GPS data processed {"connection_id":177097,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:46:36] local.INFO: Acknowledgment sent {"connection_id":177097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:46:38] local.INFO: TCP Data received {"connection_id":178496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:46:38] local.INFO: Processing buffer {"connection_id":178496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:46:38] local.INFO: IMEI packet received {"connection_id":178496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":178496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:46:43] local.INFO: TCP Data received {"connection_id":178496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:46:43] local.INFO: Processing buffer {"connection_id":178496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:46:43] local.INFO: IMEI packet received {"connection_id":178496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":178496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:46:44] local.INFO: TCP Data received {"connection_id":178496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:46:44] local.INFO: Processing buffer {"connection_id":178496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:46:44] local.INFO: Packet analysis {"connection_id":178496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:46:44] local.INFO: Extracted packet for processing {"connection_id":178496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":178496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:46:44] local.INFO: GPS data processed {"connection_id":178496,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:46:44] local.INFO: Acknowledgment sent {"connection_id":178496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:47:01] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08618bbb8012d82d10005d68638000300a327..."} 
[2026-09-09 17:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08618bbb8012d82d10005d68638000300a327..."} 
[2026-09-09 17:47:01] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08618bbb8012d82d10005d68638000300a327..."} 
[2026-09-09 17:47:01] local.INFO: Packet analysis {"connection_id":175908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08618"} 
[2026-09-09 17:47:01] local.INFO: Extracted packet for processing {"connection_id":175908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08618"} 
[2026-09-09 17:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763547904,"raw_latitude":97945144,"longitude_deg":76.3547904,"latitude_deg":9.7945144,"altitude":3,"angle":163,"satellites":39,"speed":8,"hex_longitude":"2d82d100","hex_latitude":"05d68638","is_valid_coordinates":true} 
[2026-09-09 17:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972777472001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130434845359734784,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020498922316564480,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47: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-09-09 17:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788956163000,"timestamp_ms":1788956163000,"timestamp_seconds":1788956163,"priority":1,"record_length":96,"hex_timestamp":"000001a08618bbb8"} 
[2026-09-09 17:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-09 17:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972777472001,"66":13406,"156":206,"85":15104,"24":8,"16":130434845359734784,"45":-9020498922316564480},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 17:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972777472001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:47:01] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 17:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130434845359734784,"km_value":130434845359734.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020498922316564480,"description":"Unknown IO ID 45"} 
[2026-09-09 17:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972777472001,"power":13406,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9020498922316564480}} 
[2026-09-09 17:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":175908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:47:01] local.INFO: GPS data processed {"connection_id":175908,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:47:01] local.INFO: Acknowledgment sent {"connection_id":175908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:47:07] local.INFO: TCP Data received {"connection_id":177097,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08615d970012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08615d970012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:47:07] local.INFO: Processing buffer {"connection_id":177097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08615d970012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:47:07] local.INFO: Packet analysis {"connection_id":177097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08615"} 
[2026-09-09 17:47:07] local.INFO: Extracted packet for processing {"connection_id":177097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08615"} 
[2026-09-09 17:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972723968001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788955974000,"timestamp_ms":1788955974000,"timestamp_seconds":1788955974,"priority":1,"record_length":96,"hex_timestamp":"000001a08615d970"} 
[2026-09-09 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-09-09 17:47: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-09-09 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972723968001,"66":12298,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972723968001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:47:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972723968001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":177097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:47:07] local.INFO: GPS data processed {"connection_id":177097,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:47:07] local.INFO: Acknowledgment sent {"connection_id":177097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:47:16] local.INFO: TCP Data received {"connection_id":178496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:47:16] local.INFO: Processing buffer {"connection_id":178496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:47:16] local.INFO: Packet analysis {"connection_id":178496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:47:16] local.INFO: Extracted packet for processing {"connection_id":178496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":178496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:47:16] local.INFO: GPS data processed {"connection_id":178496,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:47:16] local.INFO: Acknowledgment sent {"connection_id":178496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:47:16] local.INFO: TCP Data received {"connection_id":178497,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:47:16] local.INFO: Processing buffer {"connection_id":178497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:47:16] local.INFO: IMEI packet received {"connection_id":178497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":178497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:47:19] local.INFO: TCP Data received {"connection_id":178497,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:47:19] local.INFO: Processing buffer {"connection_id":178497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:47:19] local.INFO: IMEI packet received {"connection_id":178497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":178497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:47:24] local.INFO: TCP Data received {"connection_id":178497,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:47:24] local.INFO: Processing buffer {"connection_id":178497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:47:24] local.INFO: IMEI packet received {"connection_id":178497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":178497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:47:25] local.INFO: TCP Data received {"connection_id":178497,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08618bfa0012d82d10005d68598000300b527..."} 
[2026-09-09 17:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08618bfa0012d82d10005d68598000300b527..."} 
[2026-09-09 17:47:25] local.INFO: Processing buffer {"connection_id":178497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08618bfa0012d82d10005d68598000300b527..."} 
[2026-09-09 17:47:25] local.INFO: Packet analysis {"connection_id":178497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08618"} 
[2026-09-09 17:47:25] local.INFO: Extracted packet for processing {"connection_id":178497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08618"} 
[2026-09-09 17:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763547904,"raw_latitude":97944984,"longitude_deg":76.3547904,"latitude_deg":9.7944984,"altitude":3,"angle":181,"satellites":39,"speed":6,"hex_longitude":"2d82d100","hex_latitude":"05d68598","is_valid_coordinates":true} 
[2026-09-09 17:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972777728001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130434853949669376,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020428553572435968,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:25] 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-09-09 17:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788956164000,"timestamp_ms":1788956164000,"timestamp_seconds":1788956164,"priority":1,"record_length":96,"hex_timestamp":"000001a08618bfa0"} 
[2026-09-09 17:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-09 17:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972777728001,"66":12776,"156":206,"85":15104,"24":6,"16":130434853949669376,"45":-9020428553572435968},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 17:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972777728001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:47:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 17:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130434853949669376,"km_value":130434853949669.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020428553572435968,"description":"Unknown IO ID 45"} 
[2026-09-09 17:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972777728001,"power":12776,"unknown_156":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9020428553572435968}} 
[2026-09-09 17:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":178497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:47:25] local.INFO: GPS data processed {"connection_id":178497,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:47:25] local.INFO: Acknowledgment sent {"connection_id":178497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:47:30] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:47:30] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:47:30] local.INFO: IMEI packet received {"connection_id":175909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":175909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:47:35] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:47:35] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:47:35] local.INFO: IMEI packet received {"connection_id":175909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":175909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:47:35] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:47:35] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d1967c0071fee58003e011a26..."} 
[2026-09-09 17:47:35] local.INFO: Packet analysis {"connection_id":175909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:47:35] local.INFO: Extracted packet for processing {"connection_id":175909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972729344001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185667,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":248,"raw_value":-5692549928996306943,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8785507783229499033,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390944272122138,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":62,"raw_value":79416625362632704,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305838286,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3998744638,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.WARNING: Large IO value detected {"io_id":67,"raw_value":4172349440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,248,160,135,45,192,238,62,36,10,66,53,38,227,1,240,86,134,31,4,113,205,63,103,88,239,48,2,67,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-09 17:47:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467881055839322112,"timestamp_seconds":4467881055839322.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972729344001,"66":12385,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972729344001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:47:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972729344001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":175909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:47:35] local.INFO: GPS data processed {"connection_id":175909,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:47:35] local.INFO: Acknowledgment sent {"connection_id":175909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:47:38] local.INFO: TCP Data received {"connection_id":177098,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:47:38] local.INFO: Processing buffer {"connection_id":177098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:47:38] local.INFO: IMEI packet received {"connection_id":177098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":177098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:47:43] local.INFO: TCP Data received {"connection_id":177098,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:47:43] local.INFO: Processing buffer {"connection_id":177098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:47:43] local.INFO: IMEI packet received {"connection_id":177098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":177098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:47:45] local.INFO: TCP Data received {"connection_id":177098,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:47:45] local.INFO: Processing buffer {"connection_id":177098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:47:45] local.INFO: Packet analysis {"connection_id":177098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:47:45] local.INFO: Extracted packet for processing {"connection_id":177098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":177098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:47:45] local.INFO: GPS data processed {"connection_id":177098,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:47:45] local.INFO: Acknowledgment sent {"connection_id":177098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:47:56] local.INFO: TCP Data received {"connection_id":178497,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0861a4258012d82a2c005d5fa30000900d827..."} 
[2026-09-09 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861a4258012d82a2c005d5fa30000900d827..."} 
[2026-09-09 17:47:56] local.INFO: Processing buffer {"connection_id":178497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861a4258012d82a2c005d5fa30000900d827..."} 
[2026-09-09 17:47:56] local.INFO: Packet analysis {"connection_id":178497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:47:56] local.INFO: Extracted packet for processing {"connection_id":178497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763536064,"raw_latitude":97909296,"longitude_deg":76.3536064,"latitude_deg":9.7909296,"altitude":9,"angle":216,"satellites":39,"speed":15,"hex_longitude":"2d82a2c0","hex_latitude":"05d5fa30","is_valid_coordinates":true} 
[2026-09-09 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972803072001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130436803864821760,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235665021853696,"note":"Value kept but may cause issues"} 
[2026-09-09 17:47:56] 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-09-09 17:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788956263000,"timestamp_ms":1788956263000,"timestamp_seconds":1788956263,"priority":1,"record_length":96,"hex_timestamp":"000001a0861a4258"} 
[2026-09-09 17:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 17:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972803072001,"66":13624,"156":206,"85":15104,"24":15,"16":130436803864821760,"45":-9033235665021853696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-09 17:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972803072001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:47:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-09 17:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130436803864821760,"km_value":130436803864821.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235665021853696,"description":"Unknown IO ID 45"} 
[2026-09-09 17:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972803072001,"power":13624,"unknown_156":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9033235665021853696}} 
[2026-09-09 17:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":178497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:47:56] local.INFO: GPS data processed {"connection_id":178497,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:47:56] local.INFO: Acknowledgment sent {"connection_id":178497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:48:06] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086167998012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086167998012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:48:06] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086167998012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:48:06] local.INFO: Packet analysis {"connection_id":175909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:48:06] local.INFO: Extracted packet for processing {"connection_id":175909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788956015000,"timestamp_ms":1788956015000,"timestamp_seconds":1788956015,"priority":1,"record_length":96,"hex_timestamp":"000001a086167998"} 
[2026-09-09 17:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-09 17:48: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-09-09 17:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":12385,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:48:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":175909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:48:06] local.INFO: GPS data processed {"connection_id":175909,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:48:06] local.INFO: Acknowledgment sent {"connection_id":175909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:48:17] local.INFO: TCP Data received {"connection_id":177098,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:48:17] local.INFO: Processing buffer {"connection_id":177098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:48:17] local.INFO: Packet analysis {"connection_id":177098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:48:17] local.INFO: Extracted packet for processing {"connection_id":177098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":177098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:48:17] local.INFO: GPS data processed {"connection_id":177098,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:48:17] local.INFO: Acknowledgment sent {"connection_id":177098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:48:24] local.INFO: TCP Data received {"connection_id":178498,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:48:24] local.INFO: Processing buffer {"connection_id":178498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:48:24] local.INFO: IMEI packet received {"connection_id":178498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":178498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:48:25] local.INFO: TCP Data received {"connection_id":178498,"ip":"42.106.6.53","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 17:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178498,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 17:48:25] local.INFO: Processing buffer {"connection_id":178498,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 17:48:25] local.INFO: IMEI packet received {"connection_id":178498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":178498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:48:25] local.INFO: TCP Data received {"connection_id":178498,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:48:25] local.INFO: Processing buffer {"connection_id":178498,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-09 17:48:25] local.INFO: IMEI packet received {"connection_id":178498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":178498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:48:30] local.INFO: TCP Data received {"connection_id":177099,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:48:30] local.INFO: Processing buffer {"connection_id":177099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:48:30] local.INFO: IMEI packet received {"connection_id":177099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":177099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:48:35] local.INFO: TCP Data received {"connection_id":177099,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:48:35] local.INFO: Processing buffer {"connection_id":177099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:48:35] local.INFO: IMEI packet received {"connection_id":177099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":177099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:48:35] local.INFO: TCP Data received {"connection_id":177099,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08616cba0012d1967c0071fee58003e011a28..."} 
[2026-09-09 17:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08616cba0012d1967c0071fee58003e011a28..."} 
[2026-09-09 17:48:35] local.INFO: Processing buffer {"connection_id":177099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08616cba0012d1967c0071fee58003e011a28..."} 
[2026-09-09 17:48:35] local.INFO: Packet analysis {"connection_id":177099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:48:35] local.INFO: Extracted packet for processing {"connection_id":177099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972739840001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788956036000,"timestamp_ms":1788956036000,"timestamp_seconds":1788956036,"priority":1,"record_length":96,"hex_timestamp":"000001a08616cba0"} 
[2026-09-09 17:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 17:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972739840001,"66":12385,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972739840001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:48:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972739840001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":177099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:48:36] local.INFO: GPS data processed {"connection_id":177099,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:48:36] local.INFO: Acknowledgment sent {"connection_id":177099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:48:38] local.INFO: TCP Data received {"connection_id":175692,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:48:38] local.INFO: Processing buffer {"connection_id":175692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:48:38] local.INFO: IMEI packet received {"connection_id":175692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":175692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:48:43] local.INFO: TCP Data received {"connection_id":175692,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:48:43] local.INFO: Processing buffer {"connection_id":175692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:48:43] local.INFO: IMEI packet received {"connection_id":175692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":175692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:48:45] local.INFO: TCP Data received {"connection_id":175692,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:48:45] local.INFO: Processing buffer {"connection_id":175692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086162790012d34cc4006aa49080000013423..."} 
[2026-09-09 17:48:45] local.INFO: Packet analysis {"connection_id":175692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:48:45] local.INFO: Extracted packet for processing {"connection_id":175692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08616"} 
[2026-09-09 17:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972657408001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788955994000,"timestamp_ms":1788955994000,"timestamp_seconds":1788955994,"priority":1,"record_length":96,"hex_timestamp":"000001a086162790"} 
[2026-09-09 17:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 17:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972657408001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972657408001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:48:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972657408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":175692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:48:45] local.INFO: GPS data processed {"connection_id":175692,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:48:45] local.INFO: Acknowledgment sent {"connection_id":175692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:49:07] local.INFO: TCP Data received {"connection_id":177099,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086172190012d1967c0071fee58003e011a27..."} 
[2026-09-09 17:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086172190012d1967c0071fee58003e011a27..."} 
[2026-09-09 17:49:07] local.INFO: Processing buffer {"connection_id":177099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086172190012d1967c0071fee58003e011a27..."} 
[2026-09-09 17:49:07] local.INFO: Packet analysis {"connection_id":177099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08617"} 
[2026-09-09 17:49:07] local.INFO: Extracted packet for processing {"connection_id":177099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08617"} 
[2026-09-09 17:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972745216001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17: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-09-09 17:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788956058000,"timestamp_ms":1788956058000,"timestamp_seconds":1788956058,"priority":1,"record_length":96,"hex_timestamp":"000001a086172190"} 
[2026-09-09 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-09-09 17:49: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-09-09 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 17:49: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-09-09 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-09-09 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-09-09 17:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972745216001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972745216001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:49:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972745216001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":177099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:49:07] local.INFO: GPS data processed {"connection_id":177099,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:49:07] local.INFO: Acknowledgment sent {"connection_id":177099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:49:16] local.INFO: TCP Data received {"connection_id":175692,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:49:16] local.INFO: Processing buffer {"connection_id":175692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:49:16] local.INFO: Packet analysis {"connection_id":175692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:49:16] local.INFO: Extracted packet for processing {"connection_id":175692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:49:16] 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-09-09 17: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-09-09 17:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":175692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:49:16] local.INFO: GPS data processed {"connection_id":175692,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:49:16] local.INFO: Acknowledgment sent {"connection_id":175692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:49:28] local.INFO: TCP Data received {"connection_id":175912,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:49:28] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:49:28] local.INFO: IMEI packet received {"connection_id":175912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":175912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:49:29] local.INFO: TCP Data received {"connection_id":175912,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:49:29] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:49:29] local.INFO: IMEI packet received {"connection_id":175912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":175912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:49:35] local.INFO: TCP Data received {"connection_id":175912,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:49:35] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:49:35] local.INFO: IMEI packet received {"connection_id":175912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":175912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:49:36] local.INFO: TCP Data received {"connection_id":175912,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861aa400012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861aa400012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:49:36] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861aa400012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:49:36] local.INFO: Packet analysis {"connection_id":175912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:49:36] local.INFO: Extracted packet for processing {"connection_id":175912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972804352001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49: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-09-09 17:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788956288000,"timestamp_ms":1788956288000,"timestamp_seconds":1788956288,"priority":1,"record_length":96,"hex_timestamp":"000001a0861aa400"} 
[2026-09-09 17:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 17:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972804352001,"66":12374,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972804352001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:49:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972804352001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":175912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:49:36] local.INFO: GPS data processed {"connection_id":175912,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:49:36] local.INFO: Acknowledgment sent {"connection_id":175912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:49:38] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:49:38] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:49:38] local.INFO: IMEI packet received {"connection_id":175913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":175913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:49:43] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:49:43] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:49:43] local.INFO: IMEI packet received {"connection_id":175913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":175913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:49:44] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:49:44] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:49:44] local.INFO: Packet analysis {"connection_id":175913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:49:44] local.INFO: Extracted packet for processing {"connection_id":175913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":175913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:49:44] local.INFO: GPS data processed {"connection_id":175913,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:49:44] local.INFO: Acknowledgment sent {"connection_id":175913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:50:07] local.INFO: TCP Data received {"connection_id":175912,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861af608012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861af608012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:50:07] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861af608012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:50:07] local.INFO: Packet analysis {"connection_id":175912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:50:07] local.INFO: Extracted packet for processing {"connection_id":175912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972809728001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788956309000,"timestamp_ms":1788956309000,"timestamp_seconds":1788956309,"priority":1,"record_length":96,"hex_timestamp":"000001a0861af608"} 
[2026-09-09 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-09-09 17:50: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-09-09 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-09 17:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972809728001,"66":12341,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972809728001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:50:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972809728001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":175912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:50:07] local.INFO: GPS data processed {"connection_id":175912,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:50:07] local.INFO: Acknowledgment sent {"connection_id":175912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:50:15] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:50:15] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:50:15] local.INFO: Packet analysis {"connection_id":175913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:50:15] local.INFO: Extracted packet for processing {"connection_id":175913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":175913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:50:15] local.INFO: GPS data processed {"connection_id":175913,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:50:15] local.INFO: Acknowledgment sent {"connection_id":175913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:50:29] local.INFO: TCP Data received {"connection_id":178500,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:50:29] local.INFO: Processing buffer {"connection_id":178500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:50:29] local.INFO: IMEI packet received {"connection_id":178500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":178500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:50:32] local.INFO: TCP Data received {"connection_id":178500,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:50:32] local.INFO: Processing buffer {"connection_id":178500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:50:32] local.INFO: IMEI packet received {"connection_id":178500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":178500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:50:35] local.INFO: TCP Data received {"connection_id":178500,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:50:35] local.INFO: Processing buffer {"connection_id":178500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:50:35] local.INFO: IMEI packet received {"connection_id":178500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":178500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:50:35] local.INFO: TCP Data received {"connection_id":178500,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861b4810012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861b4810012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:50:35] local.INFO: Processing buffer {"connection_id":178500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861b4810012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:50:35] local.INFO: Packet analysis {"connection_id":178500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861b"} 
[2026-09-09 17:50:35] local.INFO: Extracted packet for processing {"connection_id":178500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861b"} 
[2026-09-09 17:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972815104001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788956330000,"timestamp_ms":1788956330000,"timestamp_seconds":1788956330,"priority":1,"record_length":96,"hex_timestamp":"000001a0861b4810"} 
[2026-09-09 17:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 17:50: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-09-09 17: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-09-09 17:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972815104001,"66":12200,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972815104001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:50:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972815104001,"power":12200,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":178500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:50:35] local.INFO: GPS data processed {"connection_id":178500,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:50:35] local.INFO: Acknowledgment sent {"connection_id":178500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:50:38] local.INFO: TCP Data received {"connection_id":177100,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:50:38] local.INFO: Processing buffer {"connection_id":177100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:50:38] local.INFO: IMEI packet received {"connection_id":177100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":177100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:50:43] local.INFO: TCP Data received {"connection_id":177100,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:50:43] local.INFO: Processing buffer {"connection_id":177100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:50:43] local.INFO: IMEI packet received {"connection_id":177100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":177100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:50:44] local.INFO: TCP Data received {"connection_id":177100,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:50:44] local.INFO: Processing buffer {"connection_id":177100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:50:44] local.INFO: Packet analysis {"connection_id":177100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:50:44] local.INFO: Extracted packet for processing {"connection_id":177100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":177100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:50:44] local.INFO: GPS data processed {"connection_id":177100,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:50:44] local.INFO: Acknowledgment sent {"connection_id":177100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:51:07] local.INFO: TCP Data received {"connection_id":178500,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861b9a18012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861b9a18012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:51:07] local.INFO: Processing buffer {"connection_id":178500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861b9a18012d1967c0071fee58003e011a24..."} 
[2026-09-09 17:51:07] local.INFO: Packet analysis {"connection_id":178500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861b"} 
[2026-09-09 17:51:07] local.INFO: Extracted packet for processing {"connection_id":178500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861b"} 
[2026-09-09 17:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 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-09-09 17:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972820480001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51: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-09-09 17:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788956351000,"timestamp_ms":1788956351000,"timestamp_seconds":1788956351,"priority":1,"record_length":96,"hex_timestamp":"000001a0861b9a18"} 
[2026-09-09 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-09-09 17:51: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-09-09 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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-09 17:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 17:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972820480001,"66":12385,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972820480001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:51:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972820480001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":178500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:51:07] local.INFO: GPS data processed {"connection_id":178500,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:51:07] local.INFO: Acknowledgment sent {"connection_id":178500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:51:16] local.INFO: TCP Data received {"connection_id":177100,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:51:16] local.INFO: Processing buffer {"connection_id":177100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:51:16] local.INFO: Packet analysis {"connection_id":177100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:51:16] local.INFO: Extracted packet for processing {"connection_id":177100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:51:16] 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-09-09 17:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":177100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:51:16] local.INFO: GPS data processed {"connection_id":177100,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:51:16] local.INFO: Acknowledgment sent {"connection_id":177100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:51:29] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:51:29] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:51:29] local.INFO: IMEI packet received {"connection_id":175915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":175915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:51:35] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:51:35] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:51:35] local.INFO: IMEI packet received {"connection_id":175915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":175915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:51:36] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861bf008012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861bf008012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:51:36] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861bf008012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:51:36] local.INFO: Packet analysis {"connection_id":175915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861b"} 
[2026-09-09 17:51:36] local.INFO: Extracted packet for processing {"connection_id":175915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861b"} 
[2026-09-09 17:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972825856001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51: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-09-09 17:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788956373000,"timestamp_ms":1788956373000,"timestamp_seconds":1788956373,"priority":1,"record_length":96,"hex_timestamp":"000001a0861bf008"} 
[2026-09-09 17:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 17:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972825856001,"66":12341,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972825856001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:51:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972825856001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":175915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:51:36] local.INFO: GPS data processed {"connection_id":175915,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:51:36] local.INFO: Acknowledgment sent {"connection_id":175915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:51:38] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:51:38] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:51:38] local.INFO: IMEI packet received {"connection_id":175916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":175916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:51:41] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:51:41] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 17:51:41] local.INFO: IMEI packet received {"connection_id":175917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 17:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":175917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:51:43] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:51:43] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:51:43] local.INFO: IMEI packet received {"connection_id":175916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":175916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:51:44] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:51:44] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:51:44] local.INFO: Packet analysis {"connection_id":175916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:51:44] local.INFO: Extracted packet for processing {"connection_id":175916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":175916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:51:44] local.INFO: GPS data processed {"connection_id":175916,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:51:44] local.INFO: Acknowledgment sent {"connection_id":175916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:52:10] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861c4210012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861c4210012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:52:10] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861c4210012d1967c0071fee58003e011a25..."} 
[2026-09-09 17:52:10] local.INFO: Packet analysis {"connection_id":175915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861c"} 
[2026-09-09 17:52:10] local.INFO: Extracted packet for processing {"connection_id":175915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861c"} 
[2026-09-09 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533144,"longitude_deg":75.663968,"latitude_deg":11.9533144,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-09-09 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972831488001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132262532513792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382413824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788956394000,"timestamp_ms":1788956394000,"timestamp_seconds":1788956394,"priority":1,"record_length":96,"hex_timestamp":"000001a0861c4210"} 
[2026-09-09 17:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 17:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972831488001,"66":12287,"101":206,"83":41984,"24":0,"16":19132262532513792,"45":1830642910382413824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972831488001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:52:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132262532513792,"km_value":19132262532513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382413824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972831488001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382413824}} 
[2026-09-09 17:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":175915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:52:10] local.INFO: GPS data processed {"connection_id":175915,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:52:10] local.INFO: Acknowledgment sent {"connection_id":175915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:52:16] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:52:16] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:52:16] local.INFO: Packet analysis {"connection_id":175916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:52:16] local.INFO: Extracted packet for processing {"connection_id":175916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:52:16] 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-09-09 17:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":175916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:52:16] local.INFO: GPS data processed {"connection_id":175916,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:52:16] local.INFO: Acknowledgment sent {"connection_id":175916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:52:35] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:52:35] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:52:35] local.INFO: IMEI packet received {"connection_id":175695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":175695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:52:38] local.INFO: TCP Data received {"connection_id":175918,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:52:38] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:52:38] local.INFO: IMEI packet received {"connection_id":175918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":175918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:52:40] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:52:40] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:52:40] local.INFO: IMEI packet received {"connection_id":175695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":175695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:52:40] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861dfb78012d198340071ff1500042004d27..."} 
[2026-09-09 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861dfb78012d198340071ff1500042004d27..."} 
[2026-09-09 17:52:40] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861dfb78012d198340071ff1500042004d27..."} 
[2026-09-09 17:52:40] local.INFO: Packet analysis {"connection_id":175695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861d"} 
[2026-09-09 17:52:40] local.INFO: Extracted packet for processing {"connection_id":175695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861d"} 
[2026-09-09 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":756646720,"raw_latitude":119533904,"longitude_deg":75.664672,"latitude_deg":11.9533904,"altitude":66,"angle":77,"satellites":39,"speed":21,"hex_longitude":"2d198340","hex_latitude":"071ff150","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972865024001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132623309766656,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097358411776,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788956507000,"timestamp_ms":1788956507000,"timestamp_seconds":1788956507,"priority":1,"record_length":96,"hex_timestamp":"000001a0861dfb78"} 
[2026-09-09 17:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-09 17:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972865024001,"66":13580,"101":206,"83":41984,"24":21,"16":19132623309766656,"45":1836976097358411776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972865024001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:52:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:52:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132623309766656,"km_value":19132623309766.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097358411776,"description":"Unknown IO ID 45"} 
[2026-09-09 17:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972865024001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1836976097358411776}} 
[2026-09-09 17:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":175695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:52:40] local.INFO: GPS data processed {"connection_id":175695,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:52:40] local.INFO: Acknowledgment sent {"connection_id":175695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:52:41] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861e0348012d1987c0071ff1700042005928..."} 
[2026-09-09 17:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861e0348012d1987c0071ff1700042005928..."} 
[2026-09-09 17:52:41] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861e0348012d1987c0071ff1700042005928..."} 
[2026-09-09 17:52:41] local.INFO: Packet analysis {"connection_id":175695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:52:41] local.INFO: Extracted packet for processing {"connection_id":175695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756647872,"raw_latitude":119533936,"longitude_deg":75.6647872,"latitude_deg":11.9533936,"altitude":66,"angle":89,"satellites":40,"speed":20,"hex_longitude":"2d1987c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972865792001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19132674849374208,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838383472242151424,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788956509000,"timestamp_ms":1788956509000,"timestamp_seconds":1788956509,"priority":1,"record_length":96,"hex_timestamp":"000001a0861e0348"} 
[2026-09-09 17:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751531000,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2250089864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3221225472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1884474969077841930,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540286,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953741926,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402104,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":67,"raw_value":4172611584,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7475983215159148606,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648674877551021,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:41] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,249,160,239,45,64,238,66,37,10,248,224,236,38,102,185,1,240,22,227,134,31,4,113,205,7,169,104,96,54,2,67,62,3,25,53,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-09 17:52:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755886036403683328,"timestamp_seconds":4755886036403683.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 17:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972865792001,"66":13961,"101":206,"83":41984,"24":20,"16":19132674849374208,"45":1838383472242151424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972865792001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:52:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19132674849374208,"km_value":19132674849374.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838383472242151424,"description":"Unknown IO ID 45"} 
[2026-09-09 17:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972865792001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1838383472242151424}} 
[2026-09-09 17:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":175695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:52:41] local.INFO: GPS data processed {"connection_id":175695,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:52:41] local.INFO: Acknowledgment sent {"connection_id":175695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:52:43] local.INFO: TCP Data received {"connection_id":175918,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:52:43] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:52:43] local.INFO: IMEI packet received {"connection_id":175918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":175918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:52:44] local.INFO: TCP Data received {"connection_id":175918,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:52:44] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:52:44] local.INFO: Packet analysis {"connection_id":175918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:52:44] local.INFO: Extracted packet for processing {"connection_id":175918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":175918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:52:44] local.INFO: GPS data processed {"connection_id":175918,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:52:44] local.INFO: Acknowledgment sent {"connection_id":175918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:53:13] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861e9ba0012d19cac0071ff5a80032001024..."} 
[2026-09-09 17:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861e9ba0012d19cac0071ff5a80032001024..."} 
[2026-09-09 17:53:13] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861e9ba0012d19cac0071ff5a80032001024..."} 
[2026-09-09 17:53:13] local.INFO: Packet analysis {"connection_id":175695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:53:13] local.INFO: Extracted packet for processing {"connection_id":175695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119535016,"longitude_deg":75.6665024,"latitude_deg":11.9535016,"altitude":50,"angle":16,"satellites":36,"speed":15,"hex_longitude":"2d19cac0","hex_latitude":"071ff5a8","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972876032001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19133525252898816,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588806656,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788956548000,"timestamp_ms":1788956548000,"timestamp_seconds":1788956548,"priority":1,"record_length":96,"hex_timestamp":"000001a0861e9ba0"} 
[2026-09-09 17:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:53: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-09-09 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 17:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972876032001,"66":14102,"101":206,"83":41984,"24":15,"16":19133525252898816,"45":1858368195588806656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972876032001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:53:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19133525252898816,"km_value":19133525252898.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588806656,"description":"Unknown IO ID 45"} 
[2026-09-09 17:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972876032001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858368195588806656}} 
[2026-09-09 17:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":175695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:53:13] local.INFO: GPS data processed {"connection_id":175695,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:53:13] local.INFO: Acknowledgment sent {"connection_id":175695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:53:16] local.INFO: TCP Data received {"connection_id":175918,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:53:16] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:53:16] local.INFO: Packet analysis {"connection_id":175918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:53:16] local.INFO: Extracted packet for processing {"connection_id":175918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:53:16] 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-09-09 17: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-09-09 17:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":175918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:53:16] local.INFO: GPS data processed {"connection_id":175918,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:53:16] local.INFO: Acknowledgment sent {"connection_id":175918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:53:25] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:53:25] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:53:25] local.INFO: IMEI packet received {"connection_id":175919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":175919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:53:29] local.INFO: TCP Data received {"connection_id":177102,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:53:29] local.INFO: Processing buffer {"connection_id":177102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:53:29] local.INFO: IMEI packet received {"connection_id":177102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":177102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:53:30] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:53:30] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:53:30] local.INFO: IMEI packet received {"connection_id":175919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":175919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:53:30] local.INFO: TCP Data received {"connection_id":177102,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0861ea370012d81fc8005d342e00008005d26..."} 
[2026-09-09 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861ea370012d81fc8005d342e00008005d26..."} 
[2026-09-09 17:53:30] local.INFO: Processing buffer {"connection_id":177102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861ea370012d81fc8005d342e00008005d26..."} 
[2026-09-09 17:53:30] local.INFO: Packet analysis {"connection_id":177102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:53:30] local.INFO: Extracted packet for processing {"connection_id":177102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763493504,"raw_latitude":97731296,"longitude_deg":76.3493504,"latitude_deg":9.7731296,"altitude":8,"angle":93,"satellites":38,"speed":32,"hex_longitude":"2d81fc80","hex_latitude":"05d342e0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972873728001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130449220615274496,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090867666548936704,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788956550000,"timestamp_ms":1788956550000,"timestamp_seconds":1788956550,"priority":1,"record_length":96,"hex_timestamp":"000001a0861ea370"} 
[2026-09-09 17:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-09 17:53: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-09-09 17: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-09-09 17:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972873728001,"66":13656,"207":206,"85":15104,"24":32,"16":130449220615274496,"45":-9090867666548936704},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 17:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972873728001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:53:30] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 17:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130449220615274496,"km_value":130449220615274.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090867666548936704,"description":"Unknown IO ID 45"} 
[2026-09-09 17:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972873728001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9090867666548936704}} 
[2026-09-09 17:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":177102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:53:30] local.INFO: GPS data processed {"connection_id":177102,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:53:30] local.INFO: Acknowledgment sent {"connection_id":177102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:53:31] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:53:31] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:53:31] local.INFO: IMEI packet received {"connection_id":175919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":175919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:53:32] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861ea370012d19cc40071ff8b00031002424..."} 
[2026-09-09 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861ea370012d19cc40071ff8b00031002424..."} 
[2026-09-09 17:53:32] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861ea370012d19cc40071ff8b00031002424..."} 
[2026-09-09 17:53:32] local.INFO: Packet analysis {"connection_id":175919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:53:32] local.INFO: Extracted packet for processing {"connection_id":175919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119535792,"longitude_deg":75.6665408,"latitude_deg":11.9535792,"altitude":49,"angle":36,"satellites":36,"speed":19,"hex_longitude":"2d19cc40","hex_latitude":"071ff8b0","is_valid_coordinates":true} 
[2026-09-09 17:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972876288001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19133568202571776,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077248000,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788956550000,"timestamp_ms":1788956550000,"timestamp_seconds":1788956550,"priority":1,"record_length":96,"hex_timestamp":"000001a0861ea370"} 
[2026-09-09 17:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 17:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972876288001,"66":14102,"101":206,"83":41984,"24":19,"16":19133568202571776,"45":1858508933077248000},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-09 17:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972876288001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:53:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 17:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19133568202571776,"km_value":19133568202571.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077248000,"description":"Unknown IO ID 45"} 
[2026-09-09 17:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972876288001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1858508933077248000}} 
[2026-09-09 17:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":175919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:53:32] local.INFO: GPS data processed {"connection_id":175919,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:53:32] local.INFO: Acknowledgment sent {"connection_id":175919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:53:38] local.INFO: TCP Data received {"connection_id":177103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:53:38] local.INFO: Processing buffer {"connection_id":177103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:53:38] local.INFO: IMEI packet received {"connection_id":177103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":177103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:53:43] local.INFO: TCP Data received {"connection_id":177103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:53:43] local.INFO: Processing buffer {"connection_id":177103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:53:43] local.INFO: IMEI packet received {"connection_id":177103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":177103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:53:44] local.INFO: TCP Data received {"connection_id":177103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:53:44] local.INFO: Processing buffer {"connection_id":177103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861abf58012d34cc4006aa49080000013422..."} 
[2026-09-09 17:53:44] local.INFO: Packet analysis {"connection_id":177103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:53:44] local.INFO: Extracted packet for processing {"connection_id":177103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861a"} 
[2026-09-09 17:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972734464001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788956295000,"timestamp_ms":1788956295000,"timestamp_seconds":1788956295,"priority":1,"record_length":96,"hex_timestamp":"000001a0861abf58"} 
[2026-09-09 17:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 17:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972734464001,"66":25593,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972734464001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972734464001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":177103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:53:44] local.INFO: GPS data processed {"connection_id":177103,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:53:44] local.INFO: Acknowledgment sent {"connection_id":177103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:54:01] local.INFO: TCP Data received {"connection_id":177102,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0861ec698012d82208005d341780009005c27..."} 
[2026-09-09 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861ec698012d82208005d341780009005c27..."} 
[2026-09-09 17:54:01] local.INFO: Processing buffer {"connection_id":177102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861ec698012d82208005d341780009005c27..."} 
[2026-09-09 17:54:01] local.INFO: Packet analysis {"connection_id":177102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:54:01] local.INFO: Extracted packet for processing {"connection_id":177102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763502720,"raw_latitude":97730936,"longitude_deg":76.350272,"latitude_deg":9.7730936,"altitude":9,"angle":92,"satellites":39,"speed":43,"hex_longitude":"2d822080","hex_latitude":"05d34178","is_valid_coordinates":true} 
[2026-09-09 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972876800001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130449662996905984,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080241986178195456,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788956559000,"timestamp_ms":1788956559000,"timestamp_seconds":1788956559,"priority":1,"record_length":96,"hex_timestamp":"000001a0861ec698"} 
[2026-09-09 17:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 17:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972876800001,"66":13852,"207":206,"85":15104,"24":43,"16":130449662996905984,"45":-9080241986178195456},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 17:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972876800001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:54:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 17:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130449662996905984,"km_value":130449662996905.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080241986178195456,"description":"Unknown IO ID 45"} 
[2026-09-09 17:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972876800001,"power":13852,"unknown_207":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9080241986178195456}} 
[2026-09-09 17:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":177102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:54:01] local.INFO: GPS data processed {"connection_id":177102,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:54:01] local.INFO: Acknowledgment sent {"connection_id":177102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:54:03] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f2070012d19c18007202f18002d015428..."} 
[2026-09-09 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f2070012d19c18007202f18002d015428..."} 
[2026-09-09 17:54:03] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f2070012d19c18007202f18002d015428..."} 
[2026-09-09 17:54:03] local.INFO: Packet analysis {"connection_id":175919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:54:03] local.INFO: Extracted packet for processing {"connection_id":175919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756662656,"raw_latitude":119549720,"longitude_deg":75.6662656,"latitude_deg":11.954972,"altitude":45,"angle":340,"satellites":40,"speed":35,"hex_longitude":"2d19c180","hex_latitude":"07202f18","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972883200001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19134487325573120,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056254464,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788956582000,"timestamp_ms":1788956582000,"timestamp_seconds":1788956582,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f2070"} 
[2026-09-09 17:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:54: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-09-09 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 17:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972883200001,"66":14157,"103":206,"83":41984,"24":35,"16":19134487325573120,"45":1858790408056254464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972883200001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:54:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19134487325573120,"km_value":19134487325573.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056254464,"description":"Unknown IO ID 45"} 
[2026-09-09 17:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972883200001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1858790408056254464}} 
[2026-09-09 17:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":175919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:54:03] local.INFO: GPS data processed {"connection_id":175919,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:54:03] local.INFO: Acknowledgment sent {"connection_id":175919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:54:15] local.INFO: TCP Data received {"connection_id":177103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:54:15] local.INFO: Processing buffer {"connection_id":177103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:54:15] local.INFO: Packet analysis {"connection_id":177103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:54:15] local.INFO: Extracted packet for processing {"connection_id":177103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:54:15] 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-09-09 17:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":177103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:54:15] local.INFO: GPS data processed {"connection_id":177103,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:54:15] local.INFO: Acknowledgment sent {"connection_id":177103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:54:19] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:54:19] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:54:19] local.INFO: IMEI packet received {"connection_id":175696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":175696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:54:24] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:54:24] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:54:24] local.INFO: IMEI packet received {"connection_id":175696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":175696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:54:25] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0861eeda8012d82438005d34258000a005127..."} 
[2026-09-09 17:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861eeda8012d82438005d34258000a005127..."} 
[2026-09-09 17:54:25] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861eeda8012d82438005d34258000a005127..."} 
[2026-09-09 17:54:25] local.INFO: Packet analysis {"connection_id":175696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:54:25] local.INFO: Extracted packet for processing {"connection_id":175696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861e"} 
[2026-09-09 17:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763511680,"raw_latitude":97731160,"longitude_deg":76.351168,"latitude_deg":9.773116,"altitude":10,"angle":81,"satellites":39,"speed":26,"hex_longitude":"2d824380","hex_latitude":"05d34258","is_valid_coordinates":true} 
[2026-09-09 17:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972879104001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130450088198668288,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070108887016704000,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788956569000,"timestamp_ms":1788956569000,"timestamp_seconds":1788956569,"priority":1,"record_length":96,"hex_timestamp":"000001a0861eeda8"} 
[2026-09-09 17:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 17:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972879104001,"66":13537,"207":206,"85":15104,"24":26,"16":130450088198668288,"45":-9070108887016704000},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 17:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972879104001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:54:25] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 17:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130450088198668288,"km_value":130450088198668.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070108887016704000,"description":"Unknown IO ID 45"} 
[2026-09-09 17:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972879104001,"power":13537,"unknown_207":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9070108887016704000}} 
[2026-09-09 17:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":175696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:54:25] local.INFO: GPS data processed {"connection_id":175696,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:54:25] local.INFO: Acknowledgment sent {"connection_id":175696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:54:30] local.INFO: TCP Data received {"connection_id":178501,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:54:30] local.INFO: Processing buffer {"connection_id":178501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:54:30] local.INFO: IMEI packet received {"connection_id":178501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":178501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:54:35] local.INFO: TCP Data received {"connection_id":178501,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:54:35] local.INFO: Processing buffer {"connection_id":178501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:54:35] local.INFO: IMEI packet received {"connection_id":178501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":178501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:54:35] local.INFO: TCP Data received {"connection_id":178501,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861fbcb0012d19b6c00720abb80033013227..."} 
[2026-09-09 17:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861fbcb0012d19b6c00720abb80033013227..."} 
[2026-09-09 17:54:35] local.INFO: Processing buffer {"connection_id":178501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861fbcb0012d19b6c00720abb80033013227..."} 
[2026-09-09 17:54:35] local.INFO: Packet analysis {"connection_id":178501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:54:35] local.INFO: Extracted packet for processing {"connection_id":178501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119581624,"longitude_deg":75.6659904,"latitude_deg":11.9581624,"altitude":51,"angle":306,"satellites":39,"speed":20,"hex_longitude":"2d19b6c0","hex_latitude":"0720abb8","is_valid_coordinates":true} 
[2026-09-09 17:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972894976001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19136140887982080,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508310016,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788956622000,"timestamp_ms":1788956622000,"timestamp_seconds":1788956622,"priority":1,"record_length":96,"hex_timestamp":"000001a0861fbcb0"} 
[2026-09-09 17:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-09 17:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972894976001,"66":14102,"103":206,"83":41984,"24":20,"16":19136140887982080,"45":1853442383508310016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972894976001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:54:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19136140887982080,"km_value":19136140887982.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508310016,"description":"Unknown IO ID 45"} 
[2026-09-09 17:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972894976001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853442383508310016}} 
[2026-09-09 17:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":178501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:54:36] local.INFO: GPS data processed {"connection_id":178501,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:54:36] local.INFO: Acknowledgment sent {"connection_id":178501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:54:38] local.INFO: TCP Data received {"connection_id":178502,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:54:38] local.INFO: Processing buffer {"connection_id":178502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:54:38] local.INFO: IMEI packet received {"connection_id":178502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":178502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:54:43] local.INFO: TCP Data received {"connection_id":178502,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:54:43] local.INFO: Processing buffer {"connection_id":178502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:54:43] local.INFO: IMEI packet received {"connection_id":178502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":178502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:54:44] local.INFO: TCP Data received {"connection_id":178502,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:54:44] local.INFO: Processing buffer {"connection_id":178502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:54:44] local.INFO: Packet analysis {"connection_id":178502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:54:44] local.INFO: Extracted packet for processing {"connection_id":178502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:54:44] 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-09-09 17: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-09-09 17:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":178502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:54:44] local.INFO: GPS data processed {"connection_id":178502,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:54:44] local.INFO: Acknowledgment sent {"connection_id":178502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:54:56] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086207448012d828b4005d2d718000d00ae27..."} 
[2026-09-09 17:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086207448012d828b4005d2d718000d00ae27..."} 
[2026-09-09 17:54:56] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086207448012d828b4005d2d718000d00ae27..."} 
[2026-09-09 17:54:56] local.INFO: Packet analysis {"connection_id":175696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:54:56] local.INFO: Extracted packet for processing {"connection_id":175696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763530048,"raw_latitude":97703704,"longitude_deg":76.3530048,"latitude_deg":9.7703704,"altitude":13,"angle":174,"satellites":39,"speed":25,"hex_longitude":"2d828b40","hex_latitude":"05d2d718","is_valid_coordinates":true} 
[2026-09-09 17:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972902144001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130452321581662208,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041679914373767168,"note":"Value kept but may cause issues"} 
[2026-09-09 17:54:56] 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-09-09 17:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788956669000,"timestamp_ms":1788956669000,"timestamp_seconds":1788956669,"priority":1,"record_length":96,"hex_timestamp":"000001a086207448"} 
[2026-09-09 17:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-09 17:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972902144001,"66":13722,"68":206,"85":15104,"24":25,"16":130452321581662208,"45":-9041679914373767168},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-09 17:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972902144001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:54:56] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-09 17:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130452321581662208,"km_value":130452321581662.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041679914373767168,"description":"Unknown IO ID 45"} 
[2026-09-09 17:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972902144001,"power":13722,"unknown_68":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9041679914373767168}} 
[2026-09-09 17:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":175696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:54:56] local.INFO: GPS data processed {"connection_id":175696,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:54:56] local.INFO: Acknowledgment sent {"connection_id":175696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:55:06] local.INFO: TCP Data received {"connection_id":178501,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0861fc098012d19b4400720acb00034012626..."} 
[2026-09-09 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861fc098012d19b4400720acb00034012626..."} 
[2026-09-09 17:55:06] local.INFO: Processing buffer {"connection_id":178501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861fc098012d19b4400720acb00034012626..."} 
[2026-09-09 17:55:06] local.INFO: Packet analysis {"connection_id":178501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:55:06] local.INFO: Extracted packet for processing {"connection_id":178501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119581872,"longitude_deg":75.6659264,"latitude_deg":11.9581872,"altitude":52,"angle":294,"satellites":38,"speed":24,"hex_longitude":"2d19b440","hex_latitude":"0720acb0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972895232001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19136175247720448,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433554966528,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788956623000,"timestamp_ms":1788956623000,"timestamp_seconds":1788956623,"priority":1,"record_length":96,"hex_timestamp":"000001a0861fc098"} 
[2026-09-09 17:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 17:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972895232001,"66":14102,"103":206,"83":41984,"24":24,"16":19136175247720448,"45":1852879433554966528},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972895232001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:55:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19136175247720448,"km_value":19136175247720.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433554966528,"description":"Unknown IO ID 45"} 
[2026-09-09 17:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972895232001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1852879433554966528}} 
[2026-09-09 17:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":178501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:55:06] local.INFO: GPS data processed {"connection_id":178501,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:55:06] local.INFO: Acknowledgment sent {"connection_id":178501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:55:17] local.INFO: TCP Data received {"connection_id":178502,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:55:17] local.INFO: Processing buffer {"connection_id":178502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:55:17] local.INFO: Packet analysis {"connection_id":178502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:55:17] local.INFO: Extracted packet for processing {"connection_id":178502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:55:17] 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-09-09 17:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":178502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:55:17] local.INFO: GPS data processed {"connection_id":178502,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:55:17] local.INFO: Acknowledgment sent {"connection_id":178502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:55:19] local.INFO: TCP Data received {"connection_id":178503,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:55:19] local.INFO: Processing buffer {"connection_id":178503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:55:19] local.INFO: IMEI packet received {"connection_id":178503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":178503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:55:24] local.INFO: TCP Data received {"connection_id":178503,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:55:24] local.INFO: Processing buffer {"connection_id":178503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:55:24] local.INFO: IMEI packet received {"connection_id":178503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":178503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:55:25] local.INFO: TCP Data received {"connection_id":178503,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08620b2c8012d82904005d2b3d0000e00ac26..."} 
[2026-09-09 17:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08620b2c8012d82904005d2b3d0000e00ac26..."} 
[2026-09-09 17:55:25] local.INFO: Processing buffer {"connection_id":178503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08620b2c8012d82904005d2b3d0000e00ac26..."} 
[2026-09-09 17:55:25] local.INFO: Packet analysis {"connection_id":178503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:55:25] local.INFO: Extracted packet for processing {"connection_id":178503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:55:25] local.INFO: GPS Element Parsed {"raw_longitude":763531328,"raw_latitude":97694672,"longitude_deg":76.3531328,"latitude_deg":9.7694672,"altitude":14,"angle":172,"satellites":38,"speed":21,"hex_longitude":"2d829040","hex_latitude":"05d2b3d0","is_valid_coordinates":true} 
[2026-09-09 17:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972907264001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130452768258260992,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040061433259812864,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:25] 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-09-09 17:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788956685000,"timestamp_ms":1788956685000,"timestamp_seconds":1788956685,"priority":1,"record_length":96,"hex_timestamp":"000001a08620b2c8"} 
[2026-09-09 17:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:55: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-09-09 17: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-09 17:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972907264001,"66":13852,"68":206,"85":15104,"24":21,"16":130452768258260992,"45":-9040061433259812864},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-09 17:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972907264001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:55:25] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-09 17:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130452768258260992,"km_value":130452768258260.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040061433259812864,"description":"Unknown IO ID 45"} 
[2026-09-09 17:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972907264001,"power":13852,"unknown_68":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9040061433259812864}} 
[2026-09-09 17:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":178503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:55:25] local.INFO: GPS data processed {"connection_id":178503,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:55:25] local.INFO: Acknowledgment sent {"connection_id":178503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:55:30] local.INFO: TCP Data received {"connection_id":177104,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:55:30] local.INFO: Processing buffer {"connection_id":177104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:55:30] local.INFO: IMEI packet received {"connection_id":177104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":177104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:55:30] local.INFO: TCP Data received {"connection_id":177104,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:55:30] local.INFO: Processing buffer {"connection_id":177104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:55:30] local.INFO: IMEI packet received {"connection_id":177104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":177104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:55:33] local.INFO: TCP Data received {"connection_id":177104,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:55:33] local.INFO: Processing buffer {"connection_id":177104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:55:33] local.INFO: IMEI packet received {"connection_id":177104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":177104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:55:33] local.INFO: TCP Data received {"connection_id":177104,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08620aee0012d18ecc00720e260003a014726..."} 
[2026-09-09 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08620aee0012d18ecc00720e260003a014726..."} 
[2026-09-09 17:55:33] local.INFO: Processing buffer {"connection_id":177104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08620aee0012d18ecc00720e260003a014726..."} 
[2026-09-09 17:55:33] local.INFO: Packet analysis {"connection_id":177104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:55:33] local.INFO: Extracted packet for processing {"connection_id":177104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756608192,"raw_latitude":119595616,"longitude_deg":75.6608192,"latitude_deg":11.9595616,"altitude":58,"angle":327,"satellites":38,"speed":34,"hex_longitude":"2d18ecc0","hex_latitude":"0720e260","is_valid_coordinates":true} 
[2026-09-09 17:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972910336001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19138820947574784,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797639969378537472,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788956684000,"timestamp_ms":1788956684000,"timestamp_seconds":1788956684,"priority":1,"record_length":96,"hex_timestamp":"000001a08620aee0"} 
[2026-09-09 17:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:55: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-09-09 17:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-09 17:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972910336001,"66":14265,"103":206,"83":41984,"24":34,"16":19138820947574784,"45":1797639969378537472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972910336001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:55:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19138820947574784,"km_value":19138820947574.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797639969378537472,"description":"Unknown IO ID 45"} 
[2026-09-09 17:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972910336001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1797639969378537472}} 
[2026-09-09 17:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":177104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:55:33] local.INFO: GPS data processed {"connection_id":177104,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:55:33] local.INFO: Acknowledgment sent {"connection_id":177104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:55:38] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:55:38] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:55:38] local.INFO: IMEI packet received {"connection_id":175697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":175697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:55:43] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:55:43] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:55:43] local.INFO: IMEI packet received {"connection_id":175697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":175697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:55:44] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:55:44] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:55:44] local.INFO: Packet analysis {"connection_id":175697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:55:44] local.INFO: Extracted packet for processing {"connection_id":175697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:55:44] 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-09-09 17: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-09-09 17:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":175697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:55:44] local.INFO: GPS data processed {"connection_id":175697,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:55:44] local.INFO: Acknowledgment sent {"connection_id":175697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:55:56] local.INFO: TCP Data received {"connection_id":178503,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08620c268012d82904005d2ab98000c00ba27..."} 
[2026-09-09 17:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08620c268012d82904005d2ab98000c00ba27..."} 
[2026-09-09 17:55:56] local.INFO: Processing buffer {"connection_id":178503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08620c268012d82904005d2ab98000c00ba27..."} 
[2026-09-09 17:55:56] local.INFO: Packet analysis {"connection_id":178503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:55:56] local.INFO: Extracted packet for processing {"connection_id":178503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763531328,"raw_latitude":97692568,"longitude_deg":76.3531328,"latitude_deg":9.7692568,"altitude":12,"angle":186,"satellites":39,"speed":17,"hex_longitude":"2d829040","hex_latitude":"05d2ab98","is_valid_coordinates":true} 
[2026-09-09 17:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972911360001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130452867042508800,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038654058378571776,"note":"Value kept but may cause issues"} 
[2026-09-09 17:55:56] 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-09-09 17:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788956689000,"timestamp_ms":1788956689000,"timestamp_seconds":1788956689,"priority":1,"record_length":96,"hex_timestamp":"000001a08620c268"} 
[2026-09-09 17:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-09 17:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972911360001,"66":13222,"68":206,"85":15104,"24":17,"16":130452867042508800,"45":-9038654058378571776},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-09 17:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972911360001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:55:56] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-09 17:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130452867042508800,"km_value":130452867042508.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038654058378571776,"description":"Unknown IO ID 45"} 
[2026-09-09 17:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972911360001,"power":13222,"unknown_68":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9038654058378571776}} 
[2026-09-09 17:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":178503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:55:56] local.INFO: GPS data processed {"connection_id":178503,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:55:56] local.INFO: Acknowledgment sent {"connection_id":178503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:56:04] local.INFO: TCP Data received {"connection_id":177104,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08620ca38012d18dfc00720f5c8003d013926..."} 
[2026-09-09 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08620ca38012d18dfc00720f5c8003d013926..."} 
[2026-09-09 17:56:04] local.INFO: Processing buffer {"connection_id":177104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08620ca38012d18dfc00720f5c8003d013926..."} 
[2026-09-09 17:56:04] local.INFO: Packet analysis {"connection_id":177104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:56:04] local.INFO: Extracted packet for processing {"connection_id":177104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756604864,"raw_latitude":119600584,"longitude_deg":75.6604864,"latitude_deg":11.9600584,"altitude":61,"angle":313,"satellites":38,"speed":36,"hex_longitude":"2d18dfc0","hex_latitude":"0720f5c8","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972911104001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19139108710383616,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796021488262995968,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56: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-09-09 17:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788956691000,"timestamp_ms":1788956691000,"timestamp_seconds":1788956691,"priority":1,"record_length":96,"hex_timestamp":"000001a08620ca38"} 
[2026-09-09 17:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:56: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-09-09 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 17:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972911104001,"66":14243,"103":206,"83":41984,"24":36,"16":19139108710383616,"45":1796021488262995968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-09 17:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972911104001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:56:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 17:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19139108710383616,"km_value":19139108710383.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796021488262995968,"description":"Unknown IO ID 45"} 
[2026-09-09 17:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972911104001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1796021488262995968}} 
[2026-09-09 17:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":177104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:56:05] local.INFO: GPS data processed {"connection_id":177104,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:56:05] local.INFO: Acknowledgment sent {"connection_id":177104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:56:16] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:56:16] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:56:16] local.INFO: Packet analysis {"connection_id":175697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:56:16] local.INFO: Extracted packet for processing {"connection_id":175697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:56:16] 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-09-09 17:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":175697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:56:16] local.INFO: GPS data processed {"connection_id":175697,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:56:16] local.INFO: Acknowledgment sent {"connection_id":175697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:56:19] local.INFO: TCP Data received {"connection_id":178504,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:56:19] local.INFO: Processing buffer {"connection_id":178504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:56:19] local.INFO: IMEI packet received {"connection_id":178504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":178504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:56:24] local.INFO: TCP Data received {"connection_id":178504,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:56:24] local.INFO: Processing buffer {"connection_id":178504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:56:24] local.INFO: IMEI packet received {"connection_id":178504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":178504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:56:25] local.INFO: TCP Data received {"connection_id":178504,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08620ddc0012d828ec005d29e98000c00ae27..."} 
[2026-09-09 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08620ddc0012d828ec005d29e98000c00ae27..."} 
[2026-09-09 17:56:25] local.INFO: Processing buffer {"connection_id":178504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08620ddc0012d828ec005d29e98000c00ae27..."} 
[2026-09-09 17:56:25] local.INFO: Packet analysis {"connection_id":178504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:56:25] local.INFO: Extracted packet for processing {"connection_id":178504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08620"} 
[2026-09-09 17:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763530944,"raw_latitude":97689240,"longitude_deg":76.3530944,"latitude_deg":9.768924,"altitude":12,"angle":174,"satellites":39,"speed":22,"hex_longitude":"2d828ec0","hex_latitude":"05d29e98","is_valid_coordinates":true} 
[2026-09-09 17:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972912384001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130453030251266048,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038654058379110400,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:25] 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-09-09 17:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788956696000,"timestamp_ms":1788956696000,"timestamp_seconds":1788956696,"priority":1,"record_length":96,"hex_timestamp":"000001a08620ddc0"} 
[2026-09-09 17:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:56: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-09-09 17:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-09 17:56: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-09-09 17:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972912384001,"66":13765,"68":206,"85":15104,"24":22,"16":130453030251266048,"45":-9038654058379110400},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-09 17:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972912384001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:56:25] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-09 17:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130453030251266048,"km_value":130453030251266.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038654058379110400,"description":"Unknown IO ID 45"} 
[2026-09-09 17:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972912384001,"power":13765,"unknown_68":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9038654058379110400}} 
[2026-09-09 17:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":178504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:56:25] local.INFO: GPS data processed {"connection_id":178504,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:56:25] local.INFO: Acknowledgment sent {"connection_id":178504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:56:30] local.INFO: TCP Data received {"connection_id":175698,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:30] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:30] local.INFO: IMEI packet received {"connection_id":175698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":175698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:56:30] local.INFO: TCP Data received {"connection_id":175698,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:30] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:30] local.INFO: IMEI packet received {"connection_id":175698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":175698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:56:31] local.INFO: TCP Data received {"connection_id":175698,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:31] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:31] local.INFO: IMEI packet received {"connection_id":175698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":175698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:56:35] local.INFO: TCP Data received {"connection_id":175698,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:35] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:56:35] local.INFO: IMEI packet received {"connection_id":175698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":175698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:56:36] local.INFO: TCP Data received {"connection_id":175698,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086216e48012d18a580072174680049012224..."} 
[2026-09-09 17:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086216e48012d18a580072174680049012224..."} 
[2026-09-09 17:56:36] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086216e48012d18a580072174680049012224..."} 
[2026-09-09 17:56:36] local.INFO: Packet analysis {"connection_id":175698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:56:36] local.INFO: Extracted packet for processing {"connection_id":175698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119633000,"longitude_deg":75.6589952,"latitude_deg":11.9633,"altitude":73,"angle":290,"satellites":36,"speed":35,"hex_longitude":"2d18a580","hex_latitude":"07217468","is_valid_coordinates":true} 
[2026-09-09 17:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972923136001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19140912596647936,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777584877297813504,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788956733000,"timestamp_ms":1788956733000,"timestamp_seconds":1788956733,"priority":1,"record_length":96,"hex_timestamp":"000001a086216e48"} 
[2026-09-09 17:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-09 17:56: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-09-09 17:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972923136001,"66":14070,"106":206,"83":41984,"24":35,"16":19140912596647936,"45":1777584877297813504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 17:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972923136001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:56:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 17:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19140912596647936,"km_value":19140912596647.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777584877297813504,"description":"Unknown IO ID 45"} 
[2026-09-09 17:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972923136001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1777584877297813504}} 
[2026-09-09 17:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":175698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:56:36] local.INFO: GPS data processed {"connection_id":175698,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:56:36] local.INFO: Acknowledgment sent {"connection_id":175698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:56:38] local.INFO: TCP Data received {"connection_id":178505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:56:38] local.INFO: Processing buffer {"connection_id":178505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:56:38] local.INFO: IMEI packet received {"connection_id":178505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":178505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:56:40] local.INFO: TCP Data received {"connection_id":175698,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086219558012d188180072181480048011624..."} 
[2026-09-09 17:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086219558012d188180072181480048011624..."} 
[2026-09-09 17:56:40] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086219558012d188180072181480048011624..."} 
[2026-09-09 17:56:40] local.INFO: Packet analysis {"connection_id":175698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:56:40] local.INFO: Extracted packet for processing {"connection_id":175698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756580736,"raw_latitude":119636296,"longitude_deg":75.6580736,"latitude_deg":11.9636296,"altitude":72,"angle":278,"satellites":36,"speed":37,"hex_longitude":"2d188180","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-09-09 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972923648001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19141380748083200,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396181932032,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56: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-09-09 17:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788956743000,"timestamp_ms":1788956743000,"timestamp_seconds":1788956743,"priority":1,"record_length":96,"hex_timestamp":"000001a086219558"} 
[2026-09-09 17:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-09 17:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972923648001,"66":14048,"106":206,"83":41984,"24":37,"16":19141380748083200,"45":1775966396181932032},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 17:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972923648001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:56:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 17:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19141380748083200,"km_value":19141380748083.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396181932032,"description":"Unknown IO ID 45"} 
[2026-09-09 17:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972923648001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1775966396181932032}} 
[2026-09-09 17:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":175698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:56:40] local.INFO: GPS data processed {"connection_id":175698,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:56:40] local.INFO: Acknowledgment sent {"connection_id":175698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:56:43] local.INFO: TCP Data received {"connection_id":178505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:56:43] local.INFO: Processing buffer {"connection_id":178505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:56:43] local.INFO: IMEI packet received {"connection_id":178505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":178505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:56:47] local.INFO: TCP Data received {"connection_id":178505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:56:47] local.INFO: Processing buffer {"connection_id":178505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:56:47] local.INFO: Packet analysis {"connection_id":178505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:56:47] local.INFO: Extracted packet for processing {"connection_id":178505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:56:47] 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-09-09 17:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":178505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:56:47] local.INFO: GPS data processed {"connection_id":178505,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:56:47] local.INFO: Acknowledgment sent {"connection_id":178505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:56:56] local.INFO: TCP Data received {"connection_id":178504,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086211470012d82928005d27a70000d00ab27..."} 
[2026-09-09 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086211470012d82928005d27a70000d00ab27..."} 
[2026-09-09 17:56:56] local.INFO: Processing buffer {"connection_id":178504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086211470012d82928005d27a70000d00ab27..."} 
[2026-09-09 17:56:56] local.INFO: Packet analysis {"connection_id":178504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:56:56] local.INFO: Extracted packet for processing {"connection_id":178504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763531904,"raw_latitude":97679984,"longitude_deg":76.3531904,"latitude_deg":9.7679984,"altitude":13,"angle":171,"satellites":39,"speed":26,"hex_longitude":"2d829280","hex_latitude":"05d27a70","is_valid_coordinates":true} 
[2026-09-09 17:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972914176001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130453481222832128,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039076270845028352,"note":"Value kept but may cause issues"} 
[2026-09-09 17:56:56] 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-09-09 17:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788956710000,"timestamp_ms":1788956710000,"timestamp_seconds":1788956710,"priority":1,"record_length":96,"hex_timestamp":"000001a086211470"} 
[2026-09-09 17:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-09 17:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972914176001,"66":13820,"68":206,"85":15104,"24":26,"16":130453481222832128,"45":-9039076270845028352},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-09 17:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972914176001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:56:56] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-09 17:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130453481222832128,"km_value":130453481222832.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039076270845028352,"description":"Unknown IO ID 45"} 
[2026-09-09 17:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972914176001,"power":13820,"unknown_68":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9039076270845028352}} 
[2026-09-09 17:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":178504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:56:56] local.INFO: GPS data processed {"connection_id":178504,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:56:56] local.INFO: Acknowledgment sent {"connection_id":178504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:57:11] local.INFO: TCP Data received {"connection_id":175698,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a086219558012d188180072181480048011624..."} 
[2026-09-09 17:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086219558012d188180072181480048011624..."} 
[2026-09-09 17:57:11] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086219558012d188180072181480048011624..."} 
[2026-09-09 17:57:11] local.INFO: Packet analysis {"connection_id":175698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:57:11] local.INFO: Extracted packet for processing {"connection_id":175698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756580736,"raw_latitude":119636296,"longitude_deg":75.6580736,"latitude_deg":11.9636296,"altitude":72,"angle":278,"satellites":36,"speed":37,"hex_longitude":"2d188180","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-09-09 17:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972926208001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19141380748083200,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765833297021192192,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788956743000,"timestamp_ms":1788956743000,"timestamp_seconds":1788956743,"priority":1,"record_length":96,"hex_timestamp":"000001a086219558"} 
[2026-09-09 17:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:57: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-09-09 17:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 17:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972926208001,"66":14048,"106":206,"83":41984,"24":37,"16":19141380748083200,"45":1765833297021192192},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 17:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972926208001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:57:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 17:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19141380748083200,"km_value":19141380748083.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765833297021192192,"description":"Unknown IO ID 45"} 
[2026-09-09 17:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972926208001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1765833297021192192}} 
[2026-09-09 17:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":175698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:57:11] local.INFO: GPS data processed {"connection_id":175698,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:57:11] local.INFO: Acknowledgment sent {"connection_id":175698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:57:19] local.INFO: TCP Data received {"connection_id":178506,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:57:19] local.INFO: Processing buffer {"connection_id":178506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:57:19] local.INFO: IMEI packet received {"connection_id":178506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":178506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:57:21] local.INFO: TCP Data received {"connection_id":178505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:57:21] local.INFO: Processing buffer {"connection_id":178505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:57:21] local.INFO: Packet analysis {"connection_id":178505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:57:21] local.INFO: Extracted packet for processing {"connection_id":178505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:57:21] 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-09-09 17:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:57:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":178505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:57:21] local.INFO: GPS data processed {"connection_id":178505,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:57:21] local.INFO: Acknowledgment sent {"connection_id":178505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:57:22] local.INFO: TCP Data received {"connection_id":178506,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:57:22] local.INFO: Processing buffer {"connection_id":178506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:57:22] local.INFO: IMEI packet received {"connection_id":178506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":178506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:57:25] local.INFO: TCP Data received {"connection_id":178506,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:57:25] local.INFO: Processing buffer {"connection_id":178506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:57:25] local.INFO: IMEI packet received {"connection_id":178506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":178506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:57:25] local.INFO: TCP Data received {"connection_id":178506,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08622b280012d82980005d162c80009007527..."} 
[2026-09-09 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622b280012d82980005d162c80009007527..."} 
[2026-09-09 17:57:25] local.INFO: Processing buffer {"connection_id":178506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622b280012d82980005d162c80009007527..."} 
[2026-09-09 17:57:25] local.INFO: Packet analysis {"connection_id":178506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:57:25] local.INFO: Extracted packet for processing {"connection_id":178506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97608392,"longitude_deg":76.3533312,"latitude_deg":9.7608392,"altitude":9,"angle":117,"satellites":39,"speed":7,"hex_longitude":"2d829800","hex_latitude":"05d162c8","is_valid_coordinates":true} 
[2026-09-09 17:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972944384001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130456981621178368,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733563629568,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:25] 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-09-09 17:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788956816000,"timestamp_ms":1788956816000,"timestamp_seconds":1788956816,"priority":1,"record_length":96,"hex_timestamp":"000001a08622b280"} 
[2026-09-09 17:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17: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-09-09 17: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-09 17:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972944384001,"66":13906,"63":206,"85":15104,"24":7,"16":130456981621178368,"45":-9036683733563629568},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-09 17:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972944384001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:57:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-09 17:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130456981621178368,"km_value":130456981621178.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733563629568,"description":"Unknown IO ID 45"} 
[2026-09-09 17:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972944384001,"power":13906,"unknown_63":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9036683733563629568}} 
[2026-09-09 17:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":178506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:57:26] local.INFO: GPS data processed {"connection_id":178506,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:57:26] local.INFO: Acknowledgment sent {"connection_id":178506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:57:29] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:57:29] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:57:29] local.INFO: IMEI packet received {"connection_id":175699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":175699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:57:34] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:57:34] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:57:34] local.INFO: IMEI packet received {"connection_id":175699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":175699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:57:35] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08621a110012d187700072181e80048010925..."} 
[2026-09-09 17:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08621a110012d187700072181e80048010925..."} 
[2026-09-09 17:57:35] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08621a110012d187700072181e80048010925..."} 
[2026-09-09 17:57:35] local.INFO: Packet analysis {"connection_id":175699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:57:35] local.INFO: Extracted packet for processing {"connection_id":175699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08621"} 
[2026-09-09 17:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636456,"longitude_deg":75.6578048,"latitude_deg":11.9636456,"altitude":72,"angle":265,"satellites":37,"speed":29,"hex_longitude":"2d187700","hex_latitude":"072181e8","is_valid_coordinates":true} 
[2026-09-09 17:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972926208001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19141505302134784,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765833297021192192,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57: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-09-09 17:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788956746000,"timestamp_ms":1788956746000,"timestamp_seconds":1788956746,"priority":1,"record_length":96,"hex_timestamp":"000001a08621a110"} 
[2026-09-09 17:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-09 17:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972926208001,"66":14026,"106":206,"83":41984,"24":29,"16":19141505302134784,"45":1765833297021192192},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-09 17:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972926208001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:57:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 17:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19141505302134784,"km_value":19141505302134.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765833297021192192,"description":"Unknown IO ID 45"} 
[2026-09-09 17:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972926208001,"power":14026,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1765833297021192192}} 
[2026-09-09 17:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":175699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:57:35] local.INFO: GPS data processed {"connection_id":175699,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:57:35] local.INFO: Acknowledgment sent {"connection_id":175699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:57:38] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:57:38] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:57:38] local.INFO: IMEI packet received {"connection_id":175920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":175920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:57:43] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:57:43] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:57:43] local.INFO: IMEI packet received {"connection_id":175920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":175920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:57:44] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:57:44] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:57:44] local.INFO: Packet analysis {"connection_id":175920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:57:44] local.INFO: Extracted packet for processing {"connection_id":175920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:57:44] 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-09-09 17:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:57:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":175920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:57:44] local.INFO: GPS data processed {"connection_id":175920,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:57:44] local.INFO: Acknowledgment sent {"connection_id":175920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:57:57] local.INFO: TCP Data received {"connection_id":178506,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08622b668012d82994005d162900009006227..."} 
[2026-09-09 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622b668012d82994005d162900009006227..."} 
[2026-09-09 17:57:57] local.INFO: Processing buffer {"connection_id":178506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622b668012d82994005d162900009006227..."} 
[2026-09-09 17:57:57] local.INFO: Packet analysis {"connection_id":178506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:57:57] local.INFO: Extracted packet for processing {"connection_id":178506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763533632,"raw_latitude":97608336,"longitude_deg":76.3533632,"latitude_deg":9.7608336,"altitude":9,"angle":98,"satellites":39,"speed":10,"hex_longitude":"2d829940","hex_latitude":"05d16290","is_valid_coordinates":true} 
[2026-09-09 17:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972944896001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130456998801047552,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627331151872,"note":"Value kept but may cause issues"} 
[2026-09-09 17:57: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-09-09 17:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788956817000,"timestamp_ms":1788956817000,"timestamp_seconds":1788956817,"priority":1,"record_length":96,"hex_timestamp":"000001a08622b668"} 
[2026-09-09 17:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 17:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972944896001,"66":13906,"63":206,"85":15104,"24":10,"16":130456998801047552,"45":-9036472627331151872},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-09 17:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972944896001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:57:57] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-09 17:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130456998801047552,"km_value":130456998801047.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627331151872,"description":"Unknown IO ID 45"} 
[2026-09-09 17:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972944896001,"power":13906,"unknown_63":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9036472627331151872}} 
[2026-09-09 17:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":178506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:57:57] local.INFO: GPS data processed {"connection_id":178506,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:57:57] local.INFO: Acknowledgment sent {"connection_id":178506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:58:06] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a08622dd78012d181d400721a8a80048016526..."} 
[2026-09-09 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622dd78012d181d400721a8a80048016526..."} 
[2026-09-09 17:58:06] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622dd78012d181d400721a8a80048016526..."} 
[2026-09-09 17:58:06] local.INFO: Packet analysis {"connection_id":175699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:58:06] local.INFO: Extracted packet for processing {"connection_id":175699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646376,"longitude_deg":75.6555072,"latitude_deg":11.9646376,"altitude":72,"angle":357,"satellites":38,"speed":5,"hex_longitude":"2d181d40","hex_latitude":"0721a8a8","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947456001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608500736,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58: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-09-09 17:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788956827000,"timestamp_ms":1788956827000,"timestamp_seconds":1788956827,"priority":1,"record_length":96,"hex_timestamp":"000001a08622dd78"} 
[2026-09-09 17:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 17:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947456001,"66":13254,"105":206,"83":41984,"24":5,"16":19142733662781440,"45":1737615430608500736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 17:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947456001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:58:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608500736,"description":"Unknown IO ID 45"} 
[2026-09-09 17:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947456001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737615430608500736}} 
[2026-09-09 17:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":175699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:58:06] local.INFO: GPS data processed {"connection_id":175699,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:58:06] local.INFO: Acknowledgment sent {"connection_id":175699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:58:16] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:58:16] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:58:16] local.INFO: Packet analysis {"connection_id":175920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:58:16] local.INFO: Extracted packet for processing {"connection_id":175920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:58:16] 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-09-09 17:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":175920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:58:16] local.INFO: GPS data processed {"connection_id":175920,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:58:16] local.INFO: Acknowledgment sent {"connection_id":175920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:58:23] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:58:23] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:58:23] local.INFO: IMEI packet received {"connection_id":175700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":175700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:58:24] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:58:24] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:58:24] local.INFO: IMEI packet received {"connection_id":175700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":175700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:58:29] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:58:29] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:58:29] local.INFO: IMEI packet received {"connection_id":175700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":175700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:58:30] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.53","data_length":93,"data_hex":"00000000000000518e01000001a08623bc20012d83338005d15468000700be27..."} 
[2026-09-09 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":93,"packet_hex":"00000000000000518e01000001a08623bc20012d83338005d15468000700be27..."} 
[2026-09-09 17:58:30] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a08623bc20012d83338005d15468000700be27..."} 
[2026-09-09 17:58:30] local.INFO: Packet analysis {"connection_id":175700,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a08623"} 
[2026-09-09 17:58:30] local.INFO: Extracted packet for processing {"connection_id":175700,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a08623"} 
[2026-09-09 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763573120,"raw_latitude":97604712,"longitude_deg":76.357312,"latitude_deg":9.7604712,"altitude":7,"angle":190,"satellites":39,"speed":7,"hex_longitude":"2d833380","hex_latitude":"05d15468","is_valid_coordinates":true} 
[2026-09-09 17: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":93,"current_offset":40} 
[2026-09-09 17:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:58:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175700,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175700,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175700,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-09 17:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 17:58:30] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":175700,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 17:58:30] local.ERROR: GPS data processing failed {"connection_id":175700,"error":"No valid data to process"} 
[2026-09-09 17:58:30] local.INFO: Acknowledgment sent {"connection_id":175700,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 17:58:31] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08623c008012d83338005d153b8000700cb27..."} 
[2026-09-09 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623c008012d83338005d153b8000700cb27..."} 
[2026-09-09 17:58:31] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623c008012d83338005d153b8000700cb27..."} 
[2026-09-09 17:58:31] local.INFO: Packet analysis {"connection_id":175700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 17:58:31] local.INFO: Extracted packet for processing {"connection_id":175700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 17:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763573120,"raw_latitude":97604536,"longitude_deg":76.357312,"latitude_deg":9.7604536,"altitude":7,"angle":203,"satellites":39,"speed":8,"hex_longitude":"2d833380","hex_latitude":"05d153b8","is_valid_coordinates":true} 
[2026-09-09 17:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972962304001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130459013140709376,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453586944,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58: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-09-09 17:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788956885000,"timestamp_ms":1788956885000,"timestamp_seconds":1788956885,"priority":1,"record_length":96,"hex_timestamp":"000001a08623c008"} 
[2026-09-09 17:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 17:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972962304001,"66":13624,"63":206,"85":15104,"24":8,"16":130459013140709376,"45":-8992703268453586944},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-09 17:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972962304001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:58:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-09 17:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130459013140709376,"km_value":130459013140709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453586944,"description":"Unknown IO ID 45"} 
[2026-09-09 17:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972962304001,"power":13624,"unknown_63":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992703268453586944}} 
[2026-09-09 17:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":175700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:58:31] local.INFO: GPS data processed {"connection_id":175700,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:58:31] local.INFO: Acknowledgment sent {"connection_id":175700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:58:43] local.INFO: TCP Data received {"connection_id":178507,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:58:43] local.INFO: Processing buffer {"connection_id":178507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:58:43] local.INFO: IMEI packet received {"connection_id":178507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":178507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:58:45] local.INFO: TCP Data received {"connection_id":178508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:58:45] local.INFO: Processing buffer {"connection_id":178508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:58:45] local.INFO: IMEI packet received {"connection_id":178508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":178508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:58:49] local.INFO: TCP Data received {"connection_id":178507,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:58:49] local.INFO: Processing buffer {"connection_id":178507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:58:49] local.INFO: IMEI packet received {"connection_id":178507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":178507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:58:49] local.INFO: TCP Data received {"connection_id":178508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:58:49] local.INFO: Processing buffer {"connection_id":178508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:58:49] local.INFO: IMEI packet received {"connection_id":178508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":178508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:58:50] local.INFO: TCP Data received {"connection_id":178508,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08622e160012d181d400721a9380048000a27..."} 
[2026-09-09 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622e160012d181d400721a9380048000a27..."} 
[2026-09-09 17:58:50] local.INFO: Processing buffer {"connection_id":178508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622e160012d181d400721a9380048000a27..."} 
[2026-09-09 17:58:50] local.INFO: Packet analysis {"connection_id":178508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:58:50] local.INFO: Extracted packet for processing {"connection_id":178508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646520,"longitude_deg":75.6555072,"latitude_deg":11.964652,"altitude":72,"angle":10,"satellites":39,"speed":6,"hex_longitude":"2d181d40","hex_latitude":"0721a938","is_valid_coordinates":true} 
[2026-09-09 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947712001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608529408,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788956828000,"timestamp_ms":1788956828000,"timestamp_seconds":1788956828,"priority":1,"record_length":96,"hex_timestamp":"000001a08622e160"} 
[2026-09-09 17:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-09 17:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947712001,"66":2764,"105":206,"83":41984,"24":6,"16":19142733662781440,"45":1737615430608529408},"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-09-09 17:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947712001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:58:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608529408,"description":"Unknown IO ID 45"} 
[2026-09-09 17:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947712001,"power":2764,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737615430608529408}} 
[2026-09-09 17:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":178508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:58:50] local.INFO: GPS data processed {"connection_id":178508,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:58:50] local.INFO: Acknowledgment sent {"connection_id":178508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:58:51] local.INFO: TCP Data received {"connection_id":178507,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:58:51] local.INFO: Processing buffer {"connection_id":178507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:58:51] local.INFO: Packet analysis {"connection_id":178507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:58:51] local.INFO: Extracted packet for processing {"connection_id":178507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:58:51] 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-09-09 17:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":178507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":178507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":178507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":178507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:58:51] local.INFO: GPS data processed {"connection_id":178507,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:58:51] local.INFO: Acknowledgment sent {"connection_id":178507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:58:54] local.INFO: TCP Data received {"connection_id":178507,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:58:54] local.INFO: Processing buffer {"connection_id":178507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0861f5720012d34cc4006aa49080000013424..."} 
[2026-09-09 17:58:54] local.INFO: Packet analysis {"connection_id":178507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:58:54] local.INFO: Extracted packet for processing {"connection_id":178507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0861f"} 
[2026-09-09 17:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972811520001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 17:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788956596000,"timestamp_ms":1788956596000,"timestamp_seconds":1788956596,"priority":1,"record_length":96,"hex_timestamp":"000001a0861f5720"} 
[2026-09-09 17:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 17:58:54] 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-09-09 17:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 17:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 17:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 17:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972811520001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 17:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 17:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 17:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972811520001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:58:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 17:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 17:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 17:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 17:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":178507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:58:54] local.INFO: GPS data processed {"connection_id":178507,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:58:54] local.INFO: Acknowledgment sent {"connection_id":178507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:58:55] local.INFO: TCP Data received {"connection_id":178508,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 17:58:55] local.INFO: Processing buffer {"connection_id":178508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 17:58:55] local.INFO: Packet analysis {"connection_id":178508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:58:55] local.INFO: Extracted packet for processing {"connection_id":178508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:58:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646944,"longitude_deg":75.6555264,"latitude_deg":11.9646944,"altitude":73,"angle":25,"satellites":39,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-09-09 17:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947968001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608566272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:58: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-09-09 17:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788956830000,"timestamp_ms":1788956830000,"timestamp_seconds":1788956830,"priority":1,"record_length":96,"hex_timestamp":"000001a08622e930"} 
[2026-09-09 17:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17: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":10,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 17:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2084,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:58: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-09-09 17:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947968001,"66":2416,"105":206,"83":41984,"24":12,"16":19142733662781440,"45":1737615430608566272},"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-09-09 17:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947968001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:58:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:58:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608566272,"description":"Unknown IO ID 45"} 
[2026-09-09 17:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947968001,"power":2416,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737615430608566272}} 
[2026-09-09 17:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":178508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:58:55] local.INFO: GPS data processed {"connection_id":178508,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:58:55] local.INFO: Acknowledgment sent {"connection_id":178508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:59:02] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08623c3f0012d83330005d15328000700ea27..."} 
[2026-09-09 17:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623c3f0012d83330005d15328000700ea27..."} 
[2026-09-09 17:59:02] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623c3f0012d83330005d15328000700ea27..."} 
[2026-09-09 17:59:02] local.INFO: Packet analysis {"connection_id":175700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 17:59:02] local.INFO: Extracted packet for processing {"connection_id":175700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 17:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763572992,"raw_latitude":97604392,"longitude_deg":76.3572992,"latitude_deg":9.7604392,"altitude":7,"angle":234,"satellites":39,"speed":8,"hex_longitude":"2d833300","hex_latitude":"05d15328","is_valid_coordinates":true} 
[2026-09-09 17:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972962560001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130459021730643968,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453632000,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:02] 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-09-09 17:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788956886000,"timestamp_ms":1788956886000,"timestamp_seconds":1788956886,"priority":1,"record_length":96,"hex_timestamp":"000001a08623c3f0"} 
[2026-09-09 17:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 17:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972962560001,"66":13830,"63":206,"85":15104,"24":8,"16":130459021730643968,"45":-8992703268453632000},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-09 17:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972962560001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:59:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-09 17:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130459021730643968,"km_value":130459021730643.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453632000,"description":"Unknown IO ID 45"} 
[2026-09-09 17:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972962560001,"power":13830,"unknown_63":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992703268453632000}} 
[2026-09-09 17:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":175700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:59:02] local.INFO: GPS data processed {"connection_id":175700,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:59:02] local.INFO: Acknowledgment sent {"connection_id":175700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:59:16] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:59:16] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:59:16] local.INFO: IMEI packet received {"connection_id":175701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 17:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":175701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:59:19] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:59:19] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:59:19] local.INFO: IMEI packet received {"connection_id":175701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":175701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:59:24] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:59:24] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 17:59:24] local.INFO: IMEI packet received {"connection_id":175701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 17:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":175701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:59:25] local.INFO: TCP Data received {"connection_id":177105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:59:25] local.INFO: Processing buffer {"connection_id":177105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:59:25] local.INFO: IMEI packet received {"connection_id":177105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 17:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":177105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:59:25] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086249ac8012d82950005d16800000d014526..."} 
[2026-09-09 17:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086249ac8012d82950005d16800000d014526..."} 
[2026-09-09 17:59:25] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086249ac8012d82950005d16800000d014526..."} 
[2026-09-09 17:59:25] local.INFO: Packet analysis {"connection_id":175701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 17:59:25] local.INFO: Extracted packet for processing {"connection_id":175701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 17:59:25] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97609728,"longitude_deg":76.3532544,"latitude_deg":9.7609728,"altitude":13,"angle":325,"satellites":38,"speed":12,"hex_longitude":"2d829500","hex_latitude":"05d16800","is_valid_coordinates":true} 
[2026-09-09 17:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972976128001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130461018890436608,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208540282880,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:25] 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-09-09 17:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788956941000,"timestamp_ms":1788956941000,"timestamp_seconds":1788956941,"priority":1,"record_length":96,"hex_timestamp":"000001a086249ac8"} 
[2026-09-09 17:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 17:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972976128001,"66":13276,"63":206,"85":15104,"24":12,"16":130461018890436608,"45":-9036965208540282880},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-09 17:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972976128001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:59:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-09 17:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130461018890436608,"km_value":130461018890436.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208540282880,"description":"Unknown IO ID 45"} 
[2026-09-09 17:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972976128001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9036965208540282880}} 
[2026-09-09 17:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":175701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:59:25] local.INFO: GPS data processed {"connection_id":175701,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:59:25] local.INFO: Acknowledgment sent {"connection_id":175701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:59:29] local.INFO: TCP Data received {"connection_id":177105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:59:29] local.INFO: Processing buffer {"connection_id":177105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 17:59:29] local.INFO: IMEI packet received {"connection_id":177105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":177105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:59:30] local.INFO: TCP Data received {"connection_id":177105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 17:59:30] local.INFO: Processing buffer {"connection_id":177105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 17:59:30] local.INFO: Packet analysis {"connection_id":177105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:59:30] local.INFO: Extracted packet for processing {"connection_id":177105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 17:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646944,"longitude_deg":75.6555264,"latitude_deg":11.9646944,"altitude":73,"angle":25,"satellites":39,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-09-09 17:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 17:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947968001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608566272,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59: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-09-09 17:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788956830000,"timestamp_ms":1788956830000,"timestamp_seconds":1788956830,"priority":1,"record_length":96,"hex_timestamp":"000001a08622e930"} 
[2026-09-09 17:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 17:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 17:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2084,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 17:59: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-09-09 17:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 17:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 17:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947968001,"66":2416,"105":206,"83":41984,"24":12,"16":19142733662781440,"45":1737615430608566272},"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-09-09 17:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 17:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 17:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947968001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:59:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 17:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 17:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608566272,"description":"Unknown IO ID 45"} 
[2026-09-09 17:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947968001,"power":2416,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737615430608566272}} 
[2026-09-09 17:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":177105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:59:30] local.INFO: GPS data processed {"connection_id":177105,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:59:30] local.INFO: Acknowledgment sent {"connection_id":177105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 17:59:38] local.INFO: TCP Data received {"connection_id":175921,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:59:38] local.INFO: Processing buffer {"connection_id":175921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:59:38] local.INFO: IMEI packet received {"connection_id":175921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 17:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":175921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 17:59:43] local.INFO: TCP Data received {"connection_id":175921,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:59:43] local.INFO: Processing buffer {"connection_id":175921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 17:59:43] local.INFO: IMEI packet received {"connection_id":175921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 17:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":175921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 17:59:44] local.INFO: TCP Data received {"connection_id":175921,"ip":"42.109.136.6","data_length":93,"data_hex":"00000000000000518e01000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175921,"packet_length":93,"packet_hex":"00000000000000518e01000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 17:59:44] local.INFO: Processing buffer {"connection_id":175921,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 17:59:44] local.INFO: Packet analysis {"connection_id":175921,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a08623"} 
[2026-09-09 17:59:44] local.INFO: Extracted packet for processing {"connection_id":175921,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a08623"} 
[2026-09-09 17:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 17: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":93,"current_offset":40} 
[2026-09-09 17:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 17:59:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:59:44] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 17:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175921,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 17:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175921,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-09 17:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175921,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-09 17:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 17:59:44] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 17:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":175921,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 17:59:44] local.ERROR: GPS data processing failed {"connection_id":175921,"error":"No valid data to process"} 
[2026-09-09 17:59:44] local.INFO: Acknowledgment sent {"connection_id":175921,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 17:59:56] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086249eb0012d82944005d168d0000d012e27..."} 
[2026-09-09 17:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086249eb0012d82944005d168d0000d012e27..."} 
[2026-09-09 17:59:56] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086249eb0012d82944005d168d0000d012e27..."} 
[2026-09-09 17:59:56] local.INFO: Packet analysis {"connection_id":175701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 17:59:56] local.INFO: Extracted packet for processing {"connection_id":175701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 17:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763532352,"raw_latitude":97609936,"longitude_deg":76.3532352,"latitude_deg":9.7609936,"altitude":13,"angle":302,"satellites":39,"speed":12,"hex_longitude":"2d829440","hex_latitude":"05d168d0","is_valid_coordinates":true} 
[2026-09-09 17: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-09-09 17:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972976896001,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130461036070305792,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052260941824,"note":"Value kept but may cause issues"} 
[2026-09-09 17:59:56] 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-09-09 17:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788956942000,"timestamp_ms":1788956942000,"timestamp_seconds":1788956942,"priority":1,"record_length":96,"hex_timestamp":"000001a086249eb0"} 
[2026-09-09 17:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 17:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-09 17:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 17: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-09-09 17:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 17:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 17:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 17:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 17:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 17:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 17:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 17:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972976896001,"66":13624,"63":206,"85":15104,"24":12,"16":130461036070305792,"45":-9037317052260941824},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-09 17:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 17:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 17:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972976896001,"description":"Unknown IO ID 0"} 
[2026-09-09 17:59:56] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-09 17:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 17:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130461036070305792,"km_value":130461036070305.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 17:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052260941824,"description":"Unknown IO ID 45"} 
[2026-09-09 17:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972976896001,"power":13624,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9037317052260941824}} 
[2026-09-09 17:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":175701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 17:59:56] local.INFO: GPS data processed {"connection_id":175701,"processed":1,"errors":0,"total":1} 
[2026-09-09 17:59:56] local.INFO: Acknowledgment sent {"connection_id":175701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:00:01] local.INFO: TCP Data received {"connection_id":175922,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:01] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:01] local.INFO: IMEI packet received {"connection_id":175922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":175922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:00:01] local.INFO: TCP Data received {"connection_id":177105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:00:01] local.INFO: Processing buffer {"connection_id":177105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:00:01] local.INFO: Packet analysis {"connection_id":177105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:00:01] local.INFO: Extracted packet for processing {"connection_id":177105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646944,"longitude_deg":75.6555264,"latitude_deg":11.9646944,"altitude":73,"angle":25,"satellites":39,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-09-09 18:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608566272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788956830000,"timestamp_ms":1788956830000,"timestamp_seconds":1788956830,"priority":1,"record_length":96,"hex_timestamp":"000001a08622e930"} 
[2026-09-09 18:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":10,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 18:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2084,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947968001,"66":2416,"105":206,"83":41984,"24":12,"16":19142733662781440,"45":1737615430608566272},"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-09-09 18:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:00:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608566272,"description":"Unknown IO ID 45"} 
[2026-09-09 18:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947968001,"power":2416,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737615430608566272}} 
[2026-09-09 18:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":177105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:00:01] local.INFO: GPS data processed {"connection_id":177105,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:00:01] local.INFO: Acknowledgment sent {"connection_id":177105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:00:06] local.INFO: TCP Data received {"connection_id":175922,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:06] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:06] local.INFO: IMEI packet received {"connection_id":175922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 18:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":175922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:00:10] local.INFO: TCP Data received {"connection_id":175922,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a086234308012c6a6980099f513002ae00b128..."} 
[2026-09-09 18:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086234308012c6a6980099f513002ae00b128..."} 
[2026-09-09 18:00:10] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086234308012c6a6980099f513002ae00b128..."} 
[2026-09-09 18:00:10] local.INFO: Packet analysis {"connection_id":175922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:00:10] local.INFO: Extracted packet for processing {"connection_id":175922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:00:10] local.INFO: GPS Element Parsed {"raw_longitude":745171328,"raw_latitude":161435952,"longitude_deg":74.5171328,"latitude_deg":16.1435952,"altitude":686,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2c6a6980","hex_latitude":"099f5130","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948992001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7667800619390939138,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:10] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,44],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-09 18:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788956853000,"timestamp_ms":1788956853000,"timestamp_seconds":1788956853,"priority":1,"record_length":96,"hex_timestamp":"000001a086234308"} 
[2026-09-09 18:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:00: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-09-09 18:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 18:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948992001,"66":28104,"24":0,"16":3893920429768704,"44":7667800619390939138},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,44]} 
[2026-09-09 18:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948992001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":7667800619390939138,"description":"Unknown IO ID 44"} 
[2026-09-09 18:00:10] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457972948992001,"power":28104,"ignition":0,"odometer":null,"unknown_44":7667800619390939138}} 
[2026-09-09 18:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":175922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:00:11] local.INFO: GPS data processed {"connection_id":175922,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:00:11] local.INFO: Acknowledgment sent {"connection_id":175922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:00:15] local.INFO: TCP Data received {"connection_id":175921,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:00:15] local.INFO: Processing buffer {"connection_id":175921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:00:15] local.INFO: Packet analysis {"connection_id":175921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:00:15] local.INFO: Extracted packet for processing {"connection_id":175921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972888576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788956897000,"timestamp_ms":1788956897000,"timestamp_seconds":1788956897,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eee8"} 
[2026-09-09 18:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972888576001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972888576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:00:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":175921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:00:15] local.INFO: GPS data processed {"connection_id":175921,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:00:15] local.INFO: Acknowledgment sent {"connection_id":175921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:00:19] local.INFO: TCP Data received {"connection_id":177106,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:00:19] local.INFO: Processing buffer {"connection_id":177106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:00:19] local.INFO: IMEI packet received {"connection_id":177106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":177106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:00:22] local.INFO: TCP Data received {"connection_id":177106,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:00:22] local.INFO: Processing buffer {"connection_id":177106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:00:22] local.INFO: IMEI packet received {"connection_id":177106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":177106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:00:23] local.INFO: TCP Data received {"connection_id":177106,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086258cf8012d81d80005d17cb8000c012b27..."} 
[2026-09-09 18:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086258cf8012d81d80005d17cb8000c012b27..."} 
[2026-09-09 18:00:23] local.INFO: Processing buffer {"connection_id":177106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086258cf8012d81d80005d17cb8000c012b27..."} 
[2026-09-09 18:00:23] local.INFO: Packet analysis {"connection_id":177106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08625"} 
[2026-09-09 18:00:23] local.INFO: Extracted packet for processing {"connection_id":177106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08625"} 
[2026-09-09 18:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763484160,"raw_latitude":97615032,"longitude_deg":76.348416,"latitude_deg":9.7615032,"altitude":12,"angle":299,"satellites":39,"speed":23,"hex_longitude":"2d81d800","hex_latitude":"05d17cb8","is_valid_coordinates":true} 
[2026-09-09 18:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972992256001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130463394007351296,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9089249185462806528,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:23] 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-09-09 18:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788957003000,"timestamp_ms":1788957003000,"timestamp_seconds":1788957003,"priority":1,"record_length":96,"hex_timestamp":"000001a086258cf8"} 
[2026-09-09 18:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 18:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972992256001,"66":13624,"65":206,"85":15104,"24":23,"16":130463394007351296,"45":-9089249185462806528},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-09 18:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972992256001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:00:23] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-09 18:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130463394007351296,"km_value":130463394007351.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9089249185462806528,"description":"Unknown IO ID 45"} 
[2026-09-09 18:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972992256001,"power":13624,"unknown_65":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9089249185462806528}} 
[2026-09-09 18:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":177106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:00:23] local.INFO: GPS data processed {"connection_id":177106,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:00:23] local.INFO: Acknowledgment sent {"connection_id":177106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:00:25] local.INFO: TCP Data received {"connection_id":177107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:00:25] local.INFO: Processing buffer {"connection_id":177107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:00:25] local.INFO: IMEI packet received {"connection_id":177107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":177107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:00:29] local.INFO: TCP Data received {"connection_id":177107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:00:29] local.INFO: Processing buffer {"connection_id":177107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:00:29] local.INFO: IMEI packet received {"connection_id":177107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":177107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:00:30] local.INFO: TCP Data received {"connection_id":177107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:00:30] local.INFO: Processing buffer {"connection_id":177107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:00:30] local.INFO: Packet analysis {"connection_id":177107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:00:30] local.INFO: Extracted packet for processing {"connection_id":177107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646944,"longitude_deg":75.6555264,"latitude_deg":11.9646944,"altitude":73,"angle":25,"satellites":39,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-09-09 18:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608566272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00: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-09-09 18:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788956830000,"timestamp_ms":1788956830000,"timestamp_seconds":1788956830,"priority":1,"record_length":96,"hex_timestamp":"000001a08622e930"} 
[2026-09-09 18:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":10,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 18:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2084,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:00: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-09-09 18:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947968001,"66":2416,"105":206,"83":41984,"24":12,"16":19142733662781440,"45":1737615430608566272},"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-09-09 18:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:00:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608566272,"description":"Unknown IO ID 45"} 
[2026-09-09 18:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947968001,"power":2416,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737615430608566272}} 
[2026-09-09 18:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":177107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:00:30] local.INFO: GPS data processed {"connection_id":177107,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:00:30] local.INFO: Acknowledgment sent {"connection_id":177107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:00:38] local.INFO: TCP Data received {"connection_id":178509,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:00:38] local.INFO: Processing buffer {"connection_id":178509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:00:38] local.INFO: IMEI packet received {"connection_id":178509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":178509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:00:41] local.INFO: TCP Data received {"connection_id":175923,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:41] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:41] local.INFO: IMEI packet received {"connection_id":175923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":175923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:00:44] local.INFO: TCP Data received {"connection_id":178509,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:00:44] local.INFO: Processing buffer {"connection_id":178509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:00:44] local.INFO: IMEI packet received {"connection_id":178509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":178509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:00:45] local.INFO: TCP Data received {"connection_id":178509,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:00:45] local.INFO: Processing buffer {"connection_id":178509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:00:45] local.INFO: Packet analysis {"connection_id":178509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:00:45] local.INFO: Extracted packet for processing {"connection_id":178509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972888576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788956897000,"timestamp_ms":1788956897000,"timestamp_seconds":1788956897,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eee8"} 
[2026-09-09 18:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972888576001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972888576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:00:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":178509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:00:45] local.INFO: GPS data processed {"connection_id":178509,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:00:45] local.INFO: Acknowledgment sent {"connection_id":178509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:00:47] local.INFO: TCP Data received {"connection_id":175923,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:47] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:00:47] local.INFO: IMEI packet received {"connection_id":175923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 18:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":175923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:00:49] local.INFO: TCP Data received {"connection_id":175923,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a086239510012c6a6340099f174002ac00b829..."} 
[2026-09-09 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086239510012c6a6340099f174002ac00b829..."} 
[2026-09-09 18:00:49] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086239510012c6a6340099f174002ac00b829..."} 
[2026-09-09 18:00:49] local.INFO: Packet analysis {"connection_id":175923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:00:49] local.INFO: Extracted packet for processing {"connection_id":175923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":745169728,"raw_latitude":161421120,"longitude_deg":74.5169728,"latitude_deg":16.142112,"altitude":684,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2c6a6340","hex_latitude":"099f1740","is_valid_coordinates":true} 
[2026-09-09 18:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972954368001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7667800619390939138,"note":"Value kept but may cause issues"} 
[2026-09-09 18:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788956874000,"timestamp_ms":1788956874000,"timestamp_seconds":1788956874,"priority":1,"record_length":96,"hex_timestamp":"000001a086239510"} 
[2026-09-09 18:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-09 18:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972954368001,"66":28137,"23":206,"105":19968,"24":0,"16":3893920429768704,"44":7667800619390939138},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,105,24,16,44]} 
[2026-09-09 18:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972954368001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:00:49] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-09 18:00:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":19968,"description":"Unknown IO ID 105"} 
[2026-09-09 18:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":7667800619390939138,"description":"Unknown IO ID 44"} 
[2026-09-09 18:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972954368001,"power":28137,"unknown_23":206,"unknown_105":19968,"ignition":0,"odometer":null,"unknown_44":7667800619390939138}} 
[2026-09-09 18:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":175923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:00:49] local.INFO: GPS data processed {"connection_id":175923,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:00:49] local.INFO: Acknowledgment sent {"connection_id":175923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:01] local.INFO: TCP Data received {"connection_id":177107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:01:01] local.INFO: Processing buffer {"connection_id":177107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:01:01] local.INFO: Packet analysis {"connection_id":177107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:01:01] local.INFO: Extracted packet for processing {"connection_id":177107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646944,"longitude_deg":75.6555264,"latitude_deg":11.9646944,"altitude":73,"angle":25,"satellites":39,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-09-09 18:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608566272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788956830000,"timestamp_ms":1788956830000,"timestamp_seconds":1788956830,"priority":1,"record_length":96,"hex_timestamp":"000001a08622e930"} 
[2026-09-09 18:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2084,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947968001,"66":2416,"105":206,"83":41984,"24":12,"16":19142733662781440,"45":1737615430608566272},"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-09-09 18:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:01:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608566272,"description":"Unknown IO ID 45"} 
[2026-09-09 18:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947968001,"power":2416,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737615430608566272}} 
[2026-09-09 18:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":177107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:01:01] local.INFO: GPS data processed {"connection_id":177107,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:01:01] local.INFO: Acknowledgment sent {"connection_id":177107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:04] local.INFO: TCP Data received {"connection_id":177106,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08625a080012d81cd8005d18238000c011b27..."} 
[2026-09-09 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08625a080012d81cd8005d18238000c011b27..."} 
[2026-09-09 18:01:04] local.INFO: Processing buffer {"connection_id":177106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08625a080012d81cd8005d18238000c011b27..."} 
[2026-09-09 18:01:04] local.INFO: Packet analysis {"connection_id":177106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08625"} 
[2026-09-09 18:01:04] local.INFO: Extracted packet for processing {"connection_id":177106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08625"} 
[2026-09-09 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763481472,"raw_latitude":97616440,"longitude_deg":76.3481472,"latitude_deg":9.761644,"altitude":12,"angle":283,"satellites":39,"speed":27,"hex_longitude":"2d81cd80","hex_latitude":"05d18238","is_valid_coordinates":true} 
[2026-09-09 18:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972992768001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130463540036239360,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090515822857897984,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:04] 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-09-09 18:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788957008000,"timestamp_ms":1788957008000,"timestamp_seconds":1788957008,"priority":1,"record_length":96,"hex_timestamp":"000001a08625a080"} 
[2026-09-09 18:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01: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-09-09 18: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972992768001,"66":13928,"65":206,"85":15104,"24":27,"16":130463540036239360,"45":-9090515822857897984},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-09 18:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972992768001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:01:04] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-09 18:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130463540036239360,"km_value":130463540036239.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090515822857897984,"description":"Unknown IO ID 45"} 
[2026-09-09 18:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972992768001,"power":13928,"unknown_65":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9090515822857897984}} 
[2026-09-09 18:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":177106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:01:04] local.INFO: GPS data processed {"connection_id":177106,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:01:04] local.INFO: Acknowledgment sent {"connection_id":177106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:16] local.INFO: TCP Data received {"connection_id":178509,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:01:16] local.INFO: Processing buffer {"connection_id":178509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:01:16] local.INFO: Packet analysis {"connection_id":178509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:01:16] local.INFO: Extracted packet for processing {"connection_id":178509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972888576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788956897000,"timestamp_ms":1788956897000,"timestamp_seconds":1788956897,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eee8"} 
[2026-09-09 18:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972888576001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972888576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":178509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:01:16] local.INFO: GPS data processed {"connection_id":178509,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:01:16] local.INFO: Acknowledgment sent {"connection_id":178509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:19] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:01:19] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:01:19] local.INFO: IMEI packet received {"connection_id":175924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":175924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:01:21] local.INFO: TCP Data received {"connection_id":175923,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a0862477a00100000000000000000000000000..."} 
[2026-09-09 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862477a00100000000000000000000000000..."} 
[2026-09-09 18:01:21] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862477a00100000000000000000000000000..."} 
[2026-09-09 18:01:21] local.INFO: Packet analysis {"connection_id":175923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:01:21] local.INFO: Extracted packet for processing {"connection_id":175923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:01: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-09-09 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972959744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400782700546,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788956932000,"timestamp_ms":1788956932000,"timestamp_seconds":1788956932,"priority":1,"record_length":96,"hex_timestamp":"000001a0862477a0"} 
[2026-09-09 18:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01: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-09-09 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":175923,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 18:01:21] local.INFO: GPS data processed {"connection_id":175923,"processed":0,"errors":0,"total":1} 
[2026-09-09 18:01:21] local.INFO: Acknowledgment sent {"connection_id":175923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:23] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:01:23] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:01:23] local.INFO: IMEI packet received {"connection_id":175924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":175924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:01:24] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08625a850012d81c78005d182e0000c011027..."} 
[2026-09-09 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08625a850012d81c78005d182e0000c011027..."} 
[2026-09-09 18:01:24] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08625a850012d81c78005d182e0000c011027..."} 
[2026-09-09 18:01:24] local.INFO: Packet analysis {"connection_id":175924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08625"} 
[2026-09-09 18:01:24] local.INFO: Extracted packet for processing {"connection_id":175924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08625"} 
[2026-09-09 18:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763479936,"raw_latitude":97616608,"longitude_deg":76.3479936,"latitude_deg":9.7616608,"altitude":12,"angle":272,"satellites":39,"speed":31,"hex_longitude":"2d81c780","hex_latitude":"05d182e0","is_valid_coordinates":true} 
[2026-09-09 18:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972994048001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130463613050683392,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093471310112999424,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:24] 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-09-09 18:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788957010000,"timestamp_ms":1788957010000,"timestamp_seconds":1788957010,"priority":1,"record_length":96,"hex_timestamp":"000001a08625a850"} 
[2026-09-09 18:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18: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":104,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972994048001,"66":13559,"65":206,"85":15104,"24":31,"16":130463613050683392,"45":-9093471310112999424},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-09 18:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972994048001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:01:24] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-09 18:01:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130463613050683392,"km_value":130463613050683.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093471310112999424,"description":"Unknown IO ID 45"} 
[2026-09-09 18:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972994048001,"power":13559,"unknown_65":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9093471310112999424}} 
[2026-09-09 18:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":175924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:01:24] local.INFO: GPS data processed {"connection_id":175924,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:01:24] local.INFO: Acknowledgment sent {"connection_id":175924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:29] local.INFO: TCP Data received {"connection_id":177108,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:01:29] local.INFO: Processing buffer {"connection_id":177108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:01:29] local.INFO: IMEI packet received {"connection_id":177108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":177108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:01:35] local.INFO: TCP Data received {"connection_id":177108,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:01:35] local.INFO: Processing buffer {"connection_id":177108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:01:35] local.INFO: IMEI packet received {"connection_id":177108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":177108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:01:35] local.INFO: TCP Data received {"connection_id":177108,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:01:35] local.INFO: Processing buffer {"connection_id":177108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:01:35] local.INFO: Packet analysis {"connection_id":177108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:01:35] local.INFO: Extracted packet for processing {"connection_id":177108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646944,"longitude_deg":75.6555264,"latitude_deg":11.9646944,"altitude":73,"angle":25,"satellites":39,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608566272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788956830000,"timestamp_ms":1788956830000,"timestamp_seconds":1788956830,"priority":1,"record_length":96,"hex_timestamp":"000001a08622e930"} 
[2026-09-09 18:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":10,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2084,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:01: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-09-09 18:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947968001,"66":2416,"105":206,"83":41984,"24":12,"16":19142733662781440,"45":1737615430608566272},"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-09-09 18:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:01:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608566272,"description":"Unknown IO ID 45"} 
[2026-09-09 18:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947968001,"power":2416,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737615430608566272}} 
[2026-09-09 18:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":177108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:01:35] local.INFO: GPS data processed {"connection_id":177108,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:01:35] local.INFO: Acknowledgment sent {"connection_id":177108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:38] local.INFO: TCP Data received {"connection_id":178510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:01:38] local.INFO: Processing buffer {"connection_id":178510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:01:38] local.INFO: IMEI packet received {"connection_id":178510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":178510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:01:43] local.INFO: TCP Data received {"connection_id":178510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:01:43] local.INFO: Processing buffer {"connection_id":178510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:01:43] local.INFO: IMEI packet received {"connection_id":178510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":178510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:01:44] local.INFO: TCP Data received {"connection_id":178510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:01:44] local.INFO: Processing buffer {"connection_id":178510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:01:44] local.INFO: Packet analysis {"connection_id":178510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:01:44] local.INFO: Extracted packet for processing {"connection_id":178510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972888576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788956897000,"timestamp_ms":1788956897000,"timestamp_seconds":1788956897,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eee8"} 
[2026-09-09 18:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972888576001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972888576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":178510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:01:44] local.INFO: GPS data processed {"connection_id":178510,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:01:44] local.INFO: Acknowledgment sent {"connection_id":178510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:46] local.INFO: TCP Data received {"connection_id":178511,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:01:46] local.INFO: Processing buffer {"connection_id":178511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:01:46] local.INFO: IMEI packet received {"connection_id":178511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":178511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:01:52] local.INFO: TCP Data received {"connection_id":178511,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:01:52] local.INFO: Processing buffer {"connection_id":178511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:01:52] local.INFO: IMEI packet received {"connection_id":178511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 18:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":178511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:01:54] local.INFO: TCP Data received {"connection_id":178511,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eb00012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eb00012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:01:55] local.INFO: Processing buffer {"connection_id":178511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eb00012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:01:55] local.INFO: Packet analysis {"connection_id":178511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:01:55] local.INFO: Extracted packet for processing {"connection_id":178511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":745169728,"raw_latitude":161412384,"longitude_deg":74.5169728,"latitude_deg":16.1412384,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a6340","hex_latitude":"099ef520","is_valid_coordinates":true} 
[2026-09-09 18:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,209,105,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 18:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788956896000,"timestamp_ms":1788956896000,"timestamp_seconds":1788956896,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eb00"} 
[2026-09-09 18:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01:55] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":178511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":178511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":178511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28191,"209":206,"105":19968,"24":0,"16":3893920429768704},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,105,24,16]} 
[2026-09-09 18:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 18:01:55] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-09 18:01:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":19968,"description":"Unknown IO ID 105"} 
[2026-09-09 18:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:01:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28191,"unknown_209":206,"unknown_105":19968,"ignition":0,"odometer":null}} 
[2026-09-09 18:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":178511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:01:55] local.INFO: GPS data processed {"connection_id":178511,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:01:55] local.INFO: Acknowledgment sent {"connection_id":178511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:55] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08626fc28012d8111c005d18cc80009014b26..."} 
[2026-09-09 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08626fc28012d8111c005d18cc80009014b26..."} 
[2026-09-09 18:01:55] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08626fc28012d8111c005d18cc80009014b26..."} 
[2026-09-09 18:01:55] local.INFO: Packet analysis {"connection_id":175924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08626"} 
[2026-09-09 18:01:55] local.INFO: Extracted packet for processing {"connection_id":175924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08626"} 
[2026-09-09 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763433408,"raw_latitude":97619144,"longitude_deg":76.3433408,"latitude_deg":9.7619144,"altitude":9,"angle":331,"satellites":38,"speed":11,"hex_longitude":"2d8111c0","hex_latitude":"05d18cc8","is_valid_coordinates":true} 
[2026-09-09 18:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973016576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130465880793415680,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146177499501428736,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:55] 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-09-09 18:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788957097000,"timestamp_ms":1788957097000,"timestamp_seconds":1788957097,"priority":1,"record_length":96,"hex_timestamp":"000001a08626fc28"} 
[2026-09-09 18:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973016576001,"66":13678,"65":206,"85":15104,"24":11,"16":130465880793415680,"45":-9146177499501428736},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-09 18:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973016576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:01:55] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-09 18:01:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130465880793415680,"km_value":130465880793415.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146177499501428736,"description":"Unknown IO ID 45"} 
[2026-09-09 18:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973016576001,"power":13678,"unknown_65":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9146177499501428736}} 
[2026-09-09 18:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":175924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:01:55] local.INFO: GPS data processed {"connection_id":175924,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:01:55] local.INFO: Acknowledgment sent {"connection_id":175924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:01:57] local.INFO: TCP Data received {"connection_id":178511,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a086243d08012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086243d08012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:01:57] local.INFO: Processing buffer {"connection_id":178511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086243d08012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:01:57] local.INFO: Packet analysis {"connection_id":178511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:01:57] local.INFO: Extracted packet for processing {"connection_id":178511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:01:57] local.INFO: GPS Element Parsed {"raw_longitude":745169728,"raw_latitude":161412384,"longitude_deg":74.5169728,"latitude_deg":16.1412384,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a6340","hex_latitude":"099ef520","is_valid_coordinates":true} 
[2026-09-09 18:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965376001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400780464130,"note":"Value kept but may cause issues"} 
[2026-09-09 18:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788956917000,"timestamp_ms":1788956917000,"timestamp_seconds":1788956917,"priority":1,"record_length":96,"hex_timestamp":"000001a086243d08"} 
[2026-09-09 18:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-09 18:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965376001,"66":28028,"209":206,"105":19968,"24":0,"16":3893920429768704,"44":7666041400780464130},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,105,24,16,44]} 
[2026-09-09 18:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965376001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:01:57] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-09 18:01:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":19968,"description":"Unknown IO ID 105"} 
[2026-09-09 18:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:01:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":7666041400780464130,"description":"Unknown IO ID 44"} 
[2026-09-09 18:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965376001,"power":28028,"unknown_209":206,"unknown_105":19968,"ignition":0,"odometer":null,"unknown_44":7666041400780464130}} 
[2026-09-09 18:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":178511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:01:57] local.INFO: GPS data processed {"connection_id":178511,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:01:57] local.INFO: Acknowledgment sent {"connection_id":178511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:02:06] local.INFO: TCP Data received {"connection_id":177108,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:02:06] local.INFO: Processing buffer {"connection_id":177108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:02:06] local.INFO: Packet analysis {"connection_id":177108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:02:06] local.INFO: Extracted packet for processing {"connection_id":177108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646944,"longitude_deg":75.6555264,"latitude_deg":11.9646944,"altitude":73,"angle":25,"satellites":39,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-09-09 18:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608566272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788956830000,"timestamp_ms":1788956830000,"timestamp_seconds":1788956830,"priority":1,"record_length":96,"hex_timestamp":"000001a08622e930"} 
[2026-09-09 18:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":10,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 18:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2084,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947968001,"66":2416,"105":206,"83":41984,"24":12,"16":19142733662781440,"45":1737615430608566272},"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-09-09 18:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:02:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608566272,"description":"Unknown IO ID 45"} 
[2026-09-09 18:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947968001,"power":2416,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737615430608566272}} 
[2026-09-09 18:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":177108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:02:07] local.INFO: GPS data processed {"connection_id":177108,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:02:07] local.INFO: Acknowledgment sent {"connection_id":177108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:02:16] local.INFO: TCP Data received {"connection_id":178510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:02:16] local.INFO: Processing buffer {"connection_id":178510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:02:16] local.INFO: Packet analysis {"connection_id":178510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:02:16] local.INFO: Extracted packet for processing {"connection_id":178510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972888576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788956897000,"timestamp_ms":1788956897000,"timestamp_seconds":1788956897,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eee8"} 
[2026-09-09 18:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972888576001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972888576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":178510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:02:16] local.INFO: GPS data processed {"connection_id":178510,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:02:16] local.INFO: Acknowledgment sent {"connection_id":178510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:02:19] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:02:19] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:02:19] local.INFO: IMEI packet received {"connection_id":175702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":175702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:02:19] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:02:19] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:02:19] local.INFO: IMEI packet received {"connection_id":175702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":175702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:02:23] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:02:23] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:02:23] local.INFO: IMEI packet received {"connection_id":175702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":175702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:02:24] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086270010012d81114005d18df80009015a25..."} 
[2026-09-09 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086270010012d81114005d18df80009015a25..."} 
[2026-09-09 18:02:24] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086270010012d81114005d18df80009015a25..."} 
[2026-09-09 18:02:24] local.INFO: Packet analysis {"connection_id":175702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:02:24] local.INFO: Extracted packet for processing {"connection_id":175702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763433280,"raw_latitude":97619448,"longitude_deg":76.343328,"latitude_deg":9.7619448,"altitude":9,"angle":346,"satellites":37,"speed":14,"hex_longitude":"2d811140","hex_latitude":"05d18df8","is_valid_coordinates":true} 
[2026-09-09 18:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973016832001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130465893678317568,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146318236989732864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:24] 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-09-09 18:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788957098000,"timestamp_ms":1788957098000,"timestamp_seconds":1788957098,"priority":1,"record_length":96,"hex_timestamp":"000001a086270010"} 
[2026-09-09 18:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18: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-09-09 18: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":110,"data_length":795,"current_offset":136} 
[2026-09-09 18:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973016832001,"66":13624,"65":206,"85":15104,"24":14,"16":130465893678317568,"45":-9146318236989732864},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-09 18:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973016832001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:02:24] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-09 18:02:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130465893678317568,"km_value":130465893678317.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146318236989732864,"description":"Unknown IO ID 45"} 
[2026-09-09 18:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973016832001,"power":13624,"unknown_65":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9146318236989732864}} 
[2026-09-09 18:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":175702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:02:24] local.INFO: GPS data processed {"connection_id":175702,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:02:24] local.INFO: Acknowledgment sent {"connection_id":175702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:02:29] local.INFO: TCP Data received {"connection_id":177109,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:02:29] local.INFO: Processing buffer {"connection_id":177109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:02:29] local.INFO: IMEI packet received {"connection_id":177109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":177109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:02:35] local.INFO: TCP Data received {"connection_id":177109,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:02:35] local.INFO: Processing buffer {"connection_id":177109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:02:35] local.INFO: IMEI packet received {"connection_id":177109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":177109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:02:36] local.INFO: TCP Data received {"connection_id":177109,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:02:36] local.INFO: Processing buffer {"connection_id":177109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08622e930012d181e000721aae00049001927..."} 
[2026-09-09 18:02:36] local.INFO: Packet analysis {"connection_id":177109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:02:36] local.INFO: Extracted packet for processing {"connection_id":177109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08622"} 
[2026-09-09 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646944,"longitude_deg":75.6555264,"latitude_deg":11.9646944,"altitude":73,"angle":25,"satellites":39,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-09-09 18:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972947968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608566272,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788956830000,"timestamp_ms":1788956830000,"timestamp_seconds":1788956830,"priority":1,"record_length":96,"hex_timestamp":"000001a08622e930"} 
[2026-09-09 18:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-09 18:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2084,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:02: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-09-09 18:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972947968001,"66":2416,"105":206,"83":41984,"24":12,"16":19142733662781440,"45":1737615430608566272},"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-09-09 18:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972947968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:02:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608566272,"description":"Unknown IO ID 45"} 
[2026-09-09 18:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972947968001,"power":2416,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737615430608566272}} 
[2026-09-09 18:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":177109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:02:36] local.INFO: GPS data processed {"connection_id":177109,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:02:36] local.INFO: Acknowledgment sent {"connection_id":177109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:02:38] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:02:38] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:02:38] local.INFO: IMEI packet received {"connection_id":175925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":175925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:02:43] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:02:43] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:02:43] local.INFO: IMEI packet received {"connection_id":175925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":175925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:02:45] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:02:45] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:02:45] local.INFO: Packet analysis {"connection_id":175925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:02:45] local.INFO: Extracted packet for processing {"connection_id":175925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972888576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788956897000,"timestamp_ms":1788956897000,"timestamp_seconds":1788956897,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eee8"} 
[2026-09-09 18:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972888576001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972888576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":175925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:02:45] local.INFO: GPS data processed {"connection_id":175925,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:02:45] local.INFO: Acknowledgment sent {"connection_id":175925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:02:46] local.INFO: TCP Data received {"connection_id":177110,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:02:46] local.INFO: Processing buffer {"connection_id":177110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:02:46] local.INFO: IMEI packet received {"connection_id":177110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":177110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:02:54] local.INFO: TCP Data received {"connection_id":177110,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:02:54] local.INFO: Processing buffer {"connection_id":177110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:02:54] local.INFO: IMEI packet received {"connection_id":177110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 18:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":177110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:02:56] local.INFO: TCP Data received {"connection_id":177110,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a0862448c0012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862448c0012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:02:56] local.INFO: Processing buffer {"connection_id":177110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862448c0012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:02:56] local.INFO: Packet analysis {"connection_id":177110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:02:56] local.INFO: Extracted packet for processing {"connection_id":177110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":745169728,"raw_latitude":161412384,"longitude_deg":74.5169728,"latitude_deg":16.1412384,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a6340","hex_latitude":"099ef520","is_valid_coordinates":true} 
[2026-09-09 18:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972970752001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400780464130,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788956920000,"timestamp_ms":1788956920000,"timestamp_seconds":1788956920,"priority":1,"record_length":96,"hex_timestamp":"000001a0862448c0"} 
[2026-09-09 18:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-09 18:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972970752001,"66":28082,"209":206,"105":19968,"24":0,"16":3893920429768704,"44":7666041400780464130},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,105,24,16,44]} 
[2026-09-09 18:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972970752001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:02:56] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-09 18:02:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":19968,"description":"Unknown IO ID 105"} 
[2026-09-09 18:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":7666041400780464130,"description":"Unknown IO ID 44"} 
[2026-09-09 18:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972970752001,"power":28082,"unknown_209":206,"unknown_105":19968,"ignition":0,"odometer":null,"unknown_44":7666041400780464130}} 
[2026-09-09 18:02:56] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086281d38012d81074005d275200005015c26..."} 
[2026-09-09 18:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086281d38012d81074005d275200005015c26..."} 
[2026-09-09 18:02:56] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086281d38012d81074005d275200005015c26..."} 
[2026-09-09 18:02:56] local.INFO: Packet analysis {"connection_id":175702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:02:56] local.INFO: Extracted packet for processing {"connection_id":175702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763430720,"raw_latitude":97678624,"longitude_deg":76.343072,"latitude_deg":9.7678624,"altitude":5,"angle":348,"satellites":38,"speed":25,"hex_longitude":"2d810740","hex_latitude":"05d27520","is_valid_coordinates":true} 
[2026-09-09 18:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973035520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130468934515163136,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149132986741774336,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788957171000,"timestamp_ms":1788957171000,"timestamp_seconds":1788957171,"priority":1,"record_length":96,"hex_timestamp":"000001a086281d38"} 
[2026-09-09 18:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 18:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973035520001,"66":13798,"208":206,"85":15104,"24":25,"16":130468934515163136,"45":-9149132986741774336},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 18:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973035520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:02:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 18:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130468934515163136,"km_value":130468934515163.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149132986741774336,"description":"Unknown IO ID 45"} 
[2026-09-09 18:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973035520001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9149132986741774336}} 
[2026-09-09 18:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":175702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:02:56] local.INFO: GPS data processed {"connection_id":175702,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:02:56] local.INFO: Acknowledgment sent {"connection_id":175702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":177110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:02:56] local.INFO: GPS data processed {"connection_id":177110,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:02:56] local.INFO: Acknowledgment sent {"connection_id":177110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:02:59] local.INFO: TCP Data received {"connection_id":177110,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a0862448c0012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862448c0012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:02:59] local.INFO: Processing buffer {"connection_id":177110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862448c0012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:02:59] local.INFO: Packet analysis {"connection_id":177110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:02:59] local.INFO: Extracted packet for processing {"connection_id":177110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":745169728,"raw_latitude":161412384,"longitude_deg":74.5169728,"latitude_deg":16.1412384,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a6340","hex_latitude":"099ef520","is_valid_coordinates":true} 
[2026-09-09 18:02: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-09-09 18:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972971520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400780464130,"note":"Value kept but may cause issues"} 
[2026-09-09 18:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788956920000,"timestamp_ms":1788956920000,"timestamp_seconds":1788956920,"priority":1,"record_length":96,"hex_timestamp":"000001a0862448c0"} 
[2026-09-09 18:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 18:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972971520001,"66":28082,"209":206,"105":19968,"24":0,"16":3893920429768704,"44":7666041400780464130},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,105,24,16,44]} 
[2026-09-09 18:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972971520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:02:59] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-09 18:02:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":19968,"description":"Unknown IO ID 105"} 
[2026-09-09 18:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:02:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":7666041400780464130,"description":"Unknown IO ID 44"} 
[2026-09-09 18:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972971520001,"power":28082,"unknown_209":206,"unknown_105":19968,"ignition":0,"odometer":null,"unknown_44":7666041400780464130}} 
[2026-09-09 18:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":177110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:02:59] local.INFO: GPS data processed {"connection_id":177110,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:02:59] local.INFO: Acknowledgment sent {"connection_id":177110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:03:06] local.INFO: TCP Data received {"connection_id":177109,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:03:06] local.INFO: Processing buffer {"connection_id":177109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:03:06] local.INFO: Packet analysis {"connection_id":177109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:03:06] local.INFO: Extracted packet for processing {"connection_id":177109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03: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-09-09 18:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 18:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:03: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-09-09 18: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":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:03: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-09-09 18:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:03:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":177109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:03:06] local.INFO: GPS data processed {"connection_id":177109,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:03:06] local.INFO: Acknowledgment sent {"connection_id":177109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:03:17] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:03:17] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:03:17] local.INFO: Packet analysis {"connection_id":175925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:03:17] local.INFO: Extracted packet for processing {"connection_id":175925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972888576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788956897000,"timestamp_ms":1788956897000,"timestamp_seconds":1788956897,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eee8"} 
[2026-09-09 18:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972888576001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972888576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":175925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:03:17] local.INFO: GPS data processed {"connection_id":175925,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:03:17] local.INFO: Acknowledgment sent {"connection_id":175925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:03:19] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:03:19] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:03:19] local.INFO: IMEI packet received {"connection_id":175926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":175926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:03:23] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:03:23] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:03:23] local.INFO: IMEI packet received {"connection_id":175926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":175926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:03:24] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086282120012d81078005d278180005000326..."} 
[2026-09-09 18:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086282120012d81078005d278180005000326..."} 
[2026-09-09 18:03:24] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086282120012d81078005d278180005000326..."} 
[2026-09-09 18:03:24] local.INFO: Packet analysis {"connection_id":175926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:03:24] local.INFO: Extracted packet for processing {"connection_id":175926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763430784,"raw_latitude":97679384,"longitude_deg":76.3430784,"latitude_deg":9.7679384,"altitude":5,"angle":3,"satellites":38,"speed":29,"hex_longitude":"2d810780","hex_latitude":"05d27818","is_valid_coordinates":true} 
[2026-09-09 18:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973035776001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130468973169868800,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149273724229967872,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788957172000,"timestamp_ms":1788957172000,"timestamp_seconds":1788957172,"priority":1,"record_length":96,"hex_timestamp":"000001a086282120"} 
[2026-09-09 18:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 18:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973035776001,"66":13515,"208":206,"85":15104,"24":29,"16":130468973169868800,"45":-9149273724229967872},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 18:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973035776001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:03:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 18:03:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130468973169868800,"km_value":130468973169868.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149273724229967872,"description":"Unknown IO ID 45"} 
[2026-09-09 18:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973035776001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9149273724229967872}} 
[2026-09-09 18:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":175926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:03:24] local.INFO: GPS data processed {"connection_id":175926,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:03:24] local.INFO: Acknowledgment sent {"connection_id":175926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:03:30] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:03:30] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:03:30] local.INFO: IMEI packet received {"connection_id":175927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":175927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:03:35] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:03:35] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:03:35] local.INFO: IMEI packet received {"connection_id":175927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":175927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:03:35] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:03:35] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:03:35] local.INFO: Packet analysis {"connection_id":175927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:03:35] local.INFO: Extracted packet for processing {"connection_id":175927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 18:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:03: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-09-09 18:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:03:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":175927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:03:35] local.INFO: GPS data processed {"connection_id":175927,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:03:35] local.INFO: Acknowledgment sent {"connection_id":175927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:03:43] local.INFO: TCP Data received {"connection_id":177111,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:03:43] local.INFO: Processing buffer {"connection_id":177111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:03:43] local.INFO: IMEI packet received {"connection_id":177111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":177111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:03:46] local.INFO: TCP Data received {"connection_id":178512,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:03:46] local.INFO: Processing buffer {"connection_id":178512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:03:46] local.INFO: IMEI packet received {"connection_id":178512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":178512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:03:48] local.INFO: TCP Data received {"connection_id":177111,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:03:48] local.INFO: Processing buffer {"connection_id":177111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:03:48] local.INFO: IMEI packet received {"connection_id":177111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":177111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:03:49] local.INFO: TCP Data received {"connection_id":177111,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:03:49] local.INFO: Processing buffer {"connection_id":177111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:03:49] local.INFO: Packet analysis {"connection_id":177111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:03:49] local.INFO: Extracted packet for processing {"connection_id":177111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972888576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788956897000,"timestamp_ms":1788956897000,"timestamp_seconds":1788956897,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eee8"} 
[2026-09-09 18:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972888576001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972888576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":177111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:03:49] local.INFO: GPS data processed {"connection_id":177111,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:03:49] local.INFO: Acknowledgment sent {"connection_id":177111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:03:54] local.INFO: TCP Data received {"connection_id":177111,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:03:54] local.INFO: Processing buffer {"connection_id":177111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08623eee8012d34cc4006aa49080000013423..."} 
[2026-09-09 18:03:54] local.INFO: Packet analysis {"connection_id":177111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:03:54] local.INFO: Extracted packet for processing {"connection_id":177111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08623"} 
[2026-09-09 18:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972888576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788956897000,"timestamp_ms":1788956897000,"timestamp_seconds":1788956897,"priority":1,"record_length":96,"hex_timestamp":"000001a08623eee8"} 
[2026-09-09 18:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972888576001,"66":25495,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972888576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:03:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972888576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":177111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:03:54] local.INFO: GPS data processed {"connection_id":177111,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:03:54] local.INFO: Acknowledgment sent {"connection_id":177111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:03:55] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08628fbe0012d80b34005d2f9380004011226..."} 
[2026-09-09 18:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08628fbe0012d80b34005d2f9380004011226..."} 
[2026-09-09 18:03:55] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08628fbe0012d80b34005d2f9380004011226..."} 
[2026-09-09 18:03:55] local.INFO: Packet analysis {"connection_id":175926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:03:55] local.INFO: Extracted packet for processing {"connection_id":175926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763409216,"raw_latitude":97712440,"longitude_deg":76.3409216,"latitude_deg":9.771244,"altitude":4,"angle":274,"satellites":38,"speed":35,"hex_longitude":"2d80b340","hex_latitude":"05d2f938","is_valid_coordinates":true} 
[2026-09-09 18:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973049344001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130471236617633792,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9168906603846989824,"note":"Value kept but may cause issues"} 
[2026-09-09 18:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788957228000,"timestamp_ms":1788957228000,"timestamp_seconds":1788957228,"priority":1,"record_length":96,"hex_timestamp":"000001a08628fbe0"} 
[2026-09-09 18:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-09 18:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973049344001,"66":13189,"208":206,"85":15104,"24":35,"16":130471236617633792,"45":-9168906603846989824},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 18:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973049344001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:03:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 18:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130471236617633792,"km_value":130471236617633.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9168906603846989824,"description":"Unknown IO ID 45"} 
[2026-09-09 18:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973049344001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9168906603846989824}} 
[2026-09-09 18:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":175926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:03:55] local.INFO: GPS data processed {"connection_id":175926,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:03:55] local.INFO: Acknowledgment sent {"connection_id":175926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:04:01] local.INFO: TCP Data received {"connection_id":178512,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:04:01] local.INFO: Processing buffer {"connection_id":178512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:04:01] local.INFO: IMEI packet received {"connection_id":178512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 18:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":178512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:04:06] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:04:06] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:04:06] local.INFO: Packet analysis {"connection_id":175927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:04:06] local.INFO: Extracted packet for processing {"connection_id":175927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 18:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:04: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-09-09 18: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":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":175927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:04:07] local.INFO: GPS data processed {"connection_id":175927,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:04:07] local.INFO: Acknowledgment sent {"connection_id":175927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:04:11] local.INFO: TCP Data received {"connection_id":178512,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a086244ca8012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086244ca8012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:04:11] local.INFO: Processing buffer {"connection_id":178512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086244ca8012c6a6340099ef52002aa00bd29..."} 
[2026-09-09 18:04:11] local.INFO: Packet analysis {"connection_id":178512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:04:11] local.INFO: Extracted packet for processing {"connection_id":178512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08624"} 
[2026-09-09 18:04:11] local.INFO: GPS Element Parsed {"raw_longitude":745169728,"raw_latitude":161412384,"longitude_deg":74.5169728,"latitude_deg":16.1412384,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a6340","hex_latitude":"099ef520","is_valid_coordinates":true} 
[2026-09-09 18:04: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-09-09 18:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972971520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400780464130,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788956921000,"timestamp_ms":1788956921000,"timestamp_seconds":1788956921,"priority":1,"record_length":96,"hex_timestamp":"000001a086244ca8"} 
[2026-09-09 18:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 18:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972971520001,"66":28082,"209":206,"105":19968,"24":0,"16":3893920429768704,"44":7666041400780464130},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,105,24,16,44]} 
[2026-09-09 18:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972971520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:04:11] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-09 18:04:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":19968,"description":"Unknown IO ID 105"} 
[2026-09-09 18:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":7666041400780464130,"description":"Unknown IO ID 44"} 
[2026-09-09 18:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972971520001,"power":28082,"unknown_209":206,"unknown_105":19968,"ignition":0,"odometer":null,"unknown_44":7666041400780464130}} 
[2026-09-09 18:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":178512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:04:11] local.INFO: GPS data processed {"connection_id":178512,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:04:11] local.INFO: Acknowledgment sent {"connection_id":178512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:04:19] local.INFO: TCP Data received {"connection_id":177112,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:04:19] local.INFO: Processing buffer {"connection_id":177112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:04:19] local.INFO: IMEI packet received {"connection_id":177112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":177112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:04:24] local.INFO: TCP Data received {"connection_id":177112,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:04:24] local.INFO: Processing buffer {"connection_id":177112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:04:24] local.INFO: IMEI packet received {"connection_id":177112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":177112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:04:25] local.INFO: TCP Data received {"connection_id":177112,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a086290b80012d80a84005d2fa280005012325..."} 
[2026-09-09 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086290b80012d80a84005d2fa280005012325..."} 
[2026-09-09 18:04:25] local.INFO: Processing buffer {"connection_id":177112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086290b80012d80a84005d2fa280005012325..."} 
[2026-09-09 18:04:25] local.INFO: Packet analysis {"connection_id":177112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:04:25] local.INFO: Extracted packet for processing {"connection_id":177112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763406400,"raw_latitude":97712680,"longitude_deg":76.34064,"latitude_deg":9.771268,"altitude":5,"angle":291,"satellites":37,"speed":19,"hex_longitude":"2d80a840","hex_latitude":"05d2fa28","is_valid_coordinates":true} 
[2026-09-09 18:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973050368001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130471374056587264,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172917622265006080,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957232000,"timestamp_ms":1788957232000,"timestamp_seconds":1788957232,"priority":1,"record_length":96,"hex_timestamp":"000001a086290b80"} 
[2026-09-09 18:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-09 18:04: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-09-09 18:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973050368001,"66":13798,"208":206,"85":15104,"24":19,"16":130471374056587264,"45":-9172917622265006080},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-09 18:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973050368001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:04:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 18:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130471374056587264,"km_value":130471374056587.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172917622265006080,"description":"Unknown IO ID 45"} 
[2026-09-09 18:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973050368001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9172917622265006080}} 
[2026-09-09 18:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":177112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:04:25] local.INFO: GPS data processed {"connection_id":177112,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:04:25] local.INFO: Acknowledgment sent {"connection_id":177112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:04:30] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:04:30] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:04:30] local.INFO: IMEI packet received {"connection_id":175928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":175928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:04:35] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:04:35] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:04:35] local.INFO: IMEI packet received {"connection_id":175928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":175928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:04:36] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:04:36] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:04:36] local.INFO: Packet analysis {"connection_id":175928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:04:36] local.INFO: Extracted packet for processing {"connection_id":175928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 18:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:04:36] 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-09-09 18: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":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:04:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":175928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:04:36] local.INFO: GPS data processed {"connection_id":175928,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:04:36] local.INFO: Acknowledgment sent {"connection_id":175928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:04:38] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:04:38] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:04:38] local.INFO: IMEI packet received {"connection_id":175929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":175929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:04:43] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:04:43] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:04:43] local.INFO: IMEI packet received {"connection_id":175929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":175929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:04:45] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:04:45] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:04:45] local.INFO: Packet analysis {"connection_id":175929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:04:45] local.INFO: Extracted packet for processing {"connection_id":175929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965632001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788957198000,"timestamp_ms":1788957198000,"timestamp_seconds":1788957198,"priority":1,"record_length":96,"hex_timestamp":"000001a0862886b0"} 
[2026-09-09 18:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 18:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965632001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965632001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:04:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965632001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":175929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:04:45] local.INFO: GPS data processed {"connection_id":175929,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:04:45] local.INFO: Acknowledgment sent {"connection_id":175929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:04:46] local.INFO: TCP Data received {"connection_id":175703,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:04:46] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:04:46] local.INFO: IMEI packet received {"connection_id":175703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":175703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:04:53] local.INFO: TCP Data received {"connection_id":175703,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:04:53] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:04:53] local.INFO: IMEI packet received {"connection_id":175703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 18:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":175703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:04:56] local.INFO: TCP Data received {"connection_id":177112,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08629cae8012d80ad4005d36ee80004013e26..."} 
[2026-09-09 18:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08629cae8012d80ad4005d36ee80004013e26..."} 
[2026-09-09 18:04:56] local.INFO: Processing buffer {"connection_id":177112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08629cae8012d80ad4005d36ee80004013e26..."} 
[2026-09-09 18:04:56] local.INFO: Packet analysis {"connection_id":177112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:04:56] local.INFO: Extracted packet for processing {"connection_id":177112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763407680,"raw_latitude":97742568,"longitude_deg":76.340768,"latitude_deg":9.7742568,"altitude":4,"angle":318,"satellites":38,"speed":7,"hex_longitude":"2d80ad40","hex_latitude":"05d36ee8","is_valid_coordinates":true} 
[2026-09-09 18:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973063680001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130472851525337088,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174536103373416448,"note":"Value kept but may cause issues"} 
[2026-09-09 18:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788957281000,"timestamp_ms":1788957281000,"timestamp_seconds":1788957281,"priority":1,"record_length":96,"hex_timestamp":"000001a08629cae8"} 
[2026-09-09 18:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:04: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-09-09 18: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":230,"data_length":795,"current_offset":136} 
[2026-09-09 18:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973063680001,"66":13798,"207":206,"85":15104,"24":7,"16":130472851525337088,"45":-9174536103373416448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 18:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973063680001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:04:56] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 18:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130472851525337088,"km_value":130472851525337.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174536103373416448,"description":"Unknown IO ID 45"} 
[2026-09-09 18:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973063680001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9174536103373416448}} 
[2026-09-09 18:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":177112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:04:56] local.INFO: GPS data processed {"connection_id":177112,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:04:56] local.INFO: Acknowledgment sent {"connection_id":177112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:07] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:05:07] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:05:07] local.INFO: Packet analysis {"connection_id":175928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:05:07] local.INFO: Extracted packet for processing {"connection_id":175928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 18:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05: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-09-09 18: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":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":175928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:07] local.INFO: GPS data processed {"connection_id":175928,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:07] local.INFO: Acknowledgment sent {"connection_id":175928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:17] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:05:17] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:05:17] local.INFO: Packet analysis {"connection_id":175929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:05:17] local.INFO: Extracted packet for processing {"connection_id":175929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965632001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788957198000,"timestamp_ms":1788957198000,"timestamp_seconds":1788957198,"priority":1,"record_length":96,"hex_timestamp":"000001a0862886b0"} 
[2026-09-09 18:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965632001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965632001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965632001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":175929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:17] local.INFO: GPS data processed {"connection_id":175929,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:17] local.INFO: Acknowledgment sent {"connection_id":175929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:19] local.INFO: TCP Data received {"connection_id":178513,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:05:19] local.INFO: Processing buffer {"connection_id":178513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:05:19] local.INFO: IMEI packet received {"connection_id":178513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":178513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:05:24] local.INFO: TCP Data received {"connection_id":178513,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:05:24] local.INFO: Processing buffer {"connection_id":178513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:05:24] local.INFO: IMEI packet received {"connection_id":178513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":178513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:05:25] local.INFO: TCP Data received {"connection_id":178513,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08629ced0012d80ac8005d36f600004013126..."} 
[2026-09-09 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08629ced0012d80ac8005d36f600004013126..."} 
[2026-09-09 18:05:25] local.INFO: Processing buffer {"connection_id":178513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08629ced0012d80ac8005d36f600004013126..."} 
[2026-09-09 18:05:25] local.INFO: Packet analysis {"connection_id":178513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:25] local.INFO: Extracted packet for processing {"connection_id":178513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763407488,"raw_latitude":97742688,"longitude_deg":76.3407488,"latitude_deg":9.7742688,"altitude":4,"angle":305,"satellites":38,"speed":8,"hex_longitude":"2d80ac80","hex_latitude":"05d36f60","is_valid_coordinates":true} 
[2026-09-09 18:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973063936001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130472860115271680,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174606472117557248,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957282000,"timestamp_ms":1788957282000,"timestamp_seconds":1788957282,"priority":1,"record_length":96,"hex_timestamp":"000001a08629ced0"} 
[2026-09-09 18:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973063936001,"66":13472,"207":206,"85":15104,"24":8,"16":130472860115271680,"45":-9174606472117557248},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 18:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973063936001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:25] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 18:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130472860115271680,"km_value":130472860115271.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174606472117557248,"description":"Unknown IO ID 45"} 
[2026-09-09 18:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973063936001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9174606472117557248}} 
[2026-09-09 18:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":178513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:25] local.INFO: GPS data processed {"connection_id":178513,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:25] local.INFO: Acknowledgment sent {"connection_id":178513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:29] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:05:29] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:05:29] local.INFO: IMEI packet received {"connection_id":175704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":175704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:05:35] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:05:35] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:05:35] local.INFO: IMEI packet received {"connection_id":175704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":175704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:05:35] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:05:35] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:05:35] local.INFO: Packet analysis {"connection_id":175704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:05:35] local.INFO: Extracted packet for processing {"connection_id":175704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 18:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":175704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:35] local.INFO: GPS data processed {"connection_id":175704,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:35] local.INFO: Acknowledgment sent {"connection_id":175704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:36] local.INFO: TCP Data received {"connection_id":175703,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:36] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:36] local.INFO: Packet analysis {"connection_id":175703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:36] local.INFO: Extracted packet for processing {"connection_id":175703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":745170368,"raw_latitude":161412368,"longitude_deg":74.5170368,"latitude_deg":16.1412368,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a65c0","hex_latitude":"099ef510","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972971776001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400780464130,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788957239000,"timestamp_ms":1788957239000,"timestamp_seconds":1788957239,"priority":1,"record_length":96,"hex_timestamp":"000001a0862926d8"} 
[2026-09-09 18:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972971776001,"66":26473,"247":206,"19":59904,"24":0,"16":3893920429768704,"44":7666041400780464130},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,44]} 
[2026-09-09 18:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972971776001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":59904,"description":"Unknown IO ID 19"} 
[2026-09-09 18:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":7666041400780464130,"description":"Unknown IO ID 44"} 
[2026-09-09 18:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972971776001,"power":26473,"internal_battery_voltage":206,"unknown_19":59904,"ignition":0,"odometer":null,"unknown_44":7666041400780464130}} 
[2026-09-09 18:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":175703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:36] local.INFO: GPS data processed {"connection_id":175703,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:36] local.INFO: Acknowledgment sent {"connection_id":175703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:38] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:05:38] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:05:38] local.INFO: IMEI packet received {"connection_id":175930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":175930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:05:38] local.INFO: TCP Data received {"connection_id":175703,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:38] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:38] local.INFO: Packet analysis {"connection_id":175703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:38] local.INFO: Extracted packet for processing {"connection_id":175703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:38] local.INFO: GPS Element Parsed {"raw_longitude":745170368,"raw_latitude":161412368,"longitude_deg":74.5170368,"latitude_deg":16.1412368,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a65c0","hex_latitude":"099ef510","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972971776001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400780464130,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788957239000,"timestamp_ms":1788957239000,"timestamp_seconds":1788957239,"priority":1,"record_length":96,"hex_timestamp":"000001a0862926d8"} 
[2026-09-09 18:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972971776001,"66":26473,"247":206,"19":59904,"24":0,"16":3893920429768704,"44":7666041400780464130},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,44]} 
[2026-09-09 18:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972971776001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":59904,"description":"Unknown IO ID 19"} 
[2026-09-09 18:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":7666041400780464130,"description":"Unknown IO ID 44"} 
[2026-09-09 18:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972971776001,"power":26473,"internal_battery_voltage":206,"unknown_19":59904,"ignition":0,"odometer":null,"unknown_44":7666041400780464130}} 
[2026-09-09 18:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":175703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:38] local.INFO: GPS data processed {"connection_id":175703,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:38] local.ERROR: TCP Connection error {"connection_id":175703,"code":2,"message":"client closed"} 
[2026-09-09 18:05:38] local.INFO: Acknowledgment sent {"connection_id":175703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:43] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:05:43] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:05:43] local.INFO: IMEI packet received {"connection_id":175930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:05:44] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:05:44] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:05:44] local.INFO: Packet analysis {"connection_id":175930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:05:44] local.INFO: Extracted packet for processing {"connection_id":175930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965632001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788957198000,"timestamp_ms":1788957198000,"timestamp_seconds":1788957198,"priority":1,"record_length":96,"hex_timestamp":"000001a0862886b0"} 
[2026-09-09 18:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965632001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965632001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965632001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":175930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:44] local.INFO: GPS data processed {"connection_id":175930,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:44] local.INFO: Acknowledgment sent {"connection_id":175930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:45] local.INFO: TCP Data received {"connection_id":175931,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:05:45] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:05:45] local.INFO: IMEI packet received {"connection_id":175931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":175931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:05:48] local.INFO: TCP Data received {"connection_id":175931,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:05:48] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:05:48] local.INFO: IMEI packet received {"connection_id":175931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 18:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":175931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:05:55] local.INFO: TCP Data received {"connection_id":175931,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:55] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:55] local.INFO: Packet analysis {"connection_id":175931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:55] local.INFO: Extracted packet for processing {"connection_id":175931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:55] local.INFO: GPS Element Parsed {"raw_longitude":745170368,"raw_latitude":161412368,"longitude_deg":74.5170368,"latitude_deg":16.1412368,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a65c0","hex_latitude":"099ef510","is_valid_coordinates":true} 
[2026-09-09 18:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972971776001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400780464130,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788957239000,"timestamp_ms":1788957239000,"timestamp_seconds":1788957239,"priority":1,"record_length":96,"hex_timestamp":"000001a0862926d8"} 
[2026-09-09 18:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972971776001,"66":26473,"247":206,"19":59904,"24":0,"16":3893920429768704,"44":7666041400780464130},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,44]} 
[2026-09-09 18:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972971776001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":59904,"description":"Unknown IO ID 19"} 
[2026-09-09 18:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":7666041400780464130,"description":"Unknown IO ID 44"} 
[2026-09-09 18:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972971776001,"power":26473,"internal_battery_voltage":206,"unknown_19":59904,"ignition":0,"odometer":null,"unknown_44":7666041400780464130}} 
[2026-09-09 18:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":175931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:55] local.INFO: GPS data processed {"connection_id":175931,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:55] local.INFO: Acknowledgment sent {"connection_id":175931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:56] local.INFO: TCP Data received {"connection_id":178513,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08629d2b8012d80abc005d36fc00004011c26..."} 
[2026-09-09 18:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08629d2b8012d80abc005d36fc00004011c26..."} 
[2026-09-09 18:05:56] local.INFO: Processing buffer {"connection_id":178513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08629d2b8012d80abc005d36fc00004011c26..."} 
[2026-09-09 18:05:56] local.INFO: Packet analysis {"connection_id":178513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:56] local.INFO: Extracted packet for processing {"connection_id":178513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763407296,"raw_latitude":97742784,"longitude_deg":76.3407296,"latitude_deg":9.7742784,"altitude":4,"angle":284,"satellites":38,"speed":11,"hex_longitude":"2d80abc0","hex_latitude":"05d36fc0","is_valid_coordinates":true} 
[2026-09-09 18:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973064192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130472873000173568,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174817578350059520,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788957283000,"timestamp_ms":1788957283000,"timestamp_seconds":1788957283,"priority":1,"record_length":96,"hex_timestamp":"000001a08629d2b8"} 
[2026-09-09 18:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05: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-09-09 18:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973064192001,"66":13472,"207":206,"85":15104,"24":11,"16":130472873000173568,"45":-9174817578350059520},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 18:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973064192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:56] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 18:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130472873000173568,"km_value":130472873000173.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174817578350059520,"description":"Unknown IO ID 45"} 
[2026-09-09 18:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973064192001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9174817578350059520}} 
[2026-09-09 18:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":178513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:56] local.INFO: GPS data processed {"connection_id":178513,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:56] local.INFO: Acknowledgment sent {"connection_id":178513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:05:57] local.INFO: TCP Data received {"connection_id":175931,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:57] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:05:57] local.INFO: Packet analysis {"connection_id":175931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:57] local.INFO: Extracted packet for processing {"connection_id":175931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":745170368,"raw_latitude":161412368,"longitude_deg":74.5170368,"latitude_deg":16.1412368,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a65c0","hex_latitude":"099ef510","is_valid_coordinates":true} 
[2026-09-09 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972971776001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400780464130,"note":"Value kept but may cause issues"} 
[2026-09-09 18:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788957239000,"timestamp_ms":1788957239000,"timestamp_seconds":1788957239,"priority":1,"record_length":96,"hex_timestamp":"000001a0862926d8"} 
[2026-09-09 18:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 18:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972971776001,"66":26473,"247":206,"19":59904,"24":0,"16":3893920429768704,"44":7666041400780464130},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,44]} 
[2026-09-09 18:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972971776001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:05:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":59904,"description":"Unknown IO ID 19"} 
[2026-09-09 18:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:05:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":7666041400780464130,"description":"Unknown IO ID 44"} 
[2026-09-09 18:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972971776001,"power":26473,"internal_battery_voltage":206,"unknown_19":59904,"ignition":0,"odometer":null,"unknown_44":7666041400780464130}} 
[2026-09-09 18:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":175931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:05:57] local.INFO: GPS data processed {"connection_id":175931,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:05:57] local.INFO: Acknowledgment sent {"connection_id":175931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:06:07] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:06:07] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:06:07] local.INFO: Packet analysis {"connection_id":175704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:06:07] local.INFO: Extracted packet for processing {"connection_id":175704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 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-09-09 18:06: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-09-09 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":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":175704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:06:07] local.INFO: GPS data processed {"connection_id":175704,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:06:07] local.INFO: Acknowledgment sent {"connection_id":175704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:06:15] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:06:15] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:06:15] local.INFO: Packet analysis {"connection_id":175930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:06:15] local.INFO: Extracted packet for processing {"connection_id":175930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965632001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788957198000,"timestamp_ms":1788957198000,"timestamp_seconds":1788957198,"priority":1,"record_length":96,"hex_timestamp":"000001a0862886b0"} 
[2026-09-09 18:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 18:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965632001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965632001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965632001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":175930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:06:15] local.INFO: GPS data processed {"connection_id":175930,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:06:15] local.INFO: Acknowledgment sent {"connection_id":175930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:06:19] local.INFO: TCP Data received {"connection_id":178514,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:06:19] local.INFO: Processing buffer {"connection_id":178514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:06:19] local.INFO: IMEI packet received {"connection_id":178514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":178514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:06:26] local.INFO: TCP Data received {"connection_id":178514,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:06:26] local.INFO: Processing buffer {"connection_id":178514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:06:26] local.INFO: IMEI packet received {"connection_id":178514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":178514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:06:26] local.INFO: TCP Data received {"connection_id":178514,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862a20d8012d80964005d376800008012426..."} 
[2026-09-09 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862a20d8012d80964005d376800008012426..."} 
[2026-09-09 18:06:26] local.INFO: Processing buffer {"connection_id":178514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862a20d8012d80964005d376800008012426..."} 
[2026-09-09 18:06:26] local.INFO: Packet analysis {"connection_id":178514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862a"} 
[2026-09-09 18:06:26] local.INFO: Extracted packet for processing {"connection_id":178514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862a"} 
[2026-09-09 18:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763401792,"raw_latitude":97744512,"longitude_deg":76.3401792,"latitude_deg":9.7744512,"altitude":8,"angle":292,"satellites":38,"speed":12,"hex_longitude":"2d809640","hex_latitude":"05d37680","is_valid_coordinates":true} 
[2026-09-09 18:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973064448001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130473147878080512,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175028684582567936,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788957303000,"timestamp_ms":1788957303000,"timestamp_seconds":1788957303,"priority":1,"record_length":96,"hex_timestamp":"000001a0862a20d8"} 
[2026-09-09 18:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 18:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":178514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":178514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":178514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973064448001,"66":13722,"207":206,"85":15104,"24":12,"16":130473147878080512,"45":-9175028684582567936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-09 18:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973064448001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:06:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-09 18:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130473147878080512,"km_value":130473147878080.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175028684582567936,"description":"Unknown IO ID 45"} 
[2026-09-09 18:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973064448001,"power":13722,"unknown_207":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9175028684582567936}} 
[2026-09-09 18:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":178514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:06:26] local.INFO: GPS data processed {"connection_id":178514,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:06:26] local.INFO: Acknowledgment sent {"connection_id":178514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:06:35] local.INFO: TCP Data received {"connection_id":175932,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:06:35] local.INFO: Processing buffer {"connection_id":175932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:06:35] local.INFO: IMEI packet received {"connection_id":175932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":175932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:06:38] local.INFO: TCP Data received {"connection_id":178515,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:06:38] local.INFO: Processing buffer {"connection_id":178515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:06:38] local.INFO: IMEI packet received {"connection_id":178515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":178515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:06:40] local.INFO: TCP Data received {"connection_id":175932,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:06:40] local.INFO: Processing buffer {"connection_id":175932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:06:40] local.INFO: IMEI packet received {"connection_id":175932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":175932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:06:41] local.INFO: TCP Data received {"connection_id":175932,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:06:41] local.INFO: Processing buffer {"connection_id":175932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:06:41] local.INFO: Packet analysis {"connection_id":175932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:06:41] local.INFO: Extracted packet for processing {"connection_id":175932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06: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-09-09 18:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 18:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:06:41] 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-09-09 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:06: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-09-09 18:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:06:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":175932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:06:41] local.INFO: GPS data processed {"connection_id":175932,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:06:41] local.INFO: Acknowledgment sent {"connection_id":175932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:06:41] local.INFO: TCP Data received {"connection_id":175705,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:06:41] local.INFO: Processing buffer {"connection_id":175705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:06:41] local.INFO: IMEI packet received {"connection_id":175705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":175705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:06:45] local.INFO: TCP Data received {"connection_id":178515,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:06:45] local.INFO: Processing buffer {"connection_id":178515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:06:45] local.INFO: IMEI packet received {"connection_id":178515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":178515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:06:45] local.INFO: TCP Data received {"connection_id":175932,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:06:45] local.INFO: Processing buffer {"connection_id":175932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:06:45] local.INFO: Packet analysis {"connection_id":175932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:06:45] local.INFO: Extracted packet for processing {"connection_id":175932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 18:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:06:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":175932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:06:45] local.INFO: GPS data processed {"connection_id":175932,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:06:45] local.INFO: Acknowledgment sent {"connection_id":175932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:06:48] local.INFO: TCP Data received {"connection_id":178515,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:06:48] local.INFO: Processing buffer {"connection_id":178515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:06:48] local.INFO: IMEI packet received {"connection_id":178515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":178515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:06:49] local.INFO: TCP Data received {"connection_id":178515,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:06:49] local.INFO: Processing buffer {"connection_id":178515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:06:49] local.INFO: Packet analysis {"connection_id":178515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:06:49] local.INFO: Extracted packet for processing {"connection_id":178515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965632001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788957198000,"timestamp_ms":1788957198000,"timestamp_seconds":1788957198,"priority":1,"record_length":96,"hex_timestamp":"000001a0862886b0"} 
[2026-09-09 18:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 18:06:49] 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-09-09 18:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965632001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965632001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965632001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":178515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:06:49] local.INFO: GPS data processed {"connection_id":178515,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:06:49] local.INFO: Acknowledgment sent {"connection_id":178515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:06:55] local.INFO: TCP Data received {"connection_id":175705,"ip":"117.225.156.104","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:06:55] local.INFO: Processing buffer {"connection_id":175705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:06:55] local.INFO: IMEI packet received {"connection_id":175705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 18:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":175705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:06:57] local.INFO: TCP Data received {"connection_id":175705,"ip":"117.225.156.104","data_length":795,"data_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:06:57] local.INFO: Processing buffer {"connection_id":175705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862926d8012c6a65c0099ef51002aa00bd29..."} 
[2026-09-09 18:06:57] local.INFO: Packet analysis {"connection_id":175705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:06:57] local.INFO: Extracted packet for processing {"connection_id":175705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08629"} 
[2026-09-09 18:06:57] local.INFO: GPS Element Parsed {"raw_longitude":745170368,"raw_latitude":161412368,"longitude_deg":74.5170368,"latitude_deg":16.1412368,"altitude":682,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2c6a65c0","hex_latitude":"099ef510","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972971776001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7666041400780464130,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788957239000,"timestamp_ms":1788957239000,"timestamp_seconds":1788957239,"priority":1,"record_length":96,"hex_timestamp":"000001a0862926d8"} 
[2026-09-09 18:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 18:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 18:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.156.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 18:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 18:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972971776001,"66":26473,"247":206,"19":59904,"24":0,"16":3893920429768704,"44":7666041400780464130},"client_ip":"117.225.156.104","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,44]} 
[2026-09-09 18:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 18:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 18:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972971776001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:06:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":59904,"description":"Unknown IO ID 19"} 
[2026-09-09 18:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:06:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":7666041400780464130,"description":"Unknown IO ID 44"} 
[2026-09-09 18:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972971776001,"power":26473,"internal_battery_voltage":206,"unknown_19":59904,"ignition":0,"odometer":null,"unknown_44":7666041400780464130}} 
[2026-09-09 18:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":175705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:06:57] local.INFO: GPS data processed {"connection_id":175705,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:06:57] local.INFO: Acknowledgment sent {"connection_id":175705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:06:57] local.INFO: TCP Data received {"connection_id":178514,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862b6510012d7fec8005d39620000f010b25..."} 
[2026-09-09 18:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862b6510012d7fec8005d39620000f010b25..."} 
[2026-09-09 18:06:57] local.INFO: Processing buffer {"connection_id":178514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862b6510012d7fec8005d39620000f010b25..."} 
[2026-09-09 18:06:57] local.INFO: Packet analysis {"connection_id":178514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862b"} 
[2026-09-09 18:06:57] local.INFO: Extracted packet for processing {"connection_id":178514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862b"} 
[2026-09-09 18:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763358336,"raw_latitude":97752608,"longitude_deg":76.3358336,"latitude_deg":9.7752608,"altitude":15,"angle":267,"satellites":37,"speed":27,"hex_longitude":"2d7fec80","hex_latitude":"05d39620","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973086976001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130475381261074432,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218798043458455552,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788957386000,"timestamp_ms":1788957386000,"timestamp_seconds":1788957386,"priority":1,"record_length":96,"hex_timestamp":"000001a0862b6510"} 
[2026-09-09 18:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751632265,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2250946864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2151546885,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2604769520379756554,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2263875593,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549775015,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2309160960,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3548610560,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4899922800547463177,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":432571679877680725,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-09-09 18:06:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,167,85,24,241,157,16,138,160,243,45,149,12,38,10,66,137,228,192,11,220,1,240,181,227,134,211,4,113,205,22,189,63,239,53,2,207,5,9,128,54,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-09-09 18:06:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153220734980980736,"timestamp_seconds":1153220734980980.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":178514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":178514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":178514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973086976001,"66":13906,"167":206,"85":15104,"24":27,"16":130475381261074432,"45":-9218798043458455552},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-09 18:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973086976001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:06:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 18:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130475381261074432,"km_value":130475381261074.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218798043458455552,"description":"Unknown IO ID 45"} 
[2026-09-09 18:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973086976001,"power":13906,"unknown_167":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9218798043458455552}} 
[2026-09-09 18:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":178514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:06:57] local.INFO: GPS data processed {"connection_id":178514,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:06:57] local.INFO: Acknowledgment sent {"connection_id":178514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:07:16] local.INFO: TCP Data received {"connection_id":177113,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:16] local.INFO: Processing buffer {"connection_id":177113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:16] local.INFO: IMEI packet received {"connection_id":177113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":177113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:07:19] local.INFO: TCP Data received {"connection_id":177113,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:19] local.INFO: Processing buffer {"connection_id":177113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:19] local.INFO: IMEI packet received {"connection_id":177113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":177113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:07:20] local.INFO: TCP Data received {"connection_id":177113,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:20] local.INFO: Processing buffer {"connection_id":177113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:20] local.INFO: IMEI packet received {"connection_id":177113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":177113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:07:21] local.INFO: TCP Data received {"connection_id":178515,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:07:21] local.INFO: Processing buffer {"connection_id":178515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:07:21] local.INFO: Packet analysis {"connection_id":178515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:07:21] local.INFO: Extracted packet for processing {"connection_id":178515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965632001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788957198000,"timestamp_ms":1788957198000,"timestamp_seconds":1788957198,"priority":1,"record_length":96,"hex_timestamp":"000001a0862886b0"} 
[2026-09-09 18:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 18:07:21] 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-09-09 18:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965632001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965632001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:07:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965632001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":178515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:07:21] local.INFO: GPS data processed {"connection_id":178515,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:07:21] local.INFO: Acknowledgment sent {"connection_id":178515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:07:24] local.INFO: TCP Data received {"connection_id":177113,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:24] local.INFO: Processing buffer {"connection_id":177113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:07:24] local.INFO: IMEI packet received {"connection_id":177113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":177113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:07:25] local.INFO: TCP Data received {"connection_id":177113,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862b97d8012d7fc6c005d39458000e010c26..."} 
[2026-09-09 18:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862b97d8012d7fc6c005d39458000e010c26..."} 
[2026-09-09 18:07:25] local.INFO: Processing buffer {"connection_id":177113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862b97d8012d7fc6c005d39458000e010c26..."} 
[2026-09-09 18:07:25] local.INFO: Packet analysis {"connection_id":177113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862b"} 
[2026-09-09 18:07:25] local.INFO: Extracted packet for processing {"connection_id":177113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862b"} 
[2026-09-09 18:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763348672,"raw_latitude":97752152,"longitude_deg":76.3348672,"latitude_deg":9.7752152,"altitude":14,"angle":268,"satellites":38,"speed":29,"hex_longitude":"2d7fc6c0","hex_latitude":"05d39458","is_valid_coordinates":true} 
[2026-09-09 18:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973090816001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130475840822575104,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217883299833585664,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957399000,"timestamp_ms":1788957399000,"timestamp_seconds":1788957399,"priority":1,"record_length":96,"hex_timestamp":"000001a0862b97d8"} 
[2026-09-09 18:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-09 18:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973090816001,"66":13820,"167":206,"85":15104,"24":29,"16":130475840822575104,"45":9217883299833585664},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-09 18:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973090816001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:07:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 18:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130475840822575104,"km_value":130475840822575.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217883299833585664,"description":"Unknown IO ID 45"} 
[2026-09-09 18:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973090816001,"power":13820,"unknown_167":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9217883299833585664}} 
[2026-09-09 18:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":177113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:07:25] local.INFO: GPS data processed {"connection_id":177113,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:07:25] local.INFO: Acknowledgment sent {"connection_id":177113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:07:29] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:07:29] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:07:29] local.INFO: IMEI packet received {"connection_id":175933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":175933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:07:35] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:07:35] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:07:35] local.INFO: IMEI packet received {"connection_id":175933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":175933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:07:35] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:07:35] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862784e0012d1826800721bc980049001b28..."} 
[2026-09-09 18:07:35] local.INFO: Packet analysis {"connection_id":175933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:07:35] local.INFO: Extracted packet for processing {"connection_id":175933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08627"} 
[2026-09-09 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972948480001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841207808,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957132000,"timestamp_ms":1788957132000,"timestamp_seconds":1788957132,"priority":1,"record_length":96,"hex_timestamp":"000001a0862784e0"} 
[2026-09-09 18:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-09 18:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972948480001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1737826536841207808},"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-09-09 18:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972948480001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841207808,"description":"Unknown IO ID 45"} 
[2026-09-09 18:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972948480001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841207808}} 
[2026-09-09 18:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":175933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:07:35] local.INFO: GPS data processed {"connection_id":175933,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:07:35] local.INFO: Acknowledgment sent {"connection_id":175933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:07:43] local.INFO: TCP Data received {"connection_id":177114,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:07:43] local.INFO: Processing buffer {"connection_id":177114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:07:43] local.INFO: IMEI packet received {"connection_id":177114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":177114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:07:48] local.INFO: TCP Data received {"connection_id":177114,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:07:48] local.INFO: Processing buffer {"connection_id":177114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:07:48] local.INFO: IMEI packet received {"connection_id":177114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":177114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:07:49] local.INFO: TCP Data received {"connection_id":177114,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:07:49] local.INFO: Processing buffer {"connection_id":177114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:07:49] local.INFO: Packet analysis {"connection_id":177114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:07:49] local.INFO: Extracted packet for processing {"connection_id":177114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965632001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788957198000,"timestamp_ms":1788957198000,"timestamp_seconds":1788957198,"priority":1,"record_length":96,"hex_timestamp":"000001a0862886b0"} 
[2026-09-09 18:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 18:07:49] 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-09-09 18:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965632001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965632001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965632001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":177114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:07:49] local.INFO: GPS data processed {"connection_id":177114,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:07:49] local.INFO: Acknowledgment sent {"connection_id":177114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:07:54] local.INFO: TCP Data received {"connection_id":177114,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:07:54] local.INFO: Processing buffer {"connection_id":177114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:07:54] local.INFO: Packet analysis {"connection_id":177114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:07:54] local.INFO: Extracted packet for processing {"connection_id":177114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965632001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788957198000,"timestamp_ms":1788957198000,"timestamp_seconds":1788957198,"priority":1,"record_length":96,"hex_timestamp":"000001a0862886b0"} 
[2026-09-09 18:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 18:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965632001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965632001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:07:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:07:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965632001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":177114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:07:54] local.INFO: GPS data processed {"connection_id":177114,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:07:54] local.INFO: Acknowledgment sent {"connection_id":177114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:07:56] local.INFO: TCP Data received {"connection_id":177113,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862bc6b8012d7fa2c005d39338000d010b25..."} 
[2026-09-09 18:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862bc6b8012d7fa2c005d39338000d010b25..."} 
[2026-09-09 18:07:56] local.INFO: Processing buffer {"connection_id":177113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862bc6b8012d7fa2c005d39338000d010b25..."} 
[2026-09-09 18:07:56] local.INFO: Packet analysis {"connection_id":177113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862b"} 
[2026-09-09 18:07:56] local.INFO: Extracted packet for processing {"connection_id":177113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862b"} 
[2026-09-09 18:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":97751864,"longitude_deg":76.3339456,"latitude_deg":9.7751864,"altitude":13,"angle":267,"satellites":37,"speed":34,"hex_longitude":"2d7fa2c0","hex_latitude":"05d39338","is_valid_coordinates":true} 
[2026-09-09 18:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973094144001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130476283204206592,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207257619462641664,"note":"Value kept but may cause issues"} 
[2026-09-09 18:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788957411000,"timestamp_ms":1788957411000,"timestamp_seconds":1788957411,"priority":1,"record_length":96,"hex_timestamp":"000001a0862bc6b8"} 
[2026-09-09 18:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:07: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-09-09 18:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 18:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973094144001,"66":13656,"167":206,"85":15104,"24":34,"16":130476283204206592,"45":9207257619462641664},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-09 18:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973094144001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:07:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 18:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130476283204206592,"km_value":130476283204206.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207257619462641664,"description":"Unknown IO ID 45"} 
[2026-09-09 18:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973094144001,"power":13656,"unknown_167":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9207257619462641664}} 
[2026-09-09 18:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":177113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:07:56] local.INFO: GPS data processed {"connection_id":177113,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:07:56] local.INFO: Acknowledgment sent {"connection_id":177113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:08:07] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:08:07] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:08:07] local.INFO: Packet analysis {"connection_id":175933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:08:07] local.INFO: Extracted packet for processing {"connection_id":175933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 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-09-09 18:08: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-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18: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-09-09 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-09-09 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-09-09 18:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":175933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:08:07] local.INFO: GPS data processed {"connection_id":175933,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:08:07] local.INFO: Acknowledgment sent {"connection_id":175933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:08:20] local.INFO: TCP Data received {"connection_id":175934,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:08:20] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:08:20] local.INFO: IMEI packet received {"connection_id":175934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":175934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:08:24] local.INFO: TCP Data received {"connection_id":175934,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:08:24] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:08:24] local.INFO: IMEI packet received {"connection_id":175934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":175934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:08:25] local.INFO: TCP Data received {"connection_id":175934,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862bfd68012d7f7d8005d392280008010b27..."} 
[2026-09-09 18:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862bfd68012d7f7d8005d392280008010b27..."} 
[2026-09-09 18:08:25] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862bfd68012d7f7d8005d392280008010b27..."} 
[2026-09-09 18:08:25] local.INFO: Packet analysis {"connection_id":175934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862b"} 
[2026-09-09 18:08:25] local.INFO: Extracted packet for processing {"connection_id":175934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862b"} 
[2026-09-09 18:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763329920,"raw_latitude":97751592,"longitude_deg":76.332992,"latitude_deg":9.7751592,"altitude":8,"angle":267,"satellites":39,"speed":29,"hex_longitude":"2d7f7d80","hex_latitude":"05d39228","is_valid_coordinates":true} 
[2026-09-09 18:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973097216001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130476738470739968,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124520300984320,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957425000,"timestamp_ms":1788957425000,"timestamp_seconds":1788957425,"priority":1,"record_length":96,"hex_timestamp":"000001a0862bfd68"} 
[2026-09-09 18:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 18:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973097216001,"66":13820,"167":206,"85":15104,"24":29,"16":130476738470739968,"45":9197124520300984320},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-09 18:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973097216001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:08:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-09 18:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130476738470739968,"km_value":130476738470739.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124520300984320,"description":"Unknown IO ID 45"} 
[2026-09-09 18:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973097216001,"power":13820,"unknown_167":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9197124520300984320}} 
[2026-09-09 18:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":175934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:08:25] local.INFO: GPS data processed {"connection_id":175934,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:08:25] local.INFO: Acknowledgment sent {"connection_id":175934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:08:30] local.INFO: TCP Data received {"connection_id":178516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:08:30] local.INFO: Processing buffer {"connection_id":178516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:08:30] local.INFO: IMEI packet received {"connection_id":178516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":178516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:08:35] local.INFO: TCP Data received {"connection_id":178516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:08:35] local.INFO: Processing buffer {"connection_id":178516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:08:35] local.INFO: IMEI packet received {"connection_id":178516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":178516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:08:36] local.INFO: TCP Data received {"connection_id":178516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:08:36] local.INFO: Processing buffer {"connection_id":178516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:08:36] local.INFO: Packet analysis {"connection_id":178516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:08:36] local.INFO: Extracted packet for processing {"connection_id":178516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 18:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:08:36] 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-09-09 18: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-09-09 18: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-09-09 18:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:08:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":178516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:08:36] local.INFO: GPS data processed {"connection_id":178516,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:08:36] local.INFO: Acknowledgment sent {"connection_id":178516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:08:38] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:08:38] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:08:38] local.INFO: IMEI packet received {"connection_id":175706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":175706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:08:43] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:08:43] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:08:43] local.INFO: IMEI packet received {"connection_id":175706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":175706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:08:44] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:08:44] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862886b0012d34cc4006aa49080000013424..."} 
[2026-09-09 18:08:44] local.INFO: Packet analysis {"connection_id":175706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:08:44] local.INFO: Extracted packet for processing {"connection_id":175706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08628"} 
[2026-09-09 18:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457972965632001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788957198000,"timestamp_ms":1788957198000,"timestamp_seconds":1788957198,"priority":1,"record_length":96,"hex_timestamp":"000001a0862886b0"} 
[2026-09-09 18:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 18:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:08: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-09-09 18:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457972965632001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457972965632001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457972965632001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":175706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:08:44] local.INFO: GPS data processed {"connection_id":175706,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:08:44] local.INFO: Acknowledgment sent {"connection_id":175706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:08:57] local.INFO: TCP Data received {"connection_id":175934,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d7468012d7ebb0005d323100006010428..."} 
[2026-09-09 18:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d7468012d7ebb0005d323100006010428..."} 
[2026-09-09 18:08:57] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d7468012d7ebb0005d323100006010428..."} 
[2026-09-09 18:08:57] local.INFO: Packet analysis {"connection_id":175934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:08:57] local.INFO: Extracted packet for processing {"connection_id":175934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763280128,"raw_latitude":97723152,"longitude_deg":76.3280128,"latitude_deg":9.7723152,"altitude":6,"angle":260,"satellites":40,"speed":28,"hex_longitude":"2d7ebb00","hex_latitude":"05d32310","is_valid_coordinates":true} 
[2026-09-09 18:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973121280001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130479667638435840,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142166531091435520,"note":"Value kept but may cause issues"} 
[2026-09-09 18:08:57] 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-09-09 18:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788957521000,"timestamp_ms":1788957521000,"timestamp_seconds":1788957521,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d7468"} 
[2026-09-09 18:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-09 18:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973121280001,"66":13656,"209":206,"85":15104,"24":28,"16":130479667638435840,"45":9142166531091435520},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-09-09 18:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973121280001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:08:57] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-09 18:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130479667638435840,"km_value":130479667638435.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142166531091435520,"description":"Unknown IO ID 45"} 
[2026-09-09 18:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973121280001,"power":13656,"unknown_209":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9142166531091435520}} 
[2026-09-09 18:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":175934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:08:57] local.INFO: GPS data processed {"connection_id":175934,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:08:57] local.INFO: Acknowledgment sent {"connection_id":175934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:09:07] local.INFO: TCP Data received {"connection_id":178516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:09:07] local.INFO: Processing buffer {"connection_id":178516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:09:07] local.INFO: Packet analysis {"connection_id":178516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:09:07] local.INFO: Extracted packet for processing {"connection_id":178516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 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-09-09 18:09: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-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18: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-09-09 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-09-09 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-09-09 18:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":178516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:09:07] local.INFO: GPS data processed {"connection_id":178516,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:09:07] local.INFO: Acknowledgment sent {"connection_id":178516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:09:15] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:09:15] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:09:15] local.INFO: Packet analysis {"connection_id":175706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:09:15] local.INFO: Extracted packet for processing {"connection_id":175706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:09:15] 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-09-09 18:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":175706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:09:15] local.INFO: GPS data processed {"connection_id":175706,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:09:15] local.INFO: Acknowledgment sent {"connection_id":175706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:09:19] local.INFO: TCP Data received {"connection_id":177115,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:09:19] local.INFO: Processing buffer {"connection_id":177115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:09:19] local.INFO: IMEI packet received {"connection_id":177115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":177115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:09:24] local.INFO: TCP Data received {"connection_id":177115,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:09:24] local.INFO: Processing buffer {"connection_id":177115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:09:24] local.INFO: IMEI packet received {"connection_id":177115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":177115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:09:25] local.INFO: TCP Data received {"connection_id":177115,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d9790012d7ea70005d31e00000500f727..."} 
[2026-09-09 18:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d9790012d7ea70005d31e00000500f727..."} 
[2026-09-09 18:09:25] local.INFO: Processing buffer {"connection_id":177115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d9790012d7ea70005d31e00000500f727..."} 
[2026-09-09 18:09:25] local.INFO: Packet analysis {"connection_id":177115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:09:25] local.INFO: Extracted packet for processing {"connection_id":177115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763275008,"raw_latitude":97721856,"longitude_deg":76.3275008,"latitude_deg":9.7721856,"altitude":5,"angle":247,"satellites":39,"speed":20,"hex_longitude":"2d7ea700","hex_latitude":"05d31e00","is_valid_coordinates":true} 
[2026-09-09 18:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973125376001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130479921041506304,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131892694440939520,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:25] 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-09-09 18:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957530000,"timestamp_ms":1788957530000,"timestamp_seconds":1788957530,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d9790"} 
[2026-09-09 18:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 18:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973125376001,"66":13939,"209":206,"85":15104,"24":20,"16":130479921041506304,"45":9131892694440939520},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-09-09 18:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973125376001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:09:25] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-09 18:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130479921041506304,"km_value":130479921041506.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131892694440939520,"description":"Unknown IO ID 45"} 
[2026-09-09 18:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973125376001,"power":13939,"unknown_209":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9131892694440939520}} 
[2026-09-09 18:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":177115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:09:25] local.INFO: GPS data processed {"connection_id":177115,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:09:25] local.INFO: Acknowledgment sent {"connection_id":177115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:09:30] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:09:30] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:09:30] local.INFO: IMEI packet received {"connection_id":175707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":175707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:09:35] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:09:35] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:09:35] local.INFO: IMEI packet received {"connection_id":175707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":175707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:09:35] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:09:35] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:09:35] local.INFO: Packet analysis {"connection_id":175707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:09:35] local.INFO: Extracted packet for processing {"connection_id":175707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09: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-09-09 18:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 18:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:09: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-09-09 18:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:09: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-09-09 18:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:09:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":175707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:09:35] local.INFO: GPS data processed {"connection_id":175707,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:09:35] local.INFO: Acknowledgment sent {"connection_id":175707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:09:38] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:09:38] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:09:38] local.INFO: IMEI packet received {"connection_id":175708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":175708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:09:43] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:09:43] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:09:43] local.INFO: IMEI packet received {"connection_id":175708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":175708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:09:44] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:09:44] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:09:44] local.INFO: Packet analysis {"connection_id":175708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:09:44] local.INFO: Extracted packet for processing {"connection_id":175708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:09:44] 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-09-09 18:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:09:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":175708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:09:44] local.INFO: GPS data processed {"connection_id":175708,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:09:44] local.INFO: Acknowledgment sent {"connection_id":175708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:09:57] local.INFO: TCP Data received {"connection_id":177115,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862da348012d7ea14005d31ae0000500ea27..."} 
[2026-09-09 18:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862da348012d7ea14005d31ae0000500ea27..."} 
[2026-09-09 18:09:57] local.INFO: Processing buffer {"connection_id":177115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862da348012d7ea14005d31ae0000500ea27..."} 
[2026-09-09 18:09:57] local.INFO: Packet analysis {"connection_id":177115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:09:57] local.INFO: Extracted packet for processing {"connection_id":177115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763273536,"raw_latitude":97721056,"longitude_deg":76.3273536,"latitude_deg":9.7721056,"altitude":5,"angle":234,"satellites":39,"speed":21,"hex_longitude":"2d7ea140","hex_latitude":"05d31ae0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973127680001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130479998350917632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126263194906394624,"note":"Value kept but may cause issues"} 
[2026-09-09 18:09:57] 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-09-09 18:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788957533000,"timestamp_ms":1788957533000,"timestamp_seconds":1788957533,"priority":1,"record_length":96,"hex_timestamp":"000001a0862da348"} 
[2026-09-09 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-09-09 18:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-09 18:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973127680001,"66":12917,"209":206,"85":15104,"24":21,"16":130479998350917632,"45":9126263194906394624},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-09-09 18:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973127680001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:09:57] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-09 18:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130479998350917632,"km_value":130479998350917.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126263194906394624,"description":"Unknown IO ID 45"} 
[2026-09-09 18:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973127680001,"power":12917,"unknown_209":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9126263194906394624}} 
[2026-09-09 18:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":177115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:09:57] local.INFO: GPS data processed {"connection_id":177115,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:09:57] local.INFO: Acknowledgment sent {"connection_id":177115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:10:06] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:10:06] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:10:06] local.INFO: Packet analysis {"connection_id":175707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:10:06] local.INFO: Extracted packet for processing {"connection_id":175707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10: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-09-09 18:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 18:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:10: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-09-09 18:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:10:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":175707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:10:07] local.INFO: GPS data processed {"connection_id":175707,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:10:07] local.INFO: Acknowledgment sent {"connection_id":175707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:10:15] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:10:15] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:10:15] local.INFO: Packet analysis {"connection_id":175708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:10:15] local.INFO: Extracted packet for processing {"connection_id":175708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:10:15] 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-09-09 18:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":175708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:10:15] local.INFO: GPS data processed {"connection_id":175708,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:10:15] local.INFO: Acknowledgment sent {"connection_id":175708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:10:23] local.INFO: TCP Data received {"connection_id":178518,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:10:23] local.INFO: Processing buffer {"connection_id":178518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:10:23] local.INFO: IMEI packet received {"connection_id":178518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":178518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:10:24] local.INFO: TCP Data received {"connection_id":178518,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:10:24] local.INFO: Processing buffer {"connection_id":178518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:10:24] local.INFO: IMEI packet received {"connection_id":178518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":178518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:10:29] local.INFO: TCP Data received {"connection_id":178518,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:10:29] local.INFO: Processing buffer {"connection_id":178518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:10:29] local.INFO: IMEI packet received {"connection_id":178518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":178518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:10:29] local.INFO: TCP Data received {"connection_id":177116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:10:29] local.INFO: Processing buffer {"connection_id":177116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:10:29] local.INFO: IMEI packet received {"connection_id":177116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":177116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:10:30] local.INFO: TCP Data received {"connection_id":178518,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862ed010012d7e5a0005d353700005013428..."} 
[2026-09-09 18:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862ed010012d7e5a0005d353700005013428..."} 
[2026-09-09 18:10:30] local.INFO: Processing buffer {"connection_id":178518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862ed010012d7e5a0005d353700005013428..."} 
[2026-09-09 18:10:30] local.INFO: Packet analysis {"connection_id":178518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862e"} 
[2026-09-09 18:10:30] local.INFO: Extracted packet for processing {"connection_id":178518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862e"} 
[2026-09-09 18:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763255296,"raw_latitude":97735536,"longitude_deg":76.3255296,"latitude_deg":9.7735536,"altitude":5,"angle":308,"satellites":40,"speed":9,"hex_longitude":"2d7e5a00","hex_latitude":"05d35370","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973145856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130481815122083840,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105856259098071040,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788957610000,"timestamp_ms":1788957610000,"timestamp_seconds":1788957610,"priority":1,"record_length":96,"hex_timestamp":"000001a0862ed010"} 
[2026-09-09 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-09-09 18:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-09 18:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":178518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":178518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":178518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973145856001,"66":13656,"109":206,"85":15104,"24":9,"16":130481815122083840,"45":9105856259098071040},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973145856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:10:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130481815122083840,"km_value":130481815122083.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105856259098071040,"description":"Unknown IO ID 45"} 
[2026-09-09 18:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973145856001,"power":13656,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9105856259098071040}} 
[2026-09-09 18:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":178518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:10:30] local.INFO: GPS data processed {"connection_id":178518,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:10:30] local.INFO: Acknowledgment sent {"connection_id":178518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:10:30] local.INFO: TCP Data received {"connection_id":178518,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862ed7e0012d7e588005d354580005012028..."} 
[2026-09-09 18:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862ed7e0012d7e588005d354580005012028..."} 
[2026-09-09 18:10:30] local.INFO: Processing buffer {"connection_id":178518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862ed7e0012d7e588005d354580005012028..."} 
[2026-09-09 18:10:30] local.INFO: Packet analysis {"connection_id":178518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862e"} 
[2026-09-09 18:10:30] local.INFO: Extracted packet for processing {"connection_id":178518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862e"} 
[2026-09-09 18:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763254912,"raw_latitude":97735768,"longitude_deg":76.3254912,"latitude_deg":9.7735768,"altitude":5,"angle":288,"satellites":40,"speed":8,"hex_longitude":"2d7e5880","hex_latitude":"05d35458","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973148160001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130481836596920320,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104589621703176192,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788957612000,"timestamp_ms":1788957612000,"timestamp_seconds":1788957612,"priority":1,"record_length":96,"hex_timestamp":"000001a0862ed7e0"} 
[2026-09-09 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-09-09 18:10: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-09-09 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-09 18:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":178518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":178518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":178518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973148160001,"66":13830,"109":206,"85":15104,"24":8,"16":130481836596920320,"45":9104589621703176192},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973148160001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:10:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130481836596920320,"km_value":130481836596920.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104589621703176192,"description":"Unknown IO ID 45"} 
[2026-09-09 18:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973148160001,"power":13830,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9104589621703176192}} 
[2026-09-09 18:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":178518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:10:30] local.INFO: GPS data processed {"connection_id":178518,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:10:30] local.INFO: Acknowledgment sent {"connection_id":178518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:10:35] local.INFO: TCP Data received {"connection_id":177116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:10:35] local.INFO: Processing buffer {"connection_id":177116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:10:35] local.INFO: IMEI packet received {"connection_id":177116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":177116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:10:35] local.INFO: TCP Data received {"connection_id":177116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:10:35] local.INFO: Processing buffer {"connection_id":177116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:10:35] local.INFO: Packet analysis {"connection_id":177116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:10:35] local.INFO: Extracted packet for processing {"connection_id":177116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 18:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:10: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-09-09 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:10:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":177116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:10:35] local.INFO: GPS data processed {"connection_id":177116,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:10:35] local.INFO: Acknowledgment sent {"connection_id":177116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:10:38] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:10:38] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:10:38] local.INFO: IMEI packet received {"connection_id":175709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":175709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:10:43] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:10:43] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:10:43] local.INFO: IMEI packet received {"connection_id":175709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":175709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:10:44] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:10:44] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:10:44] local.INFO: Packet analysis {"connection_id":175709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:10:44] local.INFO: Extracted packet for processing {"connection_id":175709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:10:44] 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-09-09 18:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":175709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:10:44] local.INFO: GPS data processed {"connection_id":175709,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:10:44] local.INFO: Acknowledgment sent {"connection_id":175709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:11:02] local.INFO: TCP Data received {"connection_id":178518,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862efef0012d7e4d8005d357400006011528..."} 
[2026-09-09 18:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862efef0012d7e4d8005d357400006011528..."} 
[2026-09-09 18:11:02] local.INFO: Processing buffer {"connection_id":178518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862efef0012d7e4d8005d357400006011528..."} 
[2026-09-09 18:11:02] local.INFO: Packet analysis {"connection_id":178518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862e"} 
[2026-09-09 18:11:02] local.INFO: Extracted packet for processing {"connection_id":178518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862e"} 
[2026-09-09 18:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763252096,"raw_latitude":97736512,"longitude_deg":76.3252096,"latitude_deg":9.7736512,"altitude":6,"angle":277,"satellites":40,"speed":16,"hex_longitude":"2d7e4d80","hex_latitude":"05d35740","is_valid_coordinates":true} 
[2026-09-09 18:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973148672001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130481974035873792,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104167409238169600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788957622000,"timestamp_ms":1788957622000,"timestamp_seconds":1788957622,"priority":1,"record_length":96,"hex_timestamp":"000001a0862efef0"} 
[2026-09-09 18:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:11:02] 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-09-09 18: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2251808419414016,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627136603392,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251170864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3540314112,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":5764619622915899401,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147865349,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2409431040,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.WARNING: Large IO value detected {"io_id":32,"raw_value":5188478266612123091,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,85,24,241,157,16,144,160,208,45,83,5,40,10,66,172,128,78,6,39,165,1,240,225,227,134,211,4,113,205,23,101,38,239,52,116,2,207,11,8,32],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:11:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360604801337655296,"timestamp_seconds":360604801337655.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":178518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":178518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":178518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973148672001,"66":13396,"109":206,"85":15104,"24":16,"16":130481974035873792,"45":9104167409238169600},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973148672001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:11:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130481974035873792,"km_value":130481974035873.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104167409238169600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973148672001,"power":13396,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9104167409238169600}} 
[2026-09-09 18:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":178518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:11:02] local.INFO: GPS data processed {"connection_id":178518,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:11:02] local.INFO: Acknowledgment sent {"connection_id":178518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:11:06] local.INFO: TCP Data received {"connection_id":177116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:11:06] local.INFO: Processing buffer {"connection_id":177116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:11:06] local.INFO: Packet analysis {"connection_id":177116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:11:06] local.INFO: Extracted packet for processing {"connection_id":177116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 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-09-09 18:11: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-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:11: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-09-09 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-09-09 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-09-09 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":177116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:11:07] local.INFO: GPS data processed {"connection_id":177116,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:11:07] local.INFO: Acknowledgment sent {"connection_id":177116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:11:16] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:11:16] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:11:16] local.INFO: Packet analysis {"connection_id":175709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:11:16] local.INFO: Extracted packet for processing {"connection_id":175709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":175709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:11:16] local.INFO: GPS data processed {"connection_id":175709,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:11:16] local.INFO: Acknowledgment sent {"connection_id":175709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:11:19] local.INFO: TCP Data received {"connection_id":178519,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:11:19] local.INFO: Processing buffer {"connection_id":178519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:11:19] local.INFO: IMEI packet received {"connection_id":178519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":178519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:11:24] local.INFO: TCP Data received {"connection_id":178519,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:11:24] local.INFO: Processing buffer {"connection_id":178519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:11:24] local.INFO: IMEI packet received {"connection_id":178519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":178519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:11:25] local.INFO: TCP Data received {"connection_id":178519,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862f87a8012d7e300005d354680006009927..."} 
[2026-09-09 18:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862f87a8012d7e300005d354680006009927..."} 
[2026-09-09 18:11:25] local.INFO: Processing buffer {"connection_id":178519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862f87a8012d7e300005d354680006009927..."} 
[2026-09-09 18:11:25] local.INFO: Packet analysis {"connection_id":178519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862f"} 
[2026-09-09 18:11:25] local.INFO: Extracted packet for processing {"connection_id":178519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862f"} 
[2026-09-09 18:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763244544,"raw_latitude":97735784,"longitude_deg":76.3244544,"latitude_deg":9.7735784,"altitude":6,"angle":153,"satellites":39,"speed":8,"hex_longitude":"2d7e3000","hex_latitude":"05d35468","is_valid_coordinates":true} 
[2026-09-09 18:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973159936001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482377762799616,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681435136,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957657000,"timestamp_ms":1788957657000,"timestamp_seconds":1788957657,"priority":1,"record_length":96,"hex_timestamp":"000001a0862f87a8"} 
[2026-09-09 18:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 18:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973159936001,"66":13689,"109":206,"85":15104,"24":8,"16":130482377762799616,"45":9092767672681435136},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973159936001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:11:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482377762799616,"km_value":130482377762799.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681435136,"description":"Unknown IO ID 45"} 
[2026-09-09 18:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973159936001,"power":13689,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9092767672681435136}} 
[2026-09-09 18:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":178519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:11:25] local.INFO: GPS data processed {"connection_id":178519,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:11:25] local.INFO: Acknowledgment sent {"connection_id":178519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:11:35] local.INFO: TCP Data received {"connection_id":178520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:11:35] local.INFO: Processing buffer {"connection_id":178520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:11:35] local.INFO: IMEI packet received {"connection_id":178520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":178520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:11:40] local.INFO: TCP Data received {"connection_id":178520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:11:40] local.INFO: Processing buffer {"connection_id":178520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:11:40] local.INFO: IMEI packet received {"connection_id":178520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":178520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:11:40] local.INFO: TCP Data received {"connection_id":178520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:11:40] local.INFO: Processing buffer {"connection_id":178520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:11:40] local.INFO: Packet analysis {"connection_id":178520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:11:40] local.INFO: Extracted packet for processing {"connection_id":178520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11: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-09-09 18:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 18:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:11:40] 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-09-09 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:11: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-09-09 18:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:11: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-09-09 18:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:11:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":178520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:11:41] local.INFO: GPS data processed {"connection_id":178520,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:11:41] local.INFO: Acknowledgment sent {"connection_id":178520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:11:43] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:11:43] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:11:43] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:11:48] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:11:48] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:11:48] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:11:49] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:11:49] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:11:49] local.INFO: Packet analysis {"connection_id":175936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:11:49] local.INFO: Extracted packet for processing {"connection_id":175936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:11:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":175936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:11:49] local.INFO: GPS data processed {"connection_id":175936,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:11:49] local.INFO: Acknowledgment sent {"connection_id":175936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:11:56] local.INFO: TCP Data received {"connection_id":178519,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0862fa6e8012d7e348005d34e900006008127..."} 
[2026-09-09 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862fa6e8012d7e348005d34e900006008127..."} 
[2026-09-09 18:11:56] local.INFO: Processing buffer {"connection_id":178519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862fa6e8012d7e348005d34e900006008127..."} 
[2026-09-09 18:11:56] local.INFO: Packet analysis {"connection_id":178519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862f"} 
[2026-09-09 18:11:56] local.INFO: Extracted packet for processing {"connection_id":178519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862f"} 
[2026-09-09 18:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763245696,"raw_latitude":97734288,"longitude_deg":76.3245696,"latitude_deg":9.7734288,"altitude":6,"angle":129,"satellites":39,"speed":8,"hex_longitude":"2d7e3480","hex_latitude":"05d34e90","is_valid_coordinates":true} 
[2026-09-09 18:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973160192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482467957112832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681392128,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788957665000,"timestamp_ms":1788957665000,"timestamp_seconds":1788957665,"priority":1,"record_length":96,"hex_timestamp":"000001a0862fa6e8"} 
[2026-09-09 18:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:11: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-09-09 18:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-09 18:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973160192001,"66":13906,"109":206,"85":15104,"24":8,"16":130482467957112832,"45":9092767672681392128},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973160192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:11:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482467957112832,"km_value":130482467957112.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681392128,"description":"Unknown IO ID 45"} 
[2026-09-09 18:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973160192001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9092767672681392128}} 
[2026-09-09 18:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":178519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:11:56] local.INFO: GPS data processed {"connection_id":178519,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:11:56] local.INFO: Acknowledgment sent {"connection_id":178519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:11:57] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:11:57] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:11:57] local.INFO: Packet analysis {"connection_id":175936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:11:57] local.INFO: Extracted packet for processing {"connection_id":175936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:11:57] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:11:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:11:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":175936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:11:57] local.INFO: GPS data processed {"connection_id":175936,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:11:57] local.INFO: Acknowledgment sent {"connection_id":175936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:12:12] local.INFO: TCP Data received {"connection_id":178520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:12:12] local.INFO: Processing buffer {"connection_id":178520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:12:12] local.INFO: Packet analysis {"connection_id":178520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:12:12] local.INFO: Extracted packet for processing {"connection_id":178520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 18:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:12: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-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:12: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-09-09 18: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-09-09 18:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:12: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-09-09 18:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:12:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":178520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:12:12] local.INFO: GPS data processed {"connection_id":178520,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:12:12] local.INFO: Acknowledgment sent {"connection_id":178520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:12:16] local.INFO: TCP Data received {"connection_id":177117,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:12:16] local.INFO: Processing buffer {"connection_id":177117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:12:16] local.INFO: IMEI packet received {"connection_id":177117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":177117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:12:30] local.INFO: TCP Data received {"connection_id":175937,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:12:30] local.INFO: Processing buffer {"connection_id":175937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:12:30] local.INFO: IMEI packet received {"connection_id":175937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":175937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:12:35] local.INFO: TCP Data received {"connection_id":175937,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:12:35] local.INFO: Processing buffer {"connection_id":175937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:12:35] local.INFO: IMEI packet received {"connection_id":175937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":175937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:12:35] local.INFO: TCP Data received {"connection_id":175937,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:12:35] local.INFO: Processing buffer {"connection_id":175937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862c1ca8012d1826800721bc980049001b29..."} 
[2026-09-09 18:12:35] local.INFO: Packet analysis {"connection_id":175937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:12:35] local.INFO: Extracted packet for processing {"connection_id":175937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862c"} 
[2026-09-09 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973025792001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957433000,"timestamp_ms":1788957433000,"timestamp_seconds":1788957433,"priority":1,"record_length":96,"hex_timestamp":"000001a0862c1ca8"} 
[2026-09-09 18:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:12: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-09-09 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973025792001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973025792001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:12:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973025792001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":175937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:12:36] local.INFO: GPS data processed {"connection_id":175937,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:12:36] local.INFO: Acknowledgment sent {"connection_id":175937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:12:38] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:12:38] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:12:38] local.INFO: IMEI packet received {"connection_id":175938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":175938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:12:43] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:12:43] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:12:43] local.INFO: IMEI packet received {"connection_id":175938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":175938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:12:44] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:12:44] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:12:44] local.INFO: Packet analysis {"connection_id":175938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:12:44] local.INFO: Extracted packet for processing {"connection_id":175938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:12:44] 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-09-09 18:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":175938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:12:44] local.INFO: GPS data processed {"connection_id":175938,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:12:44] local.INFO: Acknowledgment sent {"connection_id":175938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:13:06] local.INFO: TCP Data received {"connection_id":175937,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:13:06] local.INFO: Processing buffer {"connection_id":175937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:13:06] local.INFO: Packet analysis {"connection_id":175937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:13:06] local.INFO: Extracted packet for processing {"connection_id":175937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 18:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:13: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-09-09 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:13: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-09-09 18:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:13:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":175937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:13:07] local.INFO: GPS data processed {"connection_id":175937,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:13:07] local.INFO: Acknowledgment sent {"connection_id":175937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:13:16] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:13:16] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:13:16] local.INFO: Packet analysis {"connection_id":175938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:13:16] local.INFO: Extracted packet for processing {"connection_id":175938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":175938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:13:16] local.INFO: GPS data processed {"connection_id":175938,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:13:16] local.INFO: Acknowledgment sent {"connection_id":175938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:13:30] local.INFO: TCP Data received {"connection_id":177118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:13:30] local.INFO: Processing buffer {"connection_id":177118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:13:30] local.INFO: IMEI packet received {"connection_id":177118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":177118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:13:35] local.INFO: TCP Data received {"connection_id":177118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:13:35] local.INFO: Processing buffer {"connection_id":177118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:13:35] local.INFO: IMEI packet received {"connection_id":177118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":177118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:13:35] local.INFO: TCP Data received {"connection_id":177118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:13:35] local.INFO: Processing buffer {"connection_id":177118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:13:35] local.INFO: Packet analysis {"connection_id":177118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:13:35] local.INFO: Extracted packet for processing {"connection_id":177118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 18:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:13: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-09-09 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:13:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":177118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:13:36] local.INFO: GPS data processed {"connection_id":177118,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:13:36] local.INFO: Acknowledgment sent {"connection_id":177118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:13:38] local.INFO: TCP Data received {"connection_id":178522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:13:38] local.INFO: Processing buffer {"connection_id":178522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:13:38] local.INFO: IMEI packet received {"connection_id":178522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":178522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:13:43] local.INFO: TCP Data received {"connection_id":178522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:13:43] local.INFO: Processing buffer {"connection_id":178522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:13:43] local.INFO: IMEI packet received {"connection_id":178522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":178522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:13:46] local.INFO: TCP Data received {"connection_id":178522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:13:46] local.INFO: Processing buffer {"connection_id":178522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0862d1e78012d34cc4006aa49080000013425..."} 
[2026-09-09 18:13:46] local.INFO: Packet analysis {"connection_id":178522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:13:46] local.INFO: Extracted packet for processing {"connection_id":178522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0862d"} 
[2026-09-09 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973042688001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788957499000,"timestamp_ms":1788957499000,"timestamp_seconds":1788957499,"priority":1,"record_length":96,"hex_timestamp":"000001a0862d1e78"} 
[2026-09-09 18:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:13:46] 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-09-09 18:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973042688001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973042688001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973042688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":178522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:13:46] local.INFO: GPS data processed {"connection_id":178522,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:13:46] local.INFO: Acknowledgment sent {"connection_id":178522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:13:57] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:13:57] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:13:57] local.INFO: IMEI packet received {"connection_id":175710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":175710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:14:07] local.INFO: TCP Data received {"connection_id":177118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:14:07] local.INFO: Processing buffer {"connection_id":177118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:14:07] local.INFO: Packet analysis {"connection_id":177118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:14:07] local.INFO: Extracted packet for processing {"connection_id":177118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 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-09-09 18:14: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-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18: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-09-09 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-09-09 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-09-09 18:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:14:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":177118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:14:07] local.INFO: GPS data processed {"connection_id":177118,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:14:07] local.INFO: Acknowledgment sent {"connection_id":177118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:14:17] local.INFO: TCP Data received {"connection_id":178522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:14:17] local.INFO: Processing buffer {"connection_id":178522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:14:17] local.INFO: Packet analysis {"connection_id":178522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:14:17] local.INFO: Extracted packet for processing {"connection_id":178522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:14: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-09-09 18:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:14:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":178522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:14:17] local.INFO: GPS data processed {"connection_id":178522,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:14:17] local.INFO: Acknowledgment sent {"connection_id":178522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:14:29] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:14:29] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:14:29] local.INFO: IMEI packet received {"connection_id":175939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":175939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:14:35] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:14:35] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:14:35] local.INFO: IMEI packet received {"connection_id":175939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":175939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:14:35] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:14:35] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:14:35] local.INFO: Packet analysis {"connection_id":175939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:14:35] local.INFO: Extracted packet for processing {"connection_id":175939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 18:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:14: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-09-09 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:14:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":175939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:14:35] local.INFO: GPS data processed {"connection_id":175939,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:14:35] local.INFO: Acknowledgment sent {"connection_id":175939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:14:38] local.INFO: TCP Data received {"connection_id":178523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:14:38] local.INFO: Processing buffer {"connection_id":178523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:14:38] local.INFO: IMEI packet received {"connection_id":178523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":178523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:14:44] local.INFO: TCP Data received {"connection_id":178523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:14:44] local.INFO: Processing buffer {"connection_id":178523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:14:44] local.INFO: IMEI packet received {"connection_id":178523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":178523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:14:45] local.INFO: TCP Data received {"connection_id":178523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:14:45] local.INFO: Processing buffer {"connection_id":178523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:14:45] local.INFO: Packet analysis {"connection_id":178523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:14:45] local.INFO: Extracted packet for processing {"connection_id":178523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:14:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":178523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:14:45] local.INFO: GPS data processed {"connection_id":178523,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:14:45] local.INFO: Acknowledgment sent {"connection_id":178523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:15:06] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:15:06] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:15:06] local.INFO: Packet analysis {"connection_id":175939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:15:06] local.INFO: Extracted packet for processing {"connection_id":175939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 18:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:15: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-09-09 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:15: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-09-09 18:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:15:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":175939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:15:06] local.INFO: GPS data processed {"connection_id":175939,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:15:06] local.INFO: Acknowledgment sent {"connection_id":175939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:15:17] local.INFO: TCP Data received {"connection_id":178523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:15:17] local.INFO: Processing buffer {"connection_id":178523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:15:17] local.INFO: Packet analysis {"connection_id":178523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:15:17] local.INFO: Extracted packet for processing {"connection_id":178523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:15:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":178523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:15:17] local.INFO: GPS data processed {"connection_id":178523,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:15:17] local.INFO: Acknowledgment sent {"connection_id":178523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:15:35] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:15:35] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:15:35] local.INFO: IMEI packet received {"connection_id":175712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":175712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:15:38] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:15:38] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:15:38] local.INFO: IMEI packet received {"connection_id":175713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":175713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:15:40] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:15:40] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:15:40] local.INFO: IMEI packet received {"connection_id":175712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":175712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:15:40] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:15:40] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:15:40] local.INFO: Packet analysis {"connection_id":175712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:15:40] local.INFO: Extracted packet for processing {"connection_id":175712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15: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-09-09 18:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 18:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:15:40] 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-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:15: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-09-09 18: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-09-09 18:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:15:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":175712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:15:40] local.INFO: GPS data processed {"connection_id":175712,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:15:40] local.INFO: Acknowledgment sent {"connection_id":175712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:15:43] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:15:43] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:15:43] local.INFO: IMEI packet received {"connection_id":175713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":175713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:15:45] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:15:45] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:15:45] local.INFO: Packet analysis {"connection_id":175712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:15:45] local.INFO: Extracted packet for processing {"connection_id":175712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 18:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:15:45] 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-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:15:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":175712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:15:45] local.INFO: GPS data processed {"connection_id":175712,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:15:45] local.INFO: Acknowledgment sent {"connection_id":175712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:15:45] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:15:45] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:15:45] local.INFO: Packet analysis {"connection_id":175713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:15:45] local.INFO: Extracted packet for processing {"connection_id":175713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":175713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:15:45] local.INFO: GPS data processed {"connection_id":175713,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:15:45] local.INFO: Acknowledgment sent {"connection_id":175713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:16:17] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:16:17] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:16:17] local.INFO: Packet analysis {"connection_id":175713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:16:17] local.INFO: Extracted packet for processing {"connection_id":175713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:16: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-09-09 18:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":175713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:16:17] local.INFO: GPS data processed {"connection_id":175713,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:16:17] local.INFO: Acknowledgment sent {"connection_id":175713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:16:30] local.INFO: TCP Data received {"connection_id":178525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:16:30] local.INFO: Processing buffer {"connection_id":178525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:16:30] local.INFO: IMEI packet received {"connection_id":178525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":178525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:16:35] local.INFO: TCP Data received {"connection_id":178525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:16:35] local.INFO: Processing buffer {"connection_id":178525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:16:35] local.INFO: IMEI packet received {"connection_id":178525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":178525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:16:35] local.INFO: TCP Data received {"connection_id":178525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:16:35] local.INFO: Processing buffer {"connection_id":178525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:16:35] local.INFO: Packet analysis {"connection_id":178525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:16:35] local.INFO: Extracted packet for processing {"connection_id":178525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:16: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-09-09 18:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 18:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:16: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-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:16:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":178525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:16:35] local.INFO: GPS data processed {"connection_id":178525,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:16:35] local.INFO: Acknowledgment sent {"connection_id":178525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:16:39] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:16:39] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:16:39] local.INFO: IMEI packet received {"connection_id":175940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":175940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:16:43] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:16:43] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:16:43] local.INFO: IMEI packet received {"connection_id":175940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":175940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:16:44] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:16:44] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:16:44] local.INFO: Packet analysis {"connection_id":175940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:16:44] local.INFO: Extracted packet for processing {"connection_id":175940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":175940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:16:44] local.INFO: GPS data processed {"connection_id":175940,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:16:44] local.INFO: Acknowledgment sent {"connection_id":175940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:17:06] local.INFO: TCP Data received {"connection_id":178525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:17:06] local.INFO: Processing buffer {"connection_id":178525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:17:06] local.INFO: Packet analysis {"connection_id":178525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:17:06] local.INFO: Extracted packet for processing {"connection_id":178525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17: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-09-09 18:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 18:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:17: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-09-09 18: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-09-09 18: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-09-09 18: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-09-09 18:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:17:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":178525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:17:06] local.INFO: GPS data processed {"connection_id":178525,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:17:06] local.INFO: Acknowledgment sent {"connection_id":178525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:17:17] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:17:17] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:17:17] local.INFO: Packet analysis {"connection_id":175940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:17:17] local.INFO: Extracted packet for processing {"connection_id":175940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":175940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:17:17] local.INFO: GPS data processed {"connection_id":175940,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:17:17] local.INFO: Acknowledgment sent {"connection_id":175940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:17:24] local.INFO: TCP Data received {"connection_id":175715,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:17:24] local.INFO: Processing buffer {"connection_id":175715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:17:24] local.INFO: IMEI packet received {"connection_id":175715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":175715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:17:25] local.INFO: TCP Data received {"connection_id":175715,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0863396b8012d7e360005d34e780004000029..."} 
[2026-09-09 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863396b8012d7e360005d34e780004000029..."} 
[2026-09-09 18:17:25] local.INFO: Processing buffer {"connection_id":175715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863396b8012d7e360005d34e780004000029..."} 
[2026-09-09 18:17:25] local.INFO: Packet analysis {"connection_id":175715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08633"} 
[2026-09-09 18:17:25] local.INFO: Extracted packet for processing {"connection_id":175715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08633"} 
[2026-09-09 18:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734264,"longitude_deg":76.324608,"latitude_deg":9.7734264,"altitude":4,"angle":0,"satellites":41,"speed":2,"hex_longitude":"2d7e3600","hex_latitude":"05d34e78","is_valid_coordinates":true} 
[2026-09-09 18:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973222656001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482579626262528,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957923000,"timestamp_ms":1788957923000,"timestamp_seconds":1788957923,"priority":1,"record_length":96,"hex_timestamp":"000001a0863396b8"} 
[2026-09-09 18:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 18:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973222656001,"66":13515,"109":206,"85":15104,"24":2,"16":130482579626262528,"45":9094949103750469632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973222656001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:17:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482579626262528,"km_value":130482579626262.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973222656001,"power":13515,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":175715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:17:25] local.INFO: GPS data processed {"connection_id":175715,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:17:25] local.INFO: Acknowledgment sent {"connection_id":175715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:17:30] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:17:30] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:17:30] local.INFO: IMEI packet received {"connection_id":175716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":175716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:17:35] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:17:35] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:17:35] local.INFO: IMEI packet received {"connection_id":175716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":175716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:17:35] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:17:35] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08630b470012d1826800721bc980049001b27..."} 
[2026-09-09 18:17:35] local.INFO: Packet analysis {"connection_id":175716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:17:35] local.INFO: Extracted packet for processing {"connection_id":175716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08630"} 
[2026-09-09 18:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973102848001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17: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-09-09 18:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788957734000,"timestamp_ms":1788957734000,"timestamp_seconds":1788957734,"priority":1,"record_length":96,"hex_timestamp":"000001a08630b470"} 
[2026-09-09 18:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:17: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-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:17: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-09-09 18:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973102848001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973102848001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:17:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973102848001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":175716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:17:35] local.INFO: GPS data processed {"connection_id":175716,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:17:35] local.INFO: Acknowledgment sent {"connection_id":175716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:17:38] local.INFO: TCP Data received {"connection_id":177119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:17:38] local.INFO: Processing buffer {"connection_id":177119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:17:38] local.INFO: IMEI packet received {"connection_id":177119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":177119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:17:43] local.INFO: TCP Data received {"connection_id":177119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:17:43] local.INFO: Processing buffer {"connection_id":177119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:17:43] local.INFO: IMEI packet received {"connection_id":177119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":177119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:17:44] local.INFO: TCP Data received {"connection_id":177119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:17:44] local.INFO: Processing buffer {"connection_id":177119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:17:44] local.INFO: Packet analysis {"connection_id":177119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:17:44] local.INFO: Extracted packet for processing {"connection_id":177119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":177119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:17:44] local.INFO: GPS data processed {"connection_id":177119,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:17:44] local.INFO: Acknowledgment sent {"connection_id":177119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:17:56] local.INFO: TCP Data received {"connection_id":175715,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08633b5f8012d7e35c005d34e800004009c29..."} 
[2026-09-09 18:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08633b5f8012d7e35c005d34e800004009c29..."} 
[2026-09-09 18:17:56] local.INFO: Processing buffer {"connection_id":175715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08633b5f8012d7e35c005d34e800004009c29..."} 
[2026-09-09 18:17:56] local.INFO: Packet analysis {"connection_id":175715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08633"} 
[2026-09-09 18:17:56] local.INFO: Extracted packet for processing {"connection_id":175715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08633"} 
[2026-09-09 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734272,"longitude_deg":76.3246016,"latitude_deg":9.7734272,"altitude":4,"angle":156,"satellites":41,"speed":1,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e80","is_valid_coordinates":true} 
[2026-09-09 18:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973228288001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482592511164416,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541266944,"note":"Value kept but may cause issues"} 
[2026-09-09 18:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788957931000,"timestamp_ms":1788957931000,"timestamp_seconds":1788957931,"priority":1,"record_length":96,"hex_timestamp":"000001a08633b5f8"} 
[2026-09-09 18:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 18:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973228288001,"66":13798,"109":206,"85":15104,"24":1,"16":130482592511164416,"45":9094456522541266944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973228288001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:17:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482592511164416,"km_value":130482592511164.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541266944,"description":"Unknown IO ID 45"} 
[2026-09-09 18:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973228288001,"power":13798,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9094456522541266944}} 
[2026-09-09 18:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":175715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:17:57] local.INFO: GPS data processed {"connection_id":175715,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:17:57] local.INFO: Acknowledgment sent {"connection_id":175715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:18:06] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:18:06] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:18:06] local.INFO: Packet analysis {"connection_id":175716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:18:06] local.INFO: Extracted packet for processing {"connection_id":175716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18: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-09-09 18:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 18:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:18: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-09-09 18:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:18: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-09-09 18:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:18:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":175716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:18:07] local.INFO: GPS data processed {"connection_id":175716,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:18:07] local.INFO: Acknowledgment sent {"connection_id":175716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:18:16] local.INFO: TCP Data received {"connection_id":177119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:18:16] local.INFO: Processing buffer {"connection_id":177119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:18:16] local.INFO: Packet analysis {"connection_id":177119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:18:16] local.INFO: Extracted packet for processing {"connection_id":177119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":177119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:18:16] local.INFO: GPS data processed {"connection_id":177119,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:18:16] local.INFO: Acknowledgment sent {"connection_id":177119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:18:19] local.INFO: TCP Data received {"connection_id":175941,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:18:19] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:18:19] local.INFO: IMEI packet received {"connection_id":175941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":175941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:18:24] local.INFO: TCP Data received {"connection_id":175941,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:18:24] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:18:24] local.INFO: IMEI packet received {"connection_id":175941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":175941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:18:25] local.INFO: TCP Data received {"connection_id":175941,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08633b9e0012d7e35c005d34e48000400ad29..."} 
[2026-09-09 18:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08633b9e0012d7e35c005d34e48000400ad29..."} 
[2026-09-09 18:18:25] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08633b9e0012d7e35c005d34e48000400ad29..."} 
[2026-09-09 18:18:25] local.INFO: Packet analysis {"connection_id":175941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08633"} 
[2026-09-09 18:18:25] local.INFO: Extracted packet for processing {"connection_id":175941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08633"} 
[2026-09-09 18:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734216,"longitude_deg":76.3246016,"latitude_deg":9.7734216,"altitude":4,"angle":173,"satellites":41,"speed":1,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-09-09 18:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973230336001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482592511164416,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797091328,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957932000,"timestamp_ms":1788957932000,"timestamp_seconds":1788957932,"priority":1,"record_length":96,"hex_timestamp":"000001a08633b9e0"} 
[2026-09-09 18:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 18:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973230336001,"66":13798,"109":206,"85":15104,"24":1,"16":130482592511164416,"45":9094386153797091328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973230336001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:18:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482592511164416,"km_value":130482592511164.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797091328,"description":"Unknown IO ID 45"} 
[2026-09-09 18:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973230336001,"power":13798,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9094386153797091328}} 
[2026-09-09 18:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":175941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:18:25] local.INFO: GPS data processed {"connection_id":175941,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:18:25] local.INFO: Acknowledgment sent {"connection_id":175941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:18:29] local.INFO: TCP Data received {"connection_id":178527,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:18:29] local.INFO: Processing buffer {"connection_id":178527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:18:29] local.INFO: IMEI packet received {"connection_id":178527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":178527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:18:35] local.INFO: TCP Data received {"connection_id":178527,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:18:35] local.INFO: Processing buffer {"connection_id":178527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:18:35] local.INFO: IMEI packet received {"connection_id":178527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":178527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:18:35] local.INFO: TCP Data received {"connection_id":178527,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:18:35] local.INFO: Processing buffer {"connection_id":178527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:18:35] local.INFO: Packet analysis {"connection_id":178527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:18:35] local.INFO: Extracted packet for processing {"connection_id":178527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 18:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:18:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":178527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:18:36] local.INFO: GPS data processed {"connection_id":178527,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:18:36] local.INFO: Acknowledgment sent {"connection_id":178527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:18:38] local.INFO: TCP Data received {"connection_id":178528,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:18:38] local.INFO: Processing buffer {"connection_id":178528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:18:38] local.INFO: IMEI packet received {"connection_id":178528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":178528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:18:43] local.INFO: TCP Data received {"connection_id":178528,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:18:43] local.INFO: Processing buffer {"connection_id":178528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:18:43] local.INFO: IMEI packet received {"connection_id":178528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":178528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:18:44] local.INFO: TCP Data received {"connection_id":178528,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:18:44] local.INFO: Processing buffer {"connection_id":178528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08631b640012d34cc4006aa49080000013427..."} 
[2026-09-09 18:18:44] local.INFO: Packet analysis {"connection_id":178528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:18:44] local.INFO: Extracted packet for processing {"connection_id":178528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08631"} 
[2026-09-09 18:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973119744001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788957800000,"timestamp_ms":1788957800000,"timestamp_seconds":1788957800,"priority":1,"record_length":96,"hex_timestamp":"000001a08631b640"} 
[2026-09-09 18:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:18: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-09-09 18:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973119744001,"66":25604,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973119744001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973119744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":178528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:18:44] local.INFO: GPS data processed {"connection_id":178528,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:18:44] local.INFO: Acknowledgment sent {"connection_id":178528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:18:56] local.INFO: TCP Data received {"connection_id":175941,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a086340800012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086340800012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:18:56] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086340800012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:18:56] local.INFO: Packet analysis {"connection_id":175941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:18:56] local.INFO: Extracted packet for processing {"connection_id":175941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734088,"longitude_deg":76.3246016,"latitude_deg":9.7734088,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-09-09 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973230592001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797076992,"note":"Value kept but may cause issues"} 
[2026-09-09 18:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788957952000,"timestamp_ms":1788957952000,"timestamp_seconds":1788957952,"priority":1,"record_length":96,"hex_timestamp":"000001a086340800"} 
[2026-09-09 18:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-09 18:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973230592001,"66":13602,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797076992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973230592001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:18:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797076992,"description":"Unknown IO ID 45"} 
[2026-09-09 18:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973230592001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797076992}} 
[2026-09-09 18:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":175941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:18:56] local.INFO: GPS data processed {"connection_id":175941,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:18:56] local.INFO: Acknowledgment sent {"connection_id":175941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:19:07] local.INFO: TCP Data received {"connection_id":178527,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:19:07] local.INFO: Processing buffer {"connection_id":178527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:19:07] local.INFO: Packet analysis {"connection_id":178527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:19:07] local.INFO: Extracted packet for processing {"connection_id":178527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 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-09-09 18:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:19: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-09-09 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-09-09 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-09-09 18:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:19:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":178527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:19:07] local.INFO: GPS data processed {"connection_id":178527,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:19:07] local.INFO: Acknowledgment sent {"connection_id":178527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:19:15] local.INFO: TCP Data received {"connection_id":178528,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:19:15] local.INFO: Processing buffer {"connection_id":178528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:19:15] local.INFO: Packet analysis {"connection_id":178528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:19:15] local.INFO: Extracted packet for processing {"connection_id":178528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":178528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:19:15] local.INFO: GPS data processed {"connection_id":178528,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:19:15] local.INFO: Acknowledgment sent {"connection_id":178528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:19:16] local.INFO: TCP Data received {"connection_id":175942,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:19:16] local.INFO: Processing buffer {"connection_id":175942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:19:16] local.INFO: IMEI packet received {"connection_id":175942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":175942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:19:19] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:19:19] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:19:19] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:19:24] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:19:24] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:19:24] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:19:25] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a086340800012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086340800012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:19:25] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086340800012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:19:25] local.INFO: Packet analysis {"connection_id":175717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:19:25] local.INFO: Extracted packet for processing {"connection_id":175717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734088,"longitude_deg":76.3246016,"latitude_deg":9.7734088,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-09-09 18:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973235712001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957952000,"timestamp_ms":1788957952000,"timestamp_seconds":1788957952,"priority":1,"record_length":96,"hex_timestamp":"000001a086340800"} 
[2026-09-09 18:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 18:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 18:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973235712001,"66":13602,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973235712001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:19:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973235712001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":175717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:19:25] local.INFO: GPS data processed {"connection_id":175717,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:19:25] local.INFO: Acknowledgment sent {"connection_id":175717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:19:35] local.INFO: TCP Data received {"connection_id":177120,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:19:35] local.INFO: Processing buffer {"connection_id":177120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:19:35] local.INFO: IMEI packet received {"connection_id":177120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":177120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:19:38] local.INFO: TCP Data received {"connection_id":178529,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:19:38] local.INFO: Processing buffer {"connection_id":178529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:19:38] local.INFO: IMEI packet received {"connection_id":178529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":178529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:19:40] local.INFO: TCP Data received {"connection_id":177120,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:19:40] local.INFO: Processing buffer {"connection_id":177120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:19:40] local.INFO: IMEI packet received {"connection_id":177120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":177120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:19:40] local.INFO: TCP Data received {"connection_id":177120,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:19:40] local.INFO: Processing buffer {"connection_id":177120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:19:40] local.INFO: Packet analysis {"connection_id":177120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:19:40] local.INFO: Extracted packet for processing {"connection_id":177120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19: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-09-09 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 18:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:19:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":177120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:19:40] local.INFO: GPS data processed {"connection_id":177120,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:19:40] local.INFO: Acknowledgment sent {"connection_id":177120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:19:41] local.INFO: TCP Data received {"connection_id":177121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:19:41] local.INFO: Processing buffer {"connection_id":177121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:19:41] local.INFO: IMEI packet received {"connection_id":177121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":177121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:19:43] local.INFO: TCP Data received {"connection_id":178529,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:19:43] local.INFO: Processing buffer {"connection_id":178529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:19:43] local.INFO: IMEI packet received {"connection_id":178529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":178529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:19:45] local.INFO: TCP Data received {"connection_id":178529,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:19:45] local.INFO: Processing buffer {"connection_id":178529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:19:45] local.INFO: Packet analysis {"connection_id":178529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:19:45] local.INFO: Extracted packet for processing {"connection_id":178529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:19:45] local.INFO: TCP Data received {"connection_id":177120,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:19:45] local.INFO: Processing buffer {"connection_id":177120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":178529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:19:45] local.INFO: Packet analysis {"connection_id":177120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:19:45] local.INFO: GPS data processed {"connection_id":178529,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:19:45] local.INFO: Extracted packet for processing {"connection_id":177120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:19:45] local.INFO: Acknowledgment sent {"connection_id":178529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 18:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:19: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-09-09 18:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:19:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":177120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:19:45] local.INFO: GPS data processed {"connection_id":177120,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:19:45] local.INFO: Acknowledgment sent {"connection_id":177120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:19:57] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a086340800012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086340800012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:19:57] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086340800012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:19:57] local.INFO: Packet analysis {"connection_id":175717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:19:57] local.INFO: Extracted packet for processing {"connection_id":175717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734088,"longitude_deg":76.3246016,"latitude_deg":9.7734088,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-09-09 18:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973235712001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788957952000,"timestamp_ms":1788957952000,"timestamp_seconds":1788957952,"priority":1,"record_length":96,"hex_timestamp":"000001a086340800"} 
[2026-09-09 18:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 18:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973235712001,"66":13602,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973235712001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:19:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973235712001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":175717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:19:57] local.INFO: GPS data processed {"connection_id":175717,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:19:57] local.INFO: Acknowledgment sent {"connection_id":175717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:20:17] local.INFO: TCP Data received {"connection_id":178529,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:20:17] local.INFO: Processing buffer {"connection_id":178529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:20:17] local.INFO: Packet analysis {"connection_id":178529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:20:17] local.INFO: Extracted packet for processing {"connection_id":178529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":178529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:20:17] local.INFO: GPS data processed {"connection_id":178529,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:20:17] local.INFO: Acknowledgment sent {"connection_id":178529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:20:19] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:20:19] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:20:19] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:20:24] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:20:24] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:20:24] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:20:25] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a086340fd0012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086340fd0012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:20:25] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086340fd0012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:20:25] local.INFO: Packet analysis {"connection_id":175943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:20:25] local.INFO: Extracted packet for processing {"connection_id":175943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734088,"longitude_deg":76.3246016,"latitude_deg":9.7734088,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-09-09 18:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973235712001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788957954000,"timestamp_ms":1788957954000,"timestamp_seconds":1788957954,"priority":1,"record_length":96,"hex_timestamp":"000001a086340fd0"} 
[2026-09-09 18:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-09 18:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973235712001,"66":14080,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973235712001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:20:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973235712001,"power":14080,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":175943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:20:25] local.INFO: GPS data processed {"connection_id":175943,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:20:25] local.INFO: Acknowledgment sent {"connection_id":175943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:20:30] local.INFO: TCP Data received {"connection_id":178530,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:20:30] local.INFO: Processing buffer {"connection_id":178530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:20:30] local.INFO: IMEI packet received {"connection_id":178530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":178530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:20:35] local.INFO: TCP Data received {"connection_id":178530,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:20:35] local.INFO: Processing buffer {"connection_id":178530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:20:35] local.INFO: IMEI packet received {"connection_id":178530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":178530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:20:35] local.INFO: TCP Data received {"connection_id":178530,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:20:35] local.INFO: Processing buffer {"connection_id":178530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:20:35] local.INFO: Packet analysis {"connection_id":178530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:20:35] local.INFO: Extracted packet for processing {"connection_id":178530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 18:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:20:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":178530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:20:35] local.INFO: GPS data processed {"connection_id":178530,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:20:35] local.INFO: Acknowledgment sent {"connection_id":178530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:20:38] local.INFO: TCP Data received {"connection_id":178531,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:20:38] local.INFO: Processing buffer {"connection_id":178531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:20:38] local.INFO: IMEI packet received {"connection_id":178531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":178531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:20:43] local.INFO: TCP Data received {"connection_id":178531,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:20:43] local.INFO: Processing buffer {"connection_id":178531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:20:43] local.INFO: IMEI packet received {"connection_id":178531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":178531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:20:44] local.INFO: TCP Data received {"connection_id":178531,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:20:44] local.INFO: Processing buffer {"connection_id":178531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:20:44] local.INFO: Packet analysis {"connection_id":178531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:20:44] local.INFO: Extracted packet for processing {"connection_id":178531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":178531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:20:44] local.INFO: GPS data processed {"connection_id":178531,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:20:44] local.INFO: Acknowledgment sent {"connection_id":178531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:20:56] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a086340fd0012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086340fd0012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:20:56] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086340fd0012d7e35c005d34dc8000400af29..."} 
[2026-09-09 18:20:56] local.INFO: Packet analysis {"connection_id":175943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:20:56] local.INFO: Extracted packet for processing {"connection_id":175943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08634"} 
[2026-09-09 18:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734088,"longitude_deg":76.3246016,"latitude_deg":9.7734088,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-09-09 18:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788957954000,"timestamp_ms":1788957954000,"timestamp_seconds":1788957954,"priority":1,"record_length":96,"hex_timestamp":"000001a086340fd0"} 
[2026-09-09 18:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251527864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545135104,"note":"Value kept but may cause issues"} 
[2026-09-09 18:20:56] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,109,85,24,241,157,16,145,160,8,45,192,77,4,41,10,66,1,240,34,227,134,211,113,205,181,53,128,239,2,207,5],"length":479,"final_offset":609,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:20:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231711,"timestamp_seconds":288422966780231.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":14080,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:20:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":14080,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":175943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:20:56] local.INFO: GPS data processed {"connection_id":175943,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:20:56] local.INFO: Acknowledgment sent {"connection_id":175943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:21:07] local.INFO: TCP Data received {"connection_id":178530,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:21:07] local.INFO: Processing buffer {"connection_id":178530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:21:07] local.INFO: Packet analysis {"connection_id":178530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:21:07] local.INFO: Extracted packet for processing {"connection_id":178530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 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-09-09 18:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:21: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-09-09 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-09-09 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-09-09 18:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":178530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:21:07] local.INFO: GPS data processed {"connection_id":178530,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:21:07] local.INFO: Acknowledgment sent {"connection_id":178530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:21:16] local.INFO: TCP Data received {"connection_id":178531,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:21:16] local.INFO: Processing buffer {"connection_id":178531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:21:16] local.INFO: Packet analysis {"connection_id":178531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:21:16] local.INFO: Extracted packet for processing {"connection_id":178531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":178531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:21:16] local.INFO: GPS data processed {"connection_id":178531,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:21:16] local.INFO: Acknowledgment sent {"connection_id":178531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:21:29] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:21:29] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:21:29] local.INFO: IMEI packet received {"connection_id":177122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":177122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:21:34] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:21:34] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:21:34] local.INFO: IMEI packet received {"connection_id":177122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":177122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:21:35] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:21:35] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:21:35] local.INFO: Packet analysis {"connection_id":177122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:21:35] local.INFO: Extracted packet for processing {"connection_id":177122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 18:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:21:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":177122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:21:35] local.INFO: GPS data processed {"connection_id":177122,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:21:35] local.INFO: Acknowledgment sent {"connection_id":177122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:21:38] local.INFO: TCP Data received {"connection_id":177123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:21:38] local.INFO: Processing buffer {"connection_id":177123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:21:38] local.INFO: IMEI packet received {"connection_id":177123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":177123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:21:43] local.INFO: TCP Data received {"connection_id":177123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:21:43] local.INFO: Processing buffer {"connection_id":177123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:21:43] local.INFO: IMEI packet received {"connection_id":177123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":177123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:21:44] local.INFO: TCP Data received {"connection_id":177123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:21:44] local.INFO: Processing buffer {"connection_id":177123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:21:44] local.INFO: Packet analysis {"connection_id":177123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:21:44] local.INFO: Extracted packet for processing {"connection_id":177123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":177123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:21:44] local.INFO: GPS data processed {"connection_id":177123,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:21:44] local.INFO: Acknowledgment sent {"connection_id":177123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:21:55] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:21:55] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:21:55] local.INFO: IMEI packet received {"connection_id":175944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":175944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:21:59] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:21:59] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:21:59] local.INFO: IMEI packet received {"connection_id":175944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":175944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:22:00] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:22:00] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:22:00] local.INFO: Packet analysis {"connection_id":175944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:22:00] local.INFO: Extracted packet for processing {"connection_id":175944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:00] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:22:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:22:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":175944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:22:00] local.INFO: GPS data processed {"connection_id":175944,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:22:00] local.INFO: Acknowledgment sent {"connection_id":175944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:22:06] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:22:06] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:22:06] local.INFO: Packet analysis {"connection_id":177122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:22:06] local.INFO: Extracted packet for processing {"connection_id":177122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 18:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:22: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-09-09 18: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-09-09 18:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:22:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":177122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:22:06] local.INFO: GPS data processed {"connection_id":177122,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:22:06] local.INFO: Acknowledgment sent {"connection_id":177122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:22:15] local.INFO: TCP Data received {"connection_id":177123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:22:15] local.INFO: Processing buffer {"connection_id":177123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:22:15] local.INFO: Packet analysis {"connection_id":177123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:22:15] local.INFO: Extracted packet for processing {"connection_id":177123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":177123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:22:15] local.INFO: GPS data processed {"connection_id":177123,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:22:15] local.INFO: Acknowledgment sent {"connection_id":177123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:22:19] local.INFO: TCP Data received {"connection_id":177124,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:22:19] local.INFO: Processing buffer {"connection_id":177124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:22:19] local.INFO: IMEI packet received {"connection_id":177124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":177124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:22:24] local.INFO: TCP Data received {"connection_id":177124,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:22:24] local.INFO: Processing buffer {"connection_id":177124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:22:24] local.INFO: IMEI packet received {"connection_id":177124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":177124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:22:29] local.INFO: TCP Data received {"connection_id":177124,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:22:29] local.INFO: Processing buffer {"connection_id":177124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:22:29] local.INFO: IMEI packet received {"connection_id":177124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":177124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:22:29] local.INFO: TCP Data received {"connection_id":178532,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:22:29] local.INFO: Processing buffer {"connection_id":178532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:22:29] local.INFO: IMEI packet received {"connection_id":178532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":178532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:22:30] local.INFO: TCP Data received {"connection_id":177124,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:22:30] local.INFO: Processing buffer {"connection_id":177124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:22:30] local.INFO: Packet analysis {"connection_id":177124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:22:30] local.INFO: Extracted packet for processing {"connection_id":177124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:30] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:22:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:22:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":177124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:22:30] local.INFO: GPS data processed {"connection_id":177124,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:22:30] local.INFO: Acknowledgment sent {"connection_id":177124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:22:34] local.INFO: TCP Data received {"connection_id":177124,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:22:34] local.INFO: Processing buffer {"connection_id":177124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:22:34] local.INFO: Packet analysis {"connection_id":177124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:22:34] local.INFO: Extracted packet for processing {"connection_id":177124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:22: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-09-09 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:34] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:22:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:22:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:22:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":177124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:22:34] local.INFO: GPS data processed {"connection_id":177124,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:22:34] local.INFO: Acknowledgment sent {"connection_id":177124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:22:34] local.INFO: TCP Data received {"connection_id":178532,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:22:34] local.INFO: Processing buffer {"connection_id":178532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:22:34] local.INFO: IMEI packet received {"connection_id":178532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":178532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:22:35] local.INFO: TCP Data received {"connection_id":178532,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:22:35] local.INFO: Processing buffer {"connection_id":178532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086354c38012d1826800721bc980049001b27..."} 
[2026-09-09 18:22:35] local.INFO: Packet analysis {"connection_id":178532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:22:35] local.INFO: Extracted packet for processing {"connection_id":178532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08635"} 
[2026-09-09 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973179904001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958035000,"timestamp_ms":1788958035000,"timestamp_seconds":1788958035,"priority":1,"record_length":96,"hex_timestamp":"000001a086354c38"} 
[2026-09-09 18:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 18:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973179904001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973179904001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:22:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973179904001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":178532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:22:35] local.INFO: GPS data processed {"connection_id":178532,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:22:35] local.INFO: Acknowledgment sent {"connection_id":178532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:22:38] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:22:38] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:22:38] local.INFO: IMEI packet received {"connection_id":175945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":175945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:22:43] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:22:43] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:22:43] local.INFO: IMEI packet received {"connection_id":175945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":175945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:22:44] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:22:44] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:22:44] local.INFO: Packet analysis {"connection_id":175945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:22:44] local.INFO: Extracted packet for processing {"connection_id":175945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":175945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:22:44] local.INFO: GPS data processed {"connection_id":175945,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:22:44] local.INFO: Acknowledgment sent {"connection_id":175945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:23:06] local.INFO: TCP Data received {"connection_id":178532,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:23:06] local.INFO: Processing buffer {"connection_id":178532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:23:06] local.INFO: Packet analysis {"connection_id":178532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:06] local.INFO: Extracted packet for processing {"connection_id":178532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 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-09-09 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:23:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":178532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:23:06] local.INFO: GPS data processed {"connection_id":178532,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:23:06] local.INFO: Acknowledgment sent {"connection_id":178532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:23:15] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:23:15] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:23:15] local.INFO: Packet analysis {"connection_id":175945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:23:15] local.INFO: Extracted packet for processing {"connection_id":175945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":175945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:23:15] local.INFO: GPS data processed {"connection_id":175945,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:23:15] local.INFO: Acknowledgment sent {"connection_id":175945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:23:19] local.INFO: TCP Data received {"connection_id":175720,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:23:19] local.INFO: Processing buffer {"connection_id":175720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:23:19] local.INFO: IMEI packet received {"connection_id":175720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":175720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:23:24] local.INFO: TCP Data received {"connection_id":175720,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:23:24] local.INFO: Processing buffer {"connection_id":175720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:23:24] local.INFO: IMEI packet received {"connection_id":175720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":175720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:23:25] local.INFO: TCP Data received {"connection_id":175720,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:23:25] local.INFO: Processing buffer {"connection_id":175720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:23:25] local.INFO: Packet analysis {"connection_id":175720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:25] local.INFO: Extracted packet for processing {"connection_id":175720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:25] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:23:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:23:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":175720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:23:25] local.INFO: GPS data processed {"connection_id":175720,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:23:25] local.INFO: Acknowledgment sent {"connection_id":175720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:23:34] local.INFO: TCP Data received {"connection_id":175721,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:23:34] local.INFO: Processing buffer {"connection_id":175721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:23:34] local.INFO: IMEI packet received {"connection_id":175721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":175721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:23:38] local.INFO: TCP Data received {"connection_id":175946,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:23:38] local.INFO: Processing buffer {"connection_id":175946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:23:38] local.INFO: IMEI packet received {"connection_id":175946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":175946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:23:39] local.INFO: TCP Data received {"connection_id":175721,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:23:39] local.INFO: Processing buffer {"connection_id":175721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:23:39] local.INFO: IMEI packet received {"connection_id":175721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":175721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:23:40] local.INFO: TCP Data received {"connection_id":175721,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:23:40] local.INFO: Processing buffer {"connection_id":175721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:23:40] local.INFO: Packet analysis {"connection_id":175721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:40] local.INFO: Extracted packet for processing {"connection_id":175721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23: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-09-09 18:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 18:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:23: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-09-09 18:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:23:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":175721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:23:40] local.INFO: GPS data processed {"connection_id":175721,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:23:40] local.INFO: Acknowledgment sent {"connection_id":175721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:23:43] local.INFO: TCP Data received {"connection_id":175946,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:23:43] local.INFO: Processing buffer {"connection_id":175946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:23:43] local.INFO: IMEI packet received {"connection_id":175946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":175946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:23:45] local.INFO: TCP Data received {"connection_id":175946,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:23:45] local.INFO: Processing buffer {"connection_id":175946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086364e08012d34cc4006aa49080000013428..."} 
[2026-09-09 18:23:45] local.INFO: Packet analysis {"connection_id":175946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:23:45] local.INFO: Extracted packet for processing {"connection_id":175946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08636"} 
[2026-09-09 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973196800001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788958101000,"timestamp_ms":1788958101000,"timestamp_seconds":1788958101,"priority":1,"record_length":96,"hex_timestamp":"000001a086364e08"} 
[2026-09-09 18:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 18:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973196800001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973196800001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":175946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:23:45] local.INFO: GPS data processed {"connection_id":175946,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:23:45] local.INFO: Acknowledgment sent {"connection_id":175946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:23:45] local.INFO: TCP Data received {"connection_id":175721,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:23:45] local.INFO: Processing buffer {"connection_id":175721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:23:45] local.INFO: Packet analysis {"connection_id":175721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:45] local.INFO: Extracted packet for processing {"connection_id":175721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 18:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:23: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-09-09 18:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:23:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":175721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:23:45] local.INFO: GPS data processed {"connection_id":175721,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:23:45] local.INFO: Acknowledgment sent {"connection_id":175721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:23:56] local.INFO: TCP Data received {"connection_id":175720,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:23:56] local.INFO: Processing buffer {"connection_id":175720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:23:56] local.INFO: Packet analysis {"connection_id":175720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:56] local.INFO: Extracted packet for processing {"connection_id":175720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:23: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-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:23:56] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:23:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:23:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":175720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:23:56] local.INFO: GPS data processed {"connection_id":175720,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:23:56] local.INFO: Acknowledgment sent {"connection_id":175720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:24:16] local.INFO: TCP Data received {"connection_id":175946,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:24:16] local.INFO: Processing buffer {"connection_id":175946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:24:16] local.INFO: Packet analysis {"connection_id":175946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:24:16] local.INFO: Extracted packet for processing {"connection_id":175946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":175946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:24:16] local.INFO: GPS data processed {"connection_id":175946,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:24:16] local.INFO: Acknowledgment sent {"connection_id":175946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:24:19] local.INFO: TCP Data received {"connection_id":178533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:24:19] local.INFO: Processing buffer {"connection_id":178533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:24:19] local.INFO: IMEI packet received {"connection_id":178533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":178533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:24:24] local.INFO: TCP Data received {"connection_id":178533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:24:24] local.INFO: Processing buffer {"connection_id":178533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:24:24] local.INFO: IMEI packet received {"connection_id":178533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":178533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:24:25] local.INFO: TCP Data received {"connection_id":178533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:24:25] local.INFO: Processing buffer {"connection_id":178533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:24:25] local.INFO: Packet analysis {"connection_id":178533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:24:25] local.INFO: Extracted packet for processing {"connection_id":178533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:25] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:24:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:24:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":178533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:24:25] local.INFO: GPS data processed {"connection_id":178533,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:24:25] local.INFO: Acknowledgment sent {"connection_id":178533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:24:30] local.INFO: TCP Data received {"connection_id":178534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:24:30] local.INFO: Processing buffer {"connection_id":178534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:24:30] local.INFO: IMEI packet received {"connection_id":178534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":178534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:24:35] local.INFO: TCP Data received {"connection_id":178534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:24:35] local.INFO: Processing buffer {"connection_id":178534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:24:35] local.INFO: IMEI packet received {"connection_id":178534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":178534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:24:35] local.INFO: TCP Data received {"connection_id":178534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:24:35] local.INFO: Processing buffer {"connection_id":178534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:24:35] local.INFO: Packet analysis {"connection_id":178534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:24:35] local.INFO: Extracted packet for processing {"connection_id":178534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 18:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:24:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":178534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:24:35] local.INFO: GPS data processed {"connection_id":178534,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:24:35] local.INFO: Acknowledgment sent {"connection_id":178534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:24:38] local.INFO: TCP Data received {"connection_id":177125,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:24:38] local.INFO: Processing buffer {"connection_id":177125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:24:38] local.INFO: IMEI packet received {"connection_id":177125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":177125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:24:43] local.INFO: TCP Data received {"connection_id":177125,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:24:43] local.INFO: Processing buffer {"connection_id":177125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:24:43] local.INFO: IMEI packet received {"connection_id":177125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":177125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:24:44] local.INFO: TCP Data received {"connection_id":177125,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:24:44] local.INFO: Processing buffer {"connection_id":177125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:24:44] local.INFO: Packet analysis {"connection_id":177125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:24:44] local.INFO: Extracted packet for processing {"connection_id":177125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":177125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:24:44] local.INFO: GPS data processed {"connection_id":177125,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:24:44] local.INFO: Acknowledgment sent {"connection_id":177125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:24:51] local.INFO: TCP Data received {"connection_id":178535,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:24:51] local.INFO: Processing buffer {"connection_id":178535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:24:51] local.INFO: IMEI packet received {"connection_id":178535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":178535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:24:56] local.INFO: TCP Data received {"connection_id":178533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:24:56] local.INFO: Processing buffer {"connection_id":178533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:24:56] local.INFO: Packet analysis {"connection_id":178533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:24:56] local.INFO: Extracted packet for processing {"connection_id":178533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:24:56] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:24:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:24:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":178533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:24:56] local.INFO: GPS data processed {"connection_id":178533,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:24:56] local.INFO: Acknowledgment sent {"connection_id":178533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:25:06] local.INFO: TCP Data received {"connection_id":178534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:25:06] local.INFO: Processing buffer {"connection_id":178534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:25:06] local.INFO: Packet analysis {"connection_id":178534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:25:06] local.INFO: Extracted packet for processing {"connection_id":178534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 18:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:25: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-09-09 18:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:25: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-09-09 18:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":178534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:25:07] local.INFO: GPS data processed {"connection_id":178534,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:25:07] local.INFO: Acknowledgment sent {"connection_id":178534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:25:16] local.INFO: TCP Data received {"connection_id":177125,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:25:16] local.INFO: Processing buffer {"connection_id":177125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:25:16] local.INFO: Packet analysis {"connection_id":177125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:25:16] local.INFO: Extracted packet for processing {"connection_id":177125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":177125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:25:16] local.INFO: GPS data processed {"connection_id":177125,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:25:16] local.INFO: Acknowledgment sent {"connection_id":177125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:25:19] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:25:19] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:25:19] local.INFO: IMEI packet received {"connection_id":175723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":175723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:25:24] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:25:24] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:25:24] local.INFO: IMEI packet received {"connection_id":175723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":175723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:25:25] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:25:25] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:25:25] local.INFO: Packet analysis {"connection_id":175723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:25:25] local.INFO: Extracted packet for processing {"connection_id":175723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:25] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:25:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:25:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":175723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:25:25] local.INFO: GPS data processed {"connection_id":175723,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:25:25] local.INFO: Acknowledgment sent {"connection_id":175723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:25:30] local.INFO: TCP Data received {"connection_id":178536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:25:30] local.INFO: Processing buffer {"connection_id":178536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:25:30] local.INFO: IMEI packet received {"connection_id":178536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":178536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:25:34] local.INFO: TCP Data received {"connection_id":178536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:25:35] local.INFO: Processing buffer {"connection_id":178536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:25:35] local.INFO: IMEI packet received {"connection_id":178536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":178536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:25:35] local.INFO: TCP Data received {"connection_id":178536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:25:35] local.INFO: Processing buffer {"connection_id":178536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:25:35] local.INFO: Packet analysis {"connection_id":178536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:25:35] local.INFO: Extracted packet for processing {"connection_id":178536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 18:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:25:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":178536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:25:35] local.INFO: GPS data processed {"connection_id":178536,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:25:35] local.INFO: Acknowledgment sent {"connection_id":178536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:25:38] local.INFO: TCP Data received {"connection_id":175947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:25:38] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:25:38] local.INFO: IMEI packet received {"connection_id":175947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":175947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:25:43] local.INFO: TCP Data received {"connection_id":175947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:25:43] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:25:43] local.INFO: IMEI packet received {"connection_id":175947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":175947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:25:45] local.INFO: TCP Data received {"connection_id":175947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:25:45] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:25:45] local.INFO: Packet analysis {"connection_id":175947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:25:45] local.INFO: Extracted packet for processing {"connection_id":175947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:25:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":175947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:25:45] local.INFO: GPS data processed {"connection_id":175947,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:25:45] local.INFO: Acknowledgment sent {"connection_id":175947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:25:56] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:25:56] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:25:56] local.INFO: Packet analysis {"connection_id":175723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:25:56] local.INFO: Extracted packet for processing {"connection_id":175723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:25:56] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:25:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:25:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":175723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:25:56] local.INFO: GPS data processed {"connection_id":175723,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:25:56] local.INFO: Acknowledgment sent {"connection_id":175723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:26:07] local.INFO: TCP Data received {"connection_id":178536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:26:07] local.INFO: Processing buffer {"connection_id":178536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:26:07] local.INFO: Packet analysis {"connection_id":178536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:26:07] local.INFO: Extracted packet for processing {"connection_id":178536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 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-09-09 18:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:26: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-09-09 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-09-09 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-09-09 18:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:26:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":178536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:26:07] local.INFO: GPS data processed {"connection_id":178536,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:26:07] local.INFO: Acknowledgment sent {"connection_id":178536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:26:18] local.INFO: TCP Data received {"connection_id":175947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:26:18] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:26:18] local.INFO: Packet analysis {"connection_id":175947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:26:18] local.INFO: Extracted packet for processing {"connection_id":175947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:26:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":175947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:26:18] local.INFO: GPS data processed {"connection_id":175947,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:26:18] local.INFO: Acknowledgment sent {"connection_id":175947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:26:19] local.INFO: TCP Data received {"connection_id":177126,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:26:19] local.INFO: Processing buffer {"connection_id":177126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:26:19] local.INFO: IMEI packet received {"connection_id":177126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":177126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:26:24] local.INFO: TCP Data received {"connection_id":177126,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:26:24] local.INFO: Processing buffer {"connection_id":177126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:26:24] local.INFO: IMEI packet received {"connection_id":177126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":177126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:26:25] local.INFO: TCP Data received {"connection_id":177126,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:26:25] local.INFO: Processing buffer {"connection_id":177126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:26:25] local.INFO: Packet analysis {"connection_id":177126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:26:25] local.INFO: Extracted packet for processing {"connection_id":177126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:25] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:26:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:26:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":177126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:26:25] local.INFO: GPS data processed {"connection_id":177126,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:26:25] local.INFO: Acknowledgment sent {"connection_id":177126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:26:29] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:26:29] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:26:29] local.INFO: IMEI packet received {"connection_id":175949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":175949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:26:35] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:26:35] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:26:35] local.INFO: IMEI packet received {"connection_id":175949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":175949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:26:35] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:26:35] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:26:35] local.INFO: Packet analysis {"connection_id":175949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:26:35] local.INFO: Extracted packet for processing {"connection_id":175949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 18:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:26:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":175949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:26:35] local.INFO: GPS data processed {"connection_id":175949,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:26:35] local.INFO: Acknowledgment sent {"connection_id":175949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:26:38] local.INFO: TCP Data received {"connection_id":177127,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:26:38] local.INFO: Processing buffer {"connection_id":177127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:26:38] local.INFO: IMEI packet received {"connection_id":177127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":177127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:26:43] local.INFO: TCP Data received {"connection_id":177127,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:26:43] local.INFO: Processing buffer {"connection_id":177127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:26:43] local.INFO: IMEI packet received {"connection_id":177127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":177127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:26:44] local.INFO: TCP Data received {"connection_id":177127,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:26:44] local.INFO: Processing buffer {"connection_id":177127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:26:44] local.INFO: Packet analysis {"connection_id":177127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:26:44] local.INFO: Extracted packet for processing {"connection_id":177127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":177127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:26:44] local.INFO: GPS data processed {"connection_id":177127,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:26:44] local.INFO: Acknowledgment sent {"connection_id":177127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:26:56] local.INFO: TCP Data received {"connection_id":177126,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:26:56] local.INFO: Processing buffer {"connection_id":177126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086399db0012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:26:56] local.INFO: Packet analysis {"connection_id":177126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:26:56] local.INFO: Extracted packet for processing {"connection_id":177126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973236224001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797044224,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788958318000,"timestamp_ms":1788958318000,"timestamp_seconds":1788958318,"priority":1,"record_length":96,"hex_timestamp":"000001a086399db0"} 
[2026-09-09 18:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444403456,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2251535864,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2436497408,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545137152,"note":"Value kept but may cause issues"} 
[2026-09-09 18:26:56] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,145,160,15,45,192,77,4,41,10,66,8,240,34,227,134,211,113,205,185,53,72,239,1,2,207,5],"length":479,"final_offset":609,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-09 18:26:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288422966780231746,"timestamp_seconds":288422966780231.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 18:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973236224001,"66":2514,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094386153797044224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973236224001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:26:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797044224,"description":"Unknown IO ID 45"} 
[2026-09-09 18:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973236224001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797044224}} 
[2026-09-09 18:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":177126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:26:56] local.INFO: GPS data processed {"connection_id":177126,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:26:56] local.INFO: Acknowledgment sent {"connection_id":177126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:27:07] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:27:07] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:27:07] local.INFO: Packet analysis {"connection_id":175949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:27:07] local.INFO: Extracted packet for processing {"connection_id":175949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 18:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18: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-09-09 18: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-09-09 18:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:27:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":175949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:27:07] local.INFO: GPS data processed {"connection_id":175949,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:27:07] local.INFO: Acknowledgment sent {"connection_id":175949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:27:16] local.INFO: TCP Data received {"connection_id":177127,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:27:16] local.INFO: Processing buffer {"connection_id":177127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:27:16] local.INFO: Packet analysis {"connection_id":177127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:27:16] local.INFO: Extracted packet for processing {"connection_id":177127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":177127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:27:16] local.INFO: GPS data processed {"connection_id":177127,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:27:16] local.INFO: Acknowledgment sent {"connection_id":177127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:27:19] local.INFO: TCP Data received {"connection_id":175950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:27:19] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:27:19] local.INFO: IMEI packet received {"connection_id":175950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":175950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:27:24] local.INFO: TCP Data received {"connection_id":175950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:27:24] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:27:24] local.INFO: IMEI packet received {"connection_id":175950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":175950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:27:25] local.INFO: TCP Data received {"connection_id":175950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:27:25] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:27:25] local.INFO: Packet analysis {"connection_id":175950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:27:25] local.INFO: Extracted packet for processing {"connection_id":175950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:27:25] 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-09-09 18:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:27:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":175950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:27:25] local.INFO: GPS data processed {"connection_id":175950,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:27:25] local.INFO: Acknowledgment sent {"connection_id":175950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:27:29] local.INFO: TCP Data received {"connection_id":177128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:27:29] local.INFO: Processing buffer {"connection_id":177128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:27:29] local.INFO: IMEI packet received {"connection_id":177128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":177128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:27:34] local.INFO: TCP Data received {"connection_id":177128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:27:34] local.INFO: Processing buffer {"connection_id":177128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:27:34] local.INFO: IMEI packet received {"connection_id":177128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":177128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:27:35] local.INFO: TCP Data received {"connection_id":177128,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:27:35] local.INFO: Processing buffer {"connection_id":177128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08639e400012d1826800721bc980049001b29..."} 
[2026-09-09 18:27:35] local.INFO: Packet analysis {"connection_id":177128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:27:35] local.INFO: Extracted packet for processing {"connection_id":177128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08639"} 
[2026-09-09 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973256960001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958336000,"timestamp_ms":1788958336000,"timestamp_seconds":1788958336,"priority":1,"record_length":96,"hex_timestamp":"000001a08639e400"} 
[2026-09-09 18:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973256960001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973256960001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973256960001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":177128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:27:35] local.INFO: GPS data processed {"connection_id":177128,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:27:35] local.INFO: Acknowledgment sent {"connection_id":177128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:27:38] local.INFO: TCP Data received {"connection_id":177129,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:27:38] local.INFO: Processing buffer {"connection_id":177129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:27:38] local.INFO: IMEI packet received {"connection_id":177129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":177129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:27:43] local.INFO: TCP Data received {"connection_id":177129,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:27:43] local.INFO: Processing buffer {"connection_id":177129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:27:43] local.INFO: IMEI packet received {"connection_id":177129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":177129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:27:44] local.INFO: TCP Data received {"connection_id":177129,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:27:44] local.INFO: Processing buffer {"connection_id":177129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:27:44] local.INFO: Packet analysis {"connection_id":177129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:27:44] local.INFO: Extracted packet for processing {"connection_id":177129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:27: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-09-09 18:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":177129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:27:44] local.INFO: GPS data processed {"connection_id":177129,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:27:44] local.INFO: Acknowledgment sent {"connection_id":177129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:27:56] local.INFO: TCP Data received {"connection_id":175950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:27:56] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:27:56] local.INFO: Packet analysis {"connection_id":175950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:27:56] local.INFO: Extracted packet for processing {"connection_id":175950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:27:56] 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-09-09 18:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:27:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":175950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:27:56] local.INFO: GPS data processed {"connection_id":175950,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:27:56] local.INFO: Acknowledgment sent {"connection_id":175950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:28:06] local.INFO: TCP Data received {"connection_id":177128,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:28:06] local.INFO: Processing buffer {"connection_id":177128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:28:06] local.INFO: Packet analysis {"connection_id":177128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:28:06] local.INFO: Extracted packet for processing {"connection_id":177128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 18:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:28: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-09-09 18:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:28:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":177128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:28:06] local.INFO: GPS data processed {"connection_id":177128,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:28:06] local.INFO: Acknowledgment sent {"connection_id":177128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:28:16] local.INFO: TCP Data received {"connection_id":177129,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:28:16] local.INFO: Processing buffer {"connection_id":177129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:28:16] local.INFO: Packet analysis {"connection_id":177129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:28:16] local.INFO: Extracted packet for processing {"connection_id":177129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":177129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:28:16] local.INFO: GPS data processed {"connection_id":177129,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:28:16] local.INFO: Acknowledgment sent {"connection_id":177129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:28:24] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:28:24] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:28:24] local.INFO: IMEI packet received {"connection_id":175726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":175726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:28:29] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:28:29] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:28:29] local.INFO: IMEI packet received {"connection_id":175726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":175726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:28:30] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:28:30] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:28:30] local.INFO: Packet analysis {"connection_id":175726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:28:30] local.INFO: Extracted packet for processing {"connection_id":175726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:28: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:28:30] 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-09-09 18:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:28:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":175726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:28:30] local.INFO: GPS data processed {"connection_id":175726,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:28:30] local.INFO: Acknowledgment sent {"connection_id":175726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:28:34] local.INFO: TCP Data received {"connection_id":178537,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:28:34] local.INFO: Processing buffer {"connection_id":178537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:28:34] local.INFO: IMEI packet received {"connection_id":178537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":178537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:28:39] local.INFO: TCP Data received {"connection_id":178537,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:28:39] local.INFO: Processing buffer {"connection_id":178537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:28:39] local.INFO: IMEI packet received {"connection_id":178537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":178537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:28:40] local.INFO: TCP Data received {"connection_id":178537,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:28:40] local.INFO: Processing buffer {"connection_id":178537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:28:40] local.INFO: Packet analysis {"connection_id":178537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:28:40] local.INFO: Extracted packet for processing {"connection_id":178537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 18:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:28: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-09-09 18:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:28:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":178537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:28:40] local.INFO: GPS data processed {"connection_id":178537,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:28:40] local.INFO: Acknowledgment sent {"connection_id":178537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:28:43] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:28:43] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:28:43] local.INFO: IMEI packet received {"connection_id":175727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":175727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:28:45] local.INFO: TCP Data received {"connection_id":178537,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:28:45] local.INFO: Processing buffer {"connection_id":178537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:28:45] local.INFO: Packet analysis {"connection_id":178537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:28:45] local.INFO: Extracted packet for processing {"connection_id":178537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 18:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:28:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":178537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:28:45] local.INFO: GPS data processed {"connection_id":178537,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:28:45] local.INFO: Acknowledgment sent {"connection_id":178537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:28:48] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:28:48] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:28:48] local.INFO: IMEI packet received {"connection_id":175727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":175727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:28:49] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:28:49] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:28:49] local.INFO: Packet analysis {"connection_id":175727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:28:49] local.INFO: Extracted packet for processing {"connection_id":175727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:28:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":175727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:28:49] local.INFO: GPS data processed {"connection_id":175727,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:28:49] local.INFO: Acknowledgment sent {"connection_id":175727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:28:54] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:28:54] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863ae5d0012d34cc4006aa49080001013429..."} 
[2026-09-09 18:28:54] local.INFO: Packet analysis {"connection_id":175727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:28:54] local.INFO: Extracted packet for processing {"connection_id":175727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863a"} 
[2026-09-09 18:28:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":1,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973273856001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788958402000,"timestamp_ms":1788958402000,"timestamp_seconds":1788958402,"priority":1,"record_length":96,"hex_timestamp":"000001a0863ae5d0"} 
[2026-09-09 18:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973273856001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973273856001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:28:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:28:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973273856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":175727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:28:54] local.INFO: GPS data processed {"connection_id":175727,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:28:54] local.INFO: Acknowledgment sent {"connection_id":175727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:29:01] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:29:01] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:29:01] local.INFO: Packet analysis {"connection_id":175726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:29:01] local.INFO: Extracted packet for processing {"connection_id":175726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:29:01] 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-09-09 18:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:29:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":175726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:29:01] local.INFO: GPS data processed {"connection_id":175726,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:29:01] local.INFO: Acknowledgment sent {"connection_id":175726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:29:19] local.INFO: TCP Data received {"connection_id":178538,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:29:19] local.INFO: Processing buffer {"connection_id":178538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:29:19] local.INFO: IMEI packet received {"connection_id":178538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":178538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:29:24] local.INFO: TCP Data received {"connection_id":178538,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:29:24] local.INFO: Processing buffer {"connection_id":178538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:29:24] local.INFO: IMEI packet received {"connection_id":178538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":178538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:29:25] local.INFO: TCP Data received {"connection_id":178538,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:29:25] local.INFO: Processing buffer {"connection_id":178538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:29:25] local.INFO: Packet analysis {"connection_id":178538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:29:25] local.INFO: Extracted packet for processing {"connection_id":178538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:29:25] 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-09-09 18:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:29:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":178538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:29:25] local.INFO: GPS data processed {"connection_id":178538,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:29:25] local.INFO: Acknowledgment sent {"connection_id":178538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:29:29] local.INFO: TCP Data received {"connection_id":177130,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:29:29] local.INFO: Processing buffer {"connection_id":177130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:29:29] local.INFO: IMEI packet received {"connection_id":177130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":177130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:29:35] local.INFO: TCP Data received {"connection_id":177130,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:29:35] local.INFO: Processing buffer {"connection_id":177130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:29:35] local.INFO: IMEI packet received {"connection_id":177130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":177130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:29:35] local.INFO: TCP Data received {"connection_id":177130,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:29:35] local.INFO: Processing buffer {"connection_id":177130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:29:35] local.INFO: Packet analysis {"connection_id":177130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:29:35] local.INFO: Extracted packet for processing {"connection_id":177130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 18:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:29:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":177130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:29:36] local.INFO: GPS data processed {"connection_id":177130,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:29:36] local.INFO: Acknowledgment sent {"connection_id":177130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:29:39] local.INFO: TCP Data received {"connection_id":175952,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:29:39] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:29:39] local.INFO: IMEI packet received {"connection_id":175952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":175952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:29:43] local.INFO: TCP Data received {"connection_id":175952,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:29:43] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:29:43] local.INFO: IMEI packet received {"connection_id":175952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":175952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:29:44] local.INFO: TCP Data received {"connection_id":175952,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:29:44] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:29:44] local.INFO: Packet analysis {"connection_id":175952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:29:44] local.INFO: Extracted packet for processing {"connection_id":175952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:29: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-09-09 18:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":175952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:29:44] local.INFO: GPS data processed {"connection_id":175952,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:29:44] local.INFO: Acknowledgment sent {"connection_id":175952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:29:58] local.INFO: TCP Data received {"connection_id":178538,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:29:58] local.INFO: Processing buffer {"connection_id":178538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:29:58] local.INFO: Packet analysis {"connection_id":178538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:29:58] local.INFO: Extracted packet for processing {"connection_id":178538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":178538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":178538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":178538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:29: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-09-09 18:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:29:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":178538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:29:58] local.INFO: GPS data processed {"connection_id":178538,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:29:58] local.INFO: Acknowledgment sent {"connection_id":178538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:30:07] local.INFO: TCP Data received {"connection_id":177130,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:30:07] local.INFO: Processing buffer {"connection_id":177130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:30:07] local.INFO: Packet analysis {"connection_id":177130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:30:07] local.INFO: Extracted packet for processing {"connection_id":177130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 18:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:30: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-09-09 18:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:30:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":177130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:30:07] local.INFO: GPS data processed {"connection_id":177130,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:30:07] local.INFO: Acknowledgment sent {"connection_id":177130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:30:16] local.INFO: TCP Data received {"connection_id":175952,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:30:16] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:30:16] local.INFO: Packet analysis {"connection_id":175952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:30:16] local.INFO: Extracted packet for processing {"connection_id":175952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":175952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:30:16] local.INFO: GPS data processed {"connection_id":175952,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:30:16] local.INFO: Acknowledgment sent {"connection_id":175952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:30:19] local.INFO: TCP Data received {"connection_id":175728,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:30:19] local.INFO: Processing buffer {"connection_id":175728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:30:19] local.INFO: IMEI packet received {"connection_id":175728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":175728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:30:24] local.INFO: TCP Data received {"connection_id":175728,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:30:24] local.INFO: Processing buffer {"connection_id":175728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:30:24] local.INFO: IMEI packet received {"connection_id":175728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":175728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:30:25] local.INFO: TCP Data received {"connection_id":175728,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:30:25] local.INFO: Processing buffer {"connection_id":175728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:30:25] local.INFO: Packet analysis {"connection_id":175728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:30:25] local.INFO: Extracted packet for processing {"connection_id":175728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:30:25] 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-09-09 18:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:30:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":175728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:30:25] local.INFO: GPS data processed {"connection_id":175728,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:30:25] local.INFO: Acknowledgment sent {"connection_id":175728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:30:30] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:30:30] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:30:30] local.INFO: IMEI packet received {"connection_id":175729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":175729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:30:34] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:30:34] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:30:34] local.INFO: IMEI packet received {"connection_id":175729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":175729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:30:37] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:30:37] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:30:37] local.INFO: Packet analysis {"connection_id":175729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:30:37] local.INFO: Extracted packet for processing {"connection_id":175729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30: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-09-09 18:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 18:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:30: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-09-09 18: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-09-09 18:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:30:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":175729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:30:37] local.INFO: GPS data processed {"connection_id":175729,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:30:37] local.INFO: Acknowledgment sent {"connection_id":175729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:30:38] local.INFO: TCP Data received {"connection_id":178539,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:30:38] local.INFO: Processing buffer {"connection_id":178539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:30:38] local.INFO: IMEI packet received {"connection_id":178539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":178539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:30:43] local.INFO: TCP Data received {"connection_id":178539,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:30:43] local.INFO: Processing buffer {"connection_id":178539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:30:43] local.INFO: IMEI packet received {"connection_id":178539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":178539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:30:44] local.INFO: TCP Data received {"connection_id":178539,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:30:44] local.INFO: Processing buffer {"connection_id":178539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:30:44] local.INFO: Packet analysis {"connection_id":178539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:30:44] local.INFO: Extracted packet for processing {"connection_id":178539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":178539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:30:44] local.INFO: GPS data processed {"connection_id":178539,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:30:44] local.INFO: Acknowledgment sent {"connection_id":178539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:30:56] local.INFO: TCP Data received {"connection_id":175728,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:30:56] local.INFO: Processing buffer {"connection_id":175728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:30:56] local.INFO: Packet analysis {"connection_id":175728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:30:56] local.INFO: Extracted packet for processing {"connection_id":175728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:30:56] 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-09-09 18:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:30:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":175728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:30:56] local.INFO: GPS data processed {"connection_id":175728,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:30:56] local.INFO: Acknowledgment sent {"connection_id":175728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:31:08] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:31:08] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:31:08] local.INFO: Packet analysis {"connection_id":175729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:31:08] local.INFO: Extracted packet for processing {"connection_id":175729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31: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-09-09 18:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 18:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:31: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-09-09 18: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-09-09 18:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:31:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":175729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:31:08] local.INFO: GPS data processed {"connection_id":175729,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:31:08] local.INFO: Acknowledgment sent {"connection_id":175729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:31:16] local.INFO: TCP Data received {"connection_id":178539,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:31:16] local.INFO: Processing buffer {"connection_id":178539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:31:16] local.INFO: Packet analysis {"connection_id":178539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:31:16] local.INFO: Extracted packet for processing {"connection_id":178539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":178539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:31:16] local.INFO: GPS data processed {"connection_id":178539,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:31:16] local.INFO: Acknowledgment sent {"connection_id":178539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:31:19] local.INFO: TCP Data received {"connection_id":175954,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:31:19] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:31:19] local.INFO: IMEI packet received {"connection_id":175954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":175954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:31:24] local.INFO: TCP Data received {"connection_id":175954,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:31:24] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:31:24] local.INFO: IMEI packet received {"connection_id":175954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":175954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:31:25] local.INFO: TCP Data received {"connection_id":175954,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:31:25] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:31:25] local.INFO: Packet analysis {"connection_id":175954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:31:25] local.INFO: Extracted packet for processing {"connection_id":175954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:31:25] 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-09-09 18:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:31:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":175954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:31:25] local.INFO: GPS data processed {"connection_id":175954,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:31:25] local.INFO: Acknowledgment sent {"connection_id":175954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:31:29] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:31:29] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:31:29] local.INFO: IMEI packet received {"connection_id":175730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":175730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:31:31] local.INFO: TCP Data received {"connection_id":175731,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:31:31] local.INFO: Processing buffer {"connection_id":175731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:31:31] local.INFO: IMEI packet received {"connection_id":175731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":175731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:31:34] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:31:34] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:31:34] local.INFO: IMEI packet received {"connection_id":175730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":175730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:31:35] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:31:35] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:31:35] local.INFO: Packet analysis {"connection_id":175730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:31:35] local.INFO: Extracted packet for processing {"connection_id":175730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 18:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":175730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:31:35] local.INFO: GPS data processed {"connection_id":175730,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:31:35] local.INFO: Acknowledgment sent {"connection_id":175730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:31:38] local.INFO: TCP Data received {"connection_id":175732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:31:38] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:31:38] local.INFO: IMEI packet received {"connection_id":175732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":175732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:31:43] local.INFO: TCP Data received {"connection_id":175732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:31:43] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:31:43] local.INFO: IMEI packet received {"connection_id":175732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":175732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:31:45] local.INFO: TCP Data received {"connection_id":175732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:31:45] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:31:45] local.INFO: Packet analysis {"connection_id":175732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:31:45] local.INFO: Extracted packet for processing {"connection_id":175732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:31:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":175732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:31:45] local.INFO: GPS data processed {"connection_id":175732,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:31:45] local.INFO: Acknowledgment sent {"connection_id":175732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:31:56] local.INFO: TCP Data received {"connection_id":175954,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:31:56] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e3578012d7e37c005d34dd8000400af2d..."} 
[2026-09-09 18:31:56] local.INFO: Packet analysis {"connection_id":175954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:31:56] local.INFO: Extracted packet for processing {"connection_id":175954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973329408001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788958619000,"timestamp_ms":1788958619000,"timestamp_seconds":1788958619,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e3578"} 
[2026-09-09 18:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-09 18:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:31:56] 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-09-09 18:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973329408001,"66":2275,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973329408001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:31:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973329408001,"power":2275,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":175954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:31:57] local.INFO: GPS data processed {"connection_id":175954,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:31:57] local.INFO: Acknowledgment sent {"connection_id":175954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:32:07] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:32:07] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:32:07] local.INFO: Packet analysis {"connection_id":175730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:32:07] local.INFO: Extracted packet for processing {"connection_id":175730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 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-09-09 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18: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-09-09 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-09-09 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-09-09 18:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:32: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-09-09 18:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:32:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":175730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:32:07] local.INFO: GPS data processed {"connection_id":175730,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:32:07] local.INFO: Acknowledgment sent {"connection_id":175730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:32:16] local.INFO: TCP Data received {"connection_id":175732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:32:16] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:32:16] local.INFO: Packet analysis {"connection_id":175732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:32:16] local.INFO: Extracted packet for processing {"connection_id":175732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":175732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:32:16] local.INFO: GPS data processed {"connection_id":175732,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:32:16] local.INFO: Acknowledgment sent {"connection_id":175732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:32:19] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:32:19] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:32:19] local.INFO: IMEI packet received {"connection_id":175733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":175733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:32:24] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:32:24] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:32:24] local.INFO: IMEI packet received {"connection_id":175733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":175733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:32:25] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:32:25] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:32:25] local.INFO: Packet analysis {"connection_id":175733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:32:25] local.INFO: Extracted packet for processing {"connection_id":175733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:32:25] 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-09-09 18:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:32:25] 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-09-09 18:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:32:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":175733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:32:25] local.INFO: GPS data processed {"connection_id":175733,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:32:25] local.INFO: Acknowledgment sent {"connection_id":175733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:32:29] local.INFO: TCP Data received {"connection_id":175955,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:32:29] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:32:29] local.INFO: IMEI packet received {"connection_id":175955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":175955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:32:34] local.INFO: TCP Data received {"connection_id":175955,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:32:34] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:32:34] local.INFO: IMEI packet received {"connection_id":175955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":175955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:32:35] local.INFO: TCP Data received {"connection_id":175955,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:32:35] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863e7bc8012d1826800721bc980049001b28..."} 
[2026-09-09 18:32:35] local.INFO: Packet analysis {"connection_id":175955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:32:35] local.INFO: Extracted packet for processing {"connection_id":175955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863e"} 
[2026-09-09 18:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973334016001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958637000,"timestamp_ms":1788958637000,"timestamp_seconds":1788958637,"priority":1,"record_length":96,"hex_timestamp":"000001a0863e7bc8"} 
[2026-09-09 18:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973334016001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973334016001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:32:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973334016001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":175955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:32:35] local.INFO: GPS data processed {"connection_id":175955,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:32:35] local.INFO: Acknowledgment sent {"connection_id":175955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:32:38] local.INFO: TCP Data received {"connection_id":178541,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:32:38] local.INFO: Processing buffer {"connection_id":178541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:32:38] local.INFO: IMEI packet received {"connection_id":178541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":178541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:32:44] local.INFO: TCP Data received {"connection_id":178541,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:32:44] local.INFO: Processing buffer {"connection_id":178541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:32:44] local.INFO: IMEI packet received {"connection_id":178541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":178541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:32:46] local.INFO: TCP Data received {"connection_id":178541,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:32:46] local.INFO: Processing buffer {"connection_id":178541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:32:46] local.INFO: Packet analysis {"connection_id":178541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:32:46] local.INFO: Extracted packet for processing {"connection_id":178541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":178541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:32:46] local.INFO: GPS data processed {"connection_id":178541,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:32:46] local.INFO: Acknowledgment sent {"connection_id":178541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:32:56] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:32:56] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:32:56] local.INFO: Packet analysis {"connection_id":175733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:32:56] local.INFO: Extracted packet for processing {"connection_id":175733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:32:56] 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-09-09 18:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:32:56] 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-09-09 18:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:32:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":175733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:32:56] local.INFO: GPS data processed {"connection_id":175733,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:32:56] local.INFO: Acknowledgment sent {"connection_id":175733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:33:06] local.INFO: TCP Data received {"connection_id":175955,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:33:06] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:33:06] local.INFO: Packet analysis {"connection_id":175955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:33:06] local.INFO: Extracted packet for processing {"connection_id":175955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 18:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:33: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-09-09 18: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-09-09 18: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-09-09 18: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-09-09 18:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":175955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:33:07] local.INFO: GPS data processed {"connection_id":175955,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:33:07] local.INFO: Acknowledgment sent {"connection_id":175955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:33:17] local.INFO: TCP Data received {"connection_id":178541,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:33:17] local.INFO: Processing buffer {"connection_id":178541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:33:17] local.INFO: Packet analysis {"connection_id":178541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:33:17] local.INFO: Extracted packet for processing {"connection_id":178541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:33: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-09-09 18:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":178541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:33:17] local.INFO: GPS data processed {"connection_id":178541,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:33:17] local.INFO: Acknowledgment sent {"connection_id":178541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:33:24] local.INFO: TCP Data received {"connection_id":177131,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:33:24] local.INFO: Processing buffer {"connection_id":177131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:33:24] local.INFO: IMEI packet received {"connection_id":177131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":177131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:33:29] local.INFO: TCP Data received {"connection_id":177131,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:33:29] local.INFO: Processing buffer {"connection_id":177131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:33:29] local.INFO: IMEI packet received {"connection_id":177131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":177131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:33:29] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:33:29] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:33:29] local.INFO: IMEI packet received {"connection_id":177132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":177132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:33:30] local.INFO: TCP Data received {"connection_id":177131,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:33:30] local.INFO: Processing buffer {"connection_id":177131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:33:30] local.INFO: Packet analysis {"connection_id":177131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:33:30] local.INFO: Extracted packet for processing {"connection_id":177131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:33:30] 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-09-09 18:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:33:30] 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-09-09 18:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:33:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":177131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:33:30] local.INFO: GPS data processed {"connection_id":177131,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:33:30] local.INFO: Acknowledgment sent {"connection_id":177131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:33:34] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:33:34] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:33:34] local.INFO: IMEI packet received {"connection_id":177132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":177132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:33:34] local.INFO: TCP Data received {"connection_id":177131,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:33:34] local.INFO: Processing buffer {"connection_id":177131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:33:34] local.INFO: Packet analysis {"connection_id":177131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:33:34] local.INFO: Extracted packet for processing {"connection_id":177131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:33:34] 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-09-09 18:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:33:34] 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-09-09 18:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:33:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":177131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:33:35] local.INFO: GPS data processed {"connection_id":177131,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:33:35] local.INFO: Acknowledgment sent {"connection_id":177131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:33:35] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:33:35] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:33:35] local.INFO: Packet analysis {"connection_id":177132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:33:35] local.INFO: Extracted packet for processing {"connection_id":177132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 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-09-09 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:33:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":177132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:33:35] local.INFO: GPS data processed {"connection_id":177132,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:33:35] local.INFO: Acknowledgment sent {"connection_id":177132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:33:40] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:33:40] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:33:40] local.INFO: Packet analysis {"connection_id":177132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:33:40] local.INFO: Extracted packet for processing {"connection_id":177132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33: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-09-09 18:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 18:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:33: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-09-09 18: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-09-09 18:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:33: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-09-09 18:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:33:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":177132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:33:40] local.INFO: GPS data processed {"connection_id":177132,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:33:40] local.INFO: Acknowledgment sent {"connection_id":177132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:33:43] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:33:43] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:33:43] local.INFO: IMEI packet received {"connection_id":175956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":175956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:33:48] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:33:48] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:33:48] local.INFO: IMEI packet received {"connection_id":175956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":175956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:33:49] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:33:49] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:33:49] local.INFO: Packet analysis {"connection_id":175956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:33:49] local.INFO: Extracted packet for processing {"connection_id":175956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":175956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:33:49] local.INFO: GPS data processed {"connection_id":175956,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:33:49] local.INFO: Acknowledgment sent {"connection_id":175956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:33:54] local.INFO: TCP Data received {"connection_id":175956,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:33:54] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0863f7d98012d34cc4006aa4908000c013428..."} 
[2026-09-09 18:33:54] local.INFO: Packet analysis {"connection_id":175956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:33:54] local.INFO: Extracted packet for processing {"connection_id":175956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0863f"} 
[2026-09-09 18:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":12,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973350912001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788958703000,"timestamp_ms":1788958703000,"timestamp_seconds":1788958703,"priority":1,"record_length":96,"hex_timestamp":"000001a0863f7d98"} 
[2026-09-09 18:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973350912001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973350912001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:33:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973350912001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":175956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:33:54] local.INFO: GPS data processed {"connection_id":175956,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:33:54] local.INFO: Acknowledgment sent {"connection_id":175956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:34:11] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:34:11] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:34:11] local.INFO: Packet analysis {"connection_id":177132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:34:11] local.INFO: Extracted packet for processing {"connection_id":177132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34: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-09-09 18:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 18:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:34: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-09-09 18: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-09-09 18: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-09-09 18: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-09-09 18:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:34: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-09-09 18:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:34:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":177132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:34:11] local.INFO: GPS data processed {"connection_id":177132,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:34:11] local.INFO: Acknowledgment sent {"connection_id":177132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:34:19] local.INFO: TCP Data received {"connection_id":177133,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:34:19] local.INFO: Processing buffer {"connection_id":177133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:34:19] local.INFO: IMEI packet received {"connection_id":177133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":177133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:34:24] local.INFO: TCP Data received {"connection_id":177133,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:34:24] local.INFO: Processing buffer {"connection_id":177133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:34:24] local.INFO: IMEI packet received {"connection_id":177133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":177133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:34:25] local.INFO: TCP Data received {"connection_id":177133,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:34:25] local.INFO: Processing buffer {"connection_id":177133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:34:25] local.INFO: Packet analysis {"connection_id":177133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:34:25] local.INFO: Extracted packet for processing {"connection_id":177133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:34:25] 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-09-09 18:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:34:25] 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-09-09 18:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:34:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":177133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:34:25] local.INFO: GPS data processed {"connection_id":177133,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:34:25] local.INFO: Acknowledgment sent {"connection_id":177133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:34:29] local.INFO: TCP Data received {"connection_id":178543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:34:29] local.INFO: Processing buffer {"connection_id":178543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:34:29] local.INFO: IMEI packet received {"connection_id":178543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":178543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:34:34] local.INFO: TCP Data received {"connection_id":178543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:34:34] local.INFO: Processing buffer {"connection_id":178543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:34:34] local.INFO: IMEI packet received {"connection_id":178543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":178543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:34:35] local.INFO: TCP Data received {"connection_id":178543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:34:35] local.INFO: Processing buffer {"connection_id":178543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:34:35] local.INFO: Packet analysis {"connection_id":178543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:34:35] local.INFO: Extracted packet for processing {"connection_id":178543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 18:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:34: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-09-09 18:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":178543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:34:35] local.INFO: GPS data processed {"connection_id":178543,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:34:35] local.INFO: Acknowledgment sent {"connection_id":178543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:34:38] local.INFO: TCP Data received {"connection_id":175734,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:34:38] local.INFO: Processing buffer {"connection_id":175734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:34:38] local.INFO: IMEI packet received {"connection_id":175734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":175734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:34:43] local.INFO: TCP Data received {"connection_id":175734,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:34:43] local.INFO: Processing buffer {"connection_id":175734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:34:43] local.INFO: IMEI packet received {"connection_id":175734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":175734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:34:44] local.INFO: TCP Data received {"connection_id":175734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:34:44] local.INFO: Processing buffer {"connection_id":175734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:34:44] local.INFO: Packet analysis {"connection_id":175734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:34:44] local.INFO: Extracted packet for processing {"connection_id":175734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973427968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959004000,"timestamp_ms":1788959004000,"timestamp_seconds":1788959004,"priority":1,"record_length":96,"hex_timestamp":"000001a086441560"} 
[2026-09-09 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-09-09 18:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:34: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-09-09 18:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973427968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973427968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973427968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":175734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:34:44] local.INFO: GPS data processed {"connection_id":175734,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:34:44] local.INFO: Acknowledgment sent {"connection_id":175734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:34:58] local.INFO: TCP Data received {"connection_id":177133,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:34:58] local.INFO: Processing buffer {"connection_id":177133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:34:58] local.INFO: Packet analysis {"connection_id":177133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:34:58] local.INFO: Extracted packet for processing {"connection_id":177133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:34:58] 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-09-09 18: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:34:58] 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-09-09 18:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:34:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":177133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:34:59] local.INFO: GPS data processed {"connection_id":177133,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:34:59] local.INFO: Acknowledgment sent {"connection_id":177133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:35:06] local.INFO: TCP Data received {"connection_id":178543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:35:06] local.INFO: Processing buffer {"connection_id":178543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:35:06] local.INFO: Packet analysis {"connection_id":178543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:35:06] local.INFO: Extracted packet for processing {"connection_id":178543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 18:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:35: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-09-09 18: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-09-09 18: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-09-09 18: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-09-09 18:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:35: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-09-09 18:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:35:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":178543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:35:06] local.INFO: GPS data processed {"connection_id":178543,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:35:06] local.INFO: Acknowledgment sent {"connection_id":178543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:35:16] local.INFO: TCP Data received {"connection_id":175734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:35:16] local.INFO: Processing buffer {"connection_id":175734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:35:16] local.INFO: Packet analysis {"connection_id":175734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:35:16] local.INFO: Extracted packet for processing {"connection_id":175734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973427968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788959004000,"timestamp_ms":1788959004000,"timestamp_seconds":1788959004,"priority":1,"record_length":96,"hex_timestamp":"000001a086441560"} 
[2026-09-09 18:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973427968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973427968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973427968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":175734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:35:16] local.INFO: GPS data processed {"connection_id":175734,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:35:16] local.INFO: Acknowledgment sent {"connection_id":175734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:35:19] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:35:19] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:35:19] local.INFO: IMEI packet received {"connection_id":175958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":175958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:35:24] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:35:24] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:35:24] local.INFO: IMEI packet received {"connection_id":175958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":175958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:35:25] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:35:25] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:35:25] local.INFO: Packet analysis {"connection_id":175958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:35:25] local.INFO: Extracted packet for processing {"connection_id":175958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:35:25] 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-09-09 18:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:35:25] 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-09-09 18:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:35:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":175958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:35:25] local.INFO: GPS data processed {"connection_id":175958,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:35:25] local.INFO: Acknowledgment sent {"connection_id":175958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:35:29] local.INFO: TCP Data received {"connection_id":177134,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:35:29] local.INFO: Processing buffer {"connection_id":177134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:35:29] local.INFO: IMEI packet received {"connection_id":177134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":177134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:35:34] local.INFO: TCP Data received {"connection_id":177134,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:35:34] local.INFO: Processing buffer {"connection_id":177134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:35:34] local.INFO: IMEI packet received {"connection_id":177134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":177134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:35:35] local.INFO: TCP Data received {"connection_id":177134,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:35:35] local.INFO: Processing buffer {"connection_id":177134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:35:35] local.INFO: Packet analysis {"connection_id":177134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:35:35] local.INFO: Extracted packet for processing {"connection_id":177134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 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-09-09 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:35: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-09-09 18:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:35:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":177134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:35:35] local.INFO: GPS data processed {"connection_id":177134,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:35:35] local.INFO: Acknowledgment sent {"connection_id":177134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:35:38] local.INFO: TCP Data received {"connection_id":178544,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:35:38] local.INFO: Processing buffer {"connection_id":178544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:35:38] local.INFO: IMEI packet received {"connection_id":178544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":178544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:35:43] local.INFO: TCP Data received {"connection_id":178544,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:35:43] local.INFO: Processing buffer {"connection_id":178544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:35:43] local.INFO: IMEI packet received {"connection_id":178544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":178544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:35:44] local.INFO: TCP Data received {"connection_id":178544,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:35:44] local.INFO: Processing buffer {"connection_id":178544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:35:44] local.INFO: Packet analysis {"connection_id":178544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:35:44] local.INFO: Extracted packet for processing {"connection_id":178544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973427968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959004000,"timestamp_ms":1788959004000,"timestamp_seconds":1788959004,"priority":1,"record_length":96,"hex_timestamp":"000001a086441560"} 
[2026-09-09 18:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973427968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973427968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973427968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":178544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:35:44] local.INFO: GPS data processed {"connection_id":178544,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:35:44] local.INFO: Acknowledgment sent {"connection_id":178544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:35:56] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:35:56] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:35:56] local.INFO: Packet analysis {"connection_id":175958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:35:56] local.INFO: Extracted packet for processing {"connection_id":175958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:35:56] 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-09-09 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:35:56] 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-09-09 18:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:35:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":175958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:35:57] local.INFO: GPS data processed {"connection_id":175958,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:35:57] local.INFO: Acknowledgment sent {"connection_id":175958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:36:06] local.INFO: TCP Data received {"connection_id":177134,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:36:06] local.INFO: Processing buffer {"connection_id":177134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:36:06] local.INFO: Packet analysis {"connection_id":177134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:36:06] local.INFO: Extracted packet for processing {"connection_id":177134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 18:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:36: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-09-09 18: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-09-09 18: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-09-09 18:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:36: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-09-09 18:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:36:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":177134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:36:07] local.INFO: GPS data processed {"connection_id":177134,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:36:07] local.INFO: Acknowledgment sent {"connection_id":177134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:36:16] local.INFO: TCP Data received {"connection_id":178544,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:36:16] local.INFO: Processing buffer {"connection_id":178544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:36:16] local.INFO: Packet analysis {"connection_id":178544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:36:16] local.INFO: Extracted packet for processing {"connection_id":178544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973427968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788959004000,"timestamp_ms":1788959004000,"timestamp_seconds":1788959004,"priority":1,"record_length":96,"hex_timestamp":"000001a086441560"} 
[2026-09-09 18:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973427968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973427968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973427968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":178544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:36:16] local.INFO: GPS data processed {"connection_id":178544,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:36:16] local.INFO: Acknowledgment sent {"connection_id":178544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:36:19] local.INFO: TCP Data received {"connection_id":178545,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:36:19] local.INFO: Processing buffer {"connection_id":178545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:36:19] local.INFO: IMEI packet received {"connection_id":178545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":178545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:36:24] local.INFO: TCP Data received {"connection_id":178545,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:36:24] local.INFO: Processing buffer {"connection_id":178545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:36:24] local.INFO: IMEI packet received {"connection_id":178545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":178545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:36:25] local.INFO: TCP Data received {"connection_id":178545,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:36:25] local.INFO: Processing buffer {"connection_id":178545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:36:25] local.INFO: Packet analysis {"connection_id":178545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:36:25] local.INFO: Extracted packet for processing {"connection_id":178545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:36:25] 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-09-09 18: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:36:25] 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-09-09 18:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:36:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":178545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:36:25] local.INFO: GPS data processed {"connection_id":178545,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:36:25] local.INFO: Acknowledgment sent {"connection_id":178545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:36:30] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:36:30] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:36:30] local.INFO: IMEI packet received {"connection_id":175959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":175959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:36:35] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:36:35] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:36:35] local.INFO: IMEI packet received {"connection_id":175959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":175959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:36:35] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:36:35] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:36:35] local.INFO: Packet analysis {"connection_id":175959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:36:35] local.INFO: Extracted packet for processing {"connection_id":175959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 18:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:36: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-09-09 18:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":175959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:36:36] local.INFO: GPS data processed {"connection_id":175959,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:36:36] local.INFO: Acknowledgment sent {"connection_id":175959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:36:38] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:36:38] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:36:38] local.INFO: IMEI packet received {"connection_id":175960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":175960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:36:43] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:36:43] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:36:43] local.INFO: IMEI packet received {"connection_id":175960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":175960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:36:45] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:36:45] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:36:45] local.INFO: Packet analysis {"connection_id":175960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:36:45] local.INFO: Extracted packet for processing {"connection_id":175960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973427968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788959004000,"timestamp_ms":1788959004000,"timestamp_seconds":1788959004,"priority":1,"record_length":96,"hex_timestamp":"000001a086441560"} 
[2026-09-09 18:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973427968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973427968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:36:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973427968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":175960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:36:45] local.INFO: GPS data processed {"connection_id":175960,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:36:45] local.INFO: Acknowledgment sent {"connection_id":175960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:36:56] local.INFO: TCP Data received {"connection_id":178546,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:36:56] local.INFO: Processing buffer {"connection_id":178546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:36:56] local.INFO: IMEI packet received {"connection_id":178546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":178546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:36:58] local.INFO: TCP Data received {"connection_id":178545,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:36:58] local.INFO: Processing buffer {"connection_id":178545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08642cd40012d7e37c005d34dd8000400af2b..."} 
[2026-09-09 18:36:58] local.INFO: Packet analysis {"connection_id":178545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:36:58] local.INFO: Extracted packet for processing {"connection_id":178545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08642"} 
[2026-09-09 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973406464001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788958920000,"timestamp_ms":1788958920000,"timestamp_seconds":1788958920,"priority":1,"record_length":96,"hex_timestamp":"000001a08642cd40"} 
[2026-09-09 18:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:36:58] 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-09-09 18: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-09 18:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":178545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":178545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":178545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:36:58] 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-09-09 18:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973406464001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973406464001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:36:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973406464001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":178545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:36:58] local.INFO: GPS data processed {"connection_id":178545,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:36:58] local.INFO: Acknowledgment sent {"connection_id":178545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:37:07] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:37:07] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:37:07] local.INFO: Packet analysis {"connection_id":175959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:37:07] local.INFO: Extracted packet for processing {"connection_id":175959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 18:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 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-09-09 18:37: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-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:37: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-09-09 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-09-09 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-09-09 18:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:37:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":175959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:37:07] local.INFO: GPS data processed {"connection_id":175959,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:37:07] local.INFO: Acknowledgment sent {"connection_id":175959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:37:17] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:37:17] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:37:17] local.INFO: Packet analysis {"connection_id":175960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:37:17] local.INFO: Extracted packet for processing {"connection_id":175960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973427968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788959004000,"timestamp_ms":1788959004000,"timestamp_seconds":1788959004,"priority":1,"record_length":96,"hex_timestamp":"000001a086441560"} 
[2026-09-09 18:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973427968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973427968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973427968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":175960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:37:17] local.INFO: GPS data processed {"connection_id":175960,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:37:17] local.INFO: Acknowledgment sent {"connection_id":175960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:37:19] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:37:19] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:37:19] local.INFO: IMEI packet received {"connection_id":175736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":175736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:37:24] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:37:24] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:37:24] local.INFO: IMEI packet received {"connection_id":175736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":175736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:37:25] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:37:25] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:37:25] local.INFO: Packet analysis {"connection_id":175736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:37:25] local.INFO: Extracted packet for processing {"connection_id":175736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:37:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 18:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:37:25] 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-09-09 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:37:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":175736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:37:25] local.INFO: GPS data processed {"connection_id":175736,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:37:25] local.INFO: Acknowledgment sent {"connection_id":175736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:37:29] local.INFO: TCP Data received {"connection_id":178547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:37:29] local.INFO: Processing buffer {"connection_id":178547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:37:29] local.INFO: IMEI packet received {"connection_id":178547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":178547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:37:34] local.INFO: TCP Data received {"connection_id":178547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:37:34] local.INFO: Processing buffer {"connection_id":178547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:37:34] local.INFO: IMEI packet received {"connection_id":178547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":178547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:37:35] local.INFO: TCP Data received {"connection_id":178547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:37:35] local.INFO: Processing buffer {"connection_id":178547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086431390012d1826800721bc980049001b27..."} 
[2026-09-09 18:37:35] local.INFO: Packet analysis {"connection_id":178547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:37:35] local.INFO: Extracted packet for processing {"connection_id":178547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08643"} 
[2026-09-09 18:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973411072001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788958938000,"timestamp_ms":1788958938000,"timestamp_seconds":1788958938,"priority":1,"record_length":96,"hex_timestamp":"000001a086431390"} 
[2026-09-09 18:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:37: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-09-09 18:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973411072001,"66":2155,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973411072001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:37:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973411072001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":178547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:37:35] local.INFO: GPS data processed {"connection_id":178547,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:37:35] local.INFO: Acknowledgment sent {"connection_id":178547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:37:43] local.INFO: TCP Data received {"connection_id":177135,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:37:43] local.INFO: Processing buffer {"connection_id":177135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:37:43] local.INFO: IMEI packet received {"connection_id":177135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":177135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:37:48] local.INFO: TCP Data received {"connection_id":177135,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:37:48] local.INFO: Processing buffer {"connection_id":177135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:37:48] local.INFO: IMEI packet received {"connection_id":177135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":177135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:37:49] local.INFO: TCP Data received {"connection_id":177135,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:37:49] local.INFO: Processing buffer {"connection_id":177135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:37:49] local.INFO: Packet analysis {"connection_id":177135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:37:49] local.INFO: Extracted packet for processing {"connection_id":177135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973427968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788959004000,"timestamp_ms":1788959004000,"timestamp_seconds":1788959004,"priority":1,"record_length":96,"hex_timestamp":"000001a086441560"} 
[2026-09-09 18:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973427968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973427968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973427968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":177135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:37:49] local.INFO: GPS data processed {"connection_id":177135,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:37:49] local.INFO: Acknowledgment sent {"connection_id":177135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:37:54] local.INFO: TCP Data received {"connection_id":177135,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:37:54] local.INFO: Processing buffer {"connection_id":177135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:37:54] local.INFO: Packet analysis {"connection_id":177135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:37:54] local.INFO: Extracted packet for processing {"connection_id":177135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973427968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788959004000,"timestamp_ms":1788959004000,"timestamp_seconds":1788959004,"priority":1,"record_length":96,"hex_timestamp":"000001a086441560"} 
[2026-09-09 18:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973427968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973427968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:37:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973427968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":177135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:37:54] local.INFO: GPS data processed {"connection_id":177135,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:37:54] local.INFO: Acknowledgment sent {"connection_id":177135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:37:56] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:37:56] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:37:56] local.INFO: Packet analysis {"connection_id":175736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:37:56] local.INFO: Extracted packet for processing {"connection_id":175736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 18:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:37:56] 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-09-09 18:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:37:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":175736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:37:56] local.INFO: GPS data processed {"connection_id":175736,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:37:56] local.INFO: Acknowledgment sent {"connection_id":175736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:38:06] local.INFO: TCP Data received {"connection_id":178547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:38:06] local.INFO: Processing buffer {"connection_id":178547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:38:06] local.INFO: Packet analysis {"connection_id":178547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:38:06] local.INFO: Extracted packet for processing {"connection_id":178547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18: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-09-09 18: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-09-09 18:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:38:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":178547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:38:07] local.INFO: GPS data processed {"connection_id":178547,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:38:07] local.INFO: Acknowledgment sent {"connection_id":178547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:38:19] local.INFO: TCP Data received {"connection_id":175961,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:38:19] local.INFO: Processing buffer {"connection_id":175961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:38:19] local.INFO: IMEI packet received {"connection_id":175961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":175961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:38:24] local.INFO: TCP Data received {"connection_id":175961,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:38:24] local.INFO: Processing buffer {"connection_id":175961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:38:24] local.INFO: IMEI packet received {"connection_id":175961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":175961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:38:25] local.INFO: TCP Data received {"connection_id":175961,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:38:25] local.INFO: Processing buffer {"connection_id":175961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:38:25] local.INFO: Packet analysis {"connection_id":175961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:38:25] local.INFO: Extracted packet for processing {"connection_id":175961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 18:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:38:25] 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-09-09 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:38:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":175961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:38:25] local.INFO: GPS data processed {"connection_id":175961,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:38:25] local.INFO: Acknowledgment sent {"connection_id":175961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:38:30] local.INFO: TCP Data received {"connection_id":178548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:38:30] local.INFO: Processing buffer {"connection_id":178548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:38:30] local.INFO: IMEI packet received {"connection_id":178548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":178548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:38:34] local.INFO: TCP Data received {"connection_id":178548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:38:34] local.INFO: Processing buffer {"connection_id":178548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:38:34] local.INFO: IMEI packet received {"connection_id":178548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":178548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:38:36] local.INFO: TCP Data received {"connection_id":178548,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:38:36] local.INFO: Processing buffer {"connection_id":178548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:38:36] local.INFO: Packet analysis {"connection_id":178548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:38:36] local.INFO: Extracted packet for processing {"connection_id":178548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 18:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":178548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":178548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":178548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:38:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":178548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:38:36] local.INFO: GPS data processed {"connection_id":178548,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:38:36] local.INFO: Acknowledgment sent {"connection_id":178548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:38:38] local.INFO: TCP Data received {"connection_id":177137,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:38:38] local.INFO: Processing buffer {"connection_id":177137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:38:38] local.INFO: IMEI packet received {"connection_id":177137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":177137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:38:43] local.INFO: TCP Data received {"connection_id":177137,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:38:43] local.INFO: Processing buffer {"connection_id":177137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:38:43] local.INFO: IMEI packet received {"connection_id":177137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":177137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:38:44] local.INFO: TCP Data received {"connection_id":177137,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:38:44] local.INFO: Processing buffer {"connection_id":177137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086441560012d34cc4006aa49080000013429..."} 
[2026-09-09 18:38:44] local.INFO: Packet analysis {"connection_id":177137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:38:44] local.INFO: Extracted packet for processing {"connection_id":177137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08644"} 
[2026-09-09 18:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973427968001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959004000,"timestamp_ms":1788959004000,"timestamp_seconds":1788959004,"priority":1,"record_length":96,"hex_timestamp":"000001a086441560"} 
[2026-09-09 18:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:38: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-09-09 18:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973427968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973427968001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973427968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":177137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:38:44] local.INFO: GPS data processed {"connection_id":177137,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:38:44] local.INFO: Acknowledgment sent {"connection_id":177137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:38:56] local.INFO: TCP Data received {"connection_id":175961,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:38:56] local.INFO: Processing buffer {"connection_id":175961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:38:56] local.INFO: Packet analysis {"connection_id":175961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:38:56] local.INFO: Extracted packet for processing {"connection_id":175961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 18:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:38:56] 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-09-09 18:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:38: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-09-09 18:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:38:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":175961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:38:56] local.INFO: GPS data processed {"connection_id":175961,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:38:56] local.INFO: Acknowledgment sent {"connection_id":175961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:39:07] local.INFO: TCP Data received {"connection_id":178548,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:39:07] local.INFO: Processing buffer {"connection_id":178548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:39:07] local.INFO: Packet analysis {"connection_id":178548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:39:07] local.INFO: Extracted packet for processing {"connection_id":178548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 18:39: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-09-09 18: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-09-09 18:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18: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-09-09 18:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:39:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":178548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:39:07] local.INFO: GPS data processed {"connection_id":178548,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:39:07] local.INFO: Acknowledgment sent {"connection_id":178548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:39:15] local.INFO: TCP Data received {"connection_id":177137,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:39:15] local.INFO: Processing buffer {"connection_id":177137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:39:15] local.INFO: Packet analysis {"connection_id":177137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:39:15] local.INFO: Extracted packet for processing {"connection_id":177137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":177137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:39:15] local.INFO: GPS data processed {"connection_id":177137,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:39:15] local.INFO: Acknowledgment sent {"connection_id":177137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:39:24] local.INFO: TCP Data received {"connection_id":177138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:39:24] local.INFO: Processing buffer {"connection_id":177138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:39:24] local.INFO: IMEI packet received {"connection_id":177138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":177138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:39:29] local.INFO: TCP Data received {"connection_id":177138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:39:29] local.INFO: Processing buffer {"connection_id":177138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:39:29] local.INFO: IMEI packet received {"connection_id":177138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":177138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:39:29] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:39:29] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:39:29] local.INFO: IMEI packet received {"connection_id":175737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":175737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:39:30] local.INFO: TCP Data received {"connection_id":177138,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:39:30] local.INFO: Processing buffer {"connection_id":177138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:39:30] local.INFO: Packet analysis {"connection_id":177138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:39:30] local.INFO: Extracted packet for processing {"connection_id":177138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 18:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:39:30] 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-09-09 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:39:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":177138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:39:30] local.INFO: GPS data processed {"connection_id":177138,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:39:30] local.INFO: Acknowledgment sent {"connection_id":177138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:39:34] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:39:34] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:39:34] local.INFO: IMEI packet received {"connection_id":175737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":175737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:39:34] local.INFO: TCP Data received {"connection_id":177138,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:39:34] local.INFO: Processing buffer {"connection_id":177138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:39:34] local.INFO: Packet analysis {"connection_id":177138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:39:34] local.INFO: Extracted packet for processing {"connection_id":177138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 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-09-09 18:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":177138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":177138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":177138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:39:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:39:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":177138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:39:35] local.INFO: GPS data processed {"connection_id":177138,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:39:35] local.INFO: Acknowledgment sent {"connection_id":177138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:39:35] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:39:35] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:39:35] local.INFO: Packet analysis {"connection_id":175737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:39:35] local.INFO: Extracted packet for processing {"connection_id":175737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 18:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:39:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":175737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:39:35] local.INFO: GPS data processed {"connection_id":175737,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:39:35] local.INFO: Acknowledgment sent {"connection_id":175737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:39:38] local.INFO: TCP Data received {"connection_id":175963,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:39:38] local.INFO: Processing buffer {"connection_id":175963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:39:38] local.INFO: IMEI packet received {"connection_id":175963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":175963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:39:43] local.INFO: TCP Data received {"connection_id":175963,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:39:43] local.INFO: Processing buffer {"connection_id":175963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:39:43] local.INFO: IMEI packet received {"connection_id":175963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":175963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:39:44] local.INFO: TCP Data received {"connection_id":175963,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:39:44] local.INFO: Processing buffer {"connection_id":175963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:39:44] local.INFO: Packet analysis {"connection_id":175963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:39:44] local.INFO: Extracted packet for processing {"connection_id":175963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":175963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:39:44] local.INFO: GPS data processed {"connection_id":175963,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:39:44] local.INFO: Acknowledgment sent {"connection_id":175963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:40:06] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:40:06] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:40:06] local.INFO: Packet analysis {"connection_id":175737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:40:06] local.INFO: Extracted packet for processing {"connection_id":175737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18: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-09-09 18:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:40:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":175737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:40:06] local.INFO: GPS data processed {"connection_id":175737,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:40:06] local.INFO: Acknowledgment sent {"connection_id":175737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:40:16] local.INFO: TCP Data received {"connection_id":175963,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:40:16] local.INFO: Processing buffer {"connection_id":175963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:40:16] local.INFO: Packet analysis {"connection_id":175963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:40:16] local.INFO: Extracted packet for processing {"connection_id":175963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":175963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:40:16] local.INFO: GPS data processed {"connection_id":175963,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:40:16] local.INFO: Acknowledgment sent {"connection_id":175963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:40:19] local.INFO: TCP Data received {"connection_id":178549,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:40:19] local.INFO: Processing buffer {"connection_id":178549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:40:19] local.INFO: IMEI packet received {"connection_id":178549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":178549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:40:24] local.INFO: TCP Data received {"connection_id":178549,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:40:24] local.INFO: Processing buffer {"connection_id":178549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:40:24] local.INFO: IMEI packet received {"connection_id":178549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":178549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:40:25] local.INFO: TCP Data received {"connection_id":178549,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:40:25] local.INFO: Processing buffer {"connection_id":178549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:40:25] local.INFO: Packet analysis {"connection_id":178549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:40:25] local.INFO: Extracted packet for processing {"connection_id":178549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 18:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:40:25] 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-09-09 18:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":178549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":178549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":178549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:40: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-09-09 18:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:40:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":178549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:40:25] local.INFO: GPS data processed {"connection_id":178549,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:40:25] local.INFO: Acknowledgment sent {"connection_id":178549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:40:30] local.INFO: TCP Data received {"connection_id":177139,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:40:30] local.INFO: Processing buffer {"connection_id":177139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:40:30] local.INFO: IMEI packet received {"connection_id":177139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":177139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:40:34] local.INFO: TCP Data received {"connection_id":177139,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:40:34] local.INFO: Processing buffer {"connection_id":177139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:40:34] local.INFO: IMEI packet received {"connection_id":177139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":177139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:40:35] local.INFO: TCP Data received {"connection_id":177139,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:40:35] local.INFO: Processing buffer {"connection_id":177139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:40:35] local.INFO: Packet analysis {"connection_id":177139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:40:35] local.INFO: Extracted packet for processing {"connection_id":177139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 18:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:40:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":177139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:40:35] local.INFO: GPS data processed {"connection_id":177139,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:40:35] local.INFO: Acknowledgment sent {"connection_id":177139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:40:38] local.INFO: TCP Data received {"connection_id":175738,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:40:38] local.INFO: Processing buffer {"connection_id":175738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:40:38] local.INFO: IMEI packet received {"connection_id":175738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":175738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:40:43] local.INFO: TCP Data received {"connection_id":175738,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:40:43] local.INFO: Processing buffer {"connection_id":175738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:40:43] local.INFO: IMEI packet received {"connection_id":175738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":175738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:40:44] local.INFO: TCP Data received {"connection_id":175738,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:40:44] local.INFO: Processing buffer {"connection_id":175738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:40:44] local.INFO: Packet analysis {"connection_id":175738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:40:44] local.INFO: Extracted packet for processing {"connection_id":175738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":175738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:40:44] local.INFO: GPS data processed {"connection_id":175738,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:40:44] local.INFO: Acknowledgment sent {"connection_id":175738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:40:56] local.INFO: TCP Data received {"connection_id":178549,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:40:56] local.INFO: Processing buffer {"connection_id":178549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:40:56] local.INFO: Packet analysis {"connection_id":178549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:40:56] local.INFO: Extracted packet for processing {"connection_id":178549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 18:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:40:56] 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-09-09 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:40:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":178549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:40:56] local.INFO: GPS data processed {"connection_id":178549,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:40:56] local.INFO: Acknowledgment sent {"connection_id":178549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:41:06] local.INFO: TCP Data received {"connection_id":177139,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:41:06] local.INFO: Processing buffer {"connection_id":177139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:41:06] local.INFO: Packet analysis {"connection_id":177139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:41:06] local.INFO: Extracted packet for processing {"connection_id":177139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18: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-09-09 18: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-09-09 18:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:41:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":177139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:41:07] local.INFO: GPS data processed {"connection_id":177139,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:41:07] local.INFO: Acknowledgment sent {"connection_id":177139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:41:15] local.INFO: TCP Data received {"connection_id":175738,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:41:15] local.INFO: Processing buffer {"connection_id":175738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:41:15] local.INFO: Packet analysis {"connection_id":175738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:41:15] local.INFO: Extracted packet for processing {"connection_id":175738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":175738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:41:16] local.INFO: GPS data processed {"connection_id":175738,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:41:16] local.INFO: Acknowledgment sent {"connection_id":175738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:41:19] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:41:19] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:41:19] local.INFO: IMEI packet received {"connection_id":175739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":175739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:41:24] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:41:24] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:41:24] local.INFO: IMEI packet received {"connection_id":175739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":175739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:41:25] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:41:25] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:41:25] local.INFO: Packet analysis {"connection_id":175739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:41:25] local.INFO: Extracted packet for processing {"connection_id":175739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 18:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:41:25] 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-09-09 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:41: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-09-09 18:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:41:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":175739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:41:25] local.INFO: GPS data processed {"connection_id":175739,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:41:25] local.INFO: Acknowledgment sent {"connection_id":175739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:41:29] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:41:29] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:41:29] local.INFO: IMEI packet received {"connection_id":175740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":175740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:41:34] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:41:34] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:41:34] local.INFO: IMEI packet received {"connection_id":175740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":175740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:41:35] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:41:35] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:41:35] local.INFO: Packet analysis {"connection_id":175740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:41:35] local.INFO: Extracted packet for processing {"connection_id":175740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41: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-09-09 18:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 18:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:41:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":175740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:41:35] local.INFO: GPS data processed {"connection_id":175740,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:41:35] local.INFO: Acknowledgment sent {"connection_id":175740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:41:38] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:41:38] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:41:38] local.INFO: IMEI packet received {"connection_id":175966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":175966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:41:43] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:41:43] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:41:43] local.INFO: IMEI packet received {"connection_id":175966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":175966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:41:44] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:41:44] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:41:44] local.INFO: Packet analysis {"connection_id":175966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:41:44] local.INFO: Extracted packet for processing {"connection_id":175966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":175966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:41:44] local.INFO: GPS data processed {"connection_id":175966,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:41:44] local.INFO: Acknowledgment sent {"connection_id":175966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:41:56] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:41:56] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086476508012d7e37c005d34dd8000400af28..."} 
[2026-09-09 18:41:56] local.INFO: Packet analysis {"connection_id":175739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:41:56] local.INFO: Extracted packet for processing {"connection_id":175739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973483520001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788959221000,"timestamp_ms":1788959221000,"timestamp_seconds":1788959221,"priority":1,"record_length":96,"hex_timestamp":"000001a086476508"} 
[2026-09-09 18:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:41:56] 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-09-09 18:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973483520001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973483520001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:41:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973483520001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":175739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:41:56] local.INFO: GPS data processed {"connection_id":175739,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:41:56] local.INFO: Acknowledgment sent {"connection_id":175739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:42:06] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:42:06] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:42:06] local.INFO: Packet analysis {"connection_id":175740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:42:06] local.INFO: Extracted packet for processing {"connection_id":175740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42: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-09-09 18:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 18:42: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-09-09 18:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:42:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":175740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:42:07] local.INFO: GPS data processed {"connection_id":175740,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:42:07] local.INFO: Acknowledgment sent {"connection_id":175740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:42:15] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:42:15] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:42:15] local.INFO: Packet analysis {"connection_id":175966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:42:15] local.INFO: Extracted packet for processing {"connection_id":175966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":175966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:42:15] local.INFO: GPS data processed {"connection_id":175966,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:42:15] local.INFO: Acknowledgment sent {"connection_id":175966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:42:19] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:42:19] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:42:19] local.INFO: IMEI packet received {"connection_id":175741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":175741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:42:24] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:42:24] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:42:24] local.INFO: IMEI packet received {"connection_id":175741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":175741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:42:25] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:42:25] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:42:25] local.INFO: Packet analysis {"connection_id":175741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:42:25] local.INFO: Extracted packet for processing {"connection_id":175741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973560576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788959522000,"timestamp_ms":1788959522000,"timestamp_seconds":1788959522,"priority":1,"record_length":96,"hex_timestamp":"000001a0864bfcd0"} 
[2026-09-09 18:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:42:25] 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-09-09 18:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973560576001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973560576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:42:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973560576001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":175741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:42:25] local.INFO: GPS data processed {"connection_id":175741,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:42:25] local.INFO: Acknowledgment sent {"connection_id":175741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:42:29] local.INFO: TCP Data received {"connection_id":177141,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:42:29] local.INFO: Processing buffer {"connection_id":177141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:42:29] local.INFO: IMEI packet received {"connection_id":177141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":177141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:42:34] local.INFO: TCP Data received {"connection_id":177141,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:42:34] local.INFO: Processing buffer {"connection_id":177141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:42:34] local.INFO: IMEI packet received {"connection_id":177141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":177141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:42:35] local.INFO: TCP Data received {"connection_id":177141,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:42:35] local.INFO: Processing buffer {"connection_id":177141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08647ab58012d1826800721bc980049001b26..."} 
[2026-09-09 18:42:35] local.INFO: Packet analysis {"connection_id":177141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:42:35] local.INFO: Extracted packet for processing {"connection_id":177141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08647"} 
[2026-09-09 18:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973488128001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42: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-09-09 18:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959239000,"timestamp_ms":1788959239000,"timestamp_seconds":1788959239,"priority":1,"record_length":96,"hex_timestamp":"000001a08647ab58"} 
[2026-09-09 18:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 18:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973488128001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973488128001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:42:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973488128001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":177141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:42:35] local.INFO: GPS data processed {"connection_id":177141,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:42:35] local.INFO: Acknowledgment sent {"connection_id":177141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:42:38] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:42:38] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:42:38] local.INFO: IMEI packet received {"connection_id":175967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":175967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:42:41] local.INFO: TCP Data received {"connection_id":175968,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:42:41] local.INFO: Processing buffer {"connection_id":175968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:42:41] local.INFO: IMEI packet received {"connection_id":175968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":175968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:42:43] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:42:43] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:42:43] local.INFO: IMEI packet received {"connection_id":175967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":175967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:42:44] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:42:44] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:42:44] local.INFO: Packet analysis {"connection_id":175967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:42:44] local.INFO: Extracted packet for processing {"connection_id":175967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":175967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:42:44] local.INFO: GPS data processed {"connection_id":175967,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:42:44] local.INFO: Acknowledgment sent {"connection_id":175967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:42:56] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:42:56] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:42:56] local.INFO: Packet analysis {"connection_id":175741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:42:56] local.INFO: Extracted packet for processing {"connection_id":175741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973560576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788959522000,"timestamp_ms":1788959522000,"timestamp_seconds":1788959522,"priority":1,"record_length":96,"hex_timestamp":"000001a0864bfcd0"} 
[2026-09-09 18:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:42:56] 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-09-09 18:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973560576001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973560576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:42:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973560576001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":175741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:42:56] local.INFO: GPS data processed {"connection_id":175741,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:42:56] local.INFO: Acknowledgment sent {"connection_id":175741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:43:07] local.INFO: TCP Data received {"connection_id":177141,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:43:07] local.INFO: Processing buffer {"connection_id":177141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:43:07] local.INFO: Packet analysis {"connection_id":177141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:43:07] local.INFO: Extracted packet for processing {"connection_id":177141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 18:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 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-09-09 18:43: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-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:43: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-09-09 18:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:43:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":177141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:43:07] local.INFO: GPS data processed {"connection_id":177141,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:43:07] local.INFO: Acknowledgment sent {"connection_id":177141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:43:15] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:43:15] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:43:15] local.INFO: Packet analysis {"connection_id":175967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:43:15] local.INFO: Extracted packet for processing {"connection_id":175967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":175967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:43:15] local.INFO: GPS data processed {"connection_id":175967,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:43:15] local.INFO: Acknowledgment sent {"connection_id":175967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:43:19] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:43:19] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:43:19] local.INFO: IMEI packet received {"connection_id":177142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":177142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:43:24] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:43:24] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:43:24] local.INFO: IMEI packet received {"connection_id":177142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":177142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:43:25] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:43:25] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:43:25] local.INFO: Packet analysis {"connection_id":177142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:43:25] local.INFO: Extracted packet for processing {"connection_id":177142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973560576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788959522000,"timestamp_ms":1788959522000,"timestamp_seconds":1788959522,"priority":1,"record_length":96,"hex_timestamp":"000001a0864bfcd0"} 
[2026-09-09 18:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973560576001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973560576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:43:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973560576001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":177142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:43:25] local.INFO: GPS data processed {"connection_id":177142,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:43:25] local.INFO: Acknowledgment sent {"connection_id":177142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:43:29] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:43:29] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:43:29] local.INFO: IMEI packet received {"connection_id":175969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":175969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:43:34] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:43:34] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:43:34] local.INFO: IMEI packet received {"connection_id":175969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":175969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:43:35] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:43:35] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:43:35] local.INFO: Packet analysis {"connection_id":175969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:43:35] local.INFO: Extracted packet for processing {"connection_id":175969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 18:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:43:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":175969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:43:35] local.INFO: GPS data processed {"connection_id":175969,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:43:35] local.INFO: Acknowledgment sent {"connection_id":175969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:43:43] local.INFO: TCP Data received {"connection_id":178550,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:43:43] local.INFO: Processing buffer {"connection_id":178550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:43:43] local.INFO: IMEI packet received {"connection_id":178550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":178550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:43:48] local.INFO: TCP Data received {"connection_id":178550,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:43:48] local.INFO: Processing buffer {"connection_id":178550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:43:48] local.INFO: IMEI packet received {"connection_id":178550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":178550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:43:49] local.INFO: TCP Data received {"connection_id":178550,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:43:49] local.INFO: Processing buffer {"connection_id":178550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:43:49] local.INFO: Packet analysis {"connection_id":178550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:43:49] local.INFO: Extracted packet for processing {"connection_id":178550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":178550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:43:49] local.INFO: GPS data processed {"connection_id":178550,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:43:49] local.INFO: Acknowledgment sent {"connection_id":178550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:43:54] local.INFO: TCP Data received {"connection_id":178550,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:43:54] local.INFO: Processing buffer {"connection_id":178550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08648ad28012d34cc4006aa49080004013428..."} 
[2026-09-09 18:43:54] local.INFO: Packet analysis {"connection_id":178550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:43:54] local.INFO: Extracted packet for processing {"connection_id":178550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08648"} 
[2026-09-09 18:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":4,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973505024001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788959305000,"timestamp_ms":1788959305000,"timestamp_seconds":1788959305,"priority":1,"record_length":96,"hex_timestamp":"000001a08648ad28"} 
[2026-09-09 18:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973505024001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973505024001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973505024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":178550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:43:54] local.INFO: GPS data processed {"connection_id":178550,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:43:54] local.INFO: Acknowledgment sent {"connection_id":178550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:43:56] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:43:56] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:43:56] local.INFO: Packet analysis {"connection_id":177142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:43:56] local.INFO: Extracted packet for processing {"connection_id":177142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973560576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788959522000,"timestamp_ms":1788959522000,"timestamp_seconds":1788959522,"priority":1,"record_length":96,"hex_timestamp":"000001a0864bfcd0"} 
[2026-09-09 18:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973560576001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973560576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:43:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973560576001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":177142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:43:56] local.INFO: GPS data processed {"connection_id":177142,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:43:56] local.INFO: Acknowledgment sent {"connection_id":177142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:44:06] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:44:06] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:44:06] local.INFO: Packet analysis {"connection_id":175969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:44:06] local.INFO: Extracted packet for processing {"connection_id":175969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 18:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:44: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-09-09 18:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:44:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":175969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:44:06] local.INFO: GPS data processed {"connection_id":175969,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:44:06] local.INFO: Acknowledgment sent {"connection_id":175969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:44:19] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:44:19] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:44:19] local.INFO: IMEI packet received {"connection_id":175970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":175970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:44:24] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:44:24] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:44:24] local.INFO: IMEI packet received {"connection_id":175970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":175970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:44:25] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:44:25] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:44:25] local.INFO: Packet analysis {"connection_id":175970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:44:25] local.INFO: Extracted packet for processing {"connection_id":175970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973560576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788959522000,"timestamp_ms":1788959522000,"timestamp_seconds":1788959522,"priority":1,"record_length":96,"hex_timestamp":"000001a0864bfcd0"} 
[2026-09-09 18:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:44:25] 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-09-09 18:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973560576001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973560576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:44:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973560576001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":175970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:44:25] local.INFO: GPS data processed {"connection_id":175970,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:44:25] local.INFO: Acknowledgment sent {"connection_id":175970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:44:29] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:44:29] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:44:29] local.INFO: IMEI packet received {"connection_id":175971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":175971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:44:34] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:44:34] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:44:34] local.INFO: IMEI packet received {"connection_id":175971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":175971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:44:35] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:44:35] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:44:35] local.INFO: Packet analysis {"connection_id":175971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:44:35] local.INFO: Extracted packet for processing {"connection_id":175971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 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-09-09 18:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:44:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":175971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:44:35] local.INFO: GPS data processed {"connection_id":175971,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:44:35] local.INFO: Acknowledgment sent {"connection_id":175971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:44:38] local.INFO: TCP Data received {"connection_id":175972,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:44:38] local.INFO: Processing buffer {"connection_id":175972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:44:38] local.INFO: IMEI packet received {"connection_id":175972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":175972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:44:43] local.INFO: TCP Data received {"connection_id":175972,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:44:43] local.INFO: Processing buffer {"connection_id":175972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:44:43] local.INFO: IMEI packet received {"connection_id":175972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":175972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:44:44] local.INFO: TCP Data received {"connection_id":175972,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:44:44] local.INFO: Processing buffer {"connection_id":175972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:44:44] local.INFO: Packet analysis {"connection_id":175972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:44:44] local.INFO: Extracted packet for processing {"connection_id":175972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973582080001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959606000,"timestamp_ms":1788959606000,"timestamp_seconds":1788959606,"priority":1,"record_length":96,"hex_timestamp":"000001a0864d44f0"} 
[2026-09-09 18:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973582080001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973582080001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973582080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":175972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:44:44] local.INFO: GPS data processed {"connection_id":175972,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:44:44] local.INFO: Acknowledgment sent {"connection_id":175972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:44:56] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:44:56] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:44:56] local.INFO: Packet analysis {"connection_id":175970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:44:56] local.INFO: Extracted packet for processing {"connection_id":175970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973560576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788959522000,"timestamp_ms":1788959522000,"timestamp_seconds":1788959522,"priority":1,"record_length":96,"hex_timestamp":"000001a0864bfcd0"} 
[2026-09-09 18:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:44:56] 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-09-09 18:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973560576001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973560576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:44:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973560576001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":175970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:44:56] local.INFO: GPS data processed {"connection_id":175970,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:44:56] local.INFO: Acknowledgment sent {"connection_id":175970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:45:06] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:45:06] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:45:06] local.INFO: Packet analysis {"connection_id":175971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:45:06] local.INFO: Extracted packet for processing {"connection_id":175971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 18:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18: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-09-09 18: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-09-09 18:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:45:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":175971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:45:06] local.INFO: GPS data processed {"connection_id":175971,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:45:06] local.INFO: Acknowledgment sent {"connection_id":175971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:45:16] local.INFO: TCP Data received {"connection_id":175972,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:45:16] local.INFO: Processing buffer {"connection_id":175972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:45:16] local.INFO: Packet analysis {"connection_id":175972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:45:16] local.INFO: Extracted packet for processing {"connection_id":175972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973582080001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788959606000,"timestamp_ms":1788959606000,"timestamp_seconds":1788959606,"priority":1,"record_length":96,"hex_timestamp":"000001a0864d44f0"} 
[2026-09-09 18:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973582080001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973582080001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973582080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":175972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:45:16] local.INFO: GPS data processed {"connection_id":175972,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:45:16] local.INFO: Acknowledgment sent {"connection_id":175972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:45:24] local.INFO: TCP Data received {"connection_id":178552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:45:24] local.INFO: Processing buffer {"connection_id":178552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:45:24] local.INFO: IMEI packet received {"connection_id":178552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":178552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:45:29] local.INFO: TCP Data received {"connection_id":178552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:45:29] local.INFO: Processing buffer {"connection_id":178552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:45:29] local.INFO: IMEI packet received {"connection_id":178552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":178552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:45:30] local.INFO: TCP Data received {"connection_id":178552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:45:30] local.INFO: Processing buffer {"connection_id":178552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:45:30] local.INFO: Packet analysis {"connection_id":178552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:45:30] local.INFO: Extracted packet for processing {"connection_id":178552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973560576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788959522000,"timestamp_ms":1788959522000,"timestamp_seconds":1788959522,"priority":1,"record_length":96,"hex_timestamp":"000001a0864bfcd0"} 
[2026-09-09 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-09-09 18:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":178552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":178552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":178552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:45:30] 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-09-09 18:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973560576001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973560576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:45:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973560576001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":178552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:45:30] local.INFO: GPS data processed {"connection_id":178552,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:45:30] local.INFO: Acknowledgment sent {"connection_id":178552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:45:30] local.INFO: TCP Data received {"connection_id":178553,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:45:30] local.INFO: Processing buffer {"connection_id":178553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:45:30] local.INFO: IMEI packet received {"connection_id":178553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":178553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:45:34] local.INFO: TCP Data received {"connection_id":178553,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:45:34] local.INFO: Processing buffer {"connection_id":178553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:45:34] local.INFO: IMEI packet received {"connection_id":178553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":178553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:45:35] local.INFO: TCP Data received {"connection_id":178553,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:45:35] local.INFO: Processing buffer {"connection_id":178553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:45:35] local.INFO: Packet analysis {"connection_id":178553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:45:35] local.INFO: Extracted packet for processing {"connection_id":178553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 18:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:45:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":178553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:45:35] local.INFO: GPS data processed {"connection_id":178553,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:45:35] local.INFO: Acknowledgment sent {"connection_id":178553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:45:38] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:45:38] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:45:38] local.INFO: IMEI packet received {"connection_id":175743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":175743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:45:43] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:45:43] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:45:43] local.INFO: IMEI packet received {"connection_id":175743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":175743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:45:44] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:45:44] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:45:44] local.INFO: Packet analysis {"connection_id":175743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:45:44] local.INFO: Extracted packet for processing {"connection_id":175743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973582080001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959606000,"timestamp_ms":1788959606000,"timestamp_seconds":1788959606,"priority":1,"record_length":96,"hex_timestamp":"000001a0864d44f0"} 
[2026-09-09 18:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973582080001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973582080001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973582080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":175743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:45:44] local.INFO: GPS data processed {"connection_id":175743,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:45:44] local.INFO: Acknowledgment sent {"connection_id":175743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:46:00] local.INFO: TCP Data received {"connection_id":178552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:46:00] local.INFO: Processing buffer {"connection_id":178552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:46:00] local.INFO: Packet analysis {"connection_id":178552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:46:00] local.INFO: Extracted packet for processing {"connection_id":178552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973560576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788959522000,"timestamp_ms":1788959522000,"timestamp_seconds":1788959522,"priority":1,"record_length":96,"hex_timestamp":"000001a0864bfcd0"} 
[2026-09-09 18:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":178552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":178552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":178552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:46:00] 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-09-09 18:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973560576001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973560576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:46:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973560576001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":178552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:46:01] local.INFO: GPS data processed {"connection_id":178552,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:46:01] local.INFO: Acknowledgment sent {"connection_id":178552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:46:06] local.INFO: TCP Data received {"connection_id":178553,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:46:06] local.INFO: Processing buffer {"connection_id":178553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:46:06] local.INFO: Packet analysis {"connection_id":178553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:46:06] local.INFO: Extracted packet for processing {"connection_id":178553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 18:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18: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-09-09 18:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:46: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-09-09 18:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:46:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":178553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:46:06] local.INFO: GPS data processed {"connection_id":178553,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:46:06] local.INFO: Acknowledgment sent {"connection_id":178553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:46:15] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:46:15] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:46:15] local.INFO: Packet analysis {"connection_id":175743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:46:15] local.INFO: Extracted packet for processing {"connection_id":175743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973582080001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788959606000,"timestamp_ms":1788959606000,"timestamp_seconds":1788959606,"priority":1,"record_length":96,"hex_timestamp":"000001a0864d44f0"} 
[2026-09-09 18:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973582080001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973582080001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973582080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":175743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:46:15] local.INFO: GPS data processed {"connection_id":175743,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:46:15] local.INFO: Acknowledgment sent {"connection_id":175743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:46:19] local.INFO: TCP Data received {"connection_id":177144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:46:19] local.INFO: Processing buffer {"connection_id":177144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:46:19] local.INFO: IMEI packet received {"connection_id":177144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-09 18:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":177144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:46:24] local.INFO: TCP Data received {"connection_id":177144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:46:24] local.INFO: Processing buffer {"connection_id":177144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-09 18:46:24] local.INFO: IMEI packet received {"connection_id":177144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-09 18:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":177144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:46:25] local.INFO: TCP Data received {"connection_id":177144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:46:25] local.INFO: Processing buffer {"connection_id":177144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864bfcd0012d7e37c005d34dd8000400af29..."} 
[2026-09-09 18:46:25] local.INFO: Packet analysis {"connection_id":177144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:46:25] local.INFO: Extracted packet for processing {"connection_id":177144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864b"} 
[2026-09-09 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":4,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-09-09 18:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973560576001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130482601101099008,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788959522000,"timestamp_ms":1788959522000,"timestamp_seconds":1788959522,"priority":1,"record_length":96,"hex_timestamp":"000001a0864bfcd0"} 
[2026-09-09 18:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-09 18:46:25] 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-09-09 18:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-09 18:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-09 18:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973560576001,"66":2253,"109":206,"85":15104,"24":0,"16":130482601101099008,"45":9094949103750469632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-09 18:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-09 18:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-09 18:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973560576001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:46:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-09 18:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-09 18:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130482601101099008,"km_value":130482601101099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-09-09 18:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973560576001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-09-09 18:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":177144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:46:25] local.INFO: GPS data processed {"connection_id":177144,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:46:25] local.INFO: Acknowledgment sent {"connection_id":177144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:46:29] local.INFO: TCP Data received {"connection_id":178554,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:46:29] local.INFO: Processing buffer {"connection_id":178554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:46:29] local.INFO: IMEI packet received {"connection_id":178554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":178554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:46:34] local.INFO: TCP Data received {"connection_id":178554,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:46:34] local.INFO: Processing buffer {"connection_id":178554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:46:34] local.INFO: IMEI packet received {"connection_id":178554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":178554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:46:35] local.INFO: TCP Data received {"connection_id":178554,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:46:35] local.INFO: Processing buffer {"connection_id":178554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:46:35] local.INFO: Packet analysis {"connection_id":178554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:46:35] local.INFO: Extracted packet for processing {"connection_id":178554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 18:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:46:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":178554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:46:35] local.INFO: GPS data processed {"connection_id":178554,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:46:35] local.INFO: Acknowledgment sent {"connection_id":178554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:46:43] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:46:43] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:46:43] local.INFO: IMEI packet received {"connection_id":175973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":175973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:46:49] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:46:49] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:46:49] local.INFO: IMEI packet received {"connection_id":175973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":175973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:46:50] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:46:50] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:46:50] local.INFO: Packet analysis {"connection_id":175973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:46:50] local.INFO: Extracted packet for processing {"connection_id":175973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:46:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973582080001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788959606000,"timestamp_ms":1788959606000,"timestamp_seconds":1788959606,"priority":1,"record_length":96,"hex_timestamp":"000001a0864d44f0"} 
[2026-09-09 18:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973582080001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973582080001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:46:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:46:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973582080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":175973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:46:50] local.INFO: GPS data processed {"connection_id":175973,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:46:50] local.INFO: Acknowledgment sent {"connection_id":175973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:46:54] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:46:54] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:46:54] local.INFO: Packet analysis {"connection_id":175973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:46:54] local.INFO: Extracted packet for processing {"connection_id":175973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973582080001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788959606000,"timestamp_ms":1788959606000,"timestamp_seconds":1788959606,"priority":1,"record_length":96,"hex_timestamp":"000001a0864d44f0"} 
[2026-09-09 18:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973582080001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973582080001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:46:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973582080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":175973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:46:54] local.INFO: GPS data processed {"connection_id":175973,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:46:54] local.INFO: Acknowledgment sent {"connection_id":175973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:47:06] local.INFO: TCP Data received {"connection_id":178554,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:47:06] local.INFO: Processing buffer {"connection_id":178554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:47:06] local.INFO: Packet analysis {"connection_id":178554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:47:06] local.INFO: Extracted packet for processing {"connection_id":178554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 18:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 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-09-09 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18: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-09-09 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-09-09 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-09-09 18:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:47:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":178554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:47:06] local.INFO: GPS data processed {"connection_id":178554,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:47:06] local.INFO: Acknowledgment sent {"connection_id":178554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:47:29] local.INFO: TCP Data received {"connection_id":175745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:47:29] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:47:29] local.INFO: IMEI packet received {"connection_id":175745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":175745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:47:34] local.INFO: TCP Data received {"connection_id":175745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:47:34] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:47:34] local.INFO: IMEI packet received {"connection_id":175745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":175745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:47:35] local.INFO: TCP Data received {"connection_id":175745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:47:35] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864c4320012d1826800721bc980049001b26..."} 
[2026-09-09 18:47:35] local.INFO: Packet analysis {"connection_id":175745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:47:35] local.INFO: Extracted packet for processing {"connection_id":175745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864c"} 
[2026-09-09 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973565184001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18: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-09-09 18:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959540000,"timestamp_ms":1788959540000,"timestamp_seconds":1788959540,"priority":1,"record_length":96,"hex_timestamp":"000001a0864c4320"} 
[2026-09-09 18:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973565184001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973565184001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:47:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973565184001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":175745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:47:35] local.INFO: GPS data processed {"connection_id":175745,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:47:35] local.INFO: Acknowledgment sent {"connection_id":175745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:47:38] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:47:38] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:47:38] local.INFO: IMEI packet received {"connection_id":175746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":175746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:47:43] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:47:43] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:47:43] local.INFO: IMEI packet received {"connection_id":175746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:47:45] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:47:45] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:47:45] local.INFO: Packet analysis {"connection_id":175746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:47:45] local.INFO: Extracted packet for processing {"connection_id":175746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973582080001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788959606000,"timestamp_ms":1788959606000,"timestamp_seconds":1788959606,"priority":1,"record_length":96,"hex_timestamp":"000001a0864d44f0"} 
[2026-09-09 18:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973582080001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973582080001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973582080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":175746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:47:45] local.INFO: GPS data processed {"connection_id":175746,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:47:45] local.INFO: Acknowledgment sent {"connection_id":175746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:48:06] local.INFO: TCP Data received {"connection_id":175745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:48:06] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:48:06] local.INFO: Packet analysis {"connection_id":175745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:48:06] local.INFO: Extracted packet for processing {"connection_id":175745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 18:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:48: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-09-09 18:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:48:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":175745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:48:06] local.INFO: GPS data processed {"connection_id":175745,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:48:06] local.INFO: Acknowledgment sent {"connection_id":175745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:48:16] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:48:16] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:48:16] local.INFO: Packet analysis {"connection_id":175746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:48:16] local.INFO: Extracted packet for processing {"connection_id":175746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973582080001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788959606000,"timestamp_ms":1788959606000,"timestamp_seconds":1788959606,"priority":1,"record_length":96,"hex_timestamp":"000001a0864d44f0"} 
[2026-09-09 18:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973582080001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973582080001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973582080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":175746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:48:16] local.INFO: GPS data processed {"connection_id":175746,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:48:16] local.INFO: Acknowledgment sent {"connection_id":175746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:48:31] local.INFO: TCP Data received {"connection_id":175974,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:48:31] local.INFO: Processing buffer {"connection_id":175974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:48:31] local.INFO: IMEI packet received {"connection_id":175974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":175974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:48:34] local.INFO: TCP Data received {"connection_id":178555,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:48:34] local.INFO: Processing buffer {"connection_id":178555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:48:34] local.INFO: IMEI packet received {"connection_id":178555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":178555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:48:38] local.INFO: TCP Data received {"connection_id":177145,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:48:38] local.INFO: Processing buffer {"connection_id":177145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:48:38] local.INFO: IMEI packet received {"connection_id":177145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":177145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:48:39] local.INFO: TCP Data received {"connection_id":178555,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:48:39] local.INFO: Processing buffer {"connection_id":178555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:48:39] local.INFO: IMEI packet received {"connection_id":178555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":178555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:48:40] local.INFO: TCP Data received {"connection_id":178555,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:48:40] local.INFO: Processing buffer {"connection_id":178555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:48:40] local.INFO: Packet analysis {"connection_id":178555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:48:40] local.INFO: Extracted packet for processing {"connection_id":178555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 18:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:48: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-09-09 18:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:48:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":178555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:48:40] local.INFO: GPS data processed {"connection_id":178555,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:48:40] local.INFO: Acknowledgment sent {"connection_id":178555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:48:43] local.INFO: TCP Data received {"connection_id":177145,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:48:43] local.INFO: Processing buffer {"connection_id":177145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:48:43] local.INFO: IMEI packet received {"connection_id":177145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":177145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:48:45] local.INFO: TCP Data received {"connection_id":177145,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:48:45] local.INFO: Processing buffer {"connection_id":177145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0864d44f0012d34cc4006aa49080006013428..."} 
[2026-09-09 18:48:45] local.INFO: Packet analysis {"connection_id":177145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:48:45] local.INFO: Extracted packet for processing {"connection_id":177145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0864d"} 
[2026-09-09 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":6,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973582080001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788959606000,"timestamp_ms":1788959606000,"timestamp_seconds":1788959606,"priority":1,"record_length":96,"hex_timestamp":"000001a0864d44f0"} 
[2026-09-09 18:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973582080001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973582080001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:48:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973582080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":177145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:48:45] local.INFO: GPS data processed {"connection_id":177145,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:48:45] local.INFO: Acknowledgment sent {"connection_id":177145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:49:11] local.INFO: TCP Data received {"connection_id":178555,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:49:11] local.INFO: Processing buffer {"connection_id":178555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:49:11] local.INFO: Packet analysis {"connection_id":178555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:49:11] local.INFO: Extracted packet for processing {"connection_id":178555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49: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-09-09 18:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 18:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:49: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-09-09 18: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-09-09 18:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":178555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":178555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":178555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:49:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":178555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:49:11] local.INFO: GPS data processed {"connection_id":178555,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:49:11] local.INFO: Acknowledgment sent {"connection_id":178555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:49:16] local.INFO: TCP Data received {"connection_id":177145,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:49:16] local.INFO: Processing buffer {"connection_id":177145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:49:16] local.INFO: Packet analysis {"connection_id":177145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:49:16] local.INFO: Extracted packet for processing {"connection_id":177145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":177145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:49:16] local.INFO: GPS data processed {"connection_id":177145,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:49:16] local.INFO: Acknowledgment sent {"connection_id":177145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:49:29] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:49:29] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:49:29] local.INFO: IMEI packet received {"connection_id":175976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":175976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:49:34] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:49:34] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:49:34] local.INFO: IMEI packet received {"connection_id":175976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":175976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:49:35] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:49:35] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:49:35] local.INFO: Packet analysis {"connection_id":175976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:49:35] local.INFO: Extracted packet for processing {"connection_id":175976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 18:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:49:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":175976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:49:35] local.INFO: GPS data processed {"connection_id":175976,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:49:35] local.INFO: Acknowledgment sent {"connection_id":175976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:49:38] local.INFO: TCP Data received {"connection_id":178556,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:49:38] local.INFO: Processing buffer {"connection_id":178556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:49:38] local.INFO: IMEI packet received {"connection_id":178556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":178556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:49:43] local.INFO: TCP Data received {"connection_id":178556,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:49:43] local.INFO: Processing buffer {"connection_id":178556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:49:43] local.INFO: IMEI packet received {"connection_id":178556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":178556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:49:44] local.INFO: TCP Data received {"connection_id":178556,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:49:44] local.INFO: Processing buffer {"connection_id":178556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:49:44] local.INFO: Packet analysis {"connection_id":178556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:49:44] local.INFO: Extracted packet for processing {"connection_id":178556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":178556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:49:44] local.INFO: GPS data processed {"connection_id":178556,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:49:44] local.INFO: Acknowledgment sent {"connection_id":178556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:50:06] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:50:06] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:50:06] local.INFO: Packet analysis {"connection_id":175976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:50:06] local.INFO: Extracted packet for processing {"connection_id":175976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 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-09-09 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 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-09-09 18:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:50:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":175976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:50:06] local.INFO: GPS data processed {"connection_id":175976,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:50:06] local.INFO: Acknowledgment sent {"connection_id":175976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:50:15] local.INFO: TCP Data received {"connection_id":178556,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:50:15] local.INFO: Processing buffer {"connection_id":178556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:50:15] local.INFO: Packet analysis {"connection_id":178556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:50:15] local.INFO: Extracted packet for processing {"connection_id":178556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":178556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:50:15] local.INFO: GPS data processed {"connection_id":178556,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:50:15] local.INFO: Acknowledgment sent {"connection_id":178556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:50:30] local.INFO: TCP Data received {"connection_id":175748,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:50:30] local.INFO: Processing buffer {"connection_id":175748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:50:30] local.INFO: IMEI packet received {"connection_id":175748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":175748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:50:34] local.INFO: TCP Data received {"connection_id":175748,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:50:34] local.INFO: Processing buffer {"connection_id":175748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:50:34] local.INFO: IMEI packet received {"connection_id":175748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":175748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:50:35] local.INFO: TCP Data received {"connection_id":175748,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:50:35] local.INFO: Processing buffer {"connection_id":175748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:50:35] local.INFO: Packet analysis {"connection_id":175748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:50:35] local.INFO: Extracted packet for processing {"connection_id":175748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 18:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:50: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-09-09 18:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:50:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":175748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:50:35] local.INFO: GPS data processed {"connection_id":175748,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:50:35] local.INFO: Acknowledgment sent {"connection_id":175748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:50:43] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:50:43] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:50:43] local.INFO: IMEI packet received {"connection_id":175977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":175977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:50:49] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:50:49] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:50:49] local.INFO: IMEI packet received {"connection_id":175977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":175977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:50:50] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:50:50] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:50:50] local.INFO: Packet analysis {"connection_id":175977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:50:50] local.INFO: Extracted packet for processing {"connection_id":175977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:50:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:50: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-09-09 18:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:50:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":175977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:50:50] local.INFO: GPS data processed {"connection_id":175977,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:50:50] local.INFO: Acknowledgment sent {"connection_id":175977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:51:06] local.INFO: TCP Data received {"connection_id":175748,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:51:06] local.INFO: Processing buffer {"connection_id":175748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:51:06] local.INFO: Packet analysis {"connection_id":175748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:51:06] local.INFO: Extracted packet for processing {"connection_id":175748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 18:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18: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-09-09 18:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:51:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":175748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:51:06] local.INFO: GPS data processed {"connection_id":175748,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:51:06] local.INFO: Acknowledgment sent {"connection_id":175748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:51:21] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:51:21] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:51:21] local.INFO: Packet analysis {"connection_id":175977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:51:21] local.INFO: Extracted packet for processing {"connection_id":175977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:51:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":175977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:51:21] local.INFO: GPS data processed {"connection_id":175977,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:51:21] local.INFO: Acknowledgment sent {"connection_id":175977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:51:29] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:51:29] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:51:29] local.INFO: IMEI packet received {"connection_id":175749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":175749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:51:34] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:51:34] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:51:34] local.INFO: IMEI packet received {"connection_id":175749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":175749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:51:35] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:51:35] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:51:35] local.INFO: Packet analysis {"connection_id":175749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:51:35] local.INFO: Extracted packet for processing {"connection_id":175749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:51:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 18:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:51:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":175749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:51:35] local.INFO: GPS data processed {"connection_id":175749,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:51:35] local.INFO: Acknowledgment sent {"connection_id":175749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:51:38] local.INFO: TCP Data received {"connection_id":177147,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:51:38] local.INFO: Processing buffer {"connection_id":177147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:51:38] local.INFO: IMEI packet received {"connection_id":177147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":177147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:51:43] local.INFO: TCP Data received {"connection_id":177147,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:51:43] local.INFO: Processing buffer {"connection_id":177147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:51:43] local.INFO: IMEI packet received {"connection_id":177147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":177147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:51:45] local.INFO: TCP Data received {"connection_id":177147,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:51:45] local.INFO: Processing buffer {"connection_id":177147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:51:45] local.INFO: Packet analysis {"connection_id":177147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:51:45] local.INFO: Extracted packet for processing {"connection_id":177147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":177147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:51:45] local.INFO: GPS data processed {"connection_id":177147,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:51:45] local.INFO: Acknowledgment sent {"connection_id":177147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:52:06] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:52:06] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:52:06] local.INFO: Packet analysis {"connection_id":175749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:52:06] local.INFO: Extracted packet for processing {"connection_id":175749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 18:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:52: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-09-09 18:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-09 18:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:52:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":175749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:52:07] local.INFO: GPS data processed {"connection_id":175749,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:52:07] local.INFO: Acknowledgment sent {"connection_id":175749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:52:16] local.INFO: TCP Data received {"connection_id":177147,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:52:16] local.INFO: Processing buffer {"connection_id":177147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:52:16] local.INFO: Packet analysis {"connection_id":177147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:52:16] local.INFO: Extracted packet for processing {"connection_id":177147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":177147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:52:16] local.INFO: GPS data processed {"connection_id":177147,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:52:16] local.INFO: Acknowledgment sent {"connection_id":177147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:52:29] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:52:29] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:52:29] local.INFO: IMEI packet received {"connection_id":175751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":175751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:52:34] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:52:34] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:52:34] local.INFO: IMEI packet received {"connection_id":175751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":175751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:52:35] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:52:35] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08650dae8012d1826800721bc980049001b27..."} 
[2026-09-09 18:52:35] local.INFO: Packet analysis {"connection_id":175751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:52:35] local.INFO: Extracted packet for processing {"connection_id":175751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08650"} 
[2026-09-09 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973642240001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788959841000,"timestamp_ms":1788959841000,"timestamp_seconds":1788959841,"priority":1,"record_length":96,"hex_timestamp":"000001a08650dae8"} 
[2026-09-09 18:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:52: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-09-09 18:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973642240001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973642240001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:52:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973642240001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":175751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:52:35] local.INFO: GPS data processed {"connection_id":175751,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:52:35] local.INFO: Acknowledgment sent {"connection_id":175751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:52:43] local.INFO: TCP Data received {"connection_id":178557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:52:43] local.INFO: Processing buffer {"connection_id":178557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:52:43] local.INFO: IMEI packet received {"connection_id":178557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":178557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:52:48] local.INFO: TCP Data received {"connection_id":178557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:52:48] local.INFO: Processing buffer {"connection_id":178557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:52:48] local.INFO: IMEI packet received {"connection_id":178557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":178557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:52:49] local.INFO: TCP Data received {"connection_id":178557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:52:49] local.INFO: Processing buffer {"connection_id":178557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:52:49] local.INFO: Packet analysis {"connection_id":178557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:52:49] local.INFO: Extracted packet for processing {"connection_id":178557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":178557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:52:49] local.INFO: GPS data processed {"connection_id":178557,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:52:49] local.INFO: Acknowledgment sent {"connection_id":178557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:53:06] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:53:06] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:53:06] local.INFO: Packet analysis {"connection_id":175751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:53:06] local.INFO: Extracted packet for processing {"connection_id":175751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:53: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-09-09 18: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-09-09 18:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:53:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":175751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:53:06] local.INFO: GPS data processed {"connection_id":175751,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:53:06] local.INFO: Acknowledgment sent {"connection_id":175751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:53:20] local.INFO: TCP Data received {"connection_id":178557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:53:20] local.INFO: Processing buffer {"connection_id":178557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:53:20] local.INFO: Packet analysis {"connection_id":178557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:53:20] local.INFO: Extracted packet for processing {"connection_id":178557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:53:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":178557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:53:20] local.INFO: GPS data processed {"connection_id":178557,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:53:20] local.INFO: Acknowledgment sent {"connection_id":178557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:53:34] local.INFO: TCP Data received {"connection_id":175978,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:53:34] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:53:34] local.INFO: IMEI packet received {"connection_id":175978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":175978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:53:38] local.INFO: TCP Data received {"connection_id":177149,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:53:38] local.INFO: Processing buffer {"connection_id":177149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:53:38] local.INFO: IMEI packet received {"connection_id":177149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":177149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:53:39] local.INFO: TCP Data received {"connection_id":175978,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:53:39] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:53:39] local.INFO: IMEI packet received {"connection_id":175978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":175978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:53:40] local.INFO: TCP Data received {"connection_id":175978,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:53:40] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:53:40] local.INFO: Packet analysis {"connection_id":175978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:53:40] local.INFO: Extracted packet for processing {"connection_id":175978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53: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-09-09 18:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:53: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-09-09 18:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:53:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":175978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:53:40] local.INFO: GPS data processed {"connection_id":175978,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:53:40] local.INFO: Acknowledgment sent {"connection_id":175978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:53:43] local.INFO: TCP Data received {"connection_id":177149,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:53:43] local.INFO: Processing buffer {"connection_id":177149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:53:43] local.INFO: IMEI packet received {"connection_id":177149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":177149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:53:45] local.INFO: TCP Data received {"connection_id":177149,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:53:45] local.INFO: Processing buffer {"connection_id":177149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08651dcb8012d34cc4006aa49080000013429..."} 
[2026-09-09 18:53:45] local.INFO: Packet analysis {"connection_id":177149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:53:45] local.INFO: Extracted packet for processing {"connection_id":177149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08651"} 
[2026-09-09 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973659136001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788959907000,"timestamp_ms":1788959907000,"timestamp_seconds":1788959907,"priority":1,"record_length":96,"hex_timestamp":"000001a08651dcb8"} 
[2026-09-09 18:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 18:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973659136001,"66":25538,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973659136001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:53:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973659136001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":177149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:53:45] local.INFO: GPS data processed {"connection_id":177149,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:53:45] local.INFO: Acknowledgment sent {"connection_id":177149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:54:12] local.INFO: TCP Data received {"connection_id":175978,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:54:12] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:54:12] local.INFO: Packet analysis {"connection_id":175978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:54:12] local.INFO: Extracted packet for processing {"connection_id":175978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54: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-09-09 18:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:54: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-09-09 18:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:54:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":175978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:54:12] local.INFO: GPS data processed {"connection_id":175978,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:54:12] local.INFO: Acknowledgment sent {"connection_id":175978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:54:16] local.INFO: TCP Data received {"connection_id":177149,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:54:16] local.INFO: Processing buffer {"connection_id":177149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:54:16] local.INFO: Packet analysis {"connection_id":177149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:54:16] local.INFO: Extracted packet for processing {"connection_id":177149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":177149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:54:16] local.INFO: GPS data processed {"connection_id":177149,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:54:16] local.INFO: Acknowledgment sent {"connection_id":177149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:54:29] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:54:29] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:54:29] local.INFO: IMEI packet received {"connection_id":175979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":175979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:54:34] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:54:34] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:54:34] local.INFO: IMEI packet received {"connection_id":175979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":175979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:54:35] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:54:35] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:54:35] local.INFO: Packet analysis {"connection_id":175979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:54:35] local.INFO: Extracted packet for processing {"connection_id":175979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:54:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":175979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:54:35] local.INFO: GPS data processed {"connection_id":175979,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:54:35] local.INFO: Acknowledgment sent {"connection_id":175979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:54:38] local.INFO: TCP Data received {"connection_id":178558,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:54:38] local.INFO: Processing buffer {"connection_id":178558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:54:38] local.INFO: IMEI packet received {"connection_id":178558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":178558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:54:43] local.INFO: TCP Data received {"connection_id":178558,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:54:43] local.INFO: Processing buffer {"connection_id":178558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:54:43] local.INFO: IMEI packet received {"connection_id":178558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":178558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:54:44] local.INFO: TCP Data received {"connection_id":178558,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:54:44] local.INFO: Processing buffer {"connection_id":178558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:54:44] local.INFO: Packet analysis {"connection_id":178558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:54:44] local.INFO: Extracted packet for processing {"connection_id":178558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:54:44] 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-09-09 18:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":178558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:54:44] local.INFO: GPS data processed {"connection_id":178558,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:54:44] local.INFO: Acknowledgment sent {"connection_id":178558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:55:06] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:55:06] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:55:06] local.INFO: Packet analysis {"connection_id":175979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:55:06] local.INFO: Extracted packet for processing {"connection_id":175979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:55: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-09-09 18: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-09-09 18:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:55:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":175979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:55:06] local.INFO: GPS data processed {"connection_id":175979,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:55:06] local.INFO: Acknowledgment sent {"connection_id":175979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:55:15] local.INFO: TCP Data received {"connection_id":178558,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:55:15] local.INFO: Processing buffer {"connection_id":178558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:55:15] local.INFO: Packet analysis {"connection_id":178558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:55:15] local.INFO: Extracted packet for processing {"connection_id":178558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:55:15] 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-09-09 18:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":178558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:55:15] local.INFO: GPS data processed {"connection_id":178558,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:55:15] local.INFO: Acknowledgment sent {"connection_id":178558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:55:18] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:55:18] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 18:55:18] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 18:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:55:29] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:55:29] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:55:29] local.INFO: IMEI packet received {"connection_id":175753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":175753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:55:34] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:55:34] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:55:34] local.INFO: IMEI packet received {"connection_id":175753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":175753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:55:35] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:55:35] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:55:35] local.INFO: Packet analysis {"connection_id":175753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:55:35] local.INFO: Extracted packet for processing {"connection_id":175753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 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-09-09 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:55:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":175753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:55:35] local.INFO: GPS data processed {"connection_id":175753,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:55:35] local.INFO: Acknowledgment sent {"connection_id":175753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:55:38] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:55:38] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:55:38] local.INFO: IMEI packet received {"connection_id":175980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":175980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:55:43] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:55:43] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:55:43] local.INFO: IMEI packet received {"connection_id":175980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":175980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:55:44] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:55:44] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:55:44] local.INFO: Packet analysis {"connection_id":175980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:55:44] local.INFO: Extracted packet for processing {"connection_id":175980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:55:44] 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-09-09 18: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-09-09 18:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":175980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:55:44] local.INFO: GPS data processed {"connection_id":175980,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:55:44] local.INFO: Acknowledgment sent {"connection_id":175980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:56:06] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:56:06] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:56:06] local.INFO: Packet analysis {"connection_id":175753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:56:06] local.INFO: Extracted packet for processing {"connection_id":175753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56: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-09-09 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:56: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-09-09 18:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:56:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":175753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:56:06] local.INFO: GPS data processed {"connection_id":175753,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:56:06] local.INFO: Acknowledgment sent {"connection_id":175753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:56:15] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:56:15] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:56:15] local.INFO: Packet analysis {"connection_id":175980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:56:15] local.INFO: Extracted packet for processing {"connection_id":175980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:56:15] 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-09-09 18:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":175980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:56:15] local.INFO: GPS data processed {"connection_id":175980,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:56:15] local.INFO: Acknowledgment sent {"connection_id":175980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:56:29] local.INFO: TCP Data received {"connection_id":175754,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:56:29] local.INFO: Processing buffer {"connection_id":175754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:56:29] local.INFO: IMEI packet received {"connection_id":175754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":175754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:56:34] local.INFO: TCP Data received {"connection_id":175754,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:56:34] local.INFO: Processing buffer {"connection_id":175754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:56:34] local.INFO: IMEI packet received {"connection_id":175754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":175754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:56:35] local.INFO: TCP Data received {"connection_id":175754,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:56:35] local.INFO: Processing buffer {"connection_id":175754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:56:35] local.INFO: Packet analysis {"connection_id":175754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:56:35] local.INFO: Extracted packet for processing {"connection_id":175754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:56:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":175754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:56:35] local.INFO: GPS data processed {"connection_id":175754,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:56:35] local.INFO: Acknowledgment sent {"connection_id":175754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:56:38] local.INFO: TCP Data received {"connection_id":175755,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:56:38] local.INFO: Processing buffer {"connection_id":175755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:56:38] local.INFO: IMEI packet received {"connection_id":175755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":175755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:56:43] local.INFO: TCP Data received {"connection_id":175755,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:56:43] local.INFO: Processing buffer {"connection_id":175755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:56:43] local.INFO: IMEI packet received {"connection_id":175755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":175755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:56:45] local.INFO: TCP Data received {"connection_id":175755,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:56:45] local.INFO: Processing buffer {"connection_id":175755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:56:45] local.INFO: Packet analysis {"connection_id":175755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:56:45] local.INFO: Extracted packet for processing {"connection_id":175755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:56:45] 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-09-09 18:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:56:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":175755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:56:45] local.INFO: GPS data processed {"connection_id":175755,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:56:45] local.INFO: Acknowledgment sent {"connection_id":175755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:57:06] local.INFO: TCP Data received {"connection_id":175754,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:57:06] local.INFO: Processing buffer {"connection_id":175754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:57:06] local.INFO: Packet analysis {"connection_id":175754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:57:06] local.INFO: Extracted packet for processing {"connection_id":175754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18: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-09-09 18:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:57:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":175754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:57:07] local.INFO: GPS data processed {"connection_id":175754,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:57:07] local.INFO: Acknowledgment sent {"connection_id":175754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:57:16] local.INFO: TCP Data received {"connection_id":175755,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:57:16] local.INFO: Processing buffer {"connection_id":175755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:57:16] local.INFO: Packet analysis {"connection_id":175755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:57:16] local.INFO: Extracted packet for processing {"connection_id":175755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":175755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:57:16] local.INFO: GPS data processed {"connection_id":175755,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:57:16] local.INFO: Acknowledgment sent {"connection_id":175755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:57:34] local.INFO: TCP Data received {"connection_id":175981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:57:34] local.INFO: Processing buffer {"connection_id":175981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:57:34] local.INFO: IMEI packet received {"connection_id":175981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":175981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:57:39] local.INFO: TCP Data received {"connection_id":175981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:57:39] local.INFO: Processing buffer {"connection_id":175981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:57:39] local.INFO: IMEI packet received {"connection_id":175981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":175981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:57:40] local.INFO: TCP Data received {"connection_id":175981,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:57:40] local.INFO: Processing buffer {"connection_id":175981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:57:40] local.INFO: Packet analysis {"connection_id":175981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:57:40] local.INFO: Extracted packet for processing {"connection_id":175981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57: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-09-09 18:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:57: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-09-09 18:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:57:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":175981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:57:40] local.INFO: GPS data processed {"connection_id":175981,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:57:40] local.INFO: Acknowledgment sent {"connection_id":175981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:57:43] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:57:43] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:57:43] local.INFO: IMEI packet received {"connection_id":175982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":175982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:57:45] local.INFO: TCP Data received {"connection_id":175981,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:57:45] local.INFO: Processing buffer {"connection_id":175981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865572b0012d1826800721bc980049001b28..."} 
[2026-09-09 18:57:45] local.INFO: Packet analysis {"connection_id":175981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:57:45] local.INFO: Extracted packet for processing {"connection_id":175981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08655"} 
[2026-09-09 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973719296001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788960142000,"timestamp_ms":1788960142000,"timestamp_seconds":1788960142,"priority":1,"record_length":96,"hex_timestamp":"000001a0865572b0"} 
[2026-09-09 18:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973719296001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973719296001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:57:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973719296001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":175981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:57:45] local.INFO: GPS data processed {"connection_id":175981,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:57:45] local.INFO: Acknowledgment sent {"connection_id":175981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:57:49] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:57:49] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:57:49] local.INFO: IMEI packet received {"connection_id":175982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":175982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:57:50] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:57:50] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:57:50] local.INFO: Packet analysis {"connection_id":175982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:57:50] local.INFO: Extracted packet for processing {"connection_id":175982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:57:50] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:57:50] 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-09-09 18:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:57: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-09-09 18:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:57:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":175982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:57:50] local.INFO: GPS data processed {"connection_id":175982,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:57:50] local.INFO: Acknowledgment sent {"connection_id":175982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:57:54] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:57:54] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:57:54] local.INFO: Packet analysis {"connection_id":175982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:57:54] local.INFO: Extracted packet for processing {"connection_id":175982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:57:54] 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-09-09 18:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:57:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":175982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:57:54] local.INFO: GPS data processed {"connection_id":175982,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:57:54] local.INFO: Acknowledgment sent {"connection_id":175982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:58:29] local.INFO: TCP Data received {"connection_id":178560,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:58:29] local.INFO: Processing buffer {"connection_id":178560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:58:29] local.INFO: IMEI packet received {"connection_id":178560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":178560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:58:34] local.INFO: TCP Data received {"connection_id":178560,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:58:34] local.INFO: Processing buffer {"connection_id":178560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:58:34] local.INFO: IMEI packet received {"connection_id":178560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":178560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:58:35] local.INFO: TCP Data received {"connection_id":178560,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 18:58:35] local.INFO: Processing buffer {"connection_id":178560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 18:58:35] local.INFO: Packet analysis {"connection_id":178560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 18:58:35] local.INFO: Extracted packet for processing {"connection_id":178560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973796352001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:58: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-09-09 18:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960443000,"timestamp_ms":1788960443000,"timestamp_seconds":1788960443,"priority":1,"record_length":96,"hex_timestamp":"000001a0865a0a78"} 
[2026-09-09 18:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973796352001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973796352001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:58:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973796352001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":178560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:58:35] local.INFO: GPS data processed {"connection_id":178560,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:58:35] local.INFO: Acknowledgment sent {"connection_id":178560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:58:38] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:58:38] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:58:38] local.INFO: IMEI packet received {"connection_id":175984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":175984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:58:43] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:58:43] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:58:43] local.INFO: IMEI packet received {"connection_id":175984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":175984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:58:44] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:58:44] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086567480012d34cc4006aa49080000013429..."} 
[2026-09-09 18:58:44] local.INFO: Packet analysis {"connection_id":175984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:58:44] local.INFO: Extracted packet for processing {"connection_id":175984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08656"} 
[2026-09-09 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973736192001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788960208000,"timestamp_ms":1788960208000,"timestamp_seconds":1788960208,"priority":1,"record_length":96,"hex_timestamp":"000001a086567480"} 
[2026-09-09 18:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 18:58:44] 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-09-09 18:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973736192001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973736192001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:58:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973736192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":175984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:58:44] local.INFO: GPS data processed {"connection_id":175984,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:58:44] local.INFO: Acknowledgment sent {"connection_id":175984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:59:06] local.INFO: TCP Data received {"connection_id":178560,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 18:59:06] local.INFO: Processing buffer {"connection_id":178560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 18:59:06] local.INFO: Packet analysis {"connection_id":178560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 18:59:06] local.INFO: Extracted packet for processing {"connection_id":178560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973796352001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59: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-09-09 18:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960443000,"timestamp_ms":1788960443000,"timestamp_seconds":1788960443,"priority":1,"record_length":96,"hex_timestamp":"000001a0865a0a78"} 
[2026-09-09 18:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18: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-09-09 18: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-09-09 18:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973796352001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973796352001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:59:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973796352001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":178560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:59:06] local.INFO: GPS data processed {"connection_id":178560,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:59:06] local.INFO: Acknowledgment sent {"connection_id":178560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:59:17] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 18:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 18:59:17] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 18:59:17] local.INFO: Packet analysis {"connection_id":175984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 18:59:17] local.INFO: Extracted packet for processing {"connection_id":175984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 18:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 18:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":175984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:59:17] local.INFO: GPS data processed {"connection_id":175984,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:59:17] local.INFO: Acknowledgment sent {"connection_id":175984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:59:29] local.INFO: TCP Data received {"connection_id":177150,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:59:29] local.INFO: Processing buffer {"connection_id":177150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:59:29] local.INFO: IMEI packet received {"connection_id":177150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 18:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":177150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:59:34] local.INFO: TCP Data received {"connection_id":177150,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:59:34] local.INFO: Processing buffer {"connection_id":177150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 18:59:34] local.INFO: IMEI packet received {"connection_id":177150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":177150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:59:35] local.INFO: TCP Data received {"connection_id":177150,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 18:59:35] local.INFO: Processing buffer {"connection_id":177150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 18:59:35] local.INFO: Packet analysis {"connection_id":177150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 18:59:35] local.INFO: Extracted packet for processing {"connection_id":177150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 18: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-09-09 18:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973796352001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960443000,"timestamp_ms":1788960443000,"timestamp_seconds":1788960443,"priority":1,"record_length":96,"hex_timestamp":"000001a0865a0a78"} 
[2026-09-09 18:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 18:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18: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-09-09 18:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 18:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 18:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 18:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973796352001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 18:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 18:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 18:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973796352001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:59:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 18:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 18:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 18:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973796352001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 18:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":177150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:59:35] local.INFO: GPS data processed {"connection_id":177150,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:59:35] local.INFO: Acknowledgment sent {"connection_id":177150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 18:59:38] local.INFO: TCP Data received {"connection_id":175757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:59:38] local.INFO: Processing buffer {"connection_id":175757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:59:38] local.INFO: IMEI packet received {"connection_id":175757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 18:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":175757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 18:59:43] local.INFO: TCP Data received {"connection_id":175757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:59:43] local.INFO: Processing buffer {"connection_id":175757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 18:59:43] local.INFO: IMEI packet received {"connection_id":175757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 18:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":175757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 18:59:45] local.INFO: TCP Data received {"connection_id":175757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 18:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 18:59:45] local.INFO: Processing buffer {"connection_id":175757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 18:59:45] local.INFO: Packet analysis {"connection_id":175757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 18:59:45] local.INFO: Extracted packet for processing {"connection_id":175757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 18:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 18:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 18:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 18:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 18:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 18:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 18:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 18:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 18:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 18:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 18:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 18:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 18:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 18:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 18:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 18:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 18:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 18:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 18:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 18:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 18:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 18:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 18:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 18:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 18:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 18:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 18:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":175757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 18:59:45] local.INFO: GPS data processed {"connection_id":175757,"processed":1,"errors":0,"total":1} 
[2026-09-09 18:59:45] local.INFO: Acknowledgment sent {"connection_id":175757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:00:06] local.INFO: TCP Data received {"connection_id":177150,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:00:06] local.INFO: Processing buffer {"connection_id":177150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:00:06] local.INFO: Packet analysis {"connection_id":177150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:00:06] local.INFO: Extracted packet for processing {"connection_id":177150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973796352001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960443000,"timestamp_ms":1788960443000,"timestamp_seconds":1788960443,"priority":1,"record_length":96,"hex_timestamp":"000001a0865a0a78"} 
[2026-09-09 19:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19: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-09-09 19: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-09-09 19:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973796352001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973796352001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:00:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973796352001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":177150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:00:06] local.INFO: GPS data processed {"connection_id":177150,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:00:06] local.INFO: Acknowledgment sent {"connection_id":177150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:00:17] local.INFO: TCP Data received {"connection_id":175757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:00:17] local.INFO: Processing buffer {"connection_id":175757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:00:17] local.INFO: Packet analysis {"connection_id":175757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:00:17] local.INFO: Extracted packet for processing {"connection_id":175757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 19:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":175757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:00:17] local.INFO: GPS data processed {"connection_id":175757,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:00:17] local.INFO: Acknowledgment sent {"connection_id":175757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:00:21] local.INFO: TCP Data received {"connection_id":177151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:00:21] local.INFO: Processing buffer {"connection_id":177151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:00:21] local.INFO: IMEI packet received {"connection_id":177151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":177151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:00:29] local.INFO: TCP Data received {"connection_id":175986,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:00:29] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:00:29] local.INFO: IMEI packet received {"connection_id":175986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":175986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:00:34] local.INFO: TCP Data received {"connection_id":175986,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:00:34] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:00:34] local.INFO: IMEI packet received {"connection_id":175986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":175986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:00:35] local.INFO: TCP Data received {"connection_id":175986,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:00:35] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:00:35] local.INFO: Packet analysis {"connection_id":175986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:00:35] local.INFO: Extracted packet for processing {"connection_id":175986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973796352001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960443000,"timestamp_ms":1788960443000,"timestamp_seconds":1788960443,"priority":1,"record_length":96,"hex_timestamp":"000001a0865a0a78"} 
[2026-09-09 19:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973796352001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973796352001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:00:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973796352001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":175986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:00:35] local.INFO: GPS data processed {"connection_id":175986,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:00:35] local.INFO: Acknowledgment sent {"connection_id":175986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:00:40] local.INFO: TCP Data received {"connection_id":177153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:00:40] local.INFO: Processing buffer {"connection_id":177153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:00:40] local.INFO: IMEI packet received {"connection_id":177153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":177153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:00:45] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:00:45] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:00:45] local.INFO: IMEI packet received {"connection_id":177152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":177152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:00:48] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:00:48] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:00:48] local.INFO: IMEI packet received {"connection_id":177152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":177152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:00:49] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:00:49] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:00:49] local.INFO: Packet analysis {"connection_id":177152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:00:49] local.INFO: Extracted packet for processing {"connection_id":177152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 19:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":177152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:00:49] local.INFO: GPS data processed {"connection_id":177152,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:00:49] local.INFO: Acknowledgment sent {"connection_id":177152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:00:54] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:00:54] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:00:54] local.INFO: Packet analysis {"connection_id":177152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:00:54] local.INFO: Extracted packet for processing {"connection_id":177152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:00:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 19:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:00:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:00:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":177152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:00:54] local.INFO: GPS data processed {"connection_id":177152,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:00:54] local.INFO: Acknowledgment sent {"connection_id":177152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:01:06] local.INFO: TCP Data received {"connection_id":175986,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:01:06] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:01:06] local.INFO: Packet analysis {"connection_id":175986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:01:06] local.INFO: Extracted packet for processing {"connection_id":175986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973796352001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960443000,"timestamp_ms":1788960443000,"timestamp_seconds":1788960443,"priority":1,"record_length":96,"hex_timestamp":"000001a0865a0a78"} 
[2026-09-09 19:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19: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-09-09 19:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973796352001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973796352001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:01:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973796352001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":175986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:01:06] local.INFO: GPS data processed {"connection_id":175986,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:01:06] local.INFO: Acknowledgment sent {"connection_id":175986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:01:29] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:01:29] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:01:29] local.INFO: IMEI packet received {"connection_id":175987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":175987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:01:34] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:01:34] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:01:34] local.INFO: IMEI packet received {"connection_id":175987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":175987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:01:35] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:01:35] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:01:35] local.INFO: Packet analysis {"connection_id":175987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:01:35] local.INFO: Extracted packet for processing {"connection_id":175987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973796352001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960443000,"timestamp_ms":1788960443000,"timestamp_seconds":1788960443,"priority":1,"record_length":96,"hex_timestamp":"000001a0865a0a78"} 
[2026-09-09 19:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:01: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-09-09 19:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973796352001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973796352001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:01:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973796352001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":175987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:01:35] local.INFO: GPS data processed {"connection_id":175987,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:01:35] local.INFO: Acknowledgment sent {"connection_id":175987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:01:38] local.INFO: TCP Data received {"connection_id":178561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:01:38] local.INFO: Processing buffer {"connection_id":178561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:01:38] local.INFO: IMEI packet received {"connection_id":178561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":178561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:01:43] local.INFO: TCP Data received {"connection_id":178561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:01:43] local.INFO: Processing buffer {"connection_id":178561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:01:43] local.INFO: IMEI packet received {"connection_id":178561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":178561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:01:45] local.INFO: TCP Data received {"connection_id":178561,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:01:45] local.INFO: Processing buffer {"connection_id":178561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:01:45] local.INFO: Packet analysis {"connection_id":178561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:01:45] local.INFO: Extracted packet for processing {"connection_id":178561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 19:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:01:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":178561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:01:45] local.INFO: GPS data processed {"connection_id":178561,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:01:45] local.INFO: Acknowledgment sent {"connection_id":178561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:02:06] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:02:06] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:02:06] local.INFO: Packet analysis {"connection_id":175987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:02:06] local.INFO: Extracted packet for processing {"connection_id":175987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973796352001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960443000,"timestamp_ms":1788960443000,"timestamp_seconds":1788960443,"priority":1,"record_length":96,"hex_timestamp":"000001a0865a0a78"} 
[2026-09-09 19:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19: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-09-09 19:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973796352001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973796352001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:02:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973796352001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":175987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:02:06] local.INFO: GPS data processed {"connection_id":175987,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:02:06] local.INFO: Acknowledgment sent {"connection_id":175987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:02:16] local.INFO: TCP Data received {"connection_id":178561,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:02:16] local.INFO: Processing buffer {"connection_id":178561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:02:16] local.INFO: Packet analysis {"connection_id":178561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:02:16] local.INFO: Extracted packet for processing {"connection_id":178561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 19:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":178561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:02:16] local.INFO: GPS data processed {"connection_id":178561,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:02:16] local.INFO: Acknowledgment sent {"connection_id":178561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:02:29] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:02:29] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:02:29] local.INFO: IMEI packet received {"connection_id":175988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":175988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:02:34] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:02:34] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:02:34] local.INFO: IMEI packet received {"connection_id":175988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":175988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:02:35] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:02:35] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865a0a78012d1826800721bc980049001b26..."} 
[2026-09-09 19:02:35] local.INFO: Packet analysis {"connection_id":175988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:02:35] local.INFO: Extracted packet for processing {"connection_id":175988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865a"} 
[2026-09-09 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973796352001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02: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-09-09 19:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960443000,"timestamp_ms":1788960443000,"timestamp_seconds":1788960443,"priority":1,"record_length":96,"hex_timestamp":"000001a0865a0a78"} 
[2026-09-09 19:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973796352001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973796352001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:02:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973796352001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":175988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:02:35] local.INFO: GPS data processed {"connection_id":175988,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:02:35] local.INFO: Acknowledgment sent {"connection_id":175988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:02:38] local.INFO: TCP Data received {"connection_id":178562,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:02:38] local.INFO: Processing buffer {"connection_id":178562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:02:38] local.INFO: IMEI packet received {"connection_id":178562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":178562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:02:43] local.INFO: TCP Data received {"connection_id":178562,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:02:43] local.INFO: Processing buffer {"connection_id":178562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:02:43] local.INFO: IMEI packet received {"connection_id":178562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":178562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:02:44] local.INFO: TCP Data received {"connection_id":178562,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:02:44] local.INFO: Processing buffer {"connection_id":178562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:02:44] local.INFO: Packet analysis {"connection_id":178562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:02:44] local.INFO: Extracted packet for processing {"connection_id":178562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 19:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:02:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":178562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:02:44] local.INFO: GPS data processed {"connection_id":178562,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:02:44] local.INFO: Acknowledgment sent {"connection_id":178562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:03:06] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:03:06] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:03:06] local.INFO: Packet analysis {"connection_id":175988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:03:06] local.INFO: Extracted packet for processing {"connection_id":175988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03: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-09-09 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 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-09-09 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:03: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-09-09 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-09-09 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-09-09 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:03:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":175988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:03:06] local.INFO: GPS data processed {"connection_id":175988,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:03:06] local.INFO: Acknowledgment sent {"connection_id":175988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:03:16] local.INFO: TCP Data received {"connection_id":178562,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:03:16] local.INFO: Processing buffer {"connection_id":178562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:03:16] local.INFO: Packet analysis {"connection_id":178562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:03:16] local.INFO: Extracted packet for processing {"connection_id":178562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 19:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":178562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:03:16] local.INFO: GPS data processed {"connection_id":178562,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:03:16] local.INFO: Acknowledgment sent {"connection_id":178562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:03:34] local.INFO: TCP Data received {"connection_id":177155,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:03:34] local.INFO: Processing buffer {"connection_id":177155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:03:34] local.INFO: IMEI packet received {"connection_id":177155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":177155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:03:38] local.INFO: TCP Data received {"connection_id":175759,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:03:38] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:03:38] local.INFO: IMEI packet received {"connection_id":175759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":175759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:03:39] local.INFO: TCP Data received {"connection_id":177155,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:03:39] local.INFO: Processing buffer {"connection_id":177155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:03:39] local.INFO: IMEI packet received {"connection_id":177155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":177155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:03:40] local.INFO: TCP Data received {"connection_id":177155,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:03:40] local.INFO: Processing buffer {"connection_id":177155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:03:40] local.INFO: Packet analysis {"connection_id":177155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:03:40] local.INFO: Extracted packet for processing {"connection_id":177155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:03:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03: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-09-09 19:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 19:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:03:40] 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-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:03: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-09-09 19: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-09-09 19:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:03:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:03:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":177155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:03:40] local.INFO: GPS data processed {"connection_id":177155,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:03:40] local.INFO: Acknowledgment sent {"connection_id":177155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:03:43] local.INFO: TCP Data received {"connection_id":175759,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:03:43] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:03:43] local.INFO: IMEI packet received {"connection_id":175759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":175759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:03:44] local.INFO: TCP Data received {"connection_id":175759,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:03:44] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865b0c48012d34cc4006aa49080000013429..."} 
[2026-09-09 19:03:44] local.INFO: Packet analysis {"connection_id":175759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:03:44] local.INFO: Extracted packet for processing {"connection_id":175759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865b"} 
[2026-09-09 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973813248001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788960509000,"timestamp_ms":1788960509000,"timestamp_seconds":1788960509,"priority":1,"record_length":96,"hex_timestamp":"000001a0865b0c48"} 
[2026-09-09 19:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973813248001,"66":25582,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973813248001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973813248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":175759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:03:44] local.INFO: GPS data processed {"connection_id":175759,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:03:44] local.INFO: Acknowledgment sent {"connection_id":175759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:04:11] local.INFO: TCP Data received {"connection_id":177155,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:04:11] local.INFO: Processing buffer {"connection_id":177155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:04:11] local.INFO: Packet analysis {"connection_id":177155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:04:11] local.INFO: Extracted packet for processing {"connection_id":177155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04: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-09-09 19:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 19:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:04:11] 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-09-09 19:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:04: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-09-09 19:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:04: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-09-09 19:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:04:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":177155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:04:12] local.INFO: GPS data processed {"connection_id":177155,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:04:12] local.INFO: Acknowledgment sent {"connection_id":177155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:04:16] local.INFO: TCP Data received {"connection_id":175759,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:04:16] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:04:16] local.INFO: Packet analysis {"connection_id":175759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:04:16] local.INFO: Extracted packet for processing {"connection_id":175759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":5,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973890304001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788960810000,"timestamp_ms":1788960810000,"timestamp_seconds":1788960810,"priority":1,"record_length":96,"hex_timestamp":"000001a0865fa410"} 
[2026-09-09 19:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973890304001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973890304001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973890304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":175759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:04:16] local.INFO: GPS data processed {"connection_id":175759,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:04:16] local.INFO: Acknowledgment sent {"connection_id":175759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:04:29] local.INFO: TCP Data received {"connection_id":177156,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:04:29] local.INFO: Processing buffer {"connection_id":177156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:04:29] local.INFO: IMEI packet received {"connection_id":177156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":177156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:04:34] local.INFO: TCP Data received {"connection_id":177156,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:04:34] local.INFO: Processing buffer {"connection_id":177156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:04:34] local.INFO: IMEI packet received {"connection_id":177156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":177156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:04:35] local.INFO: TCP Data received {"connection_id":177156,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:04:35] local.INFO: Processing buffer {"connection_id":177156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:04:35] local.INFO: Packet analysis {"connection_id":177156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:04:35] local.INFO: Extracted packet for processing {"connection_id":177156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 19:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:04:35] 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-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:04: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-09-09 19:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:04:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":177156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:04:35] local.INFO: GPS data processed {"connection_id":177156,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:04:35] local.INFO: Acknowledgment sent {"connection_id":177156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:04:43] local.INFO: TCP Data received {"connection_id":175990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:04:43] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:04:43] local.INFO: IMEI packet received {"connection_id":175990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":175990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:04:48] local.INFO: TCP Data received {"connection_id":175990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:04:48] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:04:48] local.INFO: IMEI packet received {"connection_id":175990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":175990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:04:49] local.INFO: TCP Data received {"connection_id":175990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:04:49] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:04:49] local.INFO: Packet analysis {"connection_id":175990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:04:49] local.INFO: Extracted packet for processing {"connection_id":175990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":5,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973890304001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788960810000,"timestamp_ms":1788960810000,"timestamp_seconds":1788960810,"priority":1,"record_length":96,"hex_timestamp":"000001a0865fa410"} 
[2026-09-09 19:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973890304001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973890304001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973890304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":175990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:04:49] local.INFO: GPS data processed {"connection_id":175990,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:04:49] local.INFO: Acknowledgment sent {"connection_id":175990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:05:06] local.INFO: TCP Data received {"connection_id":177156,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:05:06] local.INFO: Processing buffer {"connection_id":177156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:05:06] local.INFO: Packet analysis {"connection_id":177156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:05:06] local.INFO: Extracted packet for processing {"connection_id":177156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 19:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:05: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-09-09 19:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:05:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":177156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:05:07] local.INFO: GPS data processed {"connection_id":177156,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:05:07] local.INFO: Acknowledgment sent {"connection_id":177156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:05:21] local.INFO: TCP Data received {"connection_id":175990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:05:21] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:05:21] local.INFO: Packet analysis {"connection_id":175990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:05:21] local.INFO: Extracted packet for processing {"connection_id":175990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":5,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973890304001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788960810000,"timestamp_ms":1788960810000,"timestamp_seconds":1788960810,"priority":1,"record_length":96,"hex_timestamp":"000001a0865fa410"} 
[2026-09-09 19:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973890304001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973890304001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:05:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973890304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":175990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:05:21] local.INFO: GPS data processed {"connection_id":175990,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:05:21] local.INFO: Acknowledgment sent {"connection_id":175990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:05:29] local.INFO: TCP Data received {"connection_id":177158,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:05:29] local.INFO: Processing buffer {"connection_id":177158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:05:29] local.INFO: IMEI packet received {"connection_id":177158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":177158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:05:34] local.INFO: TCP Data received {"connection_id":177158,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:05:34] local.INFO: Processing buffer {"connection_id":177158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:05:34] local.INFO: IMEI packet received {"connection_id":177158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":177158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:05:35] local.INFO: TCP Data received {"connection_id":177158,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:05:35] local.INFO: Processing buffer {"connection_id":177158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:05:35] local.INFO: Packet analysis {"connection_id":177158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:05:35] local.INFO: Extracted packet for processing {"connection_id":177158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 19:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:05:35] 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-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:05:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":177158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:05:35] local.INFO: GPS data processed {"connection_id":177158,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:05:35] local.INFO: Acknowledgment sent {"connection_id":177158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:05:38] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:05:38] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:05:38] local.INFO: IMEI packet received {"connection_id":175760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":175760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:05:43] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:05:43] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:05:43] local.INFO: IMEI packet received {"connection_id":175760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:05:44] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:05:44] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:05:44] local.INFO: Packet analysis {"connection_id":175760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:05:44] local.INFO: Extracted packet for processing {"connection_id":175760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":5,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973890304001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788960810000,"timestamp_ms":1788960810000,"timestamp_seconds":1788960810,"priority":1,"record_length":96,"hex_timestamp":"000001a0865fa410"} 
[2026-09-09 19:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973890304001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973890304001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973890304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":175760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:05:44] local.INFO: GPS data processed {"connection_id":175760,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:05:44] local.INFO: Acknowledgment sent {"connection_id":175760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:06:00] local.INFO: TCP Data received {"connection_id":175991,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:06:00] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:06:00] local.INFO: IMEI packet received {"connection_id":175991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":175991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:06:06] local.INFO: TCP Data received {"connection_id":177158,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:06:06] local.INFO: Processing buffer {"connection_id":177158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:06:06] local.INFO: Packet analysis {"connection_id":177158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:06:06] local.INFO: Extracted packet for processing {"connection_id":177158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 19:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19: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-09-09 19:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:06:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":177158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:06:06] local.INFO: GPS data processed {"connection_id":177158,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:06:06] local.INFO: Acknowledgment sent {"connection_id":177158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:06:15] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:06:15] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:06:15] local.INFO: Packet analysis {"connection_id":175760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:06:15] local.INFO: Extracted packet for processing {"connection_id":175760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":5,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973890304001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788960810000,"timestamp_ms":1788960810000,"timestamp_seconds":1788960810,"priority":1,"record_length":96,"hex_timestamp":"000001a0865fa410"} 
[2026-09-09 19:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973890304001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973890304001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973890304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":175760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:06:15] local.INFO: GPS data processed {"connection_id":175760,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:06:15] local.INFO: Acknowledgment sent {"connection_id":175760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:06:29] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:06:29] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:06:29] local.INFO: IMEI packet received {"connection_id":175992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":175992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:06:34] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:06:34] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:06:34] local.INFO: IMEI packet received {"connection_id":175992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":175992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:06:35] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:06:35] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:06:35] local.INFO: Packet analysis {"connection_id":175992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:06:35] local.INFO: Extracted packet for processing {"connection_id":175992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 19:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:06:35] 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-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:06:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":175992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:06:35] local.INFO: GPS data processed {"connection_id":175992,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:06:35] local.INFO: Acknowledgment sent {"connection_id":175992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:06:38] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:06:38] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:06:38] local.INFO: IMEI packet received {"connection_id":175761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":175761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:06:43] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:06:43] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:06:43] local.INFO: IMEI packet received {"connection_id":175761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":175761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:06:44] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:06:44] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:06:44] local.INFO: Packet analysis {"connection_id":175761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:06:44] local.INFO: Extracted packet for processing {"connection_id":175761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":5,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973890304001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788960810000,"timestamp_ms":1788960810000,"timestamp_seconds":1788960810,"priority":1,"record_length":96,"hex_timestamp":"000001a0865fa410"} 
[2026-09-09 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-09-09 19:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973890304001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973890304001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973890304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":175761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:06:44] local.INFO: GPS data processed {"connection_id":175761,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:06:44] local.INFO: Acknowledgment sent {"connection_id":175761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:06:46] local.INFO: TCP Data received {"connection_id":178563,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:06:46] local.INFO: Processing buffer {"connection_id":178563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:06:46] local.INFO: IMEI packet received {"connection_id":178563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":178563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:07:06] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:07:06] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:07:06] local.INFO: Packet analysis {"connection_id":175992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:07:06] local.INFO: Extracted packet for processing {"connection_id":175992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 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-09-09 19:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:07: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-09-09 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-09-09 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-09-09 19:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:07:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":175992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:07:06] local.INFO: GPS data processed {"connection_id":175992,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:07:06] local.INFO: Acknowledgment sent {"connection_id":175992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:07:15] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:07:15] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:07:15] local.INFO: Packet analysis {"connection_id":175761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:07:15] local.INFO: Extracted packet for processing {"connection_id":175761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":5,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973890304001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788960810000,"timestamp_ms":1788960810000,"timestamp_seconds":1788960810,"priority":1,"record_length":96,"hex_timestamp":"000001a0865fa410"} 
[2026-09-09 19:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973890304001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973890304001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973890304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":175761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:07:15] local.INFO: GPS data processed {"connection_id":175761,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:07:15] local.INFO: Acknowledgment sent {"connection_id":175761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:07:29] local.INFO: TCP Data received {"connection_id":175762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:07:29] local.INFO: Processing buffer {"connection_id":175762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:07:29] local.INFO: IMEI packet received {"connection_id":175762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":175762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:07:34] local.INFO: TCP Data received {"connection_id":175762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:07:34] local.INFO: Processing buffer {"connection_id":175762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:07:34] local.INFO: IMEI packet received {"connection_id":175762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":175762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:07:35] local.INFO: TCP Data received {"connection_id":175762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:07:35] local.INFO: Processing buffer {"connection_id":175762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865ea240012d1826800721bc980049001b28..."} 
[2026-09-09 19:07:35] local.INFO: Packet analysis {"connection_id":175762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:07:35] local.INFO: Extracted packet for processing {"connection_id":175762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865e"} 
[2026-09-09 19:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973873408001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788960744000,"timestamp_ms":1788960744000,"timestamp_seconds":1788960744,"priority":1,"record_length":96,"hex_timestamp":"000001a0865ea240"} 
[2026-09-09 19:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:07:35] 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-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973873408001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973873408001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973873408001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":175762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:07:35] local.INFO: GPS data processed {"connection_id":175762,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:07:35] local.INFO: Acknowledgment sent {"connection_id":175762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:07:38] local.INFO: TCP Data received {"connection_id":178564,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:07:38] local.INFO: Processing buffer {"connection_id":178564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:07:38] local.INFO: IMEI packet received {"connection_id":178564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":178564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:07:43] local.INFO: TCP Data received {"connection_id":178564,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:07:43] local.INFO: Processing buffer {"connection_id":178564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:07:43] local.INFO: IMEI packet received {"connection_id":178564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":178564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:07:45] local.INFO: TCP Data received {"connection_id":178564,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:07:45] local.INFO: Processing buffer {"connection_id":178564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0865fa410012d34cc4006aa4908000501342b..."} 
[2026-09-09 19:07:45] local.INFO: Packet analysis {"connection_id":178564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:07:45] local.INFO: Extracted packet for processing {"connection_id":178564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0865f"} 
[2026-09-09 19:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":5,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973890304001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788960810000,"timestamp_ms":1788960810000,"timestamp_seconds":1788960810,"priority":1,"record_length":96,"hex_timestamp":"000001a0865fa410"} 
[2026-09-09 19:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973890304001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973890304001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:07:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973890304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":178564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:07:45] local.INFO: GPS data processed {"connection_id":178564,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:07:45] local.INFO: Acknowledgment sent {"connection_id":178564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:08:06] local.INFO: TCP Data received {"connection_id":175762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:08:06] local.INFO: Processing buffer {"connection_id":175762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:08:06] local.INFO: Packet analysis {"connection_id":175762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:08:06] local.INFO: Extracted packet for processing {"connection_id":175762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:08: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-09-09 19:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:08: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-09-09 19:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":175762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:08:06] local.INFO: GPS data processed {"connection_id":175762,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:08:06] local.INFO: Acknowledgment sent {"connection_id":175762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:08:16] local.INFO: TCP Data received {"connection_id":178564,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086632e50012d34cc4006aa49080000013429..."} 
[2026-09-09 19:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086632e50012d34cc4006aa49080000013429..."} 
[2026-09-09 19:08:16] local.INFO: Processing buffer {"connection_id":178564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086632e50012d34cc4006aa49080000013429..."} 
[2026-09-09 19:08:16] local.INFO: Packet analysis {"connection_id":178564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:08:16] local.INFO: Extracted packet for processing {"connection_id":178564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823112,"longitude_deg":75.843488,"latitude_deg":11.1823112,"altitude":0,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-09 19:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973967360001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788961042000,"timestamp_ms":1788961042000,"timestamp_seconds":1788961042,"priority":1,"record_length":96,"hex_timestamp":"000001a086632e50"} 
[2026-09-09 19:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 19:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973967360001,"66":25549,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973967360001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973967360001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":178564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:08:16] local.INFO: GPS data processed {"connection_id":178564,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:08:16] local.INFO: Acknowledgment sent {"connection_id":178564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:08:34] local.INFO: TCP Data received {"connection_id":177160,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:08:34] local.INFO: Processing buffer {"connection_id":177160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:08:34] local.INFO: IMEI packet received {"connection_id":177160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":177160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:08:38] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:08:38] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:08:38] local.INFO: IMEI packet received {"connection_id":175763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":175763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:08:39] local.INFO: TCP Data received {"connection_id":177160,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:08:39] local.INFO: Processing buffer {"connection_id":177160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:08:39] local.INFO: IMEI packet received {"connection_id":177160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":177160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:08:40] local.INFO: TCP Data received {"connection_id":177160,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:08:40] local.INFO: Processing buffer {"connection_id":177160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:08:40] local.INFO: Packet analysis {"connection_id":177160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:08:40] local.INFO: Extracted packet for processing {"connection_id":177160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:08:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08: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-09-09 19:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:08:40] 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-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:08: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-09-09 19: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-09-09 19:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:08:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:08:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":177160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:08:40] local.INFO: GPS data processed {"connection_id":177160,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:08:40] local.INFO: Acknowledgment sent {"connection_id":177160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:08:43] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:08:43] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:08:43] local.INFO: IMEI packet received {"connection_id":175763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":175763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:08:44] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086633df0012d34cc4006aa4a100000002729..."} 
[2026-09-09 19:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633df0012d34cc4006aa4a100000002729..."} 
[2026-09-09 19:08:44] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633df0012d34cc4006aa4a100000002729..."} 
[2026-09-09 19:08:44] local.INFO: Packet analysis {"connection_id":175763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:08:44] local.INFO: Extracted packet for processing {"connection_id":175763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823376,"longitude_deg":75.843488,"latitude_deg":11.1823376,"altitude":0,"angle":39,"satellites":41,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4a10","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974026752001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110950204342272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592120832,"note":"Value kept but may cause issues"} 
[2026-09-09 19:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961046000,"timestamp_ms":1788961046000,"timestamp_seconds":1788961046,"priority":1,"record_length":96,"hex_timestamp":"000001a086633df0"} 
[2026-09-09 19:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:08: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-09-09 19:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 19:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974026752001,"66":25299,"97":206,"81":23296,"24":0,"16":403110950204342272,"45":3804486182592120832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974026752001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110950204342272,"km_value":403110950204342.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592120832,"description":"Unknown IO ID 45"} 
[2026-09-09 19:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974026752001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592120832}} 
[2026-09-09 19:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":175763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:08:44] local.INFO: GPS data processed {"connection_id":175763,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:08:44] local.INFO: Acknowledgment sent {"connection_id":175763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:09:11] local.INFO: TCP Data received {"connection_id":177160,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:09:11] local.INFO: Processing buffer {"connection_id":177160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:09:11] local.INFO: Packet analysis {"connection_id":177160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:09:11] local.INFO: Extracted packet for processing {"connection_id":177160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09: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-09-09 19:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:09:11] 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-09-09 19:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:09: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-09-09 19:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:09:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":177160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:09:11] local.INFO: GPS data processed {"connection_id":177160,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:09:11] local.INFO: Acknowledgment sent {"connection_id":177160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:09:16] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086638ff8012d34cc4006aa4938000000272b..."} 
[2026-09-09 19:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086638ff8012d34cc4006aa4938000000272b..."} 
[2026-09-09 19:09:16] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086638ff8012d34cc4006aa4938000000272b..."} 
[2026-09-09 19:09:16] local.INFO: Packet analysis {"connection_id":175763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:09:16] local.INFO: Extracted packet for processing {"connection_id":175763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823160,"longitude_deg":75.843488,"latitude_deg":11.182316,"altitude":0,"angle":39,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4938","is_valid_coordinates":true} 
[2026-09-09 19:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974027776001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110975974146048,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592188416,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788961067000,"timestamp_ms":1788961067000,"timestamp_seconds":1788961067,"priority":1,"record_length":96,"hex_timestamp":"000001a086638ff8"} 
[2026-09-09 19:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-09 19:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974027776001,"66":27484,"97":206,"81":23296,"24":0,"16":403110975974146048,"45":3804486182592188416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974027776001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:09:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110975974146048,"km_value":403110975974146.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592188416,"description":"Unknown IO ID 45"} 
[2026-09-09 19:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974027776001,"power":27484,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592188416}} 
[2026-09-09 19:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":175763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:09:16] local.INFO: GPS data processed {"connection_id":175763,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:09:16] local.INFO: Acknowledgment sent {"connection_id":175763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:09:29] local.INFO: TCP Data received {"connection_id":175995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:09:29] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:09:29] local.INFO: IMEI packet received {"connection_id":175995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":175995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:09:34] local.INFO: TCP Data received {"connection_id":175995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:09:34] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:09:34] local.INFO: IMEI packet received {"connection_id":175995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":175995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:09:35] local.INFO: TCP Data received {"connection_id":175995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:09:35] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:09:35] local.INFO: Packet analysis {"connection_id":175995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:09:35] local.INFO: Extracted packet for processing {"connection_id":175995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09: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-09-09 19:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:09:35] 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-09-09 19:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:09: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-09-09 19:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:09:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":175995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:09:35] local.INFO: GPS data processed {"connection_id":175995,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:09:35] local.INFO: Acknowledgment sent {"connection_id":175995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:09:43] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:09:43] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:09:43] local.INFO: IMEI packet received {"connection_id":175764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":175764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:09:48] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:09:48] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:09:48] local.INFO: IMEI packet received {"connection_id":175764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":175764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:09:49] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08663e200012d34cc4006aa48b8000000272b..."} 
[2026-09-09 19:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08663e200012d34cc4006aa48b8000000272b..."} 
[2026-09-09 19:09:49] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08663e200012d34cc4006aa48b8000000272b..."} 
[2026-09-09 19:09:49] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:09:49] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823032,"longitude_deg":75.843488,"latitude_deg":11.1823032,"altitude":0,"angle":39,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa48b8","is_valid_coordinates":true} 
[2026-09-09 19:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974033152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110993154015232,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592133120,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788961088000,"timestamp_ms":1788961088000,"timestamp_seconds":1788961088,"priority":1,"record_length":96,"hex_timestamp":"000001a08663e200"} 
[2026-09-09 19:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 19:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974033152001,"66":27876,"97":206,"81":23296,"24":0,"16":403110993154015232,"45":3804486182592133120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974033152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110993154015232,"km_value":403110993154015.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592133120,"description":"Unknown IO ID 45"} 
[2026-09-09 19:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974033152001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592133120}} 
[2026-09-09 19:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:09:49] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:09:49] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:09:50] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086643408012d34cc0006aa4910000000272b..."} 
[2026-09-09 19:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086643408012d34cc0006aa4910000000272b..."} 
[2026-09-09 19:09:50] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086643408012d34cc0006aa4910000000272b..."} 
[2026-09-09 19:09:50] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08664"} 
[2026-09-09 19:09:50] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08664"} 
[2026-09-09 19:09:50] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111823120,"longitude_deg":75.8434816,"latitude_deg":11.182312,"altitude":0,"angle":39,"satellites":43,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-09 19:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974038528001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111014628851712,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592100352,"note":"Value kept but may cause issues"} 
[2026-09-09 19:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788961109000,"timestamp_ms":1788961109000,"timestamp_seconds":1788961109,"priority":1,"record_length":96,"hex_timestamp":"000001a086643408"} 
[2026-09-09 19:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-09 19:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974038528001,"66":27832,"97":206,"81":23296,"24":0,"16":403111014628851712,"45":3804486182592100352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974038528001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:09:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111014628851712,"km_value":403111014628851.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592100352,"description":"Unknown IO ID 45"} 
[2026-09-09 19:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974038528001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592100352}} 
[2026-09-09 19:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:09:50] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:09:50] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:10:06] local.INFO: TCP Data received {"connection_id":175995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:10:06] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:10:06] local.INFO: Packet analysis {"connection_id":175995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:10:06] local.INFO: Extracted packet for processing {"connection_id":175995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10: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-09-09 19:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19: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-09-09 19:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:10:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":175995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:10:06] local.INFO: GPS data processed {"connection_id":175995,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:10:06] local.INFO: Acknowledgment sent {"connection_id":175995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:10:21] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086648610012d34cc4006aa49e0000000272b..."} 
[2026-09-09 19:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086648610012d34cc4006aa49e0000000272b..."} 
[2026-09-09 19:10:21] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086648610012d34cc4006aa49e0000000272b..."} 
[2026-09-09 19:10:21] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08664"} 
[2026-09-09 19:10:21] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08664"} 
[2026-09-09 19:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823328,"longitude_deg":75.843488,"latitude_deg":11.1823328,"altitude":0,"angle":39,"satellites":43,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa49e0","is_valid_coordinates":true} 
[2026-09-09 19:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974043904001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111036103688192,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847945216,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788961130000,"timestamp_ms":1788961130000,"timestamp_seconds":1788961130,"priority":1,"record_length":96,"hex_timestamp":"000001a086648610"} 
[2026-09-09 19:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-09 19:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974043904001,"66":27767,"97":206,"81":23296,"24":0,"16":403111036103688192,"45":3804415813847945216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974043904001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:10:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111036103688192,"km_value":403111036103688.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847945216,"description":"Unknown IO ID 45"} 
[2026-09-09 19:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974043904001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847945216}} 
[2026-09-09 19:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:10:21] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:10:21] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:10:29] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:10:29] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:10:29] local.INFO: IMEI packet received {"connection_id":175765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":175765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:10:34] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:10:34] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:10:34] local.INFO: IMEI packet received {"connection_id":175765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":175765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:10:35] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:10:35] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:10:35] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:10:35] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:10:35] 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-09-09 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:10:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:10:35] local.INFO: GPS data processed {"connection_id":175765,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:10:35] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:10:38] local.INFO: TCP Data received {"connection_id":175766,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:10:38] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:10:38] local.INFO: IMEI packet received {"connection_id":175766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":175766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:10:44] local.INFO: TCP Data received {"connection_id":175766,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:10:44] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:10:44] local.INFO: IMEI packet received {"connection_id":175766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":175766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:10:48] local.INFO: TCP Data received {"connection_id":175766,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:10:48] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:10:48] local.INFO: IMEI packet received {"connection_id":175766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":175766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:10:49] local.INFO: TCP Data received {"connection_id":175766,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08664d818012d34cd0006aa49d8000000272b..."} 
[2026-09-09 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08664d818012d34cd0006aa49d8000000272b..."} 
[2026-09-09 19:10:49] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08664d818012d34cd0006aa49d8000000272b..."} 
[2026-09-09 19:10:49] local.INFO: Packet analysis {"connection_id":175766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08664"} 
[2026-09-09 19:10:49] local.INFO: Extracted packet for processing {"connection_id":175766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08664"} 
[2026-09-09 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758435072,"raw_latitude":111823320,"longitude_deg":75.8435072,"latitude_deg":11.182332,"altitude":0,"angle":39,"satellites":43,"speed":0,"hex_longitude":"2d34cd00","hex_latitude":"06aa49d8","is_valid_coordinates":true} 
[2026-09-09 19:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974049280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111057578524672,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592176128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788961151000,"timestamp_ms":1788961151000,"timestamp_seconds":1788961151,"priority":1,"record_length":96,"hex_timestamp":"000001a08664d818"} 
[2026-09-09 19:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 19:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974049280001,"66":27908,"97":206,"81":23296,"24":0,"16":403111057578524672,"45":3804486182592176128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974049280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:10:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111057578524672,"km_value":403111057578524.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592176128,"description":"Unknown IO ID 45"} 
[2026-09-09 19:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974049280001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182592176128}} 
[2026-09-09 19:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":175766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:10:49] local.INFO: GPS data processed {"connection_id":175766,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:10:49] local.INFO: Acknowledgment sent {"connection_id":175766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:11:06] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:11:06] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:11:06] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:11:06] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:11: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-09-09 19:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:11:06] local.INFO: GPS data processed {"connection_id":175765,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:11:06] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:11:21] local.INFO: TCP Data received {"connection_id":175766,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086652638012d34ccc006aa4a380000013a2b..."} 
[2026-09-09 19:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086652638012d34ccc006aa4a380000013a2b..."} 
[2026-09-09 19:11:21] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086652638012d34ccc006aa4a380000013a2b..."} 
[2026-09-09 19:11:21] local.INFO: Packet analysis {"connection_id":175766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08665"} 
[2026-09-09 19:11:21] local.INFO: Extracted packet for processing {"connection_id":175766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08665"} 
[2026-09-09 19:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758435008,"raw_latitude":111823416,"longitude_deg":75.8435008,"latitude_deg":11.1823416,"altitude":0,"angle":314,"satellites":43,"speed":1,"hex_longitude":"2d34ccc0","hex_latitude":"06aa4a38","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974054656001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111074758393856,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804697288824707072,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788961171000,"timestamp_ms":1788961171000,"timestamp_seconds":1788961171,"priority":1,"record_length":96,"hex_timestamp":"000001a086652638"} 
[2026-09-09 19:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 19:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974054656001,"66":27745,"97":206,"81":23296,"24":1,"16":403111074758393856,"45":3804697288824707072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974054656001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:11:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111074758393856,"km_value":403111074758393.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804697288824707072,"description":"Unknown IO ID 45"} 
[2026-09-09 19:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974054656001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3804697288824707072}} 
[2026-09-09 19:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":175766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:11:21] local.INFO: GPS data processed {"connection_id":175766,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:11:21] local.INFO: Acknowledgment sent {"connection_id":175766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:11:29] local.INFO: TCP Data received {"connection_id":177162,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:11:29] local.INFO: Processing buffer {"connection_id":177162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:11:29] local.INFO: IMEI packet received {"connection_id":177162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":177162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:11:34] local.INFO: TCP Data received {"connection_id":177162,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:11:34] local.INFO: Processing buffer {"connection_id":177162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:11:34] local.INFO: IMEI packet received {"connection_id":177162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":177162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:11:35] local.INFO: TCP Data received {"connection_id":177162,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:11:35] local.INFO: Processing buffer {"connection_id":177162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:11:35] local.INFO: Packet analysis {"connection_id":177162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:11:35] local.INFO: Extracted packet for processing {"connection_id":177162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:11:35] 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-09-09 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:11:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":177162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:11:35] local.INFO: GPS data processed {"connection_id":177162,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:11:35] local.INFO: Acknowledgment sent {"connection_id":177162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:11:38] local.INFO: TCP Data received {"connection_id":178566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:11:38] local.INFO: Processing buffer {"connection_id":178566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:11:38] local.INFO: IMEI packet received {"connection_id":178566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":178566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:11:43] local.INFO: TCP Data received {"connection_id":178566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:11:43] local.INFO: Processing buffer {"connection_id":178566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:11:43] local.INFO: IMEI packet received {"connection_id":178566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":178566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:11:44] local.INFO: TCP Data received {"connection_id":178566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086652e08012d34cc4006aa4aa8000001212b..."} 
[2026-09-09 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086652e08012d34cc4006aa4aa8000001212b..."} 
[2026-09-09 19:11:44] local.INFO: Processing buffer {"connection_id":178566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086652e08012d34cc4006aa4aa8000001212b..."} 
[2026-09-09 19:11:44] local.INFO: Packet analysis {"connection_id":178566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08665"} 
[2026-09-09 19:11:44] local.INFO: Extracted packet for processing {"connection_id":178566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08665"} 
[2026-09-09 19:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111823528,"longitude_deg":75.843488,"latitude_deg":11.1823528,"altitude":0,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34cc40","hex_latitude":"06aa4aa8","is_valid_coordinates":true} 
[2026-09-09 19:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974059776001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111079053361152,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804626920080553984,"note":"Value kept but may cause issues"} 
[2026-09-09 19:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961173000,"timestamp_ms":1788961173000,"timestamp_seconds":1788961173,"priority":1,"record_length":96,"hex_timestamp":"000001a086652e08"} 
[2026-09-09 19:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:11: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-09-09 19:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 19:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974059776001,"66":27800,"97":206,"81":23296,"24":1,"16":403111079053361152,"45":3804626920080553984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974059776001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111079053361152,"km_value":403111079053361.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804626920080553984,"description":"Unknown IO ID 45"} 
[2026-09-09 19:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974059776001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3804626920080553984}} 
[2026-09-09 19:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":178566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:11:44] local.INFO: GPS data processed {"connection_id":178566,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:11:44] local.INFO: Acknowledgment sent {"connection_id":178566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:11:52] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:11:52] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:11:52] local.INFO: IMEI packet received {"connection_id":175767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":175767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:12:06] local.INFO: TCP Data received {"connection_id":177162,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:12:06] local.INFO: Processing buffer {"connection_id":177162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:12:06] local.INFO: Packet analysis {"connection_id":177162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:12:06] local.INFO: Extracted packet for processing {"connection_id":177162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:12:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":177162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:12:06] local.INFO: GPS data processed {"connection_id":177162,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:12:06] local.INFO: Acknowledgment sent {"connection_id":177162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:12:15] local.INFO: TCP Data received {"connection_id":178566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086654190012d34ca8006aa4b60000001032b..."} 
[2026-09-09 19:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086654190012d34ca8006aa4b60000001032b..."} 
[2026-09-09 19:12:15] local.INFO: Processing buffer {"connection_id":178566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086654190012d34ca8006aa4b60000001032b..."} 
[2026-09-09 19:12:15] local.INFO: Packet analysis {"connection_id":178566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08665"} 
[2026-09-09 19:12:15] local.INFO: Extracted packet for processing {"connection_id":178566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08665"} 
[2026-09-09 19:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758434432,"raw_latitude":111823712,"longitude_deg":75.8434432,"latitude_deg":11.1823712,"altitude":0,"angle":259,"satellites":43,"speed":4,"hex_longitude":"2d34ca80","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-09-09 19:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974060288001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111104823164928,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182592227328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788961178000,"timestamp_ms":1788961178000,"timestamp_seconds":1788961178,"priority":1,"record_length":96,"hex_timestamp":"000001a086654190"} 
[2026-09-09 19:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:12: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-09-09 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-09 19:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974060288001,"66":27843,"97":206,"81":23296,"24":4,"16":403111104823164928,"45":3804486182592227328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974060288001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111104823164928,"km_value":403111104823164.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182592227328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974060288001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3804486182592227328}} 
[2026-09-09 19:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":178566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:12:15] local.INFO: GPS data processed {"connection_id":178566,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:12:15] local.INFO: Acknowledgment sent {"connection_id":178566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:12:34] local.INFO: TCP Data received {"connection_id":175996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:12:34] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:12:34] local.INFO: IMEI packet received {"connection_id":175996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":175996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:12:38] local.INFO: TCP Data received {"connection_id":177163,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:12:38] local.INFO: Processing buffer {"connection_id":177163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:12:38] local.INFO: IMEI packet received {"connection_id":177163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":177163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:12:39] local.INFO: TCP Data received {"connection_id":175996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:12:39] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:12:39] local.INFO: IMEI packet received {"connection_id":175996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":175996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:12:40] local.INFO: TCP Data received {"connection_id":175996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:12:40] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:12:40] local.INFO: Packet analysis {"connection_id":175996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:12:40] local.INFO: Extracted packet for processing {"connection_id":175996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12: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-09-09 19:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:12:40] 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-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:12: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-09-09 19: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-09-09 19:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:12:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":175996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:12:40] local.INFO: GPS data processed {"connection_id":175996,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:12:40] local.INFO: Acknowledgment sent {"connection_id":175996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:12:43] local.INFO: TCP Data received {"connection_id":177163,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:12:43] local.INFO: Processing buffer {"connection_id":177163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:12:43] local.INFO: IMEI packet received {"connection_id":177163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":177163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:12:44] local.INFO: TCP Data received {"connection_id":177163,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086654578012d34ca0006aa4b40000000eb2b..."} 
[2026-09-09 19:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086654578012d34ca0006aa4b40000000eb2b..."} 
[2026-09-09 19:12:44] local.INFO: Processing buffer {"connection_id":177163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086654578012d34ca0006aa4b40000000eb2b..."} 
[2026-09-09 19:12:44] local.INFO: Packet analysis {"connection_id":177163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08665"} 
[2026-09-09 19:12:44] local.INFO: Extracted packet for processing {"connection_id":177163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08665"} 
[2026-09-09 19:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758434304,"raw_latitude":111823680,"longitude_deg":75.8434304,"latitude_deg":11.182368,"altitude":0,"angle":235,"satellites":43,"speed":6,"hex_longitude":"2d34ca00","hex_latitude":"06aa4b40","is_valid_coordinates":true} 
[2026-09-09 19:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974061568001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111113413099520,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803993601383030784,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961179000,"timestamp_ms":1788961179000,"timestamp_seconds":1788961179,"priority":1,"record_length":96,"hex_timestamp":"000001a086654578"} 
[2026-09-09 19:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:12: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-09-09 19: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-09 19:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974061568001,"66":27789,"97":206,"81":23296,"24":6,"16":403111113413099520,"45":3803993601383030784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974061568001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111113413099520,"km_value":403111113413099.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803993601383030784,"description":"Unknown IO ID 45"} 
[2026-09-09 19:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974061568001,"power":27789,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3803993601383030784}} 
[2026-09-09 19:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":177163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:12:44] local.INFO: GPS data processed {"connection_id":177163,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:12:44] local.INFO: Acknowledgment sent {"connection_id":177163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:12:45] local.INFO: TCP Data received {"connection_id":175996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:12:45] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086633a08012d1826800721bc980049001b28..."} 
[2026-09-09 19:12:45] local.INFO: Packet analysis {"connection_id":175996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:12:45] local.INFO: Extracted packet for processing {"connection_id":175996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08663"} 
[2026-09-09 19:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457973950464001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788961045000,"timestamp_ms":1788961045000,"timestamp_seconds":1788961045,"priority":1,"record_length":96,"hex_timestamp":"000001a086633a08"} 
[2026-09-09 19:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:12:45] 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-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:12: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-09-09 19:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457973950464001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457973950464001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:12:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457973950464001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":175996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:12:45] local.INFO: GPS data processed {"connection_id":175996,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:12:45] local.INFO: Acknowledgment sent {"connection_id":175996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:13:15] local.INFO: TCP Data received {"connection_id":177163,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086678798012d34c04006aa43300007011625..."} 
[2026-09-09 19:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086678798012d34c04006aa43300007011625..."} 
[2026-09-09 19:13:15] local.INFO: Processing buffer {"connection_id":177163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086678798012d34c04006aa43300007011625..."} 
[2026-09-09 19:13:15] local.INFO: Packet analysis {"connection_id":177163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:13:15] local.INFO: Extracted packet for processing {"connection_id":177163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821616,"longitude_deg":75.8431808,"latitude_deg":11.1821616,"altitude":7,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4330","is_valid_coordinates":true} 
[2026-09-09 19:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974095360001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111207902380032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359559168,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788961327000,"timestamp_ms":1788961327000,"timestamp_seconds":1788961327,"priority":1,"record_length":96,"hex_timestamp":"000001a086678798"} 
[2026-09-09 19:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:13: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-09-09 19:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-09 19:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974095360001,"66":25875,"97":206,"81":23296,"24":0,"16":403111207902380032,"45":3801249220359559168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974095360001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111207902380032,"km_value":403111207902380.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359559168,"description":"Unknown IO ID 45"} 
[2026-09-09 19:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974095360001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359559168}} 
[2026-09-09 19:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":177163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:13:15] local.INFO: GPS data processed {"connection_id":177163,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:13:15] local.INFO: Acknowledgment sent {"connection_id":177163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:13:29] local.INFO: TCP Data received {"connection_id":178567,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:13:29] local.INFO: Processing buffer {"connection_id":178567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:13:29] local.INFO: IMEI packet received {"connection_id":178567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":178567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:13:34] local.INFO: TCP Data received {"connection_id":178567,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:13:34] local.INFO: Processing buffer {"connection_id":178567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:13:34] local.INFO: IMEI packet received {"connection_id":178567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":178567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:13:35] local.INFO: TCP Data received {"connection_id":178567,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:13:35] local.INFO: Processing buffer {"connection_id":178567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:13:35] local.INFO: Packet analysis {"connection_id":178567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:13:35] local.INFO: Extracted packet for processing {"connection_id":178567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974027520001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961346000,"timestamp_ms":1788961346000,"timestamp_seconds":1788961346,"priority":1,"record_length":96,"hex_timestamp":"000001a08667d1d0"} 
[2026-09-09 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-09-09 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974027520001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974027520001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:13:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974027520001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":178567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:13:35] local.INFO: GPS data processed {"connection_id":178567,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:13:35] local.INFO: Acknowledgment sent {"connection_id":178567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:13:43] local.INFO: TCP Data received {"connection_id":175999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:13:43] local.INFO: Processing buffer {"connection_id":175999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:13:43] local.INFO: IMEI packet received {"connection_id":175999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":175999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:13:48] local.INFO: TCP Data received {"connection_id":175999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:13:48] local.INFO: Processing buffer {"connection_id":175999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:13:48] local.INFO: IMEI packet received {"connection_id":175999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":175999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:13:49] local.INFO: TCP Data received {"connection_id":175999,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086679b20012d34c04006aa4338000601162b..."} 
[2026-09-09 19:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086679b20012d34c04006aa4338000601162b..."} 
[2026-09-09 19:13:49] local.INFO: Processing buffer {"connection_id":175999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086679b20012d34c04006aa4338000601162b..."} 
[2026-09-09 19:13:49] local.INFO: Packet analysis {"connection_id":175999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:13:49] local.INFO: Extracted packet for processing {"connection_id":175999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821624,"longitude_deg":75.8431808,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974099712001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111207902380032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871209984,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788961332000,"timestamp_ms":1788961332000,"timestamp_seconds":1788961332,"priority":1,"record_length":96,"hex_timestamp":"000001a086679b20"} 
[2026-09-09 19:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 19:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974099712001,"66":25952,"97":206,"81":23296,"24":0,"16":403111207902380032,"45":3801108482871209984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974099712001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:13:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111207902380032,"km_value":403111207902380.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871209984,"description":"Unknown IO ID 45"} 
[2026-09-09 19:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974099712001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871209984}} 
[2026-09-09 19:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":175999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:13:49] local.INFO: GPS data processed {"connection_id":175999,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:13:49] local.INFO: Acknowledgment sent {"connection_id":175999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:13:54] local.INFO: TCP Data received {"connection_id":175999,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:13:54] local.INFO: Processing buffer {"connection_id":175999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:13:54] local.INFO: Packet analysis {"connection_id":175999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:13:54] local.INFO: Extracted packet for processing {"connection_id":175999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821624,"longitude_deg":75.843168,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974100992001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871212032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788961335000,"timestamp_ms":1788961335000,"timestamp_seconds":1788961335,"priority":1,"record_length":96,"hex_timestamp":"000001a08667a6d8"} 
[2026-09-09 19:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974100992001,"66":25854,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801108482871212032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974100992001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:13:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:13:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871212032,"description":"Unknown IO ID 45"} 
[2026-09-09 19:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974100992001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871212032}} 
[2026-09-09 19:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":175999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:13:54] local.INFO: GPS data processed {"connection_id":175999,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:13:54] local.INFO: Acknowledgment sent {"connection_id":175999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:14:06] local.INFO: TCP Data received {"connection_id":178567,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:14:06] local.INFO: Processing buffer {"connection_id":178567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:14:06] local.INFO: Packet analysis {"connection_id":178567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:14:06] local.INFO: Extracted packet for processing {"connection_id":178567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974027520001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961346000,"timestamp_ms":1788961346000,"timestamp_seconds":1788961346,"priority":1,"record_length":96,"hex_timestamp":"000001a08667d1d0"} 
[2026-09-09 19:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:14: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-09-09 19:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:14: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-09-09 19:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974027520001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974027520001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:14:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974027520001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":178567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:14:07] local.INFO: GPS data processed {"connection_id":178567,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:14:07] local.INFO: Acknowledgment sent {"connection_id":178567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:14:29] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:14:29] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:14:29] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:14:34] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:14:34] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:14:34] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:14:35] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:14:35] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:14:35] local.INFO: Packet analysis {"connection_id":176000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:14:35] local.INFO: Extracted packet for processing {"connection_id":176000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974027520001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961346000,"timestamp_ms":1788961346000,"timestamp_seconds":1788961346,"priority":1,"record_length":96,"hex_timestamp":"000001a08667d1d0"} 
[2026-09-09 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974027520001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974027520001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:14:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974027520001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":176000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:14:35] local.INFO: GPS data processed {"connection_id":176000,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:14:35] local.INFO: Acknowledgment sent {"connection_id":176000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:14:38] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:14:38] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:14:38] local.INFO: IMEI packet received {"connection_id":176001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":176001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:14:43] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:14:43] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:14:43] local.INFO: IMEI packet received {"connection_id":176001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":176001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:14:44] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:14:44] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:14:44] local.INFO: Packet analysis {"connection_id":176001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:14:44] local.INFO: Extracted packet for processing {"connection_id":176001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821624,"longitude_deg":75.843168,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974100992001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871212032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961335000,"timestamp_ms":1788961335000,"timestamp_seconds":1788961335,"priority":1,"record_length":96,"hex_timestamp":"000001a08667a6d8"} 
[2026-09-09 19:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:14: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-09-09 19:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974100992001,"66":25854,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801108482871212032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974100992001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871212032,"description":"Unknown IO ID 45"} 
[2026-09-09 19:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974100992001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871212032}} 
[2026-09-09 19:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":176001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:14:44] local.INFO: GPS data processed {"connection_id":176001,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:14:44] local.INFO: Acknowledgment sent {"connection_id":176001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:14:49] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:14:49] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:14:49] local.INFO: Packet analysis {"connection_id":176001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:14:49] local.INFO: Extracted packet for processing {"connection_id":176001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821624,"longitude_deg":75.843168,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974100992001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871212032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788961335000,"timestamp_ms":1788961335000,"timestamp_seconds":1788961335,"priority":1,"record_length":96,"hex_timestamp":"000001a08667a6d8"} 
[2026-09-09 19:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:14: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-09-09 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974100992001,"66":25854,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801108482871212032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974100992001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871212032,"description":"Unknown IO ID 45"} 
[2026-09-09 19:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974100992001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871212032}} 
[2026-09-09 19:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":176001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:14:49] local.INFO: GPS data processed {"connection_id":176001,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:14:49] local.INFO: Acknowledgment sent {"connection_id":176001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:15:06] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:15:06] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:15:06] local.INFO: Packet analysis {"connection_id":176000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:15:06] local.INFO: Extracted packet for processing {"connection_id":176000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974027520001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961346000,"timestamp_ms":1788961346000,"timestamp_seconds":1788961346,"priority":1,"record_length":96,"hex_timestamp":"000001a08667d1d0"} 
[2026-09-09 19:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:15: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-09-09 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:15: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-09-09 19:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:15: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-09-09 19:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974027520001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974027520001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:15:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974027520001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":176000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:15:06] local.INFO: GPS data processed {"connection_id":176000,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:15:06] local.INFO: Acknowledgment sent {"connection_id":176000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:15:20] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:15:20] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:15:20] local.INFO: Packet analysis {"connection_id":176001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:15:20] local.INFO: Extracted packet for processing {"connection_id":176001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821624,"longitude_deg":75.843168,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974100992001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871212032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788961335000,"timestamp_ms":1788961335000,"timestamp_seconds":1788961335,"priority":1,"record_length":96,"hex_timestamp":"000001a08667a6d8"} 
[2026-09-09 19:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974100992001,"66":25854,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801108482871212032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974100992001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871212032,"description":"Unknown IO ID 45"} 
[2026-09-09 19:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974100992001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871212032}} 
[2026-09-09 19:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":176001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:15:20] local.INFO: GPS data processed {"connection_id":176001,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:15:20] local.INFO: Acknowledgment sent {"connection_id":176001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:15:29] local.INFO: TCP Data received {"connection_id":177164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:15:29] local.INFO: Processing buffer {"connection_id":177164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:15:29] local.INFO: IMEI packet received {"connection_id":177164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":177164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:15:34] local.INFO: TCP Data received {"connection_id":177164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:15:34] local.INFO: Processing buffer {"connection_id":177164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:15:34] local.INFO: IMEI packet received {"connection_id":177164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":177164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:15:35] local.INFO: TCP Data received {"connection_id":177164,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:15:35] local.INFO: Processing buffer {"connection_id":177164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:15:35] local.INFO: Packet analysis {"connection_id":177164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:15:35] local.INFO: Extracted packet for processing {"connection_id":177164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974027520001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961346000,"timestamp_ms":1788961346000,"timestamp_seconds":1788961346,"priority":1,"record_length":96,"hex_timestamp":"000001a08667d1d0"} 
[2026-09-09 19:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974027520001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974027520001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:15:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974027520001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":177164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:15:35] local.INFO: GPS data processed {"connection_id":177164,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:15:35] local.INFO: Acknowledgment sent {"connection_id":177164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:15:38] local.INFO: TCP Data received {"connection_id":178568,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:15:38] local.INFO: Processing buffer {"connection_id":178568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:15:38] local.INFO: IMEI packet received {"connection_id":178568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":178568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:15:43] local.INFO: TCP Data received {"connection_id":178568,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:15:43] local.INFO: Processing buffer {"connection_id":178568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:15:43] local.INFO: IMEI packet received {"connection_id":178568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":178568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:15:45] local.INFO: TCP Data received {"connection_id":178568,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:15:45] local.INFO: Processing buffer {"connection_id":178568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:15:45] local.INFO: Packet analysis {"connection_id":178568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:15:45] local.INFO: Extracted packet for processing {"connection_id":178568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821624,"longitude_deg":75.843168,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974100992001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871212032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788961335000,"timestamp_ms":1788961335000,"timestamp_seconds":1788961335,"priority":1,"record_length":96,"hex_timestamp":"000001a08667a6d8"} 
[2026-09-09 19:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974100992001,"66":25854,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801108482871212032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974100992001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871212032,"description":"Unknown IO ID 45"} 
[2026-09-09 19:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974100992001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871212032}} 
[2026-09-09 19:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":178568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:15:45] local.INFO: GPS data processed {"connection_id":178568,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:15:45] local.INFO: Acknowledgment sent {"connection_id":178568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:16:06] local.INFO: TCP Data received {"connection_id":177164,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:16:06] local.INFO: Processing buffer {"connection_id":177164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:16:06] local.INFO: Packet analysis {"connection_id":177164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:16:06] local.INFO: Extracted packet for processing {"connection_id":177164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974027520001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 19:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961346000,"timestamp_ms":1788961346000,"timestamp_seconds":1788961346,"priority":1,"record_length":96,"hex_timestamp":"000001a08667d1d0"} 
[2026-09-09 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-09-09 19:16: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-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:16: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-09-09 19: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-09-09 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-09-09 19:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 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-09-09 19:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974027520001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974027520001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:16:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974027520001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":177164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:16:06] local.INFO: GPS data processed {"connection_id":177164,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:16:06] local.INFO: Acknowledgment sent {"connection_id":177164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:16:16] local.INFO: TCP Data received {"connection_id":178568,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:16:16] local.INFO: Processing buffer {"connection_id":178568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:16:16] local.INFO: Packet analysis {"connection_id":178568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:16:16] local.INFO: Extracted packet for processing {"connection_id":178568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821624,"longitude_deg":75.843168,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974100992001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871212032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788961335000,"timestamp_ms":1788961335000,"timestamp_seconds":1788961335,"priority":1,"record_length":96,"hex_timestamp":"000001a08667a6d8"} 
[2026-09-09 19:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974100992001,"66":25854,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801108482871212032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974100992001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871212032,"description":"Unknown IO ID 45"} 
[2026-09-09 19:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974100992001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871212032}} 
[2026-09-09 19:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":178568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:16:16] local.INFO: GPS data processed {"connection_id":178568,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:16:16] local.INFO: Acknowledgment sent {"connection_id":178568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:16:29] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:16:29] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:16:29] local.INFO: IMEI packet received {"connection_id":175768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":175768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:16:34] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:16:34] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:16:34] local.INFO: IMEI packet received {"connection_id":175768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":175768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:16:35] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:16:35] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667d1d0012d1826800721bc980049001b27..."} 
[2026-09-09 19:16:35] local.INFO: Packet analysis {"connection_id":175768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:16:35] local.INFO: Extracted packet for processing {"connection_id":175768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974027520001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16: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-09-09 19:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961346000,"timestamp_ms":1788961346000,"timestamp_seconds":1788961346,"priority":1,"record_length":96,"hex_timestamp":"000001a08667d1d0"} 
[2026-09-09 19:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974027520001,"66":2166,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974027520001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:16:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974027520001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":175768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:16:35] local.INFO: GPS data processed {"connection_id":175768,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:16:35] local.INFO: Acknowledgment sent {"connection_id":175768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:16:38] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:16:38] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:16:38] local.INFO: IMEI packet received {"connection_id":176003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":176003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:16:43] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:16:43] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:16:43] local.INFO: IMEI packet received {"connection_id":176003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":176003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:16:44] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:16:44] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:16:44] local.INFO: Packet analysis {"connection_id":176003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:16:44] local.INFO: Extracted packet for processing {"connection_id":176003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821624,"longitude_deg":75.843168,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974100992001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871212032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961335000,"timestamp_ms":1788961335000,"timestamp_seconds":1788961335,"priority":1,"record_length":96,"hex_timestamp":"000001a08667a6d8"} 
[2026-09-09 19:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:16: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-09-09 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:16: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-09-09 19:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974100992001,"66":25854,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801108482871212032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974100992001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871212032,"description":"Unknown IO ID 45"} 
[2026-09-09 19:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974100992001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871212032}} 
[2026-09-09 19:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":176003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:16:44] local.INFO: GPS data processed {"connection_id":176003,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:16:44] local.INFO: Acknowledgment sent {"connection_id":176003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:17:05] local.INFO: TCP Data received {"connection_id":178570,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:17:05] local.INFO: Processing buffer {"connection_id":178570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:17:05] local.INFO: IMEI packet received {"connection_id":178570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":178570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:17:06] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866b15c0012d1826800721bc980049001b29..."} 
[2026-09-09 19:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866b15c0012d1826800721bc980049001b29..."} 
[2026-09-09 19:17:06] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866b15c0012d1826800721bc980049001b29..."} 
[2026-09-09 19:17:06] local.INFO: Packet analysis {"connection_id":175768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866b"} 
[2026-09-09 19:17:06] local.INFO: Extracted packet for processing {"connection_id":175768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866b"} 
[2026-09-09 19:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974104576001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17: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-09-09 19:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961560000,"timestamp_ms":1788961560000,"timestamp_seconds":1788961560,"priority":1,"record_length":96,"hex_timestamp":"000001a0866b15c0"} 
[2026-09-09 19:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19: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-09-09 19:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974104576001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974104576001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:17:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974104576001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":175768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:17:06] local.INFO: GPS data processed {"connection_id":175768,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:17:06] local.INFO: Acknowledgment sent {"connection_id":175768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:17:16] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:17:16] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:17:16] local.INFO: Packet analysis {"connection_id":176003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:17:16] local.INFO: Extracted packet for processing {"connection_id":176003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821624,"longitude_deg":75.843168,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974100992001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871212032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788961335000,"timestamp_ms":1788961335000,"timestamp_seconds":1788961335,"priority":1,"record_length":96,"hex_timestamp":"000001a08667a6d8"} 
[2026-09-09 19:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974100992001,"66":25854,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801108482871212032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974100992001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871212032,"description":"Unknown IO ID 45"} 
[2026-09-09 19:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974100992001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871212032}} 
[2026-09-09 19:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":176003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:17:16] local.INFO: GPS data processed {"connection_id":176003,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:17:16] local.INFO: Acknowledgment sent {"connection_id":176003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:17:28] local.INFO: TCP Data received {"connection_id":176004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:17:28] local.INFO: Processing buffer {"connection_id":176004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:17:28] local.INFO: IMEI packet received {"connection_id":176004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":176004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:17:29] local.INFO: TCP Data received {"connection_id":176004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:17:29] local.INFO: Processing buffer {"connection_id":176004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:17:29] local.INFO: IMEI packet received {"connection_id":176004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":176004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:17:33] local.INFO: TCP Data received {"connection_id":176004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:17:33] local.INFO: Processing buffer {"connection_id":176004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:17:33] local.INFO: IMEI packet received {"connection_id":176004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":176004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:17:34] local.INFO: TCP Data received {"connection_id":176004,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866b15c0012d1826800721bc980049001b29..."} 
[2026-09-09 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866b15c0012d1826800721bc980049001b29..."} 
[2026-09-09 19:17:34] local.INFO: Processing buffer {"connection_id":176004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866b15c0012d1826800721bc980049001b29..."} 
[2026-09-09 19:17:34] local.INFO: Packet analysis {"connection_id":176004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866b"} 
[2026-09-09 19:17:34] local.INFO: Extracted packet for processing {"connection_id":176004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866b"} 
[2026-09-09 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:17: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-09-09 19:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974159360001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788961560000,"timestamp_ms":1788961560000,"timestamp_seconds":1788961560,"priority":1,"record_length":96,"hex_timestamp":"000001a0866b15c0"} 
[2026-09-09 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-09-09 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974159360001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974159360001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:17:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974159360001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":176004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:17:34] local.INFO: GPS data processed {"connection_id":176004,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:17:34] local.INFO: Acknowledgment sent {"connection_id":176004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:17:38] local.INFO: TCP Data received {"connection_id":175769,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:17:38] local.INFO: Processing buffer {"connection_id":175769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:17:38] local.INFO: IMEI packet received {"connection_id":175769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":175769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:17:43] local.INFO: TCP Data received {"connection_id":175769,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:17:43] local.INFO: Processing buffer {"connection_id":175769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:17:43] local.INFO: IMEI packet received {"connection_id":175769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":175769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:17:44] local.INFO: TCP Data received {"connection_id":175769,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:17:44] local.INFO: Processing buffer {"connection_id":175769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08667a6d8012d34bfc006aa4338000601162b..."} 
[2026-09-09 19:17:44] local.INFO: Packet analysis {"connection_id":175769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:17:44] local.INFO: Extracted packet for processing {"connection_id":175769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08667"} 
[2026-09-09 19:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821624,"longitude_deg":75.843168,"latitude_deg":11.1821624,"altitude":6,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-09 19:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974100992001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871212032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961335000,"timestamp_ms":1788961335000,"timestamp_seconds":1788961335,"priority":1,"record_length":96,"hex_timestamp":"000001a08667a6d8"} 
[2026-09-09 19:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:17: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-09-09 19:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974100992001,"66":25854,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801108482871212032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974100992001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871212032,"description":"Unknown IO ID 45"} 
[2026-09-09 19:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974100992001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871212032}} 
[2026-09-09 19:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":175769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:17:44] local.INFO: GPS data processed {"connection_id":175769,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:17:44] local.INFO: Acknowledgment sent {"connection_id":175769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:18:05] local.INFO: TCP Data received {"connection_id":176004,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866b15c0012d1826800721bc980049001b29..."} 
[2026-09-09 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866b15c0012d1826800721bc980049001b29..."} 
[2026-09-09 19:18:05] local.INFO: Processing buffer {"connection_id":176004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866b15c0012d1826800721bc980049001b29..."} 
[2026-09-09 19:18:05] local.INFO: Packet analysis {"connection_id":176004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866b"} 
[2026-09-09 19:18:05] local.INFO: Extracted packet for processing {"connection_id":176004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866b"} 
[2026-09-09 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651480,"longitude_deg":75.655744,"latitude_deg":11.965148,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-09-09 19:18: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-09-09 19:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974159360001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788961560000,"timestamp_ms":1788961560000,"timestamp_seconds":1788961560,"priority":1,"record_length":96,"hex_timestamp":"000001a0866b15c0"} 
[2026-09-09 19:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:18: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-09-09 19:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974159360001,"66":2144,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974159360001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:18:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974159360001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":176004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:18:05] local.INFO: GPS data processed {"connection_id":176004,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:18:05] local.INFO: Acknowledgment sent {"connection_id":176004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:18:16] local.INFO: TCP Data received {"connection_id":175769,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:18:16] local.INFO: Processing buffer {"connection_id":175769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:18:16] local.INFO: Packet analysis {"connection_id":175769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:18:16] local.INFO: Extracted packet for processing {"connection_id":175769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":175769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:18:16] local.INFO: GPS data processed {"connection_id":175769,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:18:16] local.INFO: Acknowledgment sent {"connection_id":175769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:18:29] local.INFO: TCP Data received {"connection_id":178571,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:18:29] local.INFO: Processing buffer {"connection_id":178571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:18:29] local.INFO: IMEI packet received {"connection_id":178571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":178571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:18:34] local.INFO: TCP Data received {"connection_id":178571,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:18:34] local.INFO: Processing buffer {"connection_id":178571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:18:34] local.INFO: IMEI packet received {"connection_id":178571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":178571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:18:35] local.INFO: TCP Data received {"connection_id":178571,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866b6bb0012d1827c00721be200049002029..."} 
[2026-09-09 19:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866b6bb0012d1827c00721be200049002029..."} 
[2026-09-09 19:18:35] local.INFO: Processing buffer {"connection_id":178571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866b6bb0012d1827c00721be200049002029..."} 
[2026-09-09 19:18:35] local.INFO: Packet analysis {"connection_id":178571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866b"} 
[2026-09-09 19:18:35] local.INFO: Extracted packet for processing {"connection_id":178571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866b"} 
[2026-09-09 19:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119651872,"longitude_deg":75.655776,"latitude_deg":11.9651872,"altitude":73,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d1827c0","hex_latitude":"0721be20","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974159360001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19142733662781440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144409600,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961582000,"timestamp_ms":1788961582000,"timestamp_seconds":1788961582,"priority":1,"record_length":96,"hex_timestamp":"000001a0866b6bb0"} 
[2026-09-09 19:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 19:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974159360001,"66":13852,"105":206,"83":41984,"24":0,"16":19142733662781440,"45":1740219074144409600},"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-09-09 19:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974159360001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:18:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19142733662781440,"km_value":19142733662781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144409600,"description":"Unknown IO ID 45"} 
[2026-09-09 19:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974159360001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144409600}} 
[2026-09-09 19:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":178571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:18:35] local.INFO: GPS data processed {"connection_id":178571,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:18:35] local.INFO: Acknowledgment sent {"connection_id":178571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:18:38] local.INFO: TCP Data received {"connection_id":177165,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:18:38] local.INFO: Processing buffer {"connection_id":177165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:18:38] local.INFO: IMEI packet received {"connection_id":177165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":177165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:18:43] local.INFO: TCP Data received {"connection_id":177165,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:18:43] local.INFO: Processing buffer {"connection_id":177165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:18:43] local.INFO: IMEI packet received {"connection_id":177165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":177165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:18:44] local.INFO: TCP Data received {"connection_id":177165,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:18:44] local.INFO: Processing buffer {"connection_id":177165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:18:44] local.INFO: Packet analysis {"connection_id":177165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:18:44] local.INFO: Extracted packet for processing {"connection_id":177165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":177165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:18:44] local.INFO: GPS data processed {"connection_id":177165,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:18:44] local.INFO: Acknowledgment sent {"connection_id":177165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:19:06] local.INFO: TCP Data received {"connection_id":178571,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c8cc0012d185d80072206e8005100c62a..."} 
[2026-09-09 19:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c8cc0012d185d80072206e8005100c62a..."} 
[2026-09-09 19:19:06] local.INFO: Processing buffer {"connection_id":178571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c8cc0012d185d80072206e8005100c62a..."} 
[2026-09-09 19:19:06] local.INFO: Packet analysis {"connection_id":178571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:19:06] local.INFO: Extracted packet for processing {"connection_id":178571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756571520,"raw_latitude":119670504,"longitude_deg":75.657152,"latitude_deg":11.9670504,"altitude":81,"angle":198,"satellites":42,"speed":6,"hex_longitude":"2d185d80","hex_latitude":"072206e8","is_valid_coordinates":true} 
[2026-09-09 19:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974183680001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143897598918656,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755700197868414976,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961656000,"timestamp_ms":1788961656000,"timestamp_seconds":1788961656,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c8cc0"} 
[2026-09-09 19:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84750532363100606,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2255233864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503891723616256,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":134,"raw_value":7776757787380952192,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2432832205383278122,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2147951102,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465450,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587212466933331,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195303680,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.WARNING: Large IO value detected {"io_id":144,"raw_value":20266392267785472,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:06] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,3,160,132,45,64,8,80,42,10,66,129,128,125,192,1,240,41,227,134,34,4,113,205,7,86,84,239,49,2,68,74,29,50,164,180,69,144],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-09 19:19:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836850015414779904,"timestamp_seconds":5836850015414780.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 19:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:19: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-09-09 19:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974183680001,"66":12841,"105":206,"83":41984,"24":6,"16":19143897598918656,"45":1755700197868414976},"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-09-09 19:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974183680001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:19:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143897598918656,"km_value":19143897598918.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755700197868414976,"description":"Unknown IO ID 45"} 
[2026-09-09 19:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974183680001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1755700197868414976}} 
[2026-09-09 19:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":178571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:19:06] local.INFO: GPS data processed {"connection_id":178571,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:19:06] local.INFO: Acknowledgment sent {"connection_id":178571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:19:16] local.INFO: TCP Data received {"connection_id":177165,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:19:16] local.INFO: Processing buffer {"connection_id":177165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:19:16] local.INFO: Packet analysis {"connection_id":177165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:19:16] local.INFO: Extracted packet for processing {"connection_id":177165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":177165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:19:16] local.INFO: GPS data processed {"connection_id":177165,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:19:16] local.INFO: Acknowledgment sent {"connection_id":177165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:19:29] local.INFO: TCP Data received {"connection_id":176006,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:19:29] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:19:29] local.INFO: IMEI packet received {"connection_id":176006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":176006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:19:34] local.INFO: TCP Data received {"connection_id":176006,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:19:34] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:19:34] local.INFO: IMEI packet received {"connection_id":176006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":176006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:19:35] local.INFO: TCP Data received {"connection_id":176006,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866cdec8012d185c8007220468004f00c62b..."} 
[2026-09-09 19:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866cdec8012d185c8007220468004f00c62b..."} 
[2026-09-09 19:19:35] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866cdec8012d185c8007220468004f00c62b..."} 
[2026-09-09 19:19:35] local.INFO: Packet analysis {"connection_id":176006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:19:35] local.INFO: Extracted packet for processing {"connection_id":176006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974183936001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755700197868365824,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961677000,"timestamp_ms":1788961677000,"timestamp_seconds":1788961677,"priority":1,"record_length":96,"hex_timestamp":"000001a0866cdec8"} 
[2026-09-09 19:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 19:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974183936001,"66":12841,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755700197868365824},"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-09-09 19:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974183936001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:19:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755700197868365824,"description":"Unknown IO ID 45"} 
[2026-09-09 19:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974183936001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755700197868365824}} 
[2026-09-09 19:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":176006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:19:35] local.INFO: GPS data processed {"connection_id":176006,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:19:35] local.INFO: Acknowledgment sent {"connection_id":176006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:19:38] local.INFO: TCP Data received {"connection_id":176007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:19:38] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:19:38] local.INFO: IMEI packet received {"connection_id":176007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":176007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:19:43] local.INFO: TCP Data received {"connection_id":176007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:19:43] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:19:43] local.INFO: IMEI packet received {"connection_id":176007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":176007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:19:44] local.INFO: TCP Data received {"connection_id":176007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:19:44] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:19:44] local.INFO: Packet analysis {"connection_id":176007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:19:44] local.INFO: Extracted packet for processing {"connection_id":176007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":176007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:19:44] local.INFO: GPS data processed {"connection_id":176007,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:19:44] local.INFO: Acknowledgment sent {"connection_id":176007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:20:06] local.INFO: TCP Data received {"connection_id":176006,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866d30d0012d185c8007220468004f00c62b..."} 
[2026-09-09 19:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866d30d0012d185c8007220468004f00c62b..."} 
[2026-09-09 19:20:06] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866d30d0012d185c8007220468004f00c62b..."} 
[2026-09-09 19:20:06] local.INFO: Packet analysis {"connection_id":176006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866d"} 
[2026-09-09 19:20:06] local.INFO: Extracted packet for processing {"connection_id":176006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866d"} 
[2026-09-09 19:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974189312001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961698000,"timestamp_ms":1788961698000,"timestamp_seconds":1788961698,"priority":1,"record_length":96,"hex_timestamp":"000001a0866d30d0"} 
[2026-09-09 19:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-09 19:20: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-09-09 19: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-09-09 19:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:20: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-09-09 19:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974189312001,"66":12798,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974189312001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:20:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974189312001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":176006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:20:07] local.INFO: GPS data processed {"connection_id":176006,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:20:07] local.INFO: Acknowledgment sent {"connection_id":176006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:20:17] local.INFO: TCP Data received {"connection_id":176007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:20:17] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:20:17] local.INFO: Packet analysis {"connection_id":176007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:20:17] local.INFO: Extracted packet for processing {"connection_id":176007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":176007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:20:17] local.INFO: GPS data processed {"connection_id":176007,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:20:17] local.INFO: Acknowledgment sent {"connection_id":176007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:20:29] local.INFO: TCP Data received {"connection_id":177167,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:20:29] local.INFO: Processing buffer {"connection_id":177167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:20:29] local.INFO: IMEI packet received {"connection_id":177167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":177167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:20:34] local.INFO: TCP Data received {"connection_id":177167,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:20:34] local.INFO: Processing buffer {"connection_id":177167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:20:34] local.INFO: IMEI packet received {"connection_id":177167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":177167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:20:35] local.INFO: TCP Data received {"connection_id":177167,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866d82d8012d185c8007220468004f00c629..."} 
[2026-09-09 19:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866d82d8012d185c8007220468004f00c629..."} 
[2026-09-09 19:20:35] local.INFO: Processing buffer {"connection_id":177167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866d82d8012d185c8007220468004f00c629..."} 
[2026-09-09 19:20:35] local.INFO: Packet analysis {"connection_id":177167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866d"} 
[2026-09-09 19:20:35] local.INFO: Extracted packet for processing {"connection_id":177167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866d"} 
[2026-09-09 19:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974194688001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961719000,"timestamp_ms":1788961719000,"timestamp_seconds":1788961719,"priority":1,"record_length":96,"hex_timestamp":"000001a0866d82d8"} 
[2026-09-09 19:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974194688001,"66":12722,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974194688001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:20:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974194688001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":177167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:20:35] local.INFO: GPS data processed {"connection_id":177167,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:20:35] local.INFO: Acknowledgment sent {"connection_id":177167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:20:38] local.INFO: TCP Data received {"connection_id":175770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:20:38] local.INFO: Processing buffer {"connection_id":175770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:20:38] local.INFO: IMEI packet received {"connection_id":175770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":175770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:20:43] local.INFO: TCP Data received {"connection_id":175770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:20:43] local.INFO: Processing buffer {"connection_id":175770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:20:43] local.INFO: IMEI packet received {"connection_id":175770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":175770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:20:44] local.INFO: TCP Data received {"connection_id":175770,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:20:44] local.INFO: Processing buffer {"connection_id":175770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:20:44] local.INFO: Packet analysis {"connection_id":175770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:20:44] local.INFO: Extracted packet for processing {"connection_id":175770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":175770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:20:44] local.INFO: GPS data processed {"connection_id":175770,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:20:44] local.INFO: Acknowledgment sent {"connection_id":175770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:21:06] local.INFO: TCP Data received {"connection_id":177167,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866dd4e0012d185c8007220468004f00c628..."} 
[2026-09-09 19:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866dd4e0012d185c8007220468004f00c628..."} 
[2026-09-09 19:21:06] local.INFO: Processing buffer {"connection_id":177167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866dd4e0012d185c8007220468004f00c628..."} 
[2026-09-09 19:21:06] local.INFO: Packet analysis {"connection_id":177167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866d"} 
[2026-09-09 19:21:06] local.INFO: Extracted packet for processing {"connection_id":177167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866d"} 
[2026-09-09 19:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":40,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974200064001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961740000,"timestamp_ms":1788961740000,"timestamp_seconds":1788961740,"priority":1,"record_length":96,"hex_timestamp":"000001a0866dd4e0"} 
[2026-09-09 19:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:21: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-09-09 19: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-09-09 19:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:21: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-09-09 19:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974200064001,"66":12743,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974200064001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:21:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974200064001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":177167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:21:06] local.INFO: GPS data processed {"connection_id":177167,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:21:06] local.INFO: Acknowledgment sent {"connection_id":177167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:21:16] local.INFO: TCP Data received {"connection_id":175770,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:21:16] local.INFO: Processing buffer {"connection_id":175770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:21:16] local.INFO: Packet analysis {"connection_id":175770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:21:16] local.INFO: Extracted packet for processing {"connection_id":175770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":175770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:21:16] local.INFO: GPS data processed {"connection_id":175770,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:21:16] local.INFO: Acknowledgment sent {"connection_id":175770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:21:29] local.INFO: TCP Data received {"connection_id":178573,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:21:29] local.INFO: Processing buffer {"connection_id":178573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:21:29] local.INFO: IMEI packet received {"connection_id":178573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":178573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:21:34] local.INFO: TCP Data received {"connection_id":178573,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:21:34] local.INFO: Processing buffer {"connection_id":178573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:21:34] local.INFO: IMEI packet received {"connection_id":178573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":178573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:21:35] local.INFO: TCP Data received {"connection_id":178573,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866e26e8012d185c8007220468004f00c629..."} 
[2026-09-09 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866e26e8012d185c8007220468004f00c629..."} 
[2026-09-09 19:21:35] local.INFO: Processing buffer {"connection_id":178573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866e26e8012d185c8007220468004f00c629..."} 
[2026-09-09 19:21:35] local.INFO: Packet analysis {"connection_id":178573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866e"} 
[2026-09-09 19:21:35] local.INFO: Extracted packet for processing {"connection_id":178573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866e"} 
[2026-09-09 19:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974205440001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961761000,"timestamp_ms":1788961761000,"timestamp_seconds":1788961761,"priority":1,"record_length":96,"hex_timestamp":"000001a0866e26e8"} 
[2026-09-09 19:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:21: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-09-09 19:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-09 19:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974205440001,"66":12722,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974205440001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:21:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974205440001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":178573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:21:35] local.INFO: GPS data processed {"connection_id":178573,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:21:35] local.INFO: Acknowledgment sent {"connection_id":178573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:21:38] local.INFO: TCP Data received {"connection_id":176008,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:21:38] local.INFO: Processing buffer {"connection_id":176008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:21:38] local.INFO: IMEI packet received {"connection_id":176008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":176008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:21:43] local.INFO: TCP Data received {"connection_id":176008,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:21:43] local.INFO: Processing buffer {"connection_id":176008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:21:43] local.INFO: IMEI packet received {"connection_id":176008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":176008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:21:44] local.INFO: TCP Data received {"connection_id":176008,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:21:44] local.INFO: Processing buffer {"connection_id":176008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:21:44] local.INFO: Packet analysis {"connection_id":176008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:21:44] local.INFO: Extracted packet for processing {"connection_id":176008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":176008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:21:44] local.INFO: GPS data processed {"connection_id":176008,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:21:44] local.INFO: Acknowledgment sent {"connection_id":176008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:22:06] local.INFO: TCP Data received {"connection_id":178573,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866e78f0012d185c8007220468004f00c62b..."} 
[2026-09-09 19:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866e78f0012d185c8007220468004f00c62b..."} 
[2026-09-09 19:22:06] local.INFO: Processing buffer {"connection_id":178573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866e78f0012d185c8007220468004f00c62b..."} 
[2026-09-09 19:22:06] local.INFO: Packet analysis {"connection_id":178573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866e"} 
[2026-09-09 19:22:06] local.INFO: Extracted packet for processing {"connection_id":178573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866e"} 
[2026-09-09 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974210816001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961782000,"timestamp_ms":1788961782000,"timestamp_seconds":1788961782,"priority":1,"record_length":96,"hex_timestamp":"000001a0866e78f0"} 
[2026-09-09 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-09-09 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-09-09 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:22: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-09-09 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-09-09 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-09-09 19:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 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-09-09 19:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974210816001,"66":12711,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974210816001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:22:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974210816001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":178573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:22:06] local.INFO: GPS data processed {"connection_id":178573,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:22:06] local.INFO: Acknowledgment sent {"connection_id":178573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:22:15] local.INFO: TCP Data received {"connection_id":176008,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:22:15] local.INFO: Processing buffer {"connection_id":176008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:22:15] local.INFO: Packet analysis {"connection_id":176008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:22:15] local.INFO: Extracted packet for processing {"connection_id":176008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:22: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-09-09 19:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":176008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:22:15] local.INFO: GPS data processed {"connection_id":176008,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:22:15] local.INFO: Acknowledgment sent {"connection_id":176008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:22:29] local.INFO: TCP Data received {"connection_id":178575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:22:29] local.INFO: Processing buffer {"connection_id":178575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:22:29] local.INFO: IMEI packet received {"connection_id":178575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":178575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:22:34] local.INFO: TCP Data received {"connection_id":178575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:22:34] local.INFO: Processing buffer {"connection_id":178575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:22:34] local.INFO: IMEI packet received {"connection_id":178575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":178575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:22:35] local.INFO: TCP Data received {"connection_id":178575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866ecaf8012d185c8007220468004f00c629..."} 
[2026-09-09 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866ecaf8012d185c8007220468004f00c629..."} 
[2026-09-09 19:22:35] local.INFO: Processing buffer {"connection_id":178575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866ecaf8012d185c8007220468004f00c629..."} 
[2026-09-09 19:22:35] local.INFO: Packet analysis {"connection_id":178575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866e"} 
[2026-09-09 19:22:35] local.INFO: Extracted packet for processing {"connection_id":178575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866e"} 
[2026-09-09 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974216192001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961803000,"timestamp_ms":1788961803000,"timestamp_seconds":1788961803,"priority":1,"record_length":96,"hex_timestamp":"000001a0866ecaf8"} 
[2026-09-09 19:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-09 19:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974216192001,"66":12689,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974216192001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:22:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974216192001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":178575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:22:35] local.INFO: GPS data processed {"connection_id":178575,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:22:35] local.INFO: Acknowledgment sent {"connection_id":178575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:22:38] local.INFO: TCP Data received {"connection_id":178576,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:22:38] local.INFO: Processing buffer {"connection_id":178576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:22:38] local.INFO: IMEI packet received {"connection_id":178576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":178576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:22:38] local.INFO: TCP Data received {"connection_id":178574,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:22:38] local.INFO: Processing buffer {"connection_id":178574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:22:38] local.INFO: IMEI packet received {"connection_id":178574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":178574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:22:43] local.INFO: TCP Data received {"connection_id":178576,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:22:43] local.INFO: Processing buffer {"connection_id":178576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:22:43] local.INFO: IMEI packet received {"connection_id":178576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":178576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:22:44] local.INFO: TCP Data received {"connection_id":178576,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:22:44] local.INFO: Processing buffer {"connection_id":178576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866c5228012d34c14006aa4370000a01162a..."} 
[2026-09-09 19:22:44] local.INFO: Packet analysis {"connection_id":178576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:22:44] local.INFO: Extracted packet for processing {"connection_id":178576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866c"} 
[2026-09-09 19:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974101760001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382856704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961641000,"timestamp_ms":1788961641000,"timestamp_seconds":1788961641,"priority":1,"record_length":96,"hex_timestamp":"000001a0866c5228"} 
[2026-09-09 19:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-09 19:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974101760001,"66":25908,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800967745382856704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974101760001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382856704,"description":"Unknown IO ID 45"} 
[2026-09-09 19:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974101760001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382856704}} 
[2026-09-09 19:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":178576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:22:44] local.INFO: GPS data processed {"connection_id":178576,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:22:44] local.INFO: Acknowledgment sent {"connection_id":178576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:22:45] local.INFO: TCP Data received {"connection_id":178577,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:22:45] local.INFO: Processing buffer {"connection_id":178577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:22:45] local.INFO: IMEI packet received {"connection_id":178577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":178577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:23:07] local.INFO: TCP Data received {"connection_id":178575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866f1d00012d185c8007220468004f00c62b..."} 
[2026-09-09 19:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866f1d00012d185c8007220468004f00c62b..."} 
[2026-09-09 19:23:07] local.INFO: Processing buffer {"connection_id":178575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866f1d00012d185c8007220468004f00c62b..."} 
[2026-09-09 19:23:07] local.INFO: Packet analysis {"connection_id":178575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866f"} 
[2026-09-09 19:23:07] local.INFO: Extracted packet for processing {"connection_id":178575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866f"} 
[2026-09-09 19:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974221568001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788961824000,"timestamp_ms":1788961824000,"timestamp_seconds":1788961824,"priority":1,"record_length":96,"hex_timestamp":"000001a0866f1d00"} 
[2026-09-09 19:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-09 19:23: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-09-09 19: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-09-09 19:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:23: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-09-09 19:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974221568001,"66":12667,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974221568001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974221568001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":178575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:23:07] local.INFO: GPS data processed {"connection_id":178575,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:23:07] local.INFO: Acknowledgment sent {"connection_id":178575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:23:17] local.INFO: TCP Data received {"connection_id":178576,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:23:17] local.INFO: Processing buffer {"connection_id":178576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:23:17] local.INFO: Packet analysis {"connection_id":178576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:23:17] local.INFO: Extracted packet for processing {"connection_id":178576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":178576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:23:17] local.INFO: GPS data processed {"connection_id":178576,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:23:17] local.INFO: Acknowledgment sent {"connection_id":178576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:23:34] local.INFO: TCP Data received {"connection_id":178578,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:23:34] local.INFO: Processing buffer {"connection_id":178578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:23:34] local.INFO: IMEI packet received {"connection_id":178578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":178578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:23:38] local.INFO: TCP Data received {"connection_id":176009,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:23:38] local.INFO: Processing buffer {"connection_id":176009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:23:38] local.INFO: IMEI packet received {"connection_id":176009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":176009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:23:39] local.INFO: TCP Data received {"connection_id":178578,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:23:39] local.INFO: Processing buffer {"connection_id":178578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:23:39] local.INFO: IMEI packet received {"connection_id":178578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":178578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:23:40] local.INFO: TCP Data received {"connection_id":178578,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866f6f08012d185c8007220468004f00c62c..."} 
[2026-09-09 19:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866f6f08012d185c8007220468004f00c62c..."} 
[2026-09-09 19:23:40] local.INFO: Processing buffer {"connection_id":178578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866f6f08012d185c8007220468004f00c62c..."} 
[2026-09-09 19:23:40] local.INFO: Packet analysis {"connection_id":178578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866f"} 
[2026-09-09 19:23:40] local.INFO: Extracted packet for processing {"connection_id":178578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866f"} 
[2026-09-09 19:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":44,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974226944001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23: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-09-09 19:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788961845000,"timestamp_ms":1788961845000,"timestamp_seconds":1788961845,"priority":1,"record_length":96,"hex_timestamp":"000001a0866f6f08"} 
[2026-09-09 19:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-09 19:23: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-09-09 19:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974226944001,"66":12667,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974226944001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:23:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974226944001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":178578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:23:40] local.INFO: GPS data processed {"connection_id":178578,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:23:40] local.INFO: Acknowledgment sent {"connection_id":178578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:23:43] local.INFO: TCP Data received {"connection_id":176009,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:23:43] local.INFO: Processing buffer {"connection_id":176009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:23:43] local.INFO: IMEI packet received {"connection_id":176009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":176009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:23:44] local.INFO: TCP Data received {"connection_id":176009,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:23:44] local.INFO: Processing buffer {"connection_id":176009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:23:44] local.INFO: Packet analysis {"connection_id":176009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:23:44] local.INFO: Extracted packet for processing {"connection_id":176009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":176009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:23:44] local.INFO: GPS data processed {"connection_id":176009,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:23:44] local.INFO: Acknowledgment sent {"connection_id":176009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:23:45] local.INFO: TCP Data received {"connection_id":178578,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0866fc110012d185c8007220468004f00c62b..."} 
[2026-09-09 19:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0866fc110012d185c8007220468004f00c62b..."} 
[2026-09-09 19:23:45] local.INFO: Processing buffer {"connection_id":178578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0866fc110012d185c8007220468004f00c62b..."} 
[2026-09-09 19:23:45] local.INFO: Packet analysis {"connection_id":178578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0866f"} 
[2026-09-09 19:23:45] local.INFO: Extracted packet for processing {"connection_id":178578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0866f"} 
[2026-09-09 19:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974232320001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788961866000,"timestamp_ms":1788961866000,"timestamp_seconds":1788961866,"priority":1,"record_length":96,"hex_timestamp":"000001a0866fc110"} 
[2026-09-09 19:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-09 19:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:23: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-09-09 19:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974232320001,"66":12667,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974232320001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:23:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974232320001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":178578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:23:45] local.INFO: GPS data processed {"connection_id":178578,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:23:45] local.INFO: Acknowledgment sent {"connection_id":178578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:24:17] local.INFO: TCP Data received {"connection_id":176009,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:24:17] local.INFO: Processing buffer {"connection_id":176009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:24:17] local.INFO: Packet analysis {"connection_id":176009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:24:17] local.INFO: Extracted packet for processing {"connection_id":176009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":176009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:24:17] local.INFO: GPS data processed {"connection_id":176009,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:24:17] local.INFO: Acknowledgment sent {"connection_id":176009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:24:29] local.INFO: TCP Data received {"connection_id":177169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:24:29] local.INFO: Processing buffer {"connection_id":177169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:24:29] local.INFO: IMEI packet received {"connection_id":177169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":177169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:24:33] local.INFO: TCP Data received {"connection_id":177169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:24:33] local.INFO: Processing buffer {"connection_id":177169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:24:33] local.INFO: IMEI packet received {"connection_id":177169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":177169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:24:33] local.INFO: TCP Data received {"connection_id":177169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086701318012d185c8007220468004f00c62a..."} 
[2026-09-09 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086701318012d185c8007220468004f00c62a..."} 
[2026-09-09 19:24:33] local.INFO: Processing buffer {"connection_id":177169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086701318012d185c8007220468004f00c62a..."} 
[2026-09-09 19:24:33] local.INFO: Packet analysis {"connection_id":177169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:24:33] local.INFO: Extracted packet for processing {"connection_id":177169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974237696001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:24: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-09-09 19:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788961887000,"timestamp_ms":1788961887000,"timestamp_seconds":1788961887,"priority":1,"record_length":96,"hex_timestamp":"000001a086701318"} 
[2026-09-09 19:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-09 19:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:24: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-09-09 19:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974237696001,"66":12645,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974237696001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:24:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974237696001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":177169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:24:34] local.INFO: GPS data processed {"connection_id":177169,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:24:34] local.INFO: Acknowledgment sent {"connection_id":177169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:24:38] local.INFO: TCP Data received {"connection_id":175771,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:24:38] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:24:38] local.INFO: IMEI packet received {"connection_id":175771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":175771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:24:43] local.INFO: TCP Data received {"connection_id":175771,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:24:43] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:24:43] local.INFO: IMEI packet received {"connection_id":175771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":175771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:24:45] local.INFO: TCP Data received {"connection_id":175771,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:24:45] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:24:45] local.INFO: Packet analysis {"connection_id":175771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:24:45] local.INFO: Extracted packet for processing {"connection_id":175771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":175771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:24:45] local.INFO: GPS data processed {"connection_id":175771,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:24:45] local.INFO: Acknowledgment sent {"connection_id":175771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:25:05] local.INFO: TCP Data received {"connection_id":177169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086706520012d185c8007220468004f00c62a..."} 
[2026-09-09 19:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086706520012d185c8007220468004f00c62a..."} 
[2026-09-09 19:25:05] local.INFO: Processing buffer {"connection_id":177169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086706520012d185c8007220468004f00c62a..."} 
[2026-09-09 19:25:05] local.INFO: Packet analysis {"connection_id":177169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:25:05] local.INFO: Extracted packet for processing {"connection_id":177169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974243072001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25: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-09-09 19:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788961908000,"timestamp_ms":1788961908000,"timestamp_seconds":1788961908,"priority":1,"record_length":96,"hex_timestamp":"000001a086706520"} 
[2026-09-09 19:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-09 19:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:25: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-09-09 19:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974243072001,"66":12645,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974243072001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:25:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974243072001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":177169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:25:05] local.INFO: GPS data processed {"connection_id":177169,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:25:05] local.INFO: Acknowledgment sent {"connection_id":177169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:25:16] local.INFO: TCP Data received {"connection_id":175771,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:25:16] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:25:16] local.INFO: Packet analysis {"connection_id":175771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:25:16] local.INFO: Extracted packet for processing {"connection_id":175771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":175771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:25:16] local.INFO: GPS data processed {"connection_id":175771,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:25:16] local.INFO: Acknowledgment sent {"connection_id":175771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:25:29] local.INFO: TCP Data received {"connection_id":175773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:25:29] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:25:29] local.INFO: IMEI packet received {"connection_id":175773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":175773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:25:34] local.INFO: TCP Data received {"connection_id":175773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:25:34] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:25:34] local.INFO: IMEI packet received {"connection_id":175773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":175773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:25:35] local.INFO: TCP Data received {"connection_id":175773,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08670b728012d185c8007220468004f00c629..."} 
[2026-09-09 19:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670b728012d185c8007220468004f00c629..."} 
[2026-09-09 19:25:35] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670b728012d185c8007220468004f00c629..."} 
[2026-09-09 19:25:35] local.INFO: Packet analysis {"connection_id":175773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:25:35] local.INFO: Extracted packet for processing {"connection_id":175773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974248448001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961929000,"timestamp_ms":1788961929000,"timestamp_seconds":1788961929,"priority":1,"record_length":96,"hex_timestamp":"000001a08670b728"} 
[2026-09-09 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-09-09 19:25: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-09-09 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-09 19:25: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-09-09 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-09-09 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-09-09 19:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974248448001,"66":12591,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974248448001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:25:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974248448001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":175773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:25:35] local.INFO: GPS data processed {"connection_id":175773,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:25:35] local.INFO: Acknowledgment sent {"connection_id":175773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:25:38] local.INFO: TCP Data received {"connection_id":178580,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:25:38] local.INFO: Processing buffer {"connection_id":178580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:25:38] local.INFO: IMEI packet received {"connection_id":178580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":178580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:25:43] local.INFO: TCP Data received {"connection_id":178580,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:25:43] local.INFO: Processing buffer {"connection_id":178580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:25:43] local.INFO: IMEI packet received {"connection_id":178580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":178580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:25:48] local.INFO: TCP Data received {"connection_id":178580,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:25:48] local.INFO: Processing buffer {"connection_id":178580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:25:48] local.INFO: IMEI packet received {"connection_id":178580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":178580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:25:49] local.INFO: TCP Data received {"connection_id":178580,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:25:49] local.INFO: Processing buffer {"connection_id":178580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:25:49] local.INFO: Packet analysis {"connection_id":178580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:25:49] local.INFO: Extracted packet for processing {"connection_id":178580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":178580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:25:49] local.INFO: GPS data processed {"connection_id":178580,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:25:49] local.INFO: Acknowledgment sent {"connection_id":178580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:26:07] local.INFO: TCP Data received {"connection_id":175773,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086710930012d185c8007220468004f00c62a..."} 
[2026-09-09 19:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086710930012d185c8007220468004f00c62a..."} 
[2026-09-09 19:26:07] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086710930012d185c8007220468004f00c62a..."} 
[2026-09-09 19:26:07] local.INFO: Packet analysis {"connection_id":175773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08671"} 
[2026-09-09 19:26:07] local.INFO: Extracted packet for processing {"connection_id":175773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08671"} 
[2026-09-09 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974253824001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788961950000,"timestamp_ms":1788961950000,"timestamp_seconds":1788961950,"priority":1,"record_length":96,"hex_timestamp":"000001a086710930"} 
[2026-09-09 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-09-09 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-09-09 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 19:26: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-09-09 19: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-09-09 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-09-09 19:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 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-09-09 19:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974253824001,"66":12537,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974253824001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:26:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974253824001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":175773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:26:07] local.INFO: GPS data processed {"connection_id":175773,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:26:07] local.INFO: Acknowledgment sent {"connection_id":175773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:26:20] local.INFO: TCP Data received {"connection_id":178580,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:26:20] local.INFO: Processing buffer {"connection_id":178580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:26:20] local.INFO: Packet analysis {"connection_id":178580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:26:20] local.INFO: Extracted packet for processing {"connection_id":178580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:26:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":178580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:26:20] local.INFO: GPS data processed {"connection_id":178580,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:26:20] local.INFO: Acknowledgment sent {"connection_id":178580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:26:29] local.INFO: TCP Data received {"connection_id":177170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:26:29] local.INFO: Processing buffer {"connection_id":177170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:26:29] local.INFO: IMEI packet received {"connection_id":177170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":177170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:26:34] local.INFO: TCP Data received {"connection_id":177170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:26:34] local.INFO: Processing buffer {"connection_id":177170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:26:34] local.INFO: IMEI packet received {"connection_id":177170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":177170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:26:35] local.INFO: TCP Data received {"connection_id":177170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086715b38012d185c8007220468004f00c62b..."} 
[2026-09-09 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086715b38012d185c8007220468004f00c62b..."} 
[2026-09-09 19:26:35] local.INFO: Processing buffer {"connection_id":177170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086715b38012d185c8007220468004f00c62b..."} 
[2026-09-09 19:26:35] local.INFO: Packet analysis {"connection_id":177170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08671"} 
[2026-09-09 19:26:35] local.INFO: Extracted packet for processing {"connection_id":177170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08671"} 
[2026-09-09 19:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974259200001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788961971000,"timestamp_ms":1788961971000,"timestamp_seconds":1788961971,"priority":1,"record_length":96,"hex_timestamp":"000001a086715b38"} 
[2026-09-09 19:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:26: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-09-09 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 19:26: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-09-09 19:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974259200001,"66":12591,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974259200001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:26:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974259200001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":177170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:26:35] local.INFO: GPS data processed {"connection_id":177170,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:26:35] local.INFO: Acknowledgment sent {"connection_id":177170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:26:38] local.INFO: TCP Data received {"connection_id":176010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:26:38] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:26:38] local.INFO: IMEI packet received {"connection_id":176010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":176010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:26:43] local.INFO: TCP Data received {"connection_id":176010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:26:43] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:26:43] local.INFO: IMEI packet received {"connection_id":176010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":176010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:26:44] local.INFO: TCP Data received {"connection_id":176010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:26:44] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:26:44] local.INFO: Packet analysis {"connection_id":176010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:26:44] local.INFO: Extracted packet for processing {"connection_id":176010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":176010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:26:45] local.INFO: GPS data processed {"connection_id":176010,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:26:45] local.INFO: Acknowledgment sent {"connection_id":176010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:27:06] local.INFO: TCP Data received {"connection_id":177170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08671ad40012d185c8007220468004f00c62a..."} 
[2026-09-09 19:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08671ad40012d185c8007220468004f00c62a..."} 
[2026-09-09 19:27:06] local.INFO: Processing buffer {"connection_id":177170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08671ad40012d185c8007220468004f00c62a..."} 
[2026-09-09 19:27:06] local.INFO: Packet analysis {"connection_id":177170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08671"} 
[2026-09-09 19:27:06] local.INFO: Extracted packet for processing {"connection_id":177170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08671"} 
[2026-09-09 19:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974264576001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788961992000,"timestamp_ms":1788961992000,"timestamp_seconds":1788961992,"priority":1,"record_length":96,"hex_timestamp":"000001a08671ad40"} 
[2026-09-09 19:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:27: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-09-09 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-09 19:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:27: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-09-09 19:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974264576001,"66":12558,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974264576001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:27:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974264576001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":177170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:27:06] local.INFO: GPS data processed {"connection_id":177170,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:27:06] local.INFO: Acknowledgment sent {"connection_id":177170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:27:17] local.INFO: TCP Data received {"connection_id":176010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:27:17] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:27:17] local.INFO: Packet analysis {"connection_id":176010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:27:17] local.INFO: Extracted packet for processing {"connection_id":176010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":176010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:27:17] local.INFO: GPS data processed {"connection_id":176010,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:27:17] local.INFO: Acknowledgment sent {"connection_id":176010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:27:29] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:27:29] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:27:29] local.INFO: IMEI packet received {"connection_id":175774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":175774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:27:34] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:27:34] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:27:34] local.INFO: IMEI packet received {"connection_id":175774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":175774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:27:35] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08671ff48012d185c8007220468004f00c62a..."} 
[2026-09-09 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08671ff48012d185c8007220468004f00c62a..."} 
[2026-09-09 19:27:35] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08671ff48012d185c8007220468004f00c62a..."} 
[2026-09-09 19:27:35] local.INFO: Packet analysis {"connection_id":175774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08671"} 
[2026-09-09 19:27:35] local.INFO: Extracted packet for processing {"connection_id":175774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08671"} 
[2026-09-09 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974269952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788962013000,"timestamp_ms":1788962013000,"timestamp_seconds":1788962013,"priority":1,"record_length":96,"hex_timestamp":"000001a08671ff48"} 
[2026-09-09 19:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:27: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-09-09 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2255470864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249448836093052008,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2147951108,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,3,160,91,45,128,4,79,43,10,66,9,42,183,1,240,47,227,134,34,113,205,19,92,104,239,49,2,68,7,106,76,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-09 19:27:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692767812687233024,"timestamp_seconds":5692767812687233.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 19:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974269952001,"66":12558,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974269952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974269952001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":175774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:27:35] local.INFO: GPS data processed {"connection_id":175774,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:27:35] local.INFO: Acknowledgment sent {"connection_id":175774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:27:38] local.INFO: TCP Data received {"connection_id":178582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:27:38] local.INFO: Processing buffer {"connection_id":178582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:27:38] local.INFO: IMEI packet received {"connection_id":178582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":178582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:27:43] local.INFO: TCP Data received {"connection_id":178582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:27:43] local.INFO: Processing buffer {"connection_id":178582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:27:43] local.INFO: IMEI packet received {"connection_id":178582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":178582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:27:44] local.INFO: TCP Data received {"connection_id":178582,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:27:44] local.INFO: Processing buffer {"connection_id":178582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08670e9f0012d34c14006aa4370000801162e..."} 
[2026-09-09 19:27:44] local.INFO: Packet analysis {"connection_id":178582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:27:44] local.INFO: Extracted packet for processing {"connection_id":178582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08670"} 
[2026-09-09 19:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":8,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974180096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788961942000,"timestamp_ms":1788961942000,"timestamp_seconds":1788961942,"priority":1,"record_length":96,"hex_timestamp":"000001a08670e9f0"} 
[2026-09-09 19:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-09 19:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974180096001,"66":25778,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974180096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974180096001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":178582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:27:44] local.INFO: GPS data processed {"connection_id":178582,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:27:44] local.INFO: Acknowledgment sent {"connection_id":178582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:28:06] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086725150012d185c8007220468004f00c62b..."} 
[2026-09-09 19:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086725150012d185c8007220468004f00c62b..."} 
[2026-09-09 19:28:06] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086725150012d185c8007220468004f00c62b..."} 
[2026-09-09 19:28:06] local.INFO: Packet analysis {"connection_id":175774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08672"} 
[2026-09-09 19:28:06] local.INFO: Extracted packet for processing {"connection_id":175774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08672"} 
[2026-09-09 19:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974275328001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788962034000,"timestamp_ms":1788962034000,"timestamp_seconds":1788962034,"priority":1,"record_length":96,"hex_timestamp":"000001a086725150"} 
[2026-09-09 19:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:28: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-09-09 19:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2255491864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249448836093052008,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2147951108,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,3,160,173,45,128,4,79,42,10,66,91,43,9,1,240,249,227,134,34,113,205,101,92,104,239,49,2,68,7,106,77,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-09 19:28:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692767812687233024,"timestamp_seconds":5692767812687233.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 19:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:28: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-09-09 19:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974275328001,"66":12504,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974275328001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:28:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974275328001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":175774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:28:06] local.INFO: GPS data processed {"connection_id":175774,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:28:06] local.INFO: Acknowledgment sent {"connection_id":175774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:28:17] local.INFO: TCP Data received {"connection_id":178582,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:28:17] local.INFO: Processing buffer {"connection_id":178582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:28:17] local.INFO: Packet analysis {"connection_id":178582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:28:17] local.INFO: Extracted packet for processing {"connection_id":178582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":178582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:28:17] local.INFO: GPS data processed {"connection_id":178582,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:28:17] local.INFO: Acknowledgment sent {"connection_id":178582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:28:29] local.INFO: TCP Data received {"connection_id":176013,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:28:29] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:28:29] local.INFO: IMEI packet received {"connection_id":176013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":176013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:28:34] local.INFO: TCP Data received {"connection_id":176013,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:28:34] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:28:34] local.INFO: IMEI packet received {"connection_id":176013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":176013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:28:35] local.INFO: TCP Data received {"connection_id":176013,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08672a358012d185c8007220468004f00c62c..."} 
[2026-09-09 19:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08672a358012d185c8007220468004f00c62c..."} 
[2026-09-09 19:28:35] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08672a358012d185c8007220468004f00c62c..."} 
[2026-09-09 19:28:35] local.INFO: Packet analysis {"connection_id":176013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08672"} 
[2026-09-09 19:28:35] local.INFO: Extracted packet for processing {"connection_id":176013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08672"} 
[2026-09-09 19:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":44,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974280704001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788962055000,"timestamp_ms":1788962055000,"timestamp_seconds":1788962055,"priority":1,"record_length":96,"hex_timestamp":"000001a08672a358"} 
[2026-09-09 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-09-09 19:28: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-09-09 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 19:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974280704001,"66":12504,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974280704001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:28:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974280704001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":176013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:28:35] local.INFO: GPS data processed {"connection_id":176013,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:28:35] local.INFO: Acknowledgment sent {"connection_id":176013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:28:38] local.INFO: TCP Data received {"connection_id":175775,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:28:38] local.INFO: Processing buffer {"connection_id":175775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:28:38] local.INFO: IMEI packet received {"connection_id":175775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":175775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:28:43] local.INFO: TCP Data received {"connection_id":175775,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:28:43] local.INFO: Processing buffer {"connection_id":175775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:28:43] local.INFO: IMEI packet received {"connection_id":175775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":175775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:28:44] local.INFO: TCP Data received {"connection_id":175775,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:28:44] local.INFO: Processing buffer {"connection_id":175775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:28:44] local.INFO: Packet analysis {"connection_id":175775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:28:44] local.INFO: Extracted packet for processing {"connection_id":175775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":175775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:28:44] local.INFO: GPS data processed {"connection_id":175775,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:28:44] local.INFO: Acknowledgment sent {"connection_id":175775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:29:06] local.INFO: TCP Data received {"connection_id":176013,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08672f560012d185c8007220468004f00c62b..."} 
[2026-09-09 19:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08672f560012d185c8007220468004f00c62b..."} 
[2026-09-09 19:29:06] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08672f560012d185c8007220468004f00c62b..."} 
[2026-09-09 19:29:06] local.INFO: Packet analysis {"connection_id":176013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08672"} 
[2026-09-09 19:29:06] local.INFO: Extracted packet for processing {"connection_id":176013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08672"} 
[2026-09-09 19:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974286080001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788962076000,"timestamp_ms":1788962076000,"timestamp_seconds":1788962076,"priority":1,"record_length":96,"hex_timestamp":"000001a08672f560"} 
[2026-09-09 19:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:29: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-09-09 19:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 19:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:29: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-09-09 19:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974286080001,"66":12537,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974286080001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:29:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974286080001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":176013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:29:06] local.INFO: GPS data processed {"connection_id":176013,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:29:06] local.INFO: Acknowledgment sent {"connection_id":176013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:29:15] local.INFO: TCP Data received {"connection_id":178583,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:29:15] local.INFO: Processing buffer {"connection_id":178583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:29:15] local.INFO: IMEI packet received {"connection_id":178583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":178583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:29:16] local.INFO: TCP Data received {"connection_id":175775,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:29:16] local.INFO: Processing buffer {"connection_id":175775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:29:16] local.INFO: Packet analysis {"connection_id":175775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:29:16] local.INFO: Extracted packet for processing {"connection_id":175775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":175775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:29:16] local.INFO: GPS data processed {"connection_id":175775,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:29:16] local.INFO: Acknowledgment sent {"connection_id":175775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:29:34] local.INFO: TCP Data received {"connection_id":177171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:29:34] local.INFO: Processing buffer {"connection_id":177171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:29:34] local.INFO: IMEI packet received {"connection_id":177171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":177171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:29:38] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:29:38] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:29:38] local.INFO: IMEI packet received {"connection_id":176014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":176014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:29:39] local.INFO: TCP Data received {"connection_id":177171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:29:39] local.INFO: Processing buffer {"connection_id":177171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:29:39] local.INFO: IMEI packet received {"connection_id":177171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":177171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:29:40] local.INFO: TCP Data received {"connection_id":177171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086734768012d185c8007220468004f00c62a..."} 
[2026-09-09 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086734768012d185c8007220468004f00c62a..."} 
[2026-09-09 19:29:40] local.INFO: Processing buffer {"connection_id":177171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086734768012d185c8007220468004f00c62a..."} 
[2026-09-09 19:29:40] local.INFO: Packet analysis {"connection_id":177171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08673"} 
[2026-09-09 19:29:40] local.INFO: Extracted packet for processing {"connection_id":177171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08673"} 
[2026-09-09 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974291456001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788962097000,"timestamp_ms":1788962097000,"timestamp_seconds":1788962097,"priority":1,"record_length":96,"hex_timestamp":"000001a086734768"} 
[2026-09-09 19:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-09 19:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974291456001,"66":12504,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974291456001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:29:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974291456001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":177171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:29:40] local.INFO: GPS data processed {"connection_id":177171,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:29:40] local.INFO: Acknowledgment sent {"connection_id":177171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:29:43] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:29:43] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:29:43] local.INFO: IMEI packet received {"connection_id":176014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:29:44] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:29:44] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:29:44] local.INFO: Packet analysis {"connection_id":176014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:29:44] local.INFO: Extracted packet for processing {"connection_id":176014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":176014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:29:44] local.INFO: GPS data processed {"connection_id":176014,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:29:44] local.INFO: Acknowledgment sent {"connection_id":176014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:29:45] local.INFO: TCP Data received {"connection_id":177171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086739970012d185c8007220468004f00c62b..."} 
[2026-09-09 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086739970012d185c8007220468004f00c62b..."} 
[2026-09-09 19:29:45] local.INFO: Processing buffer {"connection_id":177171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086739970012d185c8007220468004f00c62b..."} 
[2026-09-09 19:29:45] local.INFO: Packet analysis {"connection_id":177171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08673"} 
[2026-09-09 19:29:45] local.INFO: Extracted packet for processing {"connection_id":177171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08673"} 
[2026-09-09 19:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974296832001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788962118000,"timestamp_ms":1788962118000,"timestamp_seconds":1788962118,"priority":1,"record_length":96,"hex_timestamp":"000001a086739970"} 
[2026-09-09 19:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:29: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-09-09 19:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 19:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:29: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-09-09 19:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974296832001,"66":12461,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974296832001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:29:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974296832001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":177171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:29:45] local.INFO: GPS data processed {"connection_id":177171,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:29:45] local.INFO: Acknowledgment sent {"connection_id":177171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:29:50] local.INFO: TCP Data received {"connection_id":175776,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:29:50] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:29:50] local.INFO: IMEI packet received {"connection_id":175776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":175776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:30:16] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:30:16] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:30:16] local.INFO: Packet analysis {"connection_id":176014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:30:16] local.INFO: Extracted packet for processing {"connection_id":176014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":176014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:30:16] local.INFO: GPS data processed {"connection_id":176014,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:30:16] local.INFO: Acknowledgment sent {"connection_id":176014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:30:29] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:30:29] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:30:29] local.INFO: IMEI packet received {"connection_id":177172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":177172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:30:30] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:30:30] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:30:30] local.INFO: IMEI packet received {"connection_id":177172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":177172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:30:34] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:30:34] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:30:34] local.INFO: IMEI packet received {"connection_id":177172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":177172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:30:35] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086771fc8012d185c8007220468004f00c62a..."} 
[2026-09-09 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086771fc8012d185c8007220468004f00c62a..."} 
[2026-09-09 19:30:35] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086771fc8012d185c8007220468004f00c62a..."} 
[2026-09-09 19:30:35] local.INFO: Packet analysis {"connection_id":177172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08677"} 
[2026-09-09 19:30:35] local.INFO: Extracted packet for processing {"connection_id":177172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08677"} 
[2026-09-09 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974355968001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788962349000,"timestamp_ms":1788962349000,"timestamp_seconds":1788962349,"priority":1,"record_length":96,"hex_timestamp":"000001a086771fc8"} 
[2026-09-09 19:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 19:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974355968001,"66":12461,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974355968001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:30:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974355968001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":177172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:30:35] local.INFO: GPS data processed {"connection_id":177172,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:30:35] local.INFO: Acknowledgment sent {"connection_id":177172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:30:38] local.INFO: TCP Data received {"connection_id":178584,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:30:38] local.INFO: Processing buffer {"connection_id":178584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:30:38] local.INFO: IMEI packet received {"connection_id":178584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":178584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:30:40] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867771d0012d185c8007220468004f00c62b..."} 
[2026-09-09 19:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867771d0012d185c8007220468004f00c62b..."} 
[2026-09-09 19:30:40] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867771d0012d185c8007220468004f00c62b..."} 
[2026-09-09 19:30:40] local.INFO: Packet analysis {"connection_id":177172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08677"} 
[2026-09-09 19:30:40] local.INFO: Extracted packet for processing {"connection_id":177172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08677"} 
[2026-09-09 19:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974361344001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30: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-09-09 19:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788962370000,"timestamp_ms":1788962370000,"timestamp_seconds":1788962370,"priority":1,"record_length":96,"hex_timestamp":"000001a0867771d0"} 
[2026-09-09 19:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 19:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974361344001,"66":12461,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974361344001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:30:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974361344001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":177172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:30:40] local.INFO: GPS data processed {"connection_id":177172,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:30:40] local.INFO: Acknowledgment sent {"connection_id":177172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:30:43] local.INFO: TCP Data received {"connection_id":178584,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:30:43] local.INFO: Processing buffer {"connection_id":178584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:30:43] local.INFO: IMEI packet received {"connection_id":178584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":178584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:30:44] local.INFO: TCP Data received {"connection_id":178584,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:30:44] local.INFO: Processing buffer {"connection_id":178584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:30:44] local.INFO: Packet analysis {"connection_id":178584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:30:44] local.INFO: Extracted packet for processing {"connection_id":178584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":178584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:30:44] local.INFO: GPS data processed {"connection_id":178584,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:30:44] local.INFO: Acknowledgment sent {"connection_id":178584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:31:11] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08677c3d8012d185c8007220468004f00c62c..."} 
[2026-09-09 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08677c3d8012d185c8007220468004f00c62c..."} 
[2026-09-09 19:31:11] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08677c3d8012d185c8007220468004f00c62c..."} 
[2026-09-09 19:31:11] local.INFO: Packet analysis {"connection_id":177172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08677"} 
[2026-09-09 19:31:11] local.INFO: Extracted packet for processing {"connection_id":177172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08677"} 
[2026-09-09 19:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":44,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974366720001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31: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-09-09 19:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788962391000,"timestamp_ms":1788962391000,"timestamp_seconds":1788962391,"priority":1,"record_length":96,"hex_timestamp":"000001a08677c3d8"} 
[2026-09-09 19:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:31: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-09-09 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 19:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:31: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-09-09 19:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974366720001,"66":14157,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974366720001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:31:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974366720001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":177172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:31:11] local.INFO: GPS data processed {"connection_id":177172,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:31:11] local.INFO: Acknowledgment sent {"connection_id":177172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:31:16] local.INFO: TCP Data received {"connection_id":178584,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:31:16] local.INFO: Processing buffer {"connection_id":178584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:31:16] local.INFO: Packet analysis {"connection_id":178584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:31:16] local.INFO: Extracted packet for processing {"connection_id":178584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":178584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:31:16] local.INFO: GPS data processed {"connection_id":178584,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:31:16] local.INFO: Acknowledgment sent {"connection_id":178584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:31:29] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:31:29] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:31:29] local.INFO: IMEI packet received {"connection_id":175777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":175777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:31:34] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:31:34] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:31:34] local.INFO: IMEI packet received {"connection_id":175777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":175777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:31:35] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867815e0012d185c8007220468004f00c62a..."} 
[2026-09-09 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867815e0012d185c8007220468004f00c62a..."} 
[2026-09-09 19:31:35] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867815e0012d185c8007220468004f00c62a..."} 
[2026-09-09 19:31:35] local.INFO: Packet analysis {"connection_id":175777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:31:35] local.INFO: Extracted packet for processing {"connection_id":175777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119669864,"longitude_deg":75.6571264,"latitude_deg":11.9669864,"altitude":79,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d185c80","hex_latitude":"07220468","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974372096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143931958657024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788962412000,"timestamp_ms":1788962412000,"timestamp_seconds":1788962412,"priority":1,"record_length":96,"hex_timestamp":"000001a0867815e0"} 
[2026-09-09 19:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 19:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974372096001,"66":13906,"105":206,"83":41984,"24":0,"16":19143931958657024,"45":1755418722891491328},"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-09-09 19:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974372096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143931958657024,"km_value":19143931958657.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974372096001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":175777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:31:35] local.INFO: GPS data processed {"connection_id":175777,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:31:35] local.INFO: Acknowledgment sent {"connection_id":175777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:31:38] local.INFO: TCP Data received {"connection_id":177173,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:31:38] local.INFO: Processing buffer {"connection_id":177173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:31:38] local.INFO: IMEI packet received {"connection_id":177173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":177173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:31:43] local.INFO: TCP Data received {"connection_id":177173,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:31:43] local.INFO: Processing buffer {"connection_id":177173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:31:43] local.INFO: IMEI packet received {"connection_id":177173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":177173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:31:45] local.INFO: TCP Data received {"connection_id":177173,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:31:45] local.INFO: Processing buffer {"connection_id":177173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:31:45] local.INFO: Packet analysis {"connection_id":177173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:31:45] local.INFO: Extracted packet for processing {"connection_id":177173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:31:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":177173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:31:45] local.INFO: GPS data processed {"connection_id":177173,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:31:45] local.INFO: Acknowledgment sent {"connection_id":177173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:32:06] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086784c90012d185c00072204c0005000fe2b..."} 
[2026-09-09 19:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086784c90012d185c00072204c0005000fe2b..."} 
[2026-09-09 19:32:06] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086784c90012d185c00072204c0005000fe2b..."} 
[2026-09-09 19:32:06] local.INFO: Packet analysis {"connection_id":175777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:32:06] local.INFO: Extracted packet for processing {"connection_id":175777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756571136,"raw_latitude":119669952,"longitude_deg":75.6571136,"latitude_deg":11.9669952,"altitude":80,"angle":254,"satellites":43,"speed":2,"hex_longitude":"2d185c00","hex_latitude":"072204c0","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974377472001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143940548591616,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891491328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788962426000,"timestamp_ms":1788962426000,"timestamp_seconds":1788962426,"priority":1,"record_length":96,"hex_timestamp":"000001a086784c90"} 
[2026-09-09 19:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":82,"data_length":795,"current_offset":136} 
[2026-09-09 19:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:32: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-09-09 19:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974377472001,"66":13678,"105":206,"83":41984,"24":2,"16":19143940548591616,"45":1755418722891491328},"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-09-09 19:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974377472001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:32:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143940548591616,"km_value":19143940548591.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891491328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974377472001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1755418722891491328}} 
[2026-09-09 19:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":175777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:32:06] local.INFO: GPS data processed {"connection_id":175777,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:32:06] local.INFO: Acknowledgment sent {"connection_id":175777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:32:17] local.INFO: TCP Data received {"connection_id":177173,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:32:17] local.INFO: Processing buffer {"connection_id":177173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:32:17] local.INFO: Packet analysis {"connection_id":177173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:32:17] local.INFO: Extracted packet for processing {"connection_id":177173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":177173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:32:17] local.INFO: GPS data processed {"connection_id":177173,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:32:17] local.INFO: Acknowledgment sent {"connection_id":177173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:32:29] local.INFO: TCP Data received {"connection_id":175778,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:32:29] local.INFO: Processing buffer {"connection_id":175778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:32:29] local.INFO: IMEI packet received {"connection_id":175778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":175778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:32:33] local.INFO: TCP Data received {"connection_id":175778,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:32:33] local.INFO: Processing buffer {"connection_id":175778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:32:33] local.INFO: IMEI packet received {"connection_id":175778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":175778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:32:34] local.INFO: TCP Data received {"connection_id":175778,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086785c30012d185a8007220418005000e42b..."} 
[2026-09-09 19:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086785c30012d185a8007220418005000e42b..."} 
[2026-09-09 19:32:34] local.INFO: Processing buffer {"connection_id":175778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086785c30012d185a8007220418005000e42b..."} 
[2026-09-09 19:32:34] local.INFO: Packet analysis {"connection_id":175778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:32:34] local.INFO: Extracted packet for processing {"connection_id":175778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756570752,"raw_latitude":119669784,"longitude_deg":75.6570752,"latitude_deg":11.9669784,"altitude":80,"angle":228,"satellites":43,"speed":9,"hex_longitude":"2d185a80","hex_latitude":"07220418","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974381056001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143962023428096,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755277985403158528,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32: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-09-09 19:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788962430000,"timestamp_ms":1788962430000,"timestamp_seconds":1788962430,"priority":1,"record_length":96,"hex_timestamp":"000001a086785c30"} 
[2026-09-09 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-09-09 19:32: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-09-09 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 19:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974381056001,"66":13580,"105":206,"83":41984,"24":9,"16":19143962023428096,"45":1755277985403158528},"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-09-09 19:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974381056001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:32:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143962023428096,"km_value":19143962023428.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755277985403158528,"description":"Unknown IO ID 45"} 
[2026-09-09 19:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974381056001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1755277985403158528}} 
[2026-09-09 19:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":175778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:32:34] local.INFO: GPS data processed {"connection_id":175778,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:32:34] local.INFO: Acknowledgment sent {"connection_id":175778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:32:38] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:32:38] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:32:38] local.INFO: IMEI packet received {"connection_id":175779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":175779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:32:43] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:32:43] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:32:43] local.INFO: IMEI packet received {"connection_id":175779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":175779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:32:44] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:32:44] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867581b8012d34c14006aa4370000d01162e..."} 
[2026-09-09 19:32:44] local.INFO: Packet analysis {"connection_id":175779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:32:44] local.INFO: Extracted packet for processing {"connection_id":175779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08675"} 
[2026-09-09 19:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":13,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974257152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962243000,"timestamp_ms":1788962243000,"timestamp_seconds":1788962243,"priority":1,"record_length":96,"hex_timestamp":"000001a0867581b8"} 
[2026-09-09 19:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974257152001,"66":25756,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974257152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974257152001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":175779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:32:44] local.INFO: GPS data processed {"connection_id":175779,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:32:44] local.INFO: Acknowledgment sent {"connection_id":175779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:33:05] local.INFO: TCP Data received {"connection_id":175778,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086786018012d1859c007220350005000d22b..."} 
[2026-09-09 19:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086786018012d1859c007220350005000d22b..."} 
[2026-09-09 19:33:05] local.INFO: Processing buffer {"connection_id":175778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086786018012d1859c007220350005000d22b..."} 
[2026-09-09 19:33:05] local.INFO: Packet analysis {"connection_id":175778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:33:05] local.INFO: Extracted packet for processing {"connection_id":175778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119669584,"longitude_deg":75.657056,"latitude_deg":11.9669584,"altitude":80,"angle":210,"satellites":43,"speed":10,"hex_longitude":"2d1859c0","hex_latitude":"07220350","is_valid_coordinates":true} 
[2026-09-09 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974382080001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19143974908329984,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754855772938049536,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33: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-09-09 19:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788962431000,"timestamp_ms":1788962431000,"timestamp_seconds":1788962431,"priority":1,"record_length":96,"hex_timestamp":"000001a086786018"} 
[2026-09-09 19:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751531011,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6665335291192541263,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2255932864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630868063840873,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2147951108,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-5980554448236130733,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,3,160,76,45,4,80,43,10,66,21,128,79,42,195,1,240,77,227,134,34,113,205,31,92,104,239,48,2,68,7,164],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-09 19:33:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764858396369551360,"timestamp_seconds":5764858396369551.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 19:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:33: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-09-09 19:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974382080001,"66":13580,"105":206,"83":41984,"24":10,"16":19143974908329984,"45":1754855772938049536},"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-09-09 19:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974382080001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:33:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19143974908329984,"km_value":19143974908329.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754855772938049536,"description":"Unknown IO ID 45"} 
[2026-09-09 19:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974382080001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1754855772938049536}} 
[2026-09-09 19:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":175778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:33:05] local.INFO: GPS data processed {"connection_id":175778,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:33:05] local.INFO: Acknowledgment sent {"connection_id":175778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:33:16] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:33:16] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:33:16] local.INFO: Packet analysis {"connection_id":175779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:33:16] local.INFO: Extracted packet for processing {"connection_id":175779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":175779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:33:16] local.INFO: GPS data processed {"connection_id":175779,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:33:16] local.INFO: Acknowledgment sent {"connection_id":175779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:33:29] local.INFO: TCP Data received {"connection_id":177175,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:33:29] local.INFO: Processing buffer {"connection_id":177175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:33:29] local.INFO: IMEI packet received {"connection_id":177175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":177175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:33:34] local.INFO: TCP Data received {"connection_id":177175,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:33:34] local.INFO: Processing buffer {"connection_id":177175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:33:34] local.INFO: IMEI packet received {"connection_id":177175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":177175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:33:35] local.INFO: TCP Data received {"connection_id":177175,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086789e98012d1845000721e4d0004d00d52b..."} 
[2026-09-09 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086789e98012d1845000721e4d0004d00d52b..."} 
[2026-09-09 19:33:35] local.INFO: Processing buffer {"connection_id":177175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086789e98012d1845000721e4d0004d00d52b..."} 
[2026-09-09 19:33:35] local.INFO: Packet analysis {"connection_id":177175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:33:35] local.INFO: Extracted packet for processing {"connection_id":177175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08678"} 
[2026-09-09 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756565248,"raw_latitude":119661776,"longitude_deg":75.6565248,"latitude_deg":11.9661776,"altitude":77,"angle":213,"satellites":43,"speed":33,"hex_longitude":"2d184500","hex_latitude":"0721e4d0","is_valid_coordinates":true} 
[2026-09-09 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974382336001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19144430174863360,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705465344,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788962447000,"timestamp_ms":1788962447000,"timestamp_seconds":1788962447,"priority":1,"record_length":96,"hex_timestamp":"000001a086789e98"} 
[2026-09-09 19:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751531011,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6665335291192541263,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2255953864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2147951108,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630868063840873,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-5980554448236130733,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,3,160,92,45,128,4,80,43,10,66,76,21,1,240,82,227,134,34,113,205,104,239,48,2,68,7,79,164],"length":577,"final_offset":707,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-09 19:33:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764838605160316928,"timestamp_seconds":5764838605160317.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 19:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974382336001,"66":13580,"105":206,"83":41984,"24":33,"16":19144430174863360,"45":1754644666705465344},"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-09-09 19:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974382336001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:33:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19144430174863360,"km_value":19144430174863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705465344,"description":"Unknown IO ID 45"} 
[2026-09-09 19:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974382336001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1754644666705465344}} 
[2026-09-09 19:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":177175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:33:35] local.INFO: GPS data processed {"connection_id":177175,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:33:35] local.INFO: Acknowledgment sent {"connection_id":177175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:33:39] local.INFO: TCP Data received {"connection_id":177176,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:33:39] local.INFO: Processing buffer {"connection_id":177176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:33:39] local.INFO: IMEI packet received {"connection_id":177176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":177176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:33:43] local.INFO: TCP Data received {"connection_id":177176,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:33:43] local.INFO: Processing buffer {"connection_id":177176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:33:43] local.INFO: IMEI packet received {"connection_id":177176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":177176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:33:44] local.INFO: TCP Data received {"connection_id":177176,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:33:44] local.INFO: Processing buffer {"connection_id":177176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:33:44] local.INFO: Packet analysis {"connection_id":177176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:33:44] local.INFO: Extracted packet for processing {"connection_id":177176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":177176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:33:44] local.INFO: GPS data processed {"connection_id":177176,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:33:44] local.INFO: Acknowledgment sent {"connection_id":177176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:34:06] local.INFO: TCP Data received {"connection_id":177175,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a4c48012d182c0007219cd8004a007c2a..."} 
[2026-09-09 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a4c48012d182c0007219cd8004a007c2a..."} 
[2026-09-09 19:34:06] local.INFO: Processing buffer {"connection_id":177175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a4c48012d182c0007219cd8004a007c2a..."} 
[2026-09-09 19:34:06] local.INFO: Packet analysis {"connection_id":177175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:34:06] local.INFO: Extracted packet for processing {"connection_id":177175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119643352,"longitude_deg":75.6558848,"latitude_deg":11.9643352,"altitude":74,"angle":124,"satellites":42,"speed":0,"hex_longitude":"2d182c00","hex_latitude":"07219cd8","is_valid_coordinates":true} 
[2026-09-09 19:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974409216001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145525391523840,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186514237440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788962557000,"timestamp_ms":1788962557000,"timestamp_seconds":1788962557,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a4c48"} 
[2026-09-09 19:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-09 19:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:34: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-09-09 19:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974409216001,"66":12711,"105":206,"83":41984,"24":0,"16":19145525391523840,"45":1741767186514237440},"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-09-09 19:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974409216001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:34:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145525391523840,"km_value":19145525391523.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186514237440,"description":"Unknown IO ID 45"} 
[2026-09-09 19:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974409216001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741767186514237440}} 
[2026-09-09 19:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":177175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:34:06] local.INFO: GPS data processed {"connection_id":177175,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:34:06] local.INFO: Acknowledgment sent {"connection_id":177175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:34:16] local.INFO: TCP Data received {"connection_id":177176,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:34:16] local.INFO: Processing buffer {"connection_id":177176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:34:16] local.INFO: Packet analysis {"connection_id":177176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:34:16] local.INFO: Extracted packet for processing {"connection_id":177176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":177176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:34:16] local.INFO: GPS data processed {"connection_id":177176,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:34:16] local.INFO: Acknowledgment sent {"connection_id":177176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:34:29] local.INFO: TCP Data received {"connection_id":177178,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:34:29] local.INFO: Processing buffer {"connection_id":177178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:34:29] local.INFO: IMEI packet received {"connection_id":177178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":177178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:34:34] local.INFO: TCP Data received {"connection_id":177178,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:34:34] local.INFO: Processing buffer {"connection_id":177178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:34:34] local.INFO: IMEI packet received {"connection_id":177178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":177178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:34:35] local.INFO: TCP Data received {"connection_id":177178,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a9e50012d182c0007219cd8004a007c2d..."} 
[2026-09-09 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a9e50012d182c0007219cd8004a007c2d..."} 
[2026-09-09 19:34:35] local.INFO: Processing buffer {"connection_id":177178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a9e50012d182c0007219cd8004a007c2d..."} 
[2026-09-09 19:34:35] local.INFO: Packet analysis {"connection_id":177178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:34:35] local.INFO: Extracted packet for processing {"connection_id":177178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119643352,"longitude_deg":75.6558848,"latitude_deg":11.9643352,"altitude":74,"angle":124,"satellites":45,"speed":0,"hex_longitude":"2d182c00","hex_latitude":"07219cd8","is_valid_coordinates":true} 
[2026-09-09 19:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974414592001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145525391523840,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186514237440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788962578000,"timestamp_ms":1788962578000,"timestamp_seconds":1788962578,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a9e50"} 
[2026-09-09 19:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-09 19:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974414592001,"66":12613,"105":206,"83":41984,"24":0,"16":19145525391523840,"45":1741767186514237440},"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-09-09 19:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974414592001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145525391523840,"km_value":19145525391523.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186514237440,"description":"Unknown IO ID 45"} 
[2026-09-09 19:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974414592001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741767186514237440}} 
[2026-09-09 19:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":177178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:34:35] local.INFO: GPS data processed {"connection_id":177178,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:34:35] local.INFO: Acknowledgment sent {"connection_id":177178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:34:38] local.INFO: TCP Data received {"connection_id":178585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:34:38] local.INFO: Processing buffer {"connection_id":178585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:34:38] local.INFO: IMEI packet received {"connection_id":178585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":178585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:34:43] local.INFO: TCP Data received {"connection_id":178585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:34:43] local.INFO: Processing buffer {"connection_id":178585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:34:43] local.INFO: IMEI packet received {"connection_id":178585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":178585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:34:46] local.INFO: TCP Data received {"connection_id":178585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:34:46] local.INFO: Processing buffer {"connection_id":178585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:34:46] local.INFO: Packet analysis {"connection_id":178585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:34:46] local.INFO: Extracted packet for processing {"connection_id":178585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":178585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:34:46] local.INFO: GPS data processed {"connection_id":178585,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:34:46] local.INFO: Acknowledgment sent {"connection_id":178585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:35:01] local.INFO: TCP Data received {"connection_id":175780,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:35:01] local.INFO: Processing buffer {"connection_id":175780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:35:01] local.INFO: IMEI packet received {"connection_id":175780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":175780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:35:06] local.INFO: TCP Data received {"connection_id":177178,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867af058012d182c0007219cd8004a007c2c..."} 
[2026-09-09 19:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867af058012d182c0007219cd8004a007c2c..."} 
[2026-09-09 19:35:06] local.INFO: Processing buffer {"connection_id":177178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867af058012d182c0007219cd8004a007c2c..."} 
[2026-09-09 19:35:06] local.INFO: Packet analysis {"connection_id":177178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:35:06] local.INFO: Extracted packet for processing {"connection_id":177178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119643352,"longitude_deg":75.6558848,"latitude_deg":11.9643352,"altitude":74,"angle":124,"satellites":44,"speed":0,"hex_longitude":"2d182c00","hex_latitude":"07219cd8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974419968001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145525391523840,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186514237440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788962599000,"timestamp_ms":1788962599000,"timestamp_seconds":1788962599,"priority":1,"record_length":96,"hex_timestamp":"000001a0867af058"} 
[2026-09-09 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-09-09 19:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-09 19:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 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-09-09 19:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974419968001,"66":12645,"105":206,"83":41984,"24":0,"16":19145525391523840,"45":1741767186514237440},"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-09-09 19:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974419968001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:35:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145525391523840,"km_value":19145525391523.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186514237440,"description":"Unknown IO ID 45"} 
[2026-09-09 19:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974419968001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741767186514237440}} 
[2026-09-09 19:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":177178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:35:06] local.INFO: GPS data processed {"connection_id":177178,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:35:06] local.INFO: Acknowledgment sent {"connection_id":177178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:35:18] local.INFO: TCP Data received {"connection_id":178585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:35:18] local.INFO: Processing buffer {"connection_id":178585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:35:18] local.INFO: Packet analysis {"connection_id":178585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:35:18] local.INFO: Extracted packet for processing {"connection_id":178585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:35:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":178585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:35:18] local.INFO: GPS data processed {"connection_id":178585,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:35:18] local.INFO: Acknowledgment sent {"connection_id":178585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:35:29] local.INFO: TCP Data received {"connection_id":176017,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:35:29] local.INFO: Processing buffer {"connection_id":176017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:35:29] local.INFO: IMEI packet received {"connection_id":176017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":176017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:35:34] local.INFO: TCP Data received {"connection_id":176017,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:35:34] local.INFO: Processing buffer {"connection_id":176017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:35:34] local.INFO: IMEI packet received {"connection_id":176017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":176017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:35:35] local.INFO: TCP Data received {"connection_id":176017,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867b4260012d182c0007219cd8004a007c2d..."} 
[2026-09-09 19:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867b4260012d182c0007219cd8004a007c2d..."} 
[2026-09-09 19:35:35] local.INFO: Processing buffer {"connection_id":176017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867b4260012d182c0007219cd8004a007c2d..."} 
[2026-09-09 19:35:35] local.INFO: Packet analysis {"connection_id":176017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867b"} 
[2026-09-09 19:35:35] local.INFO: Extracted packet for processing {"connection_id":176017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867b"} 
[2026-09-09 19:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119643352,"longitude_deg":75.6558848,"latitude_deg":11.9643352,"altitude":74,"angle":124,"satellites":45,"speed":0,"hex_longitude":"2d182c00","hex_latitude":"07219cd8","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974425344001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145525391523840,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186514237440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788962620000,"timestamp_ms":1788962620000,"timestamp_seconds":1788962620,"priority":1,"record_length":96,"hex_timestamp":"000001a0867b4260"} 
[2026-09-09 19:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-09 19:35: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-09-09 19: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-09-09 19:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974425344001,"66":12558,"105":206,"83":41984,"24":0,"16":19145525391523840,"45":1741767186514237440},"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-09-09 19:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974425344001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:35:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145525391523840,"km_value":19145525391523.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186514237440,"description":"Unknown IO ID 45"} 
[2026-09-09 19:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974425344001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741767186514237440}} 
[2026-09-09 19:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":176017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:35:35] local.INFO: GPS data processed {"connection_id":176017,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:35:35] local.INFO: Acknowledgment sent {"connection_id":176017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:35:38] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:35:38] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:35:38] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:35:40] local.INFO: TCP Data received {"connection_id":178586,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:35:40] local.INFO: Processing buffer {"connection_id":178586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:35:40] local.INFO: IMEI packet received {"connection_id":178586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":178586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:35:43] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:35:43] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:35:43] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:35:44] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:35:44] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:35:44] local.INFO: Packet analysis {"connection_id":176018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:35:44] local.INFO: Extracted packet for processing {"connection_id":176018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":176018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:35:44] local.INFO: GPS data processed {"connection_id":176018,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:35:44] local.INFO: Acknowledgment sent {"connection_id":176018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:36:07] local.INFO: TCP Data received {"connection_id":176017,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867b9468012d182c0007219cd8004a007c2c..."} 
[2026-09-09 19:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867b9468012d182c0007219cd8004a007c2c..."} 
[2026-09-09 19:36:07] local.INFO: Processing buffer {"connection_id":176017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867b9468012d182c0007219cd8004a007c2c..."} 
[2026-09-09 19:36:07] local.INFO: Packet analysis {"connection_id":176017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867b"} 
[2026-09-09 19:36:07] local.INFO: Extracted packet for processing {"connection_id":176017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867b"} 
[2026-09-09 19:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119643352,"longitude_deg":75.6558848,"latitude_deg":11.9643352,"altitude":74,"angle":124,"satellites":44,"speed":0,"hex_longitude":"2d182c00","hex_latitude":"07219cd8","is_valid_coordinates":true} 
[2026-09-09 19:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974430720001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19145525391523840,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186514237440,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788962641000,"timestamp_ms":1788962641000,"timestamp_seconds":1788962641,"priority":1,"record_length":96,"hex_timestamp":"000001a0867b9468"} 
[2026-09-09 19:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2256098864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249393035877916152,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2631401546,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465450,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408305666,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,4,160,240,45,156,74,44,10,66,158,76,1,167,227,134,33,113,205,168,216,42,239,49,2,68,7,6,106,80,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-09 19:36:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332398491522039808,"timestamp_seconds":5332398491522040.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 19:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19: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-09-09 19:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974430720001,"66":10873,"105":206,"83":41984,"24":0,"16":19145525391523840,"45":1741767186514237440},"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-09-09 19:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974430720001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:36:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-09 19:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19145525391523840,"km_value":19145525391523.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186514237440,"description":"Unknown IO ID 45"} 
[2026-09-09 19:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974430720001,"power":10873,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741767186514237440}} 
[2026-09-09 19:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":176017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:36:07] local.INFO: GPS data processed {"connection_id":176017,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:36:07] local.INFO: Acknowledgment sent {"connection_id":176017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:36:17] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:36:17] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:36:17] local.INFO: Packet analysis {"connection_id":176018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:36:17] local.INFO: Extracted packet for processing {"connection_id":176018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:36:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":176018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:36:17] local.INFO: GPS data processed {"connection_id":176018,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:36:17] local.INFO: Acknowledgment sent {"connection_id":176018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:36:31] local.INFO: TCP Data received {"connection_id":178588,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:36:31] local.INFO: Processing buffer {"connection_id":178588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:36:31] local.INFO: IMEI packet received {"connection_id":178588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":178588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:36:34] local.INFO: TCP Data received {"connection_id":178588,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:36:34] local.INFO: Processing buffer {"connection_id":178588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:36:34] local.INFO: IMEI packet received {"connection_id":178588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":178588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:36:37] local.INFO: TCP Data received {"connection_id":178588,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:36:37] local.INFO: Processing buffer {"connection_id":178588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:36:37] local.INFO: IMEI packet received {"connection_id":178588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":178588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:36:38] local.INFO: TCP Data received {"connection_id":175781,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:36:38] local.INFO: Processing buffer {"connection_id":175781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:36:38] local.INFO: IMEI packet received {"connection_id":175781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":175781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:36:38] local.INFO: TCP Data received {"connection_id":178588,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867d0398012d18a400072175a0004c006926..."} 
[2026-09-09 19:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867d0398012d18a400072175a0004c006926..."} 
[2026-09-09 19:36:38] local.INFO: Processing buffer {"connection_id":178588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867d0398012d18a400072175a0004c006926..."} 
[2026-09-09 19:36:38] local.INFO: Packet analysis {"connection_id":178588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:36:38] local.INFO: Extracted packet for processing {"connection_id":178588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119633312,"longitude_deg":75.6589568,"latitude_deg":11.9633312,"altitude":76,"angle":105,"satellites":38,"speed":29,"hex_longitude":"2d18a400","hex_latitude":"072175a0","is_valid_coordinates":true} 
[2026-09-09 19:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974458368001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19147093054586880,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770125790415775744,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36: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-09-09 19:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788962735000,"timestamp_ms":1788962735000,"timestamp_seconds":1788962735,"priority":1,"record_length":96,"hex_timestamp":"000001a0867d0398"} 
[2026-09-09 19:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-09 19:36: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-09-09 19:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":178588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":178588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":178588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19: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-09-09 19:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974458368001,"66":13537,"106":206,"83":41984,"24":29,"16":19147093054586880,"45":1770125790415775744},"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-09-09 19:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974458368001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:36:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-09 19:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19147093054586880,"km_value":19147093054586.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770125790415775744,"description":"Unknown IO ID 45"} 
[2026-09-09 19:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974458368001,"power":13537,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1770125790415775744}} 
[2026-09-09 19:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":178588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:36:38] local.INFO: GPS data processed {"connection_id":178588,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:36:38] local.INFO: Acknowledgment sent {"connection_id":178588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:36:43] local.INFO: TCP Data received {"connection_id":175781,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:36:43] local.INFO: Processing buffer {"connection_id":175781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:36:43] local.INFO: IMEI packet received {"connection_id":175781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":175781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:36:44] local.INFO: TCP Data received {"connection_id":175781,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:36:44] local.INFO: Processing buffer {"connection_id":175781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:36:44] local.INFO: Packet analysis {"connection_id":175781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:36:44] local.INFO: Extracted packet for processing {"connection_id":175781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":175781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:36:44] local.INFO: GPS data processed {"connection_id":175781,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:36:44] local.INFO: Acknowledgment sent {"connection_id":175781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:37:09] local.INFO: TCP Data received {"connection_id":178588,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867dbb30012d18d8c00720fd100036009628..."} 
[2026-09-09 19:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867dbb30012d18d8c00720fd100036009628..."} 
[2026-09-09 19:37:09] local.INFO: Processing buffer {"connection_id":178588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867dbb30012d18d8c00720fd100036009628..."} 
[2026-09-09 19:37:09] local.INFO: Packet analysis {"connection_id":178588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:37:09] local.INFO: Extracted packet for processing {"connection_id":178588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:37:09] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119602448,"longitude_deg":75.6603072,"latitude_deg":11.9602448,"altitude":54,"angle":150,"satellites":40,"speed":29,"hex_longitude":"2d18d8c0","hex_latitude":"0720fd10","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974471168001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19148802451570688,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982591942656,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37: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-09-09 19:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788962782000,"timestamp_ms":1788962782000,"timestamp_seconds":1788962782,"priority":1,"record_length":96,"hex_timestamp":"000001a0867dbb30"} 
[2026-09-09 19:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:37: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-09-09 19: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-09 19:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":178588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":178588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":178588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974471168001,"66":13580,"103":206,"83":41984,"24":29,"16":19148802451570688,"45":1789054982591942656},"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-09-09 19:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974471168001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:37:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:37:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19148802451570688,"km_value":19148802451570.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982591942656,"description":"Unknown IO ID 45"} 
[2026-09-09 19:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974471168001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1789054982591942656}} 
[2026-09-09 19:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":178588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:37:09] local.INFO: GPS data processed {"connection_id":178588,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:37:09] local.INFO: Acknowledgment sent {"connection_id":178588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:37:16] local.INFO: TCP Data received {"connection_id":175781,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:37:16] local.INFO: Processing buffer {"connection_id":175781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:37:16] local.INFO: Packet analysis {"connection_id":175781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:37:16] local.INFO: Extracted packet for processing {"connection_id":175781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":175781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:37:16] local.INFO: GPS data processed {"connection_id":175781,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:37:16] local.INFO: Acknowledgment sent {"connection_id":175781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:37:30] local.INFO: TCP Data received {"connection_id":176019,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:37:30] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:37:30] local.INFO: IMEI packet received {"connection_id":176019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":176019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:37:33] local.INFO: TCP Data received {"connection_id":176019,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:37:33] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:37:33] local.INFO: IMEI packet received {"connection_id":176019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":176019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:37:34] local.INFO: TCP Data received {"connection_id":176019,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867dc300012d18dc800720f8c00036008428..."} 
[2026-09-09 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867dc300012d18dc800720f8c00036008428..."} 
[2026-09-09 19:37:34] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867dc300012d18dc800720f8c00036008428..."} 
[2026-09-09 19:37:34] local.INFO: Packet analysis {"connection_id":176019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:37:34] local.INFO: Extracted packet for processing {"connection_id":176019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119601344,"longitude_deg":75.6604032,"latitude_deg":11.9601344,"altitude":54,"angle":132,"satellites":40,"speed":28,"hex_longitude":"2d18dc80","hex_latitude":"0720f8c0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974472192001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19148871171047424,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988730531840,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788962784000,"timestamp_ms":1788962784000,"timestamp_seconds":1788962784,"priority":1,"record_length":96,"hex_timestamp":"000001a0867dc300"} 
[2026-09-09 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-09-09 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751531014,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-4395505396615217083,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2256357864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110806122,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692732,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916985383800403,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:34] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,7,160,171,45,9,56,40,10,66,132,128,36,60,37,124,192,1,240,225,227,134,33,4,113,205,31,93,197,43,239,53,106,2,68,32,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-09 19:37:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891275176592867328,"timestamp_seconds":3891275176592867.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 19:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974472192001,"66":13678,"103":206,"83":41984,"24":28,"16":19148871171047424,"45":1790391988730531840},"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-09-09 19:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974472192001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:37:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19148871171047424,"km_value":19148871171047.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988730531840,"description":"Unknown IO ID 45"} 
[2026-09-09 19:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974472192001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1790391988730531840}} 
[2026-09-09 19:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":176019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:37:34] local.INFO: GPS data processed {"connection_id":176019,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:37:34] local.INFO: Acknowledgment sent {"connection_id":176019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:37:43] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:37:43] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:37:43] local.INFO: IMEI packet received {"connection_id":175783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":175783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:37:48] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:37:48] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:37:48] local.INFO: IMEI packet received {"connection_id":175783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":175783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:37:49] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:37:49] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:37:49] local.INFO: Packet analysis {"connection_id":175783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:37:49] local.INFO: Extracted packet for processing {"connection_id":175783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":175783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:37:49] local.INFO: GPS data processed {"connection_id":175783,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:37:49] local.INFO: Acknowledgment sent {"connection_id":175783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:37:54] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:37:54] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867a1980012d34c14006aa4370000901162e..."} 
[2026-09-09 19:37:54] local.INFO: Packet analysis {"connection_id":175783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:37:54] local.INFO: Extracted packet for processing {"connection_id":175783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867a"} 
[2026-09-09 19:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":9,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974334208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788962544000,"timestamp_ms":1788962544000,"timestamp_seconds":1788962544,"priority":1,"record_length":96,"hex_timestamp":"000001a0867a1980"} 
[2026-09-09 19:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-09 19:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974334208001,"66":25702,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974334208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:37:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974334208001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":175783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:37:54] local.INFO: GPS data processed {"connection_id":175783,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:37:54] local.INFO: Acknowledgment sent {"connection_id":175783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:38:05] local.INFO: TCP Data received {"connection_id":176019,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867dd2a0012d18e5400720f0600035008f2a..."} 
[2026-09-09 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867dd2a0012d18e5400720f0600035008f2a..."} 
[2026-09-09 19:38:05] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867dd2a0012d18e5400720f0600035008f2a..."} 
[2026-09-09 19:38:05] local.INFO: Packet analysis {"connection_id":176019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:38:05] local.INFO: Extracted packet for processing {"connection_id":176019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756606272,"raw_latitude":119599200,"longitude_deg":75.6606272,"latitude_deg":11.95992,"altitude":53,"angle":143,"satellites":42,"speed":32,"hex_longitude":"2d18e540","hex_latitude":"0720f060","is_valid_coordinates":true} 
[2026-09-09 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974472704001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19149021494902784,"note":"Value kept but may cause issues"} 
[2026-09-09 19:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519892914176,"note":"Value kept but may cause issues"} 
[2026-09-09 19:38: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-09-09 19:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788962788000,"timestamp_ms":1788962788000,"timestamp_seconds":1788962788,"priority":1,"record_length":96,"hex_timestamp":"000001a0867dd2a0"} 
[2026-09-09 19:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-09 19:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:38: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-09-09 19:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974472704001,"66":13559,"103":206,"83":41984,"24":32,"16":19149021494902784,"45":1791447519892914176},"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-09-09 19:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974472704001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:38:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19149021494902784,"km_value":19149021494902.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519892914176,"description":"Unknown IO ID 45"} 
[2026-09-09 19:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974472704001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1791447519892914176}} 
[2026-09-09 19:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":176019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:38:05] local.INFO: GPS data processed {"connection_id":176019,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:38:05] local.INFO: Acknowledgment sent {"connection_id":176019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:38:29] local.INFO: TCP Data received {"connection_id":175784,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:38:29] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:38:29] local.INFO: IMEI packet received {"connection_id":175784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":175784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:38:34] local.INFO: TCP Data received {"connection_id":175784,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:38:34] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:38:34] local.INFO: IMEI packet received {"connection_id":175784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":175784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:38:35] local.INFO: TCP Data received {"connection_id":175784,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867df9b0012d18f9000720d5500032008026..."} 
[2026-09-09 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867df9b0012d18f9000720d5500032008026..."} 
[2026-09-09 19:38:35] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867df9b0012d18f9000720d5500032008026..."} 
[2026-09-09 19:38:35] local.INFO: Packet analysis {"connection_id":175784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:38:35] local.INFO: Extracted packet for processing {"connection_id":175784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867d"} 
[2026-09-09 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756611328,"raw_latitude":119592272,"longitude_deg":75.6611328,"latitude_deg":11.9592272,"altitude":50,"angle":128,"satellites":38,"speed":32,"hex_longitude":"2d18f900","hex_latitude":"0720d550","is_valid_coordinates":true} 
[2026-09-09 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974473728001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19149433811763200,"note":"Value kept but may cause issues"} 
[2026-09-09 19:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793910425938583552,"note":"Value kept but may cause issues"} 
[2026-09-09 19:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788962798000,"timestamp_ms":1788962798000,"timestamp_seconds":1788962798,"priority":1,"record_length":96,"hex_timestamp":"000001a0867df9b0"} 
[2026-09-09 19:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 19:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974473728001,"66":13787,"103":206,"83":41984,"24":32,"16":19149433811763200,"45":1793910425938583552},"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-09-09 19:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974473728001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:38:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19149433811763200,"km_value":19149433811763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793910425938583552,"description":"Unknown IO ID 45"} 
[2026-09-09 19:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974473728001,"power":13787,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1793910425938583552}} 
[2026-09-09 19:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":175784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:38:36] local.INFO: GPS data processed {"connection_id":175784,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:38:36] local.INFO: Acknowledgment sent {"connection_id":175784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:38:38] local.INFO: TCP Data received {"connection_id":177180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:38:38] local.INFO: Processing buffer {"connection_id":177180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:38:38] local.INFO: IMEI packet received {"connection_id":177180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":177180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:38:38] local.INFO: TCP Data received {"connection_id":177180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:38:38] local.INFO: Processing buffer {"connection_id":177180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:38:38] local.INFO: IMEI packet received {"connection_id":177180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":177180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:38:43] local.INFO: TCP Data received {"connection_id":177180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:38:43] local.INFO: Processing buffer {"connection_id":177180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:38:43] local.INFO: IMEI packet received {"connection_id":177180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":177180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:38:44] local.INFO: TCP Data received {"connection_id":177180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867eb148012d34c14006aa4370000601162e..."} 
[2026-09-09 19:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867eb148012d34c14006aa4370000601162e..."} 
[2026-09-09 19:38:44] local.INFO: Processing buffer {"connection_id":177180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867eb148012d34c14006aa4370000601162e..."} 
[2026-09-09 19:38:44] local.INFO: Packet analysis {"connection_id":177180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867e"} 
[2026-09-09 19:38:44] local.INFO: Extracted packet for processing {"connection_id":177180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867e"} 
[2026-09-09 19:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974411264001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962845000,"timestamp_ms":1788962845000,"timestamp_seconds":1788962845,"priority":1,"record_length":96,"hex_timestamp":"000001a0867eb148"} 
[2026-09-09 19:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-09 19:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974411264001,"66":25625,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974411264001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974411264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":177180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:38:44] local.INFO: GPS data processed {"connection_id":177180,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:38:44] local.INFO: Acknowledgment sent {"connection_id":177180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:39:07] local.INFO: TCP Data received {"connection_id":175784,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867e18f0012d190f400720c720002d007425..."} 
[2026-09-09 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867e18f0012d190f400720c720002d007425..."} 
[2026-09-09 19:39:07] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867e18f0012d190f400720c720002d007425..."} 
[2026-09-09 19:39:07] local.INFO: Packet analysis {"connection_id":175784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867e"} 
[2026-09-09 19:39:07] local.INFO: Extracted packet for processing {"connection_id":175784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867e"} 
[2026-09-09 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756617024,"raw_latitude":119588640,"longitude_deg":75.6617024,"latitude_deg":11.958864,"altitude":45,"angle":116,"satellites":37,"speed":37,"hex_longitude":"2d190f40","hex_latitude":"0720c720","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974476288001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19149760229277696,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799469556726845440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788962806000,"timestamp_ms":1788962806000,"timestamp_seconds":1788962806,"priority":1,"record_length":96,"hex_timestamp":"000001a0867e18f0"} 
[2026-09-09 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-09-09 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-09 19:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 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-09-09 19:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974476288001,"66":12461,"103":206,"83":41984,"24":37,"16":19149760229277696,"45":1799469556726845440},"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-09-09 19:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974476288001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:39:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19149760229277696,"km_value":19149760229277.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799469556726845440,"description":"Unknown IO ID 45"} 
[2026-09-09 19:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974476288001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1799469556726845440}} 
[2026-09-09 19:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":175784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:39:07] local.INFO: GPS data processed {"connection_id":175784,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:39:07] local.INFO: Acknowledgment sent {"connection_id":175784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:39:15] local.INFO: TCP Data received {"connection_id":177180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f0738012d34c14006aa4370000601162d..."} 
[2026-09-09 19:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f0738012d34c14006aa4370000601162d..."} 
[2026-09-09 19:39:15] local.INFO: Processing buffer {"connection_id":177180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f0738012d34c14006aa4370000601162d..."} 
[2026-09-09 19:39:15] local.INFO: Packet analysis {"connection_id":177180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:39:15] local.INFO: Extracted packet for processing {"connection_id":177180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821680,"longitude_deg":75.8432064,"latitude_deg":11.182168,"altitude":6,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4370","is_valid_coordinates":true} 
[2026-09-09 19:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974488320001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788962867000,"timestamp_ms":1788962867000,"timestamp_seconds":1788962867,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f0738"} 
[2026-09-09 19:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974488320001,"66":25625,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974488320001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974488320001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":177180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:39:15] local.INFO: GPS data processed {"connection_id":177180,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:39:15] local.INFO: Acknowledgment sent {"connection_id":177180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:39:29] local.INFO: TCP Data received {"connection_id":177181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:39:29] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:39:29] local.INFO: IMEI packet received {"connection_id":177181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":177181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:39:33] local.INFO: TCP Data received {"connection_id":177181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:39:33] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:39:33] local.INFO: IMEI packet received {"connection_id":177181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":177181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:39:34] local.INFO: TCP Data received {"connection_id":177181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:39:34] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:39:34] local.INFO: IMEI packet received {"connection_id":177181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":177181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:39:35] local.INFO: TCP Data received {"connection_id":177181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867e3c18012d1930c00720b9900028007427..."} 
[2026-09-09 19:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867e3c18012d1930c00720b9900028007427..."} 
[2026-09-09 19:39:35] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867e3c18012d1930c00720b9900028007427..."} 
[2026-09-09 19:39:35] local.INFO: Packet analysis {"connection_id":177181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867e"} 
[2026-09-09 19:39:35] local.INFO: Extracted packet for processing {"connection_id":177181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867e"} 
[2026-09-09 19:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756625600,"raw_latitude":119585168,"longitude_deg":75.66256,"latitude_deg":11.9585168,"altitude":40,"angle":116,"satellites":39,"speed":36,"hex_longitude":"2d1930c0","hex_latitude":"0720b990","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974478336001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19150198315941888,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805732374957727744,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788962815000,"timestamp_ms":1788962815000,"timestamp_seconds":1788962815,"priority":1,"record_length":96,"hex_timestamp":"000001a0867e3c18"} 
[2026-09-09 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-09-09 19:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 19:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974478336001,"66":12558,"103":206,"83":41984,"24":36,"16":19150198315941888,"45":1805732374957727744},"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-09-09 19:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974478336001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:39:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19150198315941888,"km_value":19150198315941.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805732374957727744,"description":"Unknown IO ID 45"} 
[2026-09-09 19:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974478336001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1805732374957727744}} 
[2026-09-09 19:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":177181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:39:35] local.INFO: GPS data processed {"connection_id":177181,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:39:35] local.INFO: Acknowledgment sent {"connection_id":177181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:39:40] local.INFO: TCP Data received {"connection_id":177181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0867e6328012d194fc00720ab680025006628..."} 
[2026-09-09 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867e6328012d194fc00720ab680025006628..."} 
[2026-09-09 19:39:40] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867e6328012d194fc00720ab680025006628..."} 
[2026-09-09 19:39:40] local.INFO: Packet analysis {"connection_id":177181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867e"} 
[2026-09-09 19:39:40] local.INFO: Extracted packet for processing {"connection_id":177181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867e"} 
[2026-09-09 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119581544,"longitude_deg":75.6633536,"latitude_deg":11.9581544,"altitude":37,"angle":102,"satellites":40,"speed":29,"hex_longitude":"2d194fc0","hex_latitude":"0720ab68","is_valid_coordinates":true} 
[2026-09-09 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974480640001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19150619222736896,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815161786676645888,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788962825000,"timestamp_ms":1788962825000,"timestamp_seconds":1788962825,"priority":1,"record_length":96,"hex_timestamp":"000001a0867e6328"} 
[2026-09-09 19:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:39: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-09-09 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2256382864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249578578465072168,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13465703,"corrected_to":0} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4173332534,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221692669,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":34,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408829954,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:40] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,9,160,45,64,199,37,10,66,8,249,213,50,38,210,1,240,247,227,7,134,32,4,113,205,28,187,216,40,239,53,2,68,56,34,120,81,206],"length":575,"final_offset":705,"validated_count":44,"validation_warnings":[{"io_id":247,"original":13465703,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-09 19:39:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882431472372023296,"timestamp_seconds":2882431472372023.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 19:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974480640001,"66":12385,"103":206,"83":41984,"24":29,"16":19150619222736896,"45":1815161786676645888},"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-09-09 19:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974480640001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:39:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19150619222736896,"km_value":19150619222736.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815161786676645888,"description":"Unknown IO ID 45"} 
[2026-09-09 19:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974480640001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1815161786676645888}} 
[2026-09-09 19:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":177181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:39:40] local.INFO: GPS data processed {"connection_id":177181,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:39:40] local.INFO: Acknowledgment sent {"connection_id":177181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:39:43] local.INFO: TCP Data received {"connection_id":176020,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:39:43] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:39:43] local.INFO: IMEI packet received {"connection_id":176020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":176020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:39:48] local.INFO: TCP Data received {"connection_id":176020,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:39:48] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:39:48] local.INFO: IMEI packet received {"connection_id":176020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":176020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:39:49] local.INFO: TCP Data received {"connection_id":176020,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:39:49] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:39:49] local.INFO: Packet analysis {"connection_id":176020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:39:49] local.INFO: Extracted packet for processing {"connection_id":176020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821496,"longitude_deg":75.8431616,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974493952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788962880000,"timestamp_ms":1788962880000,"timestamp_seconds":1788962880,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f3a00"} 
[2026-09-09 19:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:39: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-09-09 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974493952001,"66":25451,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974493952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:39:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974493952001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":176020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:39:49] local.INFO: GPS data processed {"connection_id":176020,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:39:49] local.INFO: Acknowledgment sent {"connection_id":176020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:39:54] local.INFO: TCP Data received {"connection_id":176020,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:39:54] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:39:54] local.INFO: Packet analysis {"connection_id":176020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:39:54] local.INFO: Extracted packet for processing {"connection_id":176020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821496,"longitude_deg":75.8431616,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974493952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788962880000,"timestamp_ms":1788962880000,"timestamp_seconds":1788962880,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f3a00"} 
[2026-09-09 19:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:39: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-09-09 19:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974493952001,"66":25451,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974493952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:39:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974493952001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":176020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:39:54] local.INFO: GPS data processed {"connection_id":176020,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:39:54] local.INFO: Acknowledgment sent {"connection_id":176020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:40:11] local.INFO: TCP Data received {"connection_id":177181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0868089f0012d19ae0007209218002f00c827..."} 
[2026-09-09 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868089f0012d19ae0007209218002f00c827..."} 
[2026-09-09 19:40:11] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868089f0012d19ae0007209218002f00c827..."} 
[2026-09-09 19:40:11] local.INFO: Packet analysis {"connection_id":177181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:40:11] local.INFO: Extracted packet for processing {"connection_id":177181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119575064,"longitude_deg":75.6657664,"latitude_deg":11.9575064,"altitude":47,"angle":200,"satellites":39,"speed":26,"hex_longitude":"2d19ae00","hex_latitude":"07209218","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974517248001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19152307144884224,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996046848,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40: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-09-09 19:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788962966000,"timestamp_ms":1788962966000,"timestamp_seconds":1788962966,"priority":1,"record_length":96,"hex_timestamp":"000001a0868089f0"} 
[2026-09-09 19:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 19:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:40: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-09-09 19:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974517248001,"66":13580,"103":206,"83":41984,"24":26,"16":19152307144884224,"45":1853583120996046848},"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-09-09 19:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974517248001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:40:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19152307144884224,"km_value":19152307144884.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996046848,"description":"Unknown IO ID 45"} 
[2026-09-09 19:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974517248001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1853583120996046848}} 
[2026-09-09 19:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":177181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:40:11] local.INFO: GPS data processed {"connection_id":177181,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:40:11] local.INFO: Acknowledgment sent {"connection_id":177181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:40:34] local.INFO: TCP Data received {"connection_id":175786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:40:34] local.INFO: Processing buffer {"connection_id":175786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:40:34] local.INFO: IMEI packet received {"connection_id":175786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":175786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:40:35] local.INFO: TCP Data received {"connection_id":175786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:40:35] local.INFO: Processing buffer {"connection_id":175786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:40:35] local.INFO: IMEI packet received {"connection_id":175786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":175786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:40:36] local.INFO: TCP Data received {"connection_id":175786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086808dd8012d19ad4007208f90002e00bc28..."} 
[2026-09-09 19:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086808dd8012d19ad4007208f90002e00bc28..."} 
[2026-09-09 19:40:36] local.INFO: Processing buffer {"connection_id":175786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086808dd8012d19ad4007208f90002e00bc28..."} 
[2026-09-09 19:40:36] local.INFO: Packet analysis {"connection_id":175786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:40:36] local.INFO: Extracted packet for processing {"connection_id":175786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574416,"longitude_deg":75.6657472,"latitude_deg":11.9574416,"altitude":46,"angle":188,"satellites":40,"speed":25,"hex_longitude":"2d19ad40","hex_latitude":"07208f90","is_valid_coordinates":true} 
[2026-09-09 19:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974519296001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19152337209655296,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527507068928,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40: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-09-09 19:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788962967000,"timestamp_ms":1788962967000,"timestamp_seconds":1788962967,"priority":1,"record_length":96,"hex_timestamp":"000001a086808dd8"} 
[2026-09-09 19:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751531018,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2256557864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2153707521,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2784493616,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631847316387943,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5134095738319929296,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-7998167021202125229,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,10,160,106,45,64,161,48,37,66,102,128,162,39,98,1,240,181,227,134,32,4,113,205,18,91,187,184,38,239,53,2,68,7,19,25,49,164],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-09 19:40:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386926989613596672,"timestamp_seconds":3386926989613596.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 19:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:40: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-09-09 19:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974519296001,"66":13580,"103":206,"83":41984,"24":25,"16":19152337209655296,"45":1850416527507068928},"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-09-09 19:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974519296001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:40:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19152337209655296,"km_value":19152337209655.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527507068928,"description":"Unknown IO ID 45"} 
[2026-09-09 19:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974519296001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1850416527507068928}} 
[2026-09-09 19:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":175786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:40:36] local.INFO: GPS data processed {"connection_id":175786,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:40:36] local.INFO: Acknowledgment sent {"connection_id":175786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:40:36] local.INFO: TCP Data received {"connection_id":175786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0868091c0012d19ad4007208cf8002e00b028..."} 
[2026-09-09 19:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868091c0012d19ad4007208cf8002e00b028..."} 
[2026-09-09 19:40:36] local.INFO: Processing buffer {"connection_id":175786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868091c0012d19ad4007208cf8002e00b028..."} 
[2026-09-09 19:40:36] local.INFO: Packet analysis {"connection_id":175786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:40:36] local.INFO: Extracted packet for processing {"connection_id":175786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573752,"longitude_deg":75.6657472,"latitude_deg":11.9573752,"altitude":46,"angle":176,"satellites":40,"speed":26,"hex_longitude":"2d19ad40","hex_latitude":"07208cf8","is_valid_coordinates":true} 
[2026-09-09 19:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974519552001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19152367274426368,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274370048,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40: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-09-09 19:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788962968000,"timestamp_ms":1788962968000,"timestamp_seconds":1788962968,"priority":1,"record_length":96,"hex_timestamp":"000001a0868091c0"} 
[2026-09-09 19:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751531018,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2256558864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2153963521,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2754084912,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635815866169447,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":94,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147950757,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5044023745795063760,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-7998167021202125229,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755481045565681,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:36] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,10,160,137,45,146,47,39,66,106,64,161,48,37,102,128,1,240,181,227,134,32,4,113,205,18,94,187,248,38,239,53,2,68,7,25,49,164],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-09 19:40:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314856205731037184,"timestamp_seconds":3314856205731037.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 19:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:40: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-09-09 19:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974519552001,"66":13580,"103":206,"83":41984,"24":26,"16":19152367274426368,"45":1850205421274370048},"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-09-09 19:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974519552001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:40:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19152367274426368,"km_value":19152367274426.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274370048,"description":"Unknown IO ID 45"} 
[2026-09-09 19:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974519552001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1850205421274370048}} 
[2026-09-09 19:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":175786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:40:36] local.INFO: GPS data processed {"connection_id":175786,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:40:36] local.INFO: Acknowledgment sent {"connection_id":175786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:40:38] local.INFO: TCP Data received {"connection_id":175787,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:40:38] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:40:38] local.INFO: IMEI packet received {"connection_id":175787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":175787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:40:43] local.INFO: TCP Data received {"connection_id":175787,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:40:43] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:40:43] local.INFO: IMEI packet received {"connection_id":175787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":175787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:40:44] local.INFO: TCP Data received {"connection_id":175787,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:40:44] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:40:44] local.INFO: Packet analysis {"connection_id":175787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:40:44] local.INFO: Extracted packet for processing {"connection_id":175787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821496,"longitude_deg":75.8431616,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974493952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962880000,"timestamp_ms":1788962880000,"timestamp_seconds":1788962880,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f3a00"} 
[2026-09-09 19:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:40: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-09-09 19:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974493952001,"66":25451,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974493952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974493952001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":175787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:40:44] local.INFO: GPS data processed {"connection_id":175787,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:40:44] local.INFO: Acknowledgment sent {"connection_id":175787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:41:01] local.INFO: TCP Data received {"connection_id":178589,"ip":"130.12.180.89","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-09-09 19:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178589,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-09-09 19:41:01] local.INFO: Processing buffer {"connection_id":178589,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-09-09 19:41:01] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":178589,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-09-09 19:41:07] local.INFO: TCP Data received {"connection_id":175786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08680a930012d19b18007207b38002c00a328..."} 
[2026-09-09 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08680a930012d19b18007207b38002c00a328..."} 
[2026-09-09 19:41:07] local.INFO: Processing buffer {"connection_id":175786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08680a930012d19b18007207b38002c00a328..."} 
[2026-09-09 19:41:07] local.INFO: Packet analysis {"connection_id":175786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:41:07] local.INFO: Extracted packet for processing {"connection_id":175786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756658560,"raw_latitude":119569208,"longitude_deg":75.665856,"latitude_deg":11.9569208,"altitude":44,"angle":163,"satellites":40,"speed":34,"hex_longitude":"2d19b180","hex_latitude":"07207b38","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974519808001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19152594907693056,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274200064,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41: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-09-09 19:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788962974000,"timestamp_ms":1788962974000,"timestamp_seconds":1788962974,"priority":1,"record_length":96,"hex_timestamp":"000001a08680a930"} 
[2026-09-09 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-09-09 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751531018,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2256559864,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2154219521,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2727346224,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635815866169447,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728696,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4953951753273343952,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3242817648714632787,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,10,160,141,45,64,143,46,40,66,137,146,47,39,106,1,240,139,227,134,32,4,113,205,17,98,187,239,52,2,68,7,48,18,25,53,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-09 19:41:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314843011591569408,"timestamp_seconds":3314843011591569.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-09 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-09-09 19:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 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-09-09 19:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974519808001,"66":13396,"103":206,"83":41984,"24":34,"16":19152594907693056,"45":1850205421274200064},"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-09-09 19:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974519808001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:41:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19152594907693056,"km_value":19152594907693.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274200064,"description":"Unknown IO ID 45"} 
[2026-09-09 19:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974519808001,"power":13396,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1850205421274200064}} 
[2026-09-09 19:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":175786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:41:07] local.INFO: GPS data processed {"connection_id":175786,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:41:07] local.INFO: Acknowledgment sent {"connection_id":175786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:41:16] local.INFO: TCP Data received {"connection_id":175787,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:41:16] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:41:16] local.INFO: Packet analysis {"connection_id":175787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:41:16] local.INFO: Extracted packet for processing {"connection_id":175787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821496,"longitude_deg":75.8431616,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974493952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788962880000,"timestamp_ms":1788962880000,"timestamp_seconds":1788962880,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f3a00"} 
[2026-09-09 19:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974493952001,"66":25451,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974493952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974493952001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":175787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:41:16] local.INFO: GPS data processed {"connection_id":175787,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:41:16] local.INFO: Acknowledgment sent {"connection_id":175787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:41:29] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:41:29] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:41:29] local.INFO: IMEI packet received {"connection_id":175788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":175788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:41:32] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:41:32] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:41:32] local.INFO: IMEI packet received {"connection_id":175788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":175788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:41:34] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08680d040012d19bb40072059c0002800ab24..."} 
[2026-09-09 19:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08680d040012d19bb40072059c0002800ab24..."} 
[2026-09-09 19:41:34] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08680d040012d19bb40072059c0002800ab24..."} 
[2026-09-09 19:41:34] local.INFO: Packet analysis {"connection_id":175788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:41:34] local.INFO: Extracted packet for processing {"connection_id":175788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119560640,"longitude_deg":75.6661056,"latitude_deg":11.956064,"altitude":40,"angle":171,"satellites":36,"speed":34,"hex_longitude":"2d19bb40","hex_latitude":"072059c0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974521344001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19153028699389952,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851401689924057088,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788962984000,"timestamp_ms":1788962984000,"timestamp_seconds":1788962984,"priority":1,"record_length":96,"hex_timestamp":"000001a08680d040"} 
[2026-09-09 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-09-09 19:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-09 19:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974521344001,"66":13515,"103":206,"83":41984,"24":34,"16":19153028699389952,"45":1851401689924057088},"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-09-09 19:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974521344001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:41:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19153028699389952,"km_value":19153028699389.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851401689924057088,"description":"Unknown IO ID 45"} 
[2026-09-09 19:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974521344001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1851401689924057088}} 
[2026-09-09 19:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":175788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:41:34] local.INFO: GPS data processed {"connection_id":175788,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:41:34] local.INFO: Acknowledgment sent {"connection_id":175788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:41:38] local.INFO: TCP Data received {"connection_id":177182,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:41:38] local.INFO: Processing buffer {"connection_id":177182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:41:38] local.INFO: IMEI packet received {"connection_id":177182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":177182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:41:43] local.INFO: TCP Data received {"connection_id":177182,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:41:43] local.INFO: Processing buffer {"connection_id":177182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:41:43] local.INFO: IMEI packet received {"connection_id":177182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":177182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:41:44] local.INFO: TCP Data received {"connection_id":177182,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:41:44] local.INFO: Processing buffer {"connection_id":177182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:41:44] local.INFO: Packet analysis {"connection_id":177182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:41:44] local.INFO: Extracted packet for processing {"connection_id":177182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821496,"longitude_deg":75.8431616,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974493952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962880000,"timestamp_ms":1788962880000,"timestamp_seconds":1788962880,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f3a00"} 
[2026-09-09 19:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:41: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-09-09 19:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974493952001,"66":25451,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974493952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974493952001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":177182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:41:44] local.INFO: GPS data processed {"connection_id":177182,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:41:44] local.INFO: Acknowledgment sent {"connection_id":177182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:42:05] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08680ff20012d19c000072036880026009e27..."} 
[2026-09-09 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08680ff20012d19c000072036880026009e27..."} 
[2026-09-09 19:42:05] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08680ff20012d19c000072036880026009e27..."} 
[2026-09-09 19:42:05] local.INFO: Packet analysis {"connection_id":175788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:42:05] local.INFO: Extracted packet for processing {"connection_id":175788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08680"} 
[2026-09-09 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119551624,"longitude_deg":75.6662272,"latitude_deg":11.9551624,"altitude":38,"angle":158,"satellites":39,"speed":31,"hex_longitude":"2d19c000","hex_latitude":"07203688","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974523904001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19153471081021440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070944792576,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42: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-09-09 19:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788962996000,"timestamp_ms":1788962996000,"timestamp_seconds":1788962996,"priority":1,"record_length":96,"hex_timestamp":"000001a08680ff20"} 
[2026-09-09 19:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-09 19:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:42: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-09-09 19:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974523904001,"66":13439,"103":206,"83":41984,"24":31,"16":19153471081021440,"45":1854146070944792576},"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-09-09 19:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974523904001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:42:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-09 19:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19153471081021440,"km_value":19153471081021.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070944792576,"description":"Unknown IO ID 45"} 
[2026-09-09 19:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974523904001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1854146070944792576}} 
[2026-09-09 19:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":175788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:42:05] local.INFO: GPS data processed {"connection_id":175788,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:42:05] local.INFO: Acknowledgment sent {"connection_id":175788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:42:16] local.INFO: TCP Data received {"connection_id":177182,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:42:16] local.INFO: Processing buffer {"connection_id":177182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:42:16] local.INFO: Packet analysis {"connection_id":177182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:42:16] local.INFO: Extracted packet for processing {"connection_id":177182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821496,"longitude_deg":75.8431616,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974493952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788962880000,"timestamp_ms":1788962880000,"timestamp_seconds":1788962880,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f3a00"} 
[2026-09-09 19:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974493952001,"66":25451,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974493952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974493952001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":177182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:42:16] local.INFO: GPS data processed {"connection_id":177182,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:42:16] local.INFO: Acknowledgment sent {"connection_id":177182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:42:30] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:42:30] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:42:30] local.INFO: IMEI packet received {"connection_id":175789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":175789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:42:31] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:42:31] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:42:31] local.INFO: IMEI packet received {"connection_id":175789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":175789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:42:32] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086828d90012d19dc80072006c8002800dc2c..."} 
[2026-09-09 19:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086828d90012d19dc80072006c8002800dc2c..."} 
[2026-09-09 19:42:32] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086828d90012d19dc80072006c8002800dc2c..."} 
[2026-09-09 19:42:32] local.INFO: Packet analysis {"connection_id":175789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08682"} 
[2026-09-09 19:42:32] local.INFO: Extracted packet for processing {"connection_id":175789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08682"} 
[2026-09-09 19:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756669568,"raw_latitude":119539400,"longitude_deg":75.6669568,"latitude_deg":11.95394,"altitude":40,"angle":220,"satellites":44,"speed":11,"hex_longitude":"2d19dc80","hex_latitude":"072006c8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974552320001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19154248470102016,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868540928,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788963098000,"timestamp_ms":1788963098000,"timestamp_seconds":1788963098,"priority":1,"record_length":96,"hex_timestamp":"000001a086828d90"} 
[2026-09-09 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-09-09 19:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974552320001,"66":13406,"101":206,"83":41984,"24":11,"16":19154248470102016,"45":1864068063868540928},"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-09-09 19:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974552320001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:42:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 19:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19154248470102016,"km_value":19154248470102.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868540928,"description":"Unknown IO ID 45"} 
[2026-09-09 19:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974552320001,"power":13406,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1864068063868540928}} 
[2026-09-09 19:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":175789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:42:32] local.INFO: GPS data processed {"connection_id":175789,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:42:32] local.INFO: Acknowledgment sent {"connection_id":175789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:42:38] local.INFO: TCP Data received {"connection_id":176021,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:42:38] local.INFO: Processing buffer {"connection_id":176021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:42:38] local.INFO: IMEI packet received {"connection_id":176021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":176021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:42:44] local.INFO: TCP Data received {"connection_id":176021,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:42:44] local.INFO: Processing buffer {"connection_id":176021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:42:44] local.INFO: IMEI packet received {"connection_id":176021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":176021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:42:45] local.INFO: TCP Data received {"connection_id":176021,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:42:45] local.INFO: Processing buffer {"connection_id":176021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:42:45] local.INFO: Packet analysis {"connection_id":176021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:42:45] local.INFO: Extracted packet for processing {"connection_id":176021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821496,"longitude_deg":75.8431616,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974493952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788962880000,"timestamp_ms":1788962880000,"timestamp_seconds":1788962880,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f3a00"} 
[2026-09-09 19:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974493952001,"66":25451,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974493952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:42:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974493952001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":176021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:42:45] local.INFO: GPS data processed {"connection_id":176021,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:42:45] local.INFO: Acknowledgment sent {"connection_id":176021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:43:04] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086832db8012d19a380071ff220003200f029..."} 
[2026-09-09 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086832db8012d19a380071ff220003200f029..."} 
[2026-09-09 19:43:04] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086832db8012d19a380071ff220003200f029..."} 
[2026-09-09 19:43:04] local.INFO: Packet analysis {"connection_id":175789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:43:04] local.INFO: Extracted packet for processing {"connection_id":175789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119534112,"longitude_deg":75.6654976,"latitude_deg":11.9534112,"altitude":50,"angle":240,"satellites":41,"speed":7,"hex_longitude":"2d19a380","hex_latitude":"071ff220","is_valid_coordinates":true} 
[2026-09-09 19:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974563328001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155073103822848,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777729503232,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788963139000,"timestamp_ms":1788963139000,"timestamp_seconds":1788963139,"priority":1,"record_length":96,"hex_timestamp":"000001a086832db8"} 
[2026-09-09 19:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:43: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-09-09 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 19:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974563328001,"66":13559,"101":206,"83":41984,"24":7,"16":19155073103822848,"45":1847601777729503232},"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-09-09 19:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974563328001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:43:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 19:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155073103822848,"km_value":19155073103822.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777729503232,"description":"Unknown IO ID 45"} 
[2026-09-09 19:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974563328001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847601777729503232}} 
[2026-09-09 19:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":175789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:43:04] local.INFO: GPS data processed {"connection_id":175789,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:43:04] local.INFO: Acknowledgment sent {"connection_id":175789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:43:16] local.INFO: TCP Data received {"connection_id":176021,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:43:16] local.INFO: Processing buffer {"connection_id":176021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:43:16] local.INFO: Packet analysis {"connection_id":176021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:43:16] local.INFO: Extracted packet for processing {"connection_id":176021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821496,"longitude_deg":75.8431616,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974493952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788962880000,"timestamp_ms":1788962880000,"timestamp_seconds":1788962880,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f3a00"} 
[2026-09-09 19:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974493952001,"66":25451,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974493952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974493952001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":176021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:43:16] local.INFO: GPS data processed {"connection_id":176021,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:43:16] local.INFO: Acknowledgment sent {"connection_id":176021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:43:29] local.INFO: TCP Data received {"connection_id":175790,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:43:29] local.INFO: Processing buffer {"connection_id":175790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:43:29] local.INFO: IMEI packet received {"connection_id":175790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":175790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:43:34] local.INFO: TCP Data received {"connection_id":175790,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:43:34] local.INFO: Processing buffer {"connection_id":175790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:43:34] local.INFO: IMEI packet received {"connection_id":175790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":175790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:43:36] local.INFO: TCP Data received {"connection_id":175790,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0868331a0012d19a2c0071ff198003300de28..."} 
[2026-09-09 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868331a0012d19a2c0071ff198003300de28..."} 
[2026-09-09 19:43:36] local.INFO: Processing buffer {"connection_id":175790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868331a0012d19a2c0071ff198003300de28..."} 
[2026-09-09 19:43:36] local.INFO: Packet analysis {"connection_id":175790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:43:36] local.INFO: Extracted packet for processing {"connection_id":175790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119533976,"longitude_deg":75.6654784,"latitude_deg":11.9533976,"altitude":51,"angle":222,"satellites":40,"speed":7,"hex_longitude":"2d19a2c0","hex_latitude":"071ff198","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974563584001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155081693757440,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040241123328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788963140000,"timestamp_ms":1788963140000,"timestamp_seconds":1788963140,"priority":1,"record_length":96,"hex_timestamp":"000001a0868331a0"} 
[2026-09-09 19:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-09 19:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:43: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-09-09 19:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974563584001,"66":13472,"101":206,"83":41984,"24":7,"16":19155081693757440,"45":1847461040241123328},"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-09-09 19:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974563584001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:43:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 19:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155081693757440,"km_value":19155081693757.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040241123328,"description":"Unknown IO ID 45"} 
[2026-09-09 19:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974563584001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847461040241123328}} 
[2026-09-09 19:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":175790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:43:36] local.INFO: GPS data processed {"connection_id":175790,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:43:36] local.INFO: Acknowledgment sent {"connection_id":175790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:43:38] local.INFO: TCP Data received {"connection_id":177183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:43:38] local.INFO: Processing buffer {"connection_id":177183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:43:38] local.INFO: IMEI packet received {"connection_id":177183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":177183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:43:43] local.INFO: TCP Data received {"connection_id":177183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:43:43] local.INFO: Processing buffer {"connection_id":177183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:43:43] local.INFO: IMEI packet received {"connection_id":177183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":177183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:43:44] local.INFO: TCP Data received {"connection_id":177183,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:43:44] local.INFO: Processing buffer {"connection_id":177183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0867f3a00012d34bf8006aa42b8000601162c..."} 
[2026-09-09 19:43:44] local.INFO: Packet analysis {"connection_id":177183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:43:44] local.INFO: Extracted packet for processing {"connection_id":177183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0867f"} 
[2026-09-09 19:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821496,"longitude_deg":75.8431616,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974493952001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847937024,"note":"Value kept but may cause issues"} 
[2026-09-09 19:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788962880000,"timestamp_ms":1788962880000,"timestamp_seconds":1788962880,"priority":1,"record_length":96,"hex_timestamp":"000001a0867f3a00"} 
[2026-09-09 19:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:43: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-09-09 19:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-09 19:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974493952001,"66":25451,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847937024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974493952001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847937024,"description":"Unknown IO ID 45"} 
[2026-09-09 19:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974493952001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847937024}} 
[2026-09-09 19:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":177183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:43:44] local.INFO: GPS data processed {"connection_id":177183,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:43:44] local.INFO: Acknowledgment sent {"connection_id":177183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:44:07] local.INFO: TCP Data received {"connection_id":175790,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086833588012d19a280071ff100003400cc28..."} 
[2026-09-09 19:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086833588012d19a280071ff100003400cc28..."} 
[2026-09-09 19:44:07] local.INFO: Processing buffer {"connection_id":175790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086833588012d19a280071ff100003400cc28..."} 
[2026-09-09 19:44:07] local.INFO: Packet analysis {"connection_id":175790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:44:07] local.INFO: Extracted packet for processing {"connection_id":175790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756654720,"raw_latitude":119533824,"longitude_deg":75.665472,"latitude_deg":11.9533824,"altitude":52,"angle":204,"satellites":40,"speed":6,"hex_longitude":"2d19a280","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974563840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155090283692032,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008555520,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788963141000,"timestamp_ms":1788963141000,"timestamp_seconds":1788963141,"priority":1,"record_length":96,"hex_timestamp":"000001a086833588"} 
[2026-09-09 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-09-09 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 19:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 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-09-09 19:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 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-09-09 19:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974563840001,"66":13472,"101":206,"83":41984,"24":6,"16":19155090283692032,"45":1847249934008555520},"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-09-09 19:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974563840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:44:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 19:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155090283692032,"km_value":19155090283692.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008555520,"description":"Unknown IO ID 45"} 
[2026-09-09 19:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974563840001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1847249934008555520}} 
[2026-09-09 19:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":175790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:44:07] local.INFO: GPS data processed {"connection_id":175790,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:44:07] local.INFO: Acknowledgment sent {"connection_id":175790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:44:15] local.INFO: TCP Data received {"connection_id":177183,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:44:15] local.INFO: Processing buffer {"connection_id":177183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:44:15] local.INFO: Packet analysis {"connection_id":177183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:44:15] local.INFO: Extracted packet for processing {"connection_id":177183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":177183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:44:15] local.INFO: GPS data processed {"connection_id":177183,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:44:15] local.INFO: Acknowledgment sent {"connection_id":177183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:44:17] local.INFO: TCP Data received {"connection_id":176022,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:44:17] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:44:17] local.INFO: IMEI packet received {"connection_id":176022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":176022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:44:29] local.INFO: TCP Data received {"connection_id":178590,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:44:29] local.INFO: Processing buffer {"connection_id":178590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:44:29] local.INFO: IMEI packet received {"connection_id":178590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":178590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:44:29] local.INFO: TCP Data received {"connection_id":178590,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:44:29] local.INFO: Processing buffer {"connection_id":178590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:44:29] local.INFO: IMEI packet received {"connection_id":178590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":178590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:44:34] local.INFO: TCP Data received {"connection_id":178590,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:44:34] local.INFO: Processing buffer {"connection_id":178590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:44:34] local.INFO: IMEI packet received {"connection_id":178590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":178590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:44:35] local.INFO: TCP Data received {"connection_id":178590,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086837020012d19a1c0071feff8003400fe2b..."} 
[2026-09-09 19:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086837020012d19a1c0071feff8003400fe2b..."} 
[2026-09-09 19:44:35] local.INFO: Processing buffer {"connection_id":178590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086837020012d19a1c0071feff8003400fe2b..."} 
[2026-09-09 19:44:35] local.INFO: Packet analysis {"connection_id":178590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:44:35] local.INFO: Extracted packet for processing {"connection_id":178590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756654528,"raw_latitude":119533560,"longitude_deg":75.6654528,"latitude_deg":11.953356,"altitude":52,"angle":254,"satellites":43,"speed":2,"hex_longitude":"2d19a1c0","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974564096001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155111758528512,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847179565264338944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963156000,"timestamp_ms":1788963156000,"timestamp_seconds":1788963156,"priority":1,"record_length":96,"hex_timestamp":"000001a086837020"} 
[2026-09-09 19:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-09 19:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974564096001,"66":13559,"101":206,"83":41984,"24":2,"16":19155111758528512,"45":1847179565264338944},"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-09-09 19:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974564096001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:44:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-09 19:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155111758528512,"km_value":19155111758528.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847179565264338944,"description":"Unknown IO ID 45"} 
[2026-09-09 19:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974564096001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1847179565264338944}} 
[2026-09-09 19:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":178590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:44:35] local.INFO: GPS data processed {"connection_id":178590,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:44:35] local.INFO: Acknowledgment sent {"connection_id":178590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:44:38] local.INFO: TCP Data received {"connection_id":175791,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:44:38] local.INFO: Processing buffer {"connection_id":175791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:44:38] local.INFO: IMEI packet received {"connection_id":175791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":175791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:44:43] local.INFO: TCP Data received {"connection_id":175791,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:44:43] local.INFO: Processing buffer {"connection_id":175791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:44:43] local.INFO: IMEI packet received {"connection_id":175791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":175791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:44:44] local.INFO: TCP Data received {"connection_id":175791,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:44:44] local.INFO: Processing buffer {"connection_id":175791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:44:44] local.INFO: Packet analysis {"connection_id":175791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:44:44] local.INFO: Extracted packet for processing {"connection_id":175791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":175791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:44:44] local.INFO: GPS data processed {"connection_id":175791,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:44:44] local.INFO: Acknowledgment sent {"connection_id":175791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:44:57] local.INFO: TCP Data received {"connection_id":176022,"ip":"117.224.169.223","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 19:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 19:44:57] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 19:44:57] local.INFO: IMEI packet received {"connection_id":176022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":176022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:45:06] local.INFO: TCP Data received {"connection_id":175792,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:45:06] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:45:06] local.INFO: IMEI packet received {"connection_id":175792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":175792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:45:06] local.INFO: TCP Data received {"connection_id":178590,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:45:06] local.INFO: Processing buffer {"connection_id":178590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:45:06] local.INFO: Packet analysis {"connection_id":178590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:45:06] local.INFO: Extracted packet for processing {"connection_id":178590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974592512001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 19:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-09 19:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:45: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-09-09 19:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974592512001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974592512001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974592512001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":178590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:45:06] local.INFO: GPS data processed {"connection_id":178590,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:45:06] local.INFO: Acknowledgment sent {"connection_id":178590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:45:17] local.INFO: TCP Data received {"connection_id":175791,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:45:17] local.INFO: Processing buffer {"connection_id":175791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:45:17] local.INFO: Packet analysis {"connection_id":175791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:45:17] local.INFO: Extracted packet for processing {"connection_id":175791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:45:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":175791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:45:17] local.INFO: GPS data processed {"connection_id":175791,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:45:17] local.INFO: Acknowledgment sent {"connection_id":175791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:45:29] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:45:29] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:45:29] local.INFO: IMEI packet received {"connection_id":176023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":176023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:45:34] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:45:34] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:45:34] local.INFO: IMEI packet received {"connection_id":176023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":176023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:45:36] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:45:36] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:45:36] local.INFO: Packet analysis {"connection_id":176023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:45:36] local.INFO: Extracted packet for processing {"connection_id":176023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 19:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:45: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-09-09 19:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":176023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:45:36] local.INFO: GPS data processed {"connection_id":176023,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:45:36] local.INFO: Acknowledgment sent {"connection_id":176023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:45:38] local.INFO: TCP Data received {"connection_id":175793,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:45:38] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:45:38] local.INFO: IMEI packet received {"connection_id":175793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":175793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:45:43] local.INFO: TCP Data received {"connection_id":175793,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:45:43] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:45:43] local.INFO: IMEI packet received {"connection_id":175793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":175793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:45:44] local.INFO: TCP Data received {"connection_id":175793,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:45:44] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:45:44] local.INFO: Packet analysis {"connection_id":175793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:45:44] local.INFO: Extracted packet for processing {"connection_id":175793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":175793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:45:44] local.INFO: GPS data processed {"connection_id":175793,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:45:44] local.INFO: Acknowledgment sent {"connection_id":175793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:46:06] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:46:06] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:46:06] local.INFO: Packet analysis {"connection_id":176023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:46:06] local.INFO: Extracted packet for processing {"connection_id":176023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 19:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:46: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-09-09 19:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":176023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:46:07] local.INFO: GPS data processed {"connection_id":176023,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:46:07] local.INFO: Acknowledgment sent {"connection_id":176023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:46:17] local.INFO: TCP Data received {"connection_id":175793,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:46:17] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:46:17] local.INFO: Packet analysis {"connection_id":175793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:46:17] local.INFO: Extracted packet for processing {"connection_id":175793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":175793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:46:17] local.INFO: GPS data processed {"connection_id":175793,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:46:17] local.INFO: Acknowledgment sent {"connection_id":175793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:46:29] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:46:29] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:46:29] local.INFO: IMEI packet received {"connection_id":176024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":176024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:46:34] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:46:34] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:46:34] local.INFO: IMEI packet received {"connection_id":176024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":176024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:46:35] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:46:35] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:46:35] local.INFO: Packet analysis {"connection_id":176024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:46:35] local.INFO: Extracted packet for processing {"connection_id":176024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 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-09-09 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 19:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:46:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":176024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:46:35] local.INFO: GPS data processed {"connection_id":176024,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:46:35] local.INFO: Acknowledgment sent {"connection_id":176024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:46:38] local.INFO: TCP Data received {"connection_id":177184,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:46:38] local.INFO: Processing buffer {"connection_id":177184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:46:38] local.INFO: IMEI packet received {"connection_id":177184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":177184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:46:43] local.INFO: TCP Data received {"connection_id":177184,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:46:43] local.INFO: Processing buffer {"connection_id":177184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:46:43] local.INFO: IMEI packet received {"connection_id":177184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":177184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:46:45] local.INFO: TCP Data received {"connection_id":177184,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:46:45] local.INFO: Processing buffer {"connection_id":177184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:46:45] local.INFO: Packet analysis {"connection_id":177184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:46:45] local.INFO: Extracted packet for processing {"connection_id":177184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":177184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:46:45] local.INFO: GPS data processed {"connection_id":177184,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:46:45] local.INFO: Acknowledgment sent {"connection_id":177184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:47:07] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:47:07] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:47:07] local.INFO: Packet analysis {"connection_id":176024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:47:07] local.INFO: Extracted packet for processing {"connection_id":176024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 19:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:47: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-09-09 19: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-09-09 19:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:47: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-09-09 19:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:47:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":176024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:47:07] local.INFO: GPS data processed {"connection_id":176024,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:47:07] local.INFO: Acknowledgment sent {"connection_id":176024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:47:16] local.INFO: TCP Data received {"connection_id":177184,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:47:16] local.INFO: Processing buffer {"connection_id":177184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:47:16] local.INFO: Packet analysis {"connection_id":177184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:47:16] local.INFO: Extracted packet for processing {"connection_id":177184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":177184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:47:16] local.INFO: GPS data processed {"connection_id":177184,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:47:16] local.INFO: Acknowledgment sent {"connection_id":177184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:47:34] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:47:34] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:47:34] local.INFO: IMEI packet received {"connection_id":176025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":176025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:47:39] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:47:39] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:47:39] local.INFO: IMEI packet received {"connection_id":176025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":176025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:47:40] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:47:40] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:47:40] local.INFO: Packet analysis {"connection_id":176025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:47:40] local.INFO: Extracted packet for processing {"connection_id":176025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 19:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:47:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:47:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":176025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:47:40] local.INFO: GPS data processed {"connection_id":176025,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:47:40] local.INFO: Acknowledgment sent {"connection_id":176025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:47:43] local.INFO: TCP Data received {"connection_id":177185,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:47:43] local.INFO: Processing buffer {"connection_id":177185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:47:43] local.INFO: IMEI packet received {"connection_id":177185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":177185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:47:48] local.INFO: TCP Data received {"connection_id":177185,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:47:48] local.INFO: Processing buffer {"connection_id":177185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:47:48] local.INFO: IMEI packet received {"connection_id":177185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":177185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:47:49] local.INFO: TCP Data received {"connection_id":177185,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:47:49] local.INFO: Processing buffer {"connection_id":177185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:47:49] local.INFO: Packet analysis {"connection_id":177185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:47:49] local.INFO: Extracted packet for processing {"connection_id":177185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":177185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:47:49] local.INFO: GPS data processed {"connection_id":177185,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:47:49] local.INFO: Acknowledgment sent {"connection_id":177185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:47:53] local.INFO: TCP Data received {"connection_id":177185,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:47:53] local.INFO: Processing buffer {"connection_id":177185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:47:53] local.INFO: Packet analysis {"connection_id":177185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:47:53] local.INFO: Extracted packet for processing {"connection_id":177185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":177185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:47:53] local.INFO: GPS data processed {"connection_id":177185,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:47:53] local.INFO: Acknowledgment sent {"connection_id":177185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:48:11] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:48:11] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:48:11] local.INFO: Packet analysis {"connection_id":176025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:48:11] local.INFO: Extracted packet for processing {"connection_id":176025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 19:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:48: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-09-09 19: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-09-09 19:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:48:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":176025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:48:11] local.INFO: GPS data processed {"connection_id":176025,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:48:11] local.INFO: Acknowledgment sent {"connection_id":176025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:48:29] local.INFO: TCP Data received {"connection_id":177186,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:48:29] local.INFO: Processing buffer {"connection_id":177186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:48:29] local.INFO: IMEI packet received {"connection_id":177186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":177186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:48:34] local.INFO: TCP Data received {"connection_id":177186,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:48:34] local.INFO: Processing buffer {"connection_id":177186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:48:34] local.INFO: IMEI packet received {"connection_id":177186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":177186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:48:35] local.INFO: TCP Data received {"connection_id":177186,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:48:35] local.INFO: Processing buffer {"connection_id":177186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:48:35] local.INFO: Packet analysis {"connection_id":177186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:48:35] local.INFO: Extracted packet for processing {"connection_id":177186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19:48: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-09-09 19:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 19:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:48:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":177186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:48:35] local.INFO: GPS data processed {"connection_id":177186,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:48:35] local.INFO: Acknowledgment sent {"connection_id":177186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:48:38] local.INFO: TCP Data received {"connection_id":178591,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:48:38] local.INFO: Processing buffer {"connection_id":178591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:48:38] local.INFO: IMEI packet received {"connection_id":178591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":178591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:48:43] local.INFO: TCP Data received {"connection_id":178591,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:48:43] local.INFO: Processing buffer {"connection_id":178591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:48:43] local.INFO: IMEI packet received {"connection_id":178591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":178591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:48:44] local.INFO: TCP Data received {"connection_id":178591,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:48:44] local.INFO: Processing buffer {"connection_id":178591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08683e550012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:48:44] local.INFO: Packet analysis {"connection_id":178591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:48:44] local.INFO: Extracted packet for processing {"connection_id":178591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08683"} 
[2026-09-09 19:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974497280001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638646272,"note":"Value kept but may cause issues"} 
[2026-09-09 19:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963186000,"timestamp_ms":1788963186000,"timestamp_seconds":1788963186,"priority":1,"record_length":96,"hex_timestamp":"000001a08683e550"} 
[2026-09-09 19:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 19:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974497280001,"66":25615,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3800897376638646272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974497280001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638646272,"description":"Unknown IO ID 45"} 
[2026-09-09 19:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974497280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638646272}} 
[2026-09-09 19:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":178591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:48:44] local.INFO: GPS data processed {"connection_id":178591,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:48:44] local.INFO: Acknowledgment sent {"connection_id":178591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:49:06] local.INFO: TCP Data received {"connection_id":177186,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:49:06] local.INFO: Processing buffer {"connection_id":177186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:49:06] local.INFO: Packet analysis {"connection_id":177186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:49:06] local.INFO: Extracted packet for processing {"connection_id":177186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 19:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 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-09-09 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:49: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-09-09 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-09-09 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-09-09 19:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":177186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:49:06] local.INFO: GPS data processed {"connection_id":177186,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:49:06] local.INFO: Acknowledgment sent {"connection_id":177186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:49:15] local.INFO: TCP Data received {"connection_id":178591,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:49:15] local.INFO: Processing buffer {"connection_id":178591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:49:15] local.INFO: Packet analysis {"connection_id":178591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:49:15] local.INFO: Extracted packet for processing {"connection_id":178591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":178591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:49:15] local.INFO: GPS data processed {"connection_id":178591,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:49:15] local.INFO: Acknowledgment sent {"connection_id":178591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:49:29] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:49:29] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:49:29] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:49:34] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:49:34] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:49:34] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:49:35] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:49:35] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868519e8012d196840071fee00003b011b2a..."} 
[2026-09-09 19:49:35] local.INFO: Packet analysis {"connection_id":176026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:49:35] local.INFO: Extracted packet for processing {"connection_id":176026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08685"} 
[2026-09-09 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533056,"longitude_deg":75.6639808,"latitude_deg":11.9533056,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-09-09 19:49: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-09-09 19:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963265000,"timestamp_ms":1788963265000,"timestamp_seconds":1788963265,"priority":1,"record_length":96,"hex_timestamp":"000001a0868519e8"} 
[2026-09-09 19:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":12722,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:49:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":176026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:49:35] local.INFO: GPS data processed {"connection_id":176026,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:49:35] local.INFO: Acknowledgment sent {"connection_id":176026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:49:38] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:49:38] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:49:38] local.INFO: IMEI packet received {"connection_id":175794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":175794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:49:43] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:49:43] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:49:43] local.INFO: IMEI packet received {"connection_id":175794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":175794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:49:44] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:49:44] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:49:44] local.INFO: Packet analysis {"connection_id":175794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:49:44] local.INFO: Extracted packet for processing {"connection_id":175794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:49: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-09-09 19:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":175794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:49:44] local.INFO: GPS data processed {"connection_id":175794,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:49:44] local.INFO: Acknowledgment sent {"connection_id":175794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:50:06] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:50:06] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:50:06] local.INFO: Packet analysis {"connection_id":176026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:50:06] local.INFO: Extracted packet for processing {"connection_id":176026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:50: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-09-09 19: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-09-09 19:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":176026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:50:06] local.INFO: GPS data processed {"connection_id":176026,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:50:06] local.INFO: Acknowledgment sent {"connection_id":176026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:50:16] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:50:16] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:50:16] local.INFO: Packet analysis {"connection_id":175794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:50:16] local.INFO: Extracted packet for processing {"connection_id":175794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":175794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:50:16] local.INFO: GPS data processed {"connection_id":175794,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:50:16] local.INFO: Acknowledgment sent {"connection_id":175794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:50:29] local.INFO: TCP Data received {"connection_id":177187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:50:29] local.INFO: Processing buffer {"connection_id":177187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:50:29] local.INFO: IMEI packet received {"connection_id":177187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":177187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:50:34] local.INFO: TCP Data received {"connection_id":177187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:50:34] local.INFO: Processing buffer {"connection_id":177187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:50:34] local.INFO: IMEI packet received {"connection_id":177187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":177187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:50:35] local.INFO: TCP Data received {"connection_id":177187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:50:35] local.INFO: Processing buffer {"connection_id":177187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:50:35] local.INFO: Packet analysis {"connection_id":177187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:50:35] local.INFO: Extracted packet for processing {"connection_id":177187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:50:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":177187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:50:35] local.INFO: GPS data processed {"connection_id":177187,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:50:35] local.INFO: Acknowledgment sent {"connection_id":177187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:50:37] local.INFO: TCP Data received {"connection_id":177188,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:37] local.INFO: Processing buffer {"connection_id":177188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:37] local.INFO: IMEI packet received {"connection_id":177188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":177188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:50:38] local.INFO: TCP Data received {"connection_id":177188,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:38] local.INFO: Processing buffer {"connection_id":177188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:38] local.INFO: IMEI packet received {"connection_id":177188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":177188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:50:38] local.INFO: TCP Data received {"connection_id":178592,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:50:38] local.INFO: Processing buffer {"connection_id":178592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:50:38] local.INFO: IMEI packet received {"connection_id":178592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":178592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:50:40] local.INFO: TCP Data received {"connection_id":177188,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:40] local.INFO: Processing buffer {"connection_id":177188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:40] local.INFO: IMEI packet received {"connection_id":177188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":177188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:50:43] local.INFO: TCP Data received {"connection_id":178592,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:50:43] local.INFO: Processing buffer {"connection_id":178592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:50:43] local.INFO: IMEI packet received {"connection_id":178592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":178592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:50:44] local.INFO: TCP Data received {"connection_id":178592,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:50:44] local.INFO: Processing buffer {"connection_id":178592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:50:44] local.INFO: Packet analysis {"connection_id":178592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:50:44] local.INFO: Extracted packet for processing {"connection_id":178592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":178592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:50:44] local.INFO: GPS data processed {"connection_id":178592,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:50:44] local.INFO: Acknowledgment sent {"connection_id":178592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:50:46] local.INFO: TCP Data received {"connection_id":177188,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:46] local.INFO: Processing buffer {"connection_id":177188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:50:46] local.INFO: IMEI packet received {"connection_id":177188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":177188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:50:55] local.INFO: TCP Data received {"connection_id":177188,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a086893898012c919a80094ce97002e300802e..."} 
[2026-09-09 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086893898012c919a80094ce97002e300802e..."} 
[2026-09-09 19:50:55] local.INFO: Processing buffer {"connection_id":177188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086893898012c919a80094ce97002e300802e..."} 
[2026-09-09 19:50:55] local.INFO: Packet analysis {"connection_id":177188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:50:55] local.INFO: Extracted packet for processing {"connection_id":177188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:50:55] local.INFO: GPS Element Parsed {"raw_longitude":747739776,"raw_latitude":156035440,"longitude_deg":74.7739776,"latitude_deg":15.603544,"altitude":739,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2c919a80","hex_latitude":"094ce970","is_valid_coordinates":true} 
[2026-09-09 19:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974659584001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7969330606917570558,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788963535000,"timestamp_ms":1788963535000,"timestamp_seconds":1788963535,"priority":1,"record_length":96,"hex_timestamp":"000001a086893898"} 
[2026-09-09 19:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 19:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974659584001,"66":27463,"206":206,"9":8192,"24":0,"16":3893920429768704,"44":-7969330606917570558},"client_ip":"117.224.169.223","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-09 19:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 19:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 19:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974659584001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:50:55] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 19:50:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-09 19:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7969330606917570558,"description":"Unknown IO ID 44"} 
[2026-09-09 19:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974659584001,"power":27463,"unknown_206":206,"unknown_9":8192,"ignition":0,"odometer":null,"unknown_44":-7969330606917570558}} 
[2026-09-09 19:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":177188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:50:55] local.INFO: GPS data processed {"connection_id":177188,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:50:55] local.INFO: Acknowledgment sent {"connection_id":177188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:50:58] local.INFO: TCP Data received {"connection_id":177188,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a086898aa0012c91c180094cba7002e500982f..."} 
[2026-09-09 19:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086898aa0012c91c180094cba7002e500982f..."} 
[2026-09-09 19:50:58] local.INFO: Processing buffer {"connection_id":177188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086898aa0012c91c180094cba7002e500982f..."} 
[2026-09-09 19:50:58] local.INFO: Packet analysis {"connection_id":177188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:50:58] local.INFO: Extracted packet for processing {"connection_id":177188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:50:58] local.INFO: GPS Element Parsed {"raw_longitude":747749760,"raw_latitude":156023408,"longitude_deg":74.774976,"latitude_deg":15.6023408,"altitude":741,"angle":152,"satellites":47,"speed":28,"hex_longitude":"2c91c180","hex_latitude":"094cba70","is_valid_coordinates":true} 
[2026-09-09 19:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974664960001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7954905014363131902,"note":"Value kept but may cause issues"} 
[2026-09-09 19:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788963556000,"timestamp_ms":1788963556000,"timestamp_seconds":1788963556,"priority":1,"record_length":96,"hex_timestamp":"000001a086898aa0"} 
[2026-09-09 19:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:50: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-09-09 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 19:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974664960001,"66":27571,"206":206,"9":8192,"24":28,"16":3893920429768704,"44":-7954905014363131902},"client_ip":"117.224.169.223","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-09 19:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 19:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 19:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974664960001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:50:58] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 19:50:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-09 19:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:50:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7954905014363131902,"description":"Unknown IO ID 44"} 
[2026-09-09 19:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974664960001,"power":27571,"unknown_206":206,"unknown_9":8192,"ignition":28,"odometer":null,"unknown_44":-7954905014363131902}} 
[2026-09-09 19:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":177188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:50:59] local.INFO: GPS data processed {"connection_id":177188,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:50:59] local.INFO: Acknowledgment sent {"connection_id":177188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:51:06] local.INFO: TCP Data received {"connection_id":177187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:51:06] local.INFO: Processing buffer {"connection_id":177187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:51:06] local.INFO: Packet analysis {"connection_id":177187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:51:06] local.INFO: Extracted packet for processing {"connection_id":177187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:51: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-09-09 19:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":177187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:51:06] local.INFO: GPS data processed {"connection_id":177187,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:51:06] local.INFO: Acknowledgment sent {"connection_id":177187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:51:15] local.INFO: TCP Data received {"connection_id":178592,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:51:15] local.INFO: Processing buffer {"connection_id":178592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:51:15] local.INFO: Packet analysis {"connection_id":178592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:51:15] local.INFO: Extracted packet for processing {"connection_id":178592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":178592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:51:15] local.INFO: GPS data processed {"connection_id":178592,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:51:15] local.INFO: Acknowledgment sent {"connection_id":178592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:51:34] local.INFO: TCP Data received {"connection_id":176027,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:51:34] local.INFO: Processing buffer {"connection_id":176027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:51:34] local.INFO: IMEI packet received {"connection_id":176027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":176027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:51:38] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:51:38] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:51:38] local.INFO: IMEI packet received {"connection_id":175795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":175795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:51:39] local.INFO: TCP Data received {"connection_id":176027,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:51:39] local.INFO: Processing buffer {"connection_id":176027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:51:39] local.INFO: IMEI packet received {"connection_id":176027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":176027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:51:40] local.INFO: TCP Data received {"connection_id":176027,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:51:40] local.INFO: Processing buffer {"connection_id":176027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:51:40] local.INFO: Packet analysis {"connection_id":176027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:51:40] local.INFO: Extracted packet for processing {"connection_id":176027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51: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-09-09 19:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:51:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:51:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":176027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:51:40] local.INFO: GPS data processed {"connection_id":176027,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:51:40] local.INFO: Acknowledgment sent {"connection_id":176027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:51:40] local.INFO: TCP Data received {"connection_id":178593,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:51:40] local.INFO: Processing buffer {"connection_id":178593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:51:40] local.INFO: IMEI packet received {"connection_id":178593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":178593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:51:43] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:51:43] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:51:43] local.INFO: IMEI packet received {"connection_id":175795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":175795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:51:44] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:51:44] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:51:44] local.INFO: Packet analysis {"connection_id":175795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:51:44] local.INFO: Extracted packet for processing {"connection_id":175795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":175795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:51:44] local.INFO: GPS data processed {"connection_id":175795,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:51:44] local.INFO: Acknowledgment sent {"connection_id":175795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:51:45] local.INFO: TCP Data received {"connection_id":176027,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:51:45] local.INFO: Processing buffer {"connection_id":176027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:51:45] local.INFO: Packet analysis {"connection_id":176027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:51:45] local.INFO: Extracted packet for processing {"connection_id":176027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:51: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-09-09 19:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:51:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":176027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:51:45] local.INFO: GPS data processed {"connection_id":176027,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:51:45] local.INFO: Acknowledgment sent {"connection_id":176027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:51:46] local.INFO: TCP Data received {"connection_id":178593,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:51:46] local.INFO: Processing buffer {"connection_id":178593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:51:46] local.INFO: IMEI packet received {"connection_id":178593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":178593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:51:48] local.INFO: TCP Data received {"connection_id":178593,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a086898aa0012c91c180094cba7002e500982f..."} 
[2026-09-09 19:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086898aa0012c91c180094cba7002e500982f..."} 
[2026-09-09 19:51:48] local.INFO: Processing buffer {"connection_id":178593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086898aa0012c91c180094cba7002e500982f..."} 
[2026-09-09 19:51:48] local.INFO: Packet analysis {"connection_id":178593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:51:48] local.INFO: Extracted packet for processing {"connection_id":178593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:51:48] local.INFO: GPS Element Parsed {"raw_longitude":747749760,"raw_latitude":156023408,"longitude_deg":74.774976,"latitude_deg":15.6023408,"altitude":741,"angle":152,"satellites":47,"speed":28,"hex_longitude":"2c91c180","hex_latitude":"094cba70","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974670336001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7943927490274496510,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788963556000,"timestamp_ms":1788963556000,"timestamp_seconds":1788963556,"priority":1,"record_length":96,"hex_timestamp":"000001a086898aa0"} 
[2026-09-09 19:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 19:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974670336001,"66":27571,"206":206,"9":8192,"24":28,"16":3893920429768704,"44":-7943927490274496510},"client_ip":"117.224.169.223","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-09 19:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 19:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 19:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974670336001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:51:48] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 19:51:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-09 19:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:51:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7943927490274496510,"description":"Unknown IO ID 44"} 
[2026-09-09 19:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974670336001,"power":27571,"unknown_206":206,"unknown_9":8192,"ignition":28,"odometer":null,"unknown_44":-7943927490274496510}} 
[2026-09-09 19:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":178593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:51:48] local.INFO: GPS data processed {"connection_id":178593,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:51:48] local.INFO: Acknowledgment sent {"connection_id":178593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:51:52] local.INFO: TCP Data received {"connection_id":178593,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a0868a6d300100000000000000000000000000..."} 
[2026-09-09 19:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868a6d300100000000000000000000000000..."} 
[2026-09-09 19:51:52] local.INFO: Processing buffer {"connection_id":178593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868a6d300100000000000000000000000000..."} 
[2026-09-09 19:51:52] local.INFO: Packet analysis {"connection_id":178593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:51:52] local.INFO: Extracted packet for processing {"connection_id":178593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:51:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 19:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974670336001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7943927490274496510,"note":"Value kept but may cause issues"} 
[2026-09-09 19:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788963614000,"timestamp_ms":1788963614000,"timestamp_seconds":1788963614,"priority":1,"record_length":96,"hex_timestamp":"000001a0868a6d30"} 
[2026-09-09 19:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:51: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-09-09 19:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 19:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":178593,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 19:51:52] local.INFO: GPS data processed {"connection_id":178593,"processed":0,"errors":0,"total":1} 
[2026-09-09 19:51:52] local.INFO: Acknowledgment sent {"connection_id":178593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:52:16] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:52:16] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:52:16] local.INFO: Packet analysis {"connection_id":175795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:52:16] local.INFO: Extracted packet for processing {"connection_id":175795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":175795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:52:16] local.INFO: GPS data processed {"connection_id":175795,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:52:16] local.INFO: Acknowledgment sent {"connection_id":175795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:52:23] local.INFO: TCP Data received {"connection_id":178593,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a08689e090012c91d880094c80c002e500a030..."} 
[2026-09-09 19:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689e090012c91d880094c80c002e500a030..."} 
[2026-09-09 19:52:23] local.INFO: Processing buffer {"connection_id":178593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689e090012c91d880094c80c002e500a030..."} 
[2026-09-09 19:52:23] local.INFO: Packet analysis {"connection_id":178593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:52:23] local.INFO: Extracted packet for processing {"connection_id":178593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:52:23] local.INFO: GPS Element Parsed {"raw_longitude":747755648,"raw_latitude":156008640,"longitude_deg":74.7755648,"latitude_deg":15.600864,"altitude":741,"angle":160,"satellites":48,"speed":28,"hex_longitude":"2c91d880","hex_latitude":"094c80c0","is_valid_coordinates":true} 
[2026-09-09 19:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,206,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 19:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788963578000,"timestamp_ms":1788963578000,"timestamp_seconds":1788963578,"priority":1,"record_length":96,"hex_timestamp":"000001a08689e090"} 
[2026-09-09 19:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 19:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"206":206,"9":8192,"24":28,"16":3893920429768704},"client_ip":"117.224.169.223","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16]} 
[2026-09-09 19:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 19:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 19:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 19:52:23] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 19:52:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-09 19:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:52:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_206":206,"unknown_9":8192,"ignition":28,"odometer":null}} 
[2026-09-09 19:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":178593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:52:24] local.INFO: GPS data processed {"connection_id":178593,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:52:24] local.INFO: Acknowledgment sent {"connection_id":178593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:52:29] local.INFO: TCP Data received {"connection_id":177189,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:52:29] local.INFO: Processing buffer {"connection_id":177189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:52:29] local.INFO: IMEI packet received {"connection_id":177189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":177189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:52:34] local.INFO: TCP Data received {"connection_id":177189,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:52:34] local.INFO: Processing buffer {"connection_id":177189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:52:34] local.INFO: IMEI packet received {"connection_id":177189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":177189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:52:35] local.INFO: TCP Data received {"connection_id":177189,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:52:35] local.INFO: Processing buffer {"connection_id":177189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:52:35] local.INFO: Packet analysis {"connection_id":177189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:52:35] local.INFO: Extracted packet for processing {"connection_id":177189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:52:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":177189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:52:35] local.INFO: GPS data processed {"connection_id":177189,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:52:35] local.INFO: Acknowledgment sent {"connection_id":177189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:52:40] local.INFO: TCP Data received {"connection_id":178595,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:52:40] local.INFO: Processing buffer {"connection_id":178595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:52:40] local.INFO: IMEI packet received {"connection_id":178595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":178595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:52:41] local.INFO: TCP Data received {"connection_id":178595,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:52:41] local.INFO: Processing buffer {"connection_id":178595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:52:41] local.INFO: IMEI packet received {"connection_id":178595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":178595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:52:43] local.INFO: TCP Data received {"connection_id":178594,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:52:43] local.INFO: Processing buffer {"connection_id":178594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:52:43] local.INFO: IMEI packet received {"connection_id":178594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":178594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:52:46] local.INFO: TCP Data received {"connection_id":178595,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:52:46] local.INFO: Processing buffer {"connection_id":178595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:52:46] local.INFO: IMEI packet received {"connection_id":178595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":178595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:52:47] local.INFO: TCP Data received {"connection_id":178595,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a0868ac3200100000000000000000000000000..."} 
[2026-09-09 19:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868ac3200100000000000000000000000000..."} 
[2026-09-09 19:52:47] local.INFO: Processing buffer {"connection_id":178595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868ac3200100000000000000000000000000..."} 
[2026-09-09 19:52:47] local.INFO: Packet analysis {"connection_id":178595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:52:47] local.INFO: Extracted packet for processing {"connection_id":178595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:52:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 19:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974675968001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7937453565813932030,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788963636000,"timestamp_ms":1788963636000,"timestamp_seconds":1788963636,"priority":1,"record_length":96,"hex_timestamp":"000001a0868ac320"} 
[2026-09-09 19:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 19:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":178595,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 19:52:47] local.INFO: GPS data processed {"connection_id":178595,"processed":0,"errors":0,"total":1} 
[2026-09-09 19:52:47] local.INFO: Acknowledgment sent {"connection_id":178595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:52:48] local.INFO: TCP Data received {"connection_id":178594,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:52:48] local.INFO: Processing buffer {"connection_id":178594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:52:48] local.INFO: IMEI packet received {"connection_id":178594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":178594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:52:49] local.INFO: TCP Data received {"connection_id":178594,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:52:49] local.INFO: Processing buffer {"connection_id":178594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:52:49] local.INFO: Packet analysis {"connection_id":178594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:52:49] local.INFO: Extracted packet for processing {"connection_id":178594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":178594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:52:49] local.INFO: GPS data processed {"connection_id":178594,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:52:49] local.INFO: Acknowledgment sent {"connection_id":178594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:52:54] local.INFO: TCP Data received {"connection_id":178594,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:52:54] local.INFO: Processing buffer {"connection_id":178594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:52:54] local.INFO: Packet analysis {"connection_id":178594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:52:54] local.INFO: Extracted packet for processing {"connection_id":178594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:52:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":178594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:52:54] local.INFO: GPS data processed {"connection_id":178594,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:52:54] local.INFO: Acknowledgment sent {"connection_id":178594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:53:06] local.INFO: TCP Data received {"connection_id":177189,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:53:06] local.INFO: Processing buffer {"connection_id":177189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:53:06] local.INFO: Packet analysis {"connection_id":177189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:53:06] local.INFO: Extracted packet for processing {"connection_id":177189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53: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-09-09 19:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:53: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-09-09 19:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:53:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":177189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:53:07] local.INFO: GPS data processed {"connection_id":177189,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:53:07] local.INFO: Acknowledgment sent {"connection_id":177189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:53:18] local.INFO: TCP Data received {"connection_id":178595,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a0868a3680012c91f540094c3f0002e1009231..."} 
[2026-09-09 19:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868a3680012c91f540094c3f0002e1009231..."} 
[2026-09-09 19:53:18] local.INFO: Processing buffer {"connection_id":178595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868a3680012c91f540094c3f0002e1009231..."} 
[2026-09-09 19:53:18] local.INFO: Packet analysis {"connection_id":178595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:53:18] local.INFO: Extracted packet for processing {"connection_id":178595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:53:18] local.INFO: GPS Element Parsed {"raw_longitude":747763008,"raw_latitude":155991808,"longitude_deg":74.7763008,"latitude_deg":15.5991808,"altitude":737,"angle":146,"satellites":49,"speed":41,"hex_longitude":"2c91f540","hex_latitude":"094c3f00","is_valid_coordinates":true} 
[2026-09-09 19:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,206,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 19:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788963600000,"timestamp_ms":1788963600000,"timestamp_seconds":1788963600,"priority":1,"record_length":96,"hex_timestamp":"000001a0868a3680"} 
[2026-09-09 19:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 19:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26876,"206":206,"9":8192,"24":41,"16":3893920429768704},"client_ip":"117.224.169.223","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16]} 
[2026-09-09 19:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 19:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 19:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 19:53:18] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 19:53:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-09 19:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:53:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26876,"unknown_206":206,"unknown_9":8192,"ignition":41,"odometer":null}} 
[2026-09-09 19:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":178595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:53:18] local.INFO: GPS data processed {"connection_id":178595,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:53:18] local.INFO: Acknowledgment sent {"connection_id":178595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:53:29] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:53:29] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:53:29] local.INFO: IMEI packet received {"connection_id":175796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":175796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:53:34] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:53:34] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:53:34] local.INFO: IMEI packet received {"connection_id":175796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":175796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:53:35] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:53:35] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:53:35] local.INFO: Packet analysis {"connection_id":175796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:53:35] local.INFO: Extracted packet for processing {"connection_id":175796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:53:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":175796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:53:35] local.INFO: GPS data processed {"connection_id":175796,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:53:35] local.INFO: Acknowledgment sent {"connection_id":175796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:53:38] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:53:38] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:53:38] local.INFO: IMEI packet received {"connection_id":175797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":175797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:53:40] local.INFO: TCP Data received {"connection_id":176028,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:53:40] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:53:40] local.INFO: IMEI packet received {"connection_id":176028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":176028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:53:43] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:53:43] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:53:43] local.INFO: IMEI packet received {"connection_id":175797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":175797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:53:44] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:53:44] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086887d18012d34c14006aa42b8000001162a..."} 
[2026-09-09 19:53:44] local.INFO: Packet analysis {"connection_id":175797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:53:44] local.INFO: Extracted packet for processing {"connection_id":175797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08688"} 
[2026-09-09 19:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974575616001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963487000,"timestamp_ms":1788963487000,"timestamp_seconds":1788963487,"priority":1,"record_length":96,"hex_timestamp":"000001a086887d18"} 
[2026-09-09 19:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-09 19:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974575616001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974575616001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974575616001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":175797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:53:44] local.INFO: GPS data processed {"connection_id":175797,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:53:44] local.INFO: Acknowledgment sent {"connection_id":175797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:53:46] local.INFO: TCP Data received {"connection_id":176028,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:53:46] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:53:46] local.INFO: IMEI packet received {"connection_id":176028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":176028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:53:47] local.INFO: TCP Data received {"connection_id":176028,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a0868a7cd0012c922b00094c054002dc008730..."} 
[2026-09-09 19:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868a7cd0012c922b00094c054002dc008730..."} 
[2026-09-09 19:53:47] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868a7cd0012c922b00094c054002dc008730..."} 
[2026-09-09 19:53:47] local.INFO: Packet analysis {"connection_id":176028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:53:47] local.INFO: Extracted packet for processing {"connection_id":176028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:53:47] local.INFO: GPS Element Parsed {"raw_longitude":747776768,"raw_latitude":155977024,"longitude_deg":74.7776768,"latitude_deg":15.5977024,"altitude":732,"angle":135,"satellites":48,"speed":48,"hex_longitude":"2c922b00","hex_latitude":"094c0540","is_valid_coordinates":true} 
[2026-09-09 19:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974681600001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7929361160237809662,"note":"Value kept but may cause issues"} 
[2026-09-09 19:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788963618000,"timestamp_ms":1788963618000,"timestamp_seconds":1788963618,"priority":1,"record_length":96,"hex_timestamp":"000001a0868a7cd0"} 
[2026-09-09 19:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-09 19:53:47] 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-09-09 19:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974681600001,"66":27550,"206":206,"9":8192,"24":48,"16":3893920429768704,"44":-7929361160237809662},"client_ip":"117.224.169.223","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-09 19:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 19:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 19:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974681600001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:53:47] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-09 19:53:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-09 19:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:53:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7929361160237809662,"description":"Unknown IO ID 44"} 
[2026-09-09 19:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974681600001,"power":27550,"unknown_206":206,"unknown_9":8192,"ignition":48,"odometer":null,"unknown_44":-7929361160237809662}} 
[2026-09-09 19:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":176028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:53:47] local.INFO: GPS data processed {"connection_id":176028,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:53:47] local.INFO: Acknowledgment sent {"connection_id":176028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:54:06] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:54:06] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:54:06] local.INFO: Packet analysis {"connection_id":175796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:54:06] local.INFO: Extracted packet for processing {"connection_id":175796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:54: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-09-09 19:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":175796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:54:06] local.INFO: GPS data processed {"connection_id":175796,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:54:06] local.INFO: Acknowledgment sent {"connection_id":175796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:54:15] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:54:15] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:54:15] local.INFO: Packet analysis {"connection_id":175797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:54:15] local.INFO: Extracted packet for processing {"connection_id":175797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":175797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:54:15] local.INFO: GPS data processed {"connection_id":175797,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:54:15] local.INFO: Acknowledgment sent {"connection_id":175797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:54:18] local.INFO: TCP Data received {"connection_id":176028,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a0868abf38012c925dc0094bc13002dc009932..."} 
[2026-09-09 19:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868abf38012c925dc0094bc13002dc009932..."} 
[2026-09-09 19:54:18] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868abf38012c925dc0094bc13002dc009932..."} 
[2026-09-09 19:54:18] local.INFO: Packet analysis {"connection_id":176028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:54:18] local.INFO: Extracted packet for processing {"connection_id":176028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868a"} 
[2026-09-09 19:54:18] local.INFO: GPS Element Parsed {"raw_longitude":747789760,"raw_latitude":155959600,"longitude_deg":74.778976,"latitude_deg":15.59596,"altitude":732,"angle":153,"satellites":50,"speed":52,"hex_longitude":"2c925dc0","hex_latitude":"094bc130","is_valid_coordinates":true} 
[2026-09-09 19:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974686208001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7914231880243396606,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788963635000,"timestamp_ms":1788963635000,"timestamp_seconds":1788963635,"priority":1,"record_length":96,"hex_timestamp":"000001a0868abf38"} 
[2026-09-09 19:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 19:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974686208001,"66":27517,"208":206,"9":8192,"24":52,"16":3893920429768704,"44":-7914231880243396606},"client_ip":"117.224.169.223","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16,44]} 
[2026-09-09 19:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 19:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 19:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974686208001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:54:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 19:54:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-09 19:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:54:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7914231880243396606,"description":"Unknown IO ID 44"} 
[2026-09-09 19:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974686208001,"power":27517,"unknown_208":206,"unknown_9":8192,"ignition":52,"odometer":null,"unknown_44":-7914231880243396606}} 
[2026-09-09 19:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":176028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:54:18] local.INFO: GPS data processed {"connection_id":176028,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:54:18] local.INFO: Acknowledgment sent {"connection_id":176028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:54:29] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:54:29] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:54:29] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:54:34] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:54:34] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:54:34] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:54:35] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:54:35] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:54:35] local.INFO: Packet analysis {"connection_id":176029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:54:35] local.INFO: Extracted packet for processing {"connection_id":176029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:54:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":176029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:54:35] local.INFO: GPS data processed {"connection_id":176029,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:54:35] local.INFO: Acknowledgment sent {"connection_id":176029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:54:38] local.INFO: TCP Data received {"connection_id":178596,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:54:38] local.INFO: Processing buffer {"connection_id":178596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:54:38] local.INFO: IMEI packet received {"connection_id":178596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":178596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:54:43] local.INFO: TCP Data received {"connection_id":178596,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:54:43] local.INFO: Processing buffer {"connection_id":178596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:54:43] local.INFO: IMEI packet received {"connection_id":178596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":178596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:54:44] local.INFO: TCP Data received {"connection_id":178596,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:54:44] local.INFO: Processing buffer {"connection_id":178596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:54:44] local.INFO: Packet analysis {"connection_id":178596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:54:44] local.INFO: Extracted packet for processing {"connection_id":178596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":178596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:54:44] local.INFO: GPS data processed {"connection_id":178596,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:54:44] local.INFO: Acknowledgment sent {"connection_id":178596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:54:46] local.INFO: TCP Data received {"connection_id":178597,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:54:46] local.INFO: Processing buffer {"connection_id":178597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:54:46] local.INFO: IMEI packet received {"connection_id":178597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":178597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:54:52] local.INFO: TCP Data received {"connection_id":178597,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:54:52] local.INFO: Processing buffer {"connection_id":178597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:54:52] local.INFO: IMEI packet received {"connection_id":178597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":178597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:54:53] local.INFO: TCP Data received {"connection_id":178597,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a0868b1140012c928800094b731002dc009531..."} 
[2026-09-09 19:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868b1140012c928800094b731002dc009531..."} 
[2026-09-09 19:54:53] local.INFO: Processing buffer {"connection_id":178597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868b1140012c928800094b731002dc009531..."} 
[2026-09-09 19:54:53] local.INFO: Packet analysis {"connection_id":178597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868b"} 
[2026-09-09 19:54:53] local.INFO: Extracted packet for processing {"connection_id":178597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868b"} 
[2026-09-09 19:54:53] local.INFO: GPS Element Parsed {"raw_longitude":747800576,"raw_latitude":155939600,"longitude_deg":74.7800576,"latitude_deg":15.59396,"altitude":732,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2c928800","hex_latitude":"094b7310","is_valid_coordinates":true} 
[2026-09-09 19:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974690560001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7899947025179791358,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788963656000,"timestamp_ms":1788963656000,"timestamp_seconds":1788963656,"priority":1,"record_length":96,"hex_timestamp":"000001a0868b1140"} 
[2026-09-09 19:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:54: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-09-09 19:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 19:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974690560001,"66":27484,"208":206,"9":8192,"24":0,"16":3893920429768704,"44":-7899947025179791358},"client_ip":"117.224.169.223","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16,44]} 
[2026-09-09 19:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 19:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 19:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974690560001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:54:53] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 19:54:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-09 19:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:54:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7899947025179791358,"description":"Unknown IO ID 44"} 
[2026-09-09 19:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974690560001,"power":27484,"unknown_208":206,"unknown_9":8192,"ignition":0,"odometer":null,"unknown_44":-7899947025179791358}} 
[2026-09-09 19:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":178597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:54:53] local.INFO: GPS data processed {"connection_id":178597,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:54:53] local.INFO: Acknowledgment sent {"connection_id":178597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:54:56] local.INFO: TCP Data received {"connection_id":178597,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a0868b6348012c92b440094b329002e4008f31..."} 
[2026-09-09 19:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868b6348012c92b440094b329002e4008f31..."} 
[2026-09-09 19:54:56] local.INFO: Processing buffer {"connection_id":178597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868b6348012c92b440094b329002e4008f31..."} 
[2026-09-09 19:54:56] local.INFO: Packet analysis {"connection_id":178597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868b"} 
[2026-09-09 19:54:56] local.INFO: Extracted packet for processing {"connection_id":178597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868b"} 
[2026-09-09 19:54:56] local.INFO: GPS Element Parsed {"raw_longitude":747811904,"raw_latitude":155923088,"longitude_deg":74.7811904,"latitude_deg":15.5923088,"altitude":740,"angle":143,"satellites":49,"speed":0,"hex_longitude":"2c92b440","hex_latitude":"094b3290","is_valid_coordinates":true} 
[2026-09-09 19:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974695936001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7888054707418886142,"note":"Value kept but may cause issues"} 
[2026-09-09 19:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788963677000,"timestamp_ms":1788963677000,"timestamp_seconds":1788963677,"priority":1,"record_length":96,"hex_timestamp":"000001a0868b6348"} 
[2026-09-09 19:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 19:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":178597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":178597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":178597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974695936001,"66":27626,"208":206,"9":8192,"24":0,"16":3893920429768704,"44":-7888054707418886142},"client_ip":"117.224.169.223","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16,44]} 
[2026-09-09 19:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 19:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 19:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974695936001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:54:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-09 19:54:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-09 19:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:54:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7888054707418886142,"description":"Unknown IO ID 44"} 
[2026-09-09 19:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974695936001,"power":27626,"unknown_208":206,"unknown_9":8192,"ignition":0,"odometer":null,"unknown_44":-7888054707418886142}} 
[2026-09-09 19:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":178597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:54:56] local.INFO: GPS data processed {"connection_id":178597,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:54:56] local.INFO: Acknowledgment sent {"connection_id":178597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:55:07] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:55:07] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08689b598012d1965c0071ff020003b011b29..."} 
[2026-09-09 19:55:07] local.INFO: Packet analysis {"connection_id":176029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:55:07] local.INFO: Extracted packet for processing {"connection_id":176029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08689"} 
[2026-09-09 19:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974595840001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870746624,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788963567000,"timestamp_ms":1788963567000,"timestamp_seconds":1788963567,"priority":1,"record_length":96,"hex_timestamp":"000001a08689b598"} 
[2026-09-09 19:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":178,"data_length":795,"current_offset":136} 
[2026-09-09 19:55: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-09-09 19:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19: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-09-09 19:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974595840001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830783647870746624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974595840001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:55:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870746624,"description":"Unknown IO ID 45"} 
[2026-09-09 19:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974595840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870746624}} 
[2026-09-09 19:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":176029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:55:07] local.INFO: GPS data processed {"connection_id":176029,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:55:07] local.INFO: Acknowledgment sent {"connection_id":176029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:55:15] local.INFO: TCP Data received {"connection_id":178596,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:55:15] local.INFO: Processing buffer {"connection_id":178596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:55:15] local.INFO: Packet analysis {"connection_id":178596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:55:15] local.INFO: Extracted packet for processing {"connection_id":178596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":178596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:55:15] local.INFO: GPS data processed {"connection_id":178596,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:55:15] local.INFO: Acknowledgment sent {"connection_id":178596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:55:29] local.INFO: TCP Data received {"connection_id":177190,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:55:29] local.INFO: Processing buffer {"connection_id":177190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:55:29] local.INFO: IMEI packet received {"connection_id":177190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":177190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:55:34] local.INFO: TCP Data received {"connection_id":177190,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:55:34] local.INFO: Processing buffer {"connection_id":177190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:55:34] local.INFO: IMEI packet received {"connection_id":177190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":177190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:55:35] local.INFO: TCP Data received {"connection_id":177190,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:55:35] local.INFO: Processing buffer {"connection_id":177190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:55:35] local.INFO: Packet analysis {"connection_id":177190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:55:35] local.INFO: Extracted packet for processing {"connection_id":177190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 19:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:55:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 19:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 19:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":177190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:55:35] local.INFO: GPS data processed {"connection_id":177190,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:55:35] local.INFO: Acknowledgment sent {"connection_id":177190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:55:38] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:55:38] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:55:38] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:55:43] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:55:43] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:55:43] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:55:44] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:55:44] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:55:44] local.INFO: Packet analysis {"connection_id":175798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:55:44] local.INFO: Extracted packet for processing {"connection_id":175798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":175798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:55:44] local.INFO: GPS data processed {"connection_id":175798,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:55:44] local.INFO: Acknowledgment sent {"connection_id":175798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:56:06] local.INFO: TCP Data received {"connection_id":177190,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:56:06] local.INFO: Processing buffer {"connection_id":177190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:56:06] local.INFO: Packet analysis {"connection_id":177190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:56:06] local.INFO: Extracted packet for processing {"connection_id":177190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 19: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-09-09 19:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 19:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:56: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-09-09 19:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:56:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 19:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 19:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":177190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:56:06] local.INFO: GPS data processed {"connection_id":177190,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:56:06] local.INFO: Acknowledgment sent {"connection_id":177190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:56:16] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:56:16] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:56:16] local.INFO: Packet analysis {"connection_id":175798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:56:16] local.INFO: Extracted packet for processing {"connection_id":175798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:56:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":175798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:56:16] local.INFO: GPS data processed {"connection_id":175798,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:56:16] local.INFO: Acknowledgment sent {"connection_id":175798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:56:34] local.INFO: TCP Data received {"connection_id":178598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:56:34] local.INFO: Processing buffer {"connection_id":178598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:56:34] local.INFO: IMEI packet received {"connection_id":178598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":178598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:56:37] local.INFO: TCP Data received {"connection_id":175799,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:56:37] local.INFO: Processing buffer {"connection_id":175799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:56:37] local.INFO: IMEI packet received {"connection_id":175799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":175799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:56:39] local.INFO: TCP Data received {"connection_id":178598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:56:39] local.INFO: Processing buffer {"connection_id":178598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:56:39] local.INFO: IMEI packet received {"connection_id":178598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":178598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:56:40] local.INFO: TCP Data received {"connection_id":178598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:56:40] local.INFO: Processing buffer {"connection_id":178598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:56:40] local.INFO: Packet analysis {"connection_id":178598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:56:40] local.INFO: Extracted packet for processing {"connection_id":178598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 19:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:56: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-09-09 19:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:56:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 19:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 19:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":178598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:56:40] local.INFO: GPS data processed {"connection_id":178598,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:56:40] local.INFO: Acknowledgment sent {"connection_id":178598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:56:43] local.INFO: TCP Data received {"connection_id":175799,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:56:43] local.INFO: Processing buffer {"connection_id":175799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:56:43] local.INFO: IMEI packet received {"connection_id":175799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":175799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:56:44] local.INFO: TCP Data received {"connection_id":175799,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:56:44] local.INFO: Processing buffer {"connection_id":175799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:56:44] local.INFO: Packet analysis {"connection_id":175799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:56:44] local.INFO: Extracted packet for processing {"connection_id":175799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:56:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":175799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:56:44] local.INFO: GPS data processed {"connection_id":175799,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:56:44] local.INFO: Acknowledgment sent {"connection_id":175799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:56:45] local.INFO: TCP Data received {"connection_id":178598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:56:45] local.INFO: Processing buffer {"connection_id":178598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:56:45] local.INFO: Packet analysis {"connection_id":178598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:56:45] local.INFO: Extracted packet for processing {"connection_id":178598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 19:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 19:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:56:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 19:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 19:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":178598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:56:45] local.INFO: GPS data processed {"connection_id":178598,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:56:45] local.INFO: Acknowledgment sent {"connection_id":178598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:57:15] local.INFO: TCP Data received {"connection_id":175799,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:57:15] local.INFO: Processing buffer {"connection_id":175799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:57:15] local.INFO: Packet analysis {"connection_id":175799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:57:15] local.INFO: Extracted packet for processing {"connection_id":175799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":175799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:57:15] local.INFO: GPS data processed {"connection_id":175799,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:57:15] local.INFO: Acknowledgment sent {"connection_id":175799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:57:16] local.INFO: TCP Data received {"connection_id":178599,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:57:16] local.INFO: Processing buffer {"connection_id":178599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:57:16] local.INFO: IMEI packet received {"connection_id":178599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 19:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":178599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:57:22] local.INFO: TCP Data received {"connection_id":178599,"ip":"117.224.169.223","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:57:22] local.INFO: Processing buffer {"connection_id":178599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 19:57:22] local.INFO: IMEI packet received {"connection_id":178599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 19:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":178599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:57:23] local.INFO: TCP Data received {"connection_id":178599,"ip":"117.224.169.223","data_length":795,"data_hex":"000000000000030f8e0a000001a0868ece480100000000000000000000000000..."} 
[2026-09-09 19:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868ece480100000000000000000000000000..."} 
[2026-09-09 19:57:23] local.INFO: Processing buffer {"connection_id":178599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868ece480100000000000000000000000000..."} 
[2026-09-09 19:57:23] local.INFO: Packet analysis {"connection_id":178599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:57:23] local.INFO: Extracted packet for processing {"connection_id":178599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:57:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 19:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974743808001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7675822575010639870,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788963901000,"timestamp_ms":1788963901000,"timestamp_seconds":1788963901,"priority":1,"record_length":96,"hex_timestamp":"000001a0868ece48"} 
[2026-09-09 19:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 19:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 19:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.223","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 19:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 19:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":178599,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 19:57:23] local.INFO: GPS data processed {"connection_id":178599,"processed":0,"errors":0,"total":1} 
[2026-09-09 19:57:23] local.INFO: Acknowledgment sent {"connection_id":178599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:57:29] local.INFO: TCP Data received {"connection_id":175800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:57:29] local.INFO: Processing buffer {"connection_id":175800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:57:29] local.INFO: IMEI packet received {"connection_id":175800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":175800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:57:34] local.INFO: TCP Data received {"connection_id":175800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:57:34] local.INFO: Processing buffer {"connection_id":175800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:57:34] local.INFO: IMEI packet received {"connection_id":175800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":175800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:57:35] local.INFO: TCP Data received {"connection_id":175800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:57:35] local.INFO: Processing buffer {"connection_id":175800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:57:35] local.INFO: Packet analysis {"connection_id":175800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:57:35] local.INFO: Extracted packet for processing {"connection_id":175800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 19:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:57:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 19:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 19:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":175800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:57:35] local.INFO: GPS data processed {"connection_id":175800,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:57:35] local.INFO: Acknowledgment sent {"connection_id":175800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:57:43] local.INFO: TCP Data received {"connection_id":177191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:57:43] local.INFO: Processing buffer {"connection_id":177191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:57:43] local.INFO: IMEI packet received {"connection_id":177191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":177191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:57:48] local.INFO: TCP Data received {"connection_id":177191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:57:48] local.INFO: Processing buffer {"connection_id":177191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:57:48] local.INFO: IMEI packet received {"connection_id":177191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":177191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:57:49] local.INFO: TCP Data received {"connection_id":177191,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:57:49] local.INFO: Processing buffer {"connection_id":177191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:57:49] local.INFO: Packet analysis {"connection_id":177191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:57:49] local.INFO: Extracted packet for processing {"connection_id":177191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":177191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:57:49] local.INFO: GPS data processed {"connection_id":177191,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:57:49] local.INFO: Acknowledgment sent {"connection_id":177191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:57:54] local.INFO: TCP Data received {"connection_id":177191,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:57:54] local.INFO: Processing buffer {"connection_id":177191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:57:54] local.INFO: Packet analysis {"connection_id":177191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:57:54] local.INFO: Extracted packet for processing {"connection_id":177191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:57:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":177191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:57:54] local.INFO: GPS data processed {"connection_id":177191,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:57:54] local.INFO: Acknowledgment sent {"connection_id":177191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:58:06] local.INFO: TCP Data received {"connection_id":175800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:58:06] local.INFO: Processing buffer {"connection_id":175800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:58:06] local.INFO: Packet analysis {"connection_id":175800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:58:06] local.INFO: Extracted packet for processing {"connection_id":175800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 19:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 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-09-09 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:58: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-09-09 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-09-09 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-09-09 19:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 19:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":175800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:58:06] local.INFO: GPS data processed {"connection_id":175800,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:58:06] local.INFO: Acknowledgment sent {"connection_id":175800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:58:29] local.INFO: TCP Data received {"connection_id":176030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:58:29] local.INFO: Processing buffer {"connection_id":176030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:58:29] local.INFO: IMEI packet received {"connection_id":176030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":176030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:58:34] local.INFO: TCP Data received {"connection_id":176030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:58:34] local.INFO: Processing buffer {"connection_id":176030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:58:34] local.INFO: IMEI packet received {"connection_id":176030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":176030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:58:35] local.INFO: TCP Data received {"connection_id":176030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:58:35] local.INFO: Processing buffer {"connection_id":176030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:58:35] local.INFO: Packet analysis {"connection_id":176030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:58:35] local.INFO: Extracted packet for processing {"connection_id":176030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 19:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:58: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-09-09 19:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:58:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 19:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 19:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":176030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:58:35] local.INFO: GPS data processed {"connection_id":176030,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:58:35] local.INFO: Acknowledgment sent {"connection_id":176030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:58:42] local.INFO: TCP Data received {"connection_id":175801,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:58:42] local.INFO: Processing buffer {"connection_id":175801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:58:42] local.INFO: IMEI packet received {"connection_id":175801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":175801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:58:43] local.INFO: TCP Data received {"connection_id":175801,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:58:43] local.INFO: Processing buffer {"connection_id":175801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:58:43] local.INFO: IMEI packet received {"connection_id":175801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":175801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:58:43] local.INFO: TCP Data received {"connection_id":175801,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:58:43] local.INFO: Processing buffer {"connection_id":175801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868d14e0012d34c14006aa42b8000001162c..."} 
[2026-09-09 19:58:43] local.INFO: Packet analysis {"connection_id":175801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:58:43] local.INFO: Extracted packet for processing {"connection_id":175801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868d"} 
[2026-09-09 19:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":0,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974652672001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788963788000,"timestamp_ms":1788963788000,"timestamp_seconds":1788963788,"priority":1,"record_length":96,"hex_timestamp":"000001a0868d14e0"} 
[2026-09-09 19:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:58: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-09-09 19:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 19:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974652672001,"66":25604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974652672001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:58:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:58:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974652672001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":175801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:58:43] local.INFO: GPS data processed {"connection_id":175801,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:58:43] local.INFO: Acknowledgment sent {"connection_id":175801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:58:47] local.INFO: TCP Data received {"connection_id":175801,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 19:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 19:58:47] local.INFO: Processing buffer {"connection_id":175801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 19:58:47] local.INFO: Packet analysis {"connection_id":175801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 19:58:47] local.INFO: Extracted packet for processing {"connection_id":175801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 19:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 19:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 19:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":175801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:58:47] local.INFO: GPS data processed {"connection_id":175801,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:58:47] local.INFO: Acknowledgment sent {"connection_id":175801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:59:06] local.INFO: TCP Data received {"connection_id":176030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:59:06] local.INFO: Processing buffer {"connection_id":176030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:59:06] local.INFO: Packet analysis {"connection_id":176030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:59:06] local.INFO: Extracted packet for processing {"connection_id":176030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 19:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 19:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 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-09-09 19:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19: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-09-09 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-09-09 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-09-09 19:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:59: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-09-09 19:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 19:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 19:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":176030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:59:06] local.INFO: GPS data processed {"connection_id":176030,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:59:06] local.INFO: Acknowledgment sent {"connection_id":176030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:59:19] local.INFO: TCP Data received {"connection_id":175801,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 19:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 19:59:19] local.INFO: Processing buffer {"connection_id":175801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 19:59:19] local.INFO: Packet analysis {"connection_id":175801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 19:59:19] local.INFO: Extracted packet for processing {"connection_id":175801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 19:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 19:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 19:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:59: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-09-09 19:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:59:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":175801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:59:19] local.INFO: GPS data processed {"connection_id":175801,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:59:19] local.INFO: Acknowledgment sent {"connection_id":175801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:59:29] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:59:29] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:59:29] local.INFO: IMEI packet received {"connection_id":177192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 19:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":177192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:59:34] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:59:34] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 19:59:34] local.INFO: IMEI packet received {"connection_id":177192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 19:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":177192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:59:35] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:59:35] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 19:59:35] local.INFO: Packet analysis {"connection_id":177192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:59:35] local.INFO: Extracted packet for processing {"connection_id":177192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 19: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-09-09 19:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 19:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 19:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19: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-09-09 19:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 19:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 19:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 19:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 19:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 19:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 19:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:59:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 19:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 19:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 19:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 19:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":177192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:59:35] local.INFO: GPS data processed {"connection_id":177192,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:59:35] local.INFO: Acknowledgment sent {"connection_id":177192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 19:59:38] local.INFO: TCP Data received {"connection_id":178600,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:59:38] local.INFO: Processing buffer {"connection_id":178600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:59:38] local.INFO: IMEI packet received {"connection_id":178600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 19:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":178600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 19:59:43] local.INFO: TCP Data received {"connection_id":178600,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:59:43] local.INFO: Processing buffer {"connection_id":178600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 19:59:43] local.INFO: IMEI packet received {"connection_id":178600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 19:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":178600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 19:59:45] local.INFO: TCP Data received {"connection_id":178600,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 19:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 19:59:45] local.INFO: Processing buffer {"connection_id":178600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 19:59:45] local.INFO: Packet analysis {"connection_id":178600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 19:59:45] local.INFO: Extracted packet for processing {"connection_id":178600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 19:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 19:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 19:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 19:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 19:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 19:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 19:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 19:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 19:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 19:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 19:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 19:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 19:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 19:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 19:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 19:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 19:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 19:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 19:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 19:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 19:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 19:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 19:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 19:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 19:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 19:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 19:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":178600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 19:59:45] local.INFO: GPS data processed {"connection_id":178600,"processed":1,"errors":0,"total":1} 
[2026-09-09 19:59:45] local.INFO: Acknowledgment sent {"connection_id":178600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:00:06] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 20:00:06] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0868e4d60012d1965c0071ff020003b011b2a..."} 
[2026-09-09 20:00:06] local.INFO: Packet analysis {"connection_id":177192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 20:00:06] local.INFO: Extracted packet for processing {"connection_id":177192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0868e"} 
[2026-09-09 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974673152001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788963868000,"timestamp_ms":1788963868000,"timestamp_seconds":1788963868,"priority":1,"record_length":96,"hex_timestamp":"000001a0868e4d60"} 
[2026-09-09 20:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20: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-09-09 20:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974673152001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974673152001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:00:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974673152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":177192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:00:06] local.INFO: GPS data processed {"connection_id":177192,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:00:06] local.INFO: Acknowledgment sent {"connection_id":177192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:00:16] local.INFO: TCP Data received {"connection_id":178600,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:00:16] local.INFO: Processing buffer {"connection_id":178600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:00:16] local.INFO: Packet analysis {"connection_id":178600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:00:16] local.INFO: Extracted packet for processing {"connection_id":178600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 20:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 20:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":178600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:00:16] local.INFO: GPS data processed {"connection_id":178600,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:00:16] local.INFO: Acknowledgment sent {"connection_id":178600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:00:34] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:00:34] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:00:34] local.INFO: IMEI packet received {"connection_id":175802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":175802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:00:38] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:00:38] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:00:38] local.INFO: IMEI packet received {"connection_id":175803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":175803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:00:39] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:00:39] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:00:39] local.INFO: IMEI packet received {"connection_id":175802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":175802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:00:40] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:00:40] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:00:40] local.INFO: Packet analysis {"connection_id":175802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:00:40] local.INFO: Extracted packet for processing {"connection_id":175802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:00:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00: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-09-09 20:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 20:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:00:40] 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-09-09 20:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:00: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-09-09 20:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:00:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":175802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:00:40] local.INFO: GPS data processed {"connection_id":175802,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:00:40] local.INFO: Acknowledgment sent {"connection_id":175802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:00:43] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:00:43] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:00:43] local.INFO: IMEI packet received {"connection_id":175803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":175803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:00:45] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:00:45] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:00:45] local.INFO: Packet analysis {"connection_id":175802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:00:45] local.INFO: Extracted packet for processing {"connection_id":175802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 20:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:00:45] 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-09-09 20:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:00:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":175802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:00:45] local.INFO: GPS data processed {"connection_id":175802,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:00:45] local.INFO: Acknowledgment sent {"connection_id":175802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:00:45] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:00:45] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:00:45] local.INFO: Packet analysis {"connection_id":175803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:00:45] local.INFO: Extracted packet for processing {"connection_id":175803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 20:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 20:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:00:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":175803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:00:45] local.INFO: GPS data processed {"connection_id":175803,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:00:45] local.INFO: Acknowledgment sent {"connection_id":175803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:01:16] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:01:16] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:01:16] local.INFO: Packet analysis {"connection_id":175803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:01:16] local.INFO: Extracted packet for processing {"connection_id":175803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 20:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 20:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":175803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:01:16] local.INFO: GPS data processed {"connection_id":175803,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:01:16] local.INFO: Acknowledgment sent {"connection_id":175803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:01:29] local.INFO: TCP Data received {"connection_id":178601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:01:29] local.INFO: Processing buffer {"connection_id":178601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:01:29] local.INFO: IMEI packet received {"connection_id":178601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":178601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:01:34] local.INFO: TCP Data received {"connection_id":178601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:01:34] local.INFO: Processing buffer {"connection_id":178601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:01:34] local.INFO: IMEI packet received {"connection_id":178601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":178601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:01:35] local.INFO: TCP Data received {"connection_id":178601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:01:35] local.INFO: Processing buffer {"connection_id":178601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:01:35] local.INFO: Packet analysis {"connection_id":178601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:01:35] local.INFO: Extracted packet for processing {"connection_id":178601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 20:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:01:35] 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-09-09 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:01:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":178601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:01:35] local.INFO: GPS data processed {"connection_id":178601,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:01:35] local.INFO: Acknowledgment sent {"connection_id":178601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:01:43] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:01:43] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:01:43] local.INFO: IMEI packet received {"connection_id":176031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":176031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:01:48] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:01:48] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:01:48] local.INFO: IMEI packet received {"connection_id":176031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":176031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:01:49] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:01:49] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:01:49] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:01:49] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 20:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 20:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:01:49] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:01:49] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:01:53] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:01:53] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:01:53] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:01:53] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 20:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 20:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:01:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:01:53] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:01:53] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:02:07] local.INFO: TCP Data received {"connection_id":178601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:02:07] local.INFO: Processing buffer {"connection_id":178601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:02:07] local.INFO: Packet analysis {"connection_id":178601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:02:07] local.INFO: Extracted packet for processing {"connection_id":178601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 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-09-09 20:02: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-09-09 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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:02: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-09-09 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-09-09 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-09-09 20:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:02:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":178601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:02:07] local.INFO: GPS data processed {"connection_id":178601,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:02:07] local.INFO: Acknowledgment sent {"connection_id":178601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:02:29] local.INFO: TCP Data received {"connection_id":175804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:02:29] local.INFO: Processing buffer {"connection_id":175804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:02:29] local.INFO: IMEI packet received {"connection_id":175804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":175804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:02:34] local.INFO: TCP Data received {"connection_id":175804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:02:34] local.INFO: Processing buffer {"connection_id":175804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:02:34] local.INFO: IMEI packet received {"connection_id":175804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":175804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:02:35] local.INFO: TCP Data received {"connection_id":175804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:02:35] local.INFO: Processing buffer {"connection_id":175804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:02:35] local.INFO: Packet analysis {"connection_id":175804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:02:35] local.INFO: Extracted packet for processing {"connection_id":175804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 20:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:02:35] 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-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:02:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":175804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:02:35] local.INFO: GPS data processed {"connection_id":175804,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:02:35] local.INFO: Acknowledgment sent {"connection_id":175804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:02:38] local.INFO: TCP Data received {"connection_id":177193,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:02:38] local.INFO: Processing buffer {"connection_id":177193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:02:38] local.INFO: IMEI packet received {"connection_id":177193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":177193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:02:43] local.INFO: TCP Data received {"connection_id":177193,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:02:43] local.INFO: Processing buffer {"connection_id":177193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:02:43] local.INFO: IMEI packet received {"connection_id":177193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":177193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:02:44] local.INFO: TCP Data received {"connection_id":177193,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:02:44] local.INFO: Processing buffer {"connection_id":177193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:02:44] local.INFO: Packet analysis {"connection_id":177193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:02:44] local.INFO: Extracted packet for processing {"connection_id":177193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 20:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 20:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:02: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-09-09 20:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:02:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":177193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:02:44] local.INFO: GPS data processed {"connection_id":177193,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:02:44] local.INFO: Acknowledgment sent {"connection_id":177193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:03:07] local.INFO: TCP Data received {"connection_id":175804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:03:07] local.INFO: Processing buffer {"connection_id":175804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:03:07] local.INFO: Packet analysis {"connection_id":175804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:03:07] local.INFO: Extracted packet for processing {"connection_id":175804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03: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-09-09 20:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 20:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:03: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-09-09 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:03: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-09-09 20: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-09-09 20:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:03:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":175804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:03:07] local.INFO: GPS data processed {"connection_id":175804,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:03:07] local.INFO: Acknowledgment sent {"connection_id":175804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:03:15] local.INFO: TCP Data received {"connection_id":177193,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:03:15] local.INFO: Processing buffer {"connection_id":177193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:03:15] local.INFO: Packet analysis {"connection_id":177193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:03:15] local.INFO: Extracted packet for processing {"connection_id":177193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 20:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 20:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":177193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:03:15] local.INFO: GPS data processed {"connection_id":177193,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:03:15] local.INFO: Acknowledgment sent {"connection_id":177193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:03:29] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:03:29] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:03:29] local.INFO: IMEI packet received {"connection_id":176032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":176032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:03:34] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:03:34] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:03:34] local.INFO: IMEI packet received {"connection_id":176032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":176032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:03:35] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:03:35] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:03:35] local.INFO: Packet analysis {"connection_id":176032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:03:35] local.INFO: Extracted packet for processing {"connection_id":176032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 20:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:03:35] 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-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:03:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":176032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:03:35] local.INFO: GPS data processed {"connection_id":176032,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:03:35] local.INFO: Acknowledgment sent {"connection_id":176032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:03:38] local.INFO: TCP Data received {"connection_id":178602,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:03:38] local.INFO: Processing buffer {"connection_id":178602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:03:38] local.INFO: IMEI packet received {"connection_id":178602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":178602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:03:43] local.INFO: TCP Data received {"connection_id":178602,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:03:43] local.INFO: Processing buffer {"connection_id":178602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:03:43] local.INFO: IMEI packet received {"connection_id":178602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":178602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:03:44] local.INFO: TCP Data received {"connection_id":178602,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:03:44] local.INFO: Processing buffer {"connection_id":178602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08691aca8012d34c14006aa42b8000301162d..."} 
[2026-09-09 20:03:44] local.INFO: Packet analysis {"connection_id":178602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:03:44] local.INFO: Extracted packet for processing {"connection_id":178602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08691"} 
[2026-09-09 20:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974729728001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964089000,"timestamp_ms":1788964089000,"timestamp_seconds":1788964089,"priority":1,"record_length":96,"hex_timestamp":"000001a08691aca8"} 
[2026-09-09 20:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-09 20:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:03: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-09-09 20:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974729728001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974729728001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974729728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":178602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:03:44] local.INFO: GPS data processed {"connection_id":178602,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:03:44] local.INFO: Acknowledgment sent {"connection_id":178602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:04:06] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:04:06] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:04:06] local.INFO: Packet analysis {"connection_id":176032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:04:06] local.INFO: Extracted packet for processing {"connection_id":176032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 20:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:04: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-09-09 20:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":176032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:04:06] local.INFO: GPS data processed {"connection_id":176032,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:04:06] local.INFO: Acknowledgment sent {"connection_id":176032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:04:16] local.INFO: TCP Data received {"connection_id":178602,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:04:16] local.INFO: Processing buffer {"connection_id":178602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:04:16] local.INFO: Packet analysis {"connection_id":178602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:04:16] local.INFO: Extracted packet for processing {"connection_id":178602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":178602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:04:16] local.INFO: GPS data processed {"connection_id":178602,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:04:16] local.INFO: Acknowledgment sent {"connection_id":178602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:04:29] local.INFO: TCP Data received {"connection_id":176033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:04:29] local.INFO: Processing buffer {"connection_id":176033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:04:29] local.INFO: IMEI packet received {"connection_id":176033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":176033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:04:34] local.INFO: TCP Data received {"connection_id":176033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:04:34] local.INFO: Processing buffer {"connection_id":176033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:04:34] local.INFO: IMEI packet received {"connection_id":176033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":176033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:04:35] local.INFO: TCP Data received {"connection_id":176033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:04:35] local.INFO: Processing buffer {"connection_id":176033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:04:35] local.INFO: Packet analysis {"connection_id":176033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:04:35] local.INFO: Extracted packet for processing {"connection_id":176033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 20:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:04:35] 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-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:04:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":176033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:04:35] local.INFO: GPS data processed {"connection_id":176033,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:04:35] local.INFO: Acknowledgment sent {"connection_id":176033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:04:37] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:04:37] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:04:37] local.INFO: IMEI packet received {"connection_id":176034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":176034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:04:43] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:04:43] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:04:43] local.INFO: IMEI packet received {"connection_id":176034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":176034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:04:44] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:04:44] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:04:44] local.INFO: Packet analysis {"connection_id":176034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:04:44] local.INFO: Extracted packet for processing {"connection_id":176034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":176034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:04:44] local.INFO: GPS data processed {"connection_id":176034,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:04:44] local.INFO: Acknowledgment sent {"connection_id":176034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:05:06] local.INFO: TCP Data received {"connection_id":176033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:05:06] local.INFO: Processing buffer {"connection_id":176033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08692e528012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:05:06] local.INFO: Packet analysis {"connection_id":176033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:05:06] local.INFO: Extracted packet for processing {"connection_id":176033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08692"} 
[2026-09-09 20:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974750208001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788964169000,"timestamp_ms":1788964169000,"timestamp_seconds":1788964169,"priority":1,"record_length":96,"hex_timestamp":"000001a08692e528"} 
[2026-09-09 20:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:05: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-09-09 20:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974750208001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974750208001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:05:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974750208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":176033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:05:07] local.INFO: GPS data processed {"connection_id":176033,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:05:07] local.INFO: Acknowledgment sent {"connection_id":176033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:05:16] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:05:16] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:05:16] local.INFO: Packet analysis {"connection_id":176034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:05:16] local.INFO: Extracted packet for processing {"connection_id":176034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:05:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":176034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:05:16] local.INFO: GPS data processed {"connection_id":176034,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:05:16] local.INFO: Acknowledgment sent {"connection_id":176034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:05:34] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:05:34] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:05:34] local.INFO: IMEI packet received {"connection_id":176035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":176035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:05:39] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:05:39] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:05:39] local.INFO: IMEI packet received {"connection_id":176035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":176035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:05:40] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:05:40] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:05:40] local.INFO: Packet analysis {"connection_id":176035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:05:40] local.INFO: Extracted packet for processing {"connection_id":176035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974827264001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788964470000,"timestamp_ms":1788964470000,"timestamp_seconds":1788964470,"priority":1,"record_length":96,"hex_timestamp":"000001a086977cf0"} 
[2026-09-09 20:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:05: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-09-09 20: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-09-09 20:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:05: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-09-09 20:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974827264001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974827264001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:05:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974827264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":176035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:05:40] local.INFO: GPS data processed {"connection_id":176035,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:05:40] local.INFO: Acknowledgment sent {"connection_id":176035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:05:43] local.INFO: TCP Data received {"connection_id":175805,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:05:43] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:05:43] local.INFO: IMEI packet received {"connection_id":175805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:05:45] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:05:45] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:05:45] local.INFO: Packet analysis {"connection_id":176035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:05:45] local.INFO: Extracted packet for processing {"connection_id":176035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974827264001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788964470000,"timestamp_ms":1788964470000,"timestamp_seconds":1788964470,"priority":1,"record_length":96,"hex_timestamp":"000001a086977cf0"} 
[2026-09-09 20:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974827264001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974827264001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:05:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974827264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":176035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:05:45] local.INFO: GPS data processed {"connection_id":176035,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:05:45] local.INFO: Acknowledgment sent {"connection_id":176035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:05:48] local.INFO: TCP Data received {"connection_id":175805,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:05:48] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:05:48] local.INFO: IMEI packet received {"connection_id":175805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":175805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:05:50] local.INFO: TCP Data received {"connection_id":175805,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:05:50] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:05:50] local.INFO: Packet analysis {"connection_id":175805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:05:50] local.INFO: Extracted packet for processing {"connection_id":175805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:05:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:05: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-09-09 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:05: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-09-09 20:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:05:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:05:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":175805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:05:50] local.INFO: GPS data processed {"connection_id":175805,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:05:50] local.INFO: Acknowledgment sent {"connection_id":175805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:05:54] local.INFO: TCP Data received {"connection_id":175805,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:05:54] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:05:54] local.INFO: Packet analysis {"connection_id":175805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:05:54] local.INFO: Extracted packet for processing {"connection_id":175805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":175805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:05:54] local.INFO: GPS data processed {"connection_id":175805,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:05:54] local.INFO: Acknowledgment sent {"connection_id":175805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:06:29] local.INFO: TCP Data received {"connection_id":177194,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:06:29] local.INFO: Processing buffer {"connection_id":177194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:06:29] local.INFO: IMEI packet received {"connection_id":177194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":177194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:06:34] local.INFO: TCP Data received {"connection_id":177194,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:06:34] local.INFO: Processing buffer {"connection_id":177194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:06:34] local.INFO: IMEI packet received {"connection_id":177194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":177194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:06:35] local.INFO: TCP Data received {"connection_id":177194,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:06:35] local.INFO: Processing buffer {"connection_id":177194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:06:35] local.INFO: Packet analysis {"connection_id":177194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:06:35] local.INFO: Extracted packet for processing {"connection_id":177194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974827264001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964470000,"timestamp_ms":1788964470000,"timestamp_seconds":1788964470,"priority":1,"record_length":96,"hex_timestamp":"000001a086977cf0"} 
[2026-09-09 20:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974827264001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974827264001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:06:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974827264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":177194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:06:35] local.INFO: GPS data processed {"connection_id":177194,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:06:35] local.INFO: Acknowledgment sent {"connection_id":177194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:06:38] local.INFO: TCP Data received {"connection_id":178603,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:06:38] local.INFO: Processing buffer {"connection_id":178603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:06:38] local.INFO: IMEI packet received {"connection_id":178603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":178603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:06:43] local.INFO: TCP Data received {"connection_id":178603,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:06:43] local.INFO: Processing buffer {"connection_id":178603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:06:43] local.INFO: IMEI packet received {"connection_id":178603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":178603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:06:44] local.INFO: TCP Data received {"connection_id":178603,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:06:44] local.INFO: Processing buffer {"connection_id":178603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:06:44] local.INFO: Packet analysis {"connection_id":178603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:06:44] local.INFO: Extracted packet for processing {"connection_id":178603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":178603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:06:44] local.INFO: GPS data processed {"connection_id":178603,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:06:44] local.INFO: Acknowledgment sent {"connection_id":178603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:06:45] local.INFO: TCP Data received {"connection_id":175806,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:06:45] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:06:45] local.INFO: IMEI packet received {"connection_id":175806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":175806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:07:06] local.INFO: TCP Data received {"connection_id":177194,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:07:06] local.INFO: Processing buffer {"connection_id":177194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:07:06] local.INFO: Packet analysis {"connection_id":177194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:07:06] local.INFO: Extracted packet for processing {"connection_id":177194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974827264001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788964470000,"timestamp_ms":1788964470000,"timestamp_seconds":1788964470,"priority":1,"record_length":96,"hex_timestamp":"000001a086977cf0"} 
[2026-09-09 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-09-09 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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-09-09 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-09-09 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-09-09 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-09-09 20:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:07: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-09-09 20:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974827264001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974827264001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974827264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":177194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:07:06] local.INFO: GPS data processed {"connection_id":177194,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:07:06] local.INFO: Acknowledgment sent {"connection_id":177194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:07:15] local.INFO: TCP Data received {"connection_id":178603,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:07:15] local.INFO: Processing buffer {"connection_id":178603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:07:15] local.INFO: Packet analysis {"connection_id":178603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:07:15] local.INFO: Extracted packet for processing {"connection_id":178603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":178603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:07:15] local.INFO: GPS data processed {"connection_id":178603,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:07:15] local.INFO: Acknowledgment sent {"connection_id":178603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:07:29] local.INFO: TCP Data received {"connection_id":177195,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:07:29] local.INFO: Processing buffer {"connection_id":177195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:07:29] local.INFO: IMEI packet received {"connection_id":177195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":177195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:07:34] local.INFO: TCP Data received {"connection_id":177195,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:07:34] local.INFO: Processing buffer {"connection_id":177195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:07:34] local.INFO: IMEI packet received {"connection_id":177195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":177195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:07:35] local.INFO: TCP Data received {"connection_id":177195,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:07:35] local.INFO: Processing buffer {"connection_id":177195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:07:35] local.INFO: Packet analysis {"connection_id":177195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:07:35] local.INFO: Extracted packet for processing {"connection_id":177195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974827264001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964470000,"timestamp_ms":1788964470000,"timestamp_seconds":1788964470,"priority":1,"record_length":96,"hex_timestamp":"000001a086977cf0"} 
[2026-09-09 20:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974827264001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974827264001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:07:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974827264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":177195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:07:35] local.INFO: GPS data processed {"connection_id":177195,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:07:35] local.INFO: Acknowledgment sent {"connection_id":177195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:07:38] local.INFO: TCP Data received {"connection_id":177196,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:07:38] local.INFO: Processing buffer {"connection_id":177196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:07:38] local.INFO: IMEI packet received {"connection_id":177196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":177196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:07:43] local.INFO: TCP Data received {"connection_id":177196,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:07:43] local.INFO: Processing buffer {"connection_id":177196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:07:43] local.INFO: IMEI packet received {"connection_id":177196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":177196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:07:44] local.INFO: TCP Data received {"connection_id":177196,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:07:44] local.INFO: Processing buffer {"connection_id":177196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:07:44] local.INFO: Packet analysis {"connection_id":177196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:07:44] local.INFO: Extracted packet for processing {"connection_id":177196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":177196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:07:44] local.INFO: GPS data processed {"connection_id":177196,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:07:44] local.INFO: Acknowledgment sent {"connection_id":177196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:08:06] local.INFO: TCP Data received {"connection_id":177195,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:08:06] local.INFO: Processing buffer {"connection_id":177195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:08:06] local.INFO: Packet analysis {"connection_id":177195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:08:06] local.INFO: Extracted packet for processing {"connection_id":177195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974827264001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08: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-09-09 20:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788964470000,"timestamp_ms":1788964470000,"timestamp_seconds":1788964470,"priority":1,"record_length":96,"hex_timestamp":"000001a086977cf0"} 
[2026-09-09 20:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:08: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-09-09 20:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974827264001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974827264001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:08:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974827264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":177195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:08:06] local.INFO: GPS data processed {"connection_id":177195,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:08:06] local.INFO: Acknowledgment sent {"connection_id":177195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:08:10] local.INFO: TCP Data received {"connection_id":177197,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:08:10] local.INFO: Processing buffer {"connection_id":177197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:08:10] local.INFO: IMEI packet received {"connection_id":177197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":177197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:08:16] local.INFO: TCP Data received {"connection_id":177196,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:08:16] local.INFO: Processing buffer {"connection_id":177196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:08:16] local.INFO: Packet analysis {"connection_id":177196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:08:16] local.INFO: Extracted packet for processing {"connection_id":177196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":177196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:08:16] local.INFO: GPS data processed {"connection_id":177196,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:08:16] local.INFO: Acknowledgment sent {"connection_id":177196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:08:29] local.INFO: TCP Data received {"connection_id":178604,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:08:29] local.INFO: Processing buffer {"connection_id":178604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:08:29] local.INFO: IMEI packet received {"connection_id":178604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":178604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:08:34] local.INFO: TCP Data received {"connection_id":178604,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:08:34] local.INFO: Processing buffer {"connection_id":178604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:08:34] local.INFO: IMEI packet received {"connection_id":178604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":178604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:08:35] local.INFO: TCP Data received {"connection_id":178604,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:08:35] local.INFO: Processing buffer {"connection_id":178604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:08:35] local.INFO: Packet analysis {"connection_id":178604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:08:35] local.INFO: Extracted packet for processing {"connection_id":178604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974827264001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964470000,"timestamp_ms":1788964470000,"timestamp_seconds":1788964470,"priority":1,"record_length":96,"hex_timestamp":"000001a086977cf0"} 
[2026-09-09 20:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:08: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-09-09 20:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974827264001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974827264001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:08:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974827264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":178604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:08:35] local.INFO: GPS data processed {"connection_id":178604,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:08:35] local.INFO: Acknowledgment sent {"connection_id":178604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:08:38] local.INFO: TCP Data received {"connection_id":176036,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:08:38] local.INFO: Processing buffer {"connection_id":176036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:08:38] local.INFO: IMEI packet received {"connection_id":176036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":176036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:08:43] local.INFO: TCP Data received {"connection_id":176036,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:08:43] local.INFO: Processing buffer {"connection_id":176036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:08:43] local.INFO: IMEI packet received {"connection_id":176036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":176036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:08:46] local.INFO: TCP Data received {"connection_id":176036,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:08:46] local.INFO: Processing buffer {"connection_id":176036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086964470012d34c14006aa42b8000401162c..."} 
[2026-09-09 20:08:46] local.INFO: Packet analysis {"connection_id":176036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:08:46] local.INFO: Extracted packet for processing {"connection_id":176036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08696"} 
[2026-09-09 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974806784001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788964390000,"timestamp_ms":1788964390000,"timestamp_seconds":1788964390,"priority":1,"record_length":96,"hex_timestamp":"000001a086964470"} 
[2026-09-09 20:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974806784001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974806784001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974806784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":176036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:08:46] local.INFO: GPS data processed {"connection_id":176036,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:08:46] local.INFO: Acknowledgment sent {"connection_id":176036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:09:06] local.INFO: TCP Data received {"connection_id":178604,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:09:06] local.INFO: Processing buffer {"connection_id":178604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:09:06] local.INFO: Packet analysis {"connection_id":178604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:09:06] local.INFO: Extracted packet for processing {"connection_id":178604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974827264001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788964470000,"timestamp_ms":1788964470000,"timestamp_seconds":1788964470,"priority":1,"record_length":96,"hex_timestamp":"000001a086977cf0"} 
[2026-09-09 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-09-09 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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-09-09 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-09-09 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-09-09 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-09-09 20:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:09: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-09-09 20:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974827264001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974827264001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:09:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974827264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":178604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:09:07] local.INFO: GPS data processed {"connection_id":178604,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:09:07] local.INFO: Acknowledgment sent {"connection_id":178604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:09:17] local.INFO: TCP Data received {"connection_id":176036,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:09:17] local.INFO: Processing buffer {"connection_id":176036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:09:17] local.INFO: Packet analysis {"connection_id":176036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:09:17] local.INFO: Extracted packet for processing {"connection_id":176036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":176036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:09:17] local.INFO: GPS data processed {"connection_id":176036,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:09:17] local.INFO: Acknowledgment sent {"connection_id":176036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:09:34] local.INFO: TCP Data received {"connection_id":178605,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:09:34] local.INFO: Processing buffer {"connection_id":178605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:09:34] local.INFO: IMEI packet received {"connection_id":178605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":178605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:09:38] local.INFO: TCP Data received {"connection_id":178606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:09:38] local.INFO: Processing buffer {"connection_id":178606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:09:38] local.INFO: IMEI packet received {"connection_id":178606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":178606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:09:39] local.INFO: TCP Data received {"connection_id":178605,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:09:39] local.INFO: Processing buffer {"connection_id":178605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:09:39] local.INFO: IMEI packet received {"connection_id":178605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":178605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:09:40] local.INFO: TCP Data received {"connection_id":178605,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:09:40] local.INFO: Processing buffer {"connection_id":178605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086977cf0012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:09:40] local.INFO: Packet analysis {"connection_id":178605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:09:40] local.INFO: Extracted packet for processing {"connection_id":178605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08697"} 
[2026-09-09 20:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974827264001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09: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-09-09 20:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788964470000,"timestamp_ms":1788964470000,"timestamp_seconds":1788964470,"priority":1,"record_length":96,"hex_timestamp":"000001a086977cf0"} 
[2026-09-09 20:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:09: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-09-09 20: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-09-09 20:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:09: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-09-09 20:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974827264001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974827264001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:09:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974827264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":178605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:09:40] local.INFO: GPS data processed {"connection_id":178605,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:09:40] local.INFO: Acknowledgment sent {"connection_id":178605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:09:43] local.INFO: TCP Data received {"connection_id":178606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:09:43] local.INFO: Processing buffer {"connection_id":178606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:09:43] local.INFO: IMEI packet received {"connection_id":178606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":178606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:09:44] local.INFO: TCP Data received {"connection_id":178606,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:09:44] local.INFO: Processing buffer {"connection_id":178606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:09:44] local.INFO: Packet analysis {"connection_id":178606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:09:44] local.INFO: Extracted packet for processing {"connection_id":178606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:09: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-09-09 20:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:09:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":178606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:09:44] local.INFO: GPS data processed {"connection_id":178606,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:09:44] local.INFO: Acknowledgment sent {"connection_id":178606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:10:12] local.INFO: TCP Data received {"connection_id":178605,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178605,"packet_length":93,"packet_hex":"00000000000000518e01000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:10:12] local.INFO: Processing buffer {"connection_id":178605,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:10:12] local.INFO: Packet analysis {"connection_id":178605,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0869c"} 
[2026-09-09 20:10:12] local.INFO: Extracted packet for processing {"connection_id":178605,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0869c"} 
[2026-09-09 20:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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":93,"current_offset":40} 
[2026-09-09 20:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:10:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:10:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-09 20:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":178605,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-09 20:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":178605,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-09 20:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":178605,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-09 20:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-09 20:10:12] local.WARNING: DEBUG: No valid data to process  
[2026-09-09 20:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":178605,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-09 20:10:12] local.ERROR: GPS data processing failed {"connection_id":178605,"error":"No valid data to process"} 
[2026-09-09 20:10:12] local.INFO: Acknowledgment sent {"connection_id":178605,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-09 20:10:15] local.INFO: TCP Data received {"connection_id":178606,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:10:15] local.INFO: Processing buffer {"connection_id":178606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:10:15] local.INFO: Packet analysis {"connection_id":178606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:10:15] local.INFO: Extracted packet for processing {"connection_id":178606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":178606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:10:15] local.INFO: GPS data processed {"connection_id":178606,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:10:15] local.INFO: Acknowledgment sent {"connection_id":178606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:10:29] local.INFO: TCP Data received {"connection_id":177198,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:10:29] local.INFO: Processing buffer {"connection_id":177198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:10:29] local.INFO: IMEI packet received {"connection_id":177198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":177198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:10:34] local.INFO: TCP Data received {"connection_id":177198,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:10:34] local.INFO: Processing buffer {"connection_id":177198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:10:34] local.INFO: IMEI packet received {"connection_id":177198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":177198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:10:35] local.INFO: TCP Data received {"connection_id":177198,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:10:35] local.INFO: Processing buffer {"connection_id":177198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:10:35] local.INFO: Packet analysis {"connection_id":177198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:10:35] local.INFO: Extracted packet for processing {"connection_id":177198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 20:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:10:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":177198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:10:35] local.INFO: GPS data processed {"connection_id":177198,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:10:35] local.INFO: Acknowledgment sent {"connection_id":177198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:10:38] local.INFO: TCP Data received {"connection_id":175807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:10:38] local.INFO: Processing buffer {"connection_id":175807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:10:38] local.INFO: IMEI packet received {"connection_id":175807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":175807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:10:43] local.INFO: TCP Data received {"connection_id":175807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:10:43] local.INFO: Processing buffer {"connection_id":175807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:10:43] local.INFO: IMEI packet received {"connection_id":175807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":175807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:10:44] local.INFO: TCP Data received {"connection_id":175807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:10:44] local.INFO: Processing buffer {"connection_id":175807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:10:44] local.INFO: Packet analysis {"connection_id":175807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:10:44] local.INFO: Extracted packet for processing {"connection_id":175807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":175807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:10:44] local.INFO: GPS data processed {"connection_id":175807,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:10:44] local.INFO: Acknowledgment sent {"connection_id":175807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:11:06] local.INFO: TCP Data received {"connection_id":177198,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:11:06] local.INFO: Processing buffer {"connection_id":177198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:11:06] local.INFO: Packet analysis {"connection_id":177198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:11:06] local.INFO: Extracted packet for processing {"connection_id":177198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 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-09-09 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-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:11: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-09-09 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-09-09 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-09-09 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:11:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":177198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:11:06] local.INFO: GPS data processed {"connection_id":177198,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:11:06] local.INFO: Acknowledgment sent {"connection_id":177198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:11:17] local.INFO: TCP Data received {"connection_id":175807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:11:17] local.INFO: Processing buffer {"connection_id":175807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:11:17] local.INFO: Packet analysis {"connection_id":175807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:11:17] local.INFO: Extracted packet for processing {"connection_id":175807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":175807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:11:17] local.INFO: GPS data processed {"connection_id":175807,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:11:17] local.INFO: Acknowledgment sent {"connection_id":175807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:11:34] local.INFO: TCP Data received {"connection_id":175809,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:11:34] local.INFO: Processing buffer {"connection_id":175809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:11:34] local.INFO: IMEI packet received {"connection_id":175809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":175809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:11:38] local.INFO: TCP Data received {"connection_id":178608,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:11:38] local.INFO: Processing buffer {"connection_id":178608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:11:38] local.INFO: IMEI packet received {"connection_id":178608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":178608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:11:39] local.INFO: TCP Data received {"connection_id":175809,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:11:39] local.INFO: Processing buffer {"connection_id":175809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:11:39] local.INFO: IMEI packet received {"connection_id":175809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":175809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:11:40] local.INFO: TCP Data received {"connection_id":175809,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:11:40] local.INFO: Processing buffer {"connection_id":175809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:11:40] local.INFO: Packet analysis {"connection_id":175809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:11:40] local.INFO: Extracted packet for processing {"connection_id":175809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11: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-09-09 20:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 20:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:11: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-09-09 20: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-09-09 20:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:11:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":175809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:11:40] local.INFO: GPS data processed {"connection_id":175809,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:11:40] local.INFO: Acknowledgment sent {"connection_id":175809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:11:43] local.INFO: TCP Data received {"connection_id":178608,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:11:43] local.INFO: Processing buffer {"connection_id":178608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:11:43] local.INFO: IMEI packet received {"connection_id":178608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":178608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:11:45] local.INFO: TCP Data received {"connection_id":175809,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:11:45] local.INFO: Processing buffer {"connection_id":175809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:11:45] local.INFO: Packet analysis {"connection_id":175809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:11:45] local.INFO: Extracted packet for processing {"connection_id":175809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 20:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:11:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":175809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:11:45] local.INFO: GPS data processed {"connection_id":175809,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:11:45] local.INFO: Acknowledgment sent {"connection_id":175809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:11:45] local.INFO: TCP Data received {"connection_id":178608,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:11:45] local.INFO: Processing buffer {"connection_id":178608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:11:45] local.INFO: Packet analysis {"connection_id":178608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:11:45] local.INFO: Extracted packet for processing {"connection_id":178608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:11:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":178608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:11:45] local.INFO: GPS data processed {"connection_id":178608,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:11:45] local.INFO: Acknowledgment sent {"connection_id":178608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:12:17] local.INFO: TCP Data received {"connection_id":178608,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:12:17] local.INFO: Processing buffer {"connection_id":178608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:12:17] local.INFO: Packet analysis {"connection_id":178608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:12:17] local.INFO: Extracted packet for processing {"connection_id":178608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":178608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:12:17] local.INFO: GPS data processed {"connection_id":178608,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:12:17] local.INFO: Acknowledgment sent {"connection_id":178608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:12:29] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:12:29] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:12:29] local.INFO: IMEI packet received {"connection_id":176038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":176038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:12:34] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:12:34] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:12:34] local.INFO: IMEI packet received {"connection_id":176038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":176038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:12:35] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:12:35] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:12:35] local.INFO: Packet analysis {"connection_id":176038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:12:35] local.INFO: Extracted packet for processing {"connection_id":176038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 20:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:12:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":176038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:12:35] local.INFO: GPS data processed {"connection_id":176038,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:12:35] local.INFO: Acknowledgment sent {"connection_id":176038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:12:38] local.INFO: TCP Data received {"connection_id":177199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:12:38] local.INFO: Processing buffer {"connection_id":177199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:12:38] local.INFO: IMEI packet received {"connection_id":177199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":177199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:12:43] local.INFO: TCP Data received {"connection_id":177199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:12:43] local.INFO: Processing buffer {"connection_id":177199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:12:43] local.INFO: IMEI packet received {"connection_id":177199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":177199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:12:44] local.INFO: TCP Data received {"connection_id":177199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:12:44] local.INFO: Processing buffer {"connection_id":177199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:12:44] local.INFO: Packet analysis {"connection_id":177199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:12:44] local.INFO: Extracted packet for processing {"connection_id":177199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":177199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:12:44] local.INFO: GPS data processed {"connection_id":177199,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:12:44] local.INFO: Acknowledgment sent {"connection_id":177199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:13:06] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:13:06] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:13:06] local.INFO: Packet analysis {"connection_id":176038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:13:06] local.INFO: Extracted packet for processing {"connection_id":176038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 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-09-09 20:13: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-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:13: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-09-09 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-09-09 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-09-09 20:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":176038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:13:06] local.INFO: GPS data processed {"connection_id":176038,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:13:06] local.INFO: Acknowledgment sent {"connection_id":176038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:13:15] local.INFO: TCP Data received {"connection_id":177199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:13:15] local.INFO: Processing buffer {"connection_id":177199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:13:15] local.INFO: Packet analysis {"connection_id":177199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:13:15] local.INFO: Extracted packet for processing {"connection_id":177199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":177199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:13:15] local.INFO: GPS data processed {"connection_id":177199,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:13:15] local.INFO: Acknowledgment sent {"connection_id":177199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:13:29] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:13:29] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:13:29] local.INFO: IMEI packet received {"connection_id":176040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":176040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:13:34] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:13:34] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:13:34] local.INFO: IMEI packet received {"connection_id":176040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":176040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:13:35] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:13:35] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:13:35] local.INFO: Packet analysis {"connection_id":176040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:13:35] local.INFO: Extracted packet for processing {"connection_id":176040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 20:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:13:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":176040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:13:35] local.INFO: GPS data processed {"connection_id":176040,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:13:35] local.INFO: Acknowledgment sent {"connection_id":176040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:13:37] local.INFO: TCP Data received {"connection_id":175810,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:13:37] local.INFO: Processing buffer {"connection_id":175810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:13:37] local.INFO: IMEI packet received {"connection_id":175810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":175810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:13:41] local.INFO: TCP Data received {"connection_id":176041,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:13:41] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:13:41] local.INFO: IMEI packet received {"connection_id":176041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":176041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:13:43] local.INFO: TCP Data received {"connection_id":175810,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:13:43] local.INFO: Processing buffer {"connection_id":175810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:13:43] local.INFO: IMEI packet received {"connection_id":175810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":175810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:13:44] local.INFO: TCP Data received {"connection_id":175810,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:13:44] local.INFO: Processing buffer {"connection_id":175810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869adc38012d34c14006aa42b8000601162e..."} 
[2026-09-09 20:13:44] local.INFO: Packet analysis {"connection_id":175810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:13:44] local.INFO: Extracted packet for processing {"connection_id":175810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869a"} 
[2026-09-09 20:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974883840001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964691000,"timestamp_ms":1788964691000,"timestamp_seconds":1788964691,"priority":1,"record_length":96,"hex_timestamp":"000001a0869adc38"} 
[2026-09-09 20:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974883840001,"66":25321,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974883840001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974883840001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":175810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:13:44] local.INFO: GPS data processed {"connection_id":175810,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:13:44] local.INFO: Acknowledgment sent {"connection_id":175810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:14:06] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:14:06] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:14:06] local.INFO: Packet analysis {"connection_id":176040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:14:06] local.INFO: Extracted packet for processing {"connection_id":176040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 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-09-09 20:14: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-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 20:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":176040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:14:06] local.INFO: GPS data processed {"connection_id":176040,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:14:06] local.INFO: Acknowledgment sent {"connection_id":176040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:14:15] local.INFO: TCP Data received {"connection_id":175810,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:14:15] local.INFO: Processing buffer {"connection_id":175810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:14:15] local.INFO: Packet analysis {"connection_id":175810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:14:15] local.INFO: Extracted packet for processing {"connection_id":175810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":175810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:14:15] local.INFO: GPS data processed {"connection_id":175810,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:14:15] local.INFO: Acknowledgment sent {"connection_id":175810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:14:29] local.INFO: TCP Data received {"connection_id":177200,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:14:29] local.INFO: Processing buffer {"connection_id":177200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:14:29] local.INFO: IMEI packet received {"connection_id":177200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":177200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:14:34] local.INFO: TCP Data received {"connection_id":177200,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:14:34] local.INFO: Processing buffer {"connection_id":177200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:14:34] local.INFO: IMEI packet received {"connection_id":177200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":177200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:14:35] local.INFO: TCP Data received {"connection_id":177200,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:14:35] local.INFO: Processing buffer {"connection_id":177200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:14:35] local.INFO: Packet analysis {"connection_id":177200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:14:35] local.INFO: Extracted packet for processing {"connection_id":177200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 20:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:14:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":177200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:14:35] local.INFO: GPS data processed {"connection_id":177200,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:14:35] local.INFO: Acknowledgment sent {"connection_id":177200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:14:38] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:14:38] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:14:38] local.INFO: IMEI packet received {"connection_id":175811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":175811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:14:43] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:14:43] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:14:43] local.INFO: IMEI packet received {"connection_id":175811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":175811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:14:44] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:14:44] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:14:44] local.INFO: Packet analysis {"connection_id":175811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:14:44] local.INFO: Extracted packet for processing {"connection_id":175811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":175811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:14:44] local.INFO: GPS data processed {"connection_id":175811,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:14:44] local.INFO: Acknowledgment sent {"connection_id":175811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:15:06] local.INFO: TCP Data received {"connection_id":177200,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:15:06] local.INFO: Processing buffer {"connection_id":177200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869c14b8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:15:06] local.INFO: Packet analysis {"connection_id":177200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:15:06] local.INFO: Extracted packet for processing {"connection_id":177200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869c"} 
[2026-09-09 20:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974904320001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20: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-09-09 20:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788964771000,"timestamp_ms":1788964771000,"timestamp_seconds":1788964771,"priority":1,"record_length":96,"hex_timestamp":"000001a0869c14b8"} 
[2026-09-09 20:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:15: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-09-09 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:15: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-09-09 20: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-09-09 20:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974904320001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974904320001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:15:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974904320001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":177200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:15:06] local.INFO: GPS data processed {"connection_id":177200,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:15:06] local.INFO: Acknowledgment sent {"connection_id":177200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:15:16] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:15:16] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:15:16] local.INFO: Packet analysis {"connection_id":175811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:15:16] local.INFO: Extracted packet for processing {"connection_id":175811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":175811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:15:17] local.INFO: GPS data processed {"connection_id":175811,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:15:17] local.INFO: Acknowledgment sent {"connection_id":175811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:15:29] local.INFO: TCP Data received {"connection_id":178611,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:15:29] local.INFO: Processing buffer {"connection_id":178611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:15:29] local.INFO: IMEI packet received {"connection_id":178611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":178611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:15:34] local.INFO: TCP Data received {"connection_id":178611,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:15:34] local.INFO: Processing buffer {"connection_id":178611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:15:34] local.INFO: IMEI packet received {"connection_id":178611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":178611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:15:35] local.INFO: TCP Data received {"connection_id":178611,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:15:35] local.INFO: Processing buffer {"connection_id":178611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:15:35] local.INFO: Packet analysis {"connection_id":178611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:15:35] local.INFO: Extracted packet for processing {"connection_id":178611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 20:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:15: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-09-09 20:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:15:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":178611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:15:35] local.INFO: GPS data processed {"connection_id":178611,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:15:35] local.INFO: Acknowledgment sent {"connection_id":178611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:15:38] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:15:38] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:15:38] local.INFO: IMEI packet received {"connection_id":175812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":175812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:15:43] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:15:43] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:15:43] local.INFO: IMEI packet received {"connection_id":175812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":175812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:15:44] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:15:44] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:15:44] local.INFO: Packet analysis {"connection_id":175812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:15:44] local.INFO: Extracted packet for processing {"connection_id":175812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":175812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:15:44] local.INFO: GPS data processed {"connection_id":175812,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:15:44] local.INFO: Acknowledgment sent {"connection_id":175812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:16:06] local.INFO: TCP Data received {"connection_id":178611,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:16:06] local.INFO: Processing buffer {"connection_id":178611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:16:06] local.INFO: Packet analysis {"connection_id":178611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:16:06] local.INFO: Extracted packet for processing {"connection_id":178611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 20:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20: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-09-09 20: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-09-09 20:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:16: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-09-09 20:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:16:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":178611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:16:06] local.INFO: GPS data processed {"connection_id":178611,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:16:06] local.INFO: Acknowledgment sent {"connection_id":178611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:16:15] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:16:15] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:16:15] local.INFO: Packet analysis {"connection_id":175812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:16:15] local.INFO: Extracted packet for processing {"connection_id":175812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":175812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:16:16] local.INFO: GPS data processed {"connection_id":175812,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:16:16] local.INFO: Acknowledgment sent {"connection_id":175812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:16:34] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:16:34] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:16:34] local.INFO: IMEI packet received {"connection_id":175813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":175813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:16:38] local.INFO: TCP Data received {"connection_id":176042,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:16:38] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:16:38] local.INFO: IMEI packet received {"connection_id":176042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":176042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:16:39] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:16:39] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:16:39] local.INFO: IMEI packet received {"connection_id":175813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":175813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:16:40] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:16:40] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:16:40] local.INFO: Packet analysis {"connection_id":175813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:16:40] local.INFO: Extracted packet for processing {"connection_id":175813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 20:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:16: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-09-09 20:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:16:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:16:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":175813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:16:40] local.INFO: GPS data processed {"connection_id":175813,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:16:40] local.INFO: Acknowledgment sent {"connection_id":175813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:16:43] local.INFO: TCP Data received {"connection_id":176042,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:16:43] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:16:43] local.INFO: IMEI packet received {"connection_id":176042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":176042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:16:44] local.INFO: TCP Data received {"connection_id":176042,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:16:44] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:16:44] local.INFO: Packet analysis {"connection_id":176042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:16:44] local.INFO: Extracted packet for processing {"connection_id":176042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":176042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:16:44] local.INFO: GPS data processed {"connection_id":176042,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:16:44] local.INFO: Acknowledgment sent {"connection_id":176042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:16:45] local.INFO: TCP Data received {"connection_id":175813,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:16:45] local.INFO: Processing buffer {"connection_id":175813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:16:45] local.INFO: Packet analysis {"connection_id":175813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:16:45] local.INFO: Extracted packet for processing {"connection_id":175813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 20:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:16:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":175813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:16:45] local.INFO: GPS data processed {"connection_id":175813,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:16:45] local.INFO: Acknowledgment sent {"connection_id":175813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:17:15] local.INFO: TCP Data received {"connection_id":176042,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:17:15] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:17:15] local.INFO: Packet analysis {"connection_id":176042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:17:15] local.INFO: Extracted packet for processing {"connection_id":176042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":176042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:17:15] local.INFO: GPS data processed {"connection_id":176042,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:17:15] local.INFO: Acknowledgment sent {"connection_id":176042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:17:29] local.INFO: TCP Data received {"connection_id":177202,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:17:29] local.INFO: Processing buffer {"connection_id":177202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:17:29] local.INFO: IMEI packet received {"connection_id":177202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":177202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:17:34] local.INFO: TCP Data received {"connection_id":177202,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:17:34] local.INFO: Processing buffer {"connection_id":177202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:17:34] local.INFO: IMEI packet received {"connection_id":177202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":177202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:17:35] local.INFO: TCP Data received {"connection_id":177202,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:17:35] local.INFO: Processing buffer {"connection_id":177202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:17:35] local.INFO: Packet analysis {"connection_id":177202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:17:35] local.INFO: Extracted packet for processing {"connection_id":177202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 20:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:17: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-09-09 20:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:17:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":177202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:17:35] local.INFO: GPS data processed {"connection_id":177202,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:17:35] local.INFO: Acknowledgment sent {"connection_id":177202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:17:37] local.INFO: TCP Data received {"connection_id":178613,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:17:37] local.INFO: Processing buffer {"connection_id":178613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:17:37] local.INFO: IMEI packet received {"connection_id":178613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":178613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:17:43] local.INFO: TCP Data received {"connection_id":178613,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:17:43] local.INFO: Processing buffer {"connection_id":178613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:17:43] local.INFO: IMEI packet received {"connection_id":178613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":178613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:17:44] local.INFO: TCP Data received {"connection_id":178613,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:17:44] local.INFO: Processing buffer {"connection_id":178613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:17:44] local.INFO: Packet analysis {"connection_id":178613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:17:44] local.INFO: Extracted packet for processing {"connection_id":178613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":178613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:17:44] local.INFO: GPS data processed {"connection_id":178613,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:17:44] local.INFO: Acknowledgment sent {"connection_id":178613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:18:07] local.INFO: TCP Data received {"connection_id":177202,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:18:07] local.INFO: Processing buffer {"connection_id":177202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:18:07] local.INFO: Packet analysis {"connection_id":177202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:18:07] local.INFO: Extracted packet for processing {"connection_id":177202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 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-09-09 20:18: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-09-09 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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:18: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-09-09 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-09-09 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-09-09 20:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:18:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":177202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:18:07] local.INFO: GPS data processed {"connection_id":177202,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:18:07] local.INFO: Acknowledgment sent {"connection_id":177202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:18:15] local.INFO: TCP Data received {"connection_id":178613,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:18:15] local.INFO: Processing buffer {"connection_id":178613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:18:15] local.INFO: Packet analysis {"connection_id":178613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:18:15] local.INFO: Extracted packet for processing {"connection_id":178613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":178613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:18:16] local.INFO: GPS data processed {"connection_id":178613,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:18:16] local.INFO: Acknowledgment sent {"connection_id":178613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:18:29] local.INFO: TCP Data received {"connection_id":175814,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:18:29] local.INFO: Processing buffer {"connection_id":175814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:18:29] local.INFO: IMEI packet received {"connection_id":175814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":175814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:18:34] local.INFO: TCP Data received {"connection_id":175814,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:18:34] local.INFO: Processing buffer {"connection_id":175814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:18:34] local.INFO: IMEI packet received {"connection_id":175814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":175814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:18:35] local.INFO: TCP Data received {"connection_id":175814,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:18:35] local.INFO: Processing buffer {"connection_id":175814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:18:35] local.INFO: Packet analysis {"connection_id":175814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:18:35] local.INFO: Extracted packet for processing {"connection_id":175814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 20:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:18:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":175814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:18:35] local.INFO: GPS data processed {"connection_id":175814,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:18:35] local.INFO: Acknowledgment sent {"connection_id":175814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:18:37] local.INFO: TCP Data received {"connection_id":177204,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:18:37] local.INFO: Processing buffer {"connection_id":177204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:18:37] local.INFO: IMEI packet received {"connection_id":177204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":177204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:18:43] local.INFO: TCP Data received {"connection_id":177204,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:18:43] local.INFO: Processing buffer {"connection_id":177204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:18:43] local.INFO: IMEI packet received {"connection_id":177204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":177204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:18:44] local.INFO: TCP Data received {"connection_id":177204,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:18:44] local.INFO: Processing buffer {"connection_id":177204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0869f7400012d34c14006aa42b8000701162c..."} 
[2026-09-09 20:18:44] local.INFO: Packet analysis {"connection_id":177204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:18:44] local.INFO: Extracted packet for processing {"connection_id":177204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0869f"} 
[2026-09-09 20:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974960896001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788964992000,"timestamp_ms":1788964992000,"timestamp_seconds":1788964992,"priority":1,"record_length":96,"hex_timestamp":"000001a0869f7400"} 
[2026-09-09 20:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-09 20:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974960896001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974960896001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974960896001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":177204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:18:44] local.INFO: GPS data processed {"connection_id":177204,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:18:44] local.INFO: Acknowledgment sent {"connection_id":177204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:19:06] local.INFO: TCP Data received {"connection_id":175814,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:19:06] local.INFO: Processing buffer {"connection_id":175814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:19:06] local.INFO: Packet analysis {"connection_id":175814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:19:06] local.INFO: Extracted packet for processing {"connection_id":175814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 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-09-09 20:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:19: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-09-09 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-09-09 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-09-09 20:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":175814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:19:06] local.INFO: GPS data processed {"connection_id":175814,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:19:06] local.INFO: Acknowledgment sent {"connection_id":175814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:19:15] local.INFO: TCP Data received {"connection_id":177204,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:19:15] local.INFO: Processing buffer {"connection_id":177204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:19:15] local.INFO: Packet analysis {"connection_id":177204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:19:15] local.INFO: Extracted packet for processing {"connection_id":177204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":177204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:19:15] local.INFO: GPS data processed {"connection_id":177204,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:19:15] local.INFO: Acknowledgment sent {"connection_id":177204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:19:29] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:19:29] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:19:29] local.INFO: IMEI packet received {"connection_id":175816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":175816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:19:34] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:19:34] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:19:34] local.INFO: IMEI packet received {"connection_id":175816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":175816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:19:35] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:19:35] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:19:35] local.INFO: Packet analysis {"connection_id":175816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:19:35] local.INFO: Extracted packet for processing {"connection_id":175816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 20:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:19:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":175816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:19:35] local.INFO: GPS data processed {"connection_id":175816,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:19:35] local.INFO: Acknowledgment sent {"connection_id":175816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:19:38] local.INFO: TCP Data received {"connection_id":175817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:19:38] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:19:38] local.INFO: IMEI packet received {"connection_id":175817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":175817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:19:43] local.INFO: TCP Data received {"connection_id":175817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:19:43] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:19:43] local.INFO: IMEI packet received {"connection_id":175817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":175817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:19:44] local.INFO: TCP Data received {"connection_id":175817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:19:44] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:19:44] local.INFO: Packet analysis {"connection_id":175817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:19:44] local.INFO: Extracted packet for processing {"connection_id":175817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":175817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:19:44] local.INFO: GPS data processed {"connection_id":175817,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:19:44] local.INFO: Acknowledgment sent {"connection_id":175817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:20:06] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:20:06] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a0ac80012d1965c0071ff020003b011b27..."} 
[2026-09-09 20:20:06] local.INFO: Packet analysis {"connection_id":175816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:20:06] local.INFO: Extracted packet for processing {"connection_id":175816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a0"} 
[2026-09-09 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457974981376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965072000,"timestamp_ms":1788965072000,"timestamp_seconds":1788965072,"priority":1,"record_length":96,"hex_timestamp":"000001a086a0ac80"} 
[2026-09-09 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-09-09 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:20: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-09-09 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-09-09 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-09-09 20:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457974981376001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457974981376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457974981376001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":175816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:20:07] local.INFO: GPS data processed {"connection_id":175816,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:20:07] local.INFO: Acknowledgment sent {"connection_id":175816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:20:15] local.INFO: TCP Data received {"connection_id":175817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:20:15] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:20:15] local.INFO: Packet analysis {"connection_id":175817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:20:15] local.INFO: Extracted packet for processing {"connection_id":175817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":175817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:20:15] local.INFO: GPS data processed {"connection_id":175817,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:20:15] local.INFO: Acknowledgment sent {"connection_id":175817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:20:34] local.INFO: TCP Data received {"connection_id":177205,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:20:34] local.INFO: Processing buffer {"connection_id":177205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:20:34] local.INFO: IMEI packet received {"connection_id":177205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":177205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:20:38] local.INFO: TCP Data received {"connection_id":178614,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:20:38] local.INFO: Processing buffer {"connection_id":178614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:20:38] local.INFO: IMEI packet received {"connection_id":178614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":178614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:20:39] local.INFO: TCP Data received {"connection_id":177205,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:20:39] local.INFO: Processing buffer {"connection_id":177205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:20:39] local.INFO: IMEI packet received {"connection_id":177205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":177205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:20:40] local.INFO: TCP Data received {"connection_id":177205,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:20:40] local.INFO: Processing buffer {"connection_id":177205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:20:40] local.INFO: Packet analysis {"connection_id":177205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:20:40] local.INFO: Extracted packet for processing {"connection_id":177205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 20:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:20: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-09-09 20:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:20:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":177205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:20:40] local.INFO: GPS data processed {"connection_id":177205,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:20:40] local.INFO: Acknowledgment sent {"connection_id":177205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:20:43] local.INFO: TCP Data received {"connection_id":178614,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:20:43] local.INFO: Processing buffer {"connection_id":178614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:20:43] local.INFO: IMEI packet received {"connection_id":178614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":178614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:20:44] local.INFO: TCP Data received {"connection_id":178614,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:20:44] local.INFO: Processing buffer {"connection_id":178614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:20:44] local.INFO: Packet analysis {"connection_id":178614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:20:44] local.INFO: Extracted packet for processing {"connection_id":178614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":178614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:20:44] local.INFO: GPS data processed {"connection_id":178614,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:20:44] local.INFO: Acknowledgment sent {"connection_id":178614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:20:45] local.INFO: TCP Data received {"connection_id":177205,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:20:45] local.INFO: Processing buffer {"connection_id":177205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:20:45] local.INFO: Packet analysis {"connection_id":177205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:20:45] local.INFO: Extracted packet for processing {"connection_id":177205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 20:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:20:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":177205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:20:45] local.INFO: GPS data processed {"connection_id":177205,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:20:45] local.INFO: Acknowledgment sent {"connection_id":177205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:21:15] local.INFO: TCP Data received {"connection_id":178614,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:21:15] local.INFO: Processing buffer {"connection_id":178614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:21:15] local.INFO: Packet analysis {"connection_id":178614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:21:15] local.INFO: Extracted packet for processing {"connection_id":178614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":178614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:21:15] local.INFO: GPS data processed {"connection_id":178614,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:21:15] local.INFO: Acknowledgment sent {"connection_id":178614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:21:29] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:21:29] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:21:29] local.INFO: IMEI packet received {"connection_id":176043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":176043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:21:34] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:21:34] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:21:34] local.INFO: IMEI packet received {"connection_id":176043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":176043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:21:35] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:21:35] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:21:35] local.INFO: Packet analysis {"connection_id":176043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:21:35] local.INFO: Extracted packet for processing {"connection_id":176043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 20:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:21: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-09-09 20:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:21:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":176043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:21:35] local.INFO: GPS data processed {"connection_id":176043,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:21:35] local.INFO: Acknowledgment sent {"connection_id":176043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:21:38] local.INFO: TCP Data received {"connection_id":177206,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:21:38] local.INFO: Processing buffer {"connection_id":177206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:21:38] local.INFO: IMEI packet received {"connection_id":177206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":177206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:21:43] local.INFO: TCP Data received {"connection_id":177206,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:21:43] local.INFO: Processing buffer {"connection_id":177206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:21:43] local.INFO: IMEI packet received {"connection_id":177206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":177206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:21:44] local.INFO: TCP Data received {"connection_id":177206,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:21:44] local.INFO: Processing buffer {"connection_id":177206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:21:44] local.INFO: Packet analysis {"connection_id":177206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:21:44] local.INFO: Extracted packet for processing {"connection_id":177206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":177206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:21:44] local.INFO: GPS data processed {"connection_id":177206,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:21:44] local.INFO: Acknowledgment sent {"connection_id":177206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:22:07] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:22:07] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:22:07] local.INFO: Packet analysis {"connection_id":176043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:22:07] local.INFO: Extracted packet for processing {"connection_id":176043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 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-09-09 20:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:22: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-09-09 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-09-09 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-09-09 20:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:22:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":176043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:22:07] local.INFO: GPS data processed {"connection_id":176043,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:22:07] local.INFO: Acknowledgment sent {"connection_id":176043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:22:16] local.INFO: TCP Data received {"connection_id":177206,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:22:16] local.INFO: Processing buffer {"connection_id":177206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:22:16] local.INFO: Packet analysis {"connection_id":177206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:22:16] local.INFO: Extracted packet for processing {"connection_id":177206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":177206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:22:16] local.INFO: GPS data processed {"connection_id":177206,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:22:16] local.INFO: Acknowledgment sent {"connection_id":177206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:22:29] local.INFO: TCP Data received {"connection_id":178615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:22:29] local.INFO: Processing buffer {"connection_id":178615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:22:29] local.INFO: IMEI packet received {"connection_id":178615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":178615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:22:34] local.INFO: TCP Data received {"connection_id":178615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:22:34] local.INFO: Processing buffer {"connection_id":178615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:22:34] local.INFO: IMEI packet received {"connection_id":178615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":178615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:22:35] local.INFO: TCP Data received {"connection_id":178615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:22:35] local.INFO: Processing buffer {"connection_id":178615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:22:35] local.INFO: Packet analysis {"connection_id":178615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:22:35] local.INFO: Extracted packet for processing {"connection_id":178615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 20:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:22: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-09-09 20:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:22:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":178615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:22:35] local.INFO: GPS data processed {"connection_id":178615,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:22:35] local.INFO: Acknowledgment sent {"connection_id":178615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:22:38] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:22:38] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:22:38] local.INFO: IMEI packet received {"connection_id":176044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":176044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:22:43] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:22:43] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:22:43] local.INFO: IMEI packet received {"connection_id":176044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":176044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:22:44] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:22:44] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:22:44] local.INFO: Packet analysis {"connection_id":176044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:22:44] local.INFO: Extracted packet for processing {"connection_id":176044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":176044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:22:44] local.INFO: GPS data processed {"connection_id":176044,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:22:44] local.INFO: Acknowledgment sent {"connection_id":176044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:22:55] local.INFO: TCP Data received {"connection_id":175818,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:22:55] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:22:55] local.INFO: IMEI packet received {"connection_id":175818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":175818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:23:01] local.INFO: TCP Data received {"connection_id":175818,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:23:01] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:23:01] local.INFO: IMEI packet received {"connection_id":175818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":175818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:23:02] local.INFO: TCP Data received {"connection_id":175818,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a6f1f8012caf7140093bfef002b5009e2e..."} 
[2026-09-09 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a6f1f8012caf7140093bfef002b5009e2e..."} 
[2026-09-09 20:23:02] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a6f1f8012caf7140093bfef002b5009e2e..."} 
[2026-09-09 20:23:02] local.INFO: Packet analysis {"connection_id":175818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a6"} 
[2026-09-09 20:23:02] local.INFO: Extracted packet for processing {"connection_id":175818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a6"} 
[2026-09-09 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":749695296,"raw_latitude":154926832,"longitude_deg":74.9695296,"latitude_deg":15.4926832,"altitude":693,"angle":158,"satellites":46,"speed":49,"hex_longitude":"2caf7140","hex_latitude":"093bfef0","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975159552001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5817524778990206974,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,21,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788965483000,"timestamp_ms":1788965483000,"timestamp_seconds":1788965483,"priority":1,"record_length":96,"hex_timestamp":"000001a086a6f1f8"} 
[2026-09-09 20:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-09 20:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975159552001,"66":27463,"165":206,"21":33024,"24":49,"16":3893920429768704,"44":-5817524778990206974},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,21,24,16,44]} 
[2026-09-09 20:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975159552001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:23:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-09 20:23:02] local.INFO: Unknown IO ID detected {"io_id":21,"value":33024,"description":"Unknown IO ID 21"} 
[2026-09-09 20:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5817524778990206974,"description":"Unknown IO ID 44"} 
[2026-09-09 20:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975159552001,"power":27463,"unknown_165":206,"unknown_21":33024,"ignition":49,"odometer":null,"unknown_44":-5817524778990206974}} 
[2026-09-09 20:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":175818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:23:02] local.INFO: GPS data processed {"connection_id":175818,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:23:02] local.INFO: Acknowledgment sent {"connection_id":175818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:23:06] local.INFO: TCP Data received {"connection_id":178615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:23:06] local.INFO: Processing buffer {"connection_id":178615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:23:06] local.INFO: Packet analysis {"connection_id":178615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:23:06] local.INFO: Extracted packet for processing {"connection_id":178615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 20:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:23: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-09-09 20:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:23:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":178615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:23:07] local.INFO: GPS data processed {"connection_id":178615,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:23:07] local.INFO: Acknowledgment sent {"connection_id":178615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:23:15] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:23:15] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:23:15] local.INFO: Packet analysis {"connection_id":176044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:23:15] local.INFO: Extracted packet for processing {"connection_id":176044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":176044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:23:15] local.INFO: GPS data processed {"connection_id":176044,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:23:15] local.INFO: Acknowledgment sent {"connection_id":176044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:23:29] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:23:29] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:23:29] local.INFO: IMEI packet received {"connection_id":175819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":175819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:23:34] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:23:34] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:23:34] local.INFO: IMEI packet received {"connection_id":175819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":175819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:23:35] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:23:35] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:23:35] local.INFO: Packet analysis {"connection_id":175819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:23:35] local.INFO: Extracted packet for processing {"connection_id":175819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 20:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:23:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":175819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:23:35] local.INFO: GPS data processed {"connection_id":175819,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:23:35] local.INFO: Acknowledgment sent {"connection_id":175819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:23:37] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:23:37] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:23:37] local.INFO: IMEI packet received {"connection_id":176045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":176045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:23:43] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:23:43] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:23:43] local.INFO: IMEI packet received {"connection_id":176045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":176045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:23:44] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:23:44] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a40bc8012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:23:44] local.INFO: Packet analysis {"connection_id":176045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:23:44] local.INFO: Extracted packet for processing {"connection_id":176045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a4"} 
[2026-09-09 20:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975037952001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965293000,"timestamp_ms":1788965293000,"timestamp_seconds":1788965293,"priority":1,"record_length":96,"hex_timestamp":"000001a086a40bc8"} 
[2026-09-09 20:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975037952001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975037952001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975037952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":176045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:23:44] local.INFO: GPS data processed {"connection_id":176045,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:23:44] local.INFO: Acknowledgment sent {"connection_id":176045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:23:46] local.INFO: TCP Data received {"connection_id":176046,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:23:46] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:23:46] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:23:50] local.INFO: TCP Data received {"connection_id":176046,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:23:50] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:23:50] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:23:56] local.INFO: TCP Data received {"connection_id":176046,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a73460012caf7f00093bb13002ac00af2d..."} 
[2026-09-09 20:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a73460012caf7f00093bb13002ac00af2d..."} 
[2026-09-09 20:23:56] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a73460012caf7f00093bb13002ac00af2d..."} 
[2026-09-09 20:23:56] local.INFO: Packet analysis {"connection_id":176046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a7"} 
[2026-09-09 20:23:56] local.INFO: Extracted packet for processing {"connection_id":176046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a7"} 
[2026-09-09 20:23:56] local.INFO: GPS Element Parsed {"raw_longitude":749698816,"raw_latitude":154906928,"longitude_deg":74.9698816,"latitude_deg":15.4906928,"altitude":684,"angle":175,"satellites":45,"speed":24,"hex_longitude":"2caf7f00","hex_latitude":"093bb130","is_valid_coordinates":true} 
[2026-09-09 20:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975163648001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5804788036298412030,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,21,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788965500000,"timestamp_ms":1788965500000,"timestamp_seconds":1788965500,"priority":1,"record_length":96,"hex_timestamp":"000001a086a73460"} 
[2026-09-09 20:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:23: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-09-09 20:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 20:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176046,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176046,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975163648001,"66":27593,"165":206,"21":33024,"24":24,"16":3893920429768704,"44":-5804788036298412030},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,21,24,16,44]} 
[2026-09-09 20:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975163648001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:23:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-09 20:23:56] local.INFO: Unknown IO ID detected {"io_id":21,"value":33024,"description":"Unknown IO ID 21"} 
[2026-09-09 20:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5804788036298412030,"description":"Unknown IO ID 44"} 
[2026-09-09 20:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975163648001,"power":27593,"unknown_165":206,"unknown_21":33024,"ignition":24,"odometer":null,"unknown_44":-5804788036298412030}} 
[2026-09-09 20:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":176046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:23:56] local.INFO: GPS data processed {"connection_id":176046,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:23:56] local.INFO: Acknowledgment sent {"connection_id":176046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:23:57] local.INFO: TCP Data received {"connection_id":176046,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a816f00100000000000000000000000000..."} 
[2026-09-09 20:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a816f00100000000000000000000000000..."} 
[2026-09-09 20:23:57] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a816f00100000000000000000000000000..."} 
[2026-09-09 20:23:57] local.INFO: Packet analysis {"connection_id":176046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:23:57] local.INFO: Extracted packet for processing {"connection_id":176046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:23:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 20:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975168000001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5800917755373735934,"note":"Value kept but may cause issues"} 
[2026-09-09 20:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788965558000,"timestamp_ms":1788965558000,"timestamp_seconds":1788965558,"priority":1,"record_length":96,"hex_timestamp":"000001a086a816f0"} 
[2026-09-09 20:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 20:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176046,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176046,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":176046,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 20:23:57] local.INFO: GPS data processed {"connection_id":176046,"processed":0,"errors":0,"total":1} 
[2026-09-09 20:23:57] local.INFO: Acknowledgment sent {"connection_id":176046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:24:06] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:24:06] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:24:06] local.INFO: Packet analysis {"connection_id":175819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:24:06] local.INFO: Extracted packet for processing {"connection_id":175819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 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-09-09 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 20:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:24:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":175819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:24:06] local.INFO: GPS data processed {"connection_id":175819,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:24:06] local.INFO: Acknowledgment sent {"connection_id":175819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:24:15] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:24:15] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:24:15] local.INFO: Packet analysis {"connection_id":176045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:24:15] local.INFO: Extracted packet for processing {"connection_id":176045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:24:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:24:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":176045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:24:15] local.INFO: GPS data processed {"connection_id":176045,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:24:15] local.INFO: Acknowledgment sent {"connection_id":176045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:24:29] local.INFO: TCP Data received {"connection_id":177207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:24:29] local.INFO: Processing buffer {"connection_id":177207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:24:29] local.INFO: IMEI packet received {"connection_id":177207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":177207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:24:34] local.INFO: TCP Data received {"connection_id":177207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:24:34] local.INFO: Processing buffer {"connection_id":177207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:24:34] local.INFO: IMEI packet received {"connection_id":177207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":177207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:24:35] local.INFO: TCP Data received {"connection_id":177207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:24:35] local.INFO: Processing buffer {"connection_id":177207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:24:35] local.INFO: Packet analysis {"connection_id":177207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:24:35] local.INFO: Extracted packet for processing {"connection_id":177207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 20:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:24: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-09-09 20:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:24:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":177207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:24:35] local.INFO: GPS data processed {"connection_id":177207,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:24:35] local.INFO: Acknowledgment sent {"connection_id":177207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:24:38] local.INFO: TCP Data received {"connection_id":178616,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:24:38] local.INFO: Processing buffer {"connection_id":178616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:24:38] local.INFO: IMEI packet received {"connection_id":178616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":178616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:24:40] local.INFO: TCP Data received {"connection_id":177208,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:24:40] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:24:40] local.INFO: IMEI packet received {"connection_id":177208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":177208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:24:43] local.INFO: TCP Data received {"connection_id":178616,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:24:43] local.INFO: Processing buffer {"connection_id":178616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:24:43] local.INFO: IMEI packet received {"connection_id":178616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":178616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:24:44] local.INFO: TCP Data received {"connection_id":177208,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:24:44] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:24:44] local.INFO: IMEI packet received {"connection_id":177208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":177208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:24:45] local.INFO: TCP Data received {"connection_id":178616,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:24:45] local.INFO: Processing buffer {"connection_id":178616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:24:45] local.INFO: Packet analysis {"connection_id":178616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:24:45] local.INFO: Extracted packet for processing {"connection_id":178616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":178616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:24:45] local.INFO: GPS data processed {"connection_id":178616,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:24:45] local.INFO: Acknowledgment sent {"connection_id":178616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:24:45] local.INFO: TCP Data received {"connection_id":177208,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:24:45] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:24:45] local.INFO: IMEI packet received {"connection_id":177208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":177208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:24:47] local.INFO: TCP Data received {"connection_id":177208,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a7ad78012caf8140093b789002a900b52d..."} 
[2026-09-09 20:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a7ad78012caf8140093b789002a900b52d..."} 
[2026-09-09 20:24:47] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a7ad78012caf8140093b789002a900b52d..."} 
[2026-09-09 20:24:47] local.INFO: Packet analysis {"connection_id":177208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a7"} 
[2026-09-09 20:24:47] local.INFO: Extracted packet for processing {"connection_id":177208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a7"} 
[2026-09-09 20:24:47] local.INFO: GPS Element Parsed {"raw_longitude":749699392,"raw_latitude":154892432,"longitude_deg":74.9699392,"latitude_deg":15.4892432,"altitude":681,"angle":181,"satellites":45,"speed":28,"hex_longitude":"2caf8140","hex_latitude":"093b7890","is_valid_coordinates":true} 
[2026-09-09 20:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,223,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 20:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788965531000,"timestamp_ms":1788965531000,"timestamp_seconds":1788965531,"priority":1,"record_length":96,"hex_timestamp":"000001a086a7ad78"} 
[2026-09-09 20:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:24:47] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-09 20:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"223":206,"9":54784,"24":28,"16":3893920429768704},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,9,24,16]} 
[2026-09-09 20:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 20:24:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-09 20:24:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:24:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_223":206,"unknown_9":54784,"ignition":28,"odometer":null}} 
[2026-09-09 20:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":177208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:24:47] local.INFO: GPS data processed {"connection_id":177208,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:24:47] local.INFO: Acknowledgment sent {"connection_id":177208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:24:51] local.INFO: TCP Data received {"connection_id":177208,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a7ff80012caf7e40093b2ca002a700b52d..."} 
[2026-09-09 20:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a7ff80012caf7e40093b2ca002a700b52d..."} 
[2026-09-09 20:24:51] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a7ff80012caf7e40093b2ca002a700b52d..."} 
[2026-09-09 20:24:51] local.INFO: Packet analysis {"connection_id":177208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a7"} 
[2026-09-09 20:24:51] local.INFO: Extracted packet for processing {"connection_id":177208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a7"} 
[2026-09-09 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749698624,"raw_latitude":154872992,"longitude_deg":74.9698624,"latitude_deg":15.4872992,"altitude":679,"angle":181,"satellites":45,"speed":0,"hex_longitude":"2caf7e40","hex_latitude":"093b2ca0","is_valid_coordinates":true} 
[2026-09-09 20:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975175936001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5800284436679847934,"note":"Value kept but may cause issues"} 
[2026-09-09 20:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788965552000,"timestamp_ms":1788965552000,"timestamp_seconds":1788965552,"priority":1,"record_length":96,"hex_timestamp":"000001a086a7ff80"} 
[2026-09-09 20:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:24: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-09-09 20:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975175936001,"66":27615,"237":206,"9":54784,"24":0,"16":3893920429768704,"44":-5800284436679847934},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,9,24,16,44]} 
[2026-09-09 20:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975175936001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:24:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-09 20:24:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5800284436679847934,"description":"Unknown IO ID 44"} 
[2026-09-09 20:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975175936001,"power":27615,"unknown_237":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5800284436679847934}} 
[2026-09-09 20:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":177208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:24:51] local.INFO: GPS data processed {"connection_id":177208,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:24:51] local.INFO: Acknowledgment sent {"connection_id":177208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:25:06] local.INFO: TCP Data received {"connection_id":177207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:25:06] local.INFO: Processing buffer {"connection_id":177207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a54448012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:25:06] local.INFO: Packet analysis {"connection_id":177207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:25:06] local.INFO: Extracted packet for processing {"connection_id":177207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a5"} 
[2026-09-09 20:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975058432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20: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-09-09 20:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965373000,"timestamp_ms":1788965373000,"timestamp_seconds":1788965373,"priority":1,"record_length":96,"hex_timestamp":"000001a086a54448"} 
[2026-09-09 20:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:25: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-09-09 20:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975058432001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975058432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:25:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975058432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":177207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:25:06] local.INFO: GPS data processed {"connection_id":177207,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:25:06] local.INFO: Acknowledgment sent {"connection_id":177207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:25:16] local.INFO: TCP Data received {"connection_id":178616,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:25:16] local.INFO: Processing buffer {"connection_id":178616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:25:16] local.INFO: Packet analysis {"connection_id":178616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:25:16] local.INFO: Extracted packet for processing {"connection_id":178616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 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-09-09 20:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:25:16] 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-09-09 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-09-09 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-09-09 20:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":178616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:25:16] local.INFO: GPS data processed {"connection_id":178616,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:25:16] local.INFO: Acknowledgment sent {"connection_id":178616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:25:22] local.INFO: TCP Data received {"connection_id":177208,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a85188012caf7f00093ad95002a700b42d..."} 
[2026-09-09 20:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a85188012caf7f00093ad95002a700b42d..."} 
[2026-09-09 20:25:23] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a85188012caf7f00093ad95002a700b42d..."} 
[2026-09-09 20:25:23] local.INFO: Packet analysis {"connection_id":177208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:25:23] local.INFO: Extracted packet for processing {"connection_id":177208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:25:23] local.INFO: GPS Element Parsed {"raw_longitude":749698816,"raw_latitude":154851664,"longitude_deg":74.9698816,"latitude_deg":15.4851664,"altitude":679,"angle":180,"satellites":45,"speed":0,"hex_longitude":"2caf7f00","hex_latitude":"093ad950","is_valid_coordinates":true} 
[2026-09-09 20:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975181312001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5801128861614956542,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788965573000,"timestamp_ms":1788965573000,"timestamp_seconds":1788965573,"priority":1,"record_length":96,"hex_timestamp":"000001a086a85188"} 
[2026-09-09 20:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 20:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975181312001,"66":27713,"237":206,"9":54784,"24":0,"16":3893920429768704,"44":-5801128861614956542},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,9,24,16,44]} 
[2026-09-09 20:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975181312001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:25:23] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-09 20:25:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:25:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5801128861614956542,"description":"Unknown IO ID 44"} 
[2026-09-09 20:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975181312001,"power":27713,"unknown_237":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5801128861614956542}} 
[2026-09-09 20:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":177208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:25:23] local.INFO: GPS data processed {"connection_id":177208,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:25:23] local.INFO: Acknowledgment sent {"connection_id":177208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:25:35] local.INFO: TCP Data received {"connection_id":177209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:25:35] local.INFO: Processing buffer {"connection_id":177209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:25:35] local.INFO: IMEI packet received {"connection_id":177209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":177209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:25:38] local.INFO: TCP Data received {"connection_id":177210,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:25:38] local.INFO: Processing buffer {"connection_id":177210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:25:38] local.INFO: IMEI packet received {"connection_id":177210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":177210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:25:40] local.INFO: TCP Data received {"connection_id":177209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:25:40] local.INFO: Processing buffer {"connection_id":177209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:25:40] local.INFO: IMEI packet received {"connection_id":177209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":177209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:25:40] local.INFO: TCP Data received {"connection_id":178617,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:25:40] local.INFO: Processing buffer {"connection_id":178617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:25:40] local.INFO: IMEI packet received {"connection_id":178617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":178617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:25:41] local.INFO: TCP Data received {"connection_id":177209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:25:41] local.INFO: Processing buffer {"connection_id":177209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:25:41] local.INFO: Packet analysis {"connection_id":177209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:25:41] local.INFO: Extracted packet for processing {"connection_id":177209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25: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-09-09 20:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 20:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20: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-09-09 20: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-09-09 20:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:25: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-09-09 20:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:25:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":177209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:25:41] local.INFO: GPS data processed {"connection_id":177209,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:25:41] local.INFO: Acknowledgment sent {"connection_id":177209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:25:43] local.INFO: TCP Data received {"connection_id":177210,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:25:43] local.INFO: Processing buffer {"connection_id":177210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:25:43] local.INFO: IMEI packet received {"connection_id":177210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":177210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:25:44] local.INFO: TCP Data received {"connection_id":177210,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:25:44] local.INFO: Processing buffer {"connection_id":177210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:25:44] local.INFO: Packet analysis {"connection_id":177210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:25:44] local.INFO: Extracted packet for processing {"connection_id":177210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":177210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:25:44] local.INFO: GPS data processed {"connection_id":177210,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:25:44] local.INFO: Acknowledgment sent {"connection_id":177210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:25:46] local.INFO: TCP Data received {"connection_id":178617,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:25:46] local.INFO: Processing buffer {"connection_id":178617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:25:46] local.INFO: IMEI packet received {"connection_id":178617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":178617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:25:47] local.INFO: TCP Data received {"connection_id":178617,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a934180100000000000000000000000000..."} 
[2026-09-09 20:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a934180100000000000000000000000000..."} 
[2026-09-09 20:25:47] local.INFO: Processing buffer {"connection_id":178617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a934180100000000000000000000000000..."} 
[2026-09-09 20:25:47] local.INFO: Packet analysis {"connection_id":178617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:25:47] local.INFO: Extracted packet for processing {"connection_id":178617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:25:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 20:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975186688001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5800917755387883518,"note":"Value kept but may cause issues"} 
[2026-09-09 20:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788965631000,"timestamp_ms":1788965631000,"timestamp_seconds":1788965631,"priority":1,"record_length":96,"hex_timestamp":"000001a086a93418"} 
[2026-09-09 20:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 20:25: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-09-09 20:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":178617,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 20:25:47] local.INFO: GPS data processed {"connection_id":178617,"processed":0,"errors":0,"total":1} 
[2026-09-09 20:25:47] local.INFO: Acknowledgment sent {"connection_id":178617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:26:12] local.INFO: TCP Data received {"connection_id":177209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:26:12] local.INFO: Processing buffer {"connection_id":177209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:26:12] local.INFO: Packet analysis {"connection_id":177209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:26:12] local.INFO: Extracted packet for processing {"connection_id":177209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26: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-09-09 20:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 20:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:26: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-09-09 20:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20: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-09-09 20:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:26:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":177209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:26:12] local.INFO: GPS data processed {"connection_id":177209,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:26:12] local.INFO: Acknowledgment sent {"connection_id":177209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:26:16] local.INFO: TCP Data received {"connection_id":177210,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:26:16] local.INFO: Processing buffer {"connection_id":177210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:26:16] local.INFO: Packet analysis {"connection_id":177210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:26:16] local.INFO: Extracted packet for processing {"connection_id":177210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:26:16] 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-09-09 20:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":177210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:26:16] local.INFO: GPS data processed {"connection_id":177210,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:26:16] local.INFO: Acknowledgment sent {"connection_id":177210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:26:19] local.INFO: TCP Data received {"connection_id":178617,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8caa0012caf7380093a4d9002b300bd2c..."} 
[2026-09-09 20:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8caa0012caf7380093a4d9002b300bd2c..."} 
[2026-09-09 20:26:19] local.INFO: Processing buffer {"connection_id":178617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8caa0012caf7380093a4d9002b300bd2c..."} 
[2026-09-09 20:26:19] local.INFO: Packet analysis {"connection_id":178617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:26:19] local.INFO: Extracted packet for processing {"connection_id":178617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:26:19] local.INFO: GPS Element Parsed {"raw_longitude":749695872,"raw_latitude":154815888,"longitude_deg":74.9695872,"latitude_deg":15.4815888,"altitude":691,"angle":189,"satellites":44,"speed":33,"hex_longitude":"2caf7380","hex_latitude":"093a4d90","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,237,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 20:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788965604000,"timestamp_ms":1788965604000,"timestamp_seconds":1788965604,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8caa0"} 
[2026-09-09 20:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27571,"237":206,"9":54784,"24":33,"16":3893920429768704},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,9,24,16]} 
[2026-09-09 20:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 20:26:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-09 20:26:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:26:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27571,"unknown_237":206,"unknown_9":54784,"ignition":33,"odometer":null}} 
[2026-09-09 20:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":178617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790929,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:26:19] local.INFO: GPS data processed {"connection_id":178617,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:26:19] local.INFO: Acknowledgment sent {"connection_id":178617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:26:29] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:26:29] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:26:29] local.INFO: IMEI packet received {"connection_id":175820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":175820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:26:34] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:26:34] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:26:34] local.INFO: IMEI packet received {"connection_id":175820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":175820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:26:35] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:26:35] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:26:35] local.INFO: Packet analysis {"connection_id":175820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:26:35] local.INFO: Extracted packet for processing {"connection_id":175820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 20:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:26:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":175820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:26:35] local.INFO: GPS data processed {"connection_id":175820,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:26:35] local.INFO: Acknowledgment sent {"connection_id":175820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:26:37] local.INFO: TCP Data received {"connection_id":176047,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:26:37] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:26:37] local.INFO: IMEI packet received {"connection_id":176047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":176047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:26:40] local.INFO: TCP Data received {"connection_id":177211,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:26:40] local.INFO: Processing buffer {"connection_id":177211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:26:40] local.INFO: IMEI packet received {"connection_id":177211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":177211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:26:43] local.INFO: TCP Data received {"connection_id":176047,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:26:43] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:26:43] local.INFO: IMEI packet received {"connection_id":176047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":176047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:26:44] local.INFO: TCP Data received {"connection_id":176047,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:26:44] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:26:44] local.INFO: Packet analysis {"connection_id":176047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:26:44] local.INFO: Extracted packet for processing {"connection_id":176047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":176047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:26:44] local.INFO: GPS data processed {"connection_id":176047,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:26:44] local.INFO: Acknowledgment sent {"connection_id":176047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:26:45] local.INFO: TCP Data received {"connection_id":177211,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:26:45] local.INFO: Processing buffer {"connection_id":177211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:26:45] local.INFO: IMEI packet received {"connection_id":177211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":177211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:26:47] local.INFO: TCP Data received {"connection_id":177211,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a91ca8012caf6980093a0f2002b900bb2c..."} 
[2026-09-09 20:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a91ca8012caf6980093a0f2002b900bb2c..."} 
[2026-09-09 20:26:47] local.INFO: Processing buffer {"connection_id":177211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a91ca8012caf6980093a0f2002b900bb2c..."} 
[2026-09-09 20:26:47] local.INFO: Packet analysis {"connection_id":177211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:26:47] local.INFO: Extracted packet for processing {"connection_id":177211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:26:47] local.INFO: GPS Element Parsed {"raw_longitude":749693312,"raw_latitude":154799904,"longitude_deg":74.9693312,"latitude_deg":15.4799904,"altitude":697,"angle":187,"satellites":44,"speed":0,"hex_longitude":"2caf6980","hex_latitude":"093a0f20","is_valid_coordinates":true} 
[2026-09-09 20:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975194624001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5804154717629214718,"note":"Value kept but may cause issues"} 
[2026-09-09 20:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788965625000,"timestamp_ms":1788965625000,"timestamp_seconds":1788965625,"priority":1,"record_length":96,"hex_timestamp":"000001a086a91ca8"} 
[2026-09-09 20:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 20:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975194624001,"66":27484,"237":206,"9":54784,"24":0,"16":3893920429768704,"44":-5804154717629214718},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,9,24,16,44]} 
[2026-09-09 20:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975194624001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:26:47] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-09 20:26:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:26:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5804154717629214718,"description":"Unknown IO ID 44"} 
[2026-09-09 20:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975194624001,"power":27484,"unknown_237":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5804154717629214718}} 
[2026-09-09 20:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":177211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:26:47] local.INFO: GPS data processed {"connection_id":177211,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:26:47] local.INFO: Acknowledgment sent {"connection_id":177211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:27:06] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:27:06] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:27:06] local.INFO: Packet analysis {"connection_id":175820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:27:06] local.INFO: Extracted packet for processing {"connection_id":175820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 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-09-09 20:27: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-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 20:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":175820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:27:07] local.INFO: GPS data processed {"connection_id":175820,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:27:07] local.INFO: Acknowledgment sent {"connection_id":175820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:27:17] local.INFO: TCP Data received {"connection_id":176047,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:27:17] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:27:17] local.INFO: Packet analysis {"connection_id":176047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:27:17] local.INFO: Extracted packet for processing {"connection_id":176047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":176047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:27:17] local.INFO: GPS data processed {"connection_id":176047,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:27:17] local.INFO: Acknowledgment sent {"connection_id":176047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:27:19] local.INFO: TCP Data received {"connection_id":177211,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a96eb0012caf60800939cb1002bb00bc2e..."} 
[2026-09-09 20:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a96eb0012caf60800939cb1002bb00bc2e..."} 
[2026-09-09 20:27:19] local.INFO: Processing buffer {"connection_id":177211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a96eb0012caf60800939cb1002bb00bc2e..."} 
[2026-09-09 20:27:19] local.INFO: Packet analysis {"connection_id":177211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:27:19] local.INFO: Extracted packet for processing {"connection_id":177211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:27:19] local.INFO: GPS Element Parsed {"raw_longitude":749691008,"raw_latitude":154782480,"longitude_deg":74.9691008,"latitude_deg":15.478248,"altitude":699,"angle":188,"satellites":46,"speed":0,"hex_longitude":"2caf6080","hex_latitude":"0939cb10","is_valid_coordinates":true} 
[2026-09-09 20:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975200000001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5806969467400413182,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788965646000,"timestamp_ms":1788965646000,"timestamp_seconds":1788965646,"priority":1,"record_length":96,"hex_timestamp":"000001a086a96eb0"} 
[2026-09-09 20:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975200000001,"66":27484,"33":206,"9":54784,"24":0,"16":3893920429768704,"44":-5806969467400413182},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16,44]} 
[2026-09-09 20:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975200000001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:27:19] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-09 20:27:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:27:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5806969467400413182,"description":"Unknown IO ID 44"} 
[2026-09-09 20:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975200000001,"power":27484,"unknown_33":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5806969467400413182}} 
[2026-09-09 20:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":177211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790935,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:27:19] local.INFO: GPS data processed {"connection_id":177211,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:27:19] local.INFO: Acknowledgment sent {"connection_id":177211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:27:34] local.INFO: TCP Data received {"connection_id":175821,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:27:34] local.INFO: Processing buffer {"connection_id":175821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:27:34] local.INFO: IMEI packet received {"connection_id":175821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":175821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:27:38] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:27:38] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:27:38] local.INFO: IMEI packet received {"connection_id":176048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":176048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:27:39] local.INFO: TCP Data received {"connection_id":175821,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:27:39] local.INFO: Processing buffer {"connection_id":175821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:27:39] local.INFO: IMEI packet received {"connection_id":175821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":175821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:27:40] local.INFO: TCP Data received {"connection_id":175821,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:27:40] local.INFO: Processing buffer {"connection_id":175821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:27:40] local.INFO: Packet analysis {"connection_id":175821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:27:40] local.INFO: Extracted packet for processing {"connection_id":175821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27: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-09-09 20:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 20:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:27: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-09-09 20:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:27:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":175821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:27:40] local.INFO: GPS data processed {"connection_id":175821,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:27:40] local.INFO: Acknowledgment sent {"connection_id":175821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:27:43] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:27:43] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:27:43] local.INFO: IMEI packet received {"connection_id":176048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":176048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:27:44] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:27:44] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:27:44] local.INFO: Packet analysis {"connection_id":176048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:27:44] local.INFO: Extracted packet for processing {"connection_id":176048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":176048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:27:44] local.INFO: GPS data processed {"connection_id":176048,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:27:44] local.INFO: Acknowledgment sent {"connection_id":176048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:27:45] local.INFO: TCP Data received {"connection_id":175821,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:27:45] local.INFO: Processing buffer {"connection_id":175821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:27:45] local.INFO: Packet analysis {"connection_id":175821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:27:45] local.INFO: Extracted packet for processing {"connection_id":175821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 20:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:27:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":175821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:27:45] local.INFO: GPS data processed {"connection_id":175821,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:27:45] local.INFO: Acknowledgment sent {"connection_id":175821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:27:51] local.INFO: TCP Data received {"connection_id":177212,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:27:51] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:27:51] local.INFO: IMEI packet received {"connection_id":177212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":177212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:27:52] local.INFO: TCP Data received {"connection_id":177212,"ip":"117.224.101.10","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 20:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 20:27:52] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 20:27:52] local.INFO: IMEI packet received {"connection_id":177212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":177212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:27:56] local.INFO: TCP Data received {"connection_id":177212,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:27:56] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-09 20:27:56] local.INFO: IMEI packet received {"connection_id":177212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":177212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:27:57] local.INFO: TCP Data received {"connection_id":177212,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9c0b8012caf58400939849002ba00bb2d..."} 
[2026-09-09 20:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9c0b8012caf58400939849002ba00bb2d..."} 
[2026-09-09 20:27:57] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a086..."} 
[2026-09-09 20:27:57] local.INFO: IMEI packet received {"connection_id":177212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":177212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:28:02] local.INFO: TCP Data received {"connection_id":177212,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086aaa3480100000000000000000000000000..."} 
[2026-09-09 20:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086aaa3480100000000000000000000000000..."} 
[2026-09-09 20:28:02] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a086a9c0b8012caf58400939849002ba00bb2d..."} 
[2026-09-09 20:28:02] local.INFO: Packet analysis {"connection_id":177212,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:28:02] local.INFO: Extracted packet for processing {"connection_id":177212,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:28:02] local.INFO: GPS Element Parsed {"raw_longitude":749688896,"raw_latitude":154764432,"longitude_deg":74.9688896,"latitude_deg":15.4764432,"altitude":698,"angle":187,"satellites":45,"speed":0,"hex_longitude":"2caf5840","hex_latitude":"09398490","is_valid_coordinates":true} 
[2026-09-09 20:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975205376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5809502742195269630,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788965667000,"timestamp_ms":1788965667000,"timestamp_seconds":1788965667,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9c0b8"} 
[2026-09-09 20:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:28: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-09-09 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:28: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-09-09 20:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975205376001,"66":27484,"33":206,"9":54784,"24":0,"16":3893920429768704,"44":-5809502742195269630},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16,44]} 
[2026-09-09 20:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975205376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:28:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-09 20:28:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5809502742195269630,"description":"Unknown IO ID 44"} 
[2026-09-09 20:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975205376001,"power":27484,"unknown_33":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5809502742195269630}} 
[2026-09-09 20:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":177212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:28:02] local.INFO: GPS data processed {"connection_id":177212,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:28:02] local.INFO: Acknowledgment sent {"connection_id":177212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:28:02] local.INFO: Packet analysis {"connection_id":177212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086aa"} 
[2026-09-09 20:28:02] local.INFO: Extracted packet for processing {"connection_id":177212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086aa"} 
[2026-09-09 20:28:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 20:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975210752001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5811824910757752830,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788965725000,"timestamp_ms":1788965725000,"timestamp_seconds":1788965725,"priority":1,"record_length":96,"hex_timestamp":"000001a086aaa348"} 
[2026-09-09 20:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:28: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-09-09 20:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":177212,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 20:28:02] local.INFO: GPS data processed {"connection_id":177212,"processed":0,"errors":0,"total":1} 
[2026-09-09 20:28:02] local.INFO: Acknowledgment sent {"connection_id":177212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:28:06] local.INFO: TCP Data received {"connection_id":177212,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086aa35e8012caf40800938e4b002b800bb2f..."} 
[2026-09-09 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086aa35e8012caf40800938e4b002b800bb2f..."} 
[2026-09-09 20:28:06] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086aa35e8012caf40800938e4b002b800bb2f..."} 
[2026-09-09 20:28:06] local.INFO: Packet analysis {"connection_id":177212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086aa"} 
[2026-09-09 20:28:06] local.INFO: Extracted packet for processing {"connection_id":177212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086aa"} 
[2026-09-09 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":749682816,"raw_latitude":154723504,"longitude_deg":74.9682816,"latitude_deg":15.4723504,"altitude":696,"angle":187,"satellites":47,"speed":49,"hex_longitude":"2caf4080","hex_latitude":"0938e4b0","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,33,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 20:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965697000,"timestamp_ms":1788965697000,"timestamp_seconds":1788965697,"priority":1,"record_length":96,"hex_timestamp":"000001a086aa35e8"} 
[2026-09-09 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-09-09 20:28: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 20:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27593,"33":206,"9":54784,"24":49,"16":3893920429768704},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16]} 
[2026-09-09 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 20:28:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-09 20:28:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27593,"unknown_33":206,"unknown_9":54784,"ignition":49,"odometer":null}} 
[2026-09-09 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":177212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:28:06] local.INFO: GPS data processed {"connection_id":177212,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:28:06] local.INFO: Acknowledgment sent {"connection_id":177212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:28:16] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:28:16] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:28:16] local.INFO: Packet analysis {"connection_id":176048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:28:16] local.INFO: Extracted packet for processing {"connection_id":176048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:28:16] 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-09-09 20:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":176048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:28:16] local.INFO: GPS data processed {"connection_id":176048,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:28:16] local.INFO: Acknowledgment sent {"connection_id":176048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:28:29] local.INFO: TCP Data received {"connection_id":178618,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:28:29] local.INFO: Processing buffer {"connection_id":178618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:28:29] local.INFO: IMEI packet received {"connection_id":178618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":178618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:28:34] local.INFO: TCP Data received {"connection_id":178618,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:28:34] local.INFO: Processing buffer {"connection_id":178618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:28:34] local.INFO: IMEI packet received {"connection_id":178618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":178618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:28:35] local.INFO: TCP Data received {"connection_id":178618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:28:35] local.INFO: Processing buffer {"connection_id":178618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:28:35] local.INFO: Packet analysis {"connection_id":178618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:28:35] local.INFO: Extracted packet for processing {"connection_id":178618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 20:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:28: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-09-09 20:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:28:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":178618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:28:35] local.INFO: GPS data processed {"connection_id":178618,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:28:35] local.INFO: Acknowledgment sent {"connection_id":178618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:28:41] local.INFO: TCP Data received {"connection_id":175822,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:28:41] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:28:41] local.INFO: IMEI packet received {"connection_id":175822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":175822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:28:43] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:28:43] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:28:43] local.INFO: IMEI packet received {"connection_id":175823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":175823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:28:46] local.INFO: TCP Data received {"connection_id":175822,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:28:46] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:28:46] local.INFO: IMEI packet received {"connection_id":175822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":175822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:28:47] local.INFO: TCP Data received {"connection_id":175822,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086aa87f0012caf35800938959002b800bb2f..."} 
[2026-09-09 20:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086aa87f0012caf35800938959002b800bb2f..."} 
[2026-09-09 20:28:47] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086aa87f0012caf35800938959002b800bb2f..."} 
[2026-09-09 20:28:47] local.INFO: Packet analysis {"connection_id":175822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086aa"} 
[2026-09-09 20:28:47] local.INFO: Extracted packet for processing {"connection_id":175822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086aa"} 
[2026-09-09 20:28:47] local.INFO: GPS Element Parsed {"raw_longitude":749680000,"raw_latitude":154703248,"longitude_deg":74.968,"latitude_deg":15.4703248,"altitude":696,"angle":187,"satellites":47,"speed":0,"hex_longitude":"2caf3580","hex_latitude":"09389590","is_valid_coordinates":true} 
[2026-09-09 20:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975218432001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5818509941465108478,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788965718000,"timestamp_ms":1788965718000,"timestamp_seconds":1788965718,"priority":1,"record_length":96,"hex_timestamp":"000001a086aa87f0"} 
[2026-09-09 20:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 20:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975218432001,"66":27571,"33":206,"9":54784,"24":0,"16":3893920429768704,"44":-5818509941465108478},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,9,24,16,44]} 
[2026-09-09 20:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975218432001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:28:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-09 20:28:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:28:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5818509941465108478,"description":"Unknown IO ID 44"} 
[2026-09-09 20:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975218432001,"power":27571,"unknown_33":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5818509941465108478}} 
[2026-09-09 20:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":175822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:28:47] local.INFO: GPS data processed {"connection_id":175822,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:28:47] local.INFO: Acknowledgment sent {"connection_id":175822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:28:48] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:28:48] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:28:48] local.INFO: IMEI packet received {"connection_id":175823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":175823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:28:49] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:28:49] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:28:49] local.INFO: Packet analysis {"connection_id":175823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:28:49] local.INFO: Extracted packet for processing {"connection_id":175823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:28:49] 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-09-09 20:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:28:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":175823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:28:49] local.INFO: GPS data processed {"connection_id":175823,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:28:49] local.INFO: Acknowledgment sent {"connection_id":175823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:28:54] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:28:54] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a8a390012d34c14006aa42b8000601162c..."} 
[2026-09-09 20:28:54] local.INFO: Packet analysis {"connection_id":175823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:28:54] local.INFO: Extracted packet for processing {"connection_id":175823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a8"} 
[2026-09-09 20:28:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975115008001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788965594000,"timestamp_ms":1788965594000,"timestamp_seconds":1788965594,"priority":1,"record_length":96,"hex_timestamp":"000001a086a8a390"} 
[2026-09-09 20:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975115008001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975115008001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:28:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:28:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975115008001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":175823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:28:54] local.INFO: GPS data processed {"connection_id":175823,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:28:54] local.INFO: Acknowledgment sent {"connection_id":175823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:29:07] local.INFO: TCP Data received {"connection_id":178618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:29:07] local.INFO: Processing buffer {"connection_id":178618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:29:07] local.INFO: Packet analysis {"connection_id":178618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:29:07] local.INFO: Extracted packet for processing {"connection_id":178618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 20:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:29: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-09-09 20: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-09-09 20: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-09-09 20: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-09-09 20:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:29:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":178618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:29:07] local.INFO: GPS data processed {"connection_id":178618,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:29:07] local.INFO: Acknowledgment sent {"connection_id":178618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:29:18] local.INFO: TCP Data received {"connection_id":175822,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086ace950012caefec00936cf4002c000b82e..."} 
[2026-09-09 20:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ace950012caefec00936cf4002c000b82e..."} 
[2026-09-09 20:29:18] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ace950012caefec00936cf4002c000b82e..."} 
[2026-09-09 20:29:18] local.INFO: Packet analysis {"connection_id":175822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ac"} 
[2026-09-09 20:29:18] local.INFO: Extracted packet for processing {"connection_id":175822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ac"} 
[2026-09-09 20:29:18] local.INFO: GPS Element Parsed {"raw_longitude":749665984,"raw_latitude":154586944,"longitude_deg":74.9665984,"latitude_deg":15.4586944,"altitude":704,"angle":184,"satellites":46,"speed":0,"hex_longitude":"2caefec0","hex_latitude":"0936cf40","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975258368001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5835257702609485822,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788965874000,"timestamp_ms":1788965874000,"timestamp_seconds":1788965874,"priority":1,"record_length":96,"hex_timestamp":"000001a086ace950"} 
[2026-09-09 20:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975258368001,"66":27484,"35":206,"9":54784,"24":0,"16":3893920429768704,"44":-5835257702609485822},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,9,24,16,44]} 
[2026-09-09 20:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975258368001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:29:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-09 20:29:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:29:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5835257702609485822,"description":"Unknown IO ID 44"} 
[2026-09-09 20:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975258368001,"power":27484,"unknown_35":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5835257702609485822}} 
[2026-09-09 20:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":175822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:29:19] local.INFO: GPS data processed {"connection_id":175822,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:29:19] local.INFO: Acknowledgment sent {"connection_id":175822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:29:29] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:29:29] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:29:29] local.INFO: IMEI packet received {"connection_id":176049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":176049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:29:34] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:29:34] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:29:34] local.INFO: IMEI packet received {"connection_id":176049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":176049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:29:35] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:29:35] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:29:35] local.INFO: Packet analysis {"connection_id":176049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:29:35] local.INFO: Extracted packet for processing {"connection_id":176049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 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-09-09 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 20:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:29: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-09-09 20:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:29:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":176049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:29:35] local.INFO: GPS data processed {"connection_id":176049,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:29:35] local.INFO: Acknowledgment sent {"connection_id":176049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:29:37] local.INFO: TCP Data received {"connection_id":177213,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:29:37] local.INFO: Processing buffer {"connection_id":177213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:29:37] local.INFO: IMEI packet received {"connection_id":177213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":177213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:29:40] local.INFO: TCP Data received {"connection_id":175824,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:29:40] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:29:40] local.INFO: IMEI packet received {"connection_id":175824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":175824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:29:43] local.INFO: TCP Data received {"connection_id":177213,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:29:43] local.INFO: Processing buffer {"connection_id":177213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:29:43] local.INFO: IMEI packet received {"connection_id":177213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":177213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:29:44] local.INFO: TCP Data received {"connection_id":177213,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:29:44] local.INFO: Processing buffer {"connection_id":177213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:29:44] local.INFO: Packet analysis {"connection_id":177213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:29:44] local.INFO: Extracted packet for processing {"connection_id":177213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:29: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-09-09 20:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":177213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:29:44] local.INFO: GPS data processed {"connection_id":177213,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:29:44] local.INFO: Acknowledgment sent {"connection_id":177213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:29:45] local.INFO: TCP Data received {"connection_id":175824,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:29:45] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:29:45] local.INFO: IMEI packet received {"connection_id":175824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":175824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:29:46] local.INFO: TCP Data received {"connection_id":175824,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3f40012caeffc009369c5002bd00b52e..."} 
[2026-09-09 20:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3f40012caeffc009369c5002bd00b52e..."} 
[2026-09-09 20:29:46] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3f40012caeffc009369c5002bd00b52e..."} 
[2026-09-09 20:29:46] local.INFO: Packet analysis {"connection_id":175824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:29:46] local.INFO: Extracted packet for processing {"connection_id":175824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:29:46] local.INFO: GPS Element Parsed {"raw_longitude":749666240,"raw_latitude":154573904,"longitude_deg":74.966624,"latitude_deg":15.4573904,"altitude":701,"angle":181,"satellites":46,"speed":0,"hex_longitude":"2caeffc0","hex_latitude":"09369c50","is_valid_coordinates":true} 
[2026-09-09 20:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975263744001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5837016921218793470,"note":"Value kept but may cause issues"} 
[2026-09-09 20:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788965896000,"timestamp_ms":1788965896000,"timestamp_seconds":1788965896,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3f40"} 
[2026-09-09 20:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:29: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-09-09 20:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975263744001,"66":27615,"35":206,"9":54784,"24":0,"16":3893920429768704,"44":-5837016921218793470},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,9,24,16,44]} 
[2026-09-09 20:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975263744001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:29:46] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-09 20:29:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:29:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5837016921218793470,"description":"Unknown IO ID 44"} 
[2026-09-09 20:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975263744001,"power":27615,"unknown_35":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5837016921218793470}} 
[2026-09-09 20:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":175824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:29:47] local.INFO: GPS data processed {"connection_id":175824,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:29:47] local.INFO: Acknowledgment sent {"connection_id":175824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:30:07] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:30:07] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086a9dc10012d1965c0071ff020003b011b25..."} 
[2026-09-09 20:30:07] local.INFO: Packet analysis {"connection_id":176049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:30:07] local.INFO: Extracted packet for processing {"connection_id":176049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086a9"} 
[2026-09-09 20:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975135488001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788965674000,"timestamp_ms":1788965674000,"timestamp_seconds":1788965674,"priority":1,"record_length":96,"hex_timestamp":"000001a086a9dc10"} 
[2026-09-09 20:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:30: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-09-09 20:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975135488001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975135488001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:30:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975135488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":176049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:30:07] local.INFO: GPS data processed {"connection_id":176049,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:30:07] local.INFO: Acknowledgment sent {"connection_id":176049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:30:15] local.INFO: TCP Data received {"connection_id":177213,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:30:15] local.INFO: Processing buffer {"connection_id":177213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:30:15] local.INFO: Packet analysis {"connection_id":177213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:30:15] local.INFO: Extracted packet for processing {"connection_id":177213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:30:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":177213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:30:15] local.INFO: GPS data processed {"connection_id":177213,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:30:15] local.INFO: Acknowledgment sent {"connection_id":177213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:30:29] local.INFO: TCP Data received {"connection_id":178619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:30:29] local.INFO: Processing buffer {"connection_id":178619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:30:29] local.INFO: IMEI packet received {"connection_id":178619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":178619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:30:29] local.INFO: TCP Data received {"connection_id":175824,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad9148012caefa4009365a7002bf00b82f..."} 
[2026-09-09 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad9148012caefa4009365a7002bf00b82f..."} 
[2026-09-09 20:30:29] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad9148012caefa4009365a7002bf00b82f..."} 
[2026-09-09 20:30:29] local.INFO: Packet analysis {"connection_id":175824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:30:29] local.INFO: Extracted packet for processing {"connection_id":175824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":749664832,"raw_latitude":154557040,"longitude_deg":74.9664832,"latitude_deg":15.455704,"altitude":703,"angle":184,"satellites":47,"speed":0,"hex_longitude":"2caefa40","hex_latitude":"09365a70","is_valid_coordinates":true} 
[2026-09-09 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269376001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5836735446245421054,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788965917000,"timestamp_ms":1788965917000,"timestamp_seconds":1788965917,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad9148"} 
[2026-09-09 20:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-09 20:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269376001,"66":27517,"35":206,"9":54784,"24":0,"16":3893920429768704,"44":-5836735446245421054},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,9,24,16,44]} 
[2026-09-09 20:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269376001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:30:29] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-09 20:30:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5836735446245421054,"description":"Unknown IO ID 44"} 
[2026-09-09 20:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269376001,"power":27517,"unknown_35":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5836735446245421054}} 
[2026-09-09 20:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":175824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:30:29] local.INFO: GPS data processed {"connection_id":175824,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:30:29] local.INFO: Acknowledgment sent {"connection_id":175824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:30:34] local.INFO: TCP Data received {"connection_id":178619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:30:34] local.INFO: Processing buffer {"connection_id":178619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:30:34] local.INFO: IMEI packet received {"connection_id":178619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":178619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:30:35] local.INFO: TCP Data received {"connection_id":178619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:30:35] local.INFO: Processing buffer {"connection_id":178619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:30:35] local.INFO: Packet analysis {"connection_id":178619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:30:35] local.INFO: Extracted packet for processing {"connection_id":178619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 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-09-09 20:30:35] 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-09-09 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 20:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:30: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-09-09 20:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:30:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":178619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:30:35] local.INFO: GPS data processed {"connection_id":178619,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:30:35] local.INFO: Acknowledgment sent {"connection_id":178619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:30:38] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:30:38] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:30:38] local.INFO: IMEI packet received {"connection_id":175825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":175825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:30:40] local.INFO: TCP Data received {"connection_id":176050,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:30:40] local.INFO: Processing buffer {"connection_id":176050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:30:40] local.INFO: IMEI packet received {"connection_id":176050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":176050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:30:43] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:30:43] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:30:43] local.INFO: IMEI packet received {"connection_id":175825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":175825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:30:44] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:30:44] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:30:44] local.INFO: Packet analysis {"connection_id":175825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:30:44] local.INFO: Extracted packet for processing {"connection_id":175825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:30: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-09-09 20:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":175825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:30:44] local.INFO: GPS data processed {"connection_id":175825,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:30:44] local.INFO: Acknowledgment sent {"connection_id":175825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:30:46] local.INFO: TCP Data received {"connection_id":176050,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:30:46] local.INFO: Processing buffer {"connection_id":176050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:30:46] local.INFO: IMEI packet received {"connection_id":176050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":176050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:30:47] local.INFO: TCP Data received {"connection_id":176050,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086adcfc8012caefbc0093612b002c100ad2d..."} 
[2026-09-09 20:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086adcfc8012caefbc0093612b002c100ad2d..."} 
[2026-09-09 20:30:47] local.INFO: Processing buffer {"connection_id":176050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086adcfc8012caefbc0093612b002c100ad2d..."} 
[2026-09-09 20:30:47] local.INFO: Packet analysis {"connection_id":176050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:30:47] local.INFO: Extracted packet for processing {"connection_id":176050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:30:47] local.INFO: GPS Element Parsed {"raw_longitude":749665216,"raw_latitude":154538672,"longitude_deg":74.9665216,"latitude_deg":15.4538672,"altitude":705,"angle":173,"satellites":45,"speed":39,"hex_longitude":"2caefbc0","hex_latitude":"093612b0","is_valid_coordinates":true} 
[2026-09-09 20:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975274752001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5838283558621646846,"note":"Value kept but may cause issues"} 
[2026-09-09 20:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788965933000,"timestamp_ms":1788965933000,"timestamp_seconds":1788965933,"priority":1,"record_length":96,"hex_timestamp":"000001a086adcfc8"} 
[2026-09-09 20:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 20:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975274752001,"66":27517,"35":206,"9":54784,"24":39,"16":3893920429768704,"44":-5838283558621646846},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,9,24,16,44]} 
[2026-09-09 20:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975274752001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:30:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-09 20:30:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:30:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5838283558621646846,"description":"Unknown IO ID 44"} 
[2026-09-09 20:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975274752001,"power":27517,"unknown_35":206,"unknown_9":54784,"ignition":39,"odometer":null,"unknown_44":-5838283558621646846}} 
[2026-09-09 20:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":176050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:30:47] local.INFO: GPS data processed {"connection_id":176050,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:30:47] local.INFO: Acknowledgment sent {"connection_id":176050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:31:06] local.INFO: TCP Data received {"connection_id":178619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:31:06] local.INFO: Processing buffer {"connection_id":178619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:31:06] local.INFO: Packet analysis {"connection_id":178619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:31:06] local.INFO: Extracted packet for processing {"connection_id":178619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 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-09-09 20:31: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-09-09 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-09-09 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-09-09 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-09-09 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-09-09 20:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:31:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":178619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:31:06] local.INFO: GPS data processed {"connection_id":178619,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:31:06] local.INFO: Acknowledgment sent {"connection_id":178619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:31:16] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:31:16] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:31:16] local.INFO: Packet analysis {"connection_id":175825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:31:16] local.INFO: Extracted packet for processing {"connection_id":175825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":175825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:31:16] local.INFO: GPS data processed {"connection_id":175825,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:31:16] local.INFO: Acknowledgment sent {"connection_id":175825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:31:18] local.INFO: TCP Data received {"connection_id":176050,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae21d0012caf09c00935cf4002c900a32d..."} 
[2026-09-09 20:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae21d0012caf09c00935cf4002c900a32d..."} 
[2026-09-09 20:31:18] local.INFO: Processing buffer {"connection_id":176050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae21d0012caf09c00935cf4002c900a32d..."} 
[2026-09-09 20:31:18] local.INFO: Packet analysis {"connection_id":176050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:31:18] local.INFO: Extracted packet for processing {"connection_id":176050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:31:18] local.INFO: GPS Element Parsed {"raw_longitude":749668800,"raw_latitude":154521408,"longitude_deg":74.96688,"latitude_deg":15.4521408,"altitude":713,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2caf09c0","hex_latitude":"0935cf40","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975278848001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5837861346161283070,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788965954000,"timestamp_ms":1788965954000,"timestamp_seconds":1788965954,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae21d0"} 
[2026-09-09 20:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 20:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975278848001,"66":27767,"35":206,"9":54784,"24":0,"16":3893920429768704,"44":-5837861346161283070},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,9,24,16,44]} 
[2026-09-09 20:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975278848001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:31:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-09 20:31:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:31:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5837861346161283070,"description":"Unknown IO ID 44"} 
[2026-09-09 20:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975278848001,"power":27767,"unknown_35":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5837861346161283070}} 
[2026-09-09 20:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":176050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:31:18] local.INFO: GPS data processed {"connection_id":176050,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:31:18] local.INFO: Acknowledgment sent {"connection_id":176050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:31:29] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:31:29] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:31:29] local.INFO: IMEI packet received {"connection_id":175826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":175826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:31:34] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:31:34] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:31:34] local.INFO: IMEI packet received {"connection_id":175826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":175826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:31:35] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:31:35] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:31:35] local.INFO: Packet analysis {"connection_id":175826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:31:35] local.INFO: Extracted packet for processing {"connection_id":175826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 20:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:31:35] 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-09-09 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:31: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-09-09 20:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:31:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":175826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:31:35] local.INFO: GPS data processed {"connection_id":175826,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:31:35] local.INFO: Acknowledgment sent {"connection_id":175826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:31:37] local.INFO: TCP Data received {"connection_id":177214,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:31:37] local.INFO: Processing buffer {"connection_id":177214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:31:37] local.INFO: IMEI packet received {"connection_id":177214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":177214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:31:41] local.INFO: TCP Data received {"connection_id":175827,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:31:41] local.INFO: Processing buffer {"connection_id":175827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:31:41] local.INFO: IMEI packet received {"connection_id":175827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":175827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:31:43] local.INFO: TCP Data received {"connection_id":175827,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:31:43] local.INFO: Processing buffer {"connection_id":175827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:31:43] local.INFO: IMEI packet received {"connection_id":175827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":175827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:31:43] local.INFO: TCP Data received {"connection_id":177214,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:31:43] local.INFO: Processing buffer {"connection_id":177214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:31:43] local.INFO: IMEI packet received {"connection_id":177214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":177214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:31:44] local.INFO: TCP Data received {"connection_id":177214,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:31:44] local.INFO: Processing buffer {"connection_id":177214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:31:44] local.INFO: Packet analysis {"connection_id":177214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:31:44] local.INFO: Extracted packet for processing {"connection_id":177214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":177214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:31:44] local.INFO: GPS data processed {"connection_id":177214,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:31:44] local.INFO: Acknowledgment sent {"connection_id":177214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:31:45] local.INFO: TCP Data received {"connection_id":175827,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:31:45] local.INFO: Processing buffer {"connection_id":175827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:31:45] local.INFO: IMEI packet received {"connection_id":175827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":175827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:31:46] local.INFO: TCP Data received {"connection_id":175827,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012caf22000935917002d0009b2d..."} 
[2026-09-09 20:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012caf22000935917002d0009b2d..."} 
[2026-09-09 20:31:46] local.INFO: Processing buffer {"connection_id":175827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012caf22000935917002d0009b2d..."} 
[2026-09-09 20:31:46] local.INFO: Packet analysis {"connection_id":175827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:31:46] local.INFO: Extracted packet for processing {"connection_id":175827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:31:46] local.INFO: GPS Element Parsed {"raw_longitude":749675008,"raw_latitude":154505584,"longitude_deg":74.9675008,"latitude_deg":15.4505584,"altitude":720,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2caf2200","hex_latitude":"09359170","is_valid_coordinates":true} 
[2026-09-09 20:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975284224001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5833920696491753470,"note":"Value kept but may cause issues"} 
[2026-09-09 20:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 20:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 20:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975284224001,"66":27745,"35":206,"9":54784,"24":0,"16":3893920429768704,"44":-5833920696491753470},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,9,24,16,44]} 
[2026-09-09 20:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975284224001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:31:46] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-09 20:31:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:31:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5833920696491753470,"description":"Unknown IO ID 44"} 
[2026-09-09 20:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975284224001,"power":27745,"unknown_35":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5833920696491753470}} 
[2026-09-09 20:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":175827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:31:46] local.INFO: GPS data processed {"connection_id":175827,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:31:46] local.INFO: Acknowledgment sent {"connection_id":175827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:32:07] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:32:07] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:32:07] local.INFO: Packet analysis {"connection_id":175826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:32:07] local.INFO: Extracted packet for processing {"connection_id":175826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32: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-09-09 20:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 20:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:32: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-09-09 20: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":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:32: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-09-09 20: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-09-09 20:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:32: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-09-09 20:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:32:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":175826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:32:07] local.INFO: GPS data processed {"connection_id":175826,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:32:07] local.INFO: Acknowledgment sent {"connection_id":175826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:32:16] local.INFO: TCP Data received {"connection_id":177214,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:32:16] local.INFO: Processing buffer {"connection_id":177214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:32:16] local.INFO: Packet analysis {"connection_id":177214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:32:16] local.INFO: Extracted packet for processing {"connection_id":177214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":177214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:32:16] local.INFO: GPS data processed {"connection_id":177214,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:32:16] local.INFO: Acknowledgment sent {"connection_id":177214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:32:18] local.INFO: TCP Data received {"connection_id":175827,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086aec5e0012caf3cc0093556e002d5009e2a..."} 
[2026-09-09 20:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086aec5e0012caf3cc0093556e002d5009e2a..."} 
[2026-09-09 20:32:18] local.INFO: Processing buffer {"connection_id":175827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086aec5e0012caf3cc0093556e002d5009e2a..."} 
[2026-09-09 20:32:18] local.INFO: Packet analysis {"connection_id":175827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:32:18] local.INFO: Extracted packet for processing {"connection_id":175827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":749681856,"raw_latitude":154490592,"longitude_deg":74.9681856,"latitude_deg":15.4490592,"altitude":725,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2caf3cc0","hex_latitude":"093556e0","is_valid_coordinates":true} 
[2026-09-09 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5827094928310571006,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788965996000,"timestamp_ms":1788965996000,"timestamp_seconds":1788965996,"priority":1,"record_length":96,"hex_timestamp":"000001a086aec5e0"} 
[2026-09-09 20:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 20:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":27517,"203":206,"9":54784,"24":0,"16":3893920429768704,"44":-5827094928310571006},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,9,24,16,44]} 
[2026-09-09 20:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:32:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:32:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5827094928310571006,"description":"Unknown IO ID 44"} 
[2026-09-09 20:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":27517,"mnc":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5827094928310571006}} 
[2026-09-09 20:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":175827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:32:18] local.INFO: GPS data processed {"connection_id":175827,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:32:18] local.INFO: Acknowledgment sent {"connection_id":175827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:32:34] local.INFO: TCP Data received {"connection_id":176051,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:32:34] local.INFO: Processing buffer {"connection_id":176051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:32:34] local.INFO: IMEI packet received {"connection_id":176051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":176051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:32:39] local.INFO: TCP Data received {"connection_id":176051,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:32:39] local.INFO: Processing buffer {"connection_id":176051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:32:39] local.INFO: IMEI packet received {"connection_id":176051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":176051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:32:40] local.INFO: TCP Data received {"connection_id":176051,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:32:40] local.INFO: Processing buffer {"connection_id":176051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:32:40] local.INFO: Packet analysis {"connection_id":176051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:32:40] local.INFO: Extracted packet for processing {"connection_id":176051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32: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-09-09 20:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 20:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:32:40] 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-09-09 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:32:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":176051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:32:40] local.INFO: GPS data processed {"connection_id":176051,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:32:40] local.INFO: Acknowledgment sent {"connection_id":176051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:32:44] local.INFO: TCP Data received {"connection_id":178620,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:32:44] local.INFO: Processing buffer {"connection_id":178620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:32:44] local.INFO: IMEI packet received {"connection_id":178620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":178620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:32:46] local.INFO: TCP Data received {"connection_id":177215,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:32:46] local.INFO: Processing buffer {"connection_id":177215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:32:46] local.INFO: IMEI packet received {"connection_id":177215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":177215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:32:48] local.INFO: TCP Data received {"connection_id":177215,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:32:48] local.INFO: Processing buffer {"connection_id":177215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:32:48] local.INFO: IMEI packet received {"connection_id":177215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":177215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:32:48] local.INFO: TCP Data received {"connection_id":178620,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:32:48] local.INFO: Processing buffer {"connection_id":178620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:32:48] local.INFO: IMEI packet received {"connection_id":178620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":178620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:32:48] local.INFO: TCP Data received {"connection_id":177215,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086af17e8012caf4cc00935286002d7009a2e..."} 
[2026-09-09 20:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086af17e8012caf4cc00935286002d7009a2e..."} 
[2026-09-09 20:32:48] local.INFO: Processing buffer {"connection_id":177215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086af17e8012caf4cc00935286002d7009a2e..."} 
[2026-09-09 20:32:48] local.INFO: Packet analysis {"connection_id":177215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086af"} 
[2026-09-09 20:32:48] local.INFO: Extracted packet for processing {"connection_id":177215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086af"} 
[2026-09-09 20:32:48] local.INFO: GPS Element Parsed {"raw_longitude":749685952,"raw_latitude":154478688,"longitude_deg":74.9685952,"latitude_deg":15.4478688,"altitude":727,"angle":154,"satellites":46,"speed":24,"hex_longitude":"2caf4cc0","hex_latitude":"09352860","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975294976001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5819565472687398910,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788966017000,"timestamp_ms":1788966017000,"timestamp_seconds":1788966017,"priority":1,"record_length":96,"hex_timestamp":"000001a086af17e8"} 
[2026-09-09 20:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 20:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975294976001,"66":27245,"203":206,"9":54784,"24":24,"16":3893920429768704,"44":-5819565472687398910},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,9,24,16,44]} 
[2026-09-09 20:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975294976001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:32:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5819565472687398910,"description":"Unknown IO ID 44"} 
[2026-09-09 20:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975294976001,"power":27245,"mnc":206,"unknown_9":54784,"ignition":24,"odometer":null,"unknown_44":-5819565472687398910}} 
[2026-09-09 20:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":177215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:32:49] local.INFO: GPS data processed {"connection_id":177215,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:32:49] local.INFO: Acknowledgment sent {"connection_id":177215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:32:49] local.INFO: TCP Data received {"connection_id":178620,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:32:49] local.INFO: Processing buffer {"connection_id":178620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:32:49] local.INFO: Packet analysis {"connection_id":178620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:32:49] local.INFO: Extracted packet for processing {"connection_id":178620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":178620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:32:49] local.INFO: GPS data processed {"connection_id":178620,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:32:49] local.INFO: Acknowledgment sent {"connection_id":178620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:32:51] local.INFO: TCP Data received {"connection_id":177215,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086affa780100000000000000000000000000..."} 
[2026-09-09 20:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086affa780100000000000000000000000000..."} 
[2026-09-09 20:32:51] local.INFO: Processing buffer {"connection_id":177215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086affa780100000000000000000000000000..."} 
[2026-09-09 20:32:51] local.INFO: Packet analysis {"connection_id":177215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086af"} 
[2026-09-09 20:32:51] local.INFO: Extracted packet for processing {"connection_id":177215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086af"} 
[2026-09-09 20:32:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 20:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975300352001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5815061873063075838,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788966075000,"timestamp_ms":1788966075000,"timestamp_seconds":1788966075,"priority":1,"record_length":96,"hex_timestamp":"000001a086affa78"} 
[2026-09-09 20:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:32: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-09-09 20:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-09 20:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":177215,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 20:32:51] local.INFO: GPS data processed {"connection_id":177215,"processed":0,"errors":0,"total":1} 
[2026-09-09 20:32:51] local.INFO: Acknowledgment sent {"connection_id":177215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:32:53] local.INFO: TCP Data received {"connection_id":178620,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:32:53] local.INFO: Processing buffer {"connection_id":178620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:32:53] local.INFO: Packet analysis {"connection_id":178620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:32:53] local.INFO: Extracted packet for processing {"connection_id":178620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":178620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:32:53] local.INFO: GPS data processed {"connection_id":178620,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:32:53] local.INFO: Acknowledgment sent {"connection_id":178620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:33:11] local.INFO: TCP Data received {"connection_id":176051,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:33:11] local.INFO: Processing buffer {"connection_id":176051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:33:11] local.INFO: Packet analysis {"connection_id":176051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:33:11] local.INFO: Extracted packet for processing {"connection_id":176051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20: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-09-09 20:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 20:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:33: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-09-09 20: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-09-09 20: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-09-09 20: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-09-09 20:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:33:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":176051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:33:11] local.INFO: GPS data processed {"connection_id":176051,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:33:11] local.INFO: Acknowledgment sent {"connection_id":176051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:33:22] local.INFO: TCP Data received {"connection_id":177215,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086af71c0012caf63800934f69002d9009e2d..."} 
[2026-09-09 20:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086af71c0012caf63800934f69002d9009e2d..."} 
[2026-09-09 20:33:22] local.INFO: Processing buffer {"connection_id":177215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086af71c0012caf63800934f69002d9009e2d..."} 
[2026-09-09 20:33:22] local.INFO: Packet analysis {"connection_id":177215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086af"} 
[2026-09-09 20:33:22] local.INFO: Extracted packet for processing {"connection_id":177215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086af"} 
[2026-09-09 20:33:22] local.INFO: GPS Element Parsed {"raw_longitude":749691776,"raw_latitude":154465936,"longitude_deg":74.9691776,"latitude_deg":15.4465936,"altitude":729,"angle":158,"satellites":45,"speed":16,"hex_longitude":"2caf6380","hex_latitude":"0934f690","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,203,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 20:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788966040000,"timestamp_ms":1788966040000,"timestamp_seconds":1788966040,"priority":1,"record_length":96,"hex_timestamp":"000001a086af71c0"} 
[2026-09-09 20:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:33: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 20:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27571,"203":206,"9":54784,"24":16,"16":3893920429768704},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,9,24,16]} 
[2026-09-09 20:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 20:33:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:33:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27571,"mnc":206,"unknown_9":54784,"ignition":16,"odometer":null}} 
[2026-09-09 20:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":177215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:33:23] local.INFO: GPS data processed {"connection_id":177215,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:33:23] local.INFO: Acknowledgment sent {"connection_id":177215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:33:29] local.INFO: TCP Data received {"connection_id":177216,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:33:29] local.INFO: Processing buffer {"connection_id":177216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:33:29] local.INFO: IMEI packet received {"connection_id":177216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":177216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:33:34] local.INFO: TCP Data received {"connection_id":177216,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:33:34] local.INFO: Processing buffer {"connection_id":177216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:33:34] local.INFO: IMEI packet received {"connection_id":177216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":177216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:33:35] local.INFO: TCP Data received {"connection_id":177216,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:33:35] local.INFO: Processing buffer {"connection_id":177216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:33:35] local.INFO: Packet analysis {"connection_id":177216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:33:35] local.INFO: Extracted packet for processing {"connection_id":177216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 20:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:33:35] 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-09-09 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:33:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":177216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:33:35] local.INFO: GPS data processed {"connection_id":177216,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:33:35] local.INFO: Acknowledgment sent {"connection_id":177216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:33:38] local.INFO: TCP Data received {"connection_id":175828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:33:38] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:33:38] local.INFO: IMEI packet received {"connection_id":175828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":175828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:33:41] local.INFO: TCP Data received {"connection_id":178621,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:33:41] local.INFO: Processing buffer {"connection_id":178621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:33:41] local.INFO: IMEI packet received {"connection_id":178621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":178621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:33:43] local.INFO: TCP Data received {"connection_id":175828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:33:43] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:33:43] local.INFO: IMEI packet received {"connection_id":175828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":175828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:33:44] local.INFO: TCP Data received {"connection_id":175828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:33:44] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:33:44] local.INFO: Packet analysis {"connection_id":175828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:33:44] local.INFO: Extracted packet for processing {"connection_id":175828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":175828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:33:44] local.INFO: GPS data processed {"connection_id":175828,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:33:44] local.INFO: Acknowledgment sent {"connection_id":175828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:33:45] local.INFO: TCP Data received {"connection_id":178621,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:33:45] local.INFO: Processing buffer {"connection_id":178621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:33:45] local.INFO: IMEI packet received {"connection_id":178621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":178621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:33:47] local.INFO: TCP Data received {"connection_id":178621,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086b054500100000000000000000000000000..."} 
[2026-09-09 20:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b054500100000000000000000000000000..."} 
[2026-09-09 20:33:47] local.INFO: Processing buffer {"connection_id":178621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b054500100000000000000000000000000..."} 
[2026-09-09 20:33:47] local.INFO: Packet analysis {"connection_id":178621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b0"} 
[2026-09-09 20:33:47] local.INFO: Extracted packet for processing {"connection_id":178621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b0"} 
[2026-09-09 20:33:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 20:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975306240001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5808658317346172926,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788966098000,"timestamp_ms":1788966098000,"timestamp_seconds":1788966098,"priority":1,"record_length":96,"hex_timestamp":"000001a086b05450"} 
[2026-09-09 20:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 20:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":178621,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 20:33:47] local.INFO: GPS data processed {"connection_id":178621,"processed":0,"errors":0,"total":1} 
[2026-09-09 20:33:47] local.INFO: Acknowledgment sent {"connection_id":178621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:33:49] local.INFO: TCP Data received {"connection_id":175828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:33:49] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ad3b58012d34c14006aa42b80008011629..."} 
[2026-09-09 20:33:49] local.INFO: Packet analysis {"connection_id":175828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:33:49] local.INFO: Extracted packet for processing {"connection_id":175828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ad"} 
[2026-09-09 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975192064001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788965895000,"timestamp_ms":1788965895000,"timestamp_seconds":1788965895,"priority":1,"record_length":96,"hex_timestamp":"000001a086ad3b58"} 
[2026-09-09 20:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 20:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975192064001,"66":25397,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975192064001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975192064001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":175828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:33:49] local.INFO: GPS data processed {"connection_id":175828,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:33:49] local.INFO: Acknowledgment sent {"connection_id":175828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:34:06] local.INFO: TCP Data received {"connection_id":177216,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:34:06] local.INFO: Processing buffer {"connection_id":177216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:34:06] local.INFO: Packet analysis {"connection_id":177216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:34:06] local.INFO: Extracted packet for processing {"connection_id":177216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34: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-09-09 20:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 20:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:34: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-09-09 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:34: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-09-09 20: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-09-09 20:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:34:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":177216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:34:07] local.INFO: GPS data processed {"connection_id":177216,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:34:07] local.INFO: Acknowledgment sent {"connection_id":177216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:34:18] local.INFO: TCP Data received {"connection_id":178621,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086afd368012caf72c00934b7d002d400b12d..."} 
[2026-09-09 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086afd368012caf72c00934b7d002d400b12d..."} 
[2026-09-09 20:34:18] local.INFO: Processing buffer {"connection_id":178621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086afd368012caf72c00934b7d002d400b12d..."} 
[2026-09-09 20:34:18] local.INFO: Packet analysis {"connection_id":178621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086af"} 
[2026-09-09 20:34:18] local.INFO: Extracted packet for processing {"connection_id":178621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086af"} 
[2026-09-09 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":749695680,"raw_latitude":154449872,"longitude_deg":74.969568,"latitude_deg":15.4449872,"altitude":724,"angle":177,"satellites":45,"speed":25,"hex_longitude":"2caf72c0","hex_latitude":"0934b7d0","is_valid_coordinates":true} 
[2026-09-09 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,60,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 20:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788966065000,"timestamp_ms":1788966065000,"timestamp_seconds":1788966065,"priority":1,"record_length":96,"hex_timestamp":"000001a086afd368"} 
[2026-09-09 20:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:34:18] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 20:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"60":206,"9":54784,"24":25,"16":3893920429768704},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,9,24,16]} 
[2026-09-09 20:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 20:34:18] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-09 20:34:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:34:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_60":206,"unknown_9":54784,"ignition":25,"odometer":null}} 
[2026-09-09 20:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":178621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:34:18] local.INFO: GPS data processed {"connection_id":178621,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:34:18] local.INFO: Acknowledgment sent {"connection_id":178621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:34:20] local.INFO: TCP Data received {"connection_id":175828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:34:20] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:34:20] local.INFO: Packet analysis {"connection_id":175828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:34:20] local.INFO: Extracted packet for processing {"connection_id":175828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":175828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:34:20] local.INFO: GPS data processed {"connection_id":175828,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:34:20] local.INFO: Acknowledgment sent {"connection_id":175828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:34:30] local.INFO: TCP Data received {"connection_id":178622,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:34:30] local.INFO: Processing buffer {"connection_id":178622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:34:30] local.INFO: IMEI packet received {"connection_id":178622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":178622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:34:34] local.INFO: TCP Data received {"connection_id":178622,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:34:34] local.INFO: Processing buffer {"connection_id":178622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:34:34] local.INFO: IMEI packet received {"connection_id":178622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":178622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:34:35] local.INFO: TCP Data received {"connection_id":178622,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:34:35] local.INFO: Processing buffer {"connection_id":178622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:34:35] local.INFO: Packet analysis {"connection_id":178622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:34:35] local.INFO: Extracted packet for processing {"connection_id":178622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 20:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:34:35] 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-09-09 20:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:34:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":178622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:34:35] local.INFO: GPS data processed {"connection_id":178622,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:34:35] local.INFO: Acknowledgment sent {"connection_id":178622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:34:37] local.INFO: TCP Data received {"connection_id":177217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:34:37] local.INFO: Processing buffer {"connection_id":177217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:34:37] local.INFO: IMEI packet received {"connection_id":177217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":177217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:34:41] local.INFO: TCP Data received {"connection_id":176052,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:34:41] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:34:41] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:34:43] local.INFO: TCP Data received {"connection_id":177217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:34:43] local.INFO: Processing buffer {"connection_id":177217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:34:43] local.INFO: IMEI packet received {"connection_id":177217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":177217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:34:44] local.INFO: TCP Data received {"connection_id":177217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:34:44] local.INFO: Processing buffer {"connection_id":177217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:34:44] local.INFO: Packet analysis {"connection_id":177217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:34:44] local.INFO: Extracted packet for processing {"connection_id":177217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":177217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:34:44] local.INFO: GPS data processed {"connection_id":177217,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:34:44] local.INFO: Acknowledgment sent {"connection_id":177217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:34:46] local.INFO: TCP Data received {"connection_id":176052,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:34:46] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:34:46] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:34:47] local.INFO: TCP Data received {"connection_id":176052,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086b0b5f80100000000000000000000000000..."} 
[2026-09-09 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b0b5f80100000000000000000000000000..."} 
[2026-09-09 20:34:47] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b0b5f80100000000000000000000000000..."} 
[2026-09-09 20:34:47] local.INFO: Packet analysis {"connection_id":176052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b0"} 
[2026-09-09 20:34:47] local.INFO: Extracted packet for processing {"connection_id":176052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b0"} 
[2026-09-09 20:34:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 20:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975312640001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5804365823955447806,"note":"Value kept but may cause issues"} 
[2026-09-09 20:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788966123000,"timestamp_ms":1788966123000,"timestamp_seconds":1788966123,"priority":1,"record_length":96,"hex_timestamp":"000001a086b0b5f8"} 
[2026-09-09 20:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176052,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176052,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":176052,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 20:34:47] local.INFO: GPS data processed {"connection_id":176052,"processed":0,"errors":0,"total":1} 
[2026-09-09 20:34:47] local.INFO: Acknowledgment sent {"connection_id":176052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:35:06] local.INFO: TCP Data received {"connection_id":178622,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:35:06] local.INFO: Processing buffer {"connection_id":178622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ae73d8012d1965c0071ff020003b011b23..."} 
[2026-09-09 20:35:06] local.INFO: Packet analysis {"connection_id":178622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:35:06] local.INFO: Extracted packet for processing {"connection_id":178622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ae"} 
[2026-09-09 20:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975212544001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788965975000,"timestamp_ms":1788965975000,"timestamp_seconds":1788965975,"priority":1,"record_length":96,"hex_timestamp":"000001a086ae73d8"} 
[2026-09-09 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-09-09 20:35: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-09-09 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":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:35: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-09-09 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-09-09 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-09-09 20:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975212544001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975212544001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975212544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":178622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:35:07] local.INFO: GPS data processed {"connection_id":178622,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:35:07] local.INFO: Acknowledgment sent {"connection_id":178622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:35:17] local.INFO: TCP Data received {"connection_id":177217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:35:17] local.INFO: Processing buffer {"connection_id":177217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:35:17] local.INFO: Packet analysis {"connection_id":177217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:35:17] local.INFO: Extracted packet for processing {"connection_id":177217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":177217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:35:17] local.INFO: GPS data processed {"connection_id":177217,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:35:17] local.INFO: Acknowledgment sent {"connection_id":177217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:35:19] local.INFO: TCP Data received {"connection_id":176052,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086b02d40012caf71c009347ac002d400bc2e..."} 
[2026-09-09 20:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b02d40012caf71c009347ac002d400bc2e..."} 
[2026-09-09 20:35:19] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b02d40012caf71c009347ac002d400bc2e..."} 
[2026-09-09 20:35:19] local.INFO: Packet analysis {"connection_id":176052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b0"} 
[2026-09-09 20:35:19] local.INFO: Extracted packet for processing {"connection_id":176052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b0"} 
[2026-09-09 20:35:19] local.INFO: GPS Element Parsed {"raw_longitude":749695424,"raw_latitude":154434240,"longitude_deg":74.9695424,"latitude_deg":15.443424,"altitude":724,"angle":188,"satellites":46,"speed":26,"hex_longitude":"2caf71c0","hex_latitude":"09347ac0","is_valid_coordinates":true} 
[2026-09-09 20:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,60,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 20:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788966088000,"timestamp_ms":1788966088000,"timestamp_seconds":1788966088,"priority":1,"record_length":96,"hex_timestamp":"000001a086b02d40"} 
[2026-09-09 20:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:35: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 20:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176052,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176052,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"60":206,"9":54784,"24":26,"16":3893920429768704},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,9,24,16]} 
[2026-09-09 20:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 20:35:19] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-09 20:35:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:35:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"unknown_60":206,"unknown_9":54784,"ignition":26,"odometer":null}} 
[2026-09-09 20:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":176052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:35:19] local.INFO: GPS data processed {"connection_id":176052,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:35:19] local.INFO: Acknowledgment sent {"connection_id":176052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:35:29] local.INFO: TCP Data received {"connection_id":175829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:35:29] local.INFO: Processing buffer {"connection_id":175829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:35:29] local.INFO: IMEI packet received {"connection_id":175829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":175829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:35:34] local.INFO: TCP Data received {"connection_id":175829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:35:34] local.INFO: Processing buffer {"connection_id":175829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:35:34] local.INFO: IMEI packet received {"connection_id":175829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":175829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:35:35] local.INFO: TCP Data received {"connection_id":175829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:35:35] local.INFO: Processing buffer {"connection_id":175829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:35:35] local.INFO: Packet analysis {"connection_id":175829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:35:35] local.INFO: Extracted packet for processing {"connection_id":175829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 20:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:35:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":175829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:35:35] local.INFO: GPS data processed {"connection_id":175829,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:35:35] local.INFO: Acknowledgment sent {"connection_id":175829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:35:37] local.INFO: TCP Data received {"connection_id":177218,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:35:37] local.INFO: Processing buffer {"connection_id":177218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:35:37] local.INFO: IMEI packet received {"connection_id":177218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":177218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:35:40] local.INFO: TCP Data received {"connection_id":178623,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:35:40] local.INFO: Processing buffer {"connection_id":178623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:35:40] local.INFO: IMEI packet received {"connection_id":178623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":178623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:35:43] local.INFO: TCP Data received {"connection_id":177218,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:35:43] local.INFO: Processing buffer {"connection_id":177218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:35:43] local.INFO: IMEI packet received {"connection_id":177218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":177218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:35:44] local.INFO: TCP Data received {"connection_id":177218,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:35:44] local.INFO: Processing buffer {"connection_id":177218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:35:44] local.INFO: Packet analysis {"connection_id":177218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:35:44] local.INFO: Extracted packet for processing {"connection_id":177218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":177218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:35:44] local.INFO: GPS data processed {"connection_id":177218,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:35:44] local.INFO: Acknowledgment sent {"connection_id":177218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:35:45] local.INFO: TCP Data received {"connection_id":178623,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:35:45] local.INFO: Processing buffer {"connection_id":178623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:35:45] local.INFO: IMEI packet received {"connection_id":178623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":178623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:35:47] local.INFO: TCP Data received {"connection_id":178623,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086b07f48012caf71c009347ac002d400bc2e..."} 
[2026-09-09 20:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b07f48012caf71c009347ac002d400bc2e..."} 
[2026-09-09 20:35:47] local.INFO: Processing buffer {"connection_id":178623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b07f48012caf71c009347ac002d400bc2e..."} 
[2026-09-09 20:35:47] local.INFO: Packet analysis {"connection_id":178623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b0"} 
[2026-09-09 20:35:47] local.INFO: Extracted packet for processing {"connection_id":178623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b0"} 
[2026-09-09 20:35:47] local.INFO: GPS Element Parsed {"raw_longitude":749695424,"raw_latitude":154434240,"longitude_deg":74.9695424,"latitude_deg":15.443424,"altitude":724,"angle":188,"satellites":46,"speed":0,"hex_longitude":"2caf71c0","hex_latitude":"09347ac0","is_valid_coordinates":true} 
[2026-09-09 20:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975318528001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5804647298936160254,"note":"Value kept but may cause issues"} 
[2026-09-09 20:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788966109000,"timestamp_ms":1788966109000,"timestamp_seconds":1788966109,"priority":1,"record_length":96,"hex_timestamp":"000001a086b07f48"} 
[2026-09-09 20:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 20:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975318528001,"66":27691,"60":206,"9":54784,"24":0,"16":3893920429768704,"44":-5804647298936160254},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,9,24,16,44]} 
[2026-09-09 20:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975318528001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:35:47] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-09 20:35:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:35:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5804647298936160254,"description":"Unknown IO ID 44"} 
[2026-09-09 20:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975318528001,"power":27691,"unknown_60":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5804647298936160254}} 
[2026-09-09 20:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":178623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:35:47] local.INFO: GPS data processed {"connection_id":178623,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:35:47] local.INFO: Acknowledgment sent {"connection_id":178623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:36:06] local.INFO: TCP Data received {"connection_id":175829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:36:06] local.INFO: Processing buffer {"connection_id":175829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:36:06] local.INFO: Packet analysis {"connection_id":175829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:06] local.INFO: Extracted packet for processing {"connection_id":175829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 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-09-09 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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-09-09 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-09-09 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-09-09 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-09-09 20:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":175829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:36:07] local.INFO: GPS data processed {"connection_id":175829,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:36:07] local.INFO: Acknowledgment sent {"connection_id":175829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:36:15] local.INFO: TCP Data received {"connection_id":177218,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:36:15] local.INFO: Processing buffer {"connection_id":177218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:36:15] local.INFO: Packet analysis {"connection_id":177218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:36:15] local.INFO: Extracted packet for processing {"connection_id":177218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":177218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:36:15] local.INFO: GPS data processed {"connection_id":177218,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:36:15] local.INFO: Acknowledgment sent {"connection_id":177218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:36:19] local.INFO: TCP Data received {"connection_id":178623,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086b3afb0012caf070009328f7002b2009b2f..."} 
[2026-09-09 20:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b3afb0012caf070009328f7002b2009b2f..."} 
[2026-09-09 20:36:19] local.INFO: Processing buffer {"connection_id":178623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b3afb0012caf070009328f7002b2009b2f..."} 
[2026-09-09 20:36:19] local.INFO: Packet analysis {"connection_id":178623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:19] local.INFO: Extracted packet for processing {"connection_id":178623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:19] local.INFO: GPS Element Parsed {"raw_longitude":749668096,"raw_latitude":154308464,"longitude_deg":74.9668096,"latitude_deg":15.4308464,"altitude":690,"angle":155,"satellites":47,"speed":39,"hex_longitude":"2caf0700","hex_latitude":"09328f70","is_valid_coordinates":true} 
[2026-09-09 20:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975372032001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5840464989750419454,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788966318000,"timestamp_ms":1788966318000,"timestamp_seconds":1788966318,"priority":1,"record_length":96,"hex_timestamp":"000001a086b3afb0"} 
[2026-09-09 20:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:36: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-09-09 20:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 20:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975372032001,"66":27713,"98":206,"9":54784,"24":39,"16":3893920429768704,"44":-5840464989750419454},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,9,24,16,44]} 
[2026-09-09 20:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975372032001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:36:19] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-09 20:36:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5840464989750419454,"description":"Unknown IO ID 44"} 
[2026-09-09 20:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975372032001,"power":27713,"unknown_98":206,"unknown_9":54784,"ignition":39,"odometer":null,"unknown_44":-5840464989750419454}} 
[2026-09-09 20:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":178623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:36:19] local.INFO: GPS data processed {"connection_id":178623,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:36:19] local.INFO: Acknowledgment sent {"connection_id":178623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:36:34] local.INFO: TCP Data received {"connection_id":178624,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:36:34] local.INFO: Processing buffer {"connection_id":178624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:36:34] local.INFO: IMEI packet received {"connection_id":178624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":178624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:36:38] local.INFO: TCP Data received {"connection_id":177219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:36:38] local.INFO: Processing buffer {"connection_id":177219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:36:38] local.INFO: IMEI packet received {"connection_id":177219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":177219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:36:39] local.INFO: TCP Data received {"connection_id":178624,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:36:39] local.INFO: Processing buffer {"connection_id":178624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:36:39] local.INFO: IMEI packet received {"connection_id":178624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":178624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:36:40] local.INFO: TCP Data received {"connection_id":178624,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:36:40] local.INFO: Processing buffer {"connection_id":178624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:36:40] local.INFO: Packet analysis {"connection_id":178624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:40] local.INFO: Extracted packet for processing {"connection_id":178624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 20:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:36:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:36:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":178624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:36:40] local.INFO: GPS data processed {"connection_id":178624,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:36:40] local.INFO: Acknowledgment sent {"connection_id":178624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:36:40] local.INFO: TCP Data received {"connection_id":176053,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:36:40] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:36:40] local.INFO: IMEI packet received {"connection_id":176053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":176053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:36:43] local.INFO: TCP Data received {"connection_id":177219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:36:43] local.INFO: Processing buffer {"connection_id":177219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:36:43] local.INFO: IMEI packet received {"connection_id":177219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":177219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:36:44] local.INFO: TCP Data received {"connection_id":177219,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:36:44] local.INFO: Processing buffer {"connection_id":177219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:36:44] local.INFO: Packet analysis {"connection_id":177219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:36:44] local.INFO: Extracted packet for processing {"connection_id":177219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":177219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:36:44] local.INFO: GPS data processed {"connection_id":177219,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:36:44] local.INFO: Acknowledgment sent {"connection_id":177219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:36:45] local.INFO: TCP Data received {"connection_id":178624,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:36:45] local.INFO: Processing buffer {"connection_id":178624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:36:45] local.INFO: Packet analysis {"connection_id":178624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:45] local.INFO: Extracted packet for processing {"connection_id":178624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 20:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:36:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":178624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:36:45] local.INFO: GPS data processed {"connection_id":178624,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:36:45] local.INFO: Acknowledgment sent {"connection_id":178624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:36:46] local.INFO: TCP Data received {"connection_id":176053,"ip":"117.224.101.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:36:46] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:36:46] local.INFO: IMEI packet received {"connection_id":176053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 20:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":176053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:36:48] local.INFO: TCP Data received {"connection_id":176053,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086b3afb0012caf070009328f7002b2009b2f..."} 
[2026-09-09 20:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b3afb0012caf070009328f7002b2009b2f..."} 
[2026-09-09 20:36:48] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b3afb0012caf070009328f7002b2009b2f..."} 
[2026-09-09 20:36:48] local.INFO: Packet analysis {"connection_id":176053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:48] local.INFO: Extracted packet for processing {"connection_id":176053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:36:48] local.INFO: GPS Element Parsed {"raw_longitude":749668096,"raw_latitude":154308464,"longitude_deg":74.9668096,"latitude_deg":15.4308464,"altitude":690,"angle":155,"satellites":47,"speed":39,"hex_longitude":"2caf0700","hex_latitude":"09328f70","is_valid_coordinates":true} 
[2026-09-09 20:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975377408001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5834694752732221438,"note":"Value kept but may cause issues"} 
[2026-09-09 20:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788966318000,"timestamp_ms":1788966318000,"timestamp_seconds":1788966318,"priority":1,"record_length":96,"hex_timestamp":"000001a086b3afb0"} 
[2026-09-09 20:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 20:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 20:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975377408001,"66":27713,"98":206,"9":54784,"24":39,"16":3893920429768704,"44":-5834694752732221438},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,9,24,16,44]} 
[2026-09-09 20:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975377408001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:36:48] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-09 20:36:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5834694752732221438,"description":"Unknown IO ID 44"} 
[2026-09-09 20:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975377408001,"power":27713,"unknown_98":206,"unknown_9":54784,"ignition":39,"odometer":null,"unknown_44":-5834694752732221438}} 
[2026-09-09 20:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":176053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:36:48] local.INFO: GPS data processed {"connection_id":176053,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:36:48] local.INFO: Acknowledgment sent {"connection_id":176053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:37:16] local.INFO: TCP Data received {"connection_id":177219,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:37:16] local.INFO: Processing buffer {"connection_id":177219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:37:16] local.INFO: Packet analysis {"connection_id":177219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:37:16] local.INFO: Extracted packet for processing {"connection_id":177219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":177219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:37:16] local.INFO: GPS data processed {"connection_id":177219,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:37:16] local.INFO: Acknowledgment sent {"connection_id":177219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:37:21] local.INFO: TCP Data received {"connection_id":176053,"ip":"117.224.101.10","data_length":795,"data_hex":"000000000000030f8e0a000001a086b401b8012caf284009324ef002ab00982f..."} 
[2026-09-09 20:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b401b8012caf284009324ef002ab00982f..."} 
[2026-09-09 20:37:21] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b401b8012caf284009324ef002ab00982f..."} 
[2026-09-09 20:37:21] local.INFO: Packet analysis {"connection_id":176053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b4"} 
[2026-09-09 20:37:21] local.INFO: Extracted packet for processing {"connection_id":176053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b4"} 
[2026-09-09 20:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749676608,"raw_latitude":154291952,"longitude_deg":74.9676608,"latitude_deg":15.4291952,"altitude":683,"angle":152,"satellites":47,"speed":0,"hex_longitude":"2caf2840","hex_latitude":"09324ef0","is_valid_coordinates":true} 
[2026-09-09 20:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975377408001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5834694752732221438,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788966339000,"timestamp_ms":1788966339000,"timestamp_seconds":1788966339,"priority":1,"record_length":96,"hex_timestamp":"000001a086b401b8"} 
[2026-09-09 20:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:37: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-09-09 20:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 20:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 20:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.101.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 20:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 20:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975377408001,"66":27604,"98":206,"9":54784,"24":0,"16":3893920429768704,"44":-5834694752732221438},"client_ip":"117.224.101.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,9,24,16,44]} 
[2026-09-09 20:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 20:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 20:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975377408001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:37:21] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-09 20:37:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 20:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5834694752732221438,"description":"Unknown IO ID 44"} 
[2026-09-09 20:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975377408001,"power":27604,"unknown_98":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5834694752732221438}} 
[2026-09-09 20:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":176053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:37:21] local.INFO: GPS data processed {"connection_id":176053,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:37:21] local.INFO: Acknowledgment sent {"connection_id":176053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:37:29] local.INFO: TCP Data received {"connection_id":178625,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:37:29] local.INFO: Processing buffer {"connection_id":178625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:37:29] local.INFO: IMEI packet received {"connection_id":178625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":178625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:37:34] local.INFO: TCP Data received {"connection_id":178625,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:37:34] local.INFO: Processing buffer {"connection_id":178625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:37:34] local.INFO: IMEI packet received {"connection_id":178625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":178625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:37:35] local.INFO: TCP Data received {"connection_id":178625,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:37:35] local.INFO: Processing buffer {"connection_id":178625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:37:35] local.INFO: Packet analysis {"connection_id":178625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:37:35] local.INFO: Extracted packet for processing {"connection_id":178625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 20:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:37:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":178625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:37:35] local.INFO: GPS data processed {"connection_id":178625,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:37:35] local.INFO: Acknowledgment sent {"connection_id":178625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:37:43] local.INFO: TCP Data received {"connection_id":178626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:37:43] local.INFO: Processing buffer {"connection_id":178626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:37:43] local.INFO: IMEI packet received {"connection_id":178626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":178626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:37:48] local.INFO: TCP Data received {"connection_id":178626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:37:48] local.INFO: Processing buffer {"connection_id":178626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:37:48] local.INFO: IMEI packet received {"connection_id":178626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":178626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:37:49] local.INFO: TCP Data received {"connection_id":178626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:37:49] local.INFO: Processing buffer {"connection_id":178626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:37:49] local.INFO: Packet analysis {"connection_id":178626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:37:49] local.INFO: Extracted packet for processing {"connection_id":178626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":178626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:37:49] local.INFO: GPS data processed {"connection_id":178626,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:37:49] local.INFO: Acknowledgment sent {"connection_id":178626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:37:53] local.INFO: TCP Data received {"connection_id":178626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:37:53] local.INFO: Processing buffer {"connection_id":178626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:37:53] local.INFO: Packet analysis {"connection_id":178626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:37:53] local.INFO: Extracted packet for processing {"connection_id":178626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":178626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:37:53] local.INFO: GPS data processed {"connection_id":178626,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:37:53] local.INFO: Acknowledgment sent {"connection_id":178626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:38:07] local.INFO: TCP Data received {"connection_id":178625,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:38:07] local.INFO: Processing buffer {"connection_id":178625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:38:07] local.INFO: Packet analysis {"connection_id":178625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:38:07] local.INFO: Extracted packet for processing {"connection_id":178625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 20:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:38: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-09-09 20:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:38:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":178625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:38:07] local.INFO: GPS data processed {"connection_id":178625,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:38:07] local.INFO: Acknowledgment sent {"connection_id":178625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:38:29] local.INFO: TCP Data received {"connection_id":176054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:38:29] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:38:29] local.INFO: IMEI packet received {"connection_id":176054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":176054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:38:34] local.INFO: TCP Data received {"connection_id":176054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:38:34] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:38:34] local.INFO: IMEI packet received {"connection_id":176054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":176054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:38:35] local.INFO: TCP Data received {"connection_id":176054,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:38:35] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:38:35] local.INFO: Packet analysis {"connection_id":176054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:38:35] local.INFO: Extracted packet for processing {"connection_id":176054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 20:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:38:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":176054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:38:35] local.INFO: GPS data processed {"connection_id":176054,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:38:35] local.INFO: Acknowledgment sent {"connection_id":176054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:38:38] local.INFO: TCP Data received {"connection_id":176055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:38:38] local.INFO: Processing buffer {"connection_id":176055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:38:38] local.INFO: IMEI packet received {"connection_id":176055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":176055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:38:43] local.INFO: TCP Data received {"connection_id":176055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:38:43] local.INFO: Processing buffer {"connection_id":176055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:38:43] local.INFO: IMEI packet received {"connection_id":176055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":176055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:38:44] local.INFO: TCP Data received {"connection_id":176055,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:38:44] local.INFO: Processing buffer {"connection_id":176055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b1d320012d34c14006aa42b8000a011627..."} 
[2026-09-09 20:38:44] local.INFO: Packet analysis {"connection_id":176055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:38:44] local.INFO: Extracted packet for processing {"connection_id":176055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b1"} 
[2026-09-09 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975269120001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966196000,"timestamp_ms":1788966196000,"timestamp_seconds":1788966196,"priority":1,"record_length":96,"hex_timestamp":"000001a086b1d320"} 
[2026-09-09 20:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-09 20:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975269120001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975269120001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975269120001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":176055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:38:44] local.INFO: GPS data processed {"connection_id":176055,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:38:44] local.INFO: Acknowledgment sent {"connection_id":176055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:39:07] local.INFO: TCP Data received {"connection_id":176054,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:39:07] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:39:07] local.INFO: Packet analysis {"connection_id":176054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:39:07] local.INFO: Extracted packet for processing {"connection_id":176054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20: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-09-09 20:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 20:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:39: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-09-09 20: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-09-09 20:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:39:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":176054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:39:07] local.INFO: GPS data processed {"connection_id":176054,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:39:07] local.INFO: Acknowledgment sent {"connection_id":176054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:39:15] local.INFO: TCP Data received {"connection_id":176055,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:39:15] local.INFO: Processing buffer {"connection_id":176055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:39:15] local.INFO: Packet analysis {"connection_id":176055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:39:15] local.INFO: Extracted packet for processing {"connection_id":176055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":176055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:39:15] local.INFO: GPS data processed {"connection_id":176055,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:39:15] local.INFO: Acknowledgment sent {"connection_id":176055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:39:29] local.INFO: TCP Data received {"connection_id":177220,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:39:29] local.INFO: Processing buffer {"connection_id":177220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:39:29] local.INFO: IMEI packet received {"connection_id":177220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":177220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:39:34] local.INFO: TCP Data received {"connection_id":177220,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:39:34] local.INFO: Processing buffer {"connection_id":177220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:39:34] local.INFO: IMEI packet received {"connection_id":177220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":177220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:39:35] local.INFO: TCP Data received {"connection_id":177220,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:39:35] local.INFO: Processing buffer {"connection_id":177220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:39:35] local.INFO: Packet analysis {"connection_id":177220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:39:35] local.INFO: Extracted packet for processing {"connection_id":177220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 20:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:39:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":177220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:39:35] local.INFO: GPS data processed {"connection_id":177220,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:39:35] local.INFO: Acknowledgment sent {"connection_id":177220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:39:37] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:39:37] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:39:37] local.INFO: IMEI packet received {"connection_id":175830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":175830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:39:43] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:39:43] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:39:43] local.INFO: IMEI packet received {"connection_id":175830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":175830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:39:44] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:39:44] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:39:44] local.INFO: Packet analysis {"connection_id":175830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:39:44] local.INFO: Extracted packet for processing {"connection_id":175830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:39: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-09-09 20:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":175830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:39:44] local.INFO: GPS data processed {"connection_id":175830,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:39:44] local.INFO: Acknowledgment sent {"connection_id":175830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:40:06] local.INFO: TCP Data received {"connection_id":177220,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:40:06] local.INFO: Processing buffer {"connection_id":177220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b30ba0012d1965c0071ff020003b011b22..."} 
[2026-09-09 20:40:06] local.INFO: Packet analysis {"connection_id":177220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:40:06] local.INFO: Extracted packet for processing {"connection_id":177220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b3"} 
[2026-09-09 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975289600001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788966276000,"timestamp_ms":1788966276000,"timestamp_seconds":1788966276,"priority":1,"record_length":96,"hex_timestamp":"000001a086b30ba0"} 
[2026-09-09 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-09-09 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 20:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975289600001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975289600001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975289600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":177220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:40:06] local.INFO: GPS data processed {"connection_id":177220,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:40:06] local.INFO: Acknowledgment sent {"connection_id":177220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:40:15] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:40:15] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:40:15] local.INFO: Packet analysis {"connection_id":175830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:40:15] local.INFO: Extracted packet for processing {"connection_id":175830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":175830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:40:16] local.INFO: GPS data processed {"connection_id":175830,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:40:16] local.INFO: Acknowledgment sent {"connection_id":175830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:40:34] local.INFO: TCP Data received {"connection_id":178627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:40:34] local.INFO: Processing buffer {"connection_id":178627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:40:34] local.INFO: IMEI packet received {"connection_id":178627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":178627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:40:37] local.INFO: TCP Data received {"connection_id":177221,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:40:37] local.INFO: Processing buffer {"connection_id":177221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:40:37] local.INFO: IMEI packet received {"connection_id":177221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":177221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:40:39] local.INFO: TCP Data received {"connection_id":178627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:40:39] local.INFO: Processing buffer {"connection_id":178627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:40:39] local.INFO: IMEI packet received {"connection_id":178627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":178627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:40:40] local.INFO: TCP Data received {"connection_id":178627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:40:40] local.INFO: Processing buffer {"connection_id":178627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:40:40] local.INFO: Packet analysis {"connection_id":178627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:40:40] local.INFO: Extracted packet for processing {"connection_id":178627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 20:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:40:40] 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-09-09 20:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:40: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-09-09 20: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-09-09 20:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:40: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-09-09 20:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:40:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":178627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:40:40] local.INFO: GPS data processed {"connection_id":178627,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:40:40] local.INFO: Acknowledgment sent {"connection_id":178627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:40:43] local.INFO: TCP Data received {"connection_id":177221,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:40:43] local.INFO: Processing buffer {"connection_id":177221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:40:43] local.INFO: IMEI packet received {"connection_id":177221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":177221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:40:44] local.INFO: TCP Data received {"connection_id":177221,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:40:44] local.INFO: Processing buffer {"connection_id":177221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:40:44] local.INFO: Packet analysis {"connection_id":177221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:40:44] local.INFO: Extracted packet for processing {"connection_id":177221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":177221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:40:44] local.INFO: GPS data processed {"connection_id":177221,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:40:44] local.INFO: Acknowledgment sent {"connection_id":177221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:40:45] local.INFO: TCP Data received {"connection_id":178627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:40:45] local.INFO: Processing buffer {"connection_id":178627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:40:45] local.INFO: Packet analysis {"connection_id":178627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:40:45] local.INFO: Extracted packet for processing {"connection_id":178627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 20:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:40:45] 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-09-09 20:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:40:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":178627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:40:45] local.INFO: GPS data processed {"connection_id":178627,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:40:45] local.INFO: Acknowledgment sent {"connection_id":178627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:41:15] local.INFO: TCP Data received {"connection_id":177221,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:41:15] local.INFO: Processing buffer {"connection_id":177221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:41:15] local.INFO: Packet analysis {"connection_id":177221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:41:15] local.INFO: Extracted packet for processing {"connection_id":177221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":177221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:41:15] local.INFO: GPS data processed {"connection_id":177221,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:41:15] local.INFO: Acknowledgment sent {"connection_id":177221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:41:23] local.INFO: TCP Data received {"connection_id":175831,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:41:23] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:41:23] local.INFO: IMEI packet received {"connection_id":175831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":175831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:41:29] local.INFO: TCP Data received {"connection_id":178628,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:41:29] local.INFO: Processing buffer {"connection_id":178628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:41:29] local.INFO: IMEI packet received {"connection_id":178628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":178628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:41:34] local.INFO: TCP Data received {"connection_id":178628,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:41:34] local.INFO: Processing buffer {"connection_id":178628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:41:34] local.INFO: IMEI packet received {"connection_id":178628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":178628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:41:35] local.INFO: TCP Data received {"connection_id":178628,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:41:35] local.INFO: Processing buffer {"connection_id":178628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:41:35] local.INFO: Packet analysis {"connection_id":178628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:41:35] local.INFO: Extracted packet for processing {"connection_id":178628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 20:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:41:35] 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-09-09 20:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:41:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":178628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:41:35] local.INFO: GPS data processed {"connection_id":178628,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:41:35] local.INFO: Acknowledgment sent {"connection_id":178628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:41:37] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:41:37] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:41:37] local.INFO: IMEI packet received {"connection_id":176056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":176056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:41:43] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:41:43] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:41:43] local.INFO: IMEI packet received {"connection_id":176056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":176056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:41:44] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:41:44] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:41:44] local.INFO: Packet analysis {"connection_id":176056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:41:44] local.INFO: Extracted packet for processing {"connection_id":176056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":176056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:41:44] local.INFO: GPS data processed {"connection_id":176056,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:41:44] local.INFO: Acknowledgment sent {"connection_id":176056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:42:07] local.INFO: TCP Data received {"connection_id":178628,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:42:07] local.INFO: Processing buffer {"connection_id":178628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:42:07] local.INFO: Packet analysis {"connection_id":178628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:42:07] local.INFO: Extracted packet for processing {"connection_id":178628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20: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-09-09 20:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 20:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:42: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-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:42: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-09-09 20: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-09-09 20:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":178628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":178628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":178628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:42: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-09-09 20:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:42:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":178628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:42:07] local.INFO: GPS data processed {"connection_id":178628,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:42:07] local.INFO: Acknowledgment sent {"connection_id":178628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:42:15] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:42:15] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:42:15] local.INFO: Packet analysis {"connection_id":176056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:42:15] local.INFO: Extracted packet for processing {"connection_id":176056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":176056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:42:15] local.INFO: GPS data processed {"connection_id":176056,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:42:15] local.INFO: Acknowledgment sent {"connection_id":176056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:42:15] local.INFO: TCP Data received {"connection_id":178629,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:42:15] local.INFO: Processing buffer {"connection_id":178629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:42:15] local.INFO: IMEI packet received {"connection_id":178629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":178629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:42:29] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:42:29] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:42:29] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:42:34] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:42:34] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:42:34] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:42:35] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:42:35] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:42:35] local.INFO: Packet analysis {"connection_id":176057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:42:35] local.INFO: Extracted packet for processing {"connection_id":176057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 20:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:42:35] 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-09-09 20:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:42: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-09-09 20:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:42:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":176057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:42:35] local.INFO: GPS data processed {"connection_id":176057,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:42:35] local.INFO: Acknowledgment sent {"connection_id":176057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:42:43] local.INFO: TCP Data received {"connection_id":177222,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:42:43] local.INFO: Processing buffer {"connection_id":177222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:42:43] local.INFO: IMEI packet received {"connection_id":177222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":177222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:42:46] local.INFO: TCP Data received {"connection_id":175832,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:42:46] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:42:46] local.INFO: IMEI packet received {"connection_id":175832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":175832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:42:49] local.INFO: TCP Data received {"connection_id":177222,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:42:49] local.INFO: Processing buffer {"connection_id":177222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:42:49] local.INFO: IMEI packet received {"connection_id":177222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":177222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:42:50] local.INFO: TCP Data received {"connection_id":177222,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:42:50] local.INFO: Processing buffer {"connection_id":177222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:42:50] local.INFO: Packet analysis {"connection_id":177222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:42:50] local.INFO: Extracted packet for processing {"connection_id":177222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:42:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:42: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-09-09 20:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:42:50] 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-09-09 20:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:42:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:42:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":177222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:42:50] local.INFO: GPS data processed {"connection_id":177222,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:42:50] local.INFO: Acknowledgment sent {"connection_id":177222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:42:54] local.INFO: TCP Data received {"connection_id":177222,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:42:54] local.INFO: Processing buffer {"connection_id":177222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:42:54] local.INFO: Packet analysis {"connection_id":177222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:42:54] local.INFO: Extracted packet for processing {"connection_id":177222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:42:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:42:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":177222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:42:54] local.INFO: GPS data processed {"connection_id":177222,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:42:54] local.INFO: Acknowledgment sent {"connection_id":177222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:43:06] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:43:06] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:43:06] local.INFO: Packet analysis {"connection_id":176057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:43:06] local.INFO: Extracted packet for processing {"connection_id":176057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 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-09-09 20:43: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-09-09 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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:43: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-09-09 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-09-09 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-09-09 20:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:43: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-09-09 20:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:43:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":176057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:43:06] local.INFO: GPS data processed {"connection_id":176057,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:43:06] local.INFO: Acknowledgment sent {"connection_id":176057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:43:29] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:43:29] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:43:29] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:43:34] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:43:34] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:43:34] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:43:35] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:43:35] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:43:35] local.INFO: Packet analysis {"connection_id":175833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:43:35] local.INFO: Extracted packet for processing {"connection_id":175833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 20:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:43:35] 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-09-09 20:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:43:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":175833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:43:35] local.INFO: GPS data processed {"connection_id":175833,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:43:35] local.INFO: Acknowledgment sent {"connection_id":175833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:43:38] local.INFO: TCP Data received {"connection_id":175834,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:43:38] local.INFO: Processing buffer {"connection_id":175834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:43:38] local.INFO: IMEI packet received {"connection_id":175834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":175834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:43:43] local.INFO: TCP Data received {"connection_id":175834,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:43:43] local.INFO: Processing buffer {"connection_id":175834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:43:43] local.INFO: IMEI packet received {"connection_id":175834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":175834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:43:44] local.INFO: TCP Data received {"connection_id":175834,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:43:44] local.INFO: Processing buffer {"connection_id":175834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b66ae8012d34c14006aa42b8000b011628..."} 
[2026-09-09 20:43:44] local.INFO: Packet analysis {"connection_id":175834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:43:44] local.INFO: Extracted packet for processing {"connection_id":175834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b6"} 
[2026-09-09 20:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975346176001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966497000,"timestamp_ms":1788966497000,"timestamp_seconds":1788966497,"priority":1,"record_length":96,"hex_timestamp":"000001a086b66ae8"} 
[2026-09-09 20:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975346176001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975346176001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975346176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":175834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:43:44] local.INFO: GPS data processed {"connection_id":175834,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:43:44] local.INFO: Acknowledgment sent {"connection_id":175834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:44:06] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:44:06] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:44:06] local.INFO: Packet analysis {"connection_id":175833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:44:06] local.INFO: Extracted packet for processing {"connection_id":175833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 20:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:44: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-09-09 20:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":175833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:44:06] local.INFO: GPS data processed {"connection_id":175833,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:44:06] local.INFO: Acknowledgment sent {"connection_id":175833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:44:15] local.INFO: TCP Data received {"connection_id":175834,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:44:15] local.INFO: Processing buffer {"connection_id":175834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:44:15] local.INFO: Packet analysis {"connection_id":175834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:44:15] local.INFO: Extracted packet for processing {"connection_id":175834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:44:15] 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-09-09 20:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":175834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:44:15] local.INFO: GPS data processed {"connection_id":175834,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:44:15] local.INFO: Acknowledgment sent {"connection_id":175834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:44:29] local.INFO: TCP Data received {"connection_id":177223,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:44:29] local.INFO: Processing buffer {"connection_id":177223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:44:29] local.INFO: IMEI packet received {"connection_id":177223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":177223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:44:34] local.INFO: TCP Data received {"connection_id":177223,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:44:34] local.INFO: Processing buffer {"connection_id":177223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:44:34] local.INFO: IMEI packet received {"connection_id":177223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":177223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:44:35] local.INFO: TCP Data received {"connection_id":177223,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:44:35] local.INFO: Processing buffer {"connection_id":177223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:44:35] local.INFO: Packet analysis {"connection_id":177223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:44:35] local.INFO: Extracted packet for processing {"connection_id":177223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 20:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:44:35] 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-09-09 20:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:44:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":177223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:44:35] local.INFO: GPS data processed {"connection_id":177223,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:44:35] local.INFO: Acknowledgment sent {"connection_id":177223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:44:37] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:44:37] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:44:37] local.INFO: IMEI packet received {"connection_id":175835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":175835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:44:43] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:44:43] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:44:43] local.INFO: IMEI packet received {"connection_id":175835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":175835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:44:44] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:44:44] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:44:44] local.INFO: Packet analysis {"connection_id":175835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:44:44] local.INFO: Extracted packet for processing {"connection_id":175835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:44:44] 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-09-09 20: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-09-09 20:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":175835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:44:44] local.INFO: GPS data processed {"connection_id":175835,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:44:44] local.INFO: Acknowledgment sent {"connection_id":175835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:45:06] local.INFO: TCP Data received {"connection_id":177223,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:45:06] local.INFO: Processing buffer {"connection_id":177223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086b7a368012d1965c0071ff020003b011b24..."} 
[2026-09-09 20:45:06] local.INFO: Packet analysis {"connection_id":177223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:45:06] local.INFO: Extracted packet for processing {"connection_id":177223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086b7"} 
[2026-09-09 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975366656001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788966577000,"timestamp_ms":1788966577000,"timestamp_seconds":1788966577,"priority":1,"record_length":96,"hex_timestamp":"000001a086b7a368"} 
[2026-09-09 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-09-09 20:45: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-09-09 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":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 20:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20: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-09-09 20:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975366656001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975366656001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975366656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":177223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:45:06] local.INFO: GPS data processed {"connection_id":177223,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:45:06] local.INFO: Acknowledgment sent {"connection_id":177223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:45:15] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:45:15] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:45:15] local.INFO: Packet analysis {"connection_id":175835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:45:15] local.INFO: Extracted packet for processing {"connection_id":175835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:45:15] 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-09-09 20:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":175835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:45:15] local.INFO: GPS data processed {"connection_id":175835,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:45:15] local.INFO: Acknowledgment sent {"connection_id":175835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:45:34] local.INFO: TCP Data received {"connection_id":176059,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:45:34] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:45:34] local.INFO: IMEI packet received {"connection_id":176059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":176059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:45:37] local.INFO: TCP Data received {"connection_id":176060,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:45:37] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:45:37] local.INFO: IMEI packet received {"connection_id":176060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":176060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:45:39] local.INFO: TCP Data received {"connection_id":176059,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:45:39] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:45:39] local.INFO: IMEI packet received {"connection_id":176059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":176059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:45:40] local.INFO: TCP Data received {"connection_id":176059,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:45:40] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:45:40] local.INFO: Packet analysis {"connection_id":176059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:45:40] local.INFO: Extracted packet for processing {"connection_id":176059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 20:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:45: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-09-09 20:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:45: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-09-09 20:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:45: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-09-09 20:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:45:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:45:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":176059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:45:40] local.INFO: GPS data processed {"connection_id":176059,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:45:40] local.INFO: Acknowledgment sent {"connection_id":176059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:45:43] local.INFO: TCP Data received {"connection_id":176060,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:45:43] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:45:43] local.INFO: IMEI packet received {"connection_id":176060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":176060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:45:44] local.INFO: TCP Data received {"connection_id":176060,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:45:44] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:45:44] local.INFO: Packet analysis {"connection_id":176060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:45:44] local.INFO: Extracted packet for processing {"connection_id":176060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:45:44] 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-09-09 20:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":176060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:45:44] local.INFO: GPS data processed {"connection_id":176060,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:45:44] local.INFO: Acknowledgment sent {"connection_id":176060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:45:44] local.INFO: TCP Data received {"connection_id":176059,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:45:44] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:45:44] local.INFO: Packet analysis {"connection_id":176059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:45:44] local.INFO: Extracted packet for processing {"connection_id":176059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:45:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 20:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:45:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:45:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":176059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:45:45] local.INFO: GPS data processed {"connection_id":176059,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:45:45] local.INFO: Acknowledgment sent {"connection_id":176059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:46:15] local.INFO: TCP Data received {"connection_id":176060,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:46:15] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:46:15] local.INFO: Packet analysis {"connection_id":176060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:46:15] local.INFO: Extracted packet for processing {"connection_id":176060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:46:15] 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-09-09 20:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":176060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:46:15] local.INFO: GPS data processed {"connection_id":176060,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:46:15] local.INFO: Acknowledgment sent {"connection_id":176060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:46:29] local.INFO: TCP Data received {"connection_id":175837,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:46:29] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:46:29] local.INFO: IMEI packet received {"connection_id":175837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":175837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:46:34] local.INFO: TCP Data received {"connection_id":175837,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:46:34] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:46:34] local.INFO: IMEI packet received {"connection_id":175837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":175837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:46:35] local.INFO: TCP Data received {"connection_id":175837,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:46:35] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:46:35] local.INFO: Packet analysis {"connection_id":175837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:46:35] local.INFO: Extracted packet for processing {"connection_id":175837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 20:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:46:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":175837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:46:35] local.INFO: GPS data processed {"connection_id":175837,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:46:35] local.INFO: Acknowledgment sent {"connection_id":175837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:46:37] local.INFO: TCP Data received {"connection_id":178630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:46:37] local.INFO: Processing buffer {"connection_id":178630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:46:37] local.INFO: IMEI packet received {"connection_id":178630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":178630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:46:43] local.INFO: TCP Data received {"connection_id":178630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:46:43] local.INFO: Processing buffer {"connection_id":178630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:46:43] local.INFO: IMEI packet received {"connection_id":178630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":178630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:46:44] local.INFO: TCP Data received {"connection_id":178630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:46:44] local.INFO: Processing buffer {"connection_id":178630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:46:44] local.INFO: Packet analysis {"connection_id":178630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:46:44] local.INFO: Extracted packet for processing {"connection_id":178630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:46:44] 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-09-09 20: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-09-09 20:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":178630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:46:44] local.INFO: GPS data processed {"connection_id":178630,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:46:44] local.INFO: Acknowledgment sent {"connection_id":178630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:47:06] local.INFO: TCP Data received {"connection_id":175837,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:47:06] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:47:06] local.INFO: Packet analysis {"connection_id":175837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:47:06] local.INFO: Extracted packet for processing {"connection_id":175837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 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-09-09 20:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 20: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-09-09 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-09-09 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-09-09 20:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":175837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:47:06] local.INFO: GPS data processed {"connection_id":175837,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:47:06] local.INFO: Acknowledgment sent {"connection_id":175837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:47:15] local.INFO: TCP Data received {"connection_id":178630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:47:15] local.INFO: Processing buffer {"connection_id":178630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:47:15] local.INFO: Packet analysis {"connection_id":178630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:47:15] local.INFO: Extracted packet for processing {"connection_id":178630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:47:15] 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-09-09 20:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":178630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:47:15] local.INFO: GPS data processed {"connection_id":178630,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:47:15] local.INFO: Acknowledgment sent {"connection_id":178630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:47:29] local.INFO: TCP Data received {"connection_id":175838,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:47:29] local.INFO: Processing buffer {"connection_id":175838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:47:29] local.INFO: IMEI packet received {"connection_id":175838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":175838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:47:34] local.INFO: TCP Data received {"connection_id":175838,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:47:34] local.INFO: Processing buffer {"connection_id":175838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:47:34] local.INFO: IMEI packet received {"connection_id":175838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":175838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:47:35] local.INFO: TCP Data received {"connection_id":175838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:47:35] local.INFO: Processing buffer {"connection_id":175838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:47:35] local.INFO: Packet analysis {"connection_id":175838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:47:35] local.INFO: Extracted packet for processing {"connection_id":175838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 20:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:47:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":175838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:47:35] local.INFO: GPS data processed {"connection_id":175838,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:47:35] local.INFO: Acknowledgment sent {"connection_id":175838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:47:43] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:47:43] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:47:43] local.INFO: IMEI packet received {"connection_id":175839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:47:48] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:47:48] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:47:48] local.INFO: IMEI packet received {"connection_id":175839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":175839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:47:49] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:47:49] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:47:49] local.INFO: Packet analysis {"connection_id":175839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:47:49] local.INFO: Extracted packet for processing {"connection_id":175839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":175839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:47:49] local.INFO: GPS data processed {"connection_id":175839,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:47:49] local.INFO: Acknowledgment sent {"connection_id":175839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:47:50] local.INFO: TCP Data received {"connection_id":175840,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:47:50] local.INFO: Processing buffer {"connection_id":175840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:47:50] local.INFO: IMEI packet received {"connection_id":175840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":175840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:47:55] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:47:55] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:47:55] local.INFO: Packet analysis {"connection_id":175839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:47:55] local.INFO: Extracted packet for processing {"connection_id":175839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:47:55] 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-09-09 20:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:47:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:47:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":175839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:47:55] local.INFO: GPS data processed {"connection_id":175839,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:47:55] local.INFO: Acknowledgment sent {"connection_id":175839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:48:06] local.INFO: TCP Data received {"connection_id":175838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:48:06] local.INFO: Processing buffer {"connection_id":175838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:48:06] local.INFO: Packet analysis {"connection_id":175838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:48:06] local.INFO: Extracted packet for processing {"connection_id":175838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 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-09-09 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:48: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-09-09 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-09-09 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-09-09 20:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":175838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:48:06] local.INFO: GPS data processed {"connection_id":175838,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:48:06] local.INFO: Acknowledgment sent {"connection_id":175838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:48:29] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:48:29] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:48:29] local.INFO: IMEI packet received {"connection_id":176062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":176062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:48:34] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:48:34] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:48:34] local.INFO: IMEI packet received {"connection_id":176062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":176062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:48:35] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:48:35] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:48:35] local.INFO: Packet analysis {"connection_id":176062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:48:35] local.INFO: Extracted packet for processing {"connection_id":176062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 20:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:48: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-09-09 20:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:48:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":176062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:48:35] local.INFO: GPS data processed {"connection_id":176062,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:48:35] local.INFO: Acknowledgment sent {"connection_id":176062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:48:38] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:48:38] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:48:38] local.INFO: IMEI packet received {"connection_id":175841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":175841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:48:43] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:48:43] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:48:43] local.INFO: IMEI packet received {"connection_id":175841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":175841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:48:44] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:48:44] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bb02b0012d34c14006aa42b80004011625..."} 
[2026-09-09 20:48:44] local.INFO: Packet analysis {"connection_id":175841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:48:44] local.INFO: Extracted packet for processing {"connection_id":175841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bb"} 
[2026-09-09 20:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975423232001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788966798000,"timestamp_ms":1788966798000,"timestamp_seconds":1788966798,"priority":1,"record_length":96,"hex_timestamp":"000001a086bb02b0"} 
[2026-09-09 20:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 20:48:44] 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-09-09 20:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975423232001,"66":25560,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975423232001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975423232001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":175841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:48:44] local.INFO: GPS data processed {"connection_id":175841,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:48:44] local.INFO: Acknowledgment sent {"connection_id":175841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:49:06] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:49:06] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:49:06] local.INFO: Packet analysis {"connection_id":176062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:49:06] local.INFO: Extracted packet for processing {"connection_id":176062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20: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-09-09 20:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 20:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":176062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:49:06] local.INFO: GPS data processed {"connection_id":176062,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:49:06] local.INFO: Acknowledgment sent {"connection_id":176062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:49:15] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:49:15] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:49:15] local.INFO: Packet analysis {"connection_id":175841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:49:15] local.INFO: Extracted packet for processing {"connection_id":175841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975500288001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788967099000,"timestamp_ms":1788967099000,"timestamp_seconds":1788967099,"priority":1,"record_length":96,"hex_timestamp":"000001a086bf9a78"} 
[2026-09-09 20:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 20:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975500288001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975500288001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975500288001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":175841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:49:15] local.INFO: GPS data processed {"connection_id":175841,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:49:15] local.INFO: Acknowledgment sent {"connection_id":175841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:49:29] local.INFO: TCP Data received {"connection_id":177225,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:49:29] local.INFO: Processing buffer {"connection_id":177225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:49:29] local.INFO: IMEI packet received {"connection_id":177225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":177225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:49:34] local.INFO: TCP Data received {"connection_id":177225,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:49:34] local.INFO: Processing buffer {"connection_id":177225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:49:34] local.INFO: IMEI packet received {"connection_id":177225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":177225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:49:35] local.INFO: TCP Data received {"connection_id":177225,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:49:35] local.INFO: Processing buffer {"connection_id":177225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:49:35] local.INFO: Packet analysis {"connection_id":177225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:49:35] local.INFO: Extracted packet for processing {"connection_id":177225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 20:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:49:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":177225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:49:35] local.INFO: GPS data processed {"connection_id":177225,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:49:35] local.INFO: Acknowledgment sent {"connection_id":177225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:49:37] local.INFO: TCP Data received {"connection_id":178632,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:49:37] local.INFO: Processing buffer {"connection_id":178632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:49:37] local.INFO: IMEI packet received {"connection_id":178632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":178632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:49:43] local.INFO: TCP Data received {"connection_id":178632,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:49:43] local.INFO: Processing buffer {"connection_id":178632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:49:43] local.INFO: IMEI packet received {"connection_id":178632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":178632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:49:44] local.INFO: TCP Data received {"connection_id":178632,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:49:44] local.INFO: Processing buffer {"connection_id":178632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:49:44] local.INFO: Packet analysis {"connection_id":178632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:49:44] local.INFO: Extracted packet for processing {"connection_id":178632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975500288001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967099000,"timestamp_ms":1788967099000,"timestamp_seconds":1788967099,"priority":1,"record_length":96,"hex_timestamp":"000001a086bf9a78"} 
[2026-09-09 20:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 20:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975500288001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975500288001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975500288001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":178632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:49:44] local.INFO: GPS data processed {"connection_id":178632,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:49:44] local.INFO: Acknowledgment sent {"connection_id":178632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:50:06] local.INFO: TCP Data received {"connection_id":177225,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:50:06] local.INFO: Processing buffer {"connection_id":177225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bc3b30012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:50:06] local.INFO: Packet analysis {"connection_id":177225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:50:06] local.INFO: Extracted packet for processing {"connection_id":177225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bc"} 
[2026-09-09 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975443712001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788966878000,"timestamp_ms":1788966878000,"timestamp_seconds":1788966878,"priority":1,"record_length":96,"hex_timestamp":"000001a086bc3b30"} 
[2026-09-09 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-09-09 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 20:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 20:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:50: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-09-09 20:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975443712001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975443712001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975443712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":177225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:50:06] local.INFO: GPS data processed {"connection_id":177225,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:50:06] local.INFO: Acknowledgment sent {"connection_id":177225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:50:15] local.INFO: TCP Data received {"connection_id":178632,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:50:15] local.INFO: Processing buffer {"connection_id":178632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:50:15] local.INFO: Packet analysis {"connection_id":178632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:50:15] local.INFO: Extracted packet for processing {"connection_id":178632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975500288001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788967099000,"timestamp_ms":1788967099000,"timestamp_seconds":1788967099,"priority":1,"record_length":96,"hex_timestamp":"000001a086bf9a78"} 
[2026-09-09 20:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 20:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975500288001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975500288001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975500288001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":178632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:50:15] local.INFO: GPS data processed {"connection_id":178632,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:50:15] local.INFO: Acknowledgment sent {"connection_id":178632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:50:29] local.INFO: TCP Data received {"connection_id":178633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:50:29] local.INFO: Processing buffer {"connection_id":178633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:50:29] local.INFO: IMEI packet received {"connection_id":178633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":178633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:50:34] local.INFO: TCP Data received {"connection_id":178633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:50:34] local.INFO: Processing buffer {"connection_id":178633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:50:34] local.INFO: IMEI packet received {"connection_id":178633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":178633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:50:35] local.INFO: TCP Data received {"connection_id":178633,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:50:35] local.INFO: Processing buffer {"connection_id":178633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:50:35] local.INFO: Packet analysis {"connection_id":178633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:50:35] local.INFO: Extracted packet for processing {"connection_id":178633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 20:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:50:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":178633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:50:35] local.INFO: GPS data processed {"connection_id":178633,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:50:35] local.INFO: Acknowledgment sent {"connection_id":178633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:50:38] local.INFO: TCP Data received {"connection_id":176063,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:50:38] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:50:38] local.INFO: IMEI packet received {"connection_id":176063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":176063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:50:44] local.INFO: TCP Data received {"connection_id":176063,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:50:44] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:50:44] local.INFO: IMEI packet received {"connection_id":176063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":176063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:50:45] local.INFO: TCP Data received {"connection_id":176063,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:50:45] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:50:45] local.INFO: Packet analysis {"connection_id":176063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:50:45] local.INFO: Extracted packet for processing {"connection_id":176063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975500288001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788967099000,"timestamp_ms":1788967099000,"timestamp_seconds":1788967099,"priority":1,"record_length":96,"hex_timestamp":"000001a086bf9a78"} 
[2026-09-09 20:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 20:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975500288001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975500288001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975500288001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":176063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:50:45] local.INFO: GPS data processed {"connection_id":176063,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:50:45] local.INFO: Acknowledgment sent {"connection_id":176063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:51:06] local.INFO: TCP Data received {"connection_id":178633,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:51:06] local.INFO: Processing buffer {"connection_id":178633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:51:06] local.INFO: Packet analysis {"connection_id":178633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:51:06] local.INFO: Extracted packet for processing {"connection_id":178633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 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-09-09 20:51: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-09-09 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-09-09 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-09-09 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-09-09 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-09-09 20:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":178633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:51:06] local.INFO: GPS data processed {"connection_id":178633,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:51:06] local.INFO: Acknowledgment sent {"connection_id":178633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:51:17] local.INFO: TCP Data received {"connection_id":176063,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:51:17] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:51:17] local.INFO: Packet analysis {"connection_id":176063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:51:17] local.INFO: Extracted packet for processing {"connection_id":176063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975500288001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788967099000,"timestamp_ms":1788967099000,"timestamp_seconds":1788967099,"priority":1,"record_length":96,"hex_timestamp":"000001a086bf9a78"} 
[2026-09-09 20:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 20:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975500288001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975500288001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975500288001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":176063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:51:17] local.INFO: GPS data processed {"connection_id":176063,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:51:17] local.INFO: Acknowledgment sent {"connection_id":176063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:51:29] local.INFO: TCP Data received {"connection_id":177227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:51:29] local.INFO: Processing buffer {"connection_id":177227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:51:29] local.INFO: IMEI packet received {"connection_id":177227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":177227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:51:34] local.INFO: TCP Data received {"connection_id":177227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:51:34] local.INFO: Processing buffer {"connection_id":177227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:51:34] local.INFO: IMEI packet received {"connection_id":177227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":177227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:51:35] local.INFO: TCP Data received {"connection_id":177227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:51:35] local.INFO: Processing buffer {"connection_id":177227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:51:35] local.INFO: Packet analysis {"connection_id":177227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:51:35] local.INFO: Extracted packet for processing {"connection_id":177227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:51:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 20:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:51:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":177227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:51:35] local.INFO: GPS data processed {"connection_id":177227,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:51:35] local.INFO: Acknowledgment sent {"connection_id":177227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:51:43] local.INFO: TCP Data received {"connection_id":178634,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:51:43] local.INFO: Processing buffer {"connection_id":178634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:51:43] local.INFO: IMEI packet received {"connection_id":178634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":178634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:51:48] local.INFO: TCP Data received {"connection_id":178634,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:51:48] local.INFO: Processing buffer {"connection_id":178634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:51:48] local.INFO: IMEI packet received {"connection_id":178634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":178634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:51:49] local.INFO: TCP Data received {"connection_id":178634,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:51:49] local.INFO: Processing buffer {"connection_id":178634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:51:49] local.INFO: Packet analysis {"connection_id":178634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:51:49] local.INFO: Extracted packet for processing {"connection_id":178634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975500288001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788967099000,"timestamp_ms":1788967099000,"timestamp_seconds":1788967099,"priority":1,"record_length":96,"hex_timestamp":"000001a086bf9a78"} 
[2026-09-09 20:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 20:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975500288001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975500288001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975500288001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":178634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:51:49] local.INFO: GPS data processed {"connection_id":178634,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:51:49] local.INFO: Acknowledgment sent {"connection_id":178634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:51:53] local.INFO: TCP Data received {"connection_id":178634,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:51:53] local.INFO: Processing buffer {"connection_id":178634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:51:53] local.INFO: Packet analysis {"connection_id":178634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:51:53] local.INFO: Extracted packet for processing {"connection_id":178634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975500288001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788967099000,"timestamp_ms":1788967099000,"timestamp_seconds":1788967099,"priority":1,"record_length":96,"hex_timestamp":"000001a086bf9a78"} 
[2026-09-09 20:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 20:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975500288001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975500288001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975500288001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":178634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:51:53] local.INFO: GPS data processed {"connection_id":178634,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:51:53] local.INFO: Acknowledgment sent {"connection_id":178634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:52:06] local.INFO: TCP Data received {"connection_id":177227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:52:06] local.INFO: Processing buffer {"connection_id":177227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:52:06] local.INFO: Packet analysis {"connection_id":177227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:52:06] local.INFO: Extracted packet for processing {"connection_id":177227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 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-09-09 20:52: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-09-09 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-09-09 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-09-09 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-09-09 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-09-09 20:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:52:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":177227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:52:06] local.INFO: GPS data processed {"connection_id":177227,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:52:06] local.INFO: Acknowledgment sent {"connection_id":177227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:52:29] local.INFO: TCP Data received {"connection_id":177228,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:52:29] local.INFO: Processing buffer {"connection_id":177228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:52:29] local.INFO: IMEI packet received {"connection_id":177228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":177228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:52:34] local.INFO: TCP Data received {"connection_id":177228,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:52:34] local.INFO: Processing buffer {"connection_id":177228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:52:34] local.INFO: IMEI packet received {"connection_id":177228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":177228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:52:35] local.INFO: TCP Data received {"connection_id":177228,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:52:35] local.INFO: Processing buffer {"connection_id":177228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:52:35] local.INFO: Packet analysis {"connection_id":177228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:52:35] local.INFO: Extracted packet for processing {"connection_id":177228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 20:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:52:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":177228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:52:35] local.INFO: GPS data processed {"connection_id":177228,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:52:35] local.INFO: Acknowledgment sent {"connection_id":177228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:52:38] local.INFO: TCP Data received {"connection_id":176065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:52:38] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:52:38] local.INFO: IMEI packet received {"connection_id":176065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":176065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:52:43] local.INFO: TCP Data received {"connection_id":176065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:52:43] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:52:43] local.INFO: IMEI packet received {"connection_id":176065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":176065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:52:44] local.INFO: TCP Data received {"connection_id":176065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:52:44] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:52:44] local.INFO: Packet analysis {"connection_id":176065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:52:44] local.INFO: Extracted packet for processing {"connection_id":176065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975500288001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967099000,"timestamp_ms":1788967099000,"timestamp_seconds":1788967099,"priority":1,"record_length":96,"hex_timestamp":"000001a086bf9a78"} 
[2026-09-09 20:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 20:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975500288001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975500288001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975500288001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":176065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:52:44] local.INFO: GPS data processed {"connection_id":176065,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:52:44] local.INFO: Acknowledgment sent {"connection_id":176065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:53:06] local.INFO: TCP Data received {"connection_id":177228,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:53:06] local.INFO: Processing buffer {"connection_id":177228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:53:06] local.INFO: Packet analysis {"connection_id":177228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:53:06] local.INFO: Extracted packet for processing {"connection_id":177228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:53: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-09-09 20:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 20:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:53: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-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:53: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-09-09 20: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-09-09 20:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:53:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":177228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:53:06] local.INFO: GPS data processed {"connection_id":177228,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:53:06] local.INFO: Acknowledgment sent {"connection_id":177228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:53:29] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:53:29] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:53:29] local.INFO: IMEI packet received {"connection_id":175844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":175844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:53:32] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:53:32] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:53:32] local.INFO: IMEI packet received {"connection_id":175845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":175845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:53:34] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:53:34] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:53:34] local.INFO: IMEI packet received {"connection_id":175844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":175844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:53:35] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:53:35] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:53:35] local.INFO: Packet analysis {"connection_id":175844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:53:35] local.INFO: Extracted packet for processing {"connection_id":175844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 20:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:53:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":175844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:53:35] local.INFO: GPS data processed {"connection_id":175844,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:53:35] local.INFO: Acknowledgment sent {"connection_id":175844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:53:38] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:53:38] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:53:38] local.INFO: IMEI packet received {"connection_id":175845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":175845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:53:39] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:53:39] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086bf9a78012d34c14006aa42b80005011628..."} 
[2026-09-09 20:53:39] local.INFO: Packet analysis {"connection_id":175845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:53:39] local.INFO: Extracted packet for processing {"connection_id":175845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086bf"} 
[2026-09-09 20:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975500288001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788967099000,"timestamp_ms":1788967099000,"timestamp_seconds":1788967099,"priority":1,"record_length":96,"hex_timestamp":"000001a086bf9a78"} 
[2026-09-09 20:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-09 20:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975500288001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975500288001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975500288001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":175845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:53:39] local.INFO: GPS data processed {"connection_id":175845,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:53:39] local.INFO: Acknowledgment sent {"connection_id":175845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:53:41] local.INFO: TCP Data received {"connection_id":177229,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:53:41] local.INFO: Processing buffer {"connection_id":177229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:53:41] local.INFO: IMEI packet received {"connection_id":177229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":177229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:54:06] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:54:06] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:54:06] local.INFO: Packet analysis {"connection_id":175844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:54:06] local.INFO: Extracted packet for processing {"connection_id":175844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 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-09-09 20:54: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-09-09 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-09-09 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-09-09 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-09-09 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-09-09 20:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":175844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:54:06] local.INFO: GPS data processed {"connection_id":175844,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:54:06] local.INFO: Acknowledgment sent {"connection_id":175844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:54:10] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:54:10] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:54:10] local.INFO: Packet analysis {"connection_id":175845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:54:10] local.INFO: Extracted packet for processing {"connection_id":175845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:54: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-09-09 20:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":175845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:54:10] local.INFO: GPS data processed {"connection_id":175845,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:54:10] local.INFO: Acknowledgment sent {"connection_id":175845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:54:29] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:54:29] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:54:29] local.INFO: IMEI packet received {"connection_id":175846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":175846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:54:34] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:54:34] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:54:34] local.INFO: IMEI packet received {"connection_id":175846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":175846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:54:35] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:54:35] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:54:35] local.INFO: Packet analysis {"connection_id":175846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:54:35] local.INFO: Extracted packet for processing {"connection_id":175846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:54:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":175846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:54:35] local.INFO: GPS data processed {"connection_id":175846,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:54:35] local.INFO: Acknowledgment sent {"connection_id":175846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:54:37] local.INFO: TCP Data received {"connection_id":177230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:54:37] local.INFO: Processing buffer {"connection_id":177230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:54:37] local.INFO: IMEI packet received {"connection_id":177230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":177230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:54:43] local.INFO: TCP Data received {"connection_id":177230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:54:43] local.INFO: Processing buffer {"connection_id":177230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:54:43] local.INFO: IMEI packet received {"connection_id":177230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":177230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:54:44] local.INFO: TCP Data received {"connection_id":177230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:54:44] local.INFO: Processing buffer {"connection_id":177230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:54:44] local.INFO: Packet analysis {"connection_id":177230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:54:44] local.INFO: Extracted packet for processing {"connection_id":177230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":177230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:54:44] local.INFO: GPS data processed {"connection_id":177230,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:54:44] local.INFO: Acknowledgment sent {"connection_id":177230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:55:06] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:55:06] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c0d2f8012d1965c0071ff020003b011b28..."} 
[2026-09-09 20:55:06] local.INFO: Packet analysis {"connection_id":175846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:55:06] local.INFO: Extracted packet for processing {"connection_id":175846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c0"} 
[2026-09-09 20:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975520768001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55: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-09-09 20:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788967179000,"timestamp_ms":1788967179000,"timestamp_seconds":1788967179,"priority":1,"record_length":96,"hex_timestamp":"000001a086c0d2f8"} 
[2026-09-09 20:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:55: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-09-09 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 20:55: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-09-09 20: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-09-09 20:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975520768001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975520768001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:55:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975520768001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":175846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:55:07] local.INFO: GPS data processed {"connection_id":175846,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:55:07] local.INFO: Acknowledgment sent {"connection_id":175846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:55:16] local.INFO: TCP Data received {"connection_id":177230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:55:16] local.INFO: Processing buffer {"connection_id":177230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:55:16] local.INFO: Packet analysis {"connection_id":177230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:55:16] local.INFO: Extracted packet for processing {"connection_id":177230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:55:16] 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-09-09 20: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-09-09 20:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:55:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":177230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:55:16] local.INFO: GPS data processed {"connection_id":177230,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:55:16] local.INFO: Acknowledgment sent {"connection_id":177230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:55:34] local.INFO: TCP Data received {"connection_id":178635,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:55:34] local.INFO: Processing buffer {"connection_id":178635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:55:34] local.INFO: IMEI packet received {"connection_id":178635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":178635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:55:37] local.INFO: TCP Data received {"connection_id":175848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:55:37] local.INFO: Processing buffer {"connection_id":175848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:55:37] local.INFO: IMEI packet received {"connection_id":175848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":175848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:55:39] local.INFO: TCP Data received {"connection_id":178635,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:55:39] local.INFO: Processing buffer {"connection_id":178635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:55:39] local.INFO: IMEI packet received {"connection_id":178635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":178635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:55:40] local.INFO: TCP Data received {"connection_id":178635,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:55:40] local.INFO: Processing buffer {"connection_id":178635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:55:40] local.INFO: Packet analysis {"connection_id":178635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:55:40] local.INFO: Extracted packet for processing {"connection_id":178635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55: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-09-09 20:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 20:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:55:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":178635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:55:40] local.INFO: GPS data processed {"connection_id":178635,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:55:40] local.INFO: Acknowledgment sent {"connection_id":178635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:55:43] local.INFO: TCP Data received {"connection_id":175848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:55:43] local.INFO: Processing buffer {"connection_id":175848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:55:43] local.INFO: IMEI packet received {"connection_id":175848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":175848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:55:44] local.INFO: TCP Data received {"connection_id":175848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:55:44] local.INFO: Processing buffer {"connection_id":175848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:55:44] local.INFO: Packet analysis {"connection_id":175848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:55:44] local.INFO: Extracted packet for processing {"connection_id":175848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":175848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:55:44] local.INFO: GPS data processed {"connection_id":175848,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:55:44] local.INFO: Acknowledgment sent {"connection_id":175848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:55:44] local.INFO: TCP Data received {"connection_id":178635,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:55:44] local.INFO: Processing buffer {"connection_id":178635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:55:44] local.INFO: Packet analysis {"connection_id":178635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:55:44] local.INFO: Extracted packet for processing {"connection_id":178635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 20:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:55: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-09-09 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:55: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-09-09 20:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:55: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-09-09 20:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:55:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":178635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:55:45] local.INFO: GPS data processed {"connection_id":178635,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:55:45] local.INFO: Acknowledgment sent {"connection_id":178635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:56:15] local.INFO: TCP Data received {"connection_id":175848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:56:15] local.INFO: Processing buffer {"connection_id":175848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:56:15] local.INFO: Packet analysis {"connection_id":175848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:56:15] local.INFO: Extracted packet for processing {"connection_id":175848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":175848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:56:15] local.INFO: GPS data processed {"connection_id":175848,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:56:15] local.INFO: Acknowledgment sent {"connection_id":175848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:56:29] local.INFO: TCP Data received {"connection_id":177231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:56:29] local.INFO: Processing buffer {"connection_id":177231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:56:29] local.INFO: IMEI packet received {"connection_id":177231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":177231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:56:34] local.INFO: TCP Data received {"connection_id":177231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:56:34] local.INFO: Processing buffer {"connection_id":177231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:56:34] local.INFO: IMEI packet received {"connection_id":177231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":177231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:56:35] local.INFO: TCP Data received {"connection_id":177231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:56:35] local.INFO: Processing buffer {"connection_id":177231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:56:35] local.INFO: Packet analysis {"connection_id":177231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:56:35] local.INFO: Extracted packet for processing {"connection_id":177231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 20:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:56:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":177231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:56:35] local.INFO: GPS data processed {"connection_id":177231,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:56:35] local.INFO: Acknowledgment sent {"connection_id":177231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:56:43] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:56:43] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:56:43] local.INFO: IMEI packet received {"connection_id":176067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":176067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:56:48] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:56:48] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:56:48] local.INFO: IMEI packet received {"connection_id":176067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":176067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:56:49] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:56:49] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:56:49] local.INFO: Packet analysis {"connection_id":176067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:56:49] local.INFO: Extracted packet for processing {"connection_id":176067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:56:49] 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-09-09 20:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:56:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":176067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:56:49] local.INFO: GPS data processed {"connection_id":176067,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:56:49] local.INFO: Acknowledgment sent {"connection_id":176067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:56:54] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:56:54] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:56:54] local.INFO: Packet analysis {"connection_id":176067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:56:54] local.INFO: Extracted packet for processing {"connection_id":176067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:56:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:56:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":176067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:56:54] local.INFO: GPS data processed {"connection_id":176067,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:56:54] local.INFO: Acknowledgment sent {"connection_id":176067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:57:07] local.INFO: TCP Data received {"connection_id":177231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:57:07] local.INFO: Processing buffer {"connection_id":177231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:57:07] local.INFO: Packet analysis {"connection_id":177231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:57:07] local.INFO: Extracted packet for processing {"connection_id":177231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20: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-09-09 20:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 20:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:57: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-09-09 20: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":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:57: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-09-09 20: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-09-09 20:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:57: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-09-09 20:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:57:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":177231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:57:07] local.INFO: GPS data processed {"connection_id":177231,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:57:07] local.INFO: Acknowledgment sent {"connection_id":177231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:57:30] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:57:30] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:57:30] local.INFO: IMEI packet received {"connection_id":175849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":175849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:57:34] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:57:34] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:57:34] local.INFO: IMEI packet received {"connection_id":175849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":175849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:57:35] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:57:35] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:57:35] local.INFO: Packet analysis {"connection_id":175849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:57:35] local.INFO: Extracted packet for processing {"connection_id":175849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 20:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:57:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":175849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:57:35] local.INFO: GPS data processed {"connection_id":175849,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:57:35] local.INFO: Acknowledgment sent {"connection_id":175849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:57:38] local.INFO: TCP Data received {"connection_id":176068,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:57:38] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:57:38] local.INFO: IMEI packet received {"connection_id":176068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":176068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:57:43] local.INFO: TCP Data received {"connection_id":176068,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:57:43] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:57:43] local.INFO: IMEI packet received {"connection_id":176068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":176068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:57:44] local.INFO: TCP Data received {"connection_id":176068,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:57:44] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:57:44] local.INFO: Packet analysis {"connection_id":176068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:57:44] local.INFO: Extracted packet for processing {"connection_id":176068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:57:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":176068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:57:44] local.INFO: GPS data processed {"connection_id":176068,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:57:44] local.INFO: Acknowledgment sent {"connection_id":176068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:58:06] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:58:06] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:58:06] local.INFO: Packet analysis {"connection_id":175849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:58:06] local.INFO: Extracted packet for processing {"connection_id":175849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20: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-09-09 20:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 20:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:58: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-09-09 20:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:58: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-09-09 20: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-09-09 20:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":175849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:58:06] local.INFO: GPS data processed {"connection_id":175849,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:58:06] local.INFO: Acknowledgment sent {"connection_id":175849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:58:15] local.INFO: TCP Data received {"connection_id":176068,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:58:15] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:58:15] local.INFO: Packet analysis {"connection_id":176068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:58:15] local.INFO: Extracted packet for processing {"connection_id":176068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":176068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:58:15] local.INFO: GPS data processed {"connection_id":176068,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:58:15] local.INFO: Acknowledgment sent {"connection_id":176068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:58:29] local.INFO: TCP Data received {"connection_id":177233,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:58:29] local.INFO: Processing buffer {"connection_id":177233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:58:29] local.INFO: IMEI packet received {"connection_id":177233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":177233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:58:34] local.INFO: TCP Data received {"connection_id":177233,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:58:34] local.INFO: Processing buffer {"connection_id":177233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:58:34] local.INFO: IMEI packet received {"connection_id":177233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":177233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:58:35] local.INFO: TCP Data received {"connection_id":177233,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:58:35] local.INFO: Processing buffer {"connection_id":177233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:58:35] local.INFO: Packet analysis {"connection_id":177233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:58:35] local.INFO: Extracted packet for processing {"connection_id":177233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 20:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:58:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":177233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:58:35] local.INFO: GPS data processed {"connection_id":177233,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:58:35] local.INFO: Acknowledgment sent {"connection_id":177233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:58:38] local.INFO: TCP Data received {"connection_id":178637,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:58:38] local.INFO: Processing buffer {"connection_id":178637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:58:38] local.INFO: IMEI packet received {"connection_id":178637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":178637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:58:43] local.INFO: TCP Data received {"connection_id":178637,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:58:43] local.INFO: Processing buffer {"connection_id":178637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:58:43] local.INFO: IMEI packet received {"connection_id":178637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":178637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:58:46] local.INFO: TCP Data received {"connection_id":178637,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:58:46] local.INFO: Processing buffer {"connection_id":178637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c43240012d34c14006aa42b80007011629..."} 
[2026-09-09 20:58:46] local.INFO: Packet analysis {"connection_id":178637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:58:46] local.INFO: Extracted packet for processing {"connection_id":178637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c4"} 
[2026-09-09 20:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975577344001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788967400000,"timestamp_ms":1788967400000,"timestamp_seconds":1788967400,"priority":1,"record_length":96,"hex_timestamp":"000001a086c43240"} 
[2026-09-09 20:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 20:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":178637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":178637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":178637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:58: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-09-09 20:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975577344001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975577344001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975577344001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":178637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:58:46] local.INFO: GPS data processed {"connection_id":178637,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:58:46] local.INFO: Acknowledgment sent {"connection_id":178637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:59:06] local.INFO: TCP Data received {"connection_id":177233,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:59:06] local.INFO: Processing buffer {"connection_id":177233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:59:06] local.INFO: Packet analysis {"connection_id":177233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:59:06] local.INFO: Extracted packet for processing {"connection_id":177233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 20:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 20:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 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-09-09 20:59: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-09-09 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":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:59: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-09-09 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-09-09 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-09-09 20:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":177233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:59:06] local.INFO: GPS data processed {"connection_id":177233,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:59:06] local.INFO: Acknowledgment sent {"connection_id":177233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:59:07] local.INFO: TCP Data received {"connection_id":178638,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:59:07] local.INFO: Processing buffer {"connection_id":178638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:59:07] local.INFO: IMEI packet received {"connection_id":178638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":178638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:59:18] local.INFO: TCP Data received {"connection_id":178637,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 20:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 20:59:18] local.INFO: Processing buffer {"connection_id":178637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 20:59:18] local.INFO: Packet analysis {"connection_id":178637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 20:59:18] local.INFO: Extracted packet for processing {"connection_id":178637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 20:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 20:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 20:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":178637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:59:18] local.INFO: GPS data processed {"connection_id":178637,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:59:18] local.INFO: Acknowledgment sent {"connection_id":178637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:59:29] local.INFO: TCP Data received {"connection_id":176069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:59:29] local.INFO: Processing buffer {"connection_id":176069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:59:29] local.INFO: IMEI packet received {"connection_id":176069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 20:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":176069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:59:34] local.INFO: TCP Data received {"connection_id":176069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:59:34] local.INFO: Processing buffer {"connection_id":176069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 20:59:34] local.INFO: IMEI packet received {"connection_id":176069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 20:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":176069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:59:35] local.INFO: TCP Data received {"connection_id":176069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:59:35] local.INFO: Processing buffer {"connection_id":176069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 20:59:35] local.INFO: Packet analysis {"connection_id":176069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:59:35] local.INFO: Extracted packet for processing {"connection_id":176069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 20:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 20: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-09-09 20:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 20:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 20:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20: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-09-09 20:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 20:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 20:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 20:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 20:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 20:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 20:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:59:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 20:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 20:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 20:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 20:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":176069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:59:35] local.INFO: GPS data processed {"connection_id":176069,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:59:35] local.INFO: Acknowledgment sent {"connection_id":176069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:59:37] local.INFO: TCP Data received {"connection_id":175850,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:59:37] local.INFO: Processing buffer {"connection_id":175850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:59:37] local.INFO: IMEI packet received {"connection_id":175850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 20:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":175850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 20:59:43] local.INFO: TCP Data received {"connection_id":175850,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:59:43] local.INFO: Processing buffer {"connection_id":175850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 20:59:43] local.INFO: IMEI packet received {"connection_id":175850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 20:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":175850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 20:59:44] local.INFO: TCP Data received {"connection_id":175850,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 20:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 20:59:44] local.INFO: Processing buffer {"connection_id":175850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 20:59:44] local.INFO: Packet analysis {"connection_id":175850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 20:59:44] local.INFO: Extracted packet for processing {"connection_id":175850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 20:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 20:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 20:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 20:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 20:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 20:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 20:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 20:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 20:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 20:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 20:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 20:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 20:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 20:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 20:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 20:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 20:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 20:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 20:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 20:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 20:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 20:59:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 20:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 20:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 20:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 20:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 20:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":175850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 20:59:44] local.INFO: GPS data processed {"connection_id":175850,"processed":1,"errors":0,"total":1} 
[2026-09-09 20:59:44] local.INFO: Acknowledgment sent {"connection_id":175850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 20:59:56] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:59:56] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 20:59:56] local.INFO: IMEI packet received {"connection_id":175851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 20:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":175851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:00:07] local.INFO: TCP Data received {"connection_id":176069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 21:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 21:00:07] local.INFO: Processing buffer {"connection_id":176069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c56ac0012d1965c0071ff020003b011b26..."} 
[2026-09-09 21:00:07] local.INFO: Packet analysis {"connection_id":176069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 21:00:07] local.INFO: Extracted packet for processing {"connection_id":176069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c5"} 
[2026-09-09 21:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975597824001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788967480000,"timestamp_ms":1788967480000,"timestamp_seconds":1788967480,"priority":1,"record_length":96,"hex_timestamp":"000001a086c56ac0"} 
[2026-09-09 21:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:00: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-09-09 21: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":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:00: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-09-09 21: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-09-09 21:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:00: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-09-09 21:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975597824001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975597824001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:00:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975597824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":176069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:00:07] local.INFO: GPS data processed {"connection_id":176069,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:00:07] local.INFO: Acknowledgment sent {"connection_id":176069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:00:17] local.INFO: TCP Data received {"connection_id":175850,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:00:17] local.INFO: Processing buffer {"connection_id":175850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:00:17] local.INFO: Packet analysis {"connection_id":175850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:00:17] local.INFO: Extracted packet for processing {"connection_id":175850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 21:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":175850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:00:17] local.INFO: GPS data processed {"connection_id":175850,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:00:17] local.INFO: Acknowledgment sent {"connection_id":175850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:00:34] local.INFO: TCP Data received {"connection_id":178639,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:00:34] local.INFO: Processing buffer {"connection_id":178639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:00:34] local.INFO: IMEI packet received {"connection_id":178639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":178639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:00:39] local.INFO: TCP Data received {"connection_id":178639,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:00:39] local.INFO: Processing buffer {"connection_id":178639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:00:39] local.INFO: IMEI packet received {"connection_id":178639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":178639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:00:40] local.INFO: TCP Data received {"connection_id":178639,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:00:40] local.INFO: Processing buffer {"connection_id":178639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:00:40] local.INFO: Packet analysis {"connection_id":178639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:00:40] local.INFO: Extracted packet for processing {"connection_id":178639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:00:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00: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-09-09 21:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 21:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:00: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-09-09 21:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":178639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":178639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":178639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:00:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":178639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:00:40] local.INFO: GPS data processed {"connection_id":178639,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:00:40] local.INFO: Acknowledgment sent {"connection_id":178639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:00:43] local.INFO: TCP Data received {"connection_id":178640,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:00:43] local.INFO: Processing buffer {"connection_id":178640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:00:43] local.INFO: IMEI packet received {"connection_id":178640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":178640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:00:44] local.INFO: TCP Data received {"connection_id":178639,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:00:44] local.INFO: Processing buffer {"connection_id":178639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:00:44] local.INFO: Packet analysis {"connection_id":178639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:00:44] local.INFO: Extracted packet for processing {"connection_id":178639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 21:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:00:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:00:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":178639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:00:44] local.INFO: GPS data processed {"connection_id":178639,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:00:44] local.INFO: Acknowledgment sent {"connection_id":178639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:00:48] local.INFO: TCP Data received {"connection_id":178640,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:00:48] local.INFO: Processing buffer {"connection_id":178640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:00:48] local.INFO: IMEI packet received {"connection_id":178640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":178640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:00:49] local.INFO: TCP Data received {"connection_id":178640,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:00:49] local.INFO: Processing buffer {"connection_id":178640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:00:49] local.INFO: Packet analysis {"connection_id":178640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:00:49] local.INFO: Extracted packet for processing {"connection_id":178640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 21:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":178640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:00:49] local.INFO: GPS data processed {"connection_id":178640,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:00:49] local.INFO: Acknowledgment sent {"connection_id":178640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:00:53] local.INFO: TCP Data received {"connection_id":178640,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:00:53] local.INFO: Processing buffer {"connection_id":178640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:00:53] local.INFO: Packet analysis {"connection_id":178640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:00:53] local.INFO: Extracted packet for processing {"connection_id":178640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 21:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":178640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:00:54] local.INFO: GPS data processed {"connection_id":178640,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:00:54] local.INFO: Acknowledgment sent {"connection_id":178640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:01:29] local.INFO: TCP Data received {"connection_id":176070,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:01:29] local.INFO: Processing buffer {"connection_id":176070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:01:29] local.INFO: IMEI packet received {"connection_id":176070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":176070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:01:34] local.INFO: TCP Data received {"connection_id":176070,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:01:34] local.INFO: Processing buffer {"connection_id":176070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:01:34] local.INFO: IMEI packet received {"connection_id":176070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":176070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:01:35] local.INFO: TCP Data received {"connection_id":176070,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:01:35] local.INFO: Processing buffer {"connection_id":176070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:01:35] local.INFO: Packet analysis {"connection_id":176070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:01:35] local.INFO: Extracted packet for processing {"connection_id":176070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 21:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:01:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":176070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:01:35] local.INFO: GPS data processed {"connection_id":176070,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:01:35] local.INFO: Acknowledgment sent {"connection_id":176070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:01:38] local.INFO: TCP Data received {"connection_id":178642,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:01:38] local.INFO: Processing buffer {"connection_id":178642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:01:38] local.INFO: IMEI packet received {"connection_id":178642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":178642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:01:43] local.INFO: TCP Data received {"connection_id":178642,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:01:43] local.INFO: Processing buffer {"connection_id":178642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:01:43] local.INFO: IMEI packet received {"connection_id":178642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":178642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:01:44] local.INFO: TCP Data received {"connection_id":178642,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:01:44] local.INFO: Processing buffer {"connection_id":178642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:01:44] local.INFO: Packet analysis {"connection_id":178642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:01:44] local.INFO: Extracted packet for processing {"connection_id":178642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 21:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":178642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:01:44] local.INFO: GPS data processed {"connection_id":178642,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:01:44] local.INFO: Acknowledgment sent {"connection_id":178642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:02:06] local.INFO: TCP Data received {"connection_id":176070,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:02:06] local.INFO: Processing buffer {"connection_id":176070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:02:06] local.INFO: Packet analysis {"connection_id":176070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:02:06] local.INFO: Extracted packet for processing {"connection_id":176070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 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-09-09 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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-09-09 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-09-09 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-09-09 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-09-09 21:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":176070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:02:06] local.INFO: GPS data processed {"connection_id":176070,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:02:06] local.INFO: Acknowledgment sent {"connection_id":176070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:02:17] local.INFO: TCP Data received {"connection_id":178642,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:02:17] local.INFO: Processing buffer {"connection_id":178642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:02:17] local.INFO: Packet analysis {"connection_id":178642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:02:17] local.INFO: Extracted packet for processing {"connection_id":178642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 21:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":178642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":178642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":178642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:02: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-09-09 21:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:02:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":178642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:02:17] local.INFO: GPS data processed {"connection_id":178642,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:02:17] local.INFO: Acknowledgment sent {"connection_id":178642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:02:30] local.INFO: TCP Data received {"connection_id":177234,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:02:30] local.INFO: Processing buffer {"connection_id":177234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:02:30] local.INFO: IMEI packet received {"connection_id":177234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":177234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:02:34] local.INFO: TCP Data received {"connection_id":177234,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:02:34] local.INFO: Processing buffer {"connection_id":177234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:02:34] local.INFO: IMEI packet received {"connection_id":177234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":177234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:02:35] local.INFO: TCP Data received {"connection_id":177234,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:02:35] local.INFO: Processing buffer {"connection_id":177234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:02:35] local.INFO: Packet analysis {"connection_id":177234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:02:35] local.INFO: Extracted packet for processing {"connection_id":177234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 21:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:02:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":177234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:02:35] local.INFO: GPS data processed {"connection_id":177234,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:02:35] local.INFO: Acknowledgment sent {"connection_id":177234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:02:38] local.INFO: TCP Data received {"connection_id":178643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:02:38] local.INFO: Processing buffer {"connection_id":178643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:02:38] local.INFO: IMEI packet received {"connection_id":178643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":178643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:02:43] local.INFO: TCP Data received {"connection_id":178643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:02:43] local.INFO: Processing buffer {"connection_id":178643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:02:43] local.INFO: IMEI packet received {"connection_id":178643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":178643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:02:44] local.INFO: TCP Data received {"connection_id":178643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:02:44] local.INFO: Processing buffer {"connection_id":178643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:02:44] local.INFO: Packet analysis {"connection_id":178643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:02:44] local.INFO: Extracted packet for processing {"connection_id":178643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 21:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:02:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":178643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:02:44] local.INFO: GPS data processed {"connection_id":178643,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:02:44] local.INFO: Acknowledgment sent {"connection_id":178643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:03:06] local.INFO: TCP Data received {"connection_id":177234,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:03:06] local.INFO: Processing buffer {"connection_id":177234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:03:06] local.INFO: Packet analysis {"connection_id":177234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:03:06] local.INFO: Extracted packet for processing {"connection_id":177234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 21:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:03: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-09-09 21: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-09-09 21:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21: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-09-09 21:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:03:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":177234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:03:06] local.INFO: GPS data processed {"connection_id":177234,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:03:06] local.INFO: Acknowledgment sent {"connection_id":177234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:03:15] local.INFO: TCP Data received {"connection_id":178643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:03:15] local.INFO: Processing buffer {"connection_id":178643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:03:15] local.INFO: Packet analysis {"connection_id":178643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:03:15] local.INFO: Extracted packet for processing {"connection_id":178643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 21:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":178643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:03:15] local.INFO: GPS data processed {"connection_id":178643,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:03:15] local.INFO: Acknowledgment sent {"connection_id":178643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:03:29] local.INFO: TCP Data received {"connection_id":177236,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:03:29] local.INFO: Processing buffer {"connection_id":177236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:03:29] local.INFO: IMEI packet received {"connection_id":177236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":177236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:03:34] local.INFO: TCP Data received {"connection_id":177236,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:03:34] local.INFO: Processing buffer {"connection_id":177236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:03:34] local.INFO: IMEI packet received {"connection_id":177236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":177236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:03:35] local.INFO: TCP Data received {"connection_id":177236,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:03:35] local.INFO: Processing buffer {"connection_id":177236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:03:35] local.INFO: Packet analysis {"connection_id":177236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:03:35] local.INFO: Extracted packet for processing {"connection_id":177236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 21:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:03:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":177236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:03:35] local.INFO: GPS data processed {"connection_id":177236,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:03:35] local.INFO: Acknowledgment sent {"connection_id":177236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:03:38] local.INFO: TCP Data received {"connection_id":178644,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:03:38] local.INFO: Processing buffer {"connection_id":178644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:03:38] local.INFO: IMEI packet received {"connection_id":178644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":178644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:03:43] local.INFO: TCP Data received {"connection_id":178644,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:03:43] local.INFO: Processing buffer {"connection_id":178644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:03:43] local.INFO: IMEI packet received {"connection_id":178644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":178644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:03:44] local.INFO: TCP Data received {"connection_id":178644,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:03:44] local.INFO: Processing buffer {"connection_id":178644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086c8ca08012d34c14006aa42b80007011629..."} 
[2026-09-09 21:03:44] local.INFO: Packet analysis {"connection_id":178644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:03:44] local.INFO: Extracted packet for processing {"connection_id":178644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086c8"} 
[2026-09-09 21:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975654400001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967701000,"timestamp_ms":1788967701000,"timestamp_seconds":1788967701,"priority":1,"record_length":96,"hex_timestamp":"000001a086c8ca08"} 
[2026-09-09 21:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975654400001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975654400001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975654400001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":178644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:03:44] local.INFO: GPS data processed {"connection_id":178644,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:03:44] local.INFO: Acknowledgment sent {"connection_id":178644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:04:07] local.INFO: TCP Data received {"connection_id":177236,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:04:07] local.INFO: Processing buffer {"connection_id":177236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:04:07] local.INFO: Packet analysis {"connection_id":177236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:04:07] local.INFO: Extracted packet for processing {"connection_id":177236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 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-09-09 21:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21: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-09-09 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-09-09 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-09-09 21:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:04: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-09-09 21:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:04:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":177236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:04:07] local.INFO: GPS data processed {"connection_id":177236,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:04:07] local.INFO: Acknowledgment sent {"connection_id":177236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:04:15] local.INFO: TCP Data received {"connection_id":178644,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:04:15] local.INFO: Processing buffer {"connection_id":178644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:04:15] local.INFO: Packet analysis {"connection_id":178644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:04:15] local.INFO: Extracted packet for processing {"connection_id":178644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 21:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":178644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:04:15] local.INFO: GPS data processed {"connection_id":178644,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:04:15] local.INFO: Acknowledgment sent {"connection_id":178644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:04:34] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:04:34] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:04:34] local.INFO: IMEI packet received {"connection_id":176071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":176071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:04:37] local.INFO: TCP Data received {"connection_id":176072,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:04:37] local.INFO: Processing buffer {"connection_id":176072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:04:37] local.INFO: IMEI packet received {"connection_id":176072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":176072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:04:39] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:04:39] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:04:39] local.INFO: IMEI packet received {"connection_id":176071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":176071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:04:40] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:04:40] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:04:40] local.INFO: Packet analysis {"connection_id":176071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:04:40] local.INFO: Extracted packet for processing {"connection_id":176071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04: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-09-09 21:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 21:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:04: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-09-09 21: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-09-09 21:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:04:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":176071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:04:40] local.INFO: GPS data processed {"connection_id":176071,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:04:40] local.INFO: Acknowledgment sent {"connection_id":176071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:04:43] local.INFO: TCP Data received {"connection_id":176072,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:04:43] local.INFO: Processing buffer {"connection_id":176072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:04:43] local.INFO: IMEI packet received {"connection_id":176072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":176072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:04:44] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:04:44] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ca0288012d1965c0071ff020003b011b28..."} 
[2026-09-09 21:04:44] local.INFO: Packet analysis {"connection_id":176071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:04:44] local.INFO: Extracted packet for processing {"connection_id":176071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ca"} 
[2026-09-09 21:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":59,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975674880001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788967781000,"timestamp_ms":1788967781000,"timestamp_seconds":1788967781,"priority":1,"record_length":96,"hex_timestamp":"000001a086ca0288"} 
[2026-09-09 21:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975674880001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975674880001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:04:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975674880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":176071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:04:45] local.INFO: GPS data processed {"connection_id":176071,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:04:45] local.INFO: Acknowledgment sent {"connection_id":176071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:04:45] local.INFO: TCP Data received {"connection_id":176072,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:04:45] local.INFO: Processing buffer {"connection_id":176072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:04:45] local.INFO: Packet analysis {"connection_id":176072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:04:45] local.INFO: Extracted packet for processing {"connection_id":176072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 21:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:04:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":176072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:04:45] local.INFO: GPS data processed {"connection_id":176072,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:04:45] local.INFO: Acknowledgment sent {"connection_id":176072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:05:17] local.INFO: TCP Data received {"connection_id":176072,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:05:17] local.INFO: Processing buffer {"connection_id":176072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:05:17] local.INFO: Packet analysis {"connection_id":176072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:05:17] local.INFO: Extracted packet for processing {"connection_id":176072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 21:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:05:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":176072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:05:17] local.INFO: GPS data processed {"connection_id":176072,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:05:17] local.INFO: Acknowledgment sent {"connection_id":176072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:05:29] local.INFO: TCP Data received {"connection_id":178645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:05:29] local.INFO: Processing buffer {"connection_id":178645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:05:29] local.INFO: IMEI packet received {"connection_id":178645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":178645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:05:34] local.INFO: TCP Data received {"connection_id":178645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:05:34] local.INFO: Processing buffer {"connection_id":178645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:05:34] local.INFO: IMEI packet received {"connection_id":178645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":178645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:05:35] local.INFO: TCP Data received {"connection_id":178645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:05:35] local.INFO: Processing buffer {"connection_id":178645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:05:35] local.INFO: Packet analysis {"connection_id":178645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:05:35] local.INFO: Extracted packet for processing {"connection_id":178645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 21:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:05:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":178645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:05:35] local.INFO: GPS data processed {"connection_id":178645,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:05:35] local.INFO: Acknowledgment sent {"connection_id":178645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:05:43] local.INFO: TCP Data received {"connection_id":178646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:05:43] local.INFO: Processing buffer {"connection_id":178646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:05:43] local.INFO: IMEI packet received {"connection_id":178646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":178646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:05:48] local.INFO: TCP Data received {"connection_id":178646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:05:48] local.INFO: Processing buffer {"connection_id":178646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:05:48] local.INFO: IMEI packet received {"connection_id":178646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":178646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:05:49] local.INFO: TCP Data received {"connection_id":178646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:05:49] local.INFO: Processing buffer {"connection_id":178646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:05:49] local.INFO: Packet analysis {"connection_id":178646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:05:49] local.INFO: Extracted packet for processing {"connection_id":178646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 21:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:05:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":178646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:05:49] local.INFO: GPS data processed {"connection_id":178646,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:05:49] local.INFO: Acknowledgment sent {"connection_id":178646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:05:53] local.INFO: TCP Data received {"connection_id":178646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:05:53] local.INFO: Processing buffer {"connection_id":178646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:05:53] local.INFO: Packet analysis {"connection_id":178646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:05:53] local.INFO: Extracted packet for processing {"connection_id":178646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 21:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":178646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:05:53] local.INFO: GPS data processed {"connection_id":178646,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:05:53] local.INFO: Acknowledgment sent {"connection_id":178646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:06:02] local.INFO: TCP Data received {"connection_id":178647,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:06:02] local.INFO: Processing buffer {"connection_id":178647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:06:02] local.INFO: IMEI packet received {"connection_id":178647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":178647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:06:06] local.INFO: TCP Data received {"connection_id":178645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:06:06] local.INFO: Processing buffer {"connection_id":178645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:06:06] local.INFO: Packet analysis {"connection_id":178645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:06:06] local.INFO: Extracted packet for processing {"connection_id":178645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 21:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21: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-09-09 21:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:06:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":178645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:06:06] local.INFO: GPS data processed {"connection_id":178645,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:06:06] local.INFO: Acknowledgment sent {"connection_id":178645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:06:29] local.INFO: TCP Data received {"connection_id":176074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:06:29] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:06:29] local.INFO: IMEI packet received {"connection_id":176074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":176074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:06:34] local.INFO: TCP Data received {"connection_id":176074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:06:34] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:06:34] local.INFO: IMEI packet received {"connection_id":176074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":176074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:06:35] local.INFO: TCP Data received {"connection_id":176074,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:06:35] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:06:35] local.INFO: Packet analysis {"connection_id":176074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:06:35] local.INFO: Extracted packet for processing {"connection_id":176074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 21:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:06:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":176074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:06:35] local.INFO: GPS data processed {"connection_id":176074,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:06:35] local.INFO: Acknowledgment sent {"connection_id":176074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:06:38] local.INFO: TCP Data received {"connection_id":175854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:06:38] local.INFO: Processing buffer {"connection_id":175854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:06:38] local.INFO: IMEI packet received {"connection_id":175854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":175854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:06:43] local.INFO: TCP Data received {"connection_id":175854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:06:43] local.INFO: Processing buffer {"connection_id":175854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:06:43] local.INFO: IMEI packet received {"connection_id":175854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":175854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:06:43] local.INFO: TCP Data received {"connection_id":175854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:06:43] local.INFO: Processing buffer {"connection_id":175854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:06:43] local.INFO: Packet analysis {"connection_id":175854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:06:43] local.INFO: Extracted packet for processing {"connection_id":175854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 21:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:06: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-09-09 21:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":175854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:06:43] local.INFO: GPS data processed {"connection_id":175854,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:06:43] local.INFO: Acknowledgment sent {"connection_id":175854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:07:06] local.INFO: TCP Data received {"connection_id":176074,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:07:06] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:07:06] local.INFO: Packet analysis {"connection_id":176074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:07:06] local.INFO: Extracted packet for processing {"connection_id":176074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 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-09-09 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:07: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-09-09 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-09-09 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-09-09 21:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":176074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:07:06] local.INFO: GPS data processed {"connection_id":176074,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:07:06] local.INFO: Acknowledgment sent {"connection_id":176074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:07:15] local.INFO: TCP Data received {"connection_id":175854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:07:15] local.INFO: Processing buffer {"connection_id":175854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:07:15] local.INFO: Packet analysis {"connection_id":175854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:07:15] local.INFO: Extracted packet for processing {"connection_id":175854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 21:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":175854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:07:15] local.INFO: GPS data processed {"connection_id":175854,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:07:15] local.INFO: Acknowledgment sent {"connection_id":175854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:07:29] local.INFO: TCP Data received {"connection_id":178649,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:07:29] local.INFO: Processing buffer {"connection_id":178649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:07:29] local.INFO: IMEI packet received {"connection_id":178649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":178649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:07:34] local.INFO: TCP Data received {"connection_id":178649,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:07:34] local.INFO: Processing buffer {"connection_id":178649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:07:34] local.INFO: IMEI packet received {"connection_id":178649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":178649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:07:35] local.INFO: TCP Data received {"connection_id":178649,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:07:35] local.INFO: Processing buffer {"connection_id":178649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:07:35] local.INFO: Packet analysis {"connection_id":178649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:07:35] local.INFO: Extracted packet for processing {"connection_id":178649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 21:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:07: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-09-09 21:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:07:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":178649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:07:35] local.INFO: GPS data processed {"connection_id":178649,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:07:35] local.INFO: Acknowledgment sent {"connection_id":178649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:07:38] local.INFO: TCP Data received {"connection_id":177237,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:07:38] local.INFO: Processing buffer {"connection_id":177237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:07:38] local.INFO: IMEI packet received {"connection_id":177237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":177237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:07:43] local.INFO: TCP Data received {"connection_id":177237,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:07:43] local.INFO: Processing buffer {"connection_id":177237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:07:43] local.INFO: IMEI packet received {"connection_id":177237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":177237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:07:44] local.INFO: TCP Data received {"connection_id":177237,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:07:44] local.INFO: Processing buffer {"connection_id":177237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:07:44] local.INFO: Packet analysis {"connection_id":177237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:07:44] local.INFO: Extracted packet for processing {"connection_id":177237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 21:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":177237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:07:44] local.INFO: GPS data processed {"connection_id":177237,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:07:44] local.INFO: Acknowledgment sent {"connection_id":177237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:08:06] local.INFO: TCP Data received {"connection_id":178649,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:08:06] local.INFO: Processing buffer {"connection_id":178649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:08:06] local.INFO: Packet analysis {"connection_id":178649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:08:06] local.INFO: Extracted packet for processing {"connection_id":178649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08: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-09-09 21:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 21:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:08: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-09-09 21:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:08:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":178649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:08:06] local.INFO: GPS data processed {"connection_id":178649,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:08:06] local.INFO: Acknowledgment sent {"connection_id":178649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:08:16] local.INFO: TCP Data received {"connection_id":177237,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:08:16] local.INFO: Processing buffer {"connection_id":177237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:08:16] local.INFO: Packet analysis {"connection_id":177237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:08:16] local.INFO: Extracted packet for processing {"connection_id":177237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 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-09-09 21:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 21:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":177237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:08:16] local.INFO: GPS data processed {"connection_id":177237,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:08:16] local.INFO: Acknowledgment sent {"connection_id":177237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:08:29] local.INFO: TCP Data received {"connection_id":175855,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:08:29] local.INFO: Processing buffer {"connection_id":175855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:08:29] local.INFO: IMEI packet received {"connection_id":175855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":175855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:08:34] local.INFO: TCP Data received {"connection_id":175855,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:08:34] local.INFO: Processing buffer {"connection_id":175855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:08:34] local.INFO: IMEI packet received {"connection_id":175855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":175855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:08:35] local.INFO: TCP Data received {"connection_id":175855,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:08:35] local.INFO: Processing buffer {"connection_id":175855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:08:35] local.INFO: Packet analysis {"connection_id":175855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:08:35] local.INFO: Extracted packet for processing {"connection_id":175855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 21:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:08:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":175855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:08:35] local.INFO: GPS data processed {"connection_id":175855,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:08:35] local.INFO: Acknowledgment sent {"connection_id":175855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:08:38] local.INFO: TCP Data received {"connection_id":176075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:08:38] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:08:38] local.INFO: IMEI packet received {"connection_id":176075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":176075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:08:43] local.INFO: TCP Data received {"connection_id":176075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:08:43] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:08:43] local.INFO: IMEI packet received {"connection_id":176075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":176075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:08:44] local.INFO: TCP Data received {"connection_id":176075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:08:44] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086cd61d0012d34c14006aa42b80006011629..."} 
[2026-09-09 21:08:44] local.INFO: Packet analysis {"connection_id":176075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:08:44] local.INFO: Extracted packet for processing {"connection_id":176075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086cd"} 
[2026-09-09 21:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975731456001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968002000,"timestamp_ms":1788968002000,"timestamp_seconds":1788968002,"priority":1,"record_length":96,"hex_timestamp":"000001a086cd61d0"} 
[2026-09-09 21:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 21:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975731456001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975731456001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975731456001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":176075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:08:44] local.INFO: GPS data processed {"connection_id":176075,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:08:44] local.INFO: Acknowledgment sent {"connection_id":176075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:09:07] local.INFO: TCP Data received {"connection_id":175855,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:09:07] local.INFO: Processing buffer {"connection_id":175855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:09:07] local.INFO: Packet analysis {"connection_id":175855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:09:07] local.INFO: Extracted packet for processing {"connection_id":175855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 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-09-09 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21: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-09-09 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-09-09 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-09-09 21:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:09:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":175855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:09:07] local.INFO: GPS data processed {"connection_id":175855,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:09:07] local.INFO: Acknowledgment sent {"connection_id":175855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:09:15] local.INFO: TCP Data received {"connection_id":176075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:09:15] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:09:15] local.INFO: Packet analysis {"connection_id":176075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:09:15] local.INFO: Extracted packet for processing {"connection_id":176075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":176075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:09:15] local.INFO: GPS data processed {"connection_id":176075,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:09:15] local.INFO: Acknowledgment sent {"connection_id":176075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:09:34] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:09:34] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:09:34] local.INFO: IMEI packet received {"connection_id":176076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":176076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:09:39] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:09:39] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:09:39] local.INFO: IMEI packet received {"connection_id":176076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":176076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:09:40] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:09:40] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:09:40] local.INFO: Packet analysis {"connection_id":176076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:09:40] local.INFO: Extracted packet for processing {"connection_id":176076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09: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-09-09 21:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 21:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:09: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-09-09 21: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-09-09 21:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:09:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":176076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:09:40] local.INFO: GPS data processed {"connection_id":176076,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:09:40] local.INFO: Acknowledgment sent {"connection_id":176076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:09:43] local.INFO: TCP Data received {"connection_id":177239,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:09:43] local.INFO: Processing buffer {"connection_id":177239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:09:43] local.INFO: IMEI packet received {"connection_id":177239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":177239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:09:45] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:09:45] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ce9a50012d1965c0071ff0200040011b29..."} 
[2026-09-09 21:09:45] local.INFO: Packet analysis {"connection_id":176076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:09:45] local.INFO: Extracted packet for processing {"connection_id":176076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ce"} 
[2026-09-09 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975751936001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788968082000,"timestamp_ms":1788968082000,"timestamp_seconds":1788968082,"priority":1,"record_length":96,"hex_timestamp":"000001a086ce9a50"} 
[2026-09-09 21:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21: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-09-09 21: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-09-09 21:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21: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-09-09 21:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975751936001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975751936001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:09:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975751936001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":176076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:09:45] local.INFO: GPS data processed {"connection_id":176076,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:09:45] local.INFO: Acknowledgment sent {"connection_id":176076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:09:48] local.INFO: TCP Data received {"connection_id":177239,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:09:48] local.INFO: Processing buffer {"connection_id":177239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:09:48] local.INFO: IMEI packet received {"connection_id":177239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":177239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:09:49] local.INFO: TCP Data received {"connection_id":177239,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:09:49] local.INFO: Processing buffer {"connection_id":177239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:09:49] local.INFO: Packet analysis {"connection_id":177239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:09:49] local.INFO: Extracted packet for processing {"connection_id":177239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":177239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:09:49] local.INFO: GPS data processed {"connection_id":177239,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:09:49] local.INFO: Acknowledgment sent {"connection_id":177239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:09:53] local.INFO: TCP Data received {"connection_id":177239,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:09:53] local.INFO: Processing buffer {"connection_id":177239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:09:53] local.INFO: Packet analysis {"connection_id":177239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:09:53] local.INFO: Extracted packet for processing {"connection_id":177239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":177239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:09:53] local.INFO: GPS data processed {"connection_id":177239,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:09:53] local.INFO: Acknowledgment sent {"connection_id":177239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:10:29] local.INFO: TCP Data received {"connection_id":177240,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:10:29] local.INFO: Processing buffer {"connection_id":177240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:10:29] local.INFO: IMEI packet received {"connection_id":177240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":177240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:10:34] local.INFO: TCP Data received {"connection_id":177240,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:10:34] local.INFO: Processing buffer {"connection_id":177240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:10:34] local.INFO: IMEI packet received {"connection_id":177240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":177240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:10:35] local.INFO: TCP Data received {"connection_id":177240,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:10:35] local.INFO: Processing buffer {"connection_id":177240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:10:35] local.INFO: Packet analysis {"connection_id":177240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:10:35] local.INFO: Extracted packet for processing {"connection_id":177240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 21:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:10:35] 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-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:10: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-09-09 21:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:10:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":177240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:10:35] local.INFO: GPS data processed {"connection_id":177240,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:10:35] local.INFO: Acknowledgment sent {"connection_id":177240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:10:38] local.INFO: TCP Data received {"connection_id":177241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:10:38] local.INFO: Processing buffer {"connection_id":177241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:10:38] local.INFO: IMEI packet received {"connection_id":177241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":177241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:10:43] local.INFO: TCP Data received {"connection_id":177241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:10:43] local.INFO: Processing buffer {"connection_id":177241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:10:43] local.INFO: IMEI packet received {"connection_id":177241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":177241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:10:44] local.INFO: TCP Data received {"connection_id":177241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:10:44] local.INFO: Processing buffer {"connection_id":177241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:10:44] local.INFO: Packet analysis {"connection_id":177241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:10:44] local.INFO: Extracted packet for processing {"connection_id":177241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":177241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:10:44] local.INFO: GPS data processed {"connection_id":177241,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:10:44] local.INFO: Acknowledgment sent {"connection_id":177241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:11:06] local.INFO: TCP Data received {"connection_id":177240,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:11:06] local.INFO: Processing buffer {"connection_id":177240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:11:06] local.INFO: Packet analysis {"connection_id":177240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:11:06] local.INFO: Extracted packet for processing {"connection_id":177240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 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-09-09 21:11: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-09-09 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":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:11: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-09-09 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-09-09 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-09-09 21:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:11:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":177240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:11:06] local.INFO: GPS data processed {"connection_id":177240,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:11:06] local.INFO: Acknowledgment sent {"connection_id":177240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:11:15] local.INFO: TCP Data received {"connection_id":177241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:11:15] local.INFO: Processing buffer {"connection_id":177241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:11:15] local.INFO: Packet analysis {"connection_id":177241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:11:15] local.INFO: Extracted packet for processing {"connection_id":177241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":177241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:11:15] local.INFO: GPS data processed {"connection_id":177241,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:11:15] local.INFO: Acknowledgment sent {"connection_id":177241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:11:29] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:11:29] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:11:29] local.INFO: IMEI packet received {"connection_id":176077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":176077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:11:34] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:11:34] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:11:34] local.INFO: IMEI packet received {"connection_id":176077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":176077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:11:35] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:11:35] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:11:35] local.INFO: Packet analysis {"connection_id":176077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:11:35] local.INFO: Extracted packet for processing {"connection_id":176077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 21:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:11:35] 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-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:11:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":176077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:11:35] local.INFO: GPS data processed {"connection_id":176077,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:11:35] local.INFO: Acknowledgment sent {"connection_id":176077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:11:38] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:11:38] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:11:38] local.INFO: IMEI packet received {"connection_id":176078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":176078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:11:43] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:11:43] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:11:43] local.INFO: IMEI packet received {"connection_id":176078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":176078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:11:44] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:11:44] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:11:44] local.INFO: Packet analysis {"connection_id":176078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:11:44] local.INFO: Extracted packet for processing {"connection_id":176078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":176078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:11:44] local.INFO: GPS data processed {"connection_id":176078,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:11:44] local.INFO: Acknowledgment sent {"connection_id":176078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:12:06] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:12:06] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:12:06] local.INFO: Packet analysis {"connection_id":176077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:12:06] local.INFO: Extracted packet for processing {"connection_id":176077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 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-09-09 21:12: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-09-09 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":96,"data_length":795,"current_offset":136} 
[2026-09-09 21: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-09-09 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-09-09 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-09-09 21:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":176077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:12:06] local.INFO: GPS data processed {"connection_id":176077,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:12:06] local.INFO: Acknowledgment sent {"connection_id":176077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:12:16] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:12:16] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:12:16] local.INFO: Packet analysis {"connection_id":176078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:12:16] local.INFO: Extracted packet for processing {"connection_id":176078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":176078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:12:16] local.INFO: GPS data processed {"connection_id":176078,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:12:16] local.INFO: Acknowledgment sent {"connection_id":176078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:12:29] local.INFO: TCP Data received {"connection_id":177242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:12:29] local.INFO: Processing buffer {"connection_id":177242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:12:29] local.INFO: IMEI packet received {"connection_id":177242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":177242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:12:34] local.INFO: TCP Data received {"connection_id":177242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:12:34] local.INFO: Processing buffer {"connection_id":177242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:12:34] local.INFO: IMEI packet received {"connection_id":177242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":177242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:12:35] local.INFO: TCP Data received {"connection_id":177242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:12:35] local.INFO: Processing buffer {"connection_id":177242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:12:35] local.INFO: Packet analysis {"connection_id":177242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:12:35] local.INFO: Extracted packet for processing {"connection_id":177242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 21:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:12:35] 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-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:12:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":177242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:12:35] local.INFO: GPS data processed {"connection_id":177242,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:12:35] local.INFO: Acknowledgment sent {"connection_id":177242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:12:37] local.INFO: TCP Data received {"connection_id":178650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:12:37] local.INFO: Processing buffer {"connection_id":178650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:12:37] local.INFO: IMEI packet received {"connection_id":178650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":178650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:12:43] local.INFO: TCP Data received {"connection_id":178650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:12:43] local.INFO: Processing buffer {"connection_id":178650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:12:43] local.INFO: IMEI packet received {"connection_id":178650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":178650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:12:44] local.INFO: TCP Data received {"connection_id":178650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:12:44] local.INFO: Processing buffer {"connection_id":178650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:12:44] local.INFO: Packet analysis {"connection_id":178650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:12:44] local.INFO: Extracted packet for processing {"connection_id":178650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":178650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:12:44] local.INFO: GPS data processed {"connection_id":178650,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:12:44] local.INFO: Acknowledgment sent {"connection_id":178650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:13:06] local.INFO: TCP Data received {"connection_id":177242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:13:06] local.INFO: Processing buffer {"connection_id":177242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:13:06] local.INFO: Packet analysis {"connection_id":177242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:13:06] local.INFO: Extracted packet for processing {"connection_id":177242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 21:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:13: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-09-09 21: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-09-09 21: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-09-09 21: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-09-09 21:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":177242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:13:06] local.INFO: GPS data processed {"connection_id":177242,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:13:06] local.INFO: Acknowledgment sent {"connection_id":177242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:13:15] local.INFO: TCP Data received {"connection_id":178650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:13:15] local.INFO: Processing buffer {"connection_id":178650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:13:15] local.INFO: Packet analysis {"connection_id":178650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:13:15] local.INFO: Extracted packet for processing {"connection_id":178650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":178650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:13:15] local.INFO: GPS data processed {"connection_id":178650,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:13:15] local.INFO: Acknowledgment sent {"connection_id":178650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:13:34] local.INFO: TCP Data received {"connection_id":175856,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:13:34] local.INFO: Processing buffer {"connection_id":175856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:13:34] local.INFO: IMEI packet received {"connection_id":175856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":175856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:13:37] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:13:37] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:13:37] local.INFO: IMEI packet received {"connection_id":176079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":176079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:13:39] local.INFO: TCP Data received {"connection_id":175856,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:13:39] local.INFO: Processing buffer {"connection_id":175856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:13:39] local.INFO: IMEI packet received {"connection_id":175856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":175856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:13:40] local.INFO: TCP Data received {"connection_id":175856,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:13:40] local.INFO: Processing buffer {"connection_id":175856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:13:40] local.INFO: Packet analysis {"connection_id":175856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:13:40] local.INFO: Extracted packet for processing {"connection_id":175856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 21:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:13:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":175856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:13:40] local.INFO: GPS data processed {"connection_id":175856,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:13:40] local.INFO: Acknowledgment sent {"connection_id":175856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:13:43] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:13:43] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:13:43] local.INFO: IMEI packet received {"connection_id":176079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":176079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:13:44] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:13:44] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d1f998012d34c14006aa42b80006011628..."} 
[2026-09-09 21:13:44] local.INFO: Packet analysis {"connection_id":176079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:13:44] local.INFO: Extracted packet for processing {"connection_id":176079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d1"} 
[2026-09-09 21:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975808512001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968303000,"timestamp_ms":1788968303000,"timestamp_seconds":1788968303,"priority":1,"record_length":96,"hex_timestamp":"000001a086d1f998"} 
[2026-09-09 21:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975808512001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975808512001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975808512001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":176079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:13:44] local.INFO: GPS data processed {"connection_id":176079,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:13:44] local.INFO: Acknowledgment sent {"connection_id":176079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:13:44] local.INFO: TCP Data received {"connection_id":175856,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:13:44] local.INFO: Processing buffer {"connection_id":175856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:13:44] local.INFO: Packet analysis {"connection_id":175856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:13:44] local.INFO: Extracted packet for processing {"connection_id":175856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 21:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:13: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-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:13: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-09-09 21:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:13: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-09-09 21:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:13:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":175856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:13:44] local.INFO: GPS data processed {"connection_id":175856,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:13:44] local.INFO: Acknowledgment sent {"connection_id":175856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:14:15] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:14:15] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:14:15] local.INFO: Packet analysis {"connection_id":176079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:14:15] local.INFO: Extracted packet for processing {"connection_id":176079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":176079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:14:15] local.INFO: GPS data processed {"connection_id":176079,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:14:15] local.INFO: Acknowledgment sent {"connection_id":176079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:14:29] local.INFO: TCP Data received {"connection_id":176080,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:14:29] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:14:29] local.INFO: IMEI packet received {"connection_id":176080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":176080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:14:34] local.INFO: TCP Data received {"connection_id":176080,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:14:34] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:14:34] local.INFO: IMEI packet received {"connection_id":176080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":176080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:14:35] local.INFO: TCP Data received {"connection_id":176080,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:14:35] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:14:35] local.INFO: Packet analysis {"connection_id":176080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:14:35] local.INFO: Extracted packet for processing {"connection_id":176080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 21:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:14:35] 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-09-09 21:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:14:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":176080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:14:35] local.INFO: GPS data processed {"connection_id":176080,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:14:35] local.INFO: Acknowledgment sent {"connection_id":176080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:14:43] local.INFO: TCP Data received {"connection_id":177243,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:14:43] local.INFO: Processing buffer {"connection_id":177243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:14:43] local.INFO: IMEI packet received {"connection_id":177243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":177243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:14:48] local.INFO: TCP Data received {"connection_id":177243,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:14:48] local.INFO: Processing buffer {"connection_id":177243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:14:48] local.INFO: IMEI packet received {"connection_id":177243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":177243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:14:49] local.INFO: TCP Data received {"connection_id":177243,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:14:49] local.INFO: Processing buffer {"connection_id":177243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:14:49] local.INFO: Packet analysis {"connection_id":177243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:14:49] local.INFO: Extracted packet for processing {"connection_id":177243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":177243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:14:49] local.INFO: GPS data processed {"connection_id":177243,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:14:49] local.INFO: Acknowledgment sent {"connection_id":177243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:14:53] local.INFO: TCP Data received {"connection_id":177243,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:14:53] local.INFO: Processing buffer {"connection_id":177243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:14:53] local.INFO: Packet analysis {"connection_id":177243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:14:53] local.INFO: Extracted packet for processing {"connection_id":177243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":177243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:14:53] local.INFO: GPS data processed {"connection_id":177243,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:14:53] local.INFO: Acknowledgment sent {"connection_id":177243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:15:06] local.INFO: TCP Data received {"connection_id":176080,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:15:06] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d33218012d1965c0071ff0200040011b27..."} 
[2026-09-09 21:15:06] local.INFO: Packet analysis {"connection_id":176080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:15:06] local.INFO: Extracted packet for processing {"connection_id":176080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d3"} 
[2026-09-09 21:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975828992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968383000,"timestamp_ms":1788968383000,"timestamp_seconds":1788968383,"priority":1,"record_length":96,"hex_timestamp":"000001a086d33218"} 
[2026-09-09 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-09-09 21:15: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-09-09 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":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:15: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-09-09 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-09-09 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-09-09 21:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975828992001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975828992001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:15:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975828992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":176080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:15:06] local.INFO: GPS data processed {"connection_id":176080,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:15:06] local.INFO: Acknowledgment sent {"connection_id":176080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:15:29] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:15:29] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:15:29] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:15:34] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:15:34] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:15:34] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:15:35] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:15:35] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:15:35] local.INFO: Packet analysis {"connection_id":176081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:15:35] local.INFO: Extracted packet for processing {"connection_id":176081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 21:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:15:35] 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-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:15:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":176081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:15:35] local.INFO: GPS data processed {"connection_id":176081,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:15:35] local.INFO: Acknowledgment sent {"connection_id":176081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:15:38] local.INFO: TCP Data received {"connection_id":175857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:15:38] local.INFO: Processing buffer {"connection_id":175857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:15:38] local.INFO: IMEI packet received {"connection_id":175857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":175857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:15:43] local.INFO: TCP Data received {"connection_id":175857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:15:43] local.INFO: Processing buffer {"connection_id":175857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:15:43] local.INFO: IMEI packet received {"connection_id":175857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":175857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:15:44] local.INFO: TCP Data received {"connection_id":175857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:15:44] local.INFO: Processing buffer {"connection_id":175857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:15:44] local.INFO: Packet analysis {"connection_id":175857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:15:44] local.INFO: Extracted packet for processing {"connection_id":175857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":175857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:15:44] local.INFO: GPS data processed {"connection_id":175857,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:15:44] local.INFO: Acknowledgment sent {"connection_id":175857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:16:06] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:16:06] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:16:06] local.INFO: Packet analysis {"connection_id":176081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:16:06] local.INFO: Extracted packet for processing {"connection_id":176081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 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-09-09 21:16: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-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:16: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-09-09 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-09-09 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-09-09 21:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:16:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":176081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:16:06] local.INFO: GPS data processed {"connection_id":176081,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:16:06] local.INFO: Acknowledgment sent {"connection_id":176081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:16:15] local.INFO: TCP Data received {"connection_id":175857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:16:15] local.INFO: Processing buffer {"connection_id":175857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:16:15] local.INFO: Packet analysis {"connection_id":175857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:16:15] local.INFO: Extracted packet for processing {"connection_id":175857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":175857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:16:15] local.INFO: GPS data processed {"connection_id":175857,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:16:15] local.INFO: Acknowledgment sent {"connection_id":175857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:16:29] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:16:29] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:16:29] local.INFO: IMEI packet received {"connection_id":176082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":176082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:16:34] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:16:34] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:16:34] local.INFO: IMEI packet received {"connection_id":176082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":176082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:16:35] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:16:35] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:16:35] local.INFO: Packet analysis {"connection_id":176082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:16:35] local.INFO: Extracted packet for processing {"connection_id":176082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 21:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:16:35] 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-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:16:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":176082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:16:35] local.INFO: GPS data processed {"connection_id":176082,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:16:35] local.INFO: Acknowledgment sent {"connection_id":176082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:16:38] local.INFO: TCP Data received {"connection_id":178651,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:16:38] local.INFO: Processing buffer {"connection_id":178651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:16:38] local.INFO: IMEI packet received {"connection_id":178651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":178651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:16:43] local.INFO: TCP Data received {"connection_id":178651,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:16:43] local.INFO: Processing buffer {"connection_id":178651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:16:43] local.INFO: IMEI packet received {"connection_id":178651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":178651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:16:44] local.INFO: TCP Data received {"connection_id":178651,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:16:44] local.INFO: Processing buffer {"connection_id":178651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:16:44] local.INFO: Packet analysis {"connection_id":178651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:16:44] local.INFO: Extracted packet for processing {"connection_id":178651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:16: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-09-09 21:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":178651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:16:44] local.INFO: GPS data processed {"connection_id":178651,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:16:44] local.INFO: Acknowledgment sent {"connection_id":178651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:17:00] local.INFO: TCP Data received {"connection_id":177244,"ip":"117.224.123.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:00] local.INFO: Processing buffer {"connection_id":177244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:00] local.INFO: IMEI packet received {"connection_id":177244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":177244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:17:06] local.INFO: TCP Data received {"connection_id":177244,"ip":"117.224.123.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:06] local.INFO: Processing buffer {"connection_id":177244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:06] local.INFO: IMEI packet received {"connection_id":177244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 21:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":177244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:17:06] local.INFO: TCP Data received {"connection_id":176082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:17:06] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:17:06] local.INFO: Packet analysis {"connection_id":176082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:17:06] local.INFO: Extracted packet for processing {"connection_id":176082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 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-09-09 21:17: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-09-09 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-09-09 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-09-09 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-09-09 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-09-09 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":176082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:17:06] local.INFO: GPS data processed {"connection_id":176082,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:17:06] local.INFO: Acknowledgment sent {"connection_id":176082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:17:07] local.INFO: TCP Data received {"connection_id":177244,"ip":"117.224.123.20","data_length":795,"data_hex":"000000000000030f8e0a000001a086d71a18012cb4f5c009177660023c00b82c..."} 
[2026-09-09 21:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d71a18012cb4f5c009177660023c00b82c..."} 
[2026-09-09 21:17:07] local.INFO: Processing buffer {"connection_id":177244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d71a18012cb4f5c009177660023c00b82c..."} 
[2026-09-09 21:17:07] local.INFO: Packet analysis {"connection_id":177244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:17:07] local.INFO: Extracted packet for processing {"connection_id":177244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:17:07] local.INFO: GPS Element Parsed {"raw_longitude":750056896,"raw_latitude":152532576,"longitude_deg":75.0056896,"latitude_deg":15.2532576,"altitude":572,"angle":184,"satellites":44,"speed":0,"hex_longitude":"2cb4f5c0","hex_latitude":"09177660","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975966208001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5405445413697544190,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788968639000,"timestamp_ms":1788968639000,"timestamp_seconds":1788968639,"priority":1,"record_length":96,"hex_timestamp":"000001a086d71a18"} 
[2026-09-09 21:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:17: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-09-09 21: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-09 21:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975966208001,"66":27571,"176":206,"195":44032,"24":0,"16":3893920429768704,"44":-5405445413697544190},"client_ip":"117.224.123.20","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,195,24,16,44]} 
[2026-09-09 21:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 21:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 21:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975966208001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:17:07] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-09 21:17:07] local.INFO: Unknown IO ID detected {"io_id":195,"value":44032,"description":"Unknown IO ID 195"} 
[2026-09-09 21:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:17:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5405445413697544190,"description":"Unknown IO ID 44"} 
[2026-09-09 21:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975966208001,"power":27571,"unknown_176":206,"unknown_195":44032,"ignition":0,"odometer":null,"unknown_44":-5405445413697544190}} 
[2026-09-09 21:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":177244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:17:07] local.INFO: GPS data processed {"connection_id":177244,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:17:07] local.INFO: Acknowledgment sent {"connection_id":177244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:17:15] local.INFO: TCP Data received {"connection_id":178651,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:17:15] local.INFO: Processing buffer {"connection_id":178651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:17:15] local.INFO: Packet analysis {"connection_id":178651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:17:15] local.INFO: Extracted packet for processing {"connection_id":178651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":178651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:17:15] local.INFO: GPS data processed {"connection_id":178651,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:17:15] local.INFO: Acknowledgment sent {"connection_id":178651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:17:29] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:17:29] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:17:29] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:17:34] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:17:34] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:17:34] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:17:35] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:17:35] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:17:35] local.INFO: Packet analysis {"connection_id":176083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:17:35] local.INFO: Extracted packet for processing {"connection_id":176083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 21:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:17:35] 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-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:17: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-09-09 21:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:17:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":176083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:17:35] local.INFO: GPS data processed {"connection_id":176083,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:17:35] local.INFO: Acknowledgment sent {"connection_id":176083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:17:37] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:17:37] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:17:37] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:17:42] local.INFO: TCP Data received {"connection_id":175858,"ip":"117.224.123.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:42] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:42] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:17:43] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:17:43] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:17:43] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:17:43] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:17:43] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:17:43] local.INFO: Packet analysis {"connection_id":176084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:17:43] local.INFO: Extracted packet for processing {"connection_id":176084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":176084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:17:43] local.INFO: GPS data processed {"connection_id":176084,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:17:43] local.INFO: Acknowledgment sent {"connection_id":176084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:17:45] local.INFO: TCP Data received {"connection_id":175858,"ip":"117.224.123.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:45] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:45] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 21:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:17:51] local.INFO: TCP Data received {"connection_id":175858,"ip":"117.224.123.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:51] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:17:51] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 21:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:17:52] local.INFO: TCP Data received {"connection_id":175858,"ip":"117.224.123.20","data_length":795,"data_hex":"000000000000030f8e0a000001a086d800900100000000000000000000000000..."} 
[2026-09-09 21:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d800900100000000000000000000000000..."} 
[2026-09-09 21:17:52] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d800900100000000000000000000000000..."} 
[2026-09-09 21:17:52] local.INFO: Packet analysis {"connection_id":175858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d8"} 
[2026-09-09 21:17:52] local.INFO: Extracted packet for processing {"connection_id":175858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d8"} 
[2026-09-09 21:17:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 21:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975971584001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5407204632307539966,"note":"Value kept but may cause issues"} 
[2026-09-09 21:17:52] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,44],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-09 21:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788968698000,"timestamp_ms":1788968698000,"timestamp_seconds":1788968698,"priority":1,"record_length":96,"hex_timestamp":"000001a086d80090"} 
[2026-09-09 21:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 21:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 21:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":175858,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 21:17:52] local.INFO: GPS data processed {"connection_id":175858,"processed":0,"errors":0,"total":1} 
[2026-09-09 21:17:52] local.INFO: Acknowledgment sent {"connection_id":175858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:18:06] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:18:06] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:18:06] local.INFO: Packet analysis {"connection_id":176083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:06] local.INFO: Extracted packet for processing {"connection_id":176083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 21:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:18: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-09-09 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:18: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-09-09 21:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":176083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:18:06] local.INFO: GPS data processed {"connection_id":176083,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:18:06] local.INFO: Acknowledgment sent {"connection_id":176083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:18:15] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:18:15] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:18:15] local.INFO: Packet analysis {"connection_id":176084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:18:15] local.INFO: Extracted packet for processing {"connection_id":176084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":176084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:18:15] local.INFO: GPS data processed {"connection_id":176084,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:18:15] local.INFO: Acknowledgment sent {"connection_id":176084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:18:24] local.INFO: TCP Data received {"connection_id":175858,"ip":"117.224.123.20","data_length":795,"data_hex":"000000000000030f8e0a000001a086d78390012cb4e5c00916caa0023300bd2b..."} 
[2026-09-09 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d78390012cb4e5c00916caa0023300bd2b..."} 
[2026-09-09 21:18:24] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d78390012cb4e5c00916caa0023300bd2b..."} 
[2026-09-09 21:18:24] local.INFO: Packet analysis {"connection_id":175858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:24] local.INFO: Extracted packet for processing {"connection_id":175858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":750052800,"raw_latitude":152488608,"longitude_deg":75.00528,"latitude_deg":15.2488608,"altitude":563,"angle":189,"satellites":43,"speed":49,"hex_longitude":"2cb4e5c0","hex_latitude":"0916caa0","is_valid_coordinates":true} 
[2026-09-09 21:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:24] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-09 21:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788968666000,"timestamp_ms":1788968666000,"timestamp_seconds":1788968666,"priority":1,"record_length":96,"hex_timestamp":"000001a086d78390"} 
[2026-09-09 21:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:18: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 21:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 21:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27441,"24":49,"16":3893920429768704},"client_ip":"117.224.123.20","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-09-09 21:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 21:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 21:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 21:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:18:24] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":27441,"ignition":49,"odometer":null}} 
[2026-09-09 21:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":175858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:18:24] local.INFO: GPS data processed {"connection_id":175858,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:18:24] local.INFO: Acknowledgment sent {"connection_id":175858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:18:34] local.INFO: TCP Data received {"connection_id":176085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:18:34] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:18:34] local.INFO: IMEI packet received {"connection_id":176085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":176085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:18:37] local.INFO: TCP Data received {"connection_id":177245,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:18:37] local.INFO: Processing buffer {"connection_id":177245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:18:37] local.INFO: IMEI packet received {"connection_id":177245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":177245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:18:39] local.INFO: TCP Data received {"connection_id":176085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:18:39] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:18:39] local.INFO: IMEI packet received {"connection_id":176085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":176085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:18:40] local.INFO: TCP Data received {"connection_id":176085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:18:40] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:18:40] local.INFO: Packet analysis {"connection_id":176085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:40] local.INFO: Extracted packet for processing {"connection_id":176085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18: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-09-09 21:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 21:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:18:40] 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-09-09 21:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:18: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-09-09 21:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:18:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":176085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:18:40] local.INFO: GPS data processed {"connection_id":176085,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:18:40] local.INFO: Acknowledgment sent {"connection_id":176085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:18:41] local.INFO: TCP Data received {"connection_id":178652,"ip":"117.224.123.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:18:41] local.INFO: Processing buffer {"connection_id":178652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:18:41] local.INFO: IMEI packet received {"connection_id":178652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":178652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:18:43] local.INFO: TCP Data received {"connection_id":177245,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:18:43] local.INFO: Processing buffer {"connection_id":177245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:18:43] local.INFO: IMEI packet received {"connection_id":177245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":177245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:18:44] local.INFO: TCP Data received {"connection_id":177245,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:18:44] local.INFO: Processing buffer {"connection_id":177245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d69160012d34c14006aa42b80006011628..."} 
[2026-09-09 21:18:44] local.INFO: Packet analysis {"connection_id":177245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:18:44] local.INFO: Extracted packet for processing {"connection_id":177245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d6"} 
[2026-09-09 21:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975885568001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968604000,"timestamp_ms":1788968604000,"timestamp_seconds":1788968604,"priority":1,"record_length":96,"hex_timestamp":"000001a086d69160"} 
[2026-09-09 21:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975885568001,"66":25582,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975885568001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975885568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":177245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:18:44] local.INFO: GPS data processed {"connection_id":177245,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:18:44] local.INFO: Acknowledgment sent {"connection_id":177245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:18:44] local.INFO: TCP Data received {"connection_id":176085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:18:44] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:18:44] local.INFO: Packet analysis {"connection_id":176085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:44] local.INFO: Extracted packet for processing {"connection_id":176085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 21:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21: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-09-09 21:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:18:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":176085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:18:44] local.INFO: GPS data processed {"connection_id":176085,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:18:44] local.INFO: Acknowledgment sent {"connection_id":176085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:18:46] local.INFO: TCP Data received {"connection_id":178652,"ip":"117.224.123.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:18:46] local.INFO: Processing buffer {"connection_id":178652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:18:46] local.INFO: IMEI packet received {"connection_id":178652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 21:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":178652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:18:47] local.INFO: TCP Data received {"connection_id":178652,"ip":"117.224.123.20","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7d598012cb4d6c0091683c0023200c02d..."} 
[2026-09-09 21:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7d598012cb4d6c0091683c0023200c02d..."} 
[2026-09-09 21:18:47] local.INFO: Processing buffer {"connection_id":178652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7d598012cb4d6c0091683c0023200c02d..."} 
[2026-09-09 21:18:47] local.INFO: Packet analysis {"connection_id":178652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:47] local.INFO: Extracted packet for processing {"connection_id":178652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:18:47] local.INFO: GPS Element Parsed {"raw_longitude":750048960,"raw_latitude":152470464,"longitude_deg":75.004896,"latitude_deg":15.2470464,"altitude":562,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2cb4d6c0","hex_latitude":"091683c0","is_valid_coordinates":true} 
[2026-09-09 21:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975978496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5411708231946166270,"note":"Value kept but may cause issues"} 
[2026-09-09 21:18:47] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,44],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-09 21:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788968687000,"timestamp_ms":1788968687000,"timestamp_seconds":1788968687,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7d598"} 
[2026-09-09 21:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 21: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-09 21:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975978496001,"66":27626,"24":0,"16":3893920429768704,"44":-5411708231946166270},"client_ip":"117.224.123.20","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,44]} 
[2026-09-09 21:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 21:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 21:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975978496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:18:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5411708231946166270,"description":"Unknown IO ID 44"} 
[2026-09-09 21:18:47] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457975978496001,"power":27626,"ignition":0,"odometer":null,"unknown_44":-5411708231946166270}} 
[2026-09-09 21:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":178652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:18:47] local.INFO: GPS data processed {"connection_id":178652,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:18:47] local.INFO: Acknowledgment sent {"connection_id":178652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:19:17] local.INFO: TCP Data received {"connection_id":177245,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:19:17] local.INFO: Processing buffer {"connection_id":177245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:19:17] local.INFO: Packet analysis {"connection_id":177245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:19:17] local.INFO: Extracted packet for processing {"connection_id":177245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975962624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788968905000,"timestamp_ms":1788968905000,"timestamp_seconds":1788968905,"priority":1,"record_length":96,"hex_timestamp":"000001a086db2928"} 
[2026-09-09 21:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 21:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975962624001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975962624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:19:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975962624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":177245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:19:17] local.INFO: GPS data processed {"connection_id":177245,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:19:17] local.INFO: Acknowledgment sent {"connection_id":177245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:19:20] local.INFO: TCP Data received {"connection_id":178652,"ip":"117.224.123.20","data_length":795,"data_hex":"000000000000030f8e0a000001a086daee90012cb4808009148050023000bd29..."} 
[2026-09-09 21:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086daee90012cb4808009148050023000bd29..."} 
[2026-09-09 21:19:20] local.INFO: Processing buffer {"connection_id":178652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086daee90012cb4808009148050023000bd29..."} 
[2026-09-09 21:19:20] local.INFO: Packet analysis {"connection_id":178652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086da"} 
[2026-09-09 21:19:20] local.INFO: Extracted packet for processing {"connection_id":178652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086da"} 
[2026-09-09 21:19:20] local.INFO: GPS Element Parsed {"raw_longitude":750026880,"raw_latitude":152338512,"longitude_deg":75.002688,"latitude_deg":15.2338512,"altitude":560,"angle":189,"satellites":41,"speed":0,"hex_longitude":"2cb48080","hex_latitude":"09148050","is_valid_coordinates":true} 
[2026-09-09 21:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976030208001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5439152042210521086,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788968890000,"timestamp_ms":1788968890000,"timestamp_seconds":1788968890,"priority":1,"record_length":96,"hex_timestamp":"000001a086daee90"} 
[2026-09-09 21:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:19: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-09-09 21:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 21:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976030208001,"66":27745,"212":206,"9":54784,"24":0,"16":3893920429768704,"44":-5439152042210521086},"client_ip":"117.224.123.20","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-09 21:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 21:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 21:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976030208001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:19:20] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-09 21:19:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 21:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5439152042210521086,"description":"Unknown IO ID 44"} 
[2026-09-09 21:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976030208001,"power":27745,"unknown_212":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5439152042210521086}} 
[2026-09-09 21:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":178652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:19:20] local.INFO: GPS data processed {"connection_id":178652,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:19:20] local.INFO: Acknowledgment sent {"connection_id":178652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:19:29] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:19:29] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:19:29] local.INFO: IMEI packet received {"connection_id":175859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":175859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:19:34] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:19:34] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:19:34] local.INFO: IMEI packet received {"connection_id":175859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":175859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:19:35] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:19:35] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:19:35] local.INFO: Packet analysis {"connection_id":175859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:19:35] local.INFO: Extracted packet for processing {"connection_id":175859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 21:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:19:35] 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-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:19:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":175859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:19:35] local.INFO: GPS data processed {"connection_id":175859,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:19:35] local.INFO: Acknowledgment sent {"connection_id":175859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:19:40] local.INFO: TCP Data received {"connection_id":176086,"ip":"117.224.123.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:19:40] local.INFO: Processing buffer {"connection_id":176086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:19:40] local.INFO: IMEI packet received {"connection_id":176086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":176086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:19:50] local.INFO: TCP Data received {"connection_id":176086,"ip":"117.224.123.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:19:50] local.INFO: Processing buffer {"connection_id":176086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:19:50] local.INFO: IMEI packet received {"connection_id":176086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 21:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":176086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:19:52] local.INFO: TCP Data received {"connection_id":176086,"ip":"117.224.123.20","data_length":795,"data_hex":"000000000000030f8e0a000001a086dbd1200100000000000000000000000000..."} 
[2026-09-09 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dbd1200100000000000000000000000000..."} 
[2026-09-09 21:19:52] local.INFO: Processing buffer {"connection_id":176086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dbd1200100000000000000000000000000..."} 
[2026-09-09 21:19:52] local.INFO: Packet analysis {"connection_id":176086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:19:52] local.INFO: Extracted packet for processing {"connection_id":176086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:19:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 21:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976035840001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5440207573376544766,"note":"Value kept but may cause issues"} 
[2026-09-09 21:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788968948000,"timestamp_ms":1788968948000,"timestamp_seconds":1788968948,"priority":1,"record_length":96,"hex_timestamp":"000001a086dbd120"} 
[2026-09-09 21:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 21:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 21:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.123.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":176086,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 21:19:52] local.INFO: GPS data processed {"connection_id":176086,"processed":0,"errors":0,"total":1} 
[2026-09-09 21:19:52] local.INFO: Acknowledgment sent {"connection_id":176086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:20:06] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:20:06] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086d7c9e0012d1965c0071ff0200040011b26..."} 
[2026-09-09 21:20:06] local.INFO: Packet analysis {"connection_id":175859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:20:06] local.INFO: Extracted packet for processing {"connection_id":175859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086d7"} 
[2026-09-09 21:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":64,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975906048001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968684000,"timestamp_ms":1788968684000,"timestamp_seconds":1788968684,"priority":1,"record_length":96,"hex_timestamp":"000001a086d7c9e0"} 
[2026-09-09 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-09-09 21:20: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-09-09 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-09-09 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-09-09 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-09-09 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-09-09 21:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975906048001,"66":2144,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975906048001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975906048001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":175859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:20:06] local.INFO: GPS data processed {"connection_id":175859,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:20:06] local.INFO: Acknowledgment sent {"connection_id":175859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:20:07] local.INFO: TCP Data received {"connection_id":177246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:07] local.INFO: Processing buffer {"connection_id":177246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:07] local.INFO: IMEI packet received {"connection_id":177246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":177246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:20:13] local.INFO: TCP Data received {"connection_id":177246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:13] local.INFO: Processing buffer {"connection_id":177246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:13] local.INFO: IMEI packet received {"connection_id":177246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":177246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:20:14] local.INFO: TCP Data received {"connection_id":177246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:20:14] local.INFO: Processing buffer {"connection_id":177246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:20:14] local.INFO: Packet analysis {"connection_id":177246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:20:14] local.INFO: Extracted packet for processing {"connection_id":177246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975962624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788968905000,"timestamp_ms":1788968905000,"timestamp_seconds":1788968905,"priority":1,"record_length":96,"hex_timestamp":"000001a086db2928"} 
[2026-09-09 21:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 21:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975962624001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975962624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975962624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":177246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:20:14] local.INFO: GPS data processed {"connection_id":177246,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:20:14] local.INFO: Acknowledgment sent {"connection_id":177246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:20:29] local.INFO: TCP Data received {"connection_id":178653,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:20:29] local.INFO: Processing buffer {"connection_id":178653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:20:29] local.INFO: IMEI packet received {"connection_id":178653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":178653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:20:34] local.INFO: TCP Data received {"connection_id":178653,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:20:34] local.INFO: Processing buffer {"connection_id":178653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:20:34] local.INFO: IMEI packet received {"connection_id":178653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":178653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:20:35] local.INFO: TCP Data received {"connection_id":178653,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:20:35] local.INFO: Processing buffer {"connection_id":178653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:20:35] local.INFO: Packet analysis {"connection_id":178653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:20:35] local.INFO: Extracted packet for processing {"connection_id":178653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 21:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:20:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":178653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:20:35] local.INFO: GPS data processed {"connection_id":178653,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:20:35] local.INFO: Acknowledgment sent {"connection_id":178653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:20:43] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:43] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:43] local.INFO: IMEI packet received {"connection_id":175860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":175860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:20:48] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:48] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:20:48] local.INFO: IMEI packet received {"connection_id":175860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":175860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:20:49] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:20:49] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:20:49] local.INFO: Packet analysis {"connection_id":175860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:20:49] local.INFO: Extracted packet for processing {"connection_id":175860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975962624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788968905000,"timestamp_ms":1788968905000,"timestamp_seconds":1788968905,"priority":1,"record_length":96,"hex_timestamp":"000001a086db2928"} 
[2026-09-09 21:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 21:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975962624001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975962624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975962624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":175860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:20:49] local.INFO: GPS data processed {"connection_id":175860,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:20:49] local.INFO: Acknowledgment sent {"connection_id":175860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:20:53] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:20:53] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:20:53] local.INFO: Packet analysis {"connection_id":175860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:20:53] local.INFO: Extracted packet for processing {"connection_id":175860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975962624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788968905000,"timestamp_ms":1788968905000,"timestamp_seconds":1788968905,"priority":1,"record_length":96,"hex_timestamp":"000001a086db2928"} 
[2026-09-09 21:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 21:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975962624001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975962624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975962624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":175860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:20:53] local.INFO: GPS data processed {"connection_id":175860,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:20:53] local.INFO: Acknowledgment sent {"connection_id":175860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:21:06] local.INFO: TCP Data received {"connection_id":178653,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:21:06] local.INFO: Processing buffer {"connection_id":178653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:21:06] local.INFO: Packet analysis {"connection_id":178653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:21:06] local.INFO: Extracted packet for processing {"connection_id":178653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 21:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:21: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-09-09 21:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:21: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-09-09 21: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-09-09 21:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:21:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":178653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:21:06] local.INFO: GPS data processed {"connection_id":178653,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:21:06] local.INFO: Acknowledgment sent {"connection_id":178653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:21:29] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:21:29] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:21:29] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:21:34] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:21:34] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:21:34] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:21:35] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:21:35] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:21:35] local.INFO: Packet analysis {"connection_id":176087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:21:35] local.INFO: Extracted packet for processing {"connection_id":176087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 21:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:21:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":176087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:21:35] local.INFO: GPS data processed {"connection_id":176087,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:21:35] local.INFO: Acknowledgment sent {"connection_id":176087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:21:38] local.INFO: TCP Data received {"connection_id":177247,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:21:38] local.INFO: Processing buffer {"connection_id":177247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:21:38] local.INFO: IMEI packet received {"connection_id":177247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":177247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:21:43] local.INFO: TCP Data received {"connection_id":177247,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:21:43] local.INFO: Processing buffer {"connection_id":177247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:21:43] local.INFO: IMEI packet received {"connection_id":177247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":177247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:21:44] local.INFO: TCP Data received {"connection_id":177247,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:21:44] local.INFO: Processing buffer {"connection_id":177247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:21:44] local.INFO: Packet analysis {"connection_id":177247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:21:44] local.INFO: Extracted packet for processing {"connection_id":177247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975962624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968905000,"timestamp_ms":1788968905000,"timestamp_seconds":1788968905,"priority":1,"record_length":96,"hex_timestamp":"000001a086db2928"} 
[2026-09-09 21:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 21:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975962624001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975962624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975962624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":177247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:21:44] local.INFO: GPS data processed {"connection_id":177247,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:21:44] local.INFO: Acknowledgment sent {"connection_id":177247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:21:55] local.INFO: TCP Data received {"connection_id":178654,"ip":"117.225.160.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:21:55] local.INFO: Processing buffer {"connection_id":178654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:21:55] local.INFO: IMEI packet received {"connection_id":178654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":178654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:22:06] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:22:06] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:22:06] local.INFO: Packet analysis {"connection_id":176087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:22:06] local.INFO: Extracted packet for processing {"connection_id":176087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22: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-09-09 21:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 21:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:22: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-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:22: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-09-09 21: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-09-09 21:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:22:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":176087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:22:06] local.INFO: GPS data processed {"connection_id":176087,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:22:06] local.INFO: Acknowledgment sent {"connection_id":176087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:22:16] local.INFO: TCP Data received {"connection_id":177247,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:22:16] local.INFO: Processing buffer {"connection_id":177247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:22:16] local.INFO: Packet analysis {"connection_id":177247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:22:16] local.INFO: Extracted packet for processing {"connection_id":177247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975962624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788968905000,"timestamp_ms":1788968905000,"timestamp_seconds":1788968905,"priority":1,"record_length":96,"hex_timestamp":"000001a086db2928"} 
[2026-09-09 21:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 21:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975962624001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975962624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975962624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":177247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:22:16] local.INFO: GPS data processed {"connection_id":177247,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:22:16] local.INFO: Acknowledgment sent {"connection_id":177247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:22:29] local.INFO: TCP Data received {"connection_id":178655,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:22:29] local.INFO: Processing buffer {"connection_id":178655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:22:29] local.INFO: IMEI packet received {"connection_id":178655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":178655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:22:33] local.INFO: TCP Data received {"connection_id":178654,"ip":"117.225.160.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:22:33] local.INFO: Processing buffer {"connection_id":178654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:22:33] local.INFO: IMEI packet received {"connection_id":178654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 21:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":178654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:22:34] local.INFO: TCP Data received {"connection_id":178655,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:22:34] local.INFO: Processing buffer {"connection_id":178655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:22:34] local.INFO: IMEI packet received {"connection_id":178655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":178655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:22:35] local.INFO: TCP Data received {"connection_id":178655,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:22:35] local.INFO: Processing buffer {"connection_id":178655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:22:35] local.INFO: Packet analysis {"connection_id":178655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:22:35] local.INFO: Extracted packet for processing {"connection_id":178655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 21:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"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-09-09 21:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:22:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":178655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:22:35] local.INFO: GPS data processed {"connection_id":178655,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:22:35] local.INFO: Acknowledgment sent {"connection_id":178655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:22:38] local.INFO: TCP Data received {"connection_id":178656,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:22:38] local.INFO: Processing buffer {"connection_id":178656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:22:38] local.INFO: IMEI packet received {"connection_id":178656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":178656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:22:43] local.INFO: TCP Data received {"connection_id":178656,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:22:43] local.INFO: Processing buffer {"connection_id":178656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:22:43] local.INFO: IMEI packet received {"connection_id":178656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":178656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:22:44] local.INFO: TCP Data received {"connection_id":178656,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:22:44] local.INFO: Processing buffer {"connection_id":178656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:22:44] local.INFO: Packet analysis {"connection_id":178656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:22:44] local.INFO: Extracted packet for processing {"connection_id":178656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975962624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968905000,"timestamp_ms":1788968905000,"timestamp_seconds":1788968905,"priority":1,"record_length":96,"hex_timestamp":"000001a086db2928"} 
[2026-09-09 21:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 21:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975962624001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975962624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975962624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":178656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:22:44] local.INFO: GPS data processed {"connection_id":178656,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:22:44] local.INFO: Acknowledgment sent {"connection_id":178656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:22:46] local.INFO: TCP Data received {"connection_id":177248,"ip":"117.225.160.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:22:46] local.INFO: Processing buffer {"connection_id":177248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:22:46] local.INFO: IMEI packet received {"connection_id":177248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":177248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:23:06] local.INFO: TCP Data received {"connection_id":178655,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:23:06] local.INFO: Processing buffer {"connection_id":178655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:23:06] local.INFO: Packet analysis {"connection_id":178655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:23:06] local.INFO: Extracted packet for processing {"connection_id":178655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 21:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:23: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-09-09 21:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:23: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-09-09 21: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-09-09 21:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"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-09-09 21:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:23:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":178655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:23:06] local.INFO: GPS data processed {"connection_id":178655,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:23:06] local.INFO: Acknowledgment sent {"connection_id":178655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:23:16] local.INFO: TCP Data received {"connection_id":178656,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:23:16] local.INFO: Processing buffer {"connection_id":178656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:23:16] local.INFO: Packet analysis {"connection_id":178656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:23:16] local.INFO: Extracted packet for processing {"connection_id":178656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975962624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788968905000,"timestamp_ms":1788968905000,"timestamp_seconds":1788968905,"priority":1,"record_length":96,"hex_timestamp":"000001a086db2928"} 
[2026-09-09 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-09-09 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 21:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 21:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975962624001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975962624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975962624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":178656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:23:16] local.INFO: GPS data processed {"connection_id":178656,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:23:16] local.INFO: Acknowledgment sent {"connection_id":178656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:23:34] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:23:34] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:23:34] local.INFO: IMEI packet received {"connection_id":175861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":175861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:23:38] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:23:38] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:23:38] local.INFO: IMEI packet received {"connection_id":176088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":176088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:23:39] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:23:39] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:23:39] local.INFO: IMEI packet received {"connection_id":175861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":175861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:23:40] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:23:40] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:23:40] local.INFO: Packet analysis {"connection_id":175861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:23:40] local.INFO: Extracted packet for processing {"connection_id":175861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23: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-09-09 21:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 21:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:23:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":175861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:23:40] local.INFO: GPS data processed {"connection_id":175861,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:23:40] local.INFO: Acknowledgment sent {"connection_id":175861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:23:43] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:23:43] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:23:43] local.INFO: IMEI packet received {"connection_id":176088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":176088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:23:44] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:23:44] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:23:44] local.INFO: Packet analysis {"connection_id":175861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:23:44] local.INFO: Extracted packet for processing {"connection_id":175861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 21:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:23: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-09-09 21: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":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:23: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-09-09 21: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-09-09 21:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:23:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":175861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:23:44] local.INFO: GPS data processed {"connection_id":175861,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:23:44] local.INFO: Acknowledgment sent {"connection_id":175861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:23:45] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:23:45] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086db2928012d34c14006aa42b80006011629..."} 
[2026-09-09 21:23:45] local.INFO: Packet analysis {"connection_id":176088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:23:45] local.INFO: Extracted packet for processing {"connection_id":176088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086db"} 
[2026-09-09 21:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975962624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788968905000,"timestamp_ms":1788968905000,"timestamp_seconds":1788968905,"priority":1,"record_length":96,"hex_timestamp":"000001a086db2928"} 
[2026-09-09 21:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-09 21:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975962624001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975962624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975962624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":176088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:23:45] local.INFO: GPS data processed {"connection_id":176088,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:23:45] local.INFO: Acknowledgment sent {"connection_id":176088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:24:16] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:24:16] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:24:16] local.INFO: Packet analysis {"connection_id":176088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:24:16] local.INFO: Extracted packet for processing {"connection_id":176088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":176088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:24:16] local.INFO: GPS data processed {"connection_id":176088,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:24:16] local.INFO: Acknowledgment sent {"connection_id":176088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:24:29] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:24:29] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:24:29] local.INFO: IMEI packet received {"connection_id":175862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":175862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:24:34] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:24:34] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:24:34] local.INFO: IMEI packet received {"connection_id":175862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":175862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:24:35] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:24:35] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:24:35] local.INFO: Packet analysis {"connection_id":175862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:24:35] local.INFO: Extracted packet for processing {"connection_id":175862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 21:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-09 21:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:24: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-09-09 21:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:24:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":175862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:24:35] local.INFO: GPS data processed {"connection_id":175862,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:24:35] local.INFO: Acknowledgment sent {"connection_id":175862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:24:43] local.INFO: TCP Data received {"connection_id":178657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:24:43] local.INFO: Processing buffer {"connection_id":178657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:24:43] local.INFO: IMEI packet received {"connection_id":178657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":178657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:24:48] local.INFO: TCP Data received {"connection_id":178657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:24:48] local.INFO: Processing buffer {"connection_id":178657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:24:48] local.INFO: IMEI packet received {"connection_id":178657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":178657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:24:49] local.INFO: TCP Data received {"connection_id":178657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:24:49] local.INFO: Processing buffer {"connection_id":178657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:24:49] local.INFO: Packet analysis {"connection_id":178657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:24:49] local.INFO: Extracted packet for processing {"connection_id":178657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:24:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:24:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":178657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:24:49] local.INFO: GPS data processed {"connection_id":178657,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:24:49] local.INFO: Acknowledgment sent {"connection_id":178657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:24:54] local.INFO: TCP Data received {"connection_id":178657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:24:54] local.INFO: Processing buffer {"connection_id":178657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:24:54] local.INFO: Packet analysis {"connection_id":178657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:24:54] local.INFO: Extracted packet for processing {"connection_id":178657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:24:54] 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-09-09 21:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":178657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":178657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":178657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":178657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:24:54] local.INFO: GPS data processed {"connection_id":178657,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:24:54] local.INFO: Acknowledgment sent {"connection_id":178657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:25:06] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:25:06] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dc61a8012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:25:06] local.INFO: Packet analysis {"connection_id":175862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:25:06] local.INFO: Extracted packet for processing {"connection_id":175862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086dc"} 
[2026-09-09 21:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457975983104001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788968985000,"timestamp_ms":1788968985000,"timestamp_seconds":1788968985,"priority":1,"record_length":96,"hex_timestamp":"000001a086dc61a8"} 
[2026-09-09 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-09-09 21:25: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-09-09 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-09-09 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-09-09 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-09-09 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-09-09 21:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:25: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-09-09 21:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457975983104001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457975983104001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:25:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457975983104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":175862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:25:06] local.INFO: GPS data processed {"connection_id":175862,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:25:06] local.INFO: Acknowledgment sent {"connection_id":175862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:25:29] local.INFO: TCP Data received {"connection_id":177250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:25:29] local.INFO: Processing buffer {"connection_id":177250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:25:29] local.INFO: IMEI packet received {"connection_id":177250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":177250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:25:34] local.INFO: TCP Data received {"connection_id":177250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:25:34] local.INFO: Processing buffer {"connection_id":177250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:25:34] local.INFO: IMEI packet received {"connection_id":177250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":177250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:25:35] local.INFO: TCP Data received {"connection_id":177250,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:25:35] local.INFO: Processing buffer {"connection_id":177250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:25:35] local.INFO: Packet analysis {"connection_id":177250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:25:35] local.INFO: Extracted packet for processing {"connection_id":177250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 21:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:25: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-09-09 21:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:25:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":177250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:25:35] local.INFO: GPS data processed {"connection_id":177250,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:25:35] local.INFO: Acknowledgment sent {"connection_id":177250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:25:38] local.INFO: TCP Data received {"connection_id":175864,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:25:38] local.INFO: Processing buffer {"connection_id":175864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:25:38] local.INFO: IMEI packet received {"connection_id":175864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":175864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:25:43] local.INFO: TCP Data received {"connection_id":175864,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:25:43] local.INFO: Processing buffer {"connection_id":175864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:25:43] local.INFO: IMEI packet received {"connection_id":175864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":175864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:25:44] local.INFO: TCP Data received {"connection_id":175864,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:25:44] local.INFO: Processing buffer {"connection_id":175864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:25:44] local.INFO: Packet analysis {"connection_id":175864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:25:44] local.INFO: Extracted packet for processing {"connection_id":175864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:25:44] 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-09-09 21:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":175864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:25:44] local.INFO: GPS data processed {"connection_id":175864,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:25:44] local.INFO: Acknowledgment sent {"connection_id":175864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:26:06] local.INFO: TCP Data received {"connection_id":177250,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:26:06] local.INFO: Processing buffer {"connection_id":177250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:26:06] local.INFO: Packet analysis {"connection_id":177250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:26:06] local.INFO: Extracted packet for processing {"connection_id":177250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 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-09-09 21:26: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-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 21:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:26:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":177250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:26:06] local.INFO: GPS data processed {"connection_id":177250,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:26:06] local.INFO: Acknowledgment sent {"connection_id":177250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:26:15] local.INFO: TCP Data received {"connection_id":175864,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:26:15] local.INFO: Processing buffer {"connection_id":175864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:26:15] local.INFO: Packet analysis {"connection_id":175864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:26:15] local.INFO: Extracted packet for processing {"connection_id":175864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:26:15] 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-09-09 21:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":175864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:26:15] local.INFO: GPS data processed {"connection_id":175864,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:26:15] local.INFO: Acknowledgment sent {"connection_id":175864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:26:29] local.INFO: TCP Data received {"connection_id":176089,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:26:29] local.INFO: Processing buffer {"connection_id":176089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:26:29] local.INFO: IMEI packet received {"connection_id":176089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":176089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:26:34] local.INFO: TCP Data received {"connection_id":176089,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:26:34] local.INFO: Processing buffer {"connection_id":176089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:26:34] local.INFO: IMEI packet received {"connection_id":176089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":176089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:26:35] local.INFO: TCP Data received {"connection_id":176089,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:26:35] local.INFO: Processing buffer {"connection_id":176089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:26:35] local.INFO: Packet analysis {"connection_id":176089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:26:35] local.INFO: Extracted packet for processing {"connection_id":176089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 21:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:26:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":176089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:26:35] local.INFO: GPS data processed {"connection_id":176089,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:26:35] local.INFO: Acknowledgment sent {"connection_id":176089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:26:38] local.INFO: TCP Data received {"connection_id":178658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:26:38] local.INFO: Processing buffer {"connection_id":178658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:26:38] local.INFO: IMEI packet received {"connection_id":178658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":178658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:26:43] local.INFO: TCP Data received {"connection_id":178658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:26:43] local.INFO: Processing buffer {"connection_id":178658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:26:43] local.INFO: IMEI packet received {"connection_id":178658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":178658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:26:44] local.INFO: TCP Data received {"connection_id":178658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:26:44] local.INFO: Processing buffer {"connection_id":178658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:26:44] local.INFO: Packet analysis {"connection_id":178658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:26:44] local.INFO: Extracted packet for processing {"connection_id":178658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:26:44] 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-09-09 21: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-09-09 21:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":178658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:26:44] local.INFO: GPS data processed {"connection_id":178658,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:26:44] local.INFO: Acknowledgment sent {"connection_id":178658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:27:06] local.INFO: TCP Data received {"connection_id":176089,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:27:06] local.INFO: Processing buffer {"connection_id":176089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:27:06] local.INFO: Packet analysis {"connection_id":176089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:27:06] local.INFO: Extracted packet for processing {"connection_id":176089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 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-09-09 21:27: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-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 21:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:27: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-09-09 21:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":176089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:27:06] local.INFO: GPS data processed {"connection_id":176089,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:27:06] local.INFO: Acknowledgment sent {"connection_id":176089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:27:15] local.INFO: TCP Data received {"connection_id":178658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:27:15] local.INFO: Processing buffer {"connection_id":178658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:27:15] local.INFO: Packet analysis {"connection_id":178658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:27:15] local.INFO: Extracted packet for processing {"connection_id":178658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:27:15] 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-09-09 21:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":178658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:27:15] local.INFO: GPS data processed {"connection_id":178658,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:27:15] local.INFO: Acknowledgment sent {"connection_id":178658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:27:29] local.INFO: TCP Data received {"connection_id":177252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:27:29] local.INFO: Processing buffer {"connection_id":177252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:27:29] local.INFO: IMEI packet received {"connection_id":177252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":177252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:27:34] local.INFO: TCP Data received {"connection_id":177252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:27:34] local.INFO: Processing buffer {"connection_id":177252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:27:34] local.INFO: IMEI packet received {"connection_id":177252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":177252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:27:35] local.INFO: TCP Data received {"connection_id":177252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:27:35] local.INFO: Processing buffer {"connection_id":177252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:27:35] local.INFO: Packet analysis {"connection_id":177252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:27:35] local.INFO: Extracted packet for processing {"connection_id":177252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 21:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:27: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-09-09 21:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:27:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":177252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:27:35] local.INFO: GPS data processed {"connection_id":177252,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:27:35] local.INFO: Acknowledgment sent {"connection_id":177252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:27:37] local.INFO: TCP Data received {"connection_id":178660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:27:37] local.INFO: Processing buffer {"connection_id":178660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:27:37] local.INFO: IMEI packet received {"connection_id":178660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":178660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:27:43] local.INFO: TCP Data received {"connection_id":178660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:27:43] local.INFO: Processing buffer {"connection_id":178660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:27:43] local.INFO: IMEI packet received {"connection_id":178660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":178660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:27:44] local.INFO: TCP Data received {"connection_id":178660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:27:44] local.INFO: Processing buffer {"connection_id":178660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:27:44] local.INFO: Packet analysis {"connection_id":178660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:27:44] local.INFO: Extracted packet for processing {"connection_id":178660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:27:44] 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-09-09 21:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":178660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:27:44] local.INFO: GPS data processed {"connection_id":178660,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:27:44] local.INFO: Acknowledgment sent {"connection_id":178660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:27:51] local.INFO: TCP Data received {"connection_id":178661,"ip":"117.225.160.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:27:51] local.INFO: Processing buffer {"connection_id":178661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:27:51] local.INFO: IMEI packet received {"connection_id":178661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":178661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:27:52] local.INFO: TCP Data received {"connection_id":178661,"ip":"117.225.160.48","data_length":795,"data_hex":"000000000000030f8e0a000001a086e162e8012cb28b80090f0af0022f00d02a..."} 
[2026-09-09 21:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e162e8012cb28b80090f0af0022f00d02a..."} 
[2026-09-09 21:27:52] local.INFO: Processing buffer {"connection_id":178661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e162e8012cb28b80090f0af0022f00d02a..."} 
[2026-09-09 21:27:52] local.INFO: Packet analysis {"connection_id":178661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e1"} 
[2026-09-09 21:27:52] local.INFO: Extracted packet for processing {"connection_id":178661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e1"} 
[2026-09-09 21:27:52] local.INFO: GPS Element Parsed {"raw_longitude":749898624,"raw_latitude":151980784,"longitude_deg":74.9898624,"latitude_deg":15.1980784,"altitude":559,"angle":208,"satellites":42,"speed":40,"hex_longitude":"2cb28b80","hex_latitude":"090f0af0","is_valid_coordinates":true} 
[2026-09-09 21:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976141312001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5568560162844606462,"note":"Value kept but may cause issues"} 
[2026-09-09 21:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788969313000,"timestamp_ms":1788969313000,"timestamp_seconds":1788969313,"priority":1,"record_length":96,"hex_timestamp":"000001a086e162e8"} 
[2026-09-09 21:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:27: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-09-09 21:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 21:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":178661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":178661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":178661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.160.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976141312001,"66":27484,"133":206,"9":54784,"24":40,"16":3893920429768704,"44":-5568560162844606462},"client_ip":"117.225.160.48","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-09 21:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 21:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 21:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976141312001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:27:52] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-09 21:27:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 21:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5568560162844606462,"description":"Unknown IO ID 44"} 
[2026-09-09 21:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976141312001,"power":27484,"unknown_133":206,"unknown_9":54784,"ignition":40,"odometer":null,"unknown_44":-5568560162844606462}} 
[2026-09-09 21:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":178661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:27:52] local.INFO: GPS data processed {"connection_id":178661,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:27:52] local.INFO: Acknowledgment sent {"connection_id":178661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:28:06] local.INFO: TCP Data received {"connection_id":177252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:28:06] local.INFO: Processing buffer {"connection_id":177252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:28:06] local.INFO: Packet analysis {"connection_id":177252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:28:06] local.INFO: Extracted packet for processing {"connection_id":177252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 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-09-09 21:28: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-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:28: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-09-09 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-09-09 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-09-09 21:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:28:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":177252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:28:06] local.INFO: GPS data processed {"connection_id":177252,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:28:06] local.INFO: Acknowledgment sent {"connection_id":177252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:28:15] local.INFO: TCP Data received {"connection_id":178660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:28:15] local.INFO: Processing buffer {"connection_id":178660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:28:15] local.INFO: Packet analysis {"connection_id":178660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:28:15] local.INFO: Extracted packet for processing {"connection_id":178660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:28:15] 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-09-09 21:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":178660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:28:15] local.INFO: GPS data processed {"connection_id":178660,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:28:15] local.INFO: Acknowledgment sent {"connection_id":178660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:28:23] local.INFO: TCP Data received {"connection_id":178661,"ip":"117.225.160.48","data_length":795,"data_hex":"000000000000030f8e0a000001a086e1ad20012cb27100090ecac0022b00c529..."} 
[2026-09-09 21:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e1ad20012cb27100090ecac0022b00c529..."} 
[2026-09-09 21:28:23] local.INFO: Processing buffer {"connection_id":178661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e1ad20012cb27100090ecac0022b00c529..."} 
[2026-09-09 21:28:23] local.INFO: Packet analysis {"connection_id":178661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e1"} 
[2026-09-09 21:28:23] local.INFO: Extracted packet for processing {"connection_id":178661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e1"} 
[2026-09-09 21:28:23] local.INFO: GPS Element Parsed {"raw_longitude":749891840,"raw_latitude":151964352,"longitude_deg":74.989184,"latitude_deg":15.1964352,"altitude":555,"angle":197,"satellites":41,"speed":31,"hex_longitude":"2cb27100","hex_latitude":"090ecac0","is_valid_coordinates":true} 
[2026-09-09 21:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976144128001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5581226536800161790,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788969332000,"timestamp_ms":1788969332000,"timestamp_seconds":1788969332,"priority":1,"record_length":96,"hex_timestamp":"000001a086e1ad20"} 
[2026-09-09 21:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 21:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 21:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":178661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":178661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":178661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.160.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976144128001,"66":27517,"133":206,"9":54784,"24":31,"16":3893920429768704,"44":-5581226536800161790},"client_ip":"117.225.160.48","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-09 21:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 21:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 21:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976144128001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:28:23] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-09 21:28:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 21:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:28:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5581226536800161790,"description":"Unknown IO ID 44"} 
[2026-09-09 21:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976144128001,"power":27517,"unknown_133":206,"unknown_9":54784,"ignition":31,"odometer":null,"unknown_44":-5581226536800161790}} 
[2026-09-09 21:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":178661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:28:23] local.INFO: GPS data processed {"connection_id":178661,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:28:23] local.INFO: Acknowledgment sent {"connection_id":178661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:28:34] local.INFO: TCP Data received {"connection_id":177253,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:28:34] local.INFO: Processing buffer {"connection_id":177253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:28:34] local.INFO: IMEI packet received {"connection_id":177253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":177253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:28:37] local.INFO: TCP Data received {"connection_id":175865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:28:37] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:28:37] local.INFO: IMEI packet received {"connection_id":175865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":175865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:28:39] local.INFO: TCP Data received {"connection_id":177253,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:28:39] local.INFO: Processing buffer {"connection_id":177253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:28:39] local.INFO: IMEI packet received {"connection_id":177253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":177253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:28:40] local.INFO: TCP Data received {"connection_id":177253,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:28:40] local.INFO: Processing buffer {"connection_id":177253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:28:40] local.INFO: Packet analysis {"connection_id":177253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:28:40] local.INFO: Extracted packet for processing {"connection_id":177253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28: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-09-09 21:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 21:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:28: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-09-09 21: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-09-09 21:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21: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-09-09 21:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:28:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":177253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:28:40] local.INFO: GPS data processed {"connection_id":177253,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:28:40] local.INFO: Acknowledgment sent {"connection_id":177253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:28:41] local.INFO: TCP Data received {"connection_id":178662,"ip":"117.225.160.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:28:41] local.INFO: Processing buffer {"connection_id":178662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:28:41] local.INFO: IMEI packet received {"connection_id":178662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":178662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:28:43] local.INFO: TCP Data received {"connection_id":175865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:28:43] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:28:43] local.INFO: IMEI packet received {"connection_id":175865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":175865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:28:43] local.INFO: TCP Data received {"connection_id":178662,"ip":"117.225.160.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:28:43] local.INFO: Processing buffer {"connection_id":178662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:28:43] local.INFO: IMEI packet received {"connection_id":178662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 21:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":178662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:28:44] local.INFO: TCP Data received {"connection_id":175865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:28:44] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086dfc0f0012d34c14006aa42b80006011628..."} 
[2026-09-09 21:28:44] local.INFO: Packet analysis {"connection_id":175865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:28:44] local.INFO: Extracted packet for processing {"connection_id":175865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086df"} 
[2026-09-09 21:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976039680001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969206000,"timestamp_ms":1788969206000,"timestamp_seconds":1788969206,"priority":1,"record_length":96,"hex_timestamp":"000001a086dfc0f0"} 
[2026-09-09 21:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:28:44] 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-09-09 21: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-09-09 21:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976039680001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976039680001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976039680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":175865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:28:44] local.INFO: GPS data processed {"connection_id":175865,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:28:44] local.INFO: Acknowledgment sent {"connection_id":175865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:28:44] local.INFO: TCP Data received {"connection_id":177253,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:28:44] local.INFO: Processing buffer {"connection_id":177253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:28:44] local.INFO: Packet analysis {"connection_id":177253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:28:44] local.INFO: Extracted packet for processing {"connection_id":177253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 21:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:28:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:28:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":177253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:28:44] local.INFO: GPS data processed {"connection_id":177253,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:28:44] local.INFO: Acknowledgment sent {"connection_id":177253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:28:45] local.INFO: TCP Data received {"connection_id":178662,"ip":"117.225.160.48","data_length":795,"data_hex":"000000000000030f8e0a000001a086e293980100000000000000000000000000..."} 
[2026-09-09 21:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e293980100000000000000000000000000..."} 
[2026-09-09 21:28:45] local.INFO: Processing buffer {"connection_id":178662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e293980100000000000000000000000000..."} 
[2026-09-09 21:28:45] local.INFO: Packet analysis {"connection_id":178662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e2"} 
[2026-09-09 21:28:45] local.INFO: Extracted packet for processing {"connection_id":178662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e2"} 
[2026-09-09 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 21:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976148992001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588685623687200766,"note":"Value kept but may cause issues"} 
[2026-09-09 21:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788969391000,"timestamp_ms":1788969391000,"timestamp_seconds":1788969391,"priority":1,"record_length":96,"hex_timestamp":"000001a086e29398"} 
[2026-09-09 21:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:28: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-09-09 21:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-09 21:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":178662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":178662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":178662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.160.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":178662,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 21:28:45] local.INFO: GPS data processed {"connection_id":178662,"processed":0,"errors":0,"total":1} 
[2026-09-09 21:28:45] local.INFO: Acknowledgment sent {"connection_id":178662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:29:15] local.INFO: TCP Data received {"connection_id":175865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:29:15] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:29:15] local.INFO: Packet analysis {"connection_id":175865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:29:15] local.INFO: Extracted packet for processing {"connection_id":175865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 21:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":175865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:29:15] local.INFO: GPS data processed {"connection_id":175865,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:29:15] local.INFO: Acknowledgment sent {"connection_id":175865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:29:16] local.INFO: TCP Data received {"connection_id":178662,"ip":"117.225.160.48","data_length":795,"data_hex":"000000000000030f8e0a000001a086e20310012cb25580090e91a0022b00d52b..."} 
[2026-09-09 21:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e20310012cb25580090e91a0022b00d52b..."} 
[2026-09-09 21:29:16] local.INFO: Processing buffer {"connection_id":178662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e20310012cb25580090e91a0022b00d52b..."} 
[2026-09-09 21:29:16] local.INFO: Packet analysis {"connection_id":178662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e2"} 
[2026-09-09 21:29:16] local.INFO: Extracted packet for processing {"connection_id":178662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e2"} 
[2026-09-09 21:29:16] local.INFO: GPS Element Parsed {"raw_longitude":749884800,"raw_latitude":151949728,"longitude_deg":74.98848,"latitude_deg":15.1949728,"altitude":555,"angle":213,"satellites":43,"speed":34,"hex_longitude":"2cb25580","hex_latitude":"090e91a0","is_valid_coordinates":true} 
[2026-09-09 21:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,133,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 21:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788969354000,"timestamp_ms":1788969354000,"timestamp_seconds":1788969354,"priority":1,"record_length":96,"hex_timestamp":"000001a086e20310"} 
[2026-09-09 21:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:29:16] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 21:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.160.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27463,"133":206,"9":54784,"24":34,"16":3893920429768704},"client_ip":"117.225.160.48","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16]} 
[2026-09-09 21:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 21:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 21:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 21:29:16] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-09 21:29:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 21:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:29:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27463,"unknown_133":206,"unknown_9":54784,"ignition":34,"odometer":null}} 
[2026-09-09 21:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":178662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:29:16] local.INFO: GPS data processed {"connection_id":178662,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:29:16] local.INFO: Acknowledgment sent {"connection_id":178662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:29:29] local.INFO: TCP Data received {"connection_id":177254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:29:29] local.INFO: Processing buffer {"connection_id":177254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:29:29] local.INFO: IMEI packet received {"connection_id":177254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":177254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:29:34] local.INFO: TCP Data received {"connection_id":177254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:29:34] local.INFO: Processing buffer {"connection_id":177254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:29:34] local.INFO: IMEI packet received {"connection_id":177254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":177254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:29:35] local.INFO: TCP Data received {"connection_id":177254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:29:35] local.INFO: Processing buffer {"connection_id":177254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:29:35] local.INFO: Packet analysis {"connection_id":177254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:29:35] local.INFO: Extracted packet for processing {"connection_id":177254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 21:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:29:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":177254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:29:35] local.INFO: GPS data processed {"connection_id":177254,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:29:35] local.INFO: Acknowledgment sent {"connection_id":177254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:29:38] local.INFO: TCP Data received {"connection_id":176090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:29:38] local.INFO: Processing buffer {"connection_id":176090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:29:38] local.INFO: IMEI packet received {"connection_id":176090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":176090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:29:40] local.INFO: TCP Data received {"connection_id":175866,"ip":"117.225.160.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:29:40] local.INFO: Processing buffer {"connection_id":175866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:29:40] local.INFO: IMEI packet received {"connection_id":175866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":175866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:29:43] local.INFO: TCP Data received {"connection_id":176090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:29:43] local.INFO: Processing buffer {"connection_id":176090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:29:43] local.INFO: IMEI packet received {"connection_id":176090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:29:43] local.INFO: TCP Data received {"connection_id":176090,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:29:43] local.INFO: Processing buffer {"connection_id":176090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:29:43] local.INFO: Packet analysis {"connection_id":176090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:29:43] local.INFO: Extracted packet for processing {"connection_id":176090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 21:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21: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-09-09 21:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":176090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:29:43] local.INFO: GPS data processed {"connection_id":176090,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:29:43] local.INFO: Acknowledgment sent {"connection_id":176090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:29:46] local.INFO: TCP Data received {"connection_id":175866,"ip":"117.225.160.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:29:46] local.INFO: Processing buffer {"connection_id":175866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:29:46] local.INFO: IMEI packet received {"connection_id":175866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 21:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":175866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:29:47] local.INFO: TCP Data received {"connection_id":175866,"ip":"117.225.160.48","data_length":795,"data_hex":"000000000000030f8e0a000001a086e24d48012cb22080090e5d30022800ea2a..."} 
[2026-09-09 21:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e24d48012cb22080090e5d30022800ea2a..."} 
[2026-09-09 21:29:47] local.INFO: Processing buffer {"connection_id":175866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e24d48012cb22080090e5d30022800ea2a..."} 
[2026-09-09 21:29:47] local.INFO: Packet analysis {"connection_id":175866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e2"} 
[2026-09-09 21:29:47] local.INFO: Extracted packet for processing {"connection_id":175866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e2"} 
[2026-09-09 21:29:47] local.INFO: GPS Element Parsed {"raw_longitude":749871232,"raw_latitude":151936304,"longitude_deg":74.9871232,"latitude_deg":15.1936304,"altitude":552,"angle":234,"satellites":42,"speed":40,"hex_longitude":"2cb22080","hex_latitude":"090e5d30","is_valid_coordinates":true} 
[2026-09-09 21:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976154624001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5596426185550487550,"note":"Value kept but may cause issues"} 
[2026-09-09 21:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788969373000,"timestamp_ms":1788969373000,"timestamp_seconds":1788969373,"priority":1,"record_length":96,"hex_timestamp":"000001a086e24d48"} 
[2026-09-09 21:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 21:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-09 21:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 21:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.160.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 21:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 21:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976154624001,"66":27626,"133":206,"9":54784,"24":40,"16":3893920429768704,"44":-5596426185550487550},"client_ip":"117.225.160.48","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-09 21:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 21:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 21:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976154624001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:29:47] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-09 21:29:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-09 21:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:29:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5596426185550487550,"description":"Unknown IO ID 44"} 
[2026-09-09 21:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976154624001,"power":27626,"unknown_133":206,"unknown_9":54784,"ignition":40,"odometer":null,"unknown_44":-5596426185550487550}} 
[2026-09-09 21:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":175866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:29:47] local.INFO: GPS data processed {"connection_id":175866,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:29:47] local.INFO: Acknowledgment sent {"connection_id":175866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:30:06] local.INFO: TCP Data received {"connection_id":177254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:30:06] local.INFO: Processing buffer {"connection_id":177254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e0f970012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:30:06] local.INFO: Packet analysis {"connection_id":177254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:30:06] local.INFO: Extracted packet for processing {"connection_id":177254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e0"} 
[2026-09-09 21:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976060160001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969286000,"timestamp_ms":1788969286000,"timestamp_seconds":1788969286,"priority":1,"record_length":96,"hex_timestamp":"000001a086e0f970"} 
[2026-09-09 21:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:30: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-09-09 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:30: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-09-09 21: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-09-09 21:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976060160001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976060160001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:30:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976060160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":177254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:30:06] local.INFO: GPS data processed {"connection_id":177254,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:30:06] local.INFO: Acknowledgment sent {"connection_id":177254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:30:15] local.INFO: TCP Data received {"connection_id":176090,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:30:15] local.INFO: Processing buffer {"connection_id":176090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:30:15] local.INFO: Packet analysis {"connection_id":176090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:30:15] local.INFO: Extracted packet for processing {"connection_id":176090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 21:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:30:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":176090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:30:15] local.INFO: GPS data processed {"connection_id":176090,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:30:15] local.INFO: Acknowledgment sent {"connection_id":176090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:30:29] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:30:29] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:30:29] local.INFO: IMEI packet received {"connection_id":176091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":176091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:30:34] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:30:34] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:30:34] local.INFO: IMEI packet received {"connection_id":176091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":176091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:30:35] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:30:35] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:30:35] local.INFO: Packet analysis {"connection_id":176091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:30:35] local.INFO: Extracted packet for processing {"connection_id":176091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 21:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:30:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":176091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:30:35] local.INFO: GPS data processed {"connection_id":176091,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:30:35] local.INFO: Acknowledgment sent {"connection_id":176091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:30:38] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:30:38] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:30:38] local.INFO: IMEI packet received {"connection_id":176092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":176092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:30:43] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:30:43] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:30:43] local.INFO: IMEI packet received {"connection_id":176092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":176092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:30:43] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:30:43] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:30:43] local.INFO: Packet analysis {"connection_id":176092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:30:43] local.INFO: Extracted packet for processing {"connection_id":176092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 21:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21:30: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-09-09 21:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":176092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:30:44] local.INFO: GPS data processed {"connection_id":176092,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:30:44] local.INFO: Acknowledgment sent {"connection_id":176092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:31:06] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:31:06] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:31:06] local.INFO: Packet analysis {"connection_id":176091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:31:06] local.INFO: Extracted packet for processing {"connection_id":176091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 21:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:31: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-09-09 21:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:31:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":176091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:31:06] local.INFO: GPS data processed {"connection_id":176091,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:31:06] local.INFO: Acknowledgment sent {"connection_id":176091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:31:15] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:31:15] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:31:15] local.INFO: Packet analysis {"connection_id":176092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:31:15] local.INFO: Extracted packet for processing {"connection_id":176092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 21:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":176092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:31:15] local.INFO: GPS data processed {"connection_id":176092,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:31:15] local.INFO: Acknowledgment sent {"connection_id":176092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:31:29] local.INFO: TCP Data received {"connection_id":178663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:31:29] local.INFO: Processing buffer {"connection_id":178663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:31:29] local.INFO: IMEI packet received {"connection_id":178663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":178663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:31:34] local.INFO: TCP Data received {"connection_id":178663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:31:34] local.INFO: Processing buffer {"connection_id":178663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:31:34] local.INFO: IMEI packet received {"connection_id":178663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":178663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:31:35] local.INFO: TCP Data received {"connection_id":178663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:31:35] local.INFO: Processing buffer {"connection_id":178663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:31:35] local.INFO: Packet analysis {"connection_id":178663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:31:35] local.INFO: Extracted packet for processing {"connection_id":178663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 21:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:31:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":178663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:31:35] local.INFO: GPS data processed {"connection_id":178663,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:31:35] local.INFO: Acknowledgment sent {"connection_id":178663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:31:38] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:31:38] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:31:38] local.INFO: IMEI packet received {"connection_id":175867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":175867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:31:43] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:31:43] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:31:43] local.INFO: IMEI packet received {"connection_id":175867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":175867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:31:43] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:31:43] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:31:43] local.INFO: Packet analysis {"connection_id":175867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:31:43] local.INFO: Extracted packet for processing {"connection_id":175867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 21:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21:31: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-09-09 21: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-09-09 21:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":175867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:31:43] local.INFO: GPS data processed {"connection_id":175867,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:31:43] local.INFO: Acknowledgment sent {"connection_id":175867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:32:06] local.INFO: TCP Data received {"connection_id":178663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:32:06] local.INFO: Processing buffer {"connection_id":178663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:32:06] local.INFO: Packet analysis {"connection_id":178663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:32:06] local.INFO: Extracted packet for processing {"connection_id":178663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 21:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:32: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-09-09 21: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-09-09 21:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:32:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":178663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:32:06] local.INFO: GPS data processed {"connection_id":178663,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:32:06] local.INFO: Acknowledgment sent {"connection_id":178663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:32:15] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:32:15] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:32:15] local.INFO: Packet analysis {"connection_id":175867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:32:15] local.INFO: Extracted packet for processing {"connection_id":175867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 21:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":175867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:32:15] local.INFO: GPS data processed {"connection_id":175867,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:32:15] local.INFO: Acknowledgment sent {"connection_id":175867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:32:34] local.INFO: TCP Data received {"connection_id":176093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:32:34] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:32:34] local.INFO: IMEI packet received {"connection_id":176093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":176093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:32:37] local.INFO: TCP Data received {"connection_id":177255,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:32:37] local.INFO: Processing buffer {"connection_id":177255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:32:37] local.INFO: IMEI packet received {"connection_id":177255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":177255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:32:39] local.INFO: TCP Data received {"connection_id":176093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:32:39] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:32:39] local.INFO: IMEI packet received {"connection_id":176093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":176093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:32:40] local.INFO: TCP Data received {"connection_id":176093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:32:40] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:32:40] local.INFO: Packet analysis {"connection_id":176093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:32:40] local.INFO: Extracted packet for processing {"connection_id":176093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32: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-09-09 21:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 21:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:32: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-09-09 21: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-09-09 21:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:32:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":176093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:32:40] local.INFO: GPS data processed {"connection_id":176093,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:32:40] local.INFO: Acknowledgment sent {"connection_id":176093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:32:43] local.INFO: TCP Data received {"connection_id":177255,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:32:43] local.INFO: Processing buffer {"connection_id":177255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:32:43] local.INFO: IMEI packet received {"connection_id":177255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":177255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:32:44] local.INFO: TCP Data received {"connection_id":177255,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:32:44] local.INFO: Processing buffer {"connection_id":177255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:32:44] local.INFO: Packet analysis {"connection_id":177255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:32:44] local.INFO: Extracted packet for processing {"connection_id":177255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 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-09-09 21:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 21:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:32: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-09-09 21:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":177255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:32:44] local.INFO: GPS data processed {"connection_id":177255,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:32:44] local.INFO: Acknowledgment sent {"connection_id":177255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:32:44] local.INFO: TCP Data received {"connection_id":176093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:32:44] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:32:44] local.INFO: Packet analysis {"connection_id":176093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:32:44] local.INFO: Extracted packet for processing {"connection_id":176093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 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-09-09 21:32: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-09-09 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":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:32: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-09-09 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-09-09 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-09-09 21:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:32:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":176093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:32:44] local.INFO: GPS data processed {"connection_id":176093,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:32:44] local.INFO: Acknowledgment sent {"connection_id":176093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:33:15] local.INFO: TCP Data received {"connection_id":177255,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:33:15] local.INFO: Processing buffer {"connection_id":177255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:33:15] local.INFO: Packet analysis {"connection_id":177255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:33:15] local.INFO: Extracted packet for processing {"connection_id":177255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 21:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":177255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:33:15] local.INFO: GPS data processed {"connection_id":177255,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:33:15] local.INFO: Acknowledgment sent {"connection_id":177255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:33:29] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:33:29] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:33:29] local.INFO: IMEI packet received {"connection_id":175868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":175868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:33:34] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:33:34] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:33:34] local.INFO: IMEI packet received {"connection_id":175868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":175868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:33:35] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:33:35] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:33:35] local.INFO: Packet analysis {"connection_id":175868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:33:35] local.INFO: Extracted packet for processing {"connection_id":175868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 21:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:33:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":175868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:33:35] local.INFO: GPS data processed {"connection_id":175868,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:33:35] local.INFO: Acknowledgment sent {"connection_id":175868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:33:37] local.INFO: TCP Data received {"connection_id":177256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:33:37] local.INFO: Processing buffer {"connection_id":177256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:33:37] local.INFO: IMEI packet received {"connection_id":177256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":177256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:33:43] local.INFO: TCP Data received {"connection_id":177256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:33:43] local.INFO: Processing buffer {"connection_id":177256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:33:43] local.INFO: IMEI packet received {"connection_id":177256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":177256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:33:44] local.INFO: TCP Data received {"connection_id":177256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:33:44] local.INFO: Processing buffer {"connection_id":177256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e458b8012d34c14006aa42b8000801162a..."} 
[2026-09-09 21:33:44] local.INFO: Packet analysis {"connection_id":177256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:33:44] local.INFO: Extracted packet for processing {"connection_id":177256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e4"} 
[2026-09-09 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976116736001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969507000,"timestamp_ms":1788969507000,"timestamp_seconds":1788969507,"priority":1,"record_length":96,"hex_timestamp":"000001a086e458b8"} 
[2026-09-09 21:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 21:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976116736001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976116736001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976116736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":177256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:33:44] local.INFO: GPS data processed {"connection_id":177256,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:33:44] local.INFO: Acknowledgment sent {"connection_id":177256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:34:06] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:34:06] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:34:06] local.INFO: Packet analysis {"connection_id":175868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:34:06] local.INFO: Extracted packet for processing {"connection_id":175868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34: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-09-09 21:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 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-09-09 21:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:34: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-09-09 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-09-09 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-09-09 21:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:34:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":175868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:34:06] local.INFO: GPS data processed {"connection_id":175868,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:34:06] local.INFO: Acknowledgment sent {"connection_id":175868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:34:15] local.INFO: TCP Data received {"connection_id":177256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:34:15] local.INFO: Processing buffer {"connection_id":177256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:34:15] local.INFO: Packet analysis {"connection_id":177256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:34:15] local.INFO: Extracted packet for processing {"connection_id":177256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:34:15] 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-09-09 21:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":177256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:34:15] local.INFO: GPS data processed {"connection_id":177256,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:34:15] local.INFO: Acknowledgment sent {"connection_id":177256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:34:29] local.INFO: TCP Data received {"connection_id":178664,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:34:29] local.INFO: Processing buffer {"connection_id":178664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:34:29] local.INFO: IMEI packet received {"connection_id":178664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":178664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:34:34] local.INFO: TCP Data received {"connection_id":178664,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:34:34] local.INFO: Processing buffer {"connection_id":178664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:34:34] local.INFO: IMEI packet received {"connection_id":178664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":178664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:34:35] local.INFO: TCP Data received {"connection_id":178664,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:34:35] local.INFO: Processing buffer {"connection_id":178664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:34:35] local.INFO: Packet analysis {"connection_id":178664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:34:35] local.INFO: Extracted packet for processing {"connection_id":178664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 21:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:34:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":178664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:34:35] local.INFO: GPS data processed {"connection_id":178664,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:34:35] local.INFO: Acknowledgment sent {"connection_id":178664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:34:43] local.INFO: TCP Data received {"connection_id":177257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:34:43] local.INFO: Processing buffer {"connection_id":177257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:34:43] local.INFO: IMEI packet received {"connection_id":177257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":177257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:34:48] local.INFO: TCP Data received {"connection_id":177257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:34:48] local.INFO: Processing buffer {"connection_id":177257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:34:48] local.INFO: IMEI packet received {"connection_id":177257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":177257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:34:48] local.INFO: TCP Data received {"connection_id":177257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:34:48] local.INFO: Processing buffer {"connection_id":177257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:34:48] local.INFO: Packet analysis {"connection_id":177257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:34:48] local.INFO: Extracted packet for processing {"connection_id":177257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:34:48] 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-09-09 21:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:34: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-09-09 21:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":177257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:34:48] local.INFO: GPS data processed {"connection_id":177257,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:34:48] local.INFO: Acknowledgment sent {"connection_id":177257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:34:53] local.INFO: TCP Data received {"connection_id":177257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:34:53] local.INFO: Processing buffer {"connection_id":177257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:34:53] local.INFO: Packet analysis {"connection_id":177257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:34:53] local.INFO: Extracted packet for processing {"connection_id":177257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":177257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:34:53] local.INFO: GPS data processed {"connection_id":177257,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:34:53] local.INFO: Acknowledgment sent {"connection_id":177257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:35:06] local.INFO: TCP Data received {"connection_id":178664,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:35:06] local.INFO: Processing buffer {"connection_id":178664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e59138012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:35:06] local.INFO: Packet analysis {"connection_id":178664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:35:06] local.INFO: Extracted packet for processing {"connection_id":178664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e5"} 
[2026-09-09 21:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976137216001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969587000,"timestamp_ms":1788969587000,"timestamp_seconds":1788969587,"priority":1,"record_length":96,"hex_timestamp":"000001a086e59138"} 
[2026-09-09 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-09-09 21:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:35: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-09-09 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-09-09 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-09-09 21:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976137216001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976137216001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976137216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":178664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:35:06] local.INFO: GPS data processed {"connection_id":178664,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:35:06] local.INFO: Acknowledgment sent {"connection_id":178664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:35:29] local.INFO: TCP Data received {"connection_id":175869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:35:29] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:35:29] local.INFO: IMEI packet received {"connection_id":175869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":175869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:35:34] local.INFO: TCP Data received {"connection_id":175869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:35:34] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:35:34] local.INFO: IMEI packet received {"connection_id":175869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":175869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:35:35] local.INFO: TCP Data received {"connection_id":175869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:35:35] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:35:35] local.INFO: Packet analysis {"connection_id":175869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:35:35] local.INFO: Extracted packet for processing {"connection_id":175869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 21:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:35:35] 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-09-09 21:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:35: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-09-09 21:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:35:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":175869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:35:35] local.INFO: GPS data processed {"connection_id":175869,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:35:35] local.INFO: Acknowledgment sent {"connection_id":175869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:35:38] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:35:38] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:35:38] local.INFO: IMEI packet received {"connection_id":175870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":175870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:35:43] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:35:43] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:35:43] local.INFO: IMEI packet received {"connection_id":175870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":175870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:35:45] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:35:45] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:35:45] local.INFO: Packet analysis {"connection_id":175870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:35:45] local.INFO: Extracted packet for processing {"connection_id":175870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:35:45] 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-09-09 21:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:35:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":175870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:35:45] local.INFO: GPS data processed {"connection_id":175870,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:35:45] local.INFO: Acknowledgment sent {"connection_id":175870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:36:06] local.INFO: TCP Data received {"connection_id":175869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:36:06] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:36:06] local.INFO: Packet analysis {"connection_id":175869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:36:06] local.INFO: Extracted packet for processing {"connection_id":175869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 21:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:36: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-09-09 21:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21: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-09-09 21:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:36: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-09-09 21:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":175869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:36:06] local.INFO: GPS data processed {"connection_id":175869,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:36:06] local.INFO: Acknowledgment sent {"connection_id":175869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:36:16] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:36:16] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:36:16] local.INFO: Packet analysis {"connection_id":175870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:36:16] local.INFO: Extracted packet for processing {"connection_id":175870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":175870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:36:16] local.INFO: GPS data processed {"connection_id":175870,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:36:16] local.INFO: Acknowledgment sent {"connection_id":175870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:36:34] local.INFO: TCP Data received {"connection_id":177258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:36:34] local.INFO: Processing buffer {"connection_id":177258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:36:34] local.INFO: IMEI packet received {"connection_id":177258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":177258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:36:38] local.INFO: TCP Data received {"connection_id":178665,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:36:38] local.INFO: Processing buffer {"connection_id":178665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:36:38] local.INFO: IMEI packet received {"connection_id":178665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":178665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:36:39] local.INFO: TCP Data received {"connection_id":177258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:36:39] local.INFO: Processing buffer {"connection_id":177258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:36:39] local.INFO: IMEI packet received {"connection_id":177258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":177258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:36:40] local.INFO: TCP Data received {"connection_id":177258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:36:40] local.INFO: Processing buffer {"connection_id":177258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:36:40] local.INFO: Packet analysis {"connection_id":177258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:36:40] local.INFO: Extracted packet for processing {"connection_id":177258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 21:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:36:40] 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-09-09 21:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:36:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:36:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":177258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:36:40] local.INFO: GPS data processed {"connection_id":177258,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:36:40] local.INFO: Acknowledgment sent {"connection_id":177258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:36:43] local.INFO: TCP Data received {"connection_id":178665,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:36:43] local.INFO: Processing buffer {"connection_id":178665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:36:43] local.INFO: IMEI packet received {"connection_id":178665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":178665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:36:44] local.INFO: TCP Data received {"connection_id":178665,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:36:44] local.INFO: Processing buffer {"connection_id":178665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:36:44] local.INFO: Packet analysis {"connection_id":178665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:36:44] local.INFO: Extracted packet for processing {"connection_id":178665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:36:44] 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-09-09 21: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-09-09 21:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":178665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:36:44] local.INFO: GPS data processed {"connection_id":178665,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:36:44] local.INFO: Acknowledgment sent {"connection_id":178665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:36:44] local.INFO: TCP Data received {"connection_id":177258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:36:44] local.INFO: Processing buffer {"connection_id":177258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:36:44] local.INFO: Packet analysis {"connection_id":177258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:36:44] local.INFO: Extracted packet for processing {"connection_id":177258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:36:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 21:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:36:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:36:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":177258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:36:44] local.INFO: GPS data processed {"connection_id":177258,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:36:44] local.INFO: Acknowledgment sent {"connection_id":177258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:37:16] local.INFO: TCP Data received {"connection_id":178665,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:37:16] local.INFO: Processing buffer {"connection_id":178665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:37:16] local.INFO: Packet analysis {"connection_id":178665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:37:16] local.INFO: Extracted packet for processing {"connection_id":178665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":178665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:37:16] local.INFO: GPS data processed {"connection_id":178665,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:37:16] local.INFO: Acknowledgment sent {"connection_id":178665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:37:29] local.INFO: TCP Data received {"connection_id":177259,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:37:29] local.INFO: Processing buffer {"connection_id":177259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:37:29] local.INFO: IMEI packet received {"connection_id":177259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":177259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:37:34] local.INFO: TCP Data received {"connection_id":177259,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:37:34] local.INFO: Processing buffer {"connection_id":177259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:37:34] local.INFO: IMEI packet received {"connection_id":177259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":177259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:37:35] local.INFO: TCP Data received {"connection_id":177259,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:37:35] local.INFO: Processing buffer {"connection_id":177259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:37:35] local.INFO: Packet analysis {"connection_id":177259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:37:35] local.INFO: Extracted packet for processing {"connection_id":177259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 21:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:37:35] 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-09-09 21:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:37:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":177259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:37:35] local.INFO: GPS data processed {"connection_id":177259,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:37:35] local.INFO: Acknowledgment sent {"connection_id":177259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:37:38] local.INFO: TCP Data received {"connection_id":176094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:37:38] local.INFO: Processing buffer {"connection_id":176094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:37:38] local.INFO: IMEI packet received {"connection_id":176094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":176094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:37:43] local.INFO: TCP Data received {"connection_id":176094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:37:43] local.INFO: Processing buffer {"connection_id":176094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:37:43] local.INFO: IMEI packet received {"connection_id":176094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":176094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:37:43] local.INFO: TCP Data received {"connection_id":176094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:37:43] local.INFO: Processing buffer {"connection_id":176094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:37:43] local.INFO: Packet analysis {"connection_id":176094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:37:43] local.INFO: Extracted packet for processing {"connection_id":176094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:37: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-09-09 21:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":176094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:37:44] local.INFO: GPS data processed {"connection_id":176094,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:37:44] local.INFO: Acknowledgment sent {"connection_id":176094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:38:06] local.INFO: TCP Data received {"connection_id":177259,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:38:06] local.INFO: Processing buffer {"connection_id":177259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:38:06] local.INFO: Packet analysis {"connection_id":177259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:38:06] local.INFO: Extracted packet for processing {"connection_id":177259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 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-09-09 21:38: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-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:38: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-09-09 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-09-09 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-09-09 21:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":177259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:38:06] local.INFO: GPS data processed {"connection_id":177259,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:38:06] local.INFO: Acknowledgment sent {"connection_id":177259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:38:15] local.INFO: TCP Data received {"connection_id":176094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:38:15] local.INFO: Processing buffer {"connection_id":176094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:38:15] local.INFO: Packet analysis {"connection_id":176094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:38:15] local.INFO: Extracted packet for processing {"connection_id":176094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:38:15] 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-09-09 21:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":176094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:38:15] local.INFO: GPS data processed {"connection_id":176094,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:38:15] local.INFO: Acknowledgment sent {"connection_id":176094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:38:29] local.INFO: TCP Data received {"connection_id":177261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:38:29] local.INFO: Processing buffer {"connection_id":177261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:38:29] local.INFO: IMEI packet received {"connection_id":177261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":177261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:38:34] local.INFO: TCP Data received {"connection_id":177261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:38:34] local.INFO: Processing buffer {"connection_id":177261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:38:34] local.INFO: IMEI packet received {"connection_id":177261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":177261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:38:35] local.INFO: TCP Data received {"connection_id":177261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:38:35] local.INFO: Processing buffer {"connection_id":177261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:38:35] local.INFO: Packet analysis {"connection_id":177261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:38:35] local.INFO: Extracted packet for processing {"connection_id":177261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 21:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:38:35] 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-09-09 21:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21: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-09-09 21:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:38:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":177261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:38:35] local.INFO: GPS data processed {"connection_id":177261,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:38:35] local.INFO: Acknowledgment sent {"connection_id":177261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:38:37] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:38:37] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:38:37] local.INFO: IMEI packet received {"connection_id":177262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":177262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:38:43] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:38:43] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:38:43] local.INFO: IMEI packet received {"connection_id":177262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":177262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:38:43] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:38:43] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086e8f080012d34c14006aa42b8000701162a..."} 
[2026-09-09 21:38:43] local.INFO: Packet analysis {"connection_id":177262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:38:43] local.INFO: Extracted packet for processing {"connection_id":177262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086e8"} 
[2026-09-09 21:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976193792001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788969808000,"timestamp_ms":1788969808000,"timestamp_seconds":1788969808,"priority":1,"record_length":96,"hex_timestamp":"000001a086e8f080"} 
[2026-09-09 21:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976193792001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976193792001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976193792001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":177262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:38:43] local.INFO: GPS data processed {"connection_id":177262,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:38:43] local.INFO: Acknowledgment sent {"connection_id":177262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:39:06] local.INFO: TCP Data received {"connection_id":177261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:39:06] local.INFO: Processing buffer {"connection_id":177261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:39:06] local.INFO: Packet analysis {"connection_id":177261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:39:06] local.INFO: Extracted packet for processing {"connection_id":177261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39: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-09-09 21:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 21:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:39: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-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:39: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-09-09 21:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21: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-09-09 21:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:39:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":177261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:39:06] local.INFO: GPS data processed {"connection_id":177261,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:39:06] local.INFO: Acknowledgment sent {"connection_id":177261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:39:15] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:39:15] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:39:15] local.INFO: Packet analysis {"connection_id":177262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:39:15] local.INFO: Extracted packet for processing {"connection_id":177262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 21:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:39:15] 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-09-09 21:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":177262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:39:15] local.INFO: GPS data processed {"connection_id":177262,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:39:15] local.INFO: Acknowledgment sent {"connection_id":177262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:39:29] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:39:29] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:39:29] local.INFO: IMEI packet received {"connection_id":175872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":175872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:39:34] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:39:34] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:39:34] local.INFO: IMEI packet received {"connection_id":175872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":175872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:39:35] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:39:35] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:39:35] local.INFO: Packet analysis {"connection_id":175872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:39:35] local.INFO: Extracted packet for processing {"connection_id":175872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 21:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:39:35] 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-09-09 21:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:39:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":175872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:39:35] local.INFO: GPS data processed {"connection_id":175872,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:39:35] local.INFO: Acknowledgment sent {"connection_id":175872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:39:38] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:39:38] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:39:38] local.INFO: IMEI packet received {"connection_id":175873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":175873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:39:43] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:39:43] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:39:43] local.INFO: IMEI packet received {"connection_id":175873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":175873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:39:44] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:39:44] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:39:44] local.INFO: Packet analysis {"connection_id":175873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:39:44] local.INFO: Extracted packet for processing {"connection_id":175873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 21:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:39:44] 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-09-09 21:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":175873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:39:44] local.INFO: GPS data processed {"connection_id":175873,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:39:44] local.INFO: Acknowledgment sent {"connection_id":175873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:40:06] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:40:06] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ea2900012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:40:06] local.INFO: Packet analysis {"connection_id":175872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:40:06] local.INFO: Extracted packet for processing {"connection_id":175872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ea"} 
[2026-09-09 21:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976214272001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788969888000,"timestamp_ms":1788969888000,"timestamp_seconds":1788969888,"priority":1,"record_length":96,"hex_timestamp":"000001a086ea2900"} 
[2026-09-09 21:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:40: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-09-09 21:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:40: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-09-09 21:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976214272001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976214272001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976214272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":175872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:40:06] local.INFO: GPS data processed {"connection_id":175872,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:40:06] local.INFO: Acknowledgment sent {"connection_id":175872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:40:15] local.INFO: TCP Data received {"connection_id":178666,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:40:15] local.INFO: Processing buffer {"connection_id":178666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:40:15] local.INFO: IMEI packet received {"connection_id":178666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":178666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:40:17] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:40:17] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:40:17] local.INFO: Packet analysis {"connection_id":175873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:40:17] local.INFO: Extracted packet for processing {"connection_id":175873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 21:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:40:17] 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-09-09 21:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":175873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:40:17] local.INFO: GPS data processed {"connection_id":175873,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:40:17] local.INFO: Acknowledgment sent {"connection_id":175873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:40:29] local.INFO: TCP Data received {"connection_id":177263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:40:29] local.INFO: Processing buffer {"connection_id":177263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:40:29] local.INFO: IMEI packet received {"connection_id":177263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":177263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:40:34] local.INFO: TCP Data received {"connection_id":177263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:40:34] local.INFO: Processing buffer {"connection_id":177263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:40:34] local.INFO: IMEI packet received {"connection_id":177263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":177263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:40:35] local.INFO: TCP Data received {"connection_id":177263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:40:35] local.INFO: Processing buffer {"connection_id":177263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:40:35] local.INFO: Packet analysis {"connection_id":177263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:40:35] local.INFO: Extracted packet for processing {"connection_id":177263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 21:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:40:35] 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-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:40:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":177263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:40:35] local.INFO: GPS data processed {"connection_id":177263,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:40:35] local.INFO: Acknowledgment sent {"connection_id":177263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:40:38] local.INFO: TCP Data received {"connection_id":178667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:40:38] local.INFO: Processing buffer {"connection_id":178667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:40:38] local.INFO: IMEI packet received {"connection_id":178667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":178667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:40:43] local.INFO: TCP Data received {"connection_id":178667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:40:43] local.INFO: Processing buffer {"connection_id":178667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:40:43] local.INFO: IMEI packet received {"connection_id":178667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":178667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:40:44] local.INFO: TCP Data received {"connection_id":178667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:40:44] local.INFO: Processing buffer {"connection_id":178667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:40:44] local.INFO: Packet analysis {"connection_id":178667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:40:44] local.INFO: Extracted packet for processing {"connection_id":178667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 21:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:40:44] 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-09-09 21:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":178667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:40:44] local.INFO: GPS data processed {"connection_id":178667,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:40:44] local.INFO: Acknowledgment sent {"connection_id":178667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:40:45] local.INFO: TCP Data received {"connection_id":175874,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:40:46] local.INFO: Processing buffer {"connection_id":175874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:40:46] local.INFO: IMEI packet received {"connection_id":175874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":175874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:41:06] local.INFO: TCP Data received {"connection_id":177263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:41:06] local.INFO: Processing buffer {"connection_id":177263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:41:06] local.INFO: Packet analysis {"connection_id":177263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:41:06] local.INFO: Extracted packet for processing {"connection_id":177263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 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-09-09 21:41: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-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:41: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-09-09 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-09-09 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-09-09 21:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:41:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":177263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:41:06] local.INFO: GPS data processed {"connection_id":177263,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:41:06] local.INFO: Acknowledgment sent {"connection_id":177263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:41:16] local.INFO: TCP Data received {"connection_id":178667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:41:16] local.INFO: Processing buffer {"connection_id":178667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:41:16] local.INFO: Packet analysis {"connection_id":178667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:41:16] local.INFO: Extracted packet for processing {"connection_id":178667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 21:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":178667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:41:16] local.INFO: GPS data processed {"connection_id":178667,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:41:16] local.INFO: Acknowledgment sent {"connection_id":178667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:41:29] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:41:29] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:41:29] local.INFO: IMEI packet received {"connection_id":175875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":175875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:41:34] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:41:34] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:41:34] local.INFO: IMEI packet received {"connection_id":175875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":175875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:41:35] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:41:35] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:41:35] local.INFO: Packet analysis {"connection_id":175875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:41:35] local.INFO: Extracted packet for processing {"connection_id":175875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 21:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:41:35] 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-09-09 21:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:41:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":175875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:41:35] local.INFO: GPS data processed {"connection_id":175875,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:41:35] local.INFO: Acknowledgment sent {"connection_id":175875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:41:38] local.INFO: TCP Data received {"connection_id":177264,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:41:38] local.INFO: Processing buffer {"connection_id":177264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:41:38] local.INFO: IMEI packet received {"connection_id":177264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":177264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:41:39] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:41:39] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:41:39] local.INFO: Packet analysis {"connection_id":175875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:41:39] local.INFO: Extracted packet for processing {"connection_id":175875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41: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-09-09 21:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 21:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:41: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-09-09 21:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:41: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-09-09 21:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:41: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-09-09 21:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:41:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:41:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":175875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:41:39] local.INFO: GPS data processed {"connection_id":175875,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:41:39] local.INFO: Acknowledgment sent {"connection_id":175875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:41:43] local.INFO: TCP Data received {"connection_id":177264,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:41:43] local.INFO: Processing buffer {"connection_id":177264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:41:43] local.INFO: IMEI packet received {"connection_id":177264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":177264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:41:44] local.INFO: TCP Data received {"connection_id":177264,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:41:44] local.INFO: Processing buffer {"connection_id":177264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:41:44] local.INFO: Packet analysis {"connection_id":177264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:41:44] local.INFO: Extracted packet for processing {"connection_id":177264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 21:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:41:44] 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-09-09 21: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-09-09 21:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":177264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:41:44] local.INFO: GPS data processed {"connection_id":177264,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:41:44] local.INFO: Acknowledgment sent {"connection_id":177264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:42:10] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:42:10] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:42:10] local.INFO: Packet analysis {"connection_id":175875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:42:10] local.INFO: Extracted packet for processing {"connection_id":175875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 21:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:42: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-09-09 21:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:42:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":175875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:42:11] local.INFO: GPS data processed {"connection_id":175875,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:42:11] local.INFO: Acknowledgment sent {"connection_id":175875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:42:15] local.INFO: TCP Data received {"connection_id":177264,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:42:15] local.INFO: Processing buffer {"connection_id":177264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:42:15] local.INFO: Packet analysis {"connection_id":177264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:42:15] local.INFO: Extracted packet for processing {"connection_id":177264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 21:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:42:15] 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-09-09 21:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":177264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:42:15] local.INFO: GPS data processed {"connection_id":177264,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:42:15] local.INFO: Acknowledgment sent {"connection_id":177264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:42:29] local.INFO: TCP Data received {"connection_id":178668,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:42:29] local.INFO: Processing buffer {"connection_id":178668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:42:29] local.INFO: IMEI packet received {"connection_id":178668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":178668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:42:34] local.INFO: TCP Data received {"connection_id":178668,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:42:34] local.INFO: Processing buffer {"connection_id":178668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:42:34] local.INFO: IMEI packet received {"connection_id":178668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":178668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:42:35] local.INFO: TCP Data received {"connection_id":178668,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:42:35] local.INFO: Processing buffer {"connection_id":178668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:42:35] local.INFO: Packet analysis {"connection_id":178668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:42:35] local.INFO: Extracted packet for processing {"connection_id":178668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 21:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:42:35] 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-09-09 21:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:42:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":178668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:42:35] local.INFO: GPS data processed {"connection_id":178668,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:42:35] local.INFO: Acknowledgment sent {"connection_id":178668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:42:37] local.INFO: TCP Data received {"connection_id":175877,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:42:37] local.INFO: Processing buffer {"connection_id":175877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:42:37] local.INFO: IMEI packet received {"connection_id":175877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":175877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:42:43] local.INFO: TCP Data received {"connection_id":175877,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:42:43] local.INFO: Processing buffer {"connection_id":175877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:42:43] local.INFO: IMEI packet received {"connection_id":175877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":175877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:42:43] local.INFO: TCP Data received {"connection_id":175877,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:42:43] local.INFO: Processing buffer {"connection_id":175877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:42:43] local.INFO: Packet analysis {"connection_id":175877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:42:43] local.INFO: Extracted packet for processing {"connection_id":175877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 21:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:42: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-09-09 21:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":175877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:42:43] local.INFO: GPS data processed {"connection_id":175877,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:42:43] local.INFO: Acknowledgment sent {"connection_id":175877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:43:06] local.INFO: TCP Data received {"connection_id":178668,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:43:06] local.INFO: Processing buffer {"connection_id":178668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:43:06] local.INFO: Packet analysis {"connection_id":178668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:43:06] local.INFO: Extracted packet for processing {"connection_id":178668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 21:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:43: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-09-09 21: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-09-09 21: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-09-09 21: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-09-09 21:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21: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-09-09 21:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:43:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":178668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:43:06] local.INFO: GPS data processed {"connection_id":178668,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:43:06] local.INFO: Acknowledgment sent {"connection_id":178668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:43:15] local.INFO: TCP Data received {"connection_id":175877,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:43:15] local.INFO: Processing buffer {"connection_id":175877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:43:15] local.INFO: Packet analysis {"connection_id":175877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:43:15] local.INFO: Extracted packet for processing {"connection_id":175877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 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-09-09 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:43:15] 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-09-09 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-09-09 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-09-09 21:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":175877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:43:15] local.INFO: GPS data processed {"connection_id":175877,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:43:15] local.INFO: Acknowledgment sent {"connection_id":175877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:43:29] local.INFO: TCP Data received {"connection_id":177265,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:43:29] local.INFO: Processing buffer {"connection_id":177265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:43:29] local.INFO: IMEI packet received {"connection_id":177265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":177265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:43:34] local.INFO: TCP Data received {"connection_id":177265,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:43:34] local.INFO: Processing buffer {"connection_id":177265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:43:34] local.INFO: IMEI packet received {"connection_id":177265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":177265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:43:35] local.INFO: TCP Data received {"connection_id":177265,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:43:35] local.INFO: Processing buffer {"connection_id":177265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:43:35] local.INFO: Packet analysis {"connection_id":177265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:43:35] local.INFO: Extracted packet for processing {"connection_id":177265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 21:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:43:35] 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-09-09 21:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:43:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":177265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:43:35] local.INFO: GPS data processed {"connection_id":177265,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:43:35] local.INFO: Acknowledgment sent {"connection_id":177265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:43:37] local.INFO: TCP Data received {"connection_id":178669,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:43:37] local.INFO: Processing buffer {"connection_id":178669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:43:37] local.INFO: IMEI packet received {"connection_id":178669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":178669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:43:43] local.INFO: TCP Data received {"connection_id":178669,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:43:43] local.INFO: Processing buffer {"connection_id":178669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:43:43] local.INFO: IMEI packet received {"connection_id":178669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":178669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:43:43] local.INFO: TCP Data received {"connection_id":178669,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:43:43] local.INFO: Processing buffer {"connection_id":178669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ed8848012d34c14006aa42b80005011628..."} 
[2026-09-09 21:43:43] local.INFO: Packet analysis {"connection_id":178669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:43:43] local.INFO: Extracted packet for processing {"connection_id":178669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ed"} 
[2026-09-09 21:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976270848001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788970109000,"timestamp_ms":1788970109000,"timestamp_seconds":1788970109,"priority":1,"record_length":96,"hex_timestamp":"000001a086ed8848"} 
[2026-09-09 21:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:43: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-09-09 21:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976270848001,"66":25223,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976270848001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976270848001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":178669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:43:43] local.INFO: GPS data processed {"connection_id":178669,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:43:43] local.INFO: Acknowledgment sent {"connection_id":178669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:44:06] local.INFO: TCP Data received {"connection_id":177265,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:44:06] local.INFO: Processing buffer {"connection_id":177265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:44:06] local.INFO: Packet analysis {"connection_id":177265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:44:06] local.INFO: Extracted packet for processing {"connection_id":177265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 21:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:44: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-09-09 21:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:44: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-09-09 21:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":177265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:44:06] local.INFO: GPS data processed {"connection_id":177265,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:44:06] local.INFO: Acknowledgment sent {"connection_id":177265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:44:15] local.INFO: TCP Data received {"connection_id":178669,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:44:15] local.INFO: Processing buffer {"connection_id":178669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:44:15] local.INFO: Packet analysis {"connection_id":178669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:44:15] local.INFO: Extracted packet for processing {"connection_id":178669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":178669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:44:15] local.INFO: GPS data processed {"connection_id":178669,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:44:15] local.INFO: Acknowledgment sent {"connection_id":178669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:44:30] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:44:30] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:44:30] local.INFO: IMEI packet received {"connection_id":176096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":176096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:44:34] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:44:34] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:44:34] local.INFO: IMEI packet received {"connection_id":176096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":176096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:44:35] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:44:35] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:44:35] local.INFO: Packet analysis {"connection_id":176096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:44:35] local.INFO: Extracted packet for processing {"connection_id":176096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 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-09-09 21:44:35] 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-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 21:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:44:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":176096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:44:35] local.INFO: GPS data processed {"connection_id":176096,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:44:35] local.INFO: Acknowledgment sent {"connection_id":176096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:44:43] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:44:43] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:44:43] local.INFO: IMEI packet received {"connection_id":175878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":175878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:44:48] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:44:48] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:44:48] local.INFO: IMEI packet received {"connection_id":175878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":175878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:44:49] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:44:49] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:44:49] local.INFO: Packet analysis {"connection_id":175878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:44:49] local.INFO: Extracted packet for processing {"connection_id":175878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:44:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":175878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:44:49] local.INFO: GPS data processed {"connection_id":175878,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:44:49] local.INFO: Acknowledgment sent {"connection_id":175878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:44:53] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:44:53] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:44:53] local.INFO: Packet analysis {"connection_id":175878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:44:53] local.INFO: Extracted packet for processing {"connection_id":175878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":175878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:44:53] local.INFO: GPS data processed {"connection_id":175878,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:44:53] local.INFO: Acknowledgment sent {"connection_id":175878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:45:06] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:45:06] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086eec0c8012d1965c0071ff0200039011b26..."} 
[2026-09-09 21:45:06] local.INFO: Packet analysis {"connection_id":176096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:45:06] local.INFO: Extracted packet for processing {"connection_id":176096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ee"} 
[2026-09-09 21:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976291328001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788970189000,"timestamp_ms":1788970189000,"timestamp_seconds":1788970189,"priority":1,"record_length":96,"hex_timestamp":"000001a086eec0c8"} 
[2026-09-09 21:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:45: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-09-09 21: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-09-09 21: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-09-09 21: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-09-09 21:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976291328001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976291328001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976291328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":176096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:45:06] local.INFO: GPS data processed {"connection_id":176096,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:45:06] local.INFO: Acknowledgment sent {"connection_id":176096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:45:29] local.INFO: TCP Data received {"connection_id":177266,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:45:29] local.INFO: Processing buffer {"connection_id":177266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:45:29] local.INFO: IMEI packet received {"connection_id":177266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":177266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:45:34] local.INFO: TCP Data received {"connection_id":177266,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:45:34] local.INFO: Processing buffer {"connection_id":177266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:45:34] local.INFO: IMEI packet received {"connection_id":177266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":177266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:45:35] local.INFO: TCP Data received {"connection_id":177266,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:45:35] local.INFO: Processing buffer {"connection_id":177266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:45:35] local.INFO: Packet analysis {"connection_id":177266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:45:35] local.INFO: Extracted packet for processing {"connection_id":177266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 21:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:45:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":177266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:45:35] local.INFO: GPS data processed {"connection_id":177266,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:45:35] local.INFO: Acknowledgment sent {"connection_id":177266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:45:38] local.INFO: TCP Data received {"connection_id":177267,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:45:38] local.INFO: Processing buffer {"connection_id":177267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:45:38] local.INFO: IMEI packet received {"connection_id":177267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":177267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:45:43] local.INFO: TCP Data received {"connection_id":177267,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:45:43] local.INFO: Processing buffer {"connection_id":177267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:45:43] local.INFO: IMEI packet received {"connection_id":177267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":177267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:45:44] local.INFO: TCP Data received {"connection_id":177267,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:45:44] local.INFO: Processing buffer {"connection_id":177267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:45:44] local.INFO: Packet analysis {"connection_id":177267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:45:44] local.INFO: Extracted packet for processing {"connection_id":177267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":177267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:45:44] local.INFO: GPS data processed {"connection_id":177267,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:45:44] local.INFO: Acknowledgment sent {"connection_id":177267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:46:06] local.INFO: TCP Data received {"connection_id":177266,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:46:06] local.INFO: Processing buffer {"connection_id":177266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:46:06] local.INFO: Packet analysis {"connection_id":177266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:46:06] local.INFO: Extracted packet for processing {"connection_id":177266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 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-09-09 21:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21: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-09-09 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-09-09 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-09-09 21:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":177266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:46:06] local.INFO: GPS data processed {"connection_id":177266,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:46:06] local.INFO: Acknowledgment sent {"connection_id":177266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:46:15] local.INFO: TCP Data received {"connection_id":177267,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:46:15] local.INFO: Processing buffer {"connection_id":177267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:46:15] local.INFO: Packet analysis {"connection_id":177267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:46:15] local.INFO: Extracted packet for processing {"connection_id":177267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":177267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:46:15] local.INFO: GPS data processed {"connection_id":177267,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:46:15] local.INFO: Acknowledgment sent {"connection_id":177267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:46:29] local.INFO: TCP Data received {"connection_id":175879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:46:29] local.INFO: Processing buffer {"connection_id":175879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:46:29] local.INFO: IMEI packet received {"connection_id":175879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":175879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:46:34] local.INFO: TCP Data received {"connection_id":175879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:46:34] local.INFO: Processing buffer {"connection_id":175879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:46:34] local.INFO: IMEI packet received {"connection_id":175879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":175879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:46:35] local.INFO: TCP Data received {"connection_id":175879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:46:35] local.INFO: Processing buffer {"connection_id":175879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:46:35] local.INFO: Packet analysis {"connection_id":175879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:46:35] local.INFO: Extracted packet for processing {"connection_id":175879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 21:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:46:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":175879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:46:35] local.INFO: GPS data processed {"connection_id":175879,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:46:35] local.INFO: Acknowledgment sent {"connection_id":175879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:46:38] local.INFO: TCP Data received {"connection_id":178670,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:46:38] local.INFO: Processing buffer {"connection_id":178670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:46:38] local.INFO: IMEI packet received {"connection_id":178670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":178670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:46:39] local.INFO: TCP Data received {"connection_id":175879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:46:39] local.INFO: Processing buffer {"connection_id":175879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:46:39] local.INFO: Packet analysis {"connection_id":175879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:46:39] local.INFO: Extracted packet for processing {"connection_id":175879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 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-09-09 21:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 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-09-09 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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-09-09 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-09-09 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-09-09 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-09-09 21:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:46:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":175879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:46:39] local.INFO: GPS data processed {"connection_id":175879,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:46:39] local.INFO: Acknowledgment sent {"connection_id":175879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:46:43] local.INFO: TCP Data received {"connection_id":178670,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:46:43] local.INFO: Processing buffer {"connection_id":178670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:46:43] local.INFO: IMEI packet received {"connection_id":178670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":178670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:46:43] local.INFO: TCP Data received {"connection_id":178670,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:46:43] local.INFO: Processing buffer {"connection_id":178670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:46:43] local.INFO: Packet analysis {"connection_id":178670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:46:43] local.INFO: Extracted packet for processing {"connection_id":178670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:46: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-09-09 21:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:46: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-09-09 21:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:46:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:46:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":178670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:46:43] local.INFO: GPS data processed {"connection_id":178670,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:46:43] local.INFO: Acknowledgment sent {"connection_id":178670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:47:10] local.INFO: TCP Data received {"connection_id":175879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:47:10] local.INFO: Processing buffer {"connection_id":175879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:47:10] local.INFO: Packet analysis {"connection_id":175879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:47:10] local.INFO: Extracted packet for processing {"connection_id":175879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:47:10] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 21:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:47:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":175879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:47:10] local.INFO: GPS data processed {"connection_id":175879,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:47:10] local.INFO: Acknowledgment sent {"connection_id":175879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:47:15] local.INFO: TCP Data received {"connection_id":178670,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:47:15] local.INFO: Processing buffer {"connection_id":178670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:47:15] local.INFO: Packet analysis {"connection_id":178670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:47:15] local.INFO: Extracted packet for processing {"connection_id":178670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":178670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:47:15] local.INFO: GPS data processed {"connection_id":178670,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:47:15] local.INFO: Acknowledgment sent {"connection_id":178670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:47:29] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:47:29] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:47:29] local.INFO: IMEI packet received {"connection_id":176097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":176097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:47:34] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:47:34] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:47:34] local.INFO: IMEI packet received {"connection_id":176097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":176097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:47:35] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:47:35] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:47:35] local.INFO: Packet analysis {"connection_id":176097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:47:35] local.INFO: Extracted packet for processing {"connection_id":176097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 21:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:47:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":176097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:47:35] local.INFO: GPS data processed {"connection_id":176097,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:47:35] local.INFO: Acknowledgment sent {"connection_id":176097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:47:37] local.INFO: TCP Data received {"connection_id":177268,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:47:37] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:47:37] local.INFO: IMEI packet received {"connection_id":177268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":177268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:47:43] local.INFO: TCP Data received {"connection_id":177268,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:47:43] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:47:43] local.INFO: IMEI packet received {"connection_id":177268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":177268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:47:44] local.INFO: TCP Data received {"connection_id":177268,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:47:44] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:47:44] local.INFO: Packet analysis {"connection_id":177268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:47:44] local.INFO: Extracted packet for processing {"connection_id":177268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:47: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-09-09 21:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":177268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:47:44] local.INFO: GPS data processed {"connection_id":177268,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:47:44] local.INFO: Acknowledgment sent {"connection_id":177268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:48:06] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:48:06] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:48:06] local.INFO: Packet analysis {"connection_id":176097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:48:06] local.INFO: Extracted packet for processing {"connection_id":176097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 21:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:48: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-09-09 21:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":176097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:48:06] local.INFO: GPS data processed {"connection_id":176097,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:48:06] local.INFO: Acknowledgment sent {"connection_id":176097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:48:15] local.INFO: TCP Data received {"connection_id":177268,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:48:15] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:48:15] local.INFO: Packet analysis {"connection_id":177268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:48:15] local.INFO: Extracted packet for processing {"connection_id":177268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":177268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:48:15] local.INFO: GPS data processed {"connection_id":177268,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:48:15] local.INFO: Acknowledgment sent {"connection_id":177268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:48:29] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:48:29] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:48:29] local.INFO: IMEI packet received {"connection_id":176098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":176098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:48:34] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:48:34] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:48:34] local.INFO: IMEI packet received {"connection_id":176098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":176098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:48:35] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:48:35] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:48:35] local.INFO: Packet analysis {"connection_id":176098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:48:35] local.INFO: Extracted packet for processing {"connection_id":176098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 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-09-09 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 21:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:48:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":176098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:48:35] local.INFO: GPS data processed {"connection_id":176098,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:48:35] local.INFO: Acknowledgment sent {"connection_id":176098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:48:37] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:48:37] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:48:37] local.INFO: IMEI packet received {"connection_id":175880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":175880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:48:43] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:48:43] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:48:43] local.INFO: IMEI packet received {"connection_id":175880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":175880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:48:44] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:48:44] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f22010012d34c14006aa42b80004011628..."} 
[2026-09-09 21:48:44] local.INFO: Packet analysis {"connection_id":175880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:48:44] local.INFO: Extracted packet for processing {"connection_id":175880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f2"} 
[2026-09-09 21:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976347904001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788970410000,"timestamp_ms":1788970410000,"timestamp_seconds":1788970410,"priority":1,"record_length":96,"hex_timestamp":"000001a086f22010"} 
[2026-09-09 21:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-09 21:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976347904001,"66":25549,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976347904001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976347904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":175880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:48:44] local.INFO: GPS data processed {"connection_id":175880,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:48:44] local.INFO: Acknowledgment sent {"connection_id":175880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:49:06] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:49:06] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:49:06] local.INFO: Packet analysis {"connection_id":176098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:49:06] local.INFO: Extracted packet for processing {"connection_id":176098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 21:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":176098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:49:06] local.INFO: GPS data processed {"connection_id":176098,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:49:06] local.INFO: Acknowledgment sent {"connection_id":176098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:49:15] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:49:15] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:49:15] local.INFO: Packet analysis {"connection_id":175880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:49:15] local.INFO: Extracted packet for processing {"connection_id":175880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":175880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:49:15] local.INFO: GPS data processed {"connection_id":175880,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:49:15] local.INFO: Acknowledgment sent {"connection_id":175880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:49:29] local.INFO: TCP Data received {"connection_id":176099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:49:29] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:49:29] local.INFO: IMEI packet received {"connection_id":176099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":176099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:49:34] local.INFO: TCP Data received {"connection_id":176099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:49:34] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:49:34] local.INFO: IMEI packet received {"connection_id":176099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":176099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:49:35] local.INFO: TCP Data received {"connection_id":176099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:49:35] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:49:35] local.INFO: Packet analysis {"connection_id":176099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:49:35] local.INFO: Extracted packet for processing {"connection_id":176099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 21:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:49:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":176099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:49:35] local.INFO: GPS data processed {"connection_id":176099,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:49:35] local.INFO: Acknowledgment sent {"connection_id":176099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:49:43] local.INFO: TCP Data received {"connection_id":177269,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:49:43] local.INFO: Processing buffer {"connection_id":177269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:49:43] local.INFO: IMEI packet received {"connection_id":177269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":177269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:49:48] local.INFO: TCP Data received {"connection_id":177269,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:49:48] local.INFO: Processing buffer {"connection_id":177269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:49:48] local.INFO: IMEI packet received {"connection_id":177269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":177269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:49:49] local.INFO: TCP Data received {"connection_id":177269,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:49:49] local.INFO: Processing buffer {"connection_id":177269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:49:49] local.INFO: Packet analysis {"connection_id":177269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:49:49] local.INFO: Extracted packet for processing {"connection_id":177269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":177269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:49:49] local.INFO: GPS data processed {"connection_id":177269,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:49:49] local.INFO: Acknowledgment sent {"connection_id":177269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:50:06] local.INFO: TCP Data received {"connection_id":176099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:50:06] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f35890012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:50:06] local.INFO: Packet analysis {"connection_id":176099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:50:06] local.INFO: Extracted packet for processing {"connection_id":176099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f3"} 
[2026-09-09 21:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 21:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976368384001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788970490000,"timestamp_ms":1788970490000,"timestamp_seconds":1788970490,"priority":1,"record_length":96,"hex_timestamp":"000001a086f35890"} 
[2026-09-09 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-09-09 21:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 21:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976368384001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976368384001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976368384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":176099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:50:06] local.INFO: GPS data processed {"connection_id":176099,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:50:06] local.INFO: Acknowledgment sent {"connection_id":176099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:50:20] local.INFO: TCP Data received {"connection_id":177269,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:50:20] local.INFO: Processing buffer {"connection_id":177269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:50:20] local.INFO: Packet analysis {"connection_id":177269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:50:20] local.INFO: Extracted packet for processing {"connection_id":177269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":177269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:50:20] local.INFO: GPS data processed {"connection_id":177269,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:50:20] local.INFO: Acknowledgment sent {"connection_id":177269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:50:29] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:50:29] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:50:29] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:50:29] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:50:29] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:50:29] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:50:34] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:50:34] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:50:34] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:50:35] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:50:35] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:50:35] local.INFO: Packet analysis {"connection_id":175881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:50:35] local.INFO: Extracted packet for processing {"connection_id":175881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:50:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":175881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:50:35] local.INFO: GPS data processed {"connection_id":175881,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:50:35] local.INFO: Acknowledgment sent {"connection_id":175881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:50:37] local.INFO: TCP Data received {"connection_id":178671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:50:37] local.INFO: Processing buffer {"connection_id":178671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:50:37] local.INFO: IMEI packet received {"connection_id":178671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":178671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:50:43] local.INFO: TCP Data received {"connection_id":178671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:50:43] local.INFO: Processing buffer {"connection_id":178671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:50:43] local.INFO: IMEI packet received {"connection_id":178671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":178671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:50:44] local.INFO: TCP Data received {"connection_id":178671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:50:44] local.INFO: Processing buffer {"connection_id":178671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:50:44] local.INFO: Packet analysis {"connection_id":178671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:50:44] local.INFO: Extracted packet for processing {"connection_id":178671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":178671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:50:44] local.INFO: GPS data processed {"connection_id":178671,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:50:44] local.INFO: Acknowledgment sent {"connection_id":178671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:51:07] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:51:07] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:51:07] local.INFO: Packet analysis {"connection_id":175881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:51:07] local.INFO: Extracted packet for processing {"connection_id":175881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51: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-09-09 21:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:51: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-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:51: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-09-09 21: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-09-09 21:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:51: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-09-09 21:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:51:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":175881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:51:07] local.INFO: GPS data processed {"connection_id":175881,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:51:07] local.INFO: Acknowledgment sent {"connection_id":175881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:51:15] local.INFO: TCP Data received {"connection_id":178671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:51:15] local.INFO: Processing buffer {"connection_id":178671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:51:15] local.INFO: Packet analysis {"connection_id":178671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:51:15] local.INFO: Extracted packet for processing {"connection_id":178671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":178671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:51:15] local.INFO: GPS data processed {"connection_id":178671,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:51:15] local.INFO: Acknowledgment sent {"connection_id":178671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:51:29] local.INFO: TCP Data received {"connection_id":177270,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:51:29] local.INFO: Processing buffer {"connection_id":177270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:51:29] local.INFO: IMEI packet received {"connection_id":177270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":177270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:51:34] local.INFO: TCP Data received {"connection_id":177270,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:51:34] local.INFO: Processing buffer {"connection_id":177270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:51:34] local.INFO: IMEI packet received {"connection_id":177270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":177270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:51:35] local.INFO: TCP Data received {"connection_id":177270,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:51:35] local.INFO: Processing buffer {"connection_id":177270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:51:35] local.INFO: Packet analysis {"connection_id":177270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:51:35] local.INFO: Extracted packet for processing {"connection_id":177270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:51:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:51:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":177270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:51:35] local.INFO: GPS data processed {"connection_id":177270,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:51:35] local.INFO: Acknowledgment sent {"connection_id":177270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:51:37] local.INFO: TCP Data received {"connection_id":175882,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:51:37] local.INFO: Processing buffer {"connection_id":175882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:51:37] local.INFO: IMEI packet received {"connection_id":175882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":175882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:51:43] local.INFO: TCP Data received {"connection_id":175882,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:51:43] local.INFO: Processing buffer {"connection_id":175882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:51:43] local.INFO: IMEI packet received {"connection_id":175882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":175882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:51:45] local.INFO: TCP Data received {"connection_id":175882,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:51:45] local.INFO: Processing buffer {"connection_id":175882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:51:45] local.INFO: Packet analysis {"connection_id":175882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:51:45] local.INFO: Extracted packet for processing {"connection_id":175882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":175882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:51:45] local.INFO: GPS data processed {"connection_id":175882,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:51:45] local.INFO: Acknowledgment sent {"connection_id":175882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:52:07] local.INFO: TCP Data received {"connection_id":177270,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:52:07] local.INFO: Processing buffer {"connection_id":177270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:52:07] local.INFO: Packet analysis {"connection_id":177270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:52:07] local.INFO: Extracted packet for processing {"connection_id":177270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:52: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-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:52: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-09-09 21: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-09-09 21:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:52: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-09-09 21:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:52:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":177270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:52:07] local.INFO: GPS data processed {"connection_id":177270,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:52:07] local.INFO: Acknowledgment sent {"connection_id":177270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:52:16] local.INFO: TCP Data received {"connection_id":175882,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:52:16] local.INFO: Processing buffer {"connection_id":175882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:52:16] local.INFO: Packet analysis {"connection_id":175882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:52:16] local.INFO: Extracted packet for processing {"connection_id":175882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":175882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:52:16] local.INFO: GPS data processed {"connection_id":175882,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:52:16] local.INFO: Acknowledgment sent {"connection_id":175882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:52:29] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:52:29] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:52:29] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:52:34] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:52:34] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:52:34] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:52:35] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:52:35] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:52:35] local.INFO: Packet analysis {"connection_id":176100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:52:35] local.INFO: Extracted packet for processing {"connection_id":176100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:52: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-09-09 21:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:52:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":176100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:52:35] local.INFO: GPS data processed {"connection_id":176100,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:52:35] local.INFO: Acknowledgment sent {"connection_id":176100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:52:37] local.INFO: TCP Data received {"connection_id":177271,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:52:37] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:52:37] local.INFO: IMEI packet received {"connection_id":177271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":177271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:52:43] local.INFO: TCP Data received {"connection_id":177271,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:52:43] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:52:43] local.INFO: IMEI packet received {"connection_id":177271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":177271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:52:44] local.INFO: TCP Data received {"connection_id":177271,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:52:44] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:52:44] local.INFO: Packet analysis {"connection_id":177271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:52:44] local.INFO: Extracted packet for processing {"connection_id":177271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":177271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:52:44] local.INFO: GPS data processed {"connection_id":177271,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:52:44] local.INFO: Acknowledgment sent {"connection_id":177271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:53:07] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:53:07] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:53:07] local.INFO: Packet analysis {"connection_id":176100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:53:07] local.INFO: Extracted packet for processing {"connection_id":176100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:53: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-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:53: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-09-09 21: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-09-09 21:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21: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-09-09 21:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:53:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":176100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:53:07] local.INFO: GPS data processed {"connection_id":176100,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:53:07] local.INFO: Acknowledgment sent {"connection_id":176100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:53:15] local.INFO: TCP Data received {"connection_id":177271,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:53:15] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:53:15] local.INFO: Packet analysis {"connection_id":177271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:53:15] local.INFO: Extracted packet for processing {"connection_id":177271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":177271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:53:15] local.INFO: GPS data processed {"connection_id":177271,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:53:15] local.INFO: Acknowledgment sent {"connection_id":177271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:53:29] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:53:29] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:53:29] local.INFO: IMEI packet received {"connection_id":175883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":175883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:53:34] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:53:34] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:53:34] local.INFO: IMEI packet received {"connection_id":175883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":175883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:53:35] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:53:35] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:53:35] local.INFO: Packet analysis {"connection_id":175883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:53:35] local.INFO: Extracted packet for processing {"connection_id":175883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"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-09-09 21:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:53:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":175883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:53:36] local.INFO: GPS data processed {"connection_id":175883,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:53:36] local.INFO: Acknowledgment sent {"connection_id":175883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:53:37] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:53:37] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:53:37] local.INFO: IMEI packet received {"connection_id":175884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":175884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:53:43] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:53:43] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:53:43] local.INFO: IMEI packet received {"connection_id":175884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":175884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:53:43] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:53:43] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f6b7d8012d34c14006aa42b80007011629..."} 
[2026-09-09 21:53:43] local.INFO: Packet analysis {"connection_id":175884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:53:43] local.INFO: Extracted packet for processing {"connection_id":175884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f6"} 
[2026-09-09 21:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976424960001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788970711000,"timestamp_ms":1788970711000,"timestamp_seconds":1788970711,"priority":1,"record_length":96,"hex_timestamp":"000001a086f6b7d8"} 
[2026-09-09 21:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-09 21:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976424960001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976424960001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976424960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":175884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:53:43] local.INFO: GPS data processed {"connection_id":175884,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:53:43] local.INFO: Acknowledgment sent {"connection_id":175884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:54:07] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:54:07] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:54:07] local.INFO: Packet analysis {"connection_id":175883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:54:07] local.INFO: Extracted packet for processing {"connection_id":175883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:54: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-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:54: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-09-09 21:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"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-09-09 21:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:54:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":175883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:54:07] local.INFO: GPS data processed {"connection_id":175883,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:54:07] local.INFO: Acknowledgment sent {"connection_id":175883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:54:15] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:54:15] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:54:15] local.INFO: Packet analysis {"connection_id":175884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:54:15] local.INFO: Extracted packet for processing {"connection_id":175884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:54:15] 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-09-09 21:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":175884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:54:15] local.INFO: GPS data processed {"connection_id":175884,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:54:15] local.INFO: Acknowledgment sent {"connection_id":175884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:54:29] local.INFO: TCP Data received {"connection_id":178672,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:54:29] local.INFO: Processing buffer {"connection_id":178672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:54:29] local.INFO: IMEI packet received {"connection_id":178672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":178672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:54:34] local.INFO: TCP Data received {"connection_id":178672,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:54:34] local.INFO: Processing buffer {"connection_id":178672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:54:34] local.INFO: IMEI packet received {"connection_id":178672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":178672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:54:35] local.INFO: TCP Data received {"connection_id":178672,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:54:35] local.INFO: Processing buffer {"connection_id":178672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:54:35] local.INFO: Packet analysis {"connection_id":178672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:54:35] local.INFO: Extracted packet for processing {"connection_id":178672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:54:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":178672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:54:35] local.INFO: GPS data processed {"connection_id":178672,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:54:35] local.INFO: Acknowledgment sent {"connection_id":178672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:54:43] local.INFO: TCP Data received {"connection_id":178673,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:54:43] local.INFO: Processing buffer {"connection_id":178673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:54:43] local.INFO: IMEI packet received {"connection_id":178673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":178673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:54:48] local.INFO: TCP Data received {"connection_id":178673,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:54:48] local.INFO: Processing buffer {"connection_id":178673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:54:48] local.INFO: IMEI packet received {"connection_id":178673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":178673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:54:49] local.INFO: TCP Data received {"connection_id":178673,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:54:49] local.INFO: Processing buffer {"connection_id":178673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:54:49] local.INFO: Packet analysis {"connection_id":178673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:54:49] local.INFO: Extracted packet for processing {"connection_id":178673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:54:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":178673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:54:49] local.INFO: GPS data processed {"connection_id":178673,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:54:49] local.INFO: Acknowledgment sent {"connection_id":178673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:55:06] local.INFO: TCP Data received {"connection_id":178672,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:55:06] local.INFO: Processing buffer {"connection_id":178672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086f7f058012d1965c0071ff0200039011b28..."} 
[2026-09-09 21:55:06] local.INFO: Packet analysis {"connection_id":178672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:55:06] local.INFO: Extracted packet for processing {"connection_id":178672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086f7"} 
[2026-09-09 21:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976445440001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55: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-09-09 21:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788970791000,"timestamp_ms":1788970791000,"timestamp_seconds":1788970791,"priority":1,"record_length":96,"hex_timestamp":"000001a086f7f058"} 
[2026-09-09 21:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-09 21:55: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-09-09 21: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-09-09 21:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":178672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":178672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":178672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:55: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-09-09 21:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976445440001,"66":2166,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976445440001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:55:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976445440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":178672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:55:06] local.INFO: GPS data processed {"connection_id":178672,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:55:06] local.INFO: Acknowledgment sent {"connection_id":178672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:55:21] local.INFO: TCP Data received {"connection_id":178673,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:55:21] local.INFO: Processing buffer {"connection_id":178673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:55:21] local.INFO: Packet analysis {"connection_id":178673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:55:21] local.INFO: Extracted packet for processing {"connection_id":178673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":178673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":178673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":178673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:55:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":178673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:55:21] local.INFO: GPS data processed {"connection_id":178673,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:55:21] local.INFO: Acknowledgment sent {"connection_id":178673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:55:30] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:55:30] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:55:30] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:55:34] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:55:34] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:55:34] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:55:38] local.INFO: TCP Data received {"connection_id":177272,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:55:38] local.INFO: Processing buffer {"connection_id":177272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:55:38] local.INFO: IMEI packet received {"connection_id":177272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":177272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:55:39] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:55:39] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:55:39] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:55:40] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:55:40] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:55:40] local.INFO: Packet analysis {"connection_id":176101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:55:40] local.INFO: Extracted packet for processing {"connection_id":176101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55: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-09-09 21:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 21:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:55: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-09-09 21:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:55:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":176101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:55:40] local.INFO: GPS data processed {"connection_id":176101,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:55:40] local.INFO: Acknowledgment sent {"connection_id":176101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:55:43] local.INFO: TCP Data received {"connection_id":177272,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:55:43] local.INFO: Processing buffer {"connection_id":177272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:55:43] local.INFO: IMEI packet received {"connection_id":177272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":177272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:55:43] local.INFO: TCP Data received {"connection_id":177272,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:55:43] local.INFO: Processing buffer {"connection_id":177272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:55:43] local.INFO: Packet analysis {"connection_id":177272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:55:43] local.INFO: Extracted packet for processing {"connection_id":177272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:55:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":177272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:55:44] local.INFO: GPS data processed {"connection_id":177272,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:55:44] local.INFO: Acknowledgment sent {"connection_id":177272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:55:44] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:55:44] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:55:44] local.INFO: Packet analysis {"connection_id":176101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:55:44] local.INFO: Extracted packet for processing {"connection_id":176101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 21:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:55: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-09-09 21:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:55:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":176101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:55:44] local.INFO: GPS data processed {"connection_id":176101,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:55:44] local.INFO: Acknowledgment sent {"connection_id":176101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:56:15] local.INFO: TCP Data received {"connection_id":177272,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:56:15] local.INFO: Processing buffer {"connection_id":177272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:56:15] local.INFO: Packet analysis {"connection_id":177272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:56:15] local.INFO: Extracted packet for processing {"connection_id":177272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:56:15] 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-09-09 21:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":177272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:56:15] local.INFO: GPS data processed {"connection_id":177272,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:56:15] local.INFO: Acknowledgment sent {"connection_id":177272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:56:29] local.INFO: TCP Data received {"connection_id":175885,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:56:29] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:56:29] local.INFO: IMEI packet received {"connection_id":175885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":175885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:56:34] local.INFO: TCP Data received {"connection_id":175885,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:56:34] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:56:34] local.INFO: IMEI packet received {"connection_id":175885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":175885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:56:35] local.INFO: TCP Data received {"connection_id":175885,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:56:35] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:56:35] local.INFO: Packet analysis {"connection_id":175885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:56:35] local.INFO: Extracted packet for processing {"connection_id":175885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 21:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:56:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":175885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:56:35] local.INFO: GPS data processed {"connection_id":175885,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:56:35] local.INFO: Acknowledgment sent {"connection_id":175885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:56:37] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:56:37] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:56:37] local.INFO: IMEI packet received {"connection_id":175886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":175886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:56:43] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:56:43] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:56:43] local.INFO: IMEI packet received {"connection_id":175886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":175886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:56:43] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:56:43] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:56:43] local.INFO: Packet analysis {"connection_id":175886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:56:43] local.INFO: Extracted packet for processing {"connection_id":175886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:56:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":175886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:56:43] local.INFO: GPS data processed {"connection_id":175886,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:56:43] local.INFO: Acknowledgment sent {"connection_id":175886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:57:06] local.INFO: TCP Data received {"connection_id":175885,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:57:06] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:57:06] local.INFO: Packet analysis {"connection_id":175885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:57:06] local.INFO: Extracted packet for processing {"connection_id":175885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 21:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21: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-09-09 21:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":175885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:57:06] local.INFO: GPS data processed {"connection_id":175885,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:57:06] local.INFO: Acknowledgment sent {"connection_id":175885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:57:11] local.INFO: TCP Data received {"connection_id":178674,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:57:11] local.INFO: Processing buffer {"connection_id":178674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:57:11] local.INFO: IMEI packet received {"connection_id":178674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 21:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":178674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:57:12] local.INFO: TCP Data received {"connection_id":178674,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:57:12] local.INFO: Processing buffer {"connection_id":178674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 21:57:12] local.INFO: IMEI packet received {"connection_id":178674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 21:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":178674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:57:15] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:57:15] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:57:15] local.INFO: Packet analysis {"connection_id":175886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:57:15] local.INFO: Extracted packet for processing {"connection_id":175886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:57:15] 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-09-09 21:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":175886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:57:15] local.INFO: GPS data processed {"connection_id":175886,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:57:15] local.INFO: Acknowledgment sent {"connection_id":175886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:57:29] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:57:29] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:57:29] local.INFO: IMEI packet received {"connection_id":176102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":176102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:57:34] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:57:34] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:57:34] local.INFO: IMEI packet received {"connection_id":176102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":176102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:57:35] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:57:35] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:57:35] local.INFO: Packet analysis {"connection_id":176102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:57:35] local.INFO: Extracted packet for processing {"connection_id":176102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 21:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:57:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":176102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:57:35] local.INFO: GPS data processed {"connection_id":176102,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:57:35] local.INFO: Acknowledgment sent {"connection_id":176102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:57:37] local.INFO: TCP Data received {"connection_id":177273,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:57:37] local.INFO: Processing buffer {"connection_id":177273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:57:37] local.INFO: IMEI packet received {"connection_id":177273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":177273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:57:43] local.INFO: TCP Data received {"connection_id":177273,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:57:43] local.INFO: Processing buffer {"connection_id":177273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:57:43] local.INFO: IMEI packet received {"connection_id":177273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":177273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:57:44] local.INFO: TCP Data received {"connection_id":177273,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:57:44] local.INFO: Processing buffer {"connection_id":177273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:57:44] local.INFO: Packet analysis {"connection_id":177273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:57:44] local.INFO: Extracted packet for processing {"connection_id":177273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:57:44] 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-09-09 21:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:57: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-09-09 21:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:57:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":177273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:57:44] local.INFO: GPS data processed {"connection_id":177273,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:57:44] local.INFO: Acknowledgment sent {"connection_id":177273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:58:06] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:58:06] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:58:06] local.INFO: Packet analysis {"connection_id":176102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:58:06] local.INFO: Extracted packet for processing {"connection_id":176102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21: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-09-09 21:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 21:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:58: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-09-09 21: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-09-09 21:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:58: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-09-09 21:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":176102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:58:06] local.INFO: GPS data processed {"connection_id":176102,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:58:06] local.INFO: Acknowledgment sent {"connection_id":176102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:58:15] local.INFO: TCP Data received {"connection_id":177273,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:58:15] local.INFO: Processing buffer {"connection_id":177273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:58:15] local.INFO: Packet analysis {"connection_id":177273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:58:15] local.INFO: Extracted packet for processing {"connection_id":177273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:58:15] 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-09-09 21:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":177273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:58:15] local.INFO: GPS data processed {"connection_id":177273,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:58:15] local.INFO: Acknowledgment sent {"connection_id":177273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:58:29] local.INFO: TCP Data received {"connection_id":178675,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:58:29] local.INFO: Processing buffer {"connection_id":178675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:58:29] local.INFO: IMEI packet received {"connection_id":178675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":178675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:58:34] local.INFO: TCP Data received {"connection_id":178675,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:58:34] local.INFO: Processing buffer {"connection_id":178675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:58:34] local.INFO: IMEI packet received {"connection_id":178675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":178675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:58:35] local.INFO: TCP Data received {"connection_id":178675,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:58:35] local.INFO: Processing buffer {"connection_id":178675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:58:35] local.INFO: Packet analysis {"connection_id":178675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:58:35] local.INFO: Extracted packet for processing {"connection_id":178675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 21:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":178675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":178675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":178675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:58:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":178675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:58:35] local.INFO: GPS data processed {"connection_id":178675,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:58:35] local.INFO: Acknowledgment sent {"connection_id":178675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:58:43] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:58:43] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:58:43] local.INFO: IMEI packet received {"connection_id":176103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":176103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:58:48] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:58:48] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:58:48] local.INFO: IMEI packet received {"connection_id":176103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":176103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:58:49] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:58:49] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:58:49] local.INFO: Packet analysis {"connection_id":176103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:58:49] local.INFO: Extracted packet for processing {"connection_id":176103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":176103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:58:49] local.INFO: GPS data processed {"connection_id":176103,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:58:49] local.INFO: Acknowledgment sent {"connection_id":176103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:58:53] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:58:53] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fb4bb8012d34c14006aa42b8000c011629..."} 
[2026-09-09 21:58:53] local.INFO: Packet analysis {"connection_id":176103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:58:53] local.INFO: Extracted packet for processing {"connection_id":176103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fb"} 
[2026-09-09 21:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":12,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976502016001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788971011000,"timestamp_ms":1788971011000,"timestamp_seconds":1788971011,"priority":1,"record_length":96,"hex_timestamp":"000001a086fb4bb8"} 
[2026-09-09 21:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976502016001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976502016001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976502016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":176103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:58:53] local.INFO: GPS data processed {"connection_id":176103,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:58:53] local.INFO: Acknowledgment sent {"connection_id":176103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:59:19] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:59:19] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:59:19] local.INFO: IMEI packet received {"connection_id":175887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 21:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":175887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:59:24] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:59:24] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 21:59:24] local.INFO: IMEI packet received {"connection_id":175887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 21:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":175887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:59:25] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:59:25] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:59:25] local.INFO: Packet analysis {"connection_id":175887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:59:25] local.INFO: Extracted packet for processing {"connection_id":175887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:59:25] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 21:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:59:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:59:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":175887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:59:25] local.INFO: GPS data processed {"connection_id":175887,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:59:25] local.INFO: Acknowledgment sent {"connection_id":175887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:59:29] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:59:29] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 21:59:29] local.INFO: Packet analysis {"connection_id":175887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:59:29] local.INFO: Extracted packet for processing {"connection_id":175887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 21:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 21: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-09-09 21:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 21:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 21:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 21:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 21:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 21: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-09-09 21:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 21:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 21:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 21:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 21:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 21:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 21:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:59:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 21:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 21:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 21:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 21:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":175887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:59:29] local.INFO: GPS data processed {"connection_id":175887,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:59:29] local.INFO: Acknowledgment sent {"connection_id":175887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 21:59:38] local.INFO: TCP Data received {"connection_id":177275,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:59:38] local.INFO: Processing buffer {"connection_id":177275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:59:38] local.INFO: IMEI packet received {"connection_id":177275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 21:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":177275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 21:59:43] local.INFO: TCP Data received {"connection_id":177275,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:59:43] local.INFO: Processing buffer {"connection_id":177275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 21:59:43] local.INFO: IMEI packet received {"connection_id":177275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 21:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":177275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 21:59:44] local.INFO: TCP Data received {"connection_id":177275,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 21:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 21:59:44] local.INFO: Processing buffer {"connection_id":177275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 21:59:44] local.INFO: Packet analysis {"connection_id":177275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 21:59:44] local.INFO: Extracted packet for processing {"connection_id":177275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 21:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 21:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976578816001,"note":"Value kept but may cause issues"} 
[2026-09-09 21:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 21:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 21:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 21:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971312000,"timestamp_ms":1788971312000,"timestamp_seconds":1788971312,"priority":1,"record_length":96,"hex_timestamp":"000001a086ffe380"} 
[2026-09-09 21:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 21:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 21:59:44] 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-09-09 21:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 21:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 21:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 21:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 21:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 21:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 21:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 21:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 21:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976578816001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 21:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 21:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 21:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976578816001,"description":"Unknown IO ID 0"} 
[2026-09-09 21:59:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 21:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 21:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 21:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 21:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976578816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 21:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":177275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 21:59:44] local.INFO: GPS data processed {"connection_id":177275,"processed":1,"errors":0,"total":1} 
[2026-09-09 21:59:44] local.INFO: Acknowledgment sent {"connection_id":177275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:00:00] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 22:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 22:00:00] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086fc8820012d1965c0071ff0200039011b27..."} 
[2026-09-09 22:00:00] local.INFO: Packet analysis {"connection_id":175887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 22:00:00] local.INFO: Extracted packet for processing {"connection_id":175887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086fc"} 
[2026-09-09 22:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 22:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976522496001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00: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-09-09 22:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788971092000,"timestamp_ms":1788971092000,"timestamp_seconds":1788971092,"priority":1,"record_length":96,"hex_timestamp":"000001a086fc8820"} 
[2026-09-09 22:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 22:00: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-09-09 22:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 22:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 22:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976522496001,"66":2177,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 22:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 22:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 22:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976522496001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:00:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 22:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 22:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 22:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976522496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 22:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":175887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:00:01] local.INFO: GPS data processed {"connection_id":175887,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:00:01] local.INFO: Acknowledgment sent {"connection_id":175887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:00:15] local.INFO: TCP Data received {"connection_id":177275,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:00:15] local.INFO: Processing buffer {"connection_id":177275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:00:15] local.INFO: Packet analysis {"connection_id":177275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:00:15] local.INFO: Extracted packet for processing {"connection_id":177275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976578816001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971312000,"timestamp_ms":1788971312000,"timestamp_seconds":1788971312,"priority":1,"record_length":96,"hex_timestamp":"000001a086ffe380"} 
[2026-09-09 22:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:00:15] 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-09-09 22:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976578816001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976578816001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:00:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976578816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":177275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:00:15] local.INFO: GPS data processed {"connection_id":177275,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:00:15] local.INFO: Acknowledgment sent {"connection_id":177275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:00:29] local.INFO: TCP Data received {"connection_id":176104,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:00:29] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:00:29] local.INFO: IMEI packet received {"connection_id":176104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 22:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":176104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:00:31] local.INFO: TCP Data received {"connection_id":176104,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:00:31] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:00:31] local.INFO: IMEI packet received {"connection_id":176104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 22:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":176104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:00:31] local.INFO: TCP Data received {"connection_id":176104,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:00:31] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:00:31] local.INFO: Packet analysis {"connection_id":176104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:00:31] local.INFO: Extracted packet for processing {"connection_id":176104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 22:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976599552001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00: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-09-09 22:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788971393000,"timestamp_ms":1788971393000,"timestamp_seconds":1788971393,"priority":1,"record_length":96,"hex_timestamp":"000001a087011fe8"} 
[2026-09-09 22:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:00: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-09-09 22:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 22:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 22:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976599552001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 22:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 22:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 22:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976599552001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:00:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 22:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 22:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 22:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976599552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 22:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":176104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:00:32] local.INFO: GPS data processed {"connection_id":176104,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:00:32] local.INFO: Acknowledgment sent {"connection_id":176104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:00:37] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:00:37] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:00:37] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:00:43] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:00:43] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:00:43] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:00:44] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:00:44] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:00:44] local.INFO: Packet analysis {"connection_id":176105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:00:44] local.INFO: Extracted packet for processing {"connection_id":176105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976578816001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971312000,"timestamp_ms":1788971312000,"timestamp_seconds":1788971312,"priority":1,"record_length":96,"hex_timestamp":"000001a086ffe380"} 
[2026-09-09 22:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:00:44] 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-09-09 22: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-09-09 22:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976578816001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976578816001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:00:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976578816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":176105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:00:44] local.INFO: GPS data processed {"connection_id":176105,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:00:44] local.INFO: Acknowledgment sent {"connection_id":176105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:01:03] local.INFO: TCP Data received {"connection_id":176104,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:01:03] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:01:03] local.INFO: Packet analysis {"connection_id":176104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:01:03] local.INFO: Extracted packet for processing {"connection_id":176104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976599552001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01: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-09-09 22:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788971393000,"timestamp_ms":1788971393000,"timestamp_seconds":1788971393,"priority":1,"record_length":96,"hex_timestamp":"000001a087011fe8"} 
[2026-09-09 22:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:01:03] 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-09-09 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 22:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 22:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976599552001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 22:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 22:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 22:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976599552001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:01:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 22:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 22:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 22:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976599552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 22:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":176104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:01:03] local.INFO: GPS data processed {"connection_id":176104,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:01:03] local.INFO: Acknowledgment sent {"connection_id":176104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:01:15] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:01:15] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:01:15] local.INFO: Packet analysis {"connection_id":176105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:01:15] local.INFO: Extracted packet for processing {"connection_id":176105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976578816001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971312000,"timestamp_ms":1788971312000,"timestamp_seconds":1788971312,"priority":1,"record_length":96,"hex_timestamp":"000001a086ffe380"} 
[2026-09-09 22:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:01:15] 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-09-09 22:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976578816001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976578816001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976578816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":176105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:01:15] local.INFO: GPS data processed {"connection_id":176105,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:01:15] local.INFO: Acknowledgment sent {"connection_id":176105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:01:29] local.INFO: TCP Data received {"connection_id":177277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:01:29] local.INFO: Processing buffer {"connection_id":177277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:01:29] local.INFO: IMEI packet received {"connection_id":177277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 22:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":177277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:01:34] local.INFO: TCP Data received {"connection_id":177277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:01:34] local.INFO: Processing buffer {"connection_id":177277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:01:34] local.INFO: IMEI packet received {"connection_id":177277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 22:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":177277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:01:35] local.INFO: TCP Data received {"connection_id":177277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:01:35] local.INFO: Processing buffer {"connection_id":177277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:01:35] local.INFO: Packet analysis {"connection_id":177277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:01:35] local.INFO: Extracted packet for processing {"connection_id":177277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 22:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976599552001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788971393000,"timestamp_ms":1788971393000,"timestamp_seconds":1788971393,"priority":1,"record_length":96,"hex_timestamp":"000001a087011fe8"} 
[2026-09-09 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-09-09 22:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 22:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 22:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 22:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976599552001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 22:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 22:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 22:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976599552001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:01:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 22:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 22:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 22:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976599552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 22:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":177277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:01:35] local.INFO: GPS data processed {"connection_id":177277,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:01:35] local.INFO: Acknowledgment sent {"connection_id":177277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:01:37] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:01:37] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:01:37] local.INFO: IMEI packet received {"connection_id":176106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":176106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:01:43] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:01:43] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:01:43] local.INFO: IMEI packet received {"connection_id":176106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":176106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:01:43] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:01:43] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:01:43] local.INFO: Packet analysis {"connection_id":176106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:01:43] local.INFO: Extracted packet for processing {"connection_id":176106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976578816001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788971312000,"timestamp_ms":1788971312000,"timestamp_seconds":1788971312,"priority":1,"record_length":96,"hex_timestamp":"000001a086ffe380"} 
[2026-09-09 22:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:01: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-09-09 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:01: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-09-09 22:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976578816001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976578816001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976578816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":176106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:01:43] local.INFO: GPS data processed {"connection_id":176106,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:01:43] local.INFO: Acknowledgment sent {"connection_id":176106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:02:06] local.INFO: TCP Data received {"connection_id":177277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:02:06] local.INFO: Processing buffer {"connection_id":177277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:02:06] local.INFO: Packet analysis {"connection_id":177277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:02:06] local.INFO: Extracted packet for processing {"connection_id":177277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 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-09-09 22:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976599552001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 22: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-09-09 22:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788971393000,"timestamp_ms":1788971393000,"timestamp_seconds":1788971393,"priority":1,"record_length":96,"hex_timestamp":"000001a087011fe8"} 
[2026-09-09 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-09-09 22:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 22:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 22:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 22:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976599552001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 22:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 22:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 22:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976599552001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 22:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 22:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 22:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976599552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 22:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":177277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:02:06] local.INFO: GPS data processed {"connection_id":177277,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:02:06] local.INFO: Acknowledgment sent {"connection_id":177277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:02:15] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:02:15] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:02:15] local.INFO: Packet analysis {"connection_id":176106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:02:15] local.INFO: Extracted packet for processing {"connection_id":176106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976578816001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971312000,"timestamp_ms":1788971312000,"timestamp_seconds":1788971312,"priority":1,"record_length":96,"hex_timestamp":"000001a086ffe380"} 
[2026-09-09 22:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:02:15] 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-09-09 22:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976578816001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976578816001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976578816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":176106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:02:15] local.INFO: GPS data processed {"connection_id":176106,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:02:15] local.INFO: Acknowledgment sent {"connection_id":176106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:02:29] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:02:29] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:02:29] local.INFO: IMEI packet received {"connection_id":175888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 22:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":175888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:02:34] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:02:34] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:02:34] local.INFO: IMEI packet received {"connection_id":175888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 22:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":175888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:02:35] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:02:35] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:02:35] local.INFO: Packet analysis {"connection_id":175888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:02:35] local.INFO: Extracted packet for processing {"connection_id":175888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976599552001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788971393000,"timestamp_ms":1788971393000,"timestamp_seconds":1788971393,"priority":1,"record_length":96,"hex_timestamp":"000001a087011fe8"} 
[2026-09-09 22:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 22:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 22:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976599552001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 22:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 22:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 22:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976599552001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:02:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 22:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 22:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 22:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976599552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 22:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":175888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:02:35] local.INFO: GPS data processed {"connection_id":175888,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:02:35] local.INFO: Acknowledgment sent {"connection_id":175888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:02:37] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:02:37] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:02:37] local.INFO: IMEI packet received {"connection_id":176107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":176107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:02:40] local.INFO: TCP Data received {"connection_id":178677,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:02:40] local.INFO: Processing buffer {"connection_id":178677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:02:40] local.INFO: IMEI packet received {"connection_id":178677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":178677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:02:43] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:02:43] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:02:43] local.INFO: IMEI packet received {"connection_id":176107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":176107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:02:43] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:02:43] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:02:43] local.INFO: Packet analysis {"connection_id":176107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:02:43] local.INFO: Extracted packet for processing {"connection_id":176107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976578816001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788971312000,"timestamp_ms":1788971312000,"timestamp_seconds":1788971312,"priority":1,"record_length":96,"hex_timestamp":"000001a086ffe380"} 
[2026-09-09 22:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:02: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-09-09 22:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976578816001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976578816001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976578816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":176107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:02:43] local.INFO: GPS data processed {"connection_id":176107,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:02:43] local.INFO: Acknowledgment sent {"connection_id":176107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:03:06] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:03:06] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:03:06] local.INFO: Packet analysis {"connection_id":175888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:03:06] local.INFO: Extracted packet for processing {"connection_id":175888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976599552001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788971393000,"timestamp_ms":1788971393000,"timestamp_seconds":1788971393,"priority":1,"record_length":96,"hex_timestamp":"000001a087011fe8"} 
[2026-09-09 22:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 22:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 22:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976599552001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 22:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 22:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 22:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976599552001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:03:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 22:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 22:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 22:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976599552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 22:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":175888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:03:06] local.INFO: GPS data processed {"connection_id":175888,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:03:06] local.INFO: Acknowledgment sent {"connection_id":175888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:03:15] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:03:15] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:03:15] local.INFO: Packet analysis {"connection_id":176107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:03:15] local.INFO: Extracted packet for processing {"connection_id":176107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976578816001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971312000,"timestamp_ms":1788971312000,"timestamp_seconds":1788971312,"priority":1,"record_length":96,"hex_timestamp":"000001a086ffe380"} 
[2026-09-09 22:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:03:15] 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-09-09 22:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976578816001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976578816001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976578816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":176107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:03:15] local.INFO: GPS data processed {"connection_id":176107,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:03:15] local.INFO: Acknowledgment sent {"connection_id":176107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:03:29] local.INFO: TCP Data received {"connection_id":176108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:03:29] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:03:29] local.INFO: IMEI packet received {"connection_id":176108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 22:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":176108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:03:34] local.INFO: TCP Data received {"connection_id":176108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:03:34] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:03:34] local.INFO: IMEI packet received {"connection_id":176108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-09 22:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":176108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:03:35] local.INFO: TCP Data received {"connection_id":176108,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:03:35] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:03:35] local.INFO: Packet analysis {"connection_id":176108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:03:35] local.INFO: Extracted packet for processing {"connection_id":176108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976599552001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788971393000,"timestamp_ms":1788971393000,"timestamp_seconds":1788971393,"priority":1,"record_length":96,"hex_timestamp":"000001a087011fe8"} 
[2026-09-09 22:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 22:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 22:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976599552001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 22:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 22:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 22:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976599552001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:03:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 22:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 22:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 22:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976599552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 22:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":176108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:03:35] local.INFO: GPS data processed {"connection_id":176108,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:03:35] local.INFO: Acknowledgment sent {"connection_id":176108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:03:37] local.INFO: TCP Data received {"connection_id":175889,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:03:37] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:03:37] local.INFO: IMEI packet received {"connection_id":175889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":175889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:03:43] local.INFO: TCP Data received {"connection_id":175889,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:03:43] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:03:43] local.INFO: IMEI packet received {"connection_id":175889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":175889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:03:44] local.INFO: TCP Data received {"connection_id":175889,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:03:44] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a086ffe380012d34c14006aa42b8000301162b..."} 
[2026-09-09 22:03:44] local.INFO: Packet analysis {"connection_id":175889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:03:44] local.INFO: Extracted packet for processing {"connection_id":175889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a086ff"} 
[2026-09-09 22:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976578816001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971312000,"timestamp_ms":1788971312000,"timestamp_seconds":1788971312,"priority":1,"record_length":96,"hex_timestamp":"000001a086ffe380"} 
[2026-09-09 22:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:03:44] 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-09-09 22: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-09-09 22:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976578816001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976578816001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976578816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":175889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:03:44] local.INFO: GPS data processed {"connection_id":175889,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:03:44] local.INFO: Acknowledgment sent {"connection_id":175889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:04:06] local.INFO: TCP Data received {"connection_id":176108,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:04:06] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087011fe8012d1965c0071ff0200039011b24..."} 
[2026-09-09 22:04:06] local.INFO: Packet analysis {"connection_id":176108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:04:06] local.INFO: Extracted packet for processing {"connection_id":176108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08701"} 
[2026-09-09 22:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533600,"longitude_deg":75.6639168,"latitude_deg":11.95336,"altitude":57,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-09 22:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976599552001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19155829018066944,"note":"Value kept but may cause issues"} 
[2026-09-09 22:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429109248,"note":"Value kept but may cause issues"} 
[2026-09-09 22: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-09-09 22:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788971393000,"timestamp_ms":1788971393000,"timestamp_seconds":1788971393,"priority":1,"record_length":96,"hex_timestamp":"000001a087011fe8"} 
[2026-09-09 22:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-09 22:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-09 22:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-09 22:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976599552001,"66":2155,"102":206,"83":41984,"24":0,"16":19155829018066944,"45":1830079960429109248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-09 22:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-09 22:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-09 22:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976599552001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-09 22:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-09 22:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19155829018066944,"km_value":19155829018066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429109248,"description":"Unknown IO ID 45"} 
[2026-09-09 22:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976599552001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429109248}} 
[2026-09-09 22:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":176108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:04:06] local.INFO: GPS data processed {"connection_id":176108,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:04:06] local.INFO: Acknowledgment sent {"connection_id":176108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:04:15] local.INFO: TCP Data received {"connection_id":175889,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:04:15] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:04:15] local.INFO: Packet analysis {"connection_id":175889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:04:15] local.INFO: Extracted packet for processing {"connection_id":175889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":175889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:04:15] local.INFO: GPS data processed {"connection_id":175889,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:04:15] local.INFO: Acknowledgment sent {"connection_id":175889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:04:34] local.INFO: TCP Data received {"connection_id":177278,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:04:34] local.INFO: Processing buffer {"connection_id":177278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-09 22:04:34] local.INFO: IMEI packet received {"connection_id":177278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-09 22:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":177278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:04:43] local.INFO: TCP Data received {"connection_id":176109,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:04:43] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:04:43] local.INFO: IMEI packet received {"connection_id":176109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":176109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:04:48] local.INFO: TCP Data received {"connection_id":176109,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:04:48] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:04:48] local.INFO: IMEI packet received {"connection_id":176109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":176109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:04:49] local.INFO: TCP Data received {"connection_id":176109,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:04:49] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:04:49] local.INFO: Packet analysis {"connection_id":176109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:04:49] local.INFO: Extracted packet for processing {"connection_id":176109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:04:49] 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-09-09 22:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":176109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:04:49] local.INFO: GPS data processed {"connection_id":176109,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:04:49] local.INFO: Acknowledgment sent {"connection_id":176109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:05:20] local.INFO: TCP Data received {"connection_id":176109,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:05:20] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:05:20] local.INFO: Packet analysis {"connection_id":176109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:05:20] local.INFO: Extracted packet for processing {"connection_id":176109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:05:20] 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-09-09 22:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":176109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:05:20] local.INFO: GPS data processed {"connection_id":176109,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:05:20] local.INFO: Acknowledgment sent {"connection_id":176109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:05:38] local.INFO: TCP Data received {"connection_id":178678,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:05:38] local.INFO: Processing buffer {"connection_id":178678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:05:38] local.INFO: IMEI packet received {"connection_id":178678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":178678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:05:43] local.INFO: TCP Data received {"connection_id":178678,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:05:43] local.INFO: Processing buffer {"connection_id":178678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:05:43] local.INFO: IMEI packet received {"connection_id":178678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":178678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:05:44] local.INFO: TCP Data received {"connection_id":178678,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:05:44] local.INFO: Processing buffer {"connection_id":178678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:05:44] local.INFO: Packet analysis {"connection_id":178678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:05:44] local.INFO: Extracted packet for processing {"connection_id":178678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":178678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:05:44] local.INFO: GPS data processed {"connection_id":178678,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:05:44] local.INFO: Acknowledgment sent {"connection_id":178678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:06:16] local.INFO: TCP Data received {"connection_id":178678,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:06:16] local.INFO: Processing buffer {"connection_id":178678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:06:16] local.INFO: Packet analysis {"connection_id":178678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:06:16] local.INFO: Extracted packet for processing {"connection_id":178678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:06:16] 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-09-09 22:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:06:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":178678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:06:16] local.INFO: GPS data processed {"connection_id":178678,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:06:16] local.INFO: Acknowledgment sent {"connection_id":178678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:06:37] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:06:37] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:06:37] local.INFO: IMEI packet received {"connection_id":176110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":176110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:06:43] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:06:43] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:06:43] local.INFO: IMEI packet received {"connection_id":176110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":176110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:06:44] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:06:44] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:06:44] local.INFO: Packet analysis {"connection_id":176110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:06:44] local.INFO: Extracted packet for processing {"connection_id":176110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":176110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:06:44] local.INFO: GPS data processed {"connection_id":176110,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:06:44] local.INFO: Acknowledgment sent {"connection_id":176110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:07:15] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:07:15] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:07:15] local.INFO: Packet analysis {"connection_id":176110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:07:15] local.INFO: Extracted packet for processing {"connection_id":176110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":176110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:07:15] local.INFO: GPS data processed {"connection_id":176110,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:07:15] local.INFO: Acknowledgment sent {"connection_id":176110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:07:38] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:07:38] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:07:38] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:07:43] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:07:43] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:07:43] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:07:45] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:07:45] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:07:45] local.INFO: Packet analysis {"connection_id":176111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:07:45] local.INFO: Extracted packet for processing {"connection_id":176111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:07:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":176111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:07:45] local.INFO: GPS data processed {"connection_id":176111,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:07:45] local.INFO: Acknowledgment sent {"connection_id":176111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:08:05] local.INFO: TCP Data received {"connection_id":176112,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:08:05] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:08:05] local.INFO: IMEI packet received {"connection_id":176112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":176112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:08:17] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:08:17] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:08:17] local.INFO: Packet analysis {"connection_id":176111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:08:17] local.INFO: Extracted packet for processing {"connection_id":176111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":176111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:08:17] local.INFO: GPS data processed {"connection_id":176111,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:08:17] local.INFO: Acknowledgment sent {"connection_id":176111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:08:37] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:08:37] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:08:37] local.INFO: IMEI packet received {"connection_id":175891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":175891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:08:43] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:08:43] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:08:43] local.INFO: IMEI packet received {"connection_id":175891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":175891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:08:44] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:08:44] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087047b48012d34c14006aa42b8000501162b..."} 
[2026-09-09 22:08:44] local.INFO: Packet analysis {"connection_id":175891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:08:44] local.INFO: Extracted packet for processing {"connection_id":175891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08704"} 
[2026-09-09 22:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":5,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976655872001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971613000,"timestamp_ms":1788971613000,"timestamp_seconds":1788971613,"priority":1,"record_length":96,"hex_timestamp":"000001a087047b48"} 
[2026-09-09 22:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:08: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-09-09 22:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976655872001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976655872001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976655872001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":175891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:08:44] local.INFO: GPS data processed {"connection_id":175891,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:08:44] local.INFO: Acknowledgment sent {"connection_id":175891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:09:15] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:09:15] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:09:15] local.INFO: Packet analysis {"connection_id":175891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:09:15] local.INFO: Extracted packet for processing {"connection_id":175891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:09:15] 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-09-09 22:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":175891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:09:15] local.INFO: GPS data processed {"connection_id":175891,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:09:15] local.INFO: Acknowledgment sent {"connection_id":175891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:09:43] local.INFO: TCP Data received {"connection_id":177282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:09:43] local.INFO: Processing buffer {"connection_id":177282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:09:43] local.INFO: IMEI packet received {"connection_id":177282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":177282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:09:48] local.INFO: TCP Data received {"connection_id":177282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:09:48] local.INFO: Processing buffer {"connection_id":177282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:09:48] local.INFO: IMEI packet received {"connection_id":177282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":177282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:09:49] local.INFO: TCP Data received {"connection_id":177282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:09:49] local.INFO: Processing buffer {"connection_id":177282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:09:49] local.INFO: Packet analysis {"connection_id":177282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:09:49] local.INFO: Extracted packet for processing {"connection_id":177282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":177282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:09:49] local.INFO: GPS data processed {"connection_id":177282,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:09:49] local.INFO: Acknowledgment sent {"connection_id":177282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:10:20] local.INFO: TCP Data received {"connection_id":177282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:10:20] local.INFO: Processing buffer {"connection_id":177282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:10:20] local.INFO: Packet analysis {"connection_id":177282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:10:20] local.INFO: Extracted packet for processing {"connection_id":177282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:10:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":177282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:10:20] local.INFO: GPS data processed {"connection_id":177282,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:10:20] local.INFO: Acknowledgment sent {"connection_id":177282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:10:37] local.INFO: TCP Data received {"connection_id":175893,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:10:37] local.INFO: Processing buffer {"connection_id":175893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:10:37] local.INFO: IMEI packet received {"connection_id":175893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":175893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:10:43] local.INFO: TCP Data received {"connection_id":175893,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:10:43] local.INFO: Processing buffer {"connection_id":175893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:10:43] local.INFO: IMEI packet received {"connection_id":175893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":175893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:10:44] local.INFO: TCP Data received {"connection_id":175893,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:10:44] local.INFO: Processing buffer {"connection_id":175893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:10:44] local.INFO: Packet analysis {"connection_id":175893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:10:44] local.INFO: Extracted packet for processing {"connection_id":175893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:10:44] 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-09-09 22:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:10: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-09-09 22:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":175893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:10:44] local.INFO: GPS data processed {"connection_id":175893,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:10:44] local.INFO: Acknowledgment sent {"connection_id":175893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:11:15] local.INFO: TCP Data received {"connection_id":175893,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:11:15] local.INFO: Processing buffer {"connection_id":175893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:11:15] local.INFO: Packet analysis {"connection_id":175893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:11:15] local.INFO: Extracted packet for processing {"connection_id":175893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:11:15] 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-09-09 22:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":175893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:11:15] local.INFO: GPS data processed {"connection_id":175893,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:11:15] local.INFO: Acknowledgment sent {"connection_id":175893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:11:37] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:11:37] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:11:37] local.INFO: IMEI packet received {"connection_id":176114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":176114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:11:43] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:11:43] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:11:43] local.INFO: IMEI packet received {"connection_id":176114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":176114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:11:44] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:11:44] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:11:44] local.INFO: Packet analysis {"connection_id":176114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:11:44] local.INFO: Extracted packet for processing {"connection_id":176114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:11:44] 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-09-09 22:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:11: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-09-09 22:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":176114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:11:44] local.INFO: GPS data processed {"connection_id":176114,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:11:44] local.INFO: Acknowledgment sent {"connection_id":176114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:12:15] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:12:15] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:12:15] local.INFO: Packet analysis {"connection_id":176114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:12:15] local.INFO: Extracted packet for processing {"connection_id":176114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:12:15] 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-09-09 22:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":176114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:12:15] local.INFO: GPS data processed {"connection_id":176114,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:12:15] local.INFO: Acknowledgment sent {"connection_id":176114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:12:37] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:12:37] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:12:37] local.INFO: IMEI packet received {"connection_id":175894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":175894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:12:43] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:12:43] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:12:43] local.INFO: IMEI packet received {"connection_id":175894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":175894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:12:44] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:12:44] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:12:44] local.INFO: Packet analysis {"connection_id":175894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:12:44] local.INFO: Extracted packet for processing {"connection_id":175894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:12:44] 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-09-09 22:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":175894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:12:44] local.INFO: GPS data processed {"connection_id":175894,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:12:44] local.INFO: Acknowledgment sent {"connection_id":175894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:13:15] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:13:15] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:13:15] local.INFO: Packet analysis {"connection_id":175894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:13:15] local.INFO: Extracted packet for processing {"connection_id":175894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:13:15] 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-09-09 22:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":175894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:13:15] local.INFO: GPS data processed {"connection_id":175894,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:13:15] local.INFO: Acknowledgment sent {"connection_id":175894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:13:37] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:13:37] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:13:37] local.INFO: IMEI packet received {"connection_id":177283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":177283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:13:43] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:13:43] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:13:43] local.INFO: IMEI packet received {"connection_id":177283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":177283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:13:44] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:13:44] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087091310012d34c14006aa42b8000901162c..."} 
[2026-09-09 22:13:44] local.INFO: Packet analysis {"connection_id":177283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:13:44] local.INFO: Extracted packet for processing {"connection_id":177283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08709"} 
[2026-09-09 22:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976732928001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788971914000,"timestamp_ms":1788971914000,"timestamp_seconds":1788971914,"priority":1,"record_length":96,"hex_timestamp":"000001a087091310"} 
[2026-09-09 22:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:13:44] 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-09-09 22:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976732928001,"66":25517,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976732928001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976732928001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":177283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:13:44] local.INFO: GPS data processed {"connection_id":177283,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:13:44] local.INFO: Acknowledgment sent {"connection_id":177283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:13:46] local.INFO: TCP Data received {"connection_id":177284,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:13:46] local.INFO: Processing buffer {"connection_id":177284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:13:46] local.INFO: IMEI packet received {"connection_id":177284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":177284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:14:15] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:14:15] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:14:15] local.INFO: Packet analysis {"connection_id":177283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:14:15] local.INFO: Extracted packet for processing {"connection_id":177283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":177283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:14:15] local.INFO: GPS data processed {"connection_id":177283,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:14:15] local.INFO: Acknowledgment sent {"connection_id":177283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:14:43] local.INFO: TCP Data received {"connection_id":175895,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:14:43] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:14:43] local.INFO: IMEI packet received {"connection_id":175895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":175895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:14:48] local.INFO: TCP Data received {"connection_id":175895,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:14:48] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:14:48] local.INFO: IMEI packet received {"connection_id":175895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":175895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:14:50] local.INFO: TCP Data received {"connection_id":175895,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:14:50] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:14:50] local.INFO: Packet analysis {"connection_id":175895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:14:50] local.INFO: Extracted packet for processing {"connection_id":175895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:14:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":175895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:14:50] local.INFO: GPS data processed {"connection_id":175895,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:14:50] local.INFO: Acknowledgment sent {"connection_id":175895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:15:21] local.INFO: TCP Data received {"connection_id":175895,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:15:21] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:15:21] local.INFO: Packet analysis {"connection_id":175895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:15:21] local.INFO: Extracted packet for processing {"connection_id":175895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:15:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":175895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:15:21] local.INFO: GPS data processed {"connection_id":175895,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:15:21] local.INFO: Acknowledgment sent {"connection_id":175895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:15:38] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:15:38] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:15:38] local.INFO: IMEI packet received {"connection_id":176116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":176116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:15:43] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:15:43] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:15:43] local.INFO: IMEI packet received {"connection_id":176116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":176116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:15:44] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:15:44] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:15:44] local.INFO: Packet analysis {"connection_id":176116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:15:44] local.INFO: Extracted packet for processing {"connection_id":176116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:15: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-09-09 22:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":176116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:15:44] local.INFO: GPS data processed {"connection_id":176116,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:15:44] local.INFO: Acknowledgment sent {"connection_id":176116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:16:15] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:16:15] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:16:15] local.INFO: Packet analysis {"connection_id":176116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:16:15] local.INFO: Extracted packet for processing {"connection_id":176116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":176116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:16:15] local.INFO: GPS data processed {"connection_id":176116,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:16:15] local.INFO: Acknowledgment sent {"connection_id":176116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:16:37] local.INFO: TCP Data received {"connection_id":176118,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:16:37] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:16:37] local.INFO: IMEI packet received {"connection_id":176118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":176118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:16:43] local.INFO: TCP Data received {"connection_id":176118,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:16:43] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:16:43] local.INFO: IMEI packet received {"connection_id":176118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":176118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:16:45] local.INFO: TCP Data received {"connection_id":176118,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:16:45] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:16:45] local.INFO: Packet analysis {"connection_id":176118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:16:45] local.INFO: Extracted packet for processing {"connection_id":176118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 22:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 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-09-09 22:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 22:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":176118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:16:45] local.INFO: GPS data processed {"connection_id":176118,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:16:45] local.INFO: Acknowledgment sent {"connection_id":176118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:17:16] local.INFO: TCP Data received {"connection_id":176118,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:17:16] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:17:16] local.INFO: Packet analysis {"connection_id":176118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:17:16] local.INFO: Extracted packet for processing {"connection_id":176118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":176118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:17:16] local.INFO: GPS data processed {"connection_id":176118,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:17:16] local.INFO: Acknowledgment sent {"connection_id":176118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:17:37] local.INFO: TCP Data received {"connection_id":177287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:17:37] local.INFO: Processing buffer {"connection_id":177287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:17:37] local.INFO: IMEI packet received {"connection_id":177287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":177287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:17:43] local.INFO: TCP Data received {"connection_id":177287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:17:43] local.INFO: Processing buffer {"connection_id":177287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:17:43] local.INFO: IMEI packet received {"connection_id":177287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":177287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:17:44] local.INFO: TCP Data received {"connection_id":177287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:17:44] local.INFO: Processing buffer {"connection_id":177287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:17:44] local.INFO: Packet analysis {"connection_id":177287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:17:44] local.INFO: Extracted packet for processing {"connection_id":177287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":177287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:17:44] local.INFO: GPS data processed {"connection_id":177287,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:17:44] local.INFO: Acknowledgment sent {"connection_id":177287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:18:16] local.INFO: TCP Data received {"connection_id":177287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:18:16] local.INFO: Processing buffer {"connection_id":177287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:18:16] local.INFO: Packet analysis {"connection_id":177287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:18:16] local.INFO: Extracted packet for processing {"connection_id":177287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":177287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:18:16] local.INFO: GPS data processed {"connection_id":177287,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:18:16] local.INFO: Acknowledgment sent {"connection_id":177287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:18:37] local.INFO: TCP Data received {"connection_id":177288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:18:37] local.INFO: Processing buffer {"connection_id":177288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:18:37] local.INFO: IMEI packet received {"connection_id":177288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":177288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:18:43] local.INFO: TCP Data received {"connection_id":177288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:18:43] local.INFO: Processing buffer {"connection_id":177288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:18:43] local.INFO: IMEI packet received {"connection_id":177288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":177288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:18:44] local.INFO: TCP Data received {"connection_id":177288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:18:44] local.INFO: Processing buffer {"connection_id":177288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:18:44] local.INFO: Packet analysis {"connection_id":177288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:18:44] local.INFO: Extracted packet for processing {"connection_id":177288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":177288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:18:44] local.INFO: GPS data processed {"connection_id":177288,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:18:44] local.INFO: Acknowledgment sent {"connection_id":177288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:19:11] local.INFO: TCP Data received {"connection_id":178681,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:19:11] local.INFO: Processing buffer {"connection_id":178681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:19:11] local.INFO: IMEI packet received {"connection_id":178681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":178681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:19:15] local.INFO: TCP Data received {"connection_id":177288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:19:15] local.INFO: Processing buffer {"connection_id":177288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0870daad8012d34c14006aa42b80003011629..."} 
[2026-09-09 22:19:15] local.INFO: Packet analysis {"connection_id":177288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:19:15] local.INFO: Extracted packet for processing {"connection_id":177288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0870d"} 
[2026-09-09 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976809984001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788972215000,"timestamp_ms":1788972215000,"timestamp_seconds":1788972215,"priority":1,"record_length":96,"hex_timestamp":"000001a0870daad8"} 
[2026-09-09 22:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-09 22:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976809984001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976809984001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976809984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":177288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:19:15] local.INFO: GPS data processed {"connection_id":177288,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:19:15] local.INFO: Acknowledgment sent {"connection_id":177288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:19:40] local.INFO: TCP Data received {"connection_id":176119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:19:40] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:19:40] local.INFO: IMEI packet received {"connection_id":176119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":176119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:19:43] local.INFO: TCP Data received {"connection_id":178682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:19:43] local.INFO: Processing buffer {"connection_id":178682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:19:43] local.INFO: IMEI packet received {"connection_id":178682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":178682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:19:48] local.INFO: TCP Data received {"connection_id":178682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:19:48] local.INFO: Processing buffer {"connection_id":178682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:19:48] local.INFO: IMEI packet received {"connection_id":178682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":178682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:19:49] local.INFO: TCP Data received {"connection_id":178682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:19:49] local.INFO: Processing buffer {"connection_id":178682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:19:49] local.INFO: Packet analysis {"connection_id":178682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:19:49] local.INFO: Extracted packet for processing {"connection_id":178682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 22:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:19:49] 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-09-09 22:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":178682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:19:49] local.INFO: GPS data processed {"connection_id":178682,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:19:49] local.INFO: Acknowledgment sent {"connection_id":178682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:20:20] local.INFO: TCP Data received {"connection_id":178682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:20:20] local.INFO: Processing buffer {"connection_id":178682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:20:20] local.INFO: Packet analysis {"connection_id":178682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:20:20] local.INFO: Extracted packet for processing {"connection_id":178682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 22:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:20:20] 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-09-09 22:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":178682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:20:20] local.INFO: GPS data processed {"connection_id":178682,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:20:20] local.INFO: Acknowledgment sent {"connection_id":178682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:20:38] local.INFO: TCP Data received {"connection_id":176120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:20:38] local.INFO: Processing buffer {"connection_id":176120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:20:38] local.INFO: IMEI packet received {"connection_id":176120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":176120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:20:43] local.INFO: TCP Data received {"connection_id":176120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:20:43] local.INFO: Processing buffer {"connection_id":176120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:20:43] local.INFO: IMEI packet received {"connection_id":176120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":176120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:20:44] local.INFO: TCP Data received {"connection_id":176120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:20:44] local.INFO: Processing buffer {"connection_id":176120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:20:44] local.INFO: Packet analysis {"connection_id":176120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:20:44] local.INFO: Extracted packet for processing {"connection_id":176120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 22:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":176120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:20:44] local.INFO: GPS data processed {"connection_id":176120,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:20:44] local.INFO: Acknowledgment sent {"connection_id":176120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:21:15] local.INFO: TCP Data received {"connection_id":176120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:21:15] local.INFO: Processing buffer {"connection_id":176120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:21:15] local.INFO: Packet analysis {"connection_id":176120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:21:15] local.INFO: Extracted packet for processing {"connection_id":176120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 22:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":176120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:21:15] local.INFO: GPS data processed {"connection_id":176120,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:21:15] local.INFO: Acknowledgment sent {"connection_id":176120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:21:37] local.INFO: TCP Data received {"connection_id":178683,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:21:37] local.INFO: Processing buffer {"connection_id":178683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:21:37] local.INFO: IMEI packet received {"connection_id":178683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":178683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:21:43] local.INFO: TCP Data received {"connection_id":178683,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:21:43] local.INFO: Processing buffer {"connection_id":178683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:21:43] local.INFO: IMEI packet received {"connection_id":178683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":178683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:21:44] local.INFO: TCP Data received {"connection_id":178683,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:21:44] local.INFO: Processing buffer {"connection_id":178683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:21:44] local.INFO: Packet analysis {"connection_id":178683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:21:44] local.INFO: Extracted packet for processing {"connection_id":178683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 22:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 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-09-09 22:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 22:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":178683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:21:44] local.INFO: GPS data processed {"connection_id":178683,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:21:44] local.INFO: Acknowledgment sent {"connection_id":178683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:22:15] local.INFO: TCP Data received {"connection_id":178683,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:22:15] local.INFO: Processing buffer {"connection_id":178683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:22:15] local.INFO: Packet analysis {"connection_id":178683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:22:15] local.INFO: Extracted packet for processing {"connection_id":178683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 22:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":178683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:22:15] local.INFO: GPS data processed {"connection_id":178683,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:22:15] local.INFO: Acknowledgment sent {"connection_id":178683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:22:37] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:22:37] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:22:37] local.INFO: IMEI packet received {"connection_id":175898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":175898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:22:43] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:22:43] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:22:43] local.INFO: IMEI packet received {"connection_id":175898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":175898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:22:44] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:22:44] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:22:44] local.INFO: Packet analysis {"connection_id":175898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:22:44] local.INFO: Extracted packet for processing {"connection_id":175898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 22:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":175898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:22:44] local.INFO: GPS data processed {"connection_id":175898,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:22:44] local.INFO: Acknowledgment sent {"connection_id":175898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:23:15] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:23:15] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:23:15] local.INFO: Packet analysis {"connection_id":175898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:23:15] local.INFO: Extracted packet for processing {"connection_id":175898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 22:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":175898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:23:15] local.INFO: GPS data processed {"connection_id":175898,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:23:15] local.INFO: Acknowledgment sent {"connection_id":175898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:23:37] local.INFO: TCP Data received {"connection_id":177289,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:23:37] local.INFO: Processing buffer {"connection_id":177289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:23:37] local.INFO: IMEI packet received {"connection_id":177289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":177289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:23:42] local.INFO: TCP Data received {"connection_id":177289,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:23:42] local.INFO: Processing buffer {"connection_id":177289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:23:42] local.INFO: IMEI packet received {"connection_id":177289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":177289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:23:43] local.INFO: TCP Data received {"connection_id":177289,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:23:43] local.INFO: Processing buffer {"connection_id":177289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:23:43] local.INFO: Packet analysis {"connection_id":177289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:23:43] local.INFO: Extracted packet for processing {"connection_id":177289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 22:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:23: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-09-09 22:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:23: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-09-09 22: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-09-09 22:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":177289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:23:43] local.INFO: GPS data processed {"connection_id":177289,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:23:43] local.INFO: Acknowledgment sent {"connection_id":177289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:24:16] local.INFO: TCP Data received {"connection_id":177289,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:24:16] local.INFO: Processing buffer {"connection_id":177289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871242a0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:24:16] local.INFO: Packet analysis {"connection_id":177289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:24:16] local.INFO: Extracted packet for processing {"connection_id":177289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08712"} 
[2026-09-09 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976887040001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788972516000,"timestamp_ms":1788972516000,"timestamp_seconds":1788972516,"priority":1,"record_length":96,"hex_timestamp":"000001a0871242a0"} 
[2026-09-09 22:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:24:16] 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-09-09 22:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976887040001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976887040001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976887040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":177289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:24:16] local.INFO: GPS data processed {"connection_id":177289,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:24:16] local.INFO: Acknowledgment sent {"connection_id":177289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:24:43] local.INFO: TCP Data received {"connection_id":178685,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:24:43] local.INFO: Processing buffer {"connection_id":178685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:24:43] local.INFO: IMEI packet received {"connection_id":178685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":178685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:24:48] local.INFO: TCP Data received {"connection_id":178685,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:24:48] local.INFO: Processing buffer {"connection_id":178685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:24:48] local.INFO: IMEI packet received {"connection_id":178685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":178685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:24:48] local.INFO: TCP Data received {"connection_id":178685,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:24:48] local.INFO: Processing buffer {"connection_id":178685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:24:48] local.INFO: Packet analysis {"connection_id":178685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:24:48] local.INFO: Extracted packet for processing {"connection_id":178685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:24:48] 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-09-09 22:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":178685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:24:48] local.INFO: GPS data processed {"connection_id":178685,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:24:48] local.INFO: Acknowledgment sent {"connection_id":178685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:24:56] local.INFO: TCP Data received {"connection_id":178684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:24:56] local.INFO: Processing buffer {"connection_id":178684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:24:56] local.INFO: IMEI packet received {"connection_id":178684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":178684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:25:19] local.INFO: TCP Data received {"connection_id":178685,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:25:19] local.INFO: Processing buffer {"connection_id":178685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:25:19] local.INFO: Packet analysis {"connection_id":178685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:25:19] local.INFO: Extracted packet for processing {"connection_id":178685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:25:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:25:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":178685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:25:20] local.INFO: GPS data processed {"connection_id":178685,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:25:20] local.INFO: Acknowledgment sent {"connection_id":178685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:25:37] local.INFO: TCP Data received {"connection_id":177290,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:25:37] local.INFO: Processing buffer {"connection_id":177290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:25:37] local.INFO: IMEI packet received {"connection_id":177290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":177290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:25:43] local.INFO: TCP Data received {"connection_id":177290,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:25:43] local.INFO: Processing buffer {"connection_id":177290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:25:43] local.INFO: IMEI packet received {"connection_id":177290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":177290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:25:44] local.INFO: TCP Data received {"connection_id":177290,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:25:44] local.INFO: Processing buffer {"connection_id":177290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:25:44] local.INFO: Packet analysis {"connection_id":177290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:25:44] local.INFO: Extracted packet for processing {"connection_id":177290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22: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-09-09 22:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":177290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:25:44] local.INFO: GPS data processed {"connection_id":177290,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:25:44] local.INFO: Acknowledgment sent {"connection_id":177290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:26:16] local.INFO: TCP Data received {"connection_id":177290,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:26:16] local.INFO: Processing buffer {"connection_id":177290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:26:16] local.INFO: Packet analysis {"connection_id":177290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:26:16] local.INFO: Extracted packet for processing {"connection_id":177290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:26:16] 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-09-09 22:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":177290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:26:16] local.INFO: GPS data processed {"connection_id":177290,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:26:16] local.INFO: Acknowledgment sent {"connection_id":177290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:26:37] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:26:37] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:26:37] local.INFO: IMEI packet received {"connection_id":177291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":177291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:26:43] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:26:43] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:26:43] local.INFO: IMEI packet received {"connection_id":177291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":177291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:26:44] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:26:44] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:26:44] local.INFO: Packet analysis {"connection_id":177291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:26:44] local.INFO: Extracted packet for processing {"connection_id":177291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":177291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:26:44] local.INFO: GPS data processed {"connection_id":177291,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:26:44] local.INFO: Acknowledgment sent {"connection_id":177291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:27:15] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:27:15] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:27:15] local.INFO: Packet analysis {"connection_id":177291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:27:15] local.INFO: Extracted packet for processing {"connection_id":177291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":177291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:27:15] local.INFO: GPS data processed {"connection_id":177291,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:27:15] local.INFO: Acknowledgment sent {"connection_id":177291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:27:37] local.INFO: TCP Data received {"connection_id":176125,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:27:37] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:27:37] local.INFO: IMEI packet received {"connection_id":176125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":176125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:27:43] local.INFO: TCP Data received {"connection_id":176125,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:27:43] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:27:43] local.INFO: IMEI packet received {"connection_id":176125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":176125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:27:43] local.INFO: TCP Data received {"connection_id":176125,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:27:43] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:27:43] local.INFO: Packet analysis {"connection_id":176125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:27:43] local.INFO: Extracted packet for processing {"connection_id":176125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:27: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-09-09 22:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:27: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-09-09 22:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":176125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:27:43] local.INFO: GPS data processed {"connection_id":176125,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:27:43] local.INFO: Acknowledgment sent {"connection_id":176125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:28:15] local.INFO: TCP Data received {"connection_id":176125,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:28:15] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:28:15] local.INFO: Packet analysis {"connection_id":176125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:28:15] local.INFO: Extracted packet for processing {"connection_id":176125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":176125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:28:15] local.INFO: GPS data processed {"connection_id":176125,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:28:15] local.INFO: Acknowledgment sent {"connection_id":176125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:28:37] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:28:37] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:28:37] local.INFO: IMEI packet received {"connection_id":175900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":175900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:28:43] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:28:43] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:28:43] local.INFO: IMEI packet received {"connection_id":175900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":175900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:28:44] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:28:44] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:28:44] local.INFO: Packet analysis {"connection_id":175900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:28:44] local.INFO: Extracted packet for processing {"connection_id":175900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":175900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:28:44] local.INFO: GPS data processed {"connection_id":175900,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:28:44] local.INFO: Acknowledgment sent {"connection_id":175900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:29:15] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:29:15] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08716da68012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:29:15] local.INFO: Packet analysis {"connection_id":175900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:29:15] local.INFO: Extracted packet for processing {"connection_id":175900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08716"} 
[2026-09-09 22:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457976964096001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788972817000,"timestamp_ms":1788972817000,"timestamp_seconds":1788972817,"priority":1,"record_length":96,"hex_timestamp":"000001a08716da68"} 
[2026-09-09 22:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457976964096001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457976964096001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457976964096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":175900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:29:15] local.INFO: GPS data processed {"connection_id":175900,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:29:15] local.INFO: Acknowledgment sent {"connection_id":175900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:29:42] local.INFO: TCP Data received {"connection_id":178686,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:29:42] local.INFO: Processing buffer {"connection_id":178686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:29:42] local.INFO: IMEI packet received {"connection_id":178686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":178686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:29:47] local.INFO: TCP Data received {"connection_id":178686,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:29:47] local.INFO: Processing buffer {"connection_id":178686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:29:47] local.INFO: IMEI packet received {"connection_id":178686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":178686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:29:48] local.INFO: TCP Data received {"connection_id":178686,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:29:48] local.INFO: Processing buffer {"connection_id":178686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:29:48] local.INFO: Packet analysis {"connection_id":178686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:29:48] local.INFO: Extracted packet for processing {"connection_id":178686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:29:48] 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-09-09 22:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":178686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:29:48] local.INFO: GPS data processed {"connection_id":178686,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:29:48] local.INFO: Acknowledgment sent {"connection_id":178686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:30:20] local.INFO: TCP Data received {"connection_id":178686,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:30:20] local.INFO: Processing buffer {"connection_id":178686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:30:20] local.INFO: Packet analysis {"connection_id":178686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:30:20] local.INFO: Extracted packet for processing {"connection_id":178686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:30:20] 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-09-09 22:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":178686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":178686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":178686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:30:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":178686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:30:20] local.INFO: GPS data processed {"connection_id":178686,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:30:20] local.INFO: Acknowledgment sent {"connection_id":178686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:30:37] local.INFO: TCP Data received {"connection_id":176127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:30:37] local.INFO: Processing buffer {"connection_id":176127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:30:37] local.INFO: IMEI packet received {"connection_id":176127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":176127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:30:42] local.INFO: TCP Data received {"connection_id":176127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:30:42] local.INFO: Processing buffer {"connection_id":176127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:30:42] local.INFO: IMEI packet received {"connection_id":176127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":176127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:30:43] local.INFO: TCP Data received {"connection_id":176127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:30:43] local.INFO: Processing buffer {"connection_id":176127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:30:43] local.INFO: Packet analysis {"connection_id":176127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:30:43] local.INFO: Extracted packet for processing {"connection_id":176127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:30: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-09-09 22: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-09-09 22:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":176127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:30:43] local.INFO: GPS data processed {"connection_id":176127,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:30:43] local.INFO: Acknowledgment sent {"connection_id":176127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:30:45] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:30:45] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:30:45] local.INFO: IMEI packet received {"connection_id":175901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":175901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:31:15] local.INFO: TCP Data received {"connection_id":176127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:31:15] local.INFO: Processing buffer {"connection_id":176127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:31:15] local.INFO: Packet analysis {"connection_id":176127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:31:15] local.INFO: Extracted packet for processing {"connection_id":176127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":176127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:31:15] local.INFO: GPS data processed {"connection_id":176127,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:31:15] local.INFO: Acknowledgment sent {"connection_id":176127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:31:37] local.INFO: TCP Data received {"connection_id":177294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:31:37] local.INFO: Processing buffer {"connection_id":177294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:31:37] local.INFO: IMEI packet received {"connection_id":177294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":177294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:31:42] local.INFO: TCP Data received {"connection_id":177294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:31:42] local.INFO: Processing buffer {"connection_id":177294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:31:42] local.INFO: IMEI packet received {"connection_id":177294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":177294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:31:48] local.INFO: TCP Data received {"connection_id":177294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:31:48] local.INFO: Processing buffer {"connection_id":177294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:31:48] local.INFO: IMEI packet received {"connection_id":177294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":177294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:31:49] local.INFO: TCP Data received {"connection_id":177294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:31:49] local.INFO: Processing buffer {"connection_id":177294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:31:49] local.INFO: Packet analysis {"connection_id":177294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:31:49] local.INFO: Extracted packet for processing {"connection_id":177294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:31:49] 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-09-09 22:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:31:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":177294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:31:49] local.INFO: GPS data processed {"connection_id":177294,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:31:49] local.INFO: Acknowledgment sent {"connection_id":177294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:32:20] local.INFO: TCP Data received {"connection_id":177294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:32:20] local.INFO: Processing buffer {"connection_id":177294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:32:20] local.INFO: Packet analysis {"connection_id":177294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:32:20] local.INFO: Extracted packet for processing {"connection_id":177294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:32:20] 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-09-09 22:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":177294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:32:20] local.INFO: GPS data processed {"connection_id":177294,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:32:20] local.INFO: Acknowledgment sent {"connection_id":177294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:32:37] local.INFO: TCP Data received {"connection_id":177296,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:32:37] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:32:37] local.INFO: IMEI packet received {"connection_id":177296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":177296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:32:42] local.INFO: TCP Data received {"connection_id":177296,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:32:42] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:32:42] local.INFO: IMEI packet received {"connection_id":177296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":177296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:32:43] local.INFO: TCP Data received {"connection_id":177296,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:32:43] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:32:43] local.INFO: Packet analysis {"connection_id":177296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:32:43] local.INFO: Extracted packet for processing {"connection_id":177296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:32: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-09-09 22:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":177296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:32:43] local.INFO: GPS data processed {"connection_id":177296,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:32:43] local.INFO: Acknowledgment sent {"connection_id":177296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:33:15] local.INFO: TCP Data received {"connection_id":177296,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:33:15] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:33:15] local.INFO: Packet analysis {"connection_id":177296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:33:15] local.INFO: Extracted packet for processing {"connection_id":177296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":177296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:33:15] local.INFO: GPS data processed {"connection_id":177296,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:33:15] local.INFO: Acknowledgment sent {"connection_id":177296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:33:37] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:33:37] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:33:37] local.INFO: IMEI packet received {"connection_id":175902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":175902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:33:42] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:33:42] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:33:42] local.INFO: IMEI packet received {"connection_id":175902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":175902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:33:43] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:33:43] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:33:43] local.INFO: Packet analysis {"connection_id":175902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:33:43] local.INFO: Extracted packet for processing {"connection_id":175902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:33: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-09-09 22:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:33:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":175902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:33:44] local.INFO: GPS data processed {"connection_id":175902,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:33:44] local.INFO: Acknowledgment sent {"connection_id":175902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:34:15] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:34:15] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0871b7230012d34c14006aa42b8000801162a..."} 
[2026-09-09 22:34:15] local.INFO: Packet analysis {"connection_id":175902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:34:15] local.INFO: Extracted packet for processing {"connection_id":175902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0871b"} 
[2026-09-09 22:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":8,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977041152001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973118000,"timestamp_ms":1788973118000,"timestamp_seconds":1788973118,"priority":1,"record_length":96,"hex_timestamp":"000001a0871b7230"} 
[2026-09-09 22:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977041152001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977041152001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977041152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":175902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:34:15] local.INFO: GPS data processed {"connection_id":175902,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:34:15] local.INFO: Acknowledgment sent {"connection_id":175902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:34:43] local.INFO: TCP Data received {"connection_id":178688,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:34:43] local.INFO: Processing buffer {"connection_id":178688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:34:43] local.INFO: IMEI packet received {"connection_id":178688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":178688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:34:48] local.INFO: TCP Data received {"connection_id":178688,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:34:48] local.INFO: Processing buffer {"connection_id":178688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:34:48] local.INFO: IMEI packet received {"connection_id":178688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":178688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:34:50] local.INFO: TCP Data received {"connection_id":178688,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:34:50] local.INFO: Processing buffer {"connection_id":178688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:34:50] local.INFO: Packet analysis {"connection_id":178688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:34:50] local.INFO: Extracted packet for processing {"connection_id":178688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:34:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:34:50] 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-09-09 22:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":178688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":178688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":178688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:34:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:34:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":178688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:34:50] local.INFO: GPS data processed {"connection_id":178688,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:34:50] local.INFO: Acknowledgment sent {"connection_id":178688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:35:22] local.INFO: TCP Data received {"connection_id":178688,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:35:22] local.INFO: Processing buffer {"connection_id":178688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:35:22] local.INFO: Packet analysis {"connection_id":178688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:35:22] local.INFO: Extracted packet for processing {"connection_id":178688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:35:22] 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-09-09 22: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-09-09 22:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":178688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":178688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":178688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:35:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":178688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:35:22] local.INFO: GPS data processed {"connection_id":178688,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:35:22] local.INFO: Acknowledgment sent {"connection_id":178688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:35:37] local.INFO: TCP Data received {"connection_id":175903,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:35:37] local.INFO: Processing buffer {"connection_id":175903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:35:37] local.INFO: IMEI packet received {"connection_id":175903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":175903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:35:43] local.INFO: TCP Data received {"connection_id":175903,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:35:43] local.INFO: Processing buffer {"connection_id":175903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:35:43] local.INFO: IMEI packet received {"connection_id":175903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":175903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:35:43] local.INFO: TCP Data received {"connection_id":175903,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:35:43] local.INFO: Processing buffer {"connection_id":175903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:35:43] local.INFO: Packet analysis {"connection_id":175903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:35:43] local.INFO: Extracted packet for processing {"connection_id":175903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:35: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-09-09 22:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":175903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:35:43] local.INFO: GPS data processed {"connection_id":175903,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:35:43] local.INFO: Acknowledgment sent {"connection_id":175903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:36:15] local.INFO: TCP Data received {"connection_id":175903,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:36:15] local.INFO: Processing buffer {"connection_id":175903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:36:15] local.INFO: Packet analysis {"connection_id":175903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:36:15] local.INFO: Extracted packet for processing {"connection_id":175903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":175903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:36:15] local.INFO: GPS data processed {"connection_id":175903,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:36:15] local.INFO: Acknowledgment sent {"connection_id":175903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:36:16] local.INFO: TCP Data received {"connection_id":178690,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:36:16] local.INFO: Processing buffer {"connection_id":178690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:36:16] local.INFO: IMEI packet received {"connection_id":178690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":178690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:36:37] local.INFO: TCP Data received {"connection_id":178691,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:36:37] local.INFO: Processing buffer {"connection_id":178691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:36:37] local.INFO: IMEI packet received {"connection_id":178691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":178691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:36:41] local.INFO: TCP Data received {"connection_id":178692,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:36:41] local.INFO: Processing buffer {"connection_id":178692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:36:41] local.INFO: IMEI packet received {"connection_id":178692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":178692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:36:42] local.INFO: TCP Data received {"connection_id":178691,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:36:42] local.INFO: Processing buffer {"connection_id":178691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:36:42] local.INFO: IMEI packet received {"connection_id":178691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":178691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:36:43] local.INFO: TCP Data received {"connection_id":178691,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:36:43] local.INFO: Processing buffer {"connection_id":178691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:36:43] local.INFO: Packet analysis {"connection_id":178691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:36:43] local.INFO: Extracted packet for processing {"connection_id":178691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:36: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-09-09 22:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":178691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:36:44] local.INFO: GPS data processed {"connection_id":178691,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:36:44] local.INFO: Acknowledgment sent {"connection_id":178691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:37:15] local.INFO: TCP Data received {"connection_id":178691,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:37:15] local.INFO: Processing buffer {"connection_id":178691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:37:15] local.INFO: Packet analysis {"connection_id":178691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:37:15] local.INFO: Extracted packet for processing {"connection_id":178691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":178691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:37:15] local.INFO: GPS data processed {"connection_id":178691,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:37:15] local.INFO: Acknowledgment sent {"connection_id":178691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:37:42] local.INFO: TCP Data received {"connection_id":175904,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:37:42] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:37:42] local.INFO: IMEI packet received {"connection_id":175904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":175904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:37:48] local.INFO: TCP Data received {"connection_id":175904,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:37:48] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:37:48] local.INFO: IMEI packet received {"connection_id":175904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":175904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:37:48] local.INFO: TCP Data received {"connection_id":175904,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:37:48] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:37:48] local.INFO: Packet analysis {"connection_id":175904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:37:48] local.INFO: Extracted packet for processing {"connection_id":175904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:37:48] 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-09-09 22:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":175904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:37:48] local.INFO: GPS data processed {"connection_id":175904,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:37:48] local.INFO: Acknowledgment sent {"connection_id":175904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:37:53] local.INFO: TCP Data received {"connection_id":175904,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:37:53] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:37:53] local.INFO: Packet analysis {"connection_id":175904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:37:53] local.INFO: Extracted packet for processing {"connection_id":175904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":175904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:37:53] local.INFO: GPS data processed {"connection_id":175904,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:37:53] local.INFO: Acknowledgment sent {"connection_id":175904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:38:38] local.INFO: TCP Data received {"connection_id":177297,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:38:38] local.INFO: Processing buffer {"connection_id":177297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:38:38] local.INFO: IMEI packet received {"connection_id":177297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":177297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:38:43] local.INFO: TCP Data received {"connection_id":177297,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:38:43] local.INFO: Processing buffer {"connection_id":177297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:38:43] local.INFO: IMEI packet received {"connection_id":177297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":177297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:38:44] local.INFO: TCP Data received {"connection_id":177297,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:38:44] local.INFO: Processing buffer {"connection_id":177297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:38:44] local.INFO: Packet analysis {"connection_id":177297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:38:44] local.INFO: Extracted packet for processing {"connection_id":177297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":177297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:38:44] local.INFO: GPS data processed {"connection_id":177297,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:38:44] local.INFO: Acknowledgment sent {"connection_id":177297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:39:15] local.INFO: TCP Data received {"connection_id":177297,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:39:15] local.INFO: Processing buffer {"connection_id":177297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872009f8012d34c14006aa42b8000401162a..."} 
[2026-09-09 22:39:15] local.INFO: Packet analysis {"connection_id":177297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:39:15] local.INFO: Extracted packet for processing {"connection_id":177297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08720"} 
[2026-09-09 22:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":4,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977118208001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973419000,"timestamp_ms":1788973419000,"timestamp_seconds":1788973419,"priority":1,"record_length":96,"hex_timestamp":"000001a0872009f8"} 
[2026-09-09 22:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977118208001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977118208001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977118208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":177297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:39:15] local.INFO: GPS data processed {"connection_id":177297,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:39:15] local.INFO: Acknowledgment sent {"connection_id":177297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:39:38] local.INFO: TCP Data received {"connection_id":178694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:39:38] local.INFO: Processing buffer {"connection_id":178694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:39:38] local.INFO: IMEI packet received {"connection_id":178694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":178694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:39:43] local.INFO: TCP Data received {"connection_id":178694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:39:43] local.INFO: Processing buffer {"connection_id":178694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:39:43] local.INFO: IMEI packet received {"connection_id":178694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":178694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:39:44] local.INFO: TCP Data received {"connection_id":178694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:39:44] local.INFO: Processing buffer {"connection_id":178694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:39:44] local.INFO: Packet analysis {"connection_id":178694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:39:44] local.INFO: Extracted packet for processing {"connection_id":178694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:39:44] 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-09-09 22:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":178694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:39:44] local.INFO: GPS data processed {"connection_id":178694,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:39:44] local.INFO: Acknowledgment sent {"connection_id":178694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:40:15] local.INFO: TCP Data received {"connection_id":178694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:40:15] local.INFO: Processing buffer {"connection_id":178694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:40:15] local.INFO: Packet analysis {"connection_id":178694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:40:15] local.INFO: Extracted packet for processing {"connection_id":178694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":178694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:40:15] local.INFO: GPS data processed {"connection_id":178694,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:40:15] local.INFO: Acknowledgment sent {"connection_id":178694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:40:38] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:40:38] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:40:38] local.INFO: IMEI packet received {"connection_id":176130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":176130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:40:42] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:40:42] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:40:42] local.INFO: IMEI packet received {"connection_id":176130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":176130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:40:43] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:40:43] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:40:43] local.INFO: Packet analysis {"connection_id":176130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:40:43] local.INFO: Extracted packet for processing {"connection_id":176130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:40:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":176130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:40:43] local.INFO: GPS data processed {"connection_id":176130,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:40:43] local.INFO: Acknowledgment sent {"connection_id":176130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:41:15] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:41:15] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:41:15] local.INFO: Packet analysis {"connection_id":176130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:41:15] local.INFO: Extracted packet for processing {"connection_id":176130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":176130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:41:15] local.INFO: GPS data processed {"connection_id":176130,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:41:15] local.INFO: Acknowledgment sent {"connection_id":176130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:41:37] local.INFO: TCP Data received {"connection_id":177299,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:41:37] local.INFO: Processing buffer {"connection_id":177299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:41:37] local.INFO: IMEI packet received {"connection_id":177299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":177299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:41:42] local.INFO: TCP Data received {"connection_id":177299,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:41:42] local.INFO: Processing buffer {"connection_id":177299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:41:42] local.INFO: IMEI packet received {"connection_id":177299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":177299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:41:43] local.INFO: TCP Data received {"connection_id":177299,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:41:43] local.INFO: Processing buffer {"connection_id":177299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:41:43] local.INFO: Packet analysis {"connection_id":177299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:41:43] local.INFO: Extracted packet for processing {"connection_id":177299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":177299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:41:43] local.INFO: GPS data processed {"connection_id":177299,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:41:43] local.INFO: Acknowledgment sent {"connection_id":177299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:42:01] local.INFO: TCP Data received {"connection_id":176131,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:42:01] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 22:42:01] local.INFO: IMEI packet received {"connection_id":176131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 22:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":176131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:42:15] local.INFO: TCP Data received {"connection_id":177299,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:42:15] local.INFO: Processing buffer {"connection_id":177299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:42:15] local.INFO: Packet analysis {"connection_id":177299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:42:15] local.INFO: Extracted packet for processing {"connection_id":177299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":177299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:42:15] local.INFO: GPS data processed {"connection_id":177299,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:42:15] local.INFO: Acknowledgment sent {"connection_id":177299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:42:37] local.INFO: TCP Data received {"connection_id":178697,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:42:37] local.INFO: Processing buffer {"connection_id":178697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:42:37] local.INFO: IMEI packet received {"connection_id":178697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":178697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:42:42] local.INFO: TCP Data received {"connection_id":178697,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:42:42] local.INFO: Processing buffer {"connection_id":178697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:42:42] local.INFO: IMEI packet received {"connection_id":178697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":178697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:42:43] local.INFO: TCP Data received {"connection_id":178697,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:42:43] local.INFO: Processing buffer {"connection_id":178697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:42:43] local.INFO: Packet analysis {"connection_id":178697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:42:43] local.INFO: Extracted packet for processing {"connection_id":178697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":178697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:42:43] local.INFO: GPS data processed {"connection_id":178697,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:42:43] local.INFO: Acknowledgment sent {"connection_id":178697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:43:15] local.INFO: TCP Data received {"connection_id":178697,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:43:15] local.INFO: Processing buffer {"connection_id":178697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:43:15] local.INFO: Packet analysis {"connection_id":178697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:43:15] local.INFO: Extracted packet for processing {"connection_id":178697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":178697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:43:15] local.INFO: GPS data processed {"connection_id":178697,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:43:15] local.INFO: Acknowledgment sent {"connection_id":178697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:43:42] local.INFO: TCP Data received {"connection_id":177300,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:43:42] local.INFO: Processing buffer {"connection_id":177300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:43:42] local.INFO: IMEI packet received {"connection_id":177300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":177300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:43:48] local.INFO: TCP Data received {"connection_id":177300,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:43:48] local.INFO: Processing buffer {"connection_id":177300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:43:48] local.INFO: IMEI packet received {"connection_id":177300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":177300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:43:49] local.INFO: TCP Data received {"connection_id":177300,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:43:49] local.INFO: Processing buffer {"connection_id":177300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:43:49] local.INFO: Packet analysis {"connection_id":177300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:43:49] local.INFO: Extracted packet for processing {"connection_id":177300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:43:49] 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-09-09 22:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":177300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:43:49] local.INFO: GPS data processed {"connection_id":177300,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:43:49] local.INFO: Acknowledgment sent {"connection_id":177300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:43:53] local.INFO: TCP Data received {"connection_id":177300,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:43:53] local.INFO: Processing buffer {"connection_id":177300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08724a1c0012d34c14006aa42b8000601162a..."} 
[2026-09-09 22:43:53] local.INFO: Packet analysis {"connection_id":177300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:43:53] local.INFO: Extracted packet for processing {"connection_id":177300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08724"} 
[2026-09-09 22:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":6,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977195264001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788973720000,"timestamp_ms":1788973720000,"timestamp_seconds":1788973720,"priority":1,"record_length":96,"hex_timestamp":"000001a08724a1c0"} 
[2026-09-09 22:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977195264001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977195264001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977195264001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":177300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:43:53] local.INFO: GPS data processed {"connection_id":177300,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:43:53] local.INFO: Acknowledgment sent {"connection_id":177300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:44:38] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:44:38] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:44:38] local.INFO: IMEI packet received {"connection_id":176132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":176132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:44:42] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:44:42] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:44:42] local.INFO: IMEI packet received {"connection_id":176132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":176132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:44:43] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:44:43] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:44:43] local.INFO: Packet analysis {"connection_id":176132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:44:43] local.INFO: Extracted packet for processing {"connection_id":176132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:44:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":176132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:44:43] local.INFO: GPS data processed {"connection_id":176132,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:44:43] local.INFO: Acknowledgment sent {"connection_id":176132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:45:15] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:45:15] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:45:15] local.INFO: Packet analysis {"connection_id":176132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:45:15] local.INFO: Extracted packet for processing {"connection_id":176132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":176132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:45:15] local.INFO: GPS data processed {"connection_id":176132,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:45:15] local.INFO: Acknowledgment sent {"connection_id":176132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:45:38] local.INFO: TCP Data received {"connection_id":177301,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:45:38] local.INFO: Processing buffer {"connection_id":177301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:45:38] local.INFO: IMEI packet received {"connection_id":177301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":177301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:45:42] local.INFO: TCP Data received {"connection_id":177301,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:45:42] local.INFO: Processing buffer {"connection_id":177301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:45:42] local.INFO: IMEI packet received {"connection_id":177301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":177301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:45:43] local.INFO: TCP Data received {"connection_id":177301,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:45:43] local.INFO: Processing buffer {"connection_id":177301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:45:43] local.INFO: Packet analysis {"connection_id":177301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:45:43] local.INFO: Extracted packet for processing {"connection_id":177301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22: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-09-09 22:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":177301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:45:43] local.INFO: GPS data processed {"connection_id":177301,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:45:43] local.INFO: Acknowledgment sent {"connection_id":177301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:46:15] local.INFO: TCP Data received {"connection_id":177301,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:46:15] local.INFO: Processing buffer {"connection_id":177301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:46:15] local.INFO: Packet analysis {"connection_id":177301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:46:15] local.INFO: Extracted packet for processing {"connection_id":177301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":177301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:46:15] local.INFO: GPS data processed {"connection_id":177301,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:46:15] local.INFO: Acknowledgment sent {"connection_id":177301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:46:37] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:46:37] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:46:37] local.INFO: IMEI packet received {"connection_id":176133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":176133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:46:43] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:46:43] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:46:43] local.INFO: IMEI packet received {"connection_id":176133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":176133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:46:44] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:46:44] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:46:44] local.INFO: Packet analysis {"connection_id":176133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:46:44] local.INFO: Extracted packet for processing {"connection_id":176133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:46:44] 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-09-09 22: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-09-09 22:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":176133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:46:44] local.INFO: GPS data processed {"connection_id":176133,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:46:44] local.INFO: Acknowledgment sent {"connection_id":176133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:47:15] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:47:15] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:47:15] local.INFO: Packet analysis {"connection_id":176133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:47:15] local.INFO: Extracted packet for processing {"connection_id":176133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":176133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:47:15] local.INFO: GPS data processed {"connection_id":176133,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:47:15] local.INFO: Acknowledgment sent {"connection_id":176133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:47:37] local.INFO: TCP Data received {"connection_id":177302,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:47:37] local.INFO: Processing buffer {"connection_id":177302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:47:37] local.INFO: IMEI packet received {"connection_id":177302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":177302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:47:43] local.INFO: TCP Data received {"connection_id":177302,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:47:43] local.INFO: Processing buffer {"connection_id":177302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:47:43] local.INFO: IMEI packet received {"connection_id":177302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":177302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:47:44] local.INFO: TCP Data received {"connection_id":177302,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:47:44] local.INFO: Processing buffer {"connection_id":177302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:47:44] local.INFO: Packet analysis {"connection_id":177302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:47:44] local.INFO: Extracted packet for processing {"connection_id":177302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:47:44] 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-09-09 22:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":177302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:47:44] local.INFO: GPS data processed {"connection_id":177302,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:47:44] local.INFO: Acknowledgment sent {"connection_id":177302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:48:15] local.INFO: TCP Data received {"connection_id":177302,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:48:15] local.INFO: Processing buffer {"connection_id":177302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:48:15] local.INFO: Packet analysis {"connection_id":177302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:48:15] local.INFO: Extracted packet for processing {"connection_id":177302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":177302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:48:15] local.INFO: GPS data processed {"connection_id":177302,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:48:15] local.INFO: Acknowledgment sent {"connection_id":177302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:48:37] local.INFO: TCP Data received {"connection_id":176134,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:48:37] local.INFO: Processing buffer {"connection_id":176134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:48:37] local.INFO: IMEI packet received {"connection_id":176134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":176134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:48:42] local.INFO: TCP Data received {"connection_id":176134,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:48:42] local.INFO: Processing buffer {"connection_id":176134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:48:42] local.INFO: IMEI packet received {"connection_id":176134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":176134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:48:43] local.INFO: TCP Data received {"connection_id":176134,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:48:43] local.INFO: Processing buffer {"connection_id":176134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:48:43] local.INFO: Packet analysis {"connection_id":176134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:48:43] local.INFO: Extracted packet for processing {"connection_id":176134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":176134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:48:43] local.INFO: GPS data processed {"connection_id":176134,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:48:43] local.INFO: Acknowledgment sent {"connection_id":176134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:49:15] local.INFO: TCP Data received {"connection_id":176134,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:49:15] local.INFO: Processing buffer {"connection_id":176134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087293988012d34c14006aa42b8000301162a..."} 
[2026-09-09 22:49:15] local.INFO: Packet analysis {"connection_id":176134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:49:15] local.INFO: Extracted packet for processing {"connection_id":176134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08729"} 
[2026-09-09 22:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977272320001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974021000,"timestamp_ms":1788974021000,"timestamp_seconds":1788974021,"priority":1,"record_length":96,"hex_timestamp":"000001a087293988"} 
[2026-09-09 22:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 22:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977272320001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977272320001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977272320001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":176134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:49:15] local.INFO: GPS data processed {"connection_id":176134,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:49:15] local.INFO: Acknowledgment sent {"connection_id":176134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:49:43] local.INFO: TCP Data received {"connection_id":176135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:49:43] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:49:43] local.INFO: IMEI packet received {"connection_id":176135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":176135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:49:47] local.INFO: TCP Data received {"connection_id":176135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:49:47] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:49:47] local.INFO: IMEI packet received {"connection_id":176135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":176135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:49:48] local.INFO: TCP Data received {"connection_id":176135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:49:48] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:49:48] local.INFO: Packet analysis {"connection_id":176135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:49:48] local.INFO: Extracted packet for processing {"connection_id":176135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:49:48] 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-09-09 22:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":176135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:49:48] local.INFO: GPS data processed {"connection_id":176135,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:49:48] local.INFO: Acknowledgment sent {"connection_id":176135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:50:20] local.INFO: TCP Data received {"connection_id":176135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:50:20] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:50:20] local.INFO: Packet analysis {"connection_id":176135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:50:20] local.INFO: Extracted packet for processing {"connection_id":176135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":176135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:50:20] local.INFO: GPS data processed {"connection_id":176135,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:50:20] local.INFO: Acknowledgment sent {"connection_id":176135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:50:37] local.INFO: TCP Data received {"connection_id":177304,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:50:37] local.INFO: Processing buffer {"connection_id":177304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:50:37] local.INFO: IMEI packet received {"connection_id":177304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":177304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:50:47] local.INFO: TCP Data received {"connection_id":177304,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:50:47] local.INFO: Processing buffer {"connection_id":177304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:50:47] local.INFO: IMEI packet received {"connection_id":177304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":177304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:50:48] local.INFO: TCP Data received {"connection_id":177304,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:50:48] local.INFO: Processing buffer {"connection_id":177304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:50:48] local.INFO: Packet analysis {"connection_id":177304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:50:48] local.INFO: Extracted packet for processing {"connection_id":177304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:50:48] 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-09-09 22:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:50: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-09-09 22:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":177304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:50:49] local.INFO: GPS data processed {"connection_id":177304,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:50:49] local.INFO: Acknowledgment sent {"connection_id":177304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:51:20] local.INFO: TCP Data received {"connection_id":177304,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:51:20] local.INFO: Processing buffer {"connection_id":177304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:51:20] local.INFO: Packet analysis {"connection_id":177304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:51:20] local.INFO: Extracted packet for processing {"connection_id":177304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:51:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":177304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:51:20] local.INFO: GPS data processed {"connection_id":177304,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:51:20] local.INFO: Acknowledgment sent {"connection_id":177304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:51:37] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:51:37] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:51:37] local.INFO: IMEI packet received {"connection_id":175905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":175905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:51:43] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:51:43] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:51:43] local.INFO: IMEI packet received {"connection_id":175905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":175905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:51:44] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:51:44] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:51:44] local.INFO: Packet analysis {"connection_id":175905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:51:44] local.INFO: Extracted packet for processing {"connection_id":175905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:51:44] 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-09-09 22:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":175905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:51:44] local.INFO: GPS data processed {"connection_id":175905,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:51:44] local.INFO: Acknowledgment sent {"connection_id":175905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:52:15] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:52:15] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:52:15] local.INFO: Packet analysis {"connection_id":175905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:52:15] local.INFO: Extracted packet for processing {"connection_id":175905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:52:15] 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-09-09 22:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":175905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:52:15] local.INFO: GPS data processed {"connection_id":175905,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:52:15] local.INFO: Acknowledgment sent {"connection_id":175905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:52:37] local.INFO: TCP Data received {"connection_id":178698,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:52:37] local.INFO: Processing buffer {"connection_id":178698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:52:37] local.INFO: IMEI packet received {"connection_id":178698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":178698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:52:42] local.INFO: TCP Data received {"connection_id":178698,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:52:42] local.INFO: Processing buffer {"connection_id":178698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:52:42] local.INFO: IMEI packet received {"connection_id":178698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":178698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:52:44] local.INFO: TCP Data received {"connection_id":178698,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:52:44] local.INFO: Processing buffer {"connection_id":178698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:52:44] local.INFO: Packet analysis {"connection_id":178698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:52:44] local.INFO: Extracted packet for processing {"connection_id":178698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:52:44] 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-09-09 22:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":178698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:52:44] local.INFO: GPS data processed {"connection_id":178698,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:52:44] local.INFO: Acknowledgment sent {"connection_id":178698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:53:15] local.INFO: TCP Data received {"connection_id":178698,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:53:15] local.INFO: Processing buffer {"connection_id":178698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:53:15] local.INFO: Packet analysis {"connection_id":178698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:53:15] local.INFO: Extracted packet for processing {"connection_id":178698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:53:15] 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-09-09 22:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":178698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:53:15] local.INFO: GPS data processed {"connection_id":178698,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:53:15] local.INFO: Acknowledgment sent {"connection_id":178698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:53:42] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:53:42] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:53:42] local.INFO: IMEI packet received {"connection_id":176136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":176136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:53:47] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:53:47] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:53:47] local.INFO: IMEI packet received {"connection_id":176136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":176136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:53:49] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:53:49] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:53:49] local.INFO: Packet analysis {"connection_id":176136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:53:49] local.INFO: Extracted packet for processing {"connection_id":176136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:53:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":176136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:53:49] local.INFO: GPS data processed {"connection_id":176136,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:53:49] local.INFO: Acknowledgment sent {"connection_id":176136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:53:53] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:53:53] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0872dd150012d34c14006aa42b8000701162a..."} 
[2026-09-09 22:53:53] local.INFO: Packet analysis {"connection_id":176136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:53:53] local.INFO: Extracted packet for processing {"connection_id":176136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0872d"} 
[2026-09-09 22:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977349376001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788974322000,"timestamp_ms":1788974322000,"timestamp_seconds":1788974322,"priority":1,"record_length":96,"hex_timestamp":"000001a0872dd150"} 
[2026-09-09 22:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 22:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977349376001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977349376001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977349376001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":176136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:53:53] local.INFO: GPS data processed {"connection_id":176136,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:53:53] local.INFO: Acknowledgment sent {"connection_id":176136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:54:38] local.INFO: TCP Data received {"connection_id":177305,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:54:38] local.INFO: Processing buffer {"connection_id":177305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:54:38] local.INFO: IMEI packet received {"connection_id":177305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":177305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:54:42] local.INFO: TCP Data received {"connection_id":177305,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:54:42] local.INFO: Processing buffer {"connection_id":177305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:54:42] local.INFO: IMEI packet received {"connection_id":177305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":177305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:54:43] local.INFO: TCP Data received {"connection_id":177305,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:54:43] local.INFO: Processing buffer {"connection_id":177305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:54:43] local.INFO: Packet analysis {"connection_id":177305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:54:43] local.INFO: Extracted packet for processing {"connection_id":177305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 22:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 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-09-09 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:54: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-09-09 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-09-09 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-09-09 22:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":177305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:54:43] local.INFO: GPS data processed {"connection_id":177305,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:54:43] local.INFO: Acknowledgment sent {"connection_id":177305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:55:15] local.INFO: TCP Data received {"connection_id":177305,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:55:15] local.INFO: Processing buffer {"connection_id":177305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:55:15] local.INFO: Packet analysis {"connection_id":177305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:55:15] local.INFO: Extracted packet for processing {"connection_id":177305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 22:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":177305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:55:15] local.INFO: GPS data processed {"connection_id":177305,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:55:15] local.INFO: Acknowledgment sent {"connection_id":177305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:55:38] local.INFO: TCP Data received {"connection_id":177306,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:55:38] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:55:38] local.INFO: IMEI packet received {"connection_id":177306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":177306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:55:42] local.INFO: TCP Data received {"connection_id":177306,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:55:42] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:55:42] local.INFO: IMEI packet received {"connection_id":177306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":177306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:55:44] local.INFO: TCP Data received {"connection_id":177306,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:55:44] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:55:44] local.INFO: Packet analysis {"connection_id":177306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:55:44] local.INFO: Extracted packet for processing {"connection_id":177306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 22:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":177306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:55:44] local.INFO: GPS data processed {"connection_id":177306,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:55:44] local.INFO: Acknowledgment sent {"connection_id":177306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:56:18] local.INFO: TCP Data received {"connection_id":177306,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:56:18] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:56:18] local.INFO: Packet analysis {"connection_id":177306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:56:18] local.INFO: Extracted packet for processing {"connection_id":177306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 22:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":177306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:56:18] local.INFO: GPS data processed {"connection_id":177306,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:56:18] local.INFO: Acknowledgment sent {"connection_id":177306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:56:37] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:56:37] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:56:37] local.INFO: IMEI packet received {"connection_id":176137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":176137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:56:42] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:56:42] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:56:42] local.INFO: IMEI packet received {"connection_id":176137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":176137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:56:43] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:56:43] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:56:43] local.INFO: Packet analysis {"connection_id":176137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:56:43] local.INFO: Extracted packet for processing {"connection_id":176137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 22:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:56: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-09-09 22:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:56:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":176137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:56:43] local.INFO: GPS data processed {"connection_id":176137,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:56:43] local.INFO: Acknowledgment sent {"connection_id":176137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:57:14] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:57:14] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:57:14] local.INFO: Packet analysis {"connection_id":176137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:57:14] local.INFO: Extracted packet for processing {"connection_id":176137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 22:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 22:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:57:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":176137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:57:14] local.INFO: GPS data processed {"connection_id":176137,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:57:14] local.INFO: Acknowledgment sent {"connection_id":176137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:57:43] local.INFO: TCP Data received {"connection_id":176138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:57:43] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:57:43] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:57:47] local.INFO: TCP Data received {"connection_id":176138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:57:47] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:57:47] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:57:49] local.INFO: TCP Data received {"connection_id":176138,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:57:49] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:57:49] local.INFO: Packet analysis {"connection_id":176138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:57:49] local.INFO: Extracted packet for processing {"connection_id":176138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 22:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:57:49] 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-09-09 22:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":176138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:57:49] local.INFO: GPS data processed {"connection_id":176138,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:57:49] local.INFO: Acknowledgment sent {"connection_id":176138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:58:20] local.INFO: TCP Data received {"connection_id":176138,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:58:20] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:58:20] local.INFO: Packet analysis {"connection_id":176138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:58:20] local.INFO: Extracted packet for processing {"connection_id":176138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 22:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:58:20] 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-09-09 22:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:58:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":176138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:58:20] local.INFO: GPS data processed {"connection_id":176138,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:58:20] local.INFO: Acknowledgment sent {"connection_id":176138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:58:37] local.INFO: TCP Data received {"connection_id":177307,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:58:37] local.INFO: Processing buffer {"connection_id":177307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:58:37] local.INFO: IMEI packet received {"connection_id":177307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":177307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:58:42] local.INFO: TCP Data received {"connection_id":177307,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:58:42] local.INFO: Processing buffer {"connection_id":177307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:58:42] local.INFO: IMEI packet received {"connection_id":177307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":177307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:58:43] local.INFO: TCP Data received {"connection_id":177307,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:58:43] local.INFO: Processing buffer {"connection_id":177307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:58:43] local.INFO: Packet analysis {"connection_id":177307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:58:43] local.INFO: Extracted packet for processing {"connection_id":177307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22: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-09-09 22:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 22:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:58: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-09-09 22:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:58:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:58:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":177307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:58:43] local.INFO: GPS data processed {"connection_id":177307,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:58:43] local.INFO: Acknowledgment sent {"connection_id":177307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:59:16] local.INFO: TCP Data received {"connection_id":177307,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:59:16] local.INFO: Processing buffer {"connection_id":177307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087326918012d34c14006aa42b8000b01162a..."} 
[2026-09-09 22:59:16] local.INFO: Packet analysis {"connection_id":177307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:59:16] local.INFO: Extracted packet for processing {"connection_id":177307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08732"} 
[2026-09-09 22:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":11,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977426432001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788974623000,"timestamp_ms":1788974623000,"timestamp_seconds":1788974623,"priority":1,"record_length":96,"hex_timestamp":"000001a087326918"} 
[2026-09-09 22:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:59:16] 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-09-09 22:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977426432001,"66":25495,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977426432001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977426432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":177307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:59:16] local.INFO: GPS data processed {"connection_id":177307,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:59:16] local.INFO: Acknowledgment sent {"connection_id":177307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 22:59:37] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:59:37] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:59:37] local.INFO: IMEI packet received {"connection_id":175906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 22:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":175906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 22:59:42] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:59:42] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 22:59:42] local.INFO: IMEI packet received {"connection_id":175906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 22:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":175906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 22:59:43] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 22:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 22:59:43] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 22:59:43] local.INFO: Packet analysis {"connection_id":175906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 22:59:43] local.INFO: Extracted packet for processing {"connection_id":175906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 22:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 22:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 22:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 22:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 22:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 22:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 22:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 22:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 22:59: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-09-09 22:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 22:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 22:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 22:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 22:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 22:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 22:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 22:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 22:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 22:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 22:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 22:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 22:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 22:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 22:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 22:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 22:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 22:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":175906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 22:59:43] local.INFO: GPS data processed {"connection_id":175906,"processed":1,"errors":0,"total":1} 
[2026-09-09 22:59:43] local.INFO: Acknowledgment sent {"connection_id":175906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:00:15] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:00:15] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:00:15] local.INFO: Packet analysis {"connection_id":175906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:00:15] local.INFO: Extracted packet for processing {"connection_id":175906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 23:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 23:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:00:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":175906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:00:15] local.INFO: GPS data processed {"connection_id":175906,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:00:15] local.INFO: Acknowledgment sent {"connection_id":175906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:00:37] local.INFO: TCP Data received {"connection_id":178699,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:00:37] local.INFO: Processing buffer {"connection_id":178699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:00:37] local.INFO: IMEI packet received {"connection_id":178699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":178699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:00:42] local.INFO: TCP Data received {"connection_id":178699,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:00:42] local.INFO: Processing buffer {"connection_id":178699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:00:42] local.INFO: IMEI packet received {"connection_id":178699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":178699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:00:44] local.INFO: TCP Data received {"connection_id":178699,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:00:44] local.INFO: Processing buffer {"connection_id":178699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:00:44] local.INFO: Packet analysis {"connection_id":178699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:00:44] local.INFO: Extracted packet for processing {"connection_id":178699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 23:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 23:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:00:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":178699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:00:44] local.INFO: GPS data processed {"connection_id":178699,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:00:44] local.INFO: Acknowledgment sent {"connection_id":178699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:01:15] local.INFO: TCP Data received {"connection_id":178699,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:01:15] local.INFO: Processing buffer {"connection_id":178699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:01:15] local.INFO: Packet analysis {"connection_id":178699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:01:15] local.INFO: Extracted packet for processing {"connection_id":178699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 23:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 23:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":178699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:01:15] local.INFO: GPS data processed {"connection_id":178699,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:01:15] local.INFO: Acknowledgment sent {"connection_id":178699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:01:37] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:01:37] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:01:37] local.INFO: IMEI packet received {"connection_id":175907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":175907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:01:42] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:01:42] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:01:42] local.INFO: IMEI packet received {"connection_id":175907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":175907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:01:44] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:01:44] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:01:44] local.INFO: Packet analysis {"connection_id":175907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:01:44] local.INFO: Extracted packet for processing {"connection_id":175907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 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-09-09 23:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 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-09-09 23:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 23:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 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-09-09 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-09-09 23:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":175907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:01:44] local.INFO: GPS data processed {"connection_id":175907,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:01:44] local.INFO: Acknowledgment sent {"connection_id":175907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:02:16] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:02:16] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:02:16] local.INFO: Packet analysis {"connection_id":175907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:02:16] local.INFO: Extracted packet for processing {"connection_id":175907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 23:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 23:02:16] 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-09-09 23:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":175907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:02:16] local.INFO: GPS data processed {"connection_id":175907,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:02:16] local.INFO: Acknowledgment sent {"connection_id":175907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:02:43] local.INFO: TCP Data received {"connection_id":176139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:02:43] local.INFO: Processing buffer {"connection_id":176139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:02:43] local.INFO: IMEI packet received {"connection_id":176139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":176139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:02:47] local.INFO: TCP Data received {"connection_id":176139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:02:47] local.INFO: Processing buffer {"connection_id":176139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:02:47] local.INFO: IMEI packet received {"connection_id":176139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":176139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:02:48] local.INFO: TCP Data received {"connection_id":176139,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:02:48] local.INFO: Processing buffer {"connection_id":176139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:02:48] local.INFO: Packet analysis {"connection_id":176139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:02:48] local.INFO: Extracted packet for processing {"connection_id":176139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 23:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 23:02:48] 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-09-09 23: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-09-09 23:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:02:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":176139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:02:48] local.INFO: GPS data processed {"connection_id":176139,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:02:48] local.INFO: Acknowledgment sent {"connection_id":176139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:02:53] local.INFO: TCP Data received {"connection_id":176139,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:02:53] local.INFO: Processing buffer {"connection_id":176139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:02:53] local.INFO: Packet analysis {"connection_id":176139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:02:53] local.INFO: Extracted packet for processing {"connection_id":176139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 23:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 23:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":176139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:02:53] local.INFO: GPS data processed {"connection_id":176139,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:02:53] local.INFO: Acknowledgment sent {"connection_id":176139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:03:38] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:03:38] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:03:38] local.INFO: IMEI packet received {"connection_id":175908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":175908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:03:42] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:03:42] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:03:42] local.INFO: IMEI packet received {"connection_id":175908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":175908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:03:43] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:03:43] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:03:43] local.INFO: Packet analysis {"connection_id":175908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:03:43] local.INFO: Extracted packet for processing {"connection_id":175908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 23:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 23:03: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-09-09 23: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-09-09 23:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":175908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:03:43] local.INFO: GPS data processed {"connection_id":175908,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:03:43] local.INFO: Acknowledgment sent {"connection_id":175908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:04:15] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:04:15] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873700e0012d34c14006aa42b8000a01162a..."} 
[2026-09-09 23:04:15] local.INFO: Packet analysis {"connection_id":175908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:04:15] local.INFO: Extracted packet for processing {"connection_id":175908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08737"} 
[2026-09-09 23:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977503488001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788974924000,"timestamp_ms":1788974924000,"timestamp_seconds":1788974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0873700e0"} 
[2026-09-09 23:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-09 23:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977503488001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977503488001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977503488001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":175908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:04:15] local.INFO: GPS data processed {"connection_id":175908,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:04:15] local.INFO: Acknowledgment sent {"connection_id":175908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:04:37] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:04:37] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:04:37] local.INFO: IMEI packet received {"connection_id":176140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":176140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:04:42] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:04:42] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:04:42] local.INFO: IMEI packet received {"connection_id":176140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":176140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:04:44] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:04:44] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:04:44] local.INFO: Packet analysis {"connection_id":176140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:04:44] local.INFO: Extracted packet for processing {"connection_id":176140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:04:44] 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-09-09 23:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":176140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:04:44] local.INFO: GPS data processed {"connection_id":176140,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:04:44] local.INFO: Acknowledgment sent {"connection_id":176140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:05:15] local.INFO: TCP Data received {"connection_id":176140,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:05:15] local.INFO: Processing buffer {"connection_id":176140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:05:15] local.INFO: Packet analysis {"connection_id":176140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:05:15] local.INFO: Extracted packet for processing {"connection_id":176140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:05:15] 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-09-09 23:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":176140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:05:15] local.INFO: GPS data processed {"connection_id":176140,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:05:15] local.INFO: Acknowledgment sent {"connection_id":176140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:05:38] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:05:38] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:05:38] local.INFO: IMEI packet received {"connection_id":175909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":175909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:05:42] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:05:42] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:05:42] local.INFO: IMEI packet received {"connection_id":175909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":175909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:05:43] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:05:43] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:05:43] local.INFO: Packet analysis {"connection_id":175909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:05:43] local.INFO: Extracted packet for processing {"connection_id":175909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":175909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:05:43] local.INFO: GPS data processed {"connection_id":175909,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:05:43] local.INFO: Acknowledgment sent {"connection_id":175909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:06:15] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:06:15] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:06:15] local.INFO: Packet analysis {"connection_id":175909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:06:15] local.INFO: Extracted packet for processing {"connection_id":175909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:06:15] 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-09-09 23:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":175909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:06:15] local.INFO: GPS data processed {"connection_id":175909,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:06:15] local.INFO: Acknowledgment sent {"connection_id":175909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:06:35] local.INFO: TCP Data received {"connection_id":178700,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:06:35] local.INFO: Processing buffer {"connection_id":178700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:06:35] local.INFO: IMEI packet received {"connection_id":178700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 23:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":178700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:06:37] local.INFO: TCP Data received {"connection_id":178701,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:06:37] local.INFO: Processing buffer {"connection_id":178701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:06:37] local.INFO: IMEI packet received {"connection_id":178701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":178701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:06:40] local.INFO: TCP Data received {"connection_id":178700,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:06:40] local.INFO: Processing buffer {"connection_id":178700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:06:40] local.INFO: IMEI packet received {"connection_id":178700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":178700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:06:42] local.INFO: TCP Data received {"connection_id":178700,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873d3e880100000000000000000000000000..."} 
[2026-09-09 23:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873d3e880100000000000000000000000000..."} 
[2026-09-09 23:06:42] local.INFO: Processing buffer {"connection_id":178700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873d3e880100000000000000000000000000..."} 
[2026-09-09 23:06:42] local.INFO: Packet analysis {"connection_id":178700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:06:42] local.INFO: Extracted packet for processing {"connection_id":178700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:06:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977670144001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8573868489737646078,"note":"Value kept but may cause issues"} 
[2026-09-09 23:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788975333000,"timestamp_ms":1788975333000,"timestamp_seconds":1788975333,"priority":1,"record_length":96,"hex_timestamp":"000001a0873d3e88"} 
[2026-09-09 23:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:06: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-09-09 23:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-09 23:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":178700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":178700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":178700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":178700,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 23:06:42] local.INFO: GPS data processed {"connection_id":178700,"processed":0,"errors":0,"total":1} 
[2026-09-09 23:06:42] local.INFO: Acknowledgment sent {"connection_id":178700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:06:43] local.INFO: TCP Data received {"connection_id":178701,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:06:43] local.INFO: Processing buffer {"connection_id":178701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:06:43] local.INFO: IMEI packet received {"connection_id":178701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":178701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:06:44] local.INFO: TCP Data received {"connection_id":178701,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:06:44] local.INFO: Processing buffer {"connection_id":178701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:06:44] local.INFO: Packet analysis {"connection_id":178701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:06:44] local.INFO: Extracted packet for processing {"connection_id":178701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:06:44] 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-09-09 23:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":178701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":178701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":178701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":178701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:06:44] local.INFO: GPS data processed {"connection_id":178701,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:06:44] local.INFO: Acknowledgment sent {"connection_id":178701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:07:13] local.INFO: TCP Data received {"connection_id":178700,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873ccd40012c888e0008edde90021000d023..."} 
[2026-09-09 23:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873ccd40012c888e0008edde90021000d023..."} 
[2026-09-09 23:07:13] local.INFO: Processing buffer {"connection_id":178700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873ccd40012c888e0008edde90021000d023..."} 
[2026-09-09 23:07:13] local.INFO: Packet analysis {"connection_id":178700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873c"} 
[2026-09-09 23:07:13] local.INFO: Extracted packet for processing {"connection_id":178700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873c"} 
[2026-09-09 23:07:13] local.INFO: GPS Element Parsed {"raw_longitude":747146752,"raw_latitude":149806736,"longitude_deg":74.7146752,"latitude_deg":14.9806736,"altitude":528,"angle":208,"satellites":35,"speed":52,"hex_longitude":"2c888e00","hex_latitude":"08edde90","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,43,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 23:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788975304000,"timestamp_ms":1788975304000,"timestamp_seconds":1788975304,"priority":1,"record_length":96,"hex_timestamp":"000001a0873ccd40"} 
[2026-09-09 23:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:07: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 23:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":178700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":178700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":178700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27571,"43":206,"9":56576,"24":52,"16":3893920429768704},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,9,24,16]} 
[2026-09-09 23:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 23:07:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 23:07:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:07:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27571,"unknown_43":206,"unknown_9":56576,"ignition":52,"odometer":null}} 
[2026-09-09 23:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":178700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:07:13] local.INFO: GPS data processed {"connection_id":178700,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:07:13] local.INFO: Acknowledgment sent {"connection_id":178700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:07:16] local.INFO: TCP Data received {"connection_id":178701,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:07:16] local.INFO: Processing buffer {"connection_id":178701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:07:16] local.INFO: Packet analysis {"connection_id":178701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:07:16] local.INFO: Extracted packet for processing {"connection_id":178701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":178701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":178701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":178701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":178701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:07:16] local.INFO: GPS data processed {"connection_id":178701,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:07:16] local.INFO: Acknowledgment sent {"connection_id":178701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:07:40] local.INFO: TCP Data received {"connection_id":177308,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:07:40] local.INFO: Processing buffer {"connection_id":177308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:07:40] local.INFO: IMEI packet received {"connection_id":177308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 23:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":177308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:07:42] local.INFO: TCP Data received {"connection_id":178702,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:07:42] local.INFO: Processing buffer {"connection_id":178702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:07:42] local.INFO: IMEI packet received {"connection_id":178702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":178702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:07:46] local.INFO: TCP Data received {"connection_id":177308,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:07:46] local.INFO: Processing buffer {"connection_id":177308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:07:46] local.INFO: IMEI packet received {"connection_id":177308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":177308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:07:47] local.INFO: TCP Data received {"connection_id":177308,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873d1f48012c88654008ed9200020e00ca22..."} 
[2026-09-09 23:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873d1f48012c88654008ed9200020e00ca22..."} 
[2026-09-09 23:07:47] local.INFO: Processing buffer {"connection_id":177308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873d1f48012c88654008ed9200020e00ca22..."} 
[2026-09-09 23:07:47] local.INFO: Packet analysis {"connection_id":177308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:07:47] local.INFO: Extracted packet for processing {"connection_id":177308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:07:47] local.INFO: GPS Element Parsed {"raw_longitude":747136320,"raw_latitude":149787136,"longitude_deg":74.713632,"latitude_deg":14.9787136,"altitude":526,"angle":202,"satellites":34,"speed":0,"hex_longitude":"2c886540","hex_latitude":"08ed9200","is_valid_coordinates":true} 
[2026-09-09 23:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977677824001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8606941799507914750,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788975325000,"timestamp_ms":1788975325000,"timestamp_seconds":1788975325,"priority":1,"record_length":96,"hex_timestamp":"000001a0873d1f48"} 
[2026-09-09 23:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 23:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977677824001,"66":27604,"43":206,"9":56576,"24":0,"16":3893920429768704,"44":-8606941799507914750},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,9,24,16,44]} 
[2026-09-09 23:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977677824001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:07:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 23:07:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:07:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8606941799507914750,"description":"Unknown IO ID 44"} 
[2026-09-09 23:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977677824001,"power":27604,"unknown_43":206,"unknown_9":56576,"ignition":0,"odometer":null,"unknown_44":-8606941799507914750}} 
[2026-09-09 23:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":177308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:07:47] local.INFO: GPS data processed {"connection_id":177308,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:07:47] local.INFO: Acknowledgment sent {"connection_id":177308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:07:47] local.INFO: TCP Data received {"connection_id":178702,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:07:47] local.INFO: Processing buffer {"connection_id":178702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:07:47] local.INFO: IMEI packet received {"connection_id":178702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":178702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:07:49] local.INFO: TCP Data received {"connection_id":178702,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:07:49] local.INFO: Processing buffer {"connection_id":178702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:07:49] local.INFO: Packet analysis {"connection_id":178702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:07:49] local.INFO: Extracted packet for processing {"connection_id":178702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":178702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":178702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":178702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":178702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:07:49] local.INFO: GPS data processed {"connection_id":178702,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:07:49] local.INFO: Acknowledgment sent {"connection_id":178702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:07:53] local.INFO: TCP Data received {"connection_id":178702,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:07:53] local.INFO: Processing buffer {"connection_id":178702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:07:53] local.INFO: Packet analysis {"connection_id":178702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:07:53] local.INFO: Extracted packet for processing {"connection_id":178702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":178702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":178702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":178702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":178702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:07:53] local.INFO: GPS data processed {"connection_id":178702,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:07:53] local.INFO: Acknowledgment sent {"connection_id":178702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:08:19] local.INFO: TCP Data received {"connection_id":177308,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873d5210012c88654008ed3e60020a00a624..."} 
[2026-09-09 23:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873d5210012c88654008ed3e60020a00a624..."} 
[2026-09-09 23:08:19] local.INFO: Processing buffer {"connection_id":177308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873d5210012c88654008ed3e60020a00a624..."} 
[2026-09-09 23:08:19] local.INFO: Packet analysis {"connection_id":177308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:08:19] local.INFO: Extracted packet for processing {"connection_id":177308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:08:19] local.INFO: GPS Element Parsed {"raw_longitude":747136320,"raw_latitude":149765728,"longitude_deg":74.713632,"latitude_deg":14.9765728,"altitude":522,"angle":166,"satellites":36,"speed":48,"hex_longitude":"2c886540","hex_latitude":"08ed3e60","is_valid_coordinates":true} 
[2026-09-09 23:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977683200001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8618411904813891582,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788975338000,"timestamp_ms":1788975338000,"timestamp_seconds":1788975338,"priority":1,"record_length":96,"hex_timestamp":"000001a0873d5210"} 
[2026-09-09 23:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977683200001,"66":27626,"151":206,"195":44544,"24":48,"16":3893920429768704,"44":-8618411904813891582},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,195,24,16,44]} 
[2026-09-09 23:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977683200001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:08:19] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-09 23:08:19] local.INFO: Unknown IO ID detected {"io_id":195,"value":44544,"description":"Unknown IO ID 195"} 
[2026-09-09 23:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8618411904813891582,"description":"Unknown IO ID 44"} 
[2026-09-09 23:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977683200001,"power":27626,"unknown_151":206,"unknown_195":44544,"ignition":48,"odometer":null,"unknown_44":-8618411904813891582}} 
[2026-09-09 23:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":177308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:08:19] local.INFO: GPS data processed {"connection_id":177308,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:08:19] local.INFO: Acknowledgment sent {"connection_id":177308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:08:37] local.INFO: TCP Data received {"connection_id":175910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:08:37] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:08:37] local.INFO: IMEI packet received {"connection_id":175910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":175910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:08:42] local.INFO: TCP Data received {"connection_id":175910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:08:42] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:08:42] local.INFO: IMEI packet received {"connection_id":175910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":175910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:08:43] local.INFO: TCP Data received {"connection_id":175910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:08:43] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:08:43] local.INFO: Packet analysis {"connection_id":175910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:08:43] local.INFO: Extracted packet for processing {"connection_id":175910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":175910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:08:43] local.INFO: GPS data processed {"connection_id":175910,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:08:43] local.INFO: Acknowledgment sent {"connection_id":175910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:08:45] local.INFO: TCP Data received {"connection_id":175911,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:08:45] local.INFO: Processing buffer {"connection_id":175911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:08:45] local.INFO: IMEI packet received {"connection_id":175911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 23:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":175911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:08:48] local.INFO: TCP Data received {"connection_id":175911,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:08:48] local.INFO: Processing buffer {"connection_id":175911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:08:48] local.INFO: IMEI packet received {"connection_id":175911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":175911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:08:50] local.INFO: TCP Data received {"connection_id":175911,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873d9478012c88574008ecedd0020100d226..."} 
[2026-09-09 23:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873d9478012c88574008ecedd0020100d226..."} 
[2026-09-09 23:08:50] local.INFO: Processing buffer {"connection_id":175911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873d9478012c88574008ecedd0020100d226..."} 
[2026-09-09 23:08:50] local.INFO: Packet analysis {"connection_id":175911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:08:50] local.INFO: Extracted packet for processing {"connection_id":175911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:08:50] local.INFO: GPS Element Parsed {"raw_longitude":747132736,"raw_latitude":149745104,"longitude_deg":74.7132736,"latitude_deg":14.9745104,"altitude":513,"angle":210,"satellites":38,"speed":52,"hex_longitude":"2c885740","hex_latitude":"08ecedd0","is_valid_coordinates":true} 
[2026-09-09 23:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977686528001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8618411904819372030,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788975355000,"timestamp_ms":1788975355000,"timestamp_seconds":1788975355,"priority":1,"record_length":96,"hex_timestamp":"000001a0873d9478"} 
[2026-09-09 23:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-09 23:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977686528001,"66":27593,"43":206,"9":56576,"24":52,"16":3893920429768704,"44":-8618411904819372030},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,9,24,16,44]} 
[2026-09-09 23:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977686528001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:08:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-09 23:08:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8618411904819372030,"description":"Unknown IO ID 44"} 
[2026-09-09 23:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977686528001,"power":27593,"unknown_43":206,"unknown_9":56576,"ignition":52,"odometer":null,"unknown_44":-8618411904819372030}} 
[2026-09-09 23:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":175911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:08:50] local.INFO: GPS data processed {"connection_id":175911,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:08:50] local.INFO: Acknowledgment sent {"connection_id":175911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:08:51] local.INFO: TCP Data received {"connection_id":175911,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873dd6e0012c88320008eca8b001ff00ba24..."} 
[2026-09-09 23:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873dd6e0012c88320008eca8b001ff00ba24..."} 
[2026-09-09 23:08:51] local.INFO: Processing buffer {"connection_id":175911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873dd6e0012c88320008eca8b001ff00ba24..."} 
[2026-09-09 23:08:51] local.INFO: Packet analysis {"connection_id":175911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:08:51] local.INFO: Extracted packet for processing {"connection_id":175911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873d"} 
[2026-09-09 23:08:51] local.INFO: GPS Element Parsed {"raw_longitude":747123200,"raw_latitude":149727408,"longitude_deg":74.71232,"latitude_deg":14.9727408,"altitude":511,"angle":186,"satellites":36,"speed":49,"hex_longitude":"2c883200","hex_latitude":"08eca8b0","is_valid_coordinates":true} 
[2026-09-09 23:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977690880001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8622352554498600958,"note":"Value kept but may cause issues"} 
[2026-09-09 23:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788975372000,"timestamp_ms":1788975372000,"timestamp_seconds":1788975372,"priority":1,"record_length":96,"hex_timestamp":"000001a0873dd6e0"} 
[2026-09-09 23:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 23:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977690880001,"66":27593,"45":206,"9":56576,"24":49,"16":3893920429768704,"44":-8622352554498600958},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-09 23:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977690880001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-09 23:08:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8622352554498600958,"description":"Unknown IO ID 44"} 
[2026-09-09 23:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977690880001,"power":27593,"unknown_45":206,"unknown_9":56576,"ignition":49,"odometer":null,"unknown_44":-8622352554498600958}} 
[2026-09-09 23:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":175911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:08:51] local.INFO: GPS data processed {"connection_id":175911,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:08:51] local.INFO: Acknowledgment sent {"connection_id":175911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:09:15] local.INFO: TCP Data received {"connection_id":175910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:09:15] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873b98a8012d34c14006aa42b8000901162a..."} 
[2026-09-09 23:09:15] local.INFO: Packet analysis {"connection_id":175910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:09:15] local.INFO: Extracted packet for processing {"connection_id":175910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873b"} 
[2026-09-09 23:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":9,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977580544001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788975225000,"timestamp_ms":1788975225000,"timestamp_seconds":1788975225,"priority":1,"record_length":96,"hex_timestamp":"000001a0873b98a8"} 
[2026-09-09 23:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:09:15] 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-09-09 23:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977580544001,"66":25538,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977580544001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977580544001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":175910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:09:15] local.INFO: GPS data processed {"connection_id":175910,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:09:15] local.INFO: Acknowledgment sent {"connection_id":175910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:09:24] local.INFO: TCP Data received {"connection_id":175911,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873e1948012c88408008ec62500209009028..."} 
[2026-09-09 23:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873e1948012c88408008ec62500209009028..."} 
[2026-09-09 23:09:24] local.INFO: Processing buffer {"connection_id":175911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873e1948012c88408008ec62500209009028..."} 
[2026-09-09 23:09:24] local.INFO: Packet analysis {"connection_id":175911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873e"} 
[2026-09-09 23:09:24] local.INFO: Extracted packet for processing {"connection_id":175911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873e"} 
[2026-09-09 23:09:24] local.INFO: GPS Element Parsed {"raw_longitude":747126912,"raw_latitude":149709392,"longitude_deg":74.7126912,"latitude_deg":14.9709392,"altitude":521,"angle":144,"satellites":40,"speed":34,"hex_longitude":"2c884080","hex_latitude":"08ec6250","is_valid_coordinates":true} 
[2026-09-09 23:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977695232001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8632837497385603071,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788975389000,"timestamp_ms":1788975389000,"timestamp_seconds":1788975389,"priority":1,"record_length":96,"hex_timestamp":"000001a0873e1948"} 
[2026-09-09 23:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-09 23:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977695232001,"66":27343,"45":206,"9":56576,"24":34,"16":3893920429768704,"44":-8632837497385603071},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-09 23:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977695232001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-09 23:09:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:09:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8632837497385603071,"description":"Unknown IO ID 44"} 
[2026-09-09 23:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977695232001,"power":27343,"unknown_45":206,"unknown_9":56576,"ignition":34,"odometer":null,"unknown_44":-8632837497385603071}} 
[2026-09-09 23:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":175911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:09:25] local.INFO: GPS data processed {"connection_id":175911,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:09:25] local.INFO: Acknowledgment sent {"connection_id":175911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:09:37] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:09:37] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:09:37] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:09:41] local.INFO: TCP Data received {"connection_id":176142,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:09:41] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:09:41] local.INFO: IMEI packet received {"connection_id":176142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 23:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":176142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:09:42] local.INFO: TCP Data received {"connection_id":176142,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:09:42] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:09:42] local.INFO: IMEI packet received {"connection_id":176142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":176142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:09:42] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:09:42] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:09:42] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:09:43] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:09:43] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:09:43] local.INFO: Packet analysis {"connection_id":176141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:09:43] local.INFO: Extracted packet for processing {"connection_id":176141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977657600001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788975526000,"timestamp_ms":1788975526000,"timestamp_seconds":1788975526,"priority":1,"record_length":96,"hex_timestamp":"000001a087403070"} 
[2026-09-09 23:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977657600001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977657600001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:09:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977657600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":176141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:09:43] local.INFO: GPS data processed {"connection_id":176141,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:09:43] local.INFO: Acknowledgment sent {"connection_id":176141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:09:44] local.INFO: TCP Data received {"connection_id":176142,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873effc00100000000000000000000000000..."} 
[2026-09-09 23:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873effc00100000000000000000000000000..."} 
[2026-09-09 23:09:44] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873effc00100000000000000000000000000..."} 
[2026-09-09 23:09:44] local.INFO: Packet analysis {"connection_id":176142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873e"} 
[2026-09-09 23:09:44] local.INFO: Extracted packet for processing {"connection_id":176142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873e"} 
[2026-09-09 23:09:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977699584001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8628756110227910654,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788975448000,"timestamp_ms":1788975448000,"timestamp_seconds":1788975448,"priority":1,"record_length":96,"hex_timestamp":"000001a0873effc0"} 
[2026-09-09 23:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:09: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-09-09 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 23:09: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-09-09 23: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-09-09 23:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":176142,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 23:09:44] local.INFO: GPS data processed {"connection_id":176142,"processed":0,"errors":0,"total":1} 
[2026-09-09 23:09:44] local.INFO: Acknowledgment sent {"connection_id":176142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:09:46] local.INFO: TCP Data received {"connection_id":176142,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873e6f38012c885ac008ec3c300210009327..."} 
[2026-09-09 23:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873e6f38012c885ac008ec3c300210009327..."} 
[2026-09-09 23:09:46] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873e6f38012c885ac008ec3c300210009327..."} 
[2026-09-09 23:09:46] local.INFO: Packet analysis {"connection_id":176142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873e"} 
[2026-09-09 23:09:46] local.INFO: Extracted packet for processing {"connection_id":176142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873e"} 
[2026-09-09 23:09:46] local.INFO: GPS Element Parsed {"raw_longitude":747133632,"raw_latitude":149699632,"longitude_deg":74.7133632,"latitude_deg":14.9699632,"altitude":528,"angle":147,"satellites":39,"speed":13,"hex_longitude":"2c885ac0","hex_latitude":"08ec3c30","is_valid_coordinates":true} 
[2026-09-09 23:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:09:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 23:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788975411000,"timestamp_ms":1788975411000,"timestamp_seconds":1788975411,"priority":1,"record_length":96,"hex_timestamp":"000001a0873e6f38"} 
[2026-09-09 23:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:09: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-09 23:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27691,"45":206,"9":56576,"24":13,"16":3893920429768704},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16]} 
[2026-09-09 23:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 23:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-09 23:09:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:09:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27691,"unknown_45":206,"unknown_9":56576,"ignition":13,"odometer":null}} 
[2026-09-09 23:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":176142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:09:46] local.INFO: GPS data processed {"connection_id":176142,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:09:46] local.INFO: Acknowledgment sent {"connection_id":176142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:10:15] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:10:15] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:10:15] local.INFO: Packet analysis {"connection_id":176141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:10:15] local.INFO: Extracted packet for processing {"connection_id":176141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977657600001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788975526000,"timestamp_ms":1788975526000,"timestamp_seconds":1788975526,"priority":1,"record_length":96,"hex_timestamp":"000001a087403070"} 
[2026-09-09 23:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:10:15] 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-09-09 23:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977657600001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977657600001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977657600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":176141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:10:15] local.INFO: GPS data processed {"connection_id":176141,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:10:15] local.INFO: Acknowledgment sent {"connection_id":176141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:10:21] local.INFO: TCP Data received {"connection_id":176142,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0873f55b00100000000000000000000000000..."} 
[2026-09-09 23:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0873f55b00100000000000000000000000000..."} 
[2026-09-09 23:10:21] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0873f55b00100000000000000000000000000..."} 
[2026-09-09 23:10:21] local.INFO: Packet analysis {"connection_id":176142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0873f"} 
[2026-09-09 23:10:21] local.INFO: Extracted packet for processing {"connection_id":176142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0873f"} 
[2026-09-09 23:10: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-09-09 23:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977705216001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8621367392091754494,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788975470000,"timestamp_ms":1788975470000,"timestamp_seconds":1788975470,"priority":1,"record_length":96,"hex_timestamp":"000001a0873f55b0"} 
[2026-09-09 23:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-09 23:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":176142,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 23:10:21] local.INFO: GPS data processed {"connection_id":176142,"processed":0,"errors":0,"total":1} 
[2026-09-09 23:10:21] local.INFO: Acknowledgment sent {"connection_id":176142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:10:37] local.INFO: TCP Data received {"connection_id":177309,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:10:37] local.INFO: Processing buffer {"connection_id":177309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:10:37] local.INFO: IMEI packet received {"connection_id":177309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":177309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:10:43] local.INFO: TCP Data received {"connection_id":177309,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:10:43] local.INFO: Processing buffer {"connection_id":177309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:10:43] local.INFO: IMEI packet received {"connection_id":177309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":177309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:10:45] local.INFO: TCP Data received {"connection_id":177309,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:10:45] local.INFO: Processing buffer {"connection_id":177309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:10:45] local.INFO: Packet analysis {"connection_id":177309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:10:45] local.INFO: Extracted packet for processing {"connection_id":177309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977657600001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788975526000,"timestamp_ms":1788975526000,"timestamp_seconds":1788975526,"priority":1,"record_length":96,"hex_timestamp":"000001a087403070"} 
[2026-09-09 23:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:10:45] 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-09-09 23:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977657600001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977657600001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:10:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977657600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":177309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:10:45] local.INFO: GPS data processed {"connection_id":177309,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:10:45] local.INFO: Acknowledgment sent {"connection_id":177309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:10:51] local.INFO: TCP Data received {"connection_id":175912,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:10:51] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:10:51] local.INFO: IMEI packet received {"connection_id":175912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 23:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":175912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:10:53] local.INFO: TCP Data received {"connection_id":175912,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:10:53] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:10:53] local.INFO: IMEI packet received {"connection_id":175912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":175912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:10:54] local.INFO: TCP Data received {"connection_id":175912,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:10:54] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:10:54] local.INFO: IMEI packet received {"connection_id":175912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":175912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:10:55] local.INFO: TCP Data received {"connection_id":175912,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a08740e038012c87dbc008eb38e0022700e326..."} 
[2026-09-09 23:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08740e038012c87dbc008eb38e0022700e326..."} 
[2026-09-09 23:10:55] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08740e038012c87dbc008eb38e0022700e326..."} 
[2026-09-09 23:10:55] local.INFO: Packet analysis {"connection_id":175912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:10:55] local.INFO: Extracted packet for processing {"connection_id":175912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:10:55] local.INFO: GPS Element Parsed {"raw_longitude":747101120,"raw_latitude":149633248,"longitude_deg":74.710112,"latitude_deg":14.9633248,"altitude":551,"angle":227,"satellites":38,"speed":25,"hex_longitude":"2c87dbc0","hex_latitude":"08eb38e0","is_valid_coordinates":true} 
[2026-09-09 23:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,54,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 23:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788975571000,"timestamp_ms":1788975571000,"timestamp_seconds":1788975571,"priority":1,"record_length":96,"hex_timestamp":"000001a08740e038"} 
[2026-09-09 23:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 23:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"54":206,"9":56576,"24":25,"16":3893920429768704},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16]} 
[2026-09-09 23:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 23:10:55] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-09 23:10:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:10:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_54":206,"unknown_9":56576,"ignition":25,"odometer":null}} 
[2026-09-09 23:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":175912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791491,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:10:55] local.INFO: GPS data processed {"connection_id":175912,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:10:55] local.INFO: Acknowledgment sent {"connection_id":175912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:10:56] local.INFO: TCP Data received {"connection_id":175912,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a08741c6b00100000000000000000000000000..."} 
[2026-09-09 23:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08741c6b00100000000000000000000000000..."} 
[2026-09-09 23:10:56] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08741c6b00100000000000000000000000000..."} 
[2026-09-09 23:10:56] local.INFO: Packet analysis {"connection_id":175912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08741"} 
[2026-09-09 23:10:56] local.INFO: Extracted packet for processing {"connection_id":175912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08741"} 
[2026-09-09 23:10:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-09 23:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977746176001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8657114714151002110,"note":"Value kept but may cause issues"} 
[2026-09-09 23:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788975630000,"timestamp_ms":1788975630000,"timestamp_seconds":1788975630,"priority":1,"record_length":96,"hex_timestamp":"000001a08741c6b0"} 
[2026-09-09 23:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 23:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":175912,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 23:10:56] local.INFO: GPS data processed {"connection_id":175912,"processed":0,"errors":0,"total":1} 
[2026-09-09 23:10:56] local.INFO: Acknowledgment sent {"connection_id":175912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:11:17] local.INFO: TCP Data received {"connection_id":177309,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:11:17] local.INFO: Processing buffer {"connection_id":177309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087403070012d34c14006aa42b8000701162a..."} 
[2026-09-09 23:11:17] local.INFO: Packet analysis {"connection_id":177309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:11:17] local.INFO: Extracted packet for processing {"connection_id":177309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08740"} 
[2026-09-09 23:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":7,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977657600001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788975526000,"timestamp_ms":1788975526000,"timestamp_seconds":1788975526,"priority":1,"record_length":96,"hex_timestamp":"000001a087403070"} 
[2026-09-09 23:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-09 23:11:17] 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-09-09 23: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-09-09 23:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977657600001,"66":25473,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977657600001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977657600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":177309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:11:17] local.INFO: GPS data processed {"connection_id":177309,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:11:17] local.INFO: Acknowledgment sent {"connection_id":177309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:11:37] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:11:37] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:11:37] local.INFO: IMEI packet received {"connection_id":176143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":176143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:11:40] local.INFO: TCP Data received {"connection_id":177310,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:11:40] local.INFO: Processing buffer {"connection_id":177310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:11:40] local.INFO: IMEI packet received {"connection_id":177310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 23:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":177310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:11:42] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:11:42] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:11:42] local.INFO: IMEI packet received {"connection_id":176143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":176143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:11:45] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087425350012d34c14006aa42b8000301162a..."} 
[2026-09-09 23:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087425350012d34c14006aa42b8000301162a..."} 
[2026-09-09 23:11:45] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087425350012d34c14006aa42b8000301162a..."} 
[2026-09-09 23:11:45] local.INFO: Packet analysis {"connection_id":176143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:11:45] local.INFO: Extracted packet for processing {"connection_id":176143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":3,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-09 23:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977734656001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788975666000,"timestamp_ms":1788975666000,"timestamp_seconds":1788975666,"priority":1,"record_length":96,"hex_timestamp":"000001a087425350"} 
[2026-09-09 23:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-09 23:11:45] 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-09-09 23:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977734656001,"66":25462,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977734656001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:11:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977734656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":176143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:11:45] local.INFO: GPS data processed {"connection_id":176143,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:11:45] local.INFO: Acknowledgment sent {"connection_id":176143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:11:50] local.INFO: TCP Data received {"connection_id":177310,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:11:50] local.INFO: Processing buffer {"connection_id":177310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:11:50] local.INFO: IMEI packet received {"connection_id":177310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":177310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:11:52] local.INFO: TCP Data received {"connection_id":177310,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a087413a10012c87b18008eb1190022e00e829..."} 
[2026-09-09 23:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087413a10012c87b18008eb1190022e00e829..."} 
[2026-09-09 23:11:52] local.INFO: Processing buffer {"connection_id":177310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087413a10012c87b18008eb1190022e00e829..."} 
[2026-09-09 23:11:52] local.INFO: Packet analysis {"connection_id":177310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08741"} 
[2026-09-09 23:11:52] local.INFO: Extracted packet for processing {"connection_id":177310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08741"} 
[2026-09-09 23:11:52] local.INFO: GPS Element Parsed {"raw_longitude":747090304,"raw_latitude":149623184,"longitude_deg":74.7090304,"latitude_deg":14.9623184,"altitude":558,"angle":232,"satellites":41,"speed":23,"hex_longitude":"2c87b180","hex_latitude":"08eb1190","is_valid_coordinates":true} 
[2026-09-09 23:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:11:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,54,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 23:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788975594000,"timestamp_ms":1788975594000,"timestamp_seconds":1788975594,"priority":1,"record_length":96,"hex_timestamp":"000001a087413a10"} 
[2026-09-09 23:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:11: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 23:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"54":206,"9":56576,"24":23,"16":3893920429768704},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16]} 
[2026-09-09 23:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 23:11:52] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-09 23:11:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:11:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_54":206,"unknown_9":56576,"ignition":23,"odometer":null}} 
[2026-09-09 23:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":177310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:11:52] local.INFO: GPS data processed {"connection_id":177310,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:11:52] local.INFO: Acknowledgment sent {"connection_id":177310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:12:17] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874262f0012d34bf8006aa4330000400b42a..."} 
[2026-09-09 23:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874262f0012d34bf8006aa4330000400b42a..."} 
[2026-09-09 23:12:17] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874262f0012d34bf8006aa4330000400b42a..."} 
[2026-09-09 23:12:17] local.INFO: Packet analysis {"connection_id":176143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:12:17] local.INFO: Extracted packet for processing {"connection_id":176143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821616,"longitude_deg":75.8431616,"latitude_deg":11.1821616,"altitude":4,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa4330","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977770496001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111212197347328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788975670000,"timestamp_ms":1788975670000,"timestamp_seconds":1788975670,"priority":1,"record_length":96,"hex_timestamp":"000001a0874262f0"} 
[2026-09-09 23:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:12: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-09-09 23:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-09 23:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977770496001,"66":27604,"97":206,"81":23296,"24":0,"16":403111212197347328,"45":3801389957847889920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977770496001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111212197347328,"km_value":403111212197347.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977770496001,"power":27604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-09 23:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":176143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:12:17] local.INFO: GPS data processed {"connection_id":176143,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:12:17] local.INFO: Acknowledgment sent {"connection_id":176143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:12:24] local.INFO: TCP Data received {"connection_id":177310,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0874220880100000000000000000000000000..."} 
[2026-09-09 23:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874220880100000000000000000000000000..."} 
[2026-09-09 23:12:24] local.INFO: Processing buffer {"connection_id":177310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874220880100000000000000000000000000..."} 
[2026-09-09 23:12:24] local.INFO: Packet analysis {"connection_id":177310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:12:24] local.INFO: Extracted packet for processing {"connection_id":177310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23: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-09-09 23:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977752064001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8669007031919603710,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788975653000,"timestamp_ms":1788975653000,"timestamp_seconds":1788975653,"priority":1,"record_length":96,"hex_timestamp":"000001a087422088"} 
[2026-09-09 23:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 23:12: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-09-09 23:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":177310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-09 23:12:24] local.INFO: GPS data processed {"connection_id":177310,"processed":0,"errors":0,"total":1} 
[2026-09-09 23:12:24] local.INFO: Acknowledgment sent {"connection_id":177310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:12:37] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:12:37] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:12:37] local.INFO: IMEI packet received {"connection_id":175913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":175913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:12:40] local.INFO: TCP Data received {"connection_id":178703,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:12:40] local.INFO: Processing buffer {"connection_id":178703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:12:40] local.INFO: IMEI packet received {"connection_id":178703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 23:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":178703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:12:42] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:12:42] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:12:42] local.INFO: IMEI packet received {"connection_id":175913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":175913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:12:44] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08742b4f8012d34bf4006aa4320000500b42b..."} 
[2026-09-09 23:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08742b4f8012d34bf4006aa4320000500b42b..."} 
[2026-09-09 23:12:44] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08742b4f8012d34bf4006aa4320000500b42b..."} 
[2026-09-09 23:12:44] local.INFO: Packet analysis {"connection_id":175913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:12:44] local.INFO: Extracted packet for processing {"connection_id":175913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821600,"longitude_deg":75.8431552,"latitude_deg":11.18216,"altitude":5,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-09 23:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977771520001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111216492314624,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638676992,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788975691000,"timestamp_ms":1788975691000,"timestamp_seconds":1788975691,"priority":1,"record_length":96,"hex_timestamp":"000001a08742b4f8"} 
[2026-09-09 23:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:12: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-09-09 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977771520001,"66":27843,"97":206,"81":23296,"24":0,"16":403111216492314624,"45":3800897376638676992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977771520001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111216492314624,"km_value":403111216492314.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638676992,"description":"Unknown IO ID 45"} 
[2026-09-09 23:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977771520001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638676992}} 
[2026-09-09 23:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":175913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:12:44] local.INFO: GPS data processed {"connection_id":175913,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:12:44] local.INFO: Acknowledgment sent {"connection_id":175913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:12:45] local.INFO: TCP Data received {"connection_id":178703,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:12:46] local.INFO: Processing buffer {"connection_id":178703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:12:46] local.INFO: IMEI packet received {"connection_id":178703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":178703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:12:47] local.INFO: TCP Data received {"connection_id":178703,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a087419000012c877fc008eadd20022900d828..."} 
[2026-09-09 23:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087419000012c877fc008eadd20022900d828..."} 
[2026-09-09 23:12:47] local.INFO: Processing buffer {"connection_id":178703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087419000012c877fc008eadd20022900d828..."} 
[2026-09-09 23:12:47] local.INFO: Packet analysis {"connection_id":178703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08741"} 
[2026-09-09 23:12:47] local.INFO: Extracted packet for processing {"connection_id":178703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08741"} 
[2026-09-09 23:12:47] local.INFO: GPS Element Parsed {"raw_longitude":747077568,"raw_latitude":149609760,"longitude_deg":74.7077568,"latitude_deg":14.960976,"altitude":553,"angle":216,"satellites":40,"speed":25,"hex_longitude":"2c877fc0","hex_latitude":"08eadd20","is_valid_coordinates":true} 
[2026-09-09 23:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:12:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,54,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-09 23:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788975616000,"timestamp_ms":1788975616000,"timestamp_seconds":1788975616,"priority":1,"record_length":96,"hex_timestamp":"000001a087419000"} 
[2026-09-09 23:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:12:47] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 23:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":178703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":178703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":178703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27571,"54":206,"9":56576,"24":25,"16":3893920429768704},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16]} 
[2026-09-09 23:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-09 23:12:47] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-09 23:12:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:12:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27571,"unknown_54":206,"unknown_9":56576,"ignition":25,"odometer":null}} 
[2026-09-09 23:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":178703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:12:47] local.INFO: GPS data processed {"connection_id":178703,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:12:47] local.INFO: Acknowledgment sent {"connection_id":178703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:13:15] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087430700012d34bf4006aa4330000600b42a..."} 
[2026-09-09 23:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087430700012d34bf4006aa4330000600b42a..."} 
[2026-09-09 23:13:15] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087430700012d34bf4006aa4330000600b42a..."} 
[2026-09-09 23:13:15] local.INFO: Packet analysis {"connection_id":175913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08743"} 
[2026-09-09 23:13:15] local.INFO: Extracted packet for processing {"connection_id":175913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08743"} 
[2026-09-09 23:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821616,"longitude_deg":75.8431552,"latitude_deg":11.1821616,"altitude":6,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa4330","is_valid_coordinates":true} 
[2026-09-09 23:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977776896001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111220787281920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894495232,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788975712000,"timestamp_ms":1788975712000,"timestamp_seconds":1788975712,"priority":1,"record_length":96,"hex_timestamp":"000001a087430700"} 
[2026-09-09 23:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-09 23:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977776896001,"66":27767,"97":206,"81":23296,"24":0,"16":403111220787281920,"45":3800827007894495232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977776896001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111220787281920,"km_value":403111220787281.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894495232,"description":"Unknown IO ID 45"} 
[2026-09-09 23:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977776896001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894495232}} 
[2026-09-09 23:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":175913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:13:15] local.INFO: GPS data processed {"connection_id":175913,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:13:15] local.INFO: Acknowledgment sent {"connection_id":175913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:13:18] local.INFO: TCP Data received {"connection_id":178703,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a08741e208012c877fc008eadd20022900d828..."} 
[2026-09-09 23:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08741e208012c877fc008eadd20022900d828..."} 
[2026-09-09 23:13:18] local.INFO: Processing buffer {"connection_id":178703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08741e208012c877fc008eadd20022900d828..."} 
[2026-09-09 23:13:18] local.INFO: Packet analysis {"connection_id":178703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08741"} 
[2026-09-09 23:13:18] local.INFO: Extracted packet for processing {"connection_id":178703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08741"} 
[2026-09-09 23:13:18] local.INFO: GPS Element Parsed {"raw_longitude":747077568,"raw_latitude":149609760,"longitude_deg":74.7077568,"latitude_deg":14.960976,"altitude":553,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2c877fc0","hex_latitude":"08eadd20","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977757696001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8683010412014395390,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788975637000,"timestamp_ms":1788975637000,"timestamp_seconds":1788975637,"priority":1,"record_length":96,"hex_timestamp":"000001a08741e208"} 
[2026-09-09 23:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 23:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977757696001,"66":27441,"54":206,"9":56576,"24":0,"16":3893920429768704,"44":-8683010412014395390},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16,44]} 
[2026-09-09 23:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977757696001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:13:18] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-09 23:13:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:13:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8683010412014395390,"description":"Unknown IO ID 44"} 
[2026-09-09 23:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977757696001,"power":27441,"unknown_54":206,"unknown_9":56576,"ignition":0,"odometer":null,"unknown_44":-8683010412014395390}} 
[2026-09-09 23:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":178703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:13:18] local.INFO: GPS data processed {"connection_id":178703,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:13:18] local.INFO: Acknowledgment sent {"connection_id":178703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:13:38] local.INFO: TCP Data received {"connection_id":178704,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:13:38] local.INFO: Processing buffer {"connection_id":178704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:13:38] local.INFO: IMEI packet received {"connection_id":178704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":178704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:13:40] local.INFO: TCP Data received {"connection_id":177311,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:13:40] local.INFO: Processing buffer {"connection_id":177311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:13:40] local.INFO: IMEI packet received {"connection_id":177311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-09 23:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":177311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:13:42] local.INFO: TCP Data received {"connection_id":178704,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:13:42] local.INFO: Processing buffer {"connection_id":178704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:13:42] local.INFO: IMEI packet received {"connection_id":178704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":178704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:13:43] local.INFO: TCP Data received {"connection_id":177311,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:13:43] local.INFO: Processing buffer {"connection_id":177311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:13:43] local.INFO: IMEI packet received {"connection_id":177311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":177311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:13:43] local.INFO: TCP Data received {"connection_id":178704,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087435908012d34bfc006aa4308000700b42b..."} 
[2026-09-09 23:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087435908012d34bfc006aa4308000700b42b..."} 
[2026-09-09 23:13:43] local.INFO: Processing buffer {"connection_id":178704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087435908012d34bfc006aa4308000700b42b..."} 
[2026-09-09 23:13:43] local.INFO: Packet analysis {"connection_id":178704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08743"} 
[2026-09-09 23:13:43] local.INFO: Extracted packet for processing {"connection_id":178704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08743"} 
[2026-09-09 23:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111821576,"longitude_deg":75.843168,"latitude_deg":11.1821576,"altitude":7,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa4308","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977782272001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111229377216512,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894499328,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788975733000,"timestamp_ms":1788975733000,"timestamp_seconds":1788975733,"priority":1,"record_length":96,"hex_timestamp":"000001a087435908"} 
[2026-09-09 23:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:13: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-09-09 23:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 23:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977782272001,"66":27658,"97":206,"81":23296,"24":0,"16":403111229377216512,"45":3800827007894499328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977782272001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111229377216512,"km_value":403111229377216.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894499328,"description":"Unknown IO ID 45"} 
[2026-09-09 23:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977782272001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894499328}} 
[2026-09-09 23:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":178704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:13:44] local.INFO: GPS data processed {"connection_id":178704,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:13:44] local.INFO: Acknowledgment sent {"connection_id":178704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:13:46] local.INFO: TCP Data received {"connection_id":177311,"ip":"117.224.247.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:13:46] local.INFO: Processing buffer {"connection_id":177311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-09 23:13:46] local.INFO: IMEI packet received {"connection_id":177311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-09 23:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":177311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:13:47] local.INFO: TCP Data received {"connection_id":177311,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a087423410012c875e0008eab8a0022b00da26..."} 
[2026-09-09 23:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087423410012c875e0008eab8a0022b00da26..."} 
[2026-09-09 23:13:47] local.INFO: Processing buffer {"connection_id":177311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087423410012c875e0008eab8a0022b00da26..."} 
[2026-09-09 23:13:47] local.INFO: Packet analysis {"connection_id":177311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:13:47] local.INFO: Extracted packet for processing {"connection_id":177311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:13:47] local.INFO: GPS Element Parsed {"raw_longitude":747068928,"raw_latitude":149600416,"longitude_deg":74.7068928,"latitude_deg":14.9600416,"altitude":555,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2c875e00","hex_latitude":"08eab8a0","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977763072001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8683010412014395390,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788975658000,"timestamp_ms":1788975658000,"timestamp_seconds":1788975658,"priority":1,"record_length":96,"hex_timestamp":"000001a087423410"} 
[2026-09-09 23:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-09 23:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977763072001,"66":27571,"54":206,"9":56576,"24":0,"16":3893920429768704,"44":-8683010412014395390},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16,44]} 
[2026-09-09 23:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977763072001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:13:47] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-09 23:13:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:13:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8683010412014395390,"description":"Unknown IO ID 44"} 
[2026-09-09 23:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977763072001,"power":27571,"unknown_54":206,"unknown_9":56576,"ignition":0,"odometer":null,"unknown_44":-8683010412014395390}} 
[2026-09-09 23:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":177311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:13:47] local.INFO: GPS data processed {"connection_id":177311,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:13:47] local.INFO: Acknowledgment sent {"connection_id":177311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:13:51] local.INFO: TCP Data received {"connection_id":177311,"ip":"117.224.247.235","data_length":795,"data_hex":"000000000000030f8e0a000001a087428618012c87348008ea9050022800e429..."} 
[2026-09-09 23:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087428618012c87348008ea9050022800e429..."} 
[2026-09-09 23:13:51] local.INFO: Processing buffer {"connection_id":177311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087428618012c87348008ea9050022800e429..."} 
[2026-09-09 23:13:51] local.INFO: Packet analysis {"connection_id":177311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:13:51] local.INFO: Extracted packet for processing {"connection_id":177311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08742"} 
[2026-09-09 23:13:51] local.INFO: GPS Element Parsed {"raw_longitude":747058304,"raw_latitude":149590096,"longitude_deg":74.7058304,"latitude_deg":14.9590096,"altitude":552,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2c873480","hex_latitude":"08ea9050","is_valid_coordinates":true} 
[2026-09-09 23:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977768448001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3893920429768704,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8692510192480772094,"note":"Value kept but may cause issues"} 
[2026-09-09 23:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788975679000,"timestamp_ms":1788975679000,"timestamp_seconds":1788975679,"priority":1,"record_length":96,"hex_timestamp":"000001a087428618"} 
[2026-09-09 23:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-09 23:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-09 23:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.247.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-09 23:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-09 23:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977768448001,"66":27484,"54":206,"9":56576,"24":0,"16":3893920429768704,"44":-8692510192480772094},"client_ip":"117.224.247.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,9,24,16,44]} 
[2026-09-09 23:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-09 23:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-09 23:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977768448001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:13:51] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-09 23:13:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-09 23:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3893920429768704,"km_value":3893920429768.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8692510192480772094,"description":"Unknown IO ID 44"} 
[2026-09-09 23:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977768448001,"power":27484,"unknown_54":206,"unknown_9":56576,"ignition":0,"odometer":null,"unknown_44":-8692510192480772094}} 
[2026-09-09 23:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":177311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:13:51] local.INFO: GPS data processed {"connection_id":177311,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:13:51] local.INFO: Acknowledgment sent {"connection_id":177311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:14:14] local.INFO: TCP Data received {"connection_id":178704,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08743ab10012d34bf4006aa4308000800b42b..."} 
[2026-09-09 23:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08743ab10012d34bf4006aa4308000800b42b..."} 
[2026-09-09 23:14:14] local.INFO: Processing buffer {"connection_id":178704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08743ab10012d34bf4006aa4308000800b42b..."} 
[2026-09-09 23:14:14] local.INFO: Packet analysis {"connection_id":178704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08743"} 
[2026-09-09 23:14:14] local.INFO: Extracted packet for processing {"connection_id":178704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08743"} 
[2026-09-09 23:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821576,"longitude_deg":75.8431552,"latitude_deg":11.1821576,"altitude":8,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa4308","is_valid_coordinates":true} 
[2026-09-09 23:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977787648001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111237967151104,"note":"Value kept but may cause issues"} 
[2026-09-09 23:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382844416,"note":"Value kept but may cause issues"} 
[2026-09-09 23:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788975754000,"timestamp_ms":1788975754000,"timestamp_seconds":1788975754,"priority":1,"record_length":96,"hex_timestamp":"000001a08743ab10"} 
[2026-09-09 23:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 23:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":178704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":178704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":178704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977787648001,"66":27343,"97":206,"81":23296,"24":0,"16":403111237967151104,"45":3800967745382844416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977787648001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111237967151104,"km_value":403111237967151.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382844416,"description":"Unknown IO ID 45"} 
[2026-09-09 23:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977787648001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800967745382844416}} 
[2026-09-09 23:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":178704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:14:15] local.INFO: GPS data processed {"connection_id":178704,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:14:15] local.INFO: Acknowledgment sent {"connection_id":178704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:14:37] local.INFO: TCP Data received {"connection_id":177312,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:14:37] local.INFO: Processing buffer {"connection_id":177312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:14:37] local.INFO: IMEI packet received {"connection_id":177312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":177312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:14:42] local.INFO: TCP Data received {"connection_id":177312,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:14:42] local.INFO: Processing buffer {"connection_id":177312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:14:42] local.INFO: IMEI packet received {"connection_id":177312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":177312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:14:43] local.INFO: TCP Data received {"connection_id":177312,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08743fd18012d34bf4006aa4310000700b42a..."} 
[2026-09-09 23:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08743fd18012d34bf4006aa4310000700b42a..."} 
[2026-09-09 23:14:43] local.INFO: Processing buffer {"connection_id":177312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08743fd18012d34bf4006aa4310000700b42a..."} 
[2026-09-09 23:14:43] local.INFO: Packet analysis {"connection_id":177312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08743"} 
[2026-09-09 23:14:43] local.INFO: Extracted packet for processing {"connection_id":177312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08743"} 
[2026-09-09 23:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821584,"longitude_deg":75.8431552,"latitude_deg":11.1821584,"altitude":7,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa4310","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977793024001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111242262118400,"note":"Value kept but may cause issues"} 
[2026-09-09 23:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894489088,"note":"Value kept but may cause issues"} 
[2026-09-09 23:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788975775000,"timestamp_ms":1788975775000,"timestamp_seconds":1788975775,"priority":1,"record_length":96,"hex_timestamp":"000001a08743fd18"} 
[2026-09-09 23:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:14: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-09-09 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 23:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977793024001,"66":27234,"97":206,"81":23296,"24":0,"16":403111242262118400,"45":3800827007894489088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977793024001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:14:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111242262118400,"km_value":403111242262118.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894489088,"description":"Unknown IO ID 45"} 
[2026-09-09 23:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977793024001,"power":27234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894489088}} 
[2026-09-09 23:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":177312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:14:43] local.INFO: GPS data processed {"connection_id":177312,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:14:43] local.INFO: Acknowledgment sent {"connection_id":177312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:15:14] local.INFO: TCP Data received {"connection_id":177312,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08744c838012d34c58006aa4ec00007014b2a..."} 
[2026-09-09 23:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08744c838012d34c58006aa4ec00007014b2a..."} 
[2026-09-09 23:15:14] local.INFO: Processing buffer {"connection_id":177312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08744c838012d34c58006aa4ec00007014b2a..."} 
[2026-09-09 23:15:14] local.INFO: Packet analysis {"connection_id":177312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08744"} 
[2026-09-09 23:15:14] local.INFO: Extracted packet for processing {"connection_id":177312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08744"} 
[2026-09-09 23:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111824576,"longitude_deg":75.8433152,"latitude_deg":11.1824576,"altitude":7,"angle":331,"satellites":42,"speed":1,"hex_longitude":"2d34c580","hex_latitude":"06aa4ec0","is_valid_coordinates":true} 
[2026-09-09 23:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977809664001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111461305450496,"note":"Value kept but may cause issues"} 
[2026-09-09 23:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987804160,"note":"Value kept but may cause issues"} 
[2026-09-09 23:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788975827000,"timestamp_ms":1788975827000,"timestamp_seconds":1788975827,"priority":1,"record_length":96,"hex_timestamp":"000001a08744c838"} 
[2026-09-09 23:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-09 23:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977809664001,"66":27713,"97":206,"81":23296,"24":1,"16":403111461305450496,"45":3802726963987804160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977809664001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111461305450496,"km_value":403111461305450.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987804160,"description":"Unknown IO ID 45"} 
[2026-09-09 23:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977809664001,"power":27713,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802726963987804160}} 
[2026-09-09 23:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":177312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:15:15] local.INFO: GPS data processed {"connection_id":177312,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:15:15] local.INFO: Acknowledgment sent {"connection_id":177312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:15:37] local.INFO: TCP Data received {"connection_id":178705,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:15:37] local.INFO: Processing buffer {"connection_id":178705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:15:37] local.INFO: IMEI packet received {"connection_id":178705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":178705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:15:42] local.INFO: TCP Data received {"connection_id":178705,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:15:42] local.INFO: Processing buffer {"connection_id":178705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:15:42] local.INFO: IMEI packet received {"connection_id":178705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":178705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:15:43] local.INFO: TCP Data received {"connection_id":178705,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087451a40012d34c5c006aa4f40000b014b28..."} 
[2026-09-09 23:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087451a40012d34c5c006aa4f40000b014b28..."} 
[2026-09-09 23:15:43] local.INFO: Processing buffer {"connection_id":178705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087451a40012d34c5c006aa4f40000b014b28..."} 
[2026-09-09 23:15:43] local.INFO: Packet analysis {"connection_id":178705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08745"} 
[2026-09-09 23:15:43] local.INFO: Extracted packet for processing {"connection_id":178705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08745"} 
[2026-09-09 23:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111824704,"longitude_deg":75.8433216,"latitude_deg":11.1824704,"altitude":11,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d34c5c0","hex_latitude":"06aa4f40","is_valid_coordinates":true} 
[2026-09-09 23:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977811712001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111469895385088,"note":"Value kept but may cause issues"} 
[2026-09-09 23:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499698688,"note":"Value kept but may cause issues"} 
[2026-09-09 23:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788975848000,"timestamp_ms":1788975848000,"timestamp_seconds":1788975848,"priority":1,"record_length":96,"hex_timestamp":"000001a087451a40"} 
[2026-09-09 23:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-09 23:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977811712001,"66":27658,"97":206,"81":23296,"24":0,"16":403111469895385088,"45":3802586226499698688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977811712001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111469895385088,"km_value":403111469895385.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499698688,"description":"Unknown IO ID 45"} 
[2026-09-09 23:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977811712001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499698688}} 
[2026-09-09 23:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":178705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:15:43] local.INFO: GPS data processed {"connection_id":178705,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:15:43] local.INFO: Acknowledgment sent {"connection_id":178705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:16:15] local.INFO: TCP Data received {"connection_id":178705,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087456c48012d34c68006aa4ef0000d014b2b..."} 
[2026-09-09 23:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087456c48012d34c68006aa4ef0000d014b2b..."} 
[2026-09-09 23:16:15] local.INFO: Processing buffer {"connection_id":178705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087456c48012d34c68006aa4ef0000d014b2b..."} 
[2026-09-09 23:16:15] local.INFO: Packet analysis {"connection_id":178705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08745"} 
[2026-09-09 23:16:15] local.INFO: Extracted packet for processing {"connection_id":178705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08745"} 
[2026-09-09 23:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111824624,"longitude_deg":75.8433408,"latitude_deg":11.1824624,"altitude":13,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4ef0","is_valid_coordinates":true} 
[2026-09-09 23:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977817088001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111478485319680,"note":"Value kept but may cause issues"} 
[2026-09-09 23:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243909120,"note":"Value kept but may cause issues"} 
[2026-09-09 23:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788975869000,"timestamp_ms":1788975869000,"timestamp_seconds":1788975869,"priority":1,"record_length":96,"hex_timestamp":"000001a087456c48"} 
[2026-09-09 23:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:16: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-09-09 23:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 23:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977817088001,"66":27767,"97":206,"81":23296,"24":0,"16":403111478485319680,"45":3802656595243909120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977817088001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111478485319680,"km_value":403111478485319.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243909120,"description":"Unknown IO ID 45"} 
[2026-09-09 23:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977817088001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802656595243909120}} 
[2026-09-09 23:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":178705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:16:15] local.INFO: GPS data processed {"connection_id":178705,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:16:15] local.INFO: Acknowledgment sent {"connection_id":178705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:16:37] local.INFO: TCP Data received {"connection_id":176144,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:16:37] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:16:37] local.INFO: IMEI packet received {"connection_id":176144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":176144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:16:42] local.INFO: TCP Data received {"connection_id":176144,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:16:42] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:16:42] local.INFO: IMEI packet received {"connection_id":176144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":176144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:16:42] local.INFO: TCP Data received {"connection_id":176144,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:16:42] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:16:42] local.INFO: IMEI packet received {"connection_id":176144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":176144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:16:43] local.INFO: TCP Data received {"connection_id":176144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08745be50012d34c6c006aa4ed0000d014b29..."} 
[2026-09-09 23:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08745be50012d34c6c006aa4ed0000d014b29..."} 
[2026-09-09 23:16:43] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08745be50012d34c6c006aa4ed0000d014b29..."} 
[2026-09-09 23:16:43] local.INFO: Packet analysis {"connection_id":176144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08745"} 
[2026-09-09 23:16:43] local.INFO: Extracted packet for processing {"connection_id":176144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08745"} 
[2026-09-09 23:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111824592,"longitude_deg":75.8433472,"latitude_deg":11.1824592,"altitude":13,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4ed0","is_valid_coordinates":true} 
[2026-09-09 23:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977822464001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111487075254272,"note":"Value kept but may cause issues"} 
[2026-09-09 23:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476421632,"note":"Value kept but may cause issues"} 
[2026-09-09 23:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788975890000,"timestamp_ms":1788975890000,"timestamp_seconds":1788975890,"priority":1,"record_length":96,"hex_timestamp":"000001a08745be50"} 
[2026-09-09 23:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:16: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-09-09 23:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-09 23:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977822464001,"66":27745,"97":206,"81":23296,"24":0,"16":403111487075254272,"45":3802867701476421632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977822464001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111487075254272,"km_value":403111487075254.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476421632,"description":"Unknown IO ID 45"} 
[2026-09-09 23:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977822464001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701476421632}} 
[2026-09-09 23:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":176144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:16:43] local.INFO: GPS data processed {"connection_id":176144,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:16:43] local.INFO: Acknowledgment sent {"connection_id":176144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:16:46] local.INFO: TCP Data received {"connection_id":176144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087461058012d34c68006aa4ea8000c014b2a..."} 
[2026-09-09 23:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087461058012d34c68006aa4ea8000c014b2a..."} 
[2026-09-09 23:16:46] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087461058012d34c68006aa4ea8000c014b2a..."} 
[2026-09-09 23:16:46] local.INFO: Packet analysis {"connection_id":176144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08746"} 
[2026-09-09 23:16:46] local.INFO: Extracted packet for processing {"connection_id":176144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08746"} 
[2026-09-09 23:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111824552,"longitude_deg":75.8433408,"latitude_deg":11.1824552,"altitude":12,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa4ea8","is_valid_coordinates":true} 
[2026-09-09 23:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977827840001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111491370221568,"note":"Value kept but may cause issues"} 
[2026-09-09 23:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220591104,"note":"Value kept but may cause issues"} 
[2026-09-09 23:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788975911000,"timestamp_ms":1788975911000,"timestamp_seconds":1788975911,"priority":1,"record_length":96,"hex_timestamp":"000001a087461058"} 
[2026-09-09 23:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-09 23:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977827840001,"66":27658,"97":206,"81":23296,"24":0,"16":403111491370221568,"45":3802938070220591104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977827840001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111491370221568,"km_value":403111491370221.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220591104,"description":"Unknown IO ID 45"} 
[2026-09-09 23:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977827840001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220591104}} 
[2026-09-09 23:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":176144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:16:46] local.INFO: GPS data processed {"connection_id":176144,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:16:46] local.INFO: Acknowledgment sent {"connection_id":176144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:17:17] local.INFO: TCP Data received {"connection_id":176144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087466260012d34c6c006aa4eb8000c014b2a..."} 
[2026-09-09 23:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087466260012d34c6c006aa4eb8000c014b2a..."} 
[2026-09-09 23:17:17] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087466260012d34c6c006aa4eb8000c014b2a..."} 
[2026-09-09 23:17:17] local.INFO: Packet analysis {"connection_id":176144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08746"} 
[2026-09-09 23:17:17] local.INFO: Extracted packet for processing {"connection_id":176144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08746"} 
[2026-09-09 23:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111824568,"longitude_deg":75.8433472,"latitude_deg":11.1824568,"altitude":12,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4eb8","is_valid_coordinates":true} 
[2026-09-09 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977833216001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111495665188864,"note":"Value kept but may cause issues"} 
[2026-09-09 23:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476403200,"note":"Value kept but may cause issues"} 
[2026-09-09 23:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788975932000,"timestamp_ms":1788975932000,"timestamp_seconds":1788975932,"priority":1,"record_length":96,"hex_timestamp":"000001a087466260"} 
[2026-09-09 23:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:17: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-09-09 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-09 23:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977833216001,"66":27332,"97":206,"81":23296,"24":0,"16":403111495665188864,"45":3802867701476403200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977833216001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111495665188864,"km_value":403111495665188.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476403200,"description":"Unknown IO ID 45"} 
[2026-09-09 23:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977833216001,"power":27332,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701476403200}} 
[2026-09-09 23:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":176144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:17:17] local.INFO: GPS data processed {"connection_id":176144,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:17:17] local.INFO: Acknowledgment sent {"connection_id":176144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:17:37] local.INFO: TCP Data received {"connection_id":178706,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:17:37] local.INFO: Processing buffer {"connection_id":178706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:17:37] local.INFO: IMEI packet received {"connection_id":178706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":178706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:17:42] local.INFO: TCP Data received {"connection_id":178706,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:17:42] local.INFO: Processing buffer {"connection_id":178706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:17:42] local.INFO: IMEI packet received {"connection_id":178706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":178706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:17:43] local.INFO: TCP Data received {"connection_id":178706,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08746b468012d34c6c006aa4f18000d014b2b..."} 
[2026-09-09 23:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08746b468012d34c6c006aa4f18000d014b2b..."} 
[2026-09-09 23:17:43] local.INFO: Processing buffer {"connection_id":178706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08746b468012d34c6c006aa4f18000d014b2b..."} 
[2026-09-09 23:17:43] local.INFO: Packet analysis {"connection_id":178706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08746"} 
[2026-09-09 23:17:43] local.INFO: Extracted packet for processing {"connection_id":178706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08746"} 
[2026-09-09 23:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111824664,"longitude_deg":75.8433472,"latitude_deg":11.1824664,"altitude":13,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4f18","is_valid_coordinates":true} 
[2026-09-09 23:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977838592001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403111499960156160,"note":"Value kept but may cause issues"} 
[2026-09-09 23:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220584960,"note":"Value kept but may cause issues"} 
[2026-09-09 23:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788975953000,"timestamp_ms":1788975953000,"timestamp_seconds":1788975953,"priority":1,"record_length":96,"hex_timestamp":"000001a08746b468"} 
[2026-09-09 23:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:17: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-09-09 23:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-09 23:17: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-09-09 23:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977838592001,"66":27321,"97":206,"81":23296,"24":0,"16":403111499960156160,"45":3802938070220584960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977838592001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403111499960156160,"km_value":403111499960156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220584960,"description":"Unknown IO ID 45"} 
[2026-09-09 23:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977838592001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802938070220584960}} 
[2026-09-09 23:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":178706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:17:43] local.INFO: GPS data processed {"connection_id":178706,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:17:43] local.INFO: Acknowledgment sent {"connection_id":178706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:18:15] local.INFO: TCP Data received {"connection_id":178706,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08747f8a0012d350ec006aa6a40001101382b..."} 
[2026-09-09 23:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08747f8a0012d350ec006aa6a40001101382b..."} 
[2026-09-09 23:18:15] local.INFO: Processing buffer {"connection_id":178706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08747f8a0012d350ec006aa6a40001101382b..."} 
[2026-09-09 23:18:15] local.INFO: Packet analysis {"connection_id":178706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08747"} 
[2026-09-09 23:18:15] local.INFO: Extracted packet for processing {"connection_id":178706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08747"} 
[2026-09-09 23:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758451904,"raw_latitude":111831616,"longitude_deg":75.8451904,"latitude_deg":11.1831616,"altitude":17,"angle":312,"satellites":43,"speed":11,"hex_longitude":"2d350ec0","hex_latitude":"06aa6a40","is_valid_coordinates":true} 
[2026-09-09 23:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977864960001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403112556522110976,"note":"Value kept but may cause issues"} 
[2026-09-09 23:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823415374778034176,"note":"Value kept but may cause issues"} 
[2026-09-09 23:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788976036000,"timestamp_ms":1788976036000,"timestamp_seconds":1788976036,"priority":1,"record_length":96,"hex_timestamp":"000001a08747f8a0"} 
[2026-09-09 23:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-09 23:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":178706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":178706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":178706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977864960001,"66":27267,"97":206,"81":23296,"24":11,"16":403112556522110976,"45":3823415374778034176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977864960001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403112556522110976,"km_value":403112556522111.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823415374778034176,"description":"Unknown IO ID 45"} 
[2026-09-09 23:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977864960001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":11,"odometer":null,"unknown_45":3823415374778034176}} 
[2026-09-09 23:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":178706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:18:15] local.INFO: GPS data processed {"connection_id":178706,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:18:15] local.INFO: Acknowledgment sent {"connection_id":178706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:18:42] local.INFO: TCP Data received {"connection_id":178707,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:18:42] local.INFO: Processing buffer {"connection_id":178707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:18:42] local.INFO: IMEI packet received {"connection_id":178707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":178707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:18:46] local.INFO: TCP Data received {"connection_id":178707,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:18:46] local.INFO: Processing buffer {"connection_id":178707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:18:46] local.INFO: IMEI packet received {"connection_id":178707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":178707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:18:48] local.INFO: TCP Data received {"connection_id":178707,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08747fc88012d350d8006aa6af8001101282b..."} 
[2026-09-09 23:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08747fc88012d350d8006aa6af8001101282b..."} 
[2026-09-09 23:18:48] local.INFO: Processing buffer {"connection_id":178707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08747fc88012d350d8006aa6af8001101282b..."} 
[2026-09-09 23:18:48] local.INFO: Packet analysis {"connection_id":178707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08747"} 
[2026-09-09 23:18:48] local.INFO: Extracted packet for processing {"connection_id":178707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08747"} 
[2026-09-09 23:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758451584,"raw_latitude":111831800,"longitude_deg":75.8451584,"latitude_deg":11.18318,"altitude":17,"angle":296,"satellites":43,"speed":13,"hex_longitude":"2d350d80","hex_latitude":"06aa6af8","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977865216001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403112573701980160,"note":"Value kept but may cause issues"} 
[2026-09-09 23:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823204268545556480,"note":"Value kept but may cause issues"} 
[2026-09-09 23:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788976037000,"timestamp_ms":1788976037000,"timestamp_seconds":1788976037,"priority":1,"record_length":96,"hex_timestamp":"000001a08747fc88"} 
[2026-09-09 23:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 23:18: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-09-09 23: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-09-09 23:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":178707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":178707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":178707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977865216001,"66":27267,"97":206,"81":23296,"24":13,"16":403112573701980160,"45":3823204268545556480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977865216001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403112573701980160,"km_value":403112573701980.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823204268545556480,"description":"Unknown IO ID 45"} 
[2026-09-09 23:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977865216001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3823204268545556480}} 
[2026-09-09 23:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":178707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:18:48] local.INFO: GPS data processed {"connection_id":178707,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:18:48] local.INFO: Acknowledgment sent {"connection_id":178707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:19:19] local.INFO: TCP Data received {"connection_id":178707,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087480840012d35098006aa6cb00010011c2c..."} 
[2026-09-09 23:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087480840012d35098006aa6cb00010011c2c..."} 
[2026-09-09 23:19:19] local.INFO: Processing buffer {"connection_id":178707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087480840012d35098006aa6cb00010011c2c..."} 
[2026-09-09 23:19:19] local.INFO: Packet analysis {"connection_id":178707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08748"} 
[2026-09-09 23:19:19] local.INFO: Extracted packet for processing {"connection_id":178707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08748"} 
[2026-09-09 23:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758450560,"raw_latitude":111832240,"longitude_deg":75.845056,"latitude_deg":11.183224,"altitude":16,"angle":284,"satellites":44,"speed":16,"hex_longitude":"2d350980","hex_latitude":"06aa6cb0","is_valid_coordinates":true} 
[2026-09-09 23:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977865472001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403112629536555008,"note":"Value kept but may cause issues"} 
[2026-09-09 23:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822852424824715264,"note":"Value kept but may cause issues"} 
[2026-09-09 23:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788976040000,"timestamp_ms":1788976040000,"timestamp_seconds":1788976040,"priority":1,"record_length":96,"hex_timestamp":"000001a087480840"} 
[2026-09-09 23:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 23:19: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-09-09 23:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":178707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":178707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":178707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977865472001,"66":27137,"97":206,"81":23296,"24":16,"16":403112629536555008,"45":3822852424824715264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977865472001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403112629536555008,"km_value":403112629536555.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822852424824715264,"description":"Unknown IO ID 45"} 
[2026-09-09 23:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977865472001,"power":27137,"unknown_97":206,"unknown_81":23296,"ignition":16,"odometer":null,"unknown_45":3822852424824715264}} 
[2026-09-09 23:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":178707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:19:19] local.INFO: GPS data processed {"connection_id":178707,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:19:19] local.INFO: Acknowledgment sent {"connection_id":178707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:19:37] local.INFO: TCP Data received {"connection_id":175914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:19:37] local.INFO: Processing buffer {"connection_id":175914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:19:37] local.INFO: IMEI packet received {"connection_id":175914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":175914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:19:37] local.INFO: TCP Data received {"connection_id":175914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:19:37] local.INFO: Processing buffer {"connection_id":175914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:19:37] local.INFO: IMEI packet received {"connection_id":175914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":175914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:19:42] local.INFO: TCP Data received {"connection_id":175914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:19:42] local.INFO: Processing buffer {"connection_id":175914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:19:42] local.INFO: IMEI packet received {"connection_id":175914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":175914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:19:43] local.INFO: TCP Data received {"connection_id":175914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874846c0012d34e58006aa7890000b01232b..."} 
[2026-09-09 23:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874846c0012d34e58006aa7890000b01232b..."} 
[2026-09-09 23:19:43] local.INFO: Processing buffer {"connection_id":175914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874846c0012d34e58006aa7890000b01232b..."} 
[2026-09-09 23:19:43] local.INFO: Packet analysis {"connection_id":175914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08748"} 
[2026-09-09 23:19:43] local.INFO: Extracted packet for processing {"connection_id":175914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08748"} 
[2026-09-09 23:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758441344,"raw_latitude":111835280,"longitude_deg":75.8441344,"latitude_deg":11.183528,"altitude":11,"angle":291,"satellites":43,"speed":29,"hex_longitude":"2d34e580","hex_latitude":"06aa7890","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977866240001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403113093393022976,"note":"Value kept but may cause issues"} 
[2026-09-09 23:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3821726524917985280,"note":"Value kept but may cause issues"} 
[2026-09-09 23:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788976056000,"timestamp_ms":1788976056000,"timestamp_seconds":1788976056,"priority":1,"record_length":96,"hex_timestamp":"000001a0874846c0"} 
[2026-09-09 23:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:19: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-09-09 23: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-09 23:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977866240001,"66":27267,"97":206,"81":23296,"24":29,"16":403113093393022976,"45":3821726524917985280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-09 23:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977866240001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-09 23:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403113093393022976,"km_value":403113093393023.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3821726524917985280,"description":"Unknown IO ID 45"} 
[2026-09-09 23:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977866240001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":3821726524917985280}} 
[2026-09-09 23:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":175914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:19:43] local.INFO: GPS data processed {"connection_id":175914,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:19:43] local.INFO: Acknowledgment sent {"connection_id":175914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:20:14] local.INFO: TCP Data received {"connection_id":175914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08749e4d0012d33c3c006aa4900000900d82b..."} 
[2026-09-09 23:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08749e4d0012d33c3c006aa4900000900d82b..."} 
[2026-09-09 23:20:14] local.INFO: Processing buffer {"connection_id":175914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08749e4d0012d33c3c006aa4900000900d82b..."} 
[2026-09-09 23:20:14] local.INFO: Packet analysis {"connection_id":175914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08749"} 
[2026-09-09 23:20:14] local.INFO: Extracted packet for processing {"connection_id":175914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08749"} 
[2026-09-09 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758367168,"raw_latitude":111823104,"longitude_deg":75.8367168,"latitude_deg":11.1823104,"altitude":9,"angle":216,"satellites":43,"speed":27,"hex_longitude":"2d33c3c0","hex_latitude":"06aa4900","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977895424001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403116980338425856,"note":"Value kept but may cause issues"} 
[2026-09-09 23:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3734117438415423488,"note":"Value kept but may cause issues"} 
[2026-09-09 23:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788976162000,"timestamp_ms":1788976162000,"timestamp_seconds":1788976162,"priority":1,"record_length":96,"hex_timestamp":"000001a08749e4d0"} 
[2026-09-09 23:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:20: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-09-09 23: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-09 23:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977895424001,"66":27321,"34":206,"81":23296,"24":27,"16":403116980338425856,"45":3734117438415423488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977895424001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:20:14] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403116980338425856,"km_value":403116980338425.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3734117438415423488,"description":"Unknown IO ID 45"} 
[2026-09-09 23:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977895424001,"power":27321,"unknown_34":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":3734117438415423488}} 
[2026-09-09 23:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":175914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:20:14] local.INFO: GPS data processed {"connection_id":175914,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:20:14] local.INFO: Acknowledgment sent {"connection_id":175914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:20:37] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:20:37] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:20:37] local.INFO: IMEI packet received {"connection_id":175915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":175915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:20:42] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:20:42] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:20:42] local.INFO: IMEI packet received {"connection_id":175915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":175915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:20:44] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:20:44] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:20:44] local.INFO: Packet analysis {"connection_id":175915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:20:44] local.INFO: Extracted packet for processing {"connection_id":175915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816720,"longitude_deg":75.8363264,"latitude_deg":11.181672,"altitude":9,"angle":203,"satellites":43,"speed":22,"hex_longitude":"2d33b480","hex_latitude":"06aa3010","is_valid_coordinates":true} 
[2026-09-09 23:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977897472001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3730036051252150272,"note":"Value kept but may cause issues"} 
[2026-09-09 23:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788976173000,"timestamp_ms":1788976173000,"timestamp_seconds":1788976173,"priority":1,"record_length":96,"hex_timestamp":"000001a0874a0fc8"} 
[2026-09-09 23:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:20: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-09-09 23:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-09 23:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977897472001,"66":27604,"34":206,"81":23296,"24":22,"16":403117341115678720,"45":3730036051252150272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977897472001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:20:44] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3730036051252150272,"description":"Unknown IO ID 45"} 
[2026-09-09 23:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977897472001,"power":27604,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3730036051252150272}} 
[2026-09-09 23:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":175915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:20:44] local.INFO: GPS data processed {"connection_id":175915,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:20:44] local.INFO: Acknowledgment sent {"connection_id":175915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:21:16] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:21:16] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:21:16] local.INFO: Packet analysis {"connection_id":175915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:21:16] local.INFO: Extracted packet for processing {"connection_id":175915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816720,"longitude_deg":75.8363264,"latitude_deg":11.181672,"altitude":9,"angle":203,"satellites":43,"speed":22,"hex_longitude":"2d33b480","hex_latitude":"06aa3010","is_valid_coordinates":true} 
[2026-09-09 23:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788976173000,"timestamp_ms":1788976173000,"timestamp_seconds":1788976173,"priority":1,"record_length":96,"hex_timestamp":"000001a0874a0fc8"} 
[2026-09-09 23:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":27604,"34":206,"81":23296,"24":22,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:21:16] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":27604,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":175915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:21:16] local.INFO: GPS data processed {"connection_id":175915,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:21:16] local.INFO: Acknowledgment sent {"connection_id":175915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:21:37] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:21:37] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:21:37] local.INFO: IMEI packet received {"connection_id":175916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":175916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:21:42] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:21:42] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:21:42] local.INFO: IMEI packet received {"connection_id":175916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":175916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:21:43] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:21:43] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:21:43] local.INFO: Packet analysis {"connection_id":175916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:21:43] local.INFO: Extracted packet for processing {"connection_id":175916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816720,"longitude_deg":75.8363264,"latitude_deg":11.181672,"altitude":9,"angle":203,"satellites":43,"speed":22,"hex_longitude":"2d33b480","hex_latitude":"06aa3010","is_valid_coordinates":true} 
[2026-09-09 23:21: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-09-09 23:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788976173000,"timestamp_ms":1788976173000,"timestamp_seconds":1788976173,"priority":1,"record_length":96,"hex_timestamp":"000001a0874a0fc8"} 
[2026-09-09 23:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:21: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-09-09 23:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":27604,"34":206,"81":23296,"24":22,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:21:43] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":27604,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":175916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:21:43] local.INFO: GPS data processed {"connection_id":175916,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:21:43] local.INFO: Acknowledgment sent {"connection_id":175916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:22:15] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:22:15] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:22:15] local.INFO: Packet analysis {"connection_id":175916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:22:15] local.INFO: Extracted packet for processing {"connection_id":175916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816720,"longitude_deg":75.8363264,"latitude_deg":11.181672,"altitude":9,"angle":203,"satellites":43,"speed":22,"hex_longitude":"2d33b480","hex_latitude":"06aa3010","is_valid_coordinates":true} 
[2026-09-09 23:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788976173000,"timestamp_ms":1788976173000,"timestamp_seconds":1788976173,"priority":1,"record_length":96,"hex_timestamp":"000001a0874a0fc8"} 
[2026-09-09 23:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":27604,"34":206,"81":23296,"24":22,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:22:15] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":27604,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":175916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:22:15] local.INFO: GPS data processed {"connection_id":175916,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:22:15] local.INFO: Acknowledgment sent {"connection_id":175916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:22:42] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:22:42] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:22:42] local.INFO: IMEI packet received {"connection_id":176145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":176145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:22:48] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:22:48] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:22:48] local.INFO: IMEI packet received {"connection_id":176145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":176145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:22:51] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:22:51] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:22:51] local.INFO: Packet analysis {"connection_id":176145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:22:51] local.INFO: Extracted packet for processing {"connection_id":176145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816720,"longitude_deg":75.8363264,"latitude_deg":11.181672,"altitude":9,"angle":203,"satellites":43,"speed":22,"hex_longitude":"2d33b480","hex_latitude":"06aa3010","is_valid_coordinates":true} 
[2026-09-09 23:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788976173000,"timestamp_ms":1788976173000,"timestamp_seconds":1788976173,"priority":1,"record_length":96,"hex_timestamp":"000001a0874a0fc8"} 
[2026-09-09 23:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":27604,"34":206,"81":23296,"24":22,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:22:51] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":27604,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":176145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:22:51] local.INFO: GPS data processed {"connection_id":176145,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:22:51] local.INFO: Acknowledgment sent {"connection_id":176145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:23:31] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:23:31] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:23:31] local.INFO: Packet analysis {"connection_id":176145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:23:31] local.INFO: Extracted packet for processing {"connection_id":176145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816720,"longitude_deg":75.8363264,"latitude_deg":11.181672,"altitude":9,"angle":203,"satellites":43,"speed":22,"hex_longitude":"2d33b480","hex_latitude":"06aa3010","is_valid_coordinates":true} 
[2026-09-09 23:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788976173000,"timestamp_ms":1788976173000,"timestamp_seconds":1788976173,"priority":1,"record_length":96,"hex_timestamp":"000001a0874a0fc8"} 
[2026-09-09 23:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":27604,"34":206,"81":23296,"24":22,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:23:31] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":27604,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":176145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:23:31] local.INFO: GPS data processed {"connection_id":176145,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:23:31] local.INFO: Acknowledgment sent {"connection_id":176145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:23:37] local.INFO: TCP Data received {"connection_id":177313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:23:37] local.INFO: Processing buffer {"connection_id":177313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:23:37] local.INFO: IMEI packet received {"connection_id":177313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":177313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:23:42] local.INFO: TCP Data received {"connection_id":177313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:23:42] local.INFO: Processing buffer {"connection_id":177313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:23:42] local.INFO: IMEI packet received {"connection_id":177313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":177313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:23:43] local.INFO: TCP Data received {"connection_id":177313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:23:43] local.INFO: Processing buffer {"connection_id":177313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:23:43] local.INFO: Packet analysis {"connection_id":177313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:23:43] local.INFO: Extracted packet for processing {"connection_id":177313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816720,"longitude_deg":75.8363264,"latitude_deg":11.181672,"altitude":9,"angle":203,"satellites":43,"speed":22,"hex_longitude":"2d33b480","hex_latitude":"06aa3010","is_valid_coordinates":true} 
[2026-09-09 23:23: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-09-09 23:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788976173000,"timestamp_ms":1788976173000,"timestamp_seconds":1788976173,"priority":1,"record_length":96,"hex_timestamp":"000001a0874a0fc8"} 
[2026-09-09 23:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:23: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-09-09 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":27604,"34":206,"81":23296,"24":22,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:23:43] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":27604,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":177313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:23:43] local.INFO: GPS data processed {"connection_id":177313,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:23:43] local.INFO: Acknowledgment sent {"connection_id":177313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:24:14] local.INFO: TCP Data received {"connection_id":177313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:24:14] local.INFO: Processing buffer {"connection_id":177313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:24:14] local.INFO: Packet analysis {"connection_id":177313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:24:14] local.INFO: Extracted packet for processing {"connection_id":177313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816720,"longitude_deg":75.8363264,"latitude_deg":11.181672,"altitude":9,"angle":203,"satellites":43,"speed":22,"hex_longitude":"2d33b480","hex_latitude":"06aa3010","is_valid_coordinates":true} 
[2026-09-09 23:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788976173000,"timestamp_ms":1788976173000,"timestamp_seconds":1788976173,"priority":1,"record_length":96,"hex_timestamp":"000001a0874a0fc8"} 
[2026-09-09 23:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:24: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-09-09 23:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":27604,"34":206,"81":23296,"24":22,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:24:14] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":27604,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":177313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:24:14] local.INFO: GPS data processed {"connection_id":177313,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:24:14] local.INFO: Acknowledgment sent {"connection_id":177313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:24:37] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:24:37] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:24:37] local.INFO: IMEI packet received {"connection_id":176146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":176146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:24:42] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:24:42] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:24:42] local.INFO: IMEI packet received {"connection_id":176146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":176146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:24:43] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:24:43] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874a0fc8012d33b48006aa3010000900cb2b..."} 
[2026-09-09 23:24:43] local.INFO: Packet analysis {"connection_id":176146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:24:43] local.INFO: Extracted packet for processing {"connection_id":176146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874a"} 
[2026-09-09 23:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816720,"longitude_deg":75.8363264,"latitude_deg":11.181672,"altitude":9,"angle":203,"satellites":43,"speed":22,"hex_longitude":"2d33b480","hex_latitude":"06aa3010","is_valid_coordinates":true} 
[2026-09-09 23:24: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-09-09 23:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788976173000,"timestamp_ms":1788976173000,"timestamp_seconds":1788976173,"priority":1,"record_length":96,"hex_timestamp":"000001a0874a0fc8"} 
[2026-09-09 23:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":27604,"34":206,"81":23296,"24":22,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-09 23:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:24:43] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-09 23:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":27604,"unknown_34":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":176146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:24:43] local.INFO: GPS data processed {"connection_id":176146,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:24:43] local.INFO: Acknowledgment sent {"connection_id":176146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:25:14] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874eab78012d33b0c006aa2080000c00c928..."} 
[2026-09-09 23:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874eab78012d33b0c006aa2080000c00c928..."} 
[2026-09-09 23:25:14] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874eab78012d33b0c006aa2080000c00c928..."} 
[2026-09-09 23:25:14] local.INFO: Packet analysis {"connection_id":176146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874e"} 
[2026-09-09 23:25:14] local.INFO: Extracted packet for processing {"connection_id":176146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874e"} 
[2026-09-09 23:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758362304,"raw_latitude":111812736,"longitude_deg":75.8362304,"latitude_deg":11.1812736,"altitude":12,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d33b0c0","hex_latitude":"06aa2080","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788976475000,"timestamp_ms":1788976475000,"timestamp_seconds":1788976475,"priority":1,"record_length":96,"hex_timestamp":"000001a0874eab78"} 
[2026-09-09 23:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":25995,"76":206,"81":23296,"24":0,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-09 23:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:25:14] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-09 23:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":25995,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":176146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:25:14] local.INFO: GPS data processed {"connection_id":176146,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:25:14] local.INFO: Acknowledgment sent {"connection_id":176146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:25:37] local.INFO: TCP Data received {"connection_id":176147,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:25:37] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:25:37] local.INFO: IMEI packet received {"connection_id":176147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":176147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:25:42] local.INFO: TCP Data received {"connection_id":176147,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:25:42] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:25:42] local.INFO: IMEI packet received {"connection_id":176147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":176147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:25:43] local.INFO: TCP Data received {"connection_id":176147,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874eab78012d33b0c006aa2080000c00c928..."} 
[2026-09-09 23:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874eab78012d33b0c006aa2080000c00c928..."} 
[2026-09-09 23:25:43] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874eab78012d33b0c006aa2080000c00c928..."} 
[2026-09-09 23:25:43] local.INFO: Packet analysis {"connection_id":176147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874e"} 
[2026-09-09 23:25:43] local.INFO: Extracted packet for processing {"connection_id":176147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874e"} 
[2026-09-09 23:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758362304,"raw_latitude":111812736,"longitude_deg":75.8362304,"latitude_deg":11.1812736,"altitude":12,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d33b0c0","hex_latitude":"06aa2080","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788976475000,"timestamp_ms":1788976475000,"timestamp_seconds":1788976475,"priority":1,"record_length":96,"hex_timestamp":"000001a0874eab78"} 
[2026-09-09 23:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":25995,"76":206,"81":23296,"24":0,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-09 23:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:25:43] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-09 23:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":25995,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":176147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:25:43] local.INFO: GPS data processed {"connection_id":176147,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:25:43] local.INFO: Acknowledgment sent {"connection_id":176147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:26:14] local.INFO: TCP Data received {"connection_id":176147,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874eab78012d33b0c006aa2080000c00c928..."} 
[2026-09-09 23:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874eab78012d33b0c006aa2080000c00c928..."} 
[2026-09-09 23:26:14] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874eab78012d33b0c006aa2080000c00c928..."} 
[2026-09-09 23:26:14] local.INFO: Packet analysis {"connection_id":176147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874e"} 
[2026-09-09 23:26:14] local.INFO: Extracted packet for processing {"connection_id":176147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874e"} 
[2026-09-09 23:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758362304,"raw_latitude":111812736,"longitude_deg":75.8362304,"latitude_deg":11.1812736,"altitude":12,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d33b0c0","hex_latitude":"06aa2080","is_valid_coordinates":true} 
[2026-09-09 23:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977900288001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855678464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788976475000,"timestamp_ms":1788976475000,"timestamp_seconds":1788976475,"priority":1,"record_length":96,"hex_timestamp":"000001a0874eab78"} 
[2026-09-09 23:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-09 23:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977900288001,"66":25995,"76":206,"81":23296,"24":0,"16":403117341115678720,"45":3725743557855678464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-09 23:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977900288001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:26:14] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-09 23:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855678464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977900288001,"power":25995,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725743557855678464}} 
[2026-09-09 23:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":176147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:26:14] local.INFO: GPS data processed {"connection_id":176147,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:26:14] local.INFO: Acknowledgment sent {"connection_id":176147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:26:42] local.INFO: TCP Data received {"connection_id":176148,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:26:42] local.INFO: Processing buffer {"connection_id":176148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:26:42] local.INFO: IMEI packet received {"connection_id":176148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":176148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:26:47] local.INFO: TCP Data received {"connection_id":176148,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:26:47] local.INFO: Processing buffer {"connection_id":176148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:26:47] local.INFO: IMEI packet received {"connection_id":176148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":176148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:26:48] local.INFO: TCP Data received {"connection_id":176148,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874fe010012d33b0c006aa2080000c00c929..."} 
[2026-09-09 23:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874fe010012d33b0c006aa2080000c00c929..."} 
[2026-09-09 23:26:48] local.INFO: Processing buffer {"connection_id":176148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874fe010012d33b0c006aa2080000c00c929..."} 
[2026-09-09 23:26:48] local.INFO: Packet analysis {"connection_id":176148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874f"} 
[2026-09-09 23:26:48] local.INFO: Extracted packet for processing {"connection_id":176148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874f"} 
[2026-09-09 23:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758362304,"raw_latitude":111812736,"longitude_deg":75.8362304,"latitude_deg":11.1812736,"altitude":12,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2d33b0c0","hex_latitude":"06aa2080","is_valid_coordinates":true} 
[2026-09-09 23:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977977600001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724688026691993600,"note":"Value kept but may cause issues"} 
[2026-09-09 23:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788976554000,"timestamp_ms":1788976554000,"timestamp_seconds":1788976554,"priority":1,"record_length":96,"hex_timestamp":"000001a0874fe010"} 
[2026-09-09 23:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 23:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977977600001,"66":25343,"76":206,"81":23296,"24":0,"16":403117341115678720,"45":3724688026691993600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-09 23:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977977600001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:26:48] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-09 23:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724688026691993600,"description":"Unknown IO ID 45"} 
[2026-09-09 23:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977977600001,"power":25343,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724688026691993600}} 
[2026-09-09 23:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":176148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:26:48] local.INFO: GPS data processed {"connection_id":176148,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:26:48] local.INFO: Acknowledgment sent {"connection_id":176148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:26:53] local.INFO: TCP Data received {"connection_id":176148,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0874fe010012d33b0c006aa2080000c00c929..."} 
[2026-09-09 23:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0874fe010012d33b0c006aa2080000c00c929..."} 
[2026-09-09 23:26:53] local.INFO: Processing buffer {"connection_id":176148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0874fe010012d33b0c006aa2080000c00c929..."} 
[2026-09-09 23:26:53] local.INFO: Packet analysis {"connection_id":176148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0874f"} 
[2026-09-09 23:26:53] local.INFO: Extracted packet for processing {"connection_id":176148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0874f"} 
[2026-09-09 23:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758362304,"raw_latitude":111812736,"longitude_deg":75.8362304,"latitude_deg":11.1812736,"altitude":12,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2d33b0c0","hex_latitude":"06aa2080","is_valid_coordinates":true} 
[2026-09-09 23:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457977977600001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403117341115678720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724688026691993600,"note":"Value kept but may cause issues"} 
[2026-09-09 23:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788976554000,"timestamp_ms":1788976554000,"timestamp_seconds":1788976554,"priority":1,"record_length":96,"hex_timestamp":"000001a0874fe010"} 
[2026-09-09 23:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-09 23:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-09 23:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457977977600001,"66":25343,"76":206,"81":23296,"24":0,"16":403117341115678720,"45":3724688026691993600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-09 23:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457977977600001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:26:53] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-09 23:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403117341115678720,"km_value":403117341115678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724688026691993600,"description":"Unknown IO ID 45"} 
[2026-09-09 23:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457977977600001,"power":25343,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724688026691993600}} 
[2026-09-09 23:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":176148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:26:53] local.INFO: GPS data processed {"connection_id":176148,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:26:53] local.INFO: Acknowledgment sent {"connection_id":176148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:27:37] local.INFO: TCP Data received {"connection_id":178708,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:27:37] local.INFO: Processing buffer {"connection_id":178708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:27:37] local.INFO: IMEI packet received {"connection_id":178708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":178708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:27:40] local.INFO: TCP Data received {"connection_id":178708,"ip":"42.109.136.1","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178708,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:27:40] local.INFO: Processing buffer {"connection_id":178708,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:27:40] local.INFO: IMEI packet received {"connection_id":178708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":178708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:32:52] local.INFO: TCP Data received {"connection_id":178710,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:32:52] local.INFO: Processing buffer {"connection_id":178710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:32:52] local.INFO: IMEI packet received {"connection_id":178710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":178710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:32:58] local.INFO: TCP Data received {"connection_id":178710,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:32:58] local.INFO: Processing buffer {"connection_id":178710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:32:58] local.INFO: IMEI packet received {"connection_id":178710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":178710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:32:59] local.INFO: TCP Data received {"connection_id":178710,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087548390012d36c20006a9b0d0000c007829..."} 
[2026-09-09 23:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087548390012d36c20006a9b0d0000c007829..."} 
[2026-09-09 23:32:59] local.INFO: Processing buffer {"connection_id":178710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087548390012d36c20006a9b0d0000c007829..."} 
[2026-09-09 23:32:59] local.INFO: Packet analysis {"connection_id":178710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08754"} 
[2026-09-09 23:32:59] local.INFO: Extracted packet for processing {"connection_id":178710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08754"} 
[2026-09-09 23:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758563328,"raw_latitude":111784144,"longitude_deg":75.8563328,"latitude_deg":11.1784144,"altitude":12,"angle":120,"satellites":41,"speed":43,"hex_longitude":"2d36c200","hex_latitude":"06a9b0d0","is_valid_coordinates":true} 
[2026-09-09 23:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978073344001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403128284692348928,"note":"Value kept but may cause issues"} 
[2026-09-09 23:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3937483109079578624,"note":"Value kept but may cause issues"} 
[2026-09-09 23:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788976858000,"timestamp_ms":1788976858000,"timestamp_seconds":1788976858,"priority":1,"record_length":96,"hex_timestamp":"000001a087548390"} 
[2026-09-09 23:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-09 23:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":178710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":178710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":178710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978073344001,"66":27267,"77":206,"81":23296,"24":43,"16":403128284692348928,"45":3937483109079578624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-09 23:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978073344001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:32:59] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-09 23:32:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403128284692348928,"km_value":403128284692348.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3937483109079578624,"description":"Unknown IO ID 45"} 
[2026-09-09 23:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978073344001,"power":27267,"unknown_77":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3937483109079578624}} 
[2026-09-09 23:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":178710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:32:59] local.INFO: GPS data processed {"connection_id":178710,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:32:59] local.INFO: Acknowledgment sent {"connection_id":178710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:33:37] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:33:37] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:33:37] local.INFO: IMEI packet received {"connection_id":176150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":176150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:33:38] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:33:38] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:33:38] local.INFO: IMEI packet received {"connection_id":176150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":176150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:33:42] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:33:42] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:33:42] local.INFO: IMEI packet received {"connection_id":176150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":176150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:33:43] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08755bff8012d38274006a999c00010005c28..."} 
[2026-09-09 23:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08755bff8012d38274006a999c00010005c28..."} 
[2026-09-09 23:33:43] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08755bff8012d38274006a999c00010005c28..."} 
[2026-09-09 23:33:43] local.INFO: Packet analysis {"connection_id":176150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08755"} 
[2026-09-09 23:33:43] local.INFO: Extracted packet for processing {"connection_id":176150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08755"} 
[2026-09-09 23:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758654784,"raw_latitude":111778240,"longitude_deg":75.8654784,"latitude_deg":11.177824,"altitude":16,"angle":92,"satellites":40,"speed":39,"hex_longitude":"2d382740","hex_latitude":"06a999c0","is_valid_coordinates":true} 
[2026-09-09 23:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978094080001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403132712803631104,"note":"Value kept but may cause issues"} 
[2026-09-09 23:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4035928982180886528,"note":"Value kept but may cause issues"} 
[2026-09-09 23:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788976939000,"timestamp_ms":1788976939000,"timestamp_seconds":1788976939,"priority":1,"record_length":96,"hex_timestamp":"000001a08755bff8"} 
[2026-09-09 23:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:33: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-09-09 23:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-09 23:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978094080001,"66":27267,"46":206,"81":23296,"24":39,"16":403132712803631104,"45":4035928982180886528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-09 23:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978094080001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:33:43] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-09 23:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403132712803631104,"km_value":403132712803631.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4035928982180886528,"description":"Unknown IO ID 45"} 
[2026-09-09 23:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978094080001,"power":27267,"unknown_46":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":4035928982180886528}} 
[2026-09-09 23:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":176150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:33:43] local.INFO: GPS data processed {"connection_id":176150,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:33:43] local.INFO: Acknowledgment sent {"connection_id":176150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:34:15] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08755e320012d384b0006a995e00010006428..."} 
[2026-09-09 23:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08755e320012d384b0006a995e00010006428..."} 
[2026-09-09 23:34:15] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08755e320012d384b0006a995e00010006428..."} 
[2026-09-09 23:34:15] local.INFO: Packet analysis {"connection_id":176150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08755"} 
[2026-09-09 23:34:15] local.INFO: Extracted packet for processing {"connection_id":176150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08755"} 
[2026-09-09 23:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758663936,"raw_latitude":111777248,"longitude_deg":75.8663936,"latitude_deg":11.1777248,"altitude":16,"angle":100,"satellites":40,"speed":39,"hex_longitude":"2d384b00","hex_latitude":"06a995e0","is_valid_coordinates":true} 
[2026-09-09 23:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978096384001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403133150890295296,"note":"Value kept but may cause issues"} 
[2026-09-09 23:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4046273187575087104,"note":"Value kept but may cause issues"} 
[2026-09-09 23:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788976948000,"timestamp_ms":1788976948000,"timestamp_seconds":1788976948,"priority":1,"record_length":96,"hex_timestamp":"000001a08755e320"} 
[2026-09-09 23:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 23:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978096384001,"66":27245,"46":206,"81":23296,"24":39,"16":403133150890295296,"45":4046273187575087104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-09 23:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978096384001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:34:15] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-09 23:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403133150890295296,"km_value":403133150890295.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4046273187575087104,"description":"Unknown IO ID 45"} 
[2026-09-09 23:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978096384001,"power":27245,"unknown_46":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":4046273187575087104}} 
[2026-09-09 23:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":176150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:34:15] local.INFO: GPS data processed {"connection_id":176150,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:34:15] local.INFO: Acknowledgment sent {"connection_id":176150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:34:37] local.INFO: TCP Data received {"connection_id":178711,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:34:37] local.INFO: Processing buffer {"connection_id":178711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:34:37] local.INFO: IMEI packet received {"connection_id":178711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":178711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:34:42] local.INFO: TCP Data received {"connection_id":178711,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:34:42] local.INFO: Processing buffer {"connection_id":178711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:34:42] local.INFO: IMEI packet received {"connection_id":178711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":178711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:34:43] local.INFO: TCP Data received {"connection_id":178711,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087572370012d39564006a95808000e002629..."} 
[2026-09-09 23:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087572370012d39564006a95808000e002629..."} 
[2026-09-09 23:34:43] local.INFO: Processing buffer {"connection_id":178711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087572370012d39564006a95808000e002629..."} 
[2026-09-09 23:34:43] local.INFO: Packet analysis {"connection_id":178711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08757"} 
[2026-09-09 23:34:43] local.INFO: Extracted packet for processing {"connection_id":178711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08757"} 
[2026-09-09 23:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758732352,"raw_latitude":111761416,"longitude_deg":75.8732352,"latitude_deg":11.1761416,"altitude":14,"angle":38,"satellites":41,"speed":13,"hex_longitude":"2d395640","hex_latitude":"06a95808","is_valid_coordinates":true} 
[2026-09-09 23:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978119424001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403136509554720768,"note":"Value kept but may cause issues"} 
[2026-09-09 23:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131278630537345024,"note":"Value kept but may cause issues"} 
[2026-09-09 23:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788977030000,"timestamp_ms":1788977030000,"timestamp_seconds":1788977030,"priority":1,"record_length":96,"hex_timestamp":"000001a087572370"} 
[2026-09-09 23:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:34: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-09-09 23:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-09 23:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978119424001,"66":27213,"91":206,"81":23296,"24":13,"16":403136509554720768,"45":4131278630537345024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-09 23:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978119424001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:34:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-09 23:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403136509554720768,"km_value":403136509554720.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131278630537345024,"description":"Unknown IO ID 45"} 
[2026-09-09 23:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978119424001,"power":27213,"unknown_91":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":4131278630537345024}} 
[2026-09-09 23:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":178711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:34:43] local.INFO: GPS data processed {"connection_id":178711,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:34:43] local.INFO: Acknowledgment sent {"connection_id":178711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:35:18] local.INFO: TCP Data received {"connection_id":178711,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087572758012d39570006a95930000d001928..."} 
[2026-09-09 23:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087572758012d39570006a95930000d001928..."} 
[2026-09-09 23:35:18] local.INFO: Processing buffer {"connection_id":178711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087572758012d39570006a95930000d001928..."} 
[2026-09-09 23:35:18] local.INFO: Packet analysis {"connection_id":178711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08757"} 
[2026-09-09 23:35:18] local.INFO: Extracted packet for processing {"connection_id":178711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08757"} 
[2026-09-09 23:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758732544,"raw_latitude":111761712,"longitude_deg":75.8732544,"latitude_deg":11.1761712,"altitude":13,"angle":25,"satellites":40,"speed":13,"hex_longitude":"2d395700","hex_latitude":"06a95930","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978119680001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403136522439622656,"note":"Value kept but may cause issues"} 
[2026-09-09 23:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131560105514108928,"note":"Value kept but may cause issues"} 
[2026-09-09 23:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788977031000,"timestamp_ms":1788977031000,"timestamp_seconds":1788977031,"priority":1,"record_length":96,"hex_timestamp":"000001a087572758"} 
[2026-09-09 23:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23: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-09-09 23: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-09-09 23:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978119680001,"66":27213,"91":206,"81":23296,"24":13,"16":403136522439622656,"45":4131560105514108928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-09 23:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978119680001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:35:18] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-09 23:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403136522439622656,"km_value":403136522439622.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131560105514108928,"description":"Unknown IO ID 45"} 
[2026-09-09 23:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978119680001,"power":27213,"unknown_91":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":4131560105514108928}} 
[2026-09-09 23:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":178711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:35:18] local.INFO: GPS data processed {"connection_id":178711,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:35:18] local.INFO: Acknowledgment sent {"connection_id":178711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:35:47] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:35:47] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:35:47] local.INFO: IMEI packet received {"connection_id":175917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":175917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:35:52] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:35:52] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:35:52] local.INFO: IMEI packet received {"connection_id":175917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":175917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:35:53] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087572b40012d39574006a95a80000d000428..."} 
[2026-09-09 23:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087572b40012d39574006a95a80000d000428..."} 
[2026-09-09 23:35:53] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087572b40012d39574006a95a80000d000428..."} 
[2026-09-09 23:35:53] local.INFO: Packet analysis {"connection_id":175917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08757"} 
[2026-09-09 23:35:53] local.INFO: Extracted packet for processing {"connection_id":175917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08757"} 
[2026-09-09 23:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758732608,"raw_latitude":111762048,"longitude_deg":75.8732608,"latitude_deg":11.1762048,"altitude":13,"angle":4,"satellites":40,"speed":14,"hex_longitude":"2d395740","hex_latitude":"06a95a80","is_valid_coordinates":true} 
[2026-09-09 23:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978119936001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403136539619491840,"note":"Value kept but may cause issues"} 
[2026-09-09 23:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131771211746717696,"note":"Value kept but may cause issues"} 
[2026-09-09 23:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788977032000,"timestamp_ms":1788977032000,"timestamp_seconds":1788977032,"priority":1,"record_length":96,"hex_timestamp":"000001a087572b40"} 
[2026-09-09 23:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 23:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978119936001,"66":27234,"91":206,"81":23296,"24":14,"16":403136539619491840,"45":4131771211746717696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-09 23:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978119936001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:35:53] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-09 23:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403136539619491840,"km_value":403136539619491.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131771211746717696,"description":"Unknown IO ID 45"} 
[2026-09-09 23:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978119936001,"power":27234,"unknown_91":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":4131771211746717696}} 
[2026-09-09 23:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":175917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:35:53] local.INFO: GPS data processed {"connection_id":175917,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:35:53] local.INFO: Acknowledgment sent {"connection_id":175917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:36:56] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:36:56] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:36:56] local.INFO: IMEI packet received {"connection_id":176151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":176151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:36:57] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:36:57] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:36:57] local.INFO: IMEI packet received {"connection_id":176151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":176151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:36:58] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08758c950012d390b0006aa7be8000a015924..."} 
[2026-09-09 23:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08758c950012d390b0006aa7be8000a015924..."} 
[2026-09-09 23:36:58] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a087..."} 
[2026-09-09 23:36:58] local.INFO: IMEI packet received {"connection_id":176151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":176151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:36:59] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08758ec78012d39010006aaa068000a015929..."} 
[2026-09-09 23:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08758ec78012d39010006aaa068000a015929..."} 
[2026-09-09 23:36:59] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08758c950012d390b0006aa7be8000a015924..."} 
[2026-09-09 23:36:59] local.INFO: Packet analysis {"connection_id":176151,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08758"} 
[2026-09-09 23:36:59] local.INFO: Extracted packet for processing {"connection_id":176151,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08758"} 
[2026-09-09 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758713088,"raw_latitude":111836136,"longitude_deg":75.8713088,"latitude_deg":11.1836136,"altitude":10,"angle":345,"satellites":36,"speed":40,"hex_longitude":"2d390b00","hex_latitude":"06aa7be8","is_valid_coordinates":true} 
[2026-09-09 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978145024001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403140259061170176,"note":"Value kept but may cause issues"} 
[2026-09-09 23:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4112982757068093440,"note":"Value kept but may cause issues"} 
[2026-09-09 23:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788977138000,"timestamp_ms":1788977138000,"timestamp_seconds":1788977138,"priority":1,"record_length":96,"hex_timestamp":"000001a08758c950"} 
[2026-09-09 23:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 23:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978145024001,"66":27300,"163":206,"81":23296,"24":40,"16":403140259061170176,"45":4112982757068093440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-09 23:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978145024001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:36:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 23:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403140259061170176,"km_value":403140259061170.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4112982757068093440,"description":"Unknown IO ID 45"} 
[2026-09-09 23:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978145024001,"power":27300,"unknown_163":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":4112982757068093440}} 
[2026-09-09 23:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":176151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:36:59] local.INFO: GPS data processed {"connection_id":176151,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:36:59] local.INFO: Acknowledgment sent {"connection_id":176151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:36:59] local.INFO: Packet analysis {"connection_id":176151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08758"} 
[2026-09-09 23:36:59] local.INFO: Extracted packet for processing {"connection_id":176151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08758"} 
[2026-09-09 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758710528,"raw_latitude":111845480,"longitude_deg":75.8710528,"latitude_deg":11.184548,"altitude":10,"angle":345,"satellites":41,"speed":44,"hex_longitude":"2d390100","hex_latitude":"06aaa068","is_valid_coordinates":true} 
[2026-09-09 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978147328001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403140727212605440,"note":"Value kept but may cause issues"} 
[2026-09-09 23:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110379113535760384,"note":"Value kept but may cause issues"} 
[2026-09-09 23:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788977147000,"timestamp_ms":1788977147000,"timestamp_seconds":1788977147,"priority":1,"record_length":96,"hex_timestamp":"000001a08758ec78"} 
[2026-09-09 23:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-09 23:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978147328001,"66":27267,"163":206,"81":23296,"24":44,"16":403140727212605440,"45":4110379113535760384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-09 23:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978147328001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:36:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 23:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403140727212605440,"km_value":403140727212605.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4110379113535760384,"description":"Unknown IO ID 45"} 
[2026-09-09 23:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978147328001,"power":27267,"unknown_163":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":4110379113535760384}} 
[2026-09-09 23:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":176151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:36:59] local.INFO: GPS data processed {"connection_id":176151,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:36:59] local.INFO: Acknowledgment sent {"connection_id":176151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:37:00] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087590bb8012d38f7c006aac298000b015929..."} 
[2026-09-09 23:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087590bb8012d38f7c006aac298000b015929..."} 
[2026-09-09 23:37:00] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087590bb8012d38f7c006aac298000b015929..."} 
[2026-09-09 23:37:00] local.INFO: Packet analysis {"connection_id":176151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08759"} 
[2026-09-09 23:37:00] local.INFO: Extracted packet for processing {"connection_id":176151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08759"} 
[2026-09-09 23:37:00] local.INFO: GPS Element Parsed {"raw_longitude":758708160,"raw_latitude":111854232,"longitude_deg":75.870816,"latitude_deg":11.1854232,"altitude":11,"angle":345,"satellites":41,"speed":44,"hex_longitude":"2d38f7c0","hex_latitude":"06aac298","is_valid_coordinates":true} 
[2026-09-09 23:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978149632001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403141165299269632,"note":"Value kept but may cause issues"} 
[2026-09-09 23:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4107564363771045888,"note":"Value kept but may cause issues"} 
[2026-09-09 23:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788977155000,"timestamp_ms":1788977155000,"timestamp_seconds":1788977155,"priority":1,"record_length":96,"hex_timestamp":"000001a087590bb8"} 
[2026-09-09 23:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 23:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978149632001,"66":27267,"163":206,"81":23296,"24":44,"16":403141165299269632,"45":4107564363771045888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-09 23:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978149632001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:37:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 23:37:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403141165299269632,"km_value":403141165299269.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4107564363771045888,"description":"Unknown IO ID 45"} 
[2026-09-09 23:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978149632001,"power":27267,"unknown_163":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":4107564363771045888}} 
[2026-09-09 23:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":176151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:37:00] local.INFO: GPS data processed {"connection_id":176151,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:37:00] local.INFO: Acknowledgment sent {"connection_id":176151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:37:37] local.INFO: TCP Data received {"connection_id":175918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:37:37] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:37:37] local.INFO: IMEI packet received {"connection_id":175918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":175918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:37:37] local.INFO: TCP Data received {"connection_id":175918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:37:37] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:37:37] local.INFO: IMEI packet received {"connection_id":175918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":175918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:37:42] local.INFO: TCP Data received {"connection_id":175918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:37:42] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:37:42] local.INFO: IMEI packet received {"connection_id":175918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":175918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:37:43] local.INFO: TCP Data received {"connection_id":175918,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087592af8012d38ef0006aae438000b015829..."} 
[2026-09-09 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087592af8012d38ef0006aae438000b015829..."} 
[2026-09-09 23:37:43] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087592af8012d38ef0006aae438000b015829..."} 
[2026-09-09 23:37:43] local.INFO: Packet analysis {"connection_id":175918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08759"} 
[2026-09-09 23:37:43] local.INFO: Extracted packet for processing {"connection_id":175918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08759"} 
[2026-09-09 23:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758705920,"raw_latitude":111862840,"longitude_deg":75.870592,"latitude_deg":11.186284,"altitude":11,"angle":344,"satellites":41,"speed":44,"hex_longitude":"2d38ef00","hex_latitude":"06aae438","is_valid_coordinates":true} 
[2026-09-09 23:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978151680001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403141599090966528,"note":"Value kept but may cause issues"} 
[2026-09-09 23:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4104960720238712832,"note":"Value kept but may cause issues"} 
[2026-09-09 23:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788977163000,"timestamp_ms":1788977163000,"timestamp_seconds":1788977163,"priority":1,"record_length":96,"hex_timestamp":"000001a087592af8"} 
[2026-09-09 23:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 23:37: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-09-09 23:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978151680001,"66":27213,"163":206,"81":23296,"24":44,"16":403141599090966528,"45":4104960720238712832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-09 23:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978151680001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:37:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 23:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403141599090966528,"km_value":403141599090966.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4104960720238712832,"description":"Unknown IO ID 45"} 
[2026-09-09 23:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978151680001,"power":27213,"unknown_163":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":4104960720238712832}} 
[2026-09-09 23:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":175918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:37:43] local.INFO: GPS data processed {"connection_id":175918,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:37:43] local.INFO: Acknowledgment sent {"connection_id":175918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:38:14] local.INFO: TCP Data received {"connection_id":175918,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087594a38012d38e5c006ab0638000b015829..."} 
[2026-09-09 23:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087594a38012d38e5c006ab0638000b015829..."} 
[2026-09-09 23:38:14] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087594a38012d38e5c006ab0638000b015829..."} 
[2026-09-09 23:38:14] local.INFO: Packet analysis {"connection_id":175918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08759"} 
[2026-09-09 23:38:14] local.INFO: Extracted packet for processing {"connection_id":175918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08759"} 
[2026-09-09 23:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758703552,"raw_latitude":111871544,"longitude_deg":75.8703552,"latitude_deg":11.1871544,"altitude":11,"angle":344,"satellites":41,"speed":45,"hex_longitude":"2d38e5c0","hex_latitude":"06ab0638","is_valid_coordinates":true} 
[2026-09-09 23:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978153728001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403142032882663424,"note":"Value kept but may cause issues"} 
[2026-09-09 23:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4102497814194698240,"note":"Value kept but may cause issues"} 
[2026-09-09 23:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788977171000,"timestamp_ms":1788977171000,"timestamp_seconds":1788977171,"priority":1,"record_length":96,"hex_timestamp":"000001a087594a38"} 
[2026-09-09 23:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:38: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-09-09 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 23:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978153728001,"66":27213,"163":206,"81":23296,"24":45,"16":403142032882663424,"45":4102497814194698240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-09 23:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978153728001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:38:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-09 23:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-09 23:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403142032882663424,"km_value":403142032882663.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4102497814194698240,"description":"Unknown IO ID 45"} 
[2026-09-09 23:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978153728001,"power":27213,"unknown_163":206,"unknown_81":23296,"ignition":45,"odometer":null,"unknown_45":4102497814194698240}} 
[2026-09-09 23:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":175918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:38:14] local.INFO: GPS data processed {"connection_id":175918,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:38:14] local.INFO: Acknowledgment sent {"connection_id":175918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:38:37] local.INFO: TCP Data received {"connection_id":176152,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:38:37] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:38:37] local.INFO: IMEI packet received {"connection_id":176152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":176152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:38:42] local.INFO: TCP Data received {"connection_id":176152,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:38:42] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:38:42] local.INFO: IMEI packet received {"connection_id":176152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":176152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:38:43] local.INFO: TCP Data received {"connection_id":176152,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875aa1f8012d387d8006ac8c90000d015829..."} 
[2026-09-09 23:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875aa1f8012d387d8006ac8c90000d015829..."} 
[2026-09-09 23:38:43] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875aa1f8012d387d8006ac8c90000d015829..."} 
[2026-09-09 23:38:43] local.INFO: Packet analysis {"connection_id":176152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875a"} 
[2026-09-09 23:38:43] local.INFO: Extracted packet for processing {"connection_id":176152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875a"} 
[2026-09-09 23:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758676864,"raw_latitude":111971472,"longitude_deg":75.8676864,"latitude_deg":11.1971472,"altitude":13,"angle":344,"satellites":41,"speed":47,"hex_longitude":"2d387d80","hex_latitude":"06ac8c90","is_valid_coordinates":true} 
[2026-09-09 23:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978176256001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403147045109497856,"note":"Value kept but may cause issues"} 
[2026-09-09 23:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4073365154130622464,"note":"Value kept but may cause issues"} 
[2026-09-09 23:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788977259000,"timestamp_ms":1788977259000,"timestamp_seconds":1788977259,"priority":1,"record_length":96,"hex_timestamp":"000001a0875aa1f8"} 
[2026-09-09 23:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:38: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-09-09 23:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-09 23:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978176256001,"66":27115,"186":206,"81":49664,"24":47,"16":403147045109497856,"45":4073365154130622464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-09 23:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978176256001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:38:43] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-09 23:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-09 23:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403147045109497856,"km_value":403147045109497.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4073365154130622464,"description":"Unknown IO ID 45"} 
[2026-09-09 23:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978176256001,"power":27115,"unknown_186":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4073365154130622464}} 
[2026-09-09 23:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":176152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:38:43] local.INFO: GPS data processed {"connection_id":176152,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:38:43] local.INFO: Acknowledgment sent {"connection_id":176152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:39:14] local.INFO: TCP Data received {"connection_id":176152,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875ac138012d38744006acaf20000f015929..."} 
[2026-09-09 23:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875ac138012d38744006acaf20000f015929..."} 
[2026-09-09 23:39:14] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875ac138012d38744006acaf20000f015929..."} 
[2026-09-09 23:39:14] local.INFO: Packet analysis {"connection_id":176152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875a"} 
[2026-09-09 23:39:14] local.INFO: Extracted packet for processing {"connection_id":176152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875a"} 
[2026-09-09 23:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758674496,"raw_latitude":111980320,"longitude_deg":75.8674496,"latitude_deg":11.198032,"altitude":15,"angle":345,"satellites":41,"speed":43,"hex_longitude":"2d387440","hex_latitude":"06acaf20","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978178304001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403147487491129344,"note":"Value kept but may cause issues"} 
[2026-09-09 23:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4070550404365848576,"note":"Value kept but may cause issues"} 
[2026-09-09 23:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788977267000,"timestamp_ms":1788977267000,"timestamp_seconds":1788977267,"priority":1,"record_length":96,"hex_timestamp":"000001a0875ac138"} 
[2026-09-09 23:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:39: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-09-09 23: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-09 23:39:14] 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-09-09 23: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-09-09 23:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978178304001,"66":27234,"186":206,"81":49664,"24":43,"16":403147487491129344,"45":4070550404365848576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-09 23:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978178304001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:39:14] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-09 23:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-09 23:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403147487491129344,"km_value":403147487491129.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4070550404365848576,"description":"Unknown IO ID 45"} 
[2026-09-09 23:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978178304001,"power":27234,"unknown_186":206,"unknown_81":49664,"ignition":43,"odometer":null,"unknown_45":4070550404365848576}} 
[2026-09-09 23:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":176152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:39:14] local.INFO: GPS data processed {"connection_id":176152,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:39:14] local.INFO: Acknowledgment sent {"connection_id":176152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:39:37] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:39:37] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:39:37] local.INFO: IMEI packet received {"connection_id":175919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":175919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:39:38] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:39:38] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:39:38] local.INFO: IMEI packet received {"connection_id":175919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":175919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:39:43] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:39:43] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:39:43] local.INFO: IMEI packet received {"connection_id":175919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":175919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:39:44] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875ae460012d386a8006acd2980012015829..."} 
[2026-09-09 23:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875ae460012d386a8006acd2980012015829..."} 
[2026-09-09 23:39:44] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875ae460012d386a8006acd2980012015829..."} 
[2026-09-09 23:39:44] local.INFO: Packet analysis {"connection_id":175919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875a"} 
[2026-09-09 23:39:44] local.INFO: Extracted packet for processing {"connection_id":175919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875a"} 
[2026-09-09 23:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758672000,"raw_latitude":111989400,"longitude_deg":75.8672,"latitude_deg":11.19894,"altitude":18,"angle":344,"satellites":41,"speed":39,"hex_longitude":"2d386a80","hex_latitude":"06acd298","is_valid_coordinates":true} 
[2026-09-09 23:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978180352001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403147942757662720,"note":"Value kept but may cause issues"} 
[2026-09-09 23:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4067946760833540096,"note":"Value kept but may cause issues"} 
[2026-09-09 23:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788977276000,"timestamp_ms":1788977276000,"timestamp_seconds":1788977276,"priority":1,"record_length":96,"hex_timestamp":"000001a0875ae460"} 
[2026-09-09 23:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-09 23:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978180352001,"66":27267,"186":206,"81":49664,"24":39,"16":403147942757662720,"45":4067946760833540096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-09 23:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978180352001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:39:44] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-09 23:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-09 23:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403147942757662720,"km_value":403147942757662.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4067946760833540096,"description":"Unknown IO ID 45"} 
[2026-09-09 23:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978180352001,"power":27267,"unknown_186":206,"unknown_81":49664,"ignition":39,"odometer":null,"unknown_45":4067946760833540096}} 
[2026-09-09 23:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":175919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:39:44] local.INFO: GPS data processed {"connection_id":175919,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:39:44] local.INFO: Acknowledgment sent {"connection_id":175919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:40:16] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875b0b70012d38610006acf6a80013015829..."} 
[2026-09-09 23:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875b0b70012d38610006acf6a80013015829..."} 
[2026-09-09 23:40:16] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875b0b70012d38610006acf6a80013015829..."} 
[2026-09-09 23:40:16] local.INFO: Packet analysis {"connection_id":175919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875b"} 
[2026-09-09 23:40:16] local.INFO: Extracted packet for processing {"connection_id":175919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875b"} 
[2026-09-09 23:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758669568,"raw_latitude":111998632,"longitude_deg":75.8669568,"latitude_deg":11.1998632,"altitude":19,"angle":344,"satellites":41,"speed":37,"hex_longitude":"2d386100","hex_latitude":"06acf6a8","is_valid_coordinates":true} 
[2026-09-09 23:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978182656001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403148406614130688,"note":"Value kept but may cause issues"} 
[2026-09-09 23:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4065202379812935680,"note":"Value kept but may cause issues"} 
[2026-09-09 23:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788977286000,"timestamp_ms":1788977286000,"timestamp_seconds":1788977286,"priority":1,"record_length":96,"hex_timestamp":"000001a0875b0b70"} 
[2026-09-09 23:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-09 23:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978182656001,"66":27158,"185":206,"81":49664,"24":37,"16":403148406614130688,"45":4065202379812935680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-09 23:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978182656001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:40:16] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-09 23:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-09 23:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403148406614130688,"km_value":403148406614130.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4065202379812935680,"description":"Unknown IO ID 45"} 
[2026-09-09 23:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978182656001,"power":27158,"unknown_185":206,"unknown_81":49664,"ignition":37,"odometer":null,"unknown_45":4065202379812935680}} 
[2026-09-09 23:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":175919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:40:16] local.INFO: GPS data processed {"connection_id":175919,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:40:16] local.INFO: Acknowledgment sent {"connection_id":175919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:40:42] local.INFO: TCP Data received {"connection_id":177316,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:40:42] local.INFO: Processing buffer {"connection_id":177316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:40:42] local.INFO: IMEI packet received {"connection_id":177316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":177316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:40:49] local.INFO: TCP Data received {"connection_id":177316,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:40:49] local.INFO: Processing buffer {"connection_id":177316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:40:49] local.INFO: IMEI packet received {"connection_id":177316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":177316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:41:06] local.INFO: TCP Data received {"connection_id":177316,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875c8658012d37a84006ae5850000a014829..."} 
[2026-09-09 23:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875c8658012d37a84006ae5850000a014829..."} 
[2026-09-09 23:41:06] local.INFO: Processing buffer {"connection_id":177316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875c8658012d37a84006ae5850000a014829..."} 
[2026-09-09 23:41:06] local.INFO: Packet analysis {"connection_id":177316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875c"} 
[2026-09-09 23:41:06] local.INFO: Extracted packet for processing {"connection_id":177316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875c"} 
[2026-09-09 23:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758622272,"raw_latitude":112089168,"longitude_deg":75.8622272,"latitude_deg":11.2089168,"altitude":10,"angle":328,"satellites":41,"speed":48,"hex_longitude":"2d37a840","hex_latitude":"06ae5850","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978208000001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403153375891292160,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4016225733888741376,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788977383000,"timestamp_ms":1788977383000,"timestamp_seconds":1788977383,"priority":1,"record_length":96,"hex_timestamp":"000001a0875c8658"} 
[2026-09-09 23:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":131,"data_length":795,"current_offset":136} 
[2026-09-09 23:41: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-09-09 23: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-09-09 23:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978208000001,"66":27213,"6":206,"81":49664,"24":48,"16":403153375891292160,"45":4016225733888741376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-09 23:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978208000001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:41:06] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-09 23:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-09 23:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403153375891292160,"km_value":403153375891292.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4016225733888741376,"description":"Unknown IO ID 45"} 
[2026-09-09 23:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978208000001,"power":27213,"unknown_6":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4016225733888741376}} 
[2026-09-09 23:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":177316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:41:06] local.INFO: GPS data processed {"connection_id":177316,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:41:06] local.INFO: Acknowledgment sent {"connection_id":177316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:41:07] local.INFO: TCP Data received {"connection_id":177316,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875ca598012d3793c006ae7920000a014726..."} 
[2026-09-09 23:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875ca598012d3793c006ae7920000a014726..."} 
[2026-09-09 23:41:07] local.INFO: Processing buffer {"connection_id":177316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875ca598012d3793c006ae7920000a014726..."} 
[2026-09-09 23:41:07] local.INFO: Packet analysis {"connection_id":177316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875c"} 
[2026-09-09 23:41:07] local.INFO: Extracted packet for processing {"connection_id":177316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875c"} 
[2026-09-09 23:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758617024,"raw_latitude":112097568,"longitude_deg":75.8617024,"latitude_deg":11.2097568,"altitude":10,"angle":327,"satellites":38,"speed":49,"hex_longitude":"2d3793c0","hex_latitude":"06ae7920","is_valid_coordinates":true} 
[2026-09-09 23:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978210048001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403153852632662016,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4010525865612431360,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788977391000,"timestamp_ms":1788977391000,"timestamp_seconds":1788977391,"priority":1,"record_length":96,"hex_timestamp":"000001a0875ca598"} 
[2026-09-09 23:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:41: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-09-09 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 23:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:41: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-09-09 23:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978210048001,"66":27245,"6":206,"81":49664,"24":49,"16":403153852632662016,"45":4010525865612431360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-09 23:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978210048001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:41:07] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-09 23:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-09 23:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403153852632662016,"km_value":403153852632662.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4010525865612431360,"description":"Unknown IO ID 45"} 
[2026-09-09 23:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978210048001,"power":27245,"unknown_6":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4010525865612431360}} 
[2026-09-09 23:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":177316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:41:07] local.INFO: GPS data processed {"connection_id":177316,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:41:07] local.INFO: Acknowledgment sent {"connection_id":177316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:41:37] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:41:37] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:41:37] local.INFO: IMEI packet received {"connection_id":176153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":176153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:41:38] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:41:38] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:41:38] local.INFO: IMEI packet received {"connection_id":176153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":176153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:41:43] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:41:43] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:41:43] local.INFO: IMEI packet received {"connection_id":176153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":176153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:41:44] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875cc4d8012d377f4006ae98e0000a014728..."} 
[2026-09-09 23:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875cc4d8012d377f4006ae98e0000a014728..."} 
[2026-09-09 23:41:44] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875cc4d8012d377f4006ae98e0000a014728..."} 
[2026-09-09 23:41:44] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875c"} 
[2026-09-09 23:41:44] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875c"} 
[2026-09-09 23:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758611776,"raw_latitude":112105696,"longitude_deg":75.8611776,"latitude_deg":11.2105696,"altitude":10,"angle":327,"satellites":40,"speed":47,"hex_longitude":"2d377f40","hex_latitude":"06ae98e0","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978212096001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403154320784097280,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4004755628592013312,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788977399000,"timestamp_ms":1788977399000,"timestamp_seconds":1788977399,"priority":1,"record_length":96,"hex_timestamp":"000001a0875cc4d8"} 
[2026-09-09 23:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:41: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-09-09 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-09 23:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978212096001,"66":27213,"6":206,"81":49664,"24":47,"16":403154320784097280,"45":4004755628592013312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-09 23:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978212096001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:41:44] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-09 23:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-09 23:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403154320784097280,"km_value":403154320784097.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4004755628592013312,"description":"Unknown IO ID 45"} 
[2026-09-09 23:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978212096001,"power":27213,"unknown_6":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4004755628592013312}} 
[2026-09-09 23:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:41:44] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:41:44] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:41:45] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875ce418012d376b4006aeb7b0000c014728..."} 
[2026-09-09 23:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875ce418012d376b4006aeb7b0000c014728..."} 
[2026-09-09 23:41:45] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875ce418012d376b4006aeb7b0000c014728..."} 
[2026-09-09 23:41:45] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875c"} 
[2026-09-09 23:41:45] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875c"} 
[2026-09-09 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758606656,"raw_latitude":112113584,"longitude_deg":75.8606656,"latitude_deg":11.2113584,"altitude":12,"angle":327,"satellites":40,"speed":45,"hex_longitude":"2d376b40","hex_latitude":"06aeb7b0","is_valid_coordinates":true} 
[2026-09-09 23:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978214144001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403154771755663360,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3998985391571525632,"note":"Value kept but may cause issues"} 
[2026-09-09 23:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788977407000,"timestamp_ms":1788977407000,"timestamp_seconds":1788977407,"priority":1,"record_length":96,"hex_timestamp":"000001a0875ce418"} 
[2026-09-09 23:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:41: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-09-09 23:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 23:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978214144001,"66":27223,"6":206,"81":49664,"24":45,"16":403154771755663360,"45":3998985391571525632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-09 23:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978214144001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:41:45] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-09 23:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-09 23:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403154771755663360,"km_value":403154771755663.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3998985391571525632,"description":"Unknown IO ID 45"} 
[2026-09-09 23:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978214144001,"power":27223,"unknown_6":206,"unknown_81":49664,"ignition":45,"odometer":null,"unknown_45":3998985391571525632}} 
[2026-09-09 23:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:41:45] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:41:45] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:42:16] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875d0358012d37584006aed508000d014728..."} 
[2026-09-09 23:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875d0358012d37584006aed508000d014728..."} 
[2026-09-09 23:42:16] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875d0358012d37584006aed508000d014728..."} 
[2026-09-09 23:42:16] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875d"} 
[2026-09-09 23:42:16] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875d"} 
[2026-09-09 23:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758601792,"raw_latitude":112121096,"longitude_deg":75.8601792,"latitude_deg":11.2121096,"altitude":13,"angle":327,"satellites":40,"speed":43,"hex_longitude":"2d375840","hex_latitude":"06aed508","is_valid_coordinates":true} 
[2026-09-09 23:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978216192001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403155205547360256,"note":"Value kept but may cause issues"} 
[2026-09-09 23:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993355892039331840,"note":"Value kept but may cause issues"} 
[2026-09-09 23:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788977415000,"timestamp_ms":1788977415000,"timestamp_seconds":1788977415,"priority":1,"record_length":96,"hex_timestamp":"000001a0875d0358"} 
[2026-09-09 23:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-09 23:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978216192001,"66":27115,"6":206,"81":49664,"24":43,"16":403155205547360256,"45":3993355892039331840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-09 23:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978216192001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:42:16] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-09 23:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-09 23:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403155205547360256,"km_value":403155205547360.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993355892039331840,"description":"Unknown IO ID 45"} 
[2026-09-09 23:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978216192001,"power":27115,"unknown_6":206,"unknown_81":49664,"ignition":43,"odometer":null,"unknown_45":3993355892039331840}} 
[2026-09-09 23:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:42:16] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:42:16] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:42:41] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:42:41] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:42:41] local.INFO: IMEI packet received {"connection_id":175920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":175920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:42:42] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:42:42] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:42:42] local.INFO: IMEI packet received {"connection_id":175920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":175920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:42:47] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:42:47] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:42:47] local.INFO: IMEI packet received {"connection_id":175920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":175920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:42:49] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875e62e8012d36a40006b04648000d014f23..."} 
[2026-09-09 23:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875e62e8012d36a40006b04648000d014f23..."} 
[2026-09-09 23:42:49] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875e62e8012d36a40006b04648000d014f23..."} 
[2026-09-09 23:42:49] local.INFO: Packet analysis {"connection_id":175920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875e"} 
[2026-09-09 23:42:49] local.INFO: Extracted packet for processing {"connection_id":175920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875e"} 
[2026-09-09 23:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758555648,"raw_latitude":112215624,"longitude_deg":75.8555648,"latitude_deg":11.2215624,"altitude":13,"angle":335,"satellites":35,"speed":47,"hex_longitude":"2d36a400","hex_latitude":"06b04648","is_valid_coordinates":true} 
[2026-09-09 23:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978239232001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403160295083606016,"note":"Value kept but may cause issues"} 
[2026-09-09 23:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3941845971325143040,"note":"Value kept but may cause issues"} 
[2026-09-09 23:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788977505000,"timestamp_ms":1788977505000,"timestamp_seconds":1788977505,"priority":1,"record_length":96,"hex_timestamp":"000001a0875e62e8"} 
[2026-09-09 23:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-09 23:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978239232001,"66":26702,"85":206,"81":23552,"24":47,"16":403160295083606016,"45":3941845971325143040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-09 23:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978239232001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:42:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-09 23:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403160295083606016,"km_value":403160295083606.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3941845971325143040,"description":"Unknown IO ID 45"} 
[2026-09-09 23:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978239232001,"power":26702,"unknown_85":206,"unknown_81":23552,"ignition":47,"odometer":null,"unknown_45":3941845971325143040}} 
[2026-09-09 23:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":175920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:42:49] local.INFO: GPS data processed {"connection_id":175920,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:42:49] local.INFO: Acknowledgment sent {"connection_id":175920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:43:21] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875e8228012d36950006b066d8000c014e22..."} 
[2026-09-09 23:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875e8228012d36950006b066d8000c014e22..."} 
[2026-09-09 23:43:21] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875e8228012d36950006b066d8000c014e22..."} 
[2026-09-09 23:43:21] local.INFO: Packet analysis {"connection_id":175920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875e"} 
[2026-09-09 23:43:21] local.INFO: Extracted packet for processing {"connection_id":175920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875e"} 
[2026-09-09 23:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758551808,"raw_latitude":112223960,"longitude_deg":75.8551808,"latitude_deg":11.222396,"altitude":12,"angle":334,"satellites":34,"speed":44,"hex_longitude":"2d369500","hex_latitude":"06b066d8","is_valid_coordinates":true} 
[2026-09-09 23:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978241280001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403160737465237504,"note":"Value kept but may cause issues"} 
[2026-09-09 23:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3937272002955855872,"note":"Value kept but may cause issues"} 
[2026-09-09 23:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788977513000,"timestamp_ms":1788977513000,"timestamp_seconds":1788977513,"priority":1,"record_length":96,"hex_timestamp":"000001a0875e8228"} 
[2026-09-09 23:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-09 23:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978241280001,"66":27310,"85":206,"81":23552,"24":44,"16":403160737465237504,"45":3937272002955855872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-09 23:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978241280001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-09 23:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403160737465237504,"km_value":403160737465237.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3937272002955855872,"description":"Unknown IO ID 45"} 
[2026-09-09 23:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978241280001,"power":27310,"unknown_85":206,"unknown_81":23552,"ignition":44,"odometer":null,"unknown_45":3937272002955855872}} 
[2026-09-09 23:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":175920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:43:21] local.INFO: GPS data processed {"connection_id":175920,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:43:21] local.INFO: Acknowledgment sent {"connection_id":175920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:43:37] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:43:37] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:43:37] local.INFO: IMEI packet received {"connection_id":177317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":177317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:43:40] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:43:40] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:43:40] local.INFO: IMEI packet received {"connection_id":177317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":177317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:43:42] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:43:42] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:43:42] local.INFO: IMEI packet received {"connection_id":177317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":177317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:43:44] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875ea550012d36854006b08928000c015026..."} 
[2026-09-09 23:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875ea550012d36854006b08928000c015026..."} 
[2026-09-09 23:43:44] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875ea550012d36854006b08928000c015026..."} 
[2026-09-09 23:43:44] local.INFO: Packet analysis {"connection_id":177317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875e"} 
[2026-09-09 23:43:44] local.INFO: Extracted packet for processing {"connection_id":177317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875e"} 
[2026-09-09 23:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758547776,"raw_latitude":112232744,"longitude_deg":75.8547776,"latitude_deg":11.2232744,"altitude":12,"angle":336,"satellites":38,"speed":41,"hex_longitude":"2d368540","hex_latitude":"06b08928","is_valid_coordinates":true} 
[2026-09-09 23:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978243328001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403161205616672768,"note":"Value kept but may cause issues"} 
[2026-09-09 23:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3933049878307330048,"note":"Value kept but may cause issues"} 
[2026-09-09 23:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788977522000,"timestamp_ms":1788977522000,"timestamp_seconds":1788977522,"priority":1,"record_length":96,"hex_timestamp":"000001a0875ea550"} 
[2026-09-09 23:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:43: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-09-09 23:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-09 23:43: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-09-09 23:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978243328001,"66":27234,"80":206,"81":23552,"24":41,"16":403161205616672768,"45":3933049878307330048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-09-09 23:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978243328001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:43:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-09 23:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403161205616672768,"km_value":403161205616672.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3933049878307330048,"description":"Unknown IO ID 45"} 
[2026-09-09 23:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978243328001,"power":27234,"unknown_80":206,"unknown_81":23552,"ignition":41,"odometer":null,"unknown_45":3933049878307330048}} 
[2026-09-09 23:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":177317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:43:44] local.INFO: GPS data processed {"connection_id":177317,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:43:44] local.INFO: Acknowledgment sent {"connection_id":177317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:44:15] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0875ec878012d36764006b0aaf0000b015125..."} 
[2026-09-09 23:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0875ec878012d36764006b0aaf0000b015125..."} 
[2026-09-09 23:44:15] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0875ec878012d36764006b0aaf0000b015125..."} 
[2026-09-09 23:44:15] local.INFO: Packet analysis {"connection_id":177317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0875e"} 
[2026-09-09 23:44:15] local.INFO: Extracted packet for processing {"connection_id":177317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0875e"} 
[2026-09-09 23:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758543936,"raw_latitude":112241392,"longitude_deg":75.8543936,"latitude_deg":11.2241392,"altitude":11,"angle":337,"satellites":37,"speed":43,"hex_longitude":"2d367640","hex_latitude":"06b0aaf0","is_valid_coordinates":true} 
[2026-09-09 23:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978245632001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403161660883206144,"note":"Value kept but may cause issues"} 
[2026-09-09 23:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3928616647426385920,"note":"Value kept but may cause issues"} 
[2026-09-09 23:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788977531000,"timestamp_ms":1788977531000,"timestamp_seconds":1788977531,"priority":1,"record_length":96,"hex_timestamp":"000001a0875ec878"} 
[2026-09-09 23:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-09 23:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978245632001,"66":27234,"222":206,"81":23552,"24":43,"16":403161660883206144,"45":3928616647426385920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-09 23:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978245632001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:44:15] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-09 23:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403161660883206144,"km_value":403161660883206.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3928616647426385920,"description":"Unknown IO ID 45"} 
[2026-09-09 23:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978245632001,"power":27234,"unknown_222":206,"unknown_81":23552,"ignition":43,"odometer":null,"unknown_45":3928616647426385920}} 
[2026-09-09 23:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":177317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:44:15] local.INFO: GPS data processed {"connection_id":177317,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:44:15] local.INFO: Acknowledgment sent {"connection_id":177317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:44:55] local.INFO: TCP Data received {"connection_id":177318,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:44:55] local.INFO: Processing buffer {"connection_id":177318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:44:55] local.INFO: IMEI packet received {"connection_id":177318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":177318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:44:57] local.INFO: TCP Data received {"connection_id":177318,"ip":"42.109.136.1","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177318,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:44:57] local.INFO: Processing buffer {"connection_id":177318,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:44:57] local.INFO: IMEI packet received {"connection_id":177318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":177318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:50:00] local.INFO: TCP Data received {"connection_id":175921,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:00] local.INFO: Processing buffer {"connection_id":175921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:00] local.INFO: IMEI packet received {"connection_id":175921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":175921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:50:37] local.INFO: TCP Data received {"connection_id":178713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:37] local.INFO: Processing buffer {"connection_id":178713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:37] local.INFO: IMEI packet received {"connection_id":178713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":178713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:50:39] local.INFO: TCP Data received {"connection_id":178713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:39] local.INFO: Processing buffer {"connection_id":178713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:39] local.INFO: IMEI packet received {"connection_id":178713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":178713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:50:42] local.INFO: TCP Data received {"connection_id":178713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:42] local.INFO: Processing buffer {"connection_id":178713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:50:42] local.INFO: IMEI packet received {"connection_id":178713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":178713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:50:43] local.INFO: TCP Data received {"connection_id":178713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087655828012d3211c006b53530000801332b..."} 
[2026-09-09 23:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087655828012d3211c006b53530000801332b..."} 
[2026-09-09 23:50:43] local.INFO: Processing buffer {"connection_id":178713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087655828012d3211c006b53530000801332b..."} 
[2026-09-09 23:50:43] local.INFO: Packet analysis {"connection_id":178713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08765"} 
[2026-09-09 23:50:43] local.INFO: Extracted packet for processing {"connection_id":178713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08765"} 
[2026-09-09 23:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758256064,"raw_latitude":112538928,"longitude_deg":75.8256064,"latitude_deg":11.2538928,"altitude":8,"angle":307,"satellites":43,"speed":50,"hex_longitude":"2d3211c0","hex_latitude":"06b53530","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978356224001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403182869431713792,"note":"Value kept but may cause issues"} 
[2026-09-09 23:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3616390529587140608,"note":"Value kept but may cause issues"} 
[2026-09-09 23:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788977961000,"timestamp_ms":1788977961000,"timestamp_seconds":1788977961,"priority":1,"record_length":96,"hex_timestamp":"000001a087655828"} 
[2026-09-09 23:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:50: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-09-09 23: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":44,"data_length":795,"current_offset":136} 
[2026-09-09 23:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":178713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":178713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":178713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978356224001,"66":27213,"170":206,"81":23552,"24":50,"16":403182869431713792,"45":3616390529587140608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-09 23:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978356224001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:50:43] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-09 23:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403182869431713792,"km_value":403182869431713.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3616390529587140608,"description":"Unknown IO ID 45"} 
[2026-09-09 23:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978356224001,"power":27213,"unknown_170":206,"unknown_81":23552,"ignition":50,"odometer":null,"unknown_45":3616390529587140608}} 
[2026-09-09 23:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":178713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:50:43] local.INFO: GPS data processed {"connection_id":178713,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:50:43] local.INFO: Acknowledgment sent {"connection_id":178713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:51:18] local.INFO: TCP Data received {"connection_id":178713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a087657768012d31f48006b54d88000a01362c..."} 
[2026-09-09 23:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":178713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a087657768012d31f48006b54d88000a01362c..."} 
[2026-09-09 23:51:18] local.INFO: Processing buffer {"connection_id":178713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a087657768012d31f48006b54d88000a01362c..."} 
[2026-09-09 23:51:18] local.INFO: Packet analysis {"connection_id":178713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08765"} 
[2026-09-09 23:51:18] local.INFO: Extracted packet for processing {"connection_id":178713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08765"} 
[2026-09-09 23:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758248576,"raw_latitude":112545160,"longitude_deg":75.8248576,"latitude_deg":11.254516,"altitude":10,"angle":310,"satellites":44,"speed":45,"hex_longitude":"2d31f480","hex_latitude":"06b54d88","is_valid_coordinates":true} 
[2026-09-09 23:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978358016001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403183333288181760,"note":"Value kept but may cause issues"} 
[2026-09-09 23:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3607875911542976512,"note":"Value kept but may cause issues"} 
[2026-09-09 23:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788977969000,"timestamp_ms":1788977969000,"timestamp_seconds":1788977969,"priority":1,"record_length":96,"hex_timestamp":"000001a087657768"} 
[2026-09-09 23:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:51: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-09-09 23:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-09 23:51: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-09-09 23:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":178713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":178713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":178713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978358016001,"66":27267,"170":206,"81":23552,"24":45,"16":403183333288181760,"45":3607875911542976512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-09 23:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978358016001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:51:18] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-09 23:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403183333288181760,"km_value":403183333288181.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3607875911542976512,"description":"Unknown IO ID 45"} 
[2026-09-09 23:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978358016001,"power":27267,"unknown_170":206,"unknown_81":23552,"ignition":45,"odometer":null,"unknown_45":3607875911542976512}} 
[2026-09-09 23:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":178713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:51:18] local.INFO: GPS data processed {"connection_id":178713,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:51:18] local.INFO: Acknowledgment sent {"connection_id":178713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:51:42] local.INFO: TCP Data received {"connection_id":177320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:51:42] local.INFO: Processing buffer {"connection_id":177320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:51:42] local.INFO: IMEI packet received {"connection_id":177320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":177320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:51:43] local.INFO: TCP Data received {"connection_id":177320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:51:43] local.INFO: Processing buffer {"connection_id":177320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:51:43] local.INFO: IMEI packet received {"connection_id":177320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":177320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:51:47] local.INFO: TCP Data received {"connection_id":177320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:51:47] local.INFO: Processing buffer {"connection_id":177320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:51:47] local.INFO: IMEI packet received {"connection_id":177320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":177320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:51:48] local.INFO: TCP Data received {"connection_id":177320,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08766b3d0012d311e8006b66f280011013527..."} 
[2026-09-09 23:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08766b3d0012d311e8006b66f280011013527..."} 
[2026-09-09 23:51:48] local.INFO: Processing buffer {"connection_id":177320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08766b3d0012d311e8006b66f280011013527..."} 
[2026-09-09 23:51:48] local.INFO: Packet analysis {"connection_id":177320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08766"} 
[2026-09-09 23:51:48] local.INFO: Extracted packet for processing {"connection_id":177320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08766"} 
[2026-09-09 23:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758193792,"raw_latitude":112619304,"longitude_deg":75.8193792,"latitude_deg":11.2619304,"altitude":17,"angle":309,"satellites":39,"speed":54,"hex_longitude":"2d311e80","hex_latitude":"06b66f28","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978380800001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403187795759202304,"note":"Value kept but may cause issues"} 
[2026-09-09 23:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3539407123478685696,"note":"Value kept but may cause issues"} 
[2026-09-09 23:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788978050000,"timestamp_ms":1788978050000,"timestamp_seconds":1788978050,"priority":1,"record_length":96,"hex_timestamp":"000001a08766b3d0"} 
[2026-09-09 23:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-09 23:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23: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-09-09 23:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978380800001,"66":26691,"201":206,"81":23552,"24":54,"16":403187795759202304,"45":3539407123478685696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-09 23:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978380800001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:51:48] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 23:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403187795759202304,"km_value":403187795759202.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3539407123478685696,"description":"Unknown IO ID 45"} 
[2026-09-09 23:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978380800001,"power":26691,"unknown_201":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3539407123478685696}} 
[2026-09-09 23:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":177320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:51:48] local.INFO: GPS data processed {"connection_id":177320,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:51:48] local.INFO: Acknowledgment sent {"connection_id":177320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:51:49] local.INFO: TCP Data received {"connection_id":177320,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08766cf28012d30ff0006b68508000e012a21..."} 
[2026-09-09 23:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08766cf28012d30ff0006b68508000e012a21..."} 
[2026-09-09 23:51:49] local.INFO: Processing buffer {"connection_id":177320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08766cf28012d30ff0006b68508000e012a21..."} 
[2026-09-09 23:51:49] local.INFO: Packet analysis {"connection_id":177320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08766"} 
[2026-09-09 23:51:49] local.INFO: Extracted packet for processing {"connection_id":177320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08766"} 
[2026-09-09 23:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758185728,"raw_latitude":112624904,"longitude_deg":75.8185728,"latitude_deg":11.2624904,"altitude":14,"angle":298,"satellites":33,"speed":55,"hex_longitude":"2d30ff00","hex_latitude":"06b68508","is_valid_coordinates":true} 
[2026-09-09 23:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978380800001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403188268205604864,"note":"Value kept but may cause issues"} 
[2026-09-09 23:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3539407123478685696,"note":"Value kept but may cause issues"} 
[2026-09-09 23:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788978057000,"timestamp_ms":1788978057000,"timestamp_seconds":1788978057,"priority":1,"record_length":96,"hex_timestamp":"000001a08766cf28"} 
[2026-09-09 23:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-09 23:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978380800001,"66":27234,"201":206,"81":23552,"24":55,"16":403188268205604864,"45":3539407123478685696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-09 23:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978380800001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:51:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 23:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403188268205604864,"km_value":403188268205604.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3539407123478685696,"description":"Unknown IO ID 45"} 
[2026-09-09 23:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978380800001,"power":27234,"unknown_201":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3539407123478685696}} 
[2026-09-09 23:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":177320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:51:49] local.INFO: GPS data processed {"connection_id":177320,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:51:49] local.INFO: Acknowledgment sent {"connection_id":177320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:52:20] local.INFO: TCP Data received {"connection_id":177320,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08766cf28012d30ff0006b68508000e012a21..."} 
[2026-09-09 23:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08766cf28012d30ff0006b68508000e012a21..."} 
[2026-09-09 23:52:20] local.INFO: Processing buffer {"connection_id":177320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08766cf28012d30ff0006b68508000e012a21..."} 
[2026-09-09 23:52:20] local.INFO: Packet analysis {"connection_id":177320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08766"} 
[2026-09-09 23:52:20] local.INFO: Extracted packet for processing {"connection_id":177320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08766"} 
[2026-09-09 23:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758185728,"raw_latitude":112624904,"longitude_deg":75.8185728,"latitude_deg":11.2624904,"altitude":14,"angle":298,"satellites":33,"speed":55,"hex_longitude":"2d30ff00","hex_latitude":"06b68508","is_valid_coordinates":true} 
[2026-09-09 23:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978382592001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403188268205604864,"note":"Value kept but may cause issues"} 
[2026-09-09 23:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3530540661713733632,"note":"Value kept but may cause issues"} 
[2026-09-09 23:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788978057000,"timestamp_ms":1788978057000,"timestamp_seconds":1788978057,"priority":1,"record_length":96,"hex_timestamp":"000001a08766cf28"} 
[2026-09-09 23:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-09 23:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-09 23:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978382592001,"66":27234,"201":206,"81":23552,"24":55,"16":403188268205604864,"45":3530540661713733632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-09 23:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978382592001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:52:20] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 23:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403188268205604864,"km_value":403188268205604.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3530540661713733632,"description":"Unknown IO ID 45"} 
[2026-09-09 23:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978382592001,"power":27234,"unknown_201":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3530540661713733632}} 
[2026-09-09 23:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":177320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:52:21] local.INFO: GPS data processed {"connection_id":177320,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:52:21] local.INFO: Acknowledgment sent {"connection_id":177320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:52:33] local.INFO: TCP Data received {"connection_id":177321,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:52:33] local.INFO: Processing buffer {"connection_id":177321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:52:33] local.INFO: IMEI packet received {"connection_id":177321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":177321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:52:37] local.INFO: TCP Data received {"connection_id":177321,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:52:37] local.INFO: Processing buffer {"connection_id":177321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:52:37] local.INFO: IMEI packet received {"connection_id":177321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":177321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:52:41] local.INFO: TCP Data received {"connection_id":177321,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:52:41] local.INFO: Processing buffer {"connection_id":177321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:52:41] local.INFO: IMEI packet received {"connection_id":177321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":177321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:52:43] local.INFO: TCP Data received {"connection_id":177321,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a08766ea80012d30db8006b693f8000d011f27..."} 
[2026-09-09 23:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08766ea80012d30db8006b693f8000d011f27..."} 
[2026-09-09 23:52:43] local.INFO: Processing buffer {"connection_id":177321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08766ea80012d30db8006b693f8000d011f27..."} 
[2026-09-09 23:52:43] local.INFO: Packet analysis {"connection_id":177321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08766"} 
[2026-09-09 23:52:43] local.INFO: Extracted packet for processing {"connection_id":177321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08766"} 
[2026-09-09 23:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758176640,"raw_latitude":112628728,"longitude_deg":75.817664,"latitude_deg":11.2628728,"altitude":13,"angle":287,"satellites":39,"speed":54,"hex_longitude":"2d30db80","hex_latitude":"06b693f8","is_valid_coordinates":true} 
[2026-09-09 23:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978382592001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403188736357040128,"note":"Value kept but may cause issues"} 
[2026-09-09 23:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3530540661713733632,"note":"Value kept but may cause issues"} 
[2026-09-09 23:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788978064000,"timestamp_ms":1788978064000,"timestamp_seconds":1788978064,"priority":1,"record_length":96,"hex_timestamp":"000001a08766ea80"} 
[2026-09-09 23:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:52: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-09-09 23:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-09 23:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978382592001,"66":27245,"201":206,"81":23552,"24":54,"16":403188736357040128,"45":3530540661713733632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-09 23:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978382592001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:52:43] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 23:52:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403188736357040128,"km_value":403188736357040.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3530540661713733632,"description":"Unknown IO ID 45"} 
[2026-09-09 23:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978382592001,"power":27245,"unknown_201":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3530540661713733632}} 
[2026-09-09 23:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":177321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:52:43] local.INFO: GPS data processed {"connection_id":177321,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:52:43] local.INFO: Acknowledgment sent {"connection_id":177321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:53:15] local.INFO: TCP Data received {"connection_id":177321,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0876705d8012d30b74006b69c30000c011927..."} 
[2026-09-09 23:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0876705d8012d30b74006b69c30000c011927..."} 
[2026-09-09 23:53:15] local.INFO: Processing buffer {"connection_id":177321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0876705d8012d30b74006b69c30000c011927..."} 
[2026-09-09 23:53:15] local.INFO: Packet analysis {"connection_id":177321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08767"} 
[2026-09-09 23:53:15] local.INFO: Extracted packet for processing {"connection_id":177321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08767"} 
[2026-09-09 23:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758167360,"raw_latitude":112630832,"longitude_deg":75.816736,"latitude_deg":11.2630832,"altitude":12,"angle":281,"satellites":39,"speed":52,"hex_longitude":"2d30b740","hex_latitude":"06b69c30","is_valid_coordinates":true} 
[2026-09-09 23:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978384384001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403189191623573504,"note":"Value kept but may cause issues"} 
[2026-09-09 23:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3520548300041484288,"note":"Value kept but may cause issues"} 
[2026-09-09 23:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788978071000,"timestamp_ms":1788978071000,"timestamp_seconds":1788978071,"priority":1,"record_length":96,"hex_timestamp":"000001a0876705d8"} 
[2026-09-09 23:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:53: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-09-09 23:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-09 23:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978384384001,"66":26832,"201":206,"81":23552,"24":52,"16":403189191623573504,"45":3520548300041484288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-09 23:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978384384001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:53:15] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-09 23:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-09 23:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403189191623573504,"km_value":403189191623573.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3520548300041484288,"description":"Unknown IO ID 45"} 
[2026-09-09 23:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978384384001,"power":26832,"unknown_201":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3520548300041484288}} 
[2026-09-09 23:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":177321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:53:15] local.INFO: GPS data processed {"connection_id":177321,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:53:15] local.INFO: Acknowledgment sent {"connection_id":177321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:53:37] local.INFO: TCP Data received {"connection_id":177322,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:53:37] local.INFO: Processing buffer {"connection_id":177322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:53:37] local.INFO: IMEI packet received {"connection_id":177322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":177322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:54:01] local.INFO: TCP Data received {"connection_id":177322,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:54:01] local.INFO: Processing buffer {"connection_id":177322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:54:01] local.INFO: IMEI packet received {"connection_id":177322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":177322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:54:02] local.INFO: TCP Data received {"connection_id":177322,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177322,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:54:02] local.INFO: Processing buffer {"connection_id":177322,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-09 23:54:02] local.INFO: IMEI packet received {"connection_id":177322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":177322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:59:02] local.INFO: TCP Data received {"connection_id":177326,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:02] local.INFO: Processing buffer {"connection_id":177326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:02] local.INFO: IMEI packet received {"connection_id":177326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":177326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:59:04] local.INFO: TCP Data received {"connection_id":177326,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0876d4b50012d2cde4006bc97900015013f23..."} 
[2026-09-09 23:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0876d4b50012d2cde4006bc97900015013f23..."} 
[2026-09-09 23:59:04] local.INFO: Processing buffer {"connection_id":177326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0876d4b50012d2cde4006bc97900015013f23..."} 
[2026-09-09 23:59:04] local.INFO: Packet analysis {"connection_id":177326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0876d"} 
[2026-09-09 23:59:04] local.INFO: Extracted packet for processing {"connection_id":177326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0876d"} 
[2026-09-09 23:59:04] local.INFO: GPS Element Parsed {"raw_longitude":757915200,"raw_latitude":113022864,"longitude_deg":75.79152,"latitude_deg":11.3022864,"altitude":21,"angle":319,"satellites":35,"speed":45,"hex_longitude":"2d2cde40","hex_latitude":"06bc9790","is_valid_coordinates":true} 
[2026-09-09 23: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-09-09 23:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978489344001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403212530475859968,"note":"Value kept but may cause issues"} 
[2026-09-09 23:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3239777010871648256,"note":"Value kept but may cause issues"} 
[2026-09-09 23:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788978482000,"timestamp_ms":1788978482000,"timestamp_seconds":1788978482,"priority":1,"record_length":96,"hex_timestamp":"000001a0876d4b50"} 
[2026-09-09 23:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23: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-09-09 23: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":77,"data_length":795,"current_offset":136} 
[2026-09-09 23:59: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-09-09 23: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-09-09 23:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978489344001,"66":27234,"124":206,"81":20992,"24":45,"16":403212530475859968,"45":3239777010871648256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-09 23:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978489344001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:59:04] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-09 23:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-09 23:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403212530475859968,"km_value":403212530475859.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3239777010871648256,"description":"Unknown IO ID 45"} 
[2026-09-09 23:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978489344001,"power":27234,"unknown_124":206,"unknown_81":20992,"ignition":45,"odometer":null,"unknown_45":3239777010871648256}} 
[2026-09-09 23:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":177326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:59:04] local.INFO: GPS data processed {"connection_id":177326,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:59:04] local.INFO: Acknowledgment sent {"connection_id":177326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-09 23:59:35] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:35] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:35] local.INFO: IMEI packet received {"connection_id":176156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-09 23:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":176156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-09 23:59:38] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:38] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:38] local.INFO: IMEI packet received {"connection_id":176156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":176156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:59:42] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:42] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-09 23:59:42] local.INFO: IMEI packet received {"connection_id":176156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-09 23:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":176156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-09 23:59:44] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0876d6a90012d2cc60006bcb2680016013d27..."} 
[2026-09-09 23:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0876d6a90012d2cc60006bcb2680016013d27..."} 
[2026-09-09 23:59:44] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0876d6a90012d2cc60006bcb2680016013d27..."} 
[2026-09-09 23:59:44] local.INFO: Packet analysis {"connection_id":176156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0876d"} 
[2026-09-09 23:59:44] local.INFO: Extracted packet for processing {"connection_id":176156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0876d"} 
[2026-09-09 23:59:44] local.INFO: GPS Element Parsed {"raw_longitude":757908992,"raw_latitude":113029736,"longitude_deg":75.7908992,"latitude_deg":11.3029736,"altitude":22,"angle":317,"satellites":39,"speed":45,"hex_longitude":"2d2cc600","hex_latitude":"06bcb268","is_valid_coordinates":true} 
[2026-09-09 23:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-09 23:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457978491392001,"note":"Value kept but may cause issues"} 
[2026-09-09 23:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403212977152458752,"note":"Value kept but may cause issues"} 
[2026-09-09 23:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3233091980176625664,"note":"Value kept but may cause issues"} 
[2026-09-09 23:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-09 23:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788978490000,"timestamp_ms":1788978490000,"timestamp_seconds":1788978490,"priority":1,"record_length":96,"hex_timestamp":"000001a0876d6a90"} 
[2026-09-09 23:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-09 23:59: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-09-09 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-09 23:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-09 23:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-09 23:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-09 23:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-09 23:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-09 23:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-09 23:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-09 23:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-09 23:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-09 23:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457978491392001,"66":27234,"124":206,"81":20992,"24":45,"16":403212977152458752,"45":3233091980176625664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-09 23:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-09 23:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-09 23:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457978491392001,"description":"Unknown IO ID 0"} 
[2026-09-09 23:59:44] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-09 23:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-09 23:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403212977152458752,"km_value":403212977152458.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-09 23:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3233091980176625664,"description":"Unknown IO ID 45"} 
[2026-09-09 23:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457978491392001,"power":27234,"unknown_124":206,"unknown_81":20992,"ignition":45,"odometer":null,"unknown_45":3233091980176625664}} 
[2026-09-09 23:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":176156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-09 23:59:44] local.INFO: GPS data processed {"connection_id":176156,"processed":1,"errors":0,"total":1} 
[2026-09-09 23:59:44] local.INFO: Acknowledgment sent {"connection_id":176156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
